Jessie Nadler
2983a63c0d
Allow fixed-response action type for elbv2
2019-09-12 12:25:43 -04:00
Steve Pulec
b8a79611d6
Merge pull request #2397 from mattsb42-aws/kms
...
Making kms:Encrypt/Decrypt/GenerateDataKey more real
2019-09-11 22:13:33 -05:00
Steve Pulec
aa896a0c2e
Merge pull request #2294 from spulec/fix-responses-mocking
...
Cleanup responses mocking. Closes #1567
2019-09-11 22:06:36 -05:00
Steve Pulec
e5311eb6f6
Merge pull request #2415 from brunog3/fix-iam-policy-statements-with-empty-sid
...
Fix multiple IAM Policy Statement creation with empty sid
2019-09-11 22:04:35 -05:00
Steve Pulec
f8cde9da9d
Merge pull request #2414 from harveywi/wjh-fix-reregister-taskdefinition-unit-test
...
Fix/tighten AWS Batch test_reregister_task_definition unit test
2019-09-11 22:03:36 -05:00
Steve Pulec
7a01b7ce9e
Merge pull request #2412 from joolean/issues/2189
...
Prevent overlapping expr name prefixes from corrupting projection expr
2019-09-11 22:02:34 -05:00
Steve Pulec
ff3e3de387
Merge pull request #2403 from wesselvdv/feature/cognito-describe-identity-pool
...
Adds Cognito Identity describe-identity-pool
2019-09-11 21:53:08 -05:00
Steve Pulec
d88e1fbdda
Merge pull request #2402 from gruebel/fix-sqs-maxReceiveCount
...
Store SQS RedrivePolicy maxReceiveCount value as int
2019-09-11 21:52:16 -05:00
Steve Pulec
0f3957ffad
Merge pull request #2399 from dkuntz2/route53-fix-empty-tags
...
Don't error out on route53.list_tags_for_resource when resource has no tags
2019-09-11 21:50:25 -05:00
Steve Pulec
12ad7d0ded
Merge pull request #2398 from RDProjekt/leading-double-slashes
...
Allows leading // for mocked s3 paths (fix for #1637 )
2019-09-11 21:49:53 -05:00
Steve Pulec
13c4f2e794
Merge pull request #2343 from danguer/support-iterator-type-at-after-sequence
...
Adding support for AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER
2019-09-11 21:48:55 -05:00
Steve Pulec
c81de6e381
Merge pull request #2393 from cm-iwata/fix_device_shadow_ver_conflict
...
fix #2392 Add validation for device shadow version
2019-09-11 21:46:46 -05:00
Steve Pulec
8867e91f9e
Merge pull request #2391 from gruebel/master
...
Add exact Number, exact String.Array and attribute key matching to SN…
2019-09-11 21:46:06 -05:00
Steve Pulec
ac8d3c6792
Merge pull request #2390 from gdippolito/master
...
Add tag support to API Gateway keys
2019-09-11 21:45:08 -05:00
Steve Pulec
5dfa30df42
Merge pull request #2385 from bblommers/bugfix/2366
...
Secretsmanager put_secret_value still does not support SecretBinary
2019-09-11 21:41:11 -05:00
Steve Pulec
eb5bf2ed55
Merge pull request #2401 from rocky4570/redshift-enhanced-vpc-routing
...
add enhanced vpc routing option to redshift moto
2019-09-11 21:40:12 -05:00
Steve Pulec
7c2d328724
Merge pull request #2400 from acsbendi/elbv2-terminated-instance-target
...
Terminated EC2 instances are deregistered from ELBv2 target groups.
2019-09-11 21:39:37 -05:00
Bruno Oliveira
21933052d3
Fix multiple IAM Policy Statement creation with empty sid
2019-09-10 23:43:50 -03:00
William Harvey
0d4d2b7041
Fix/tighten AWS Batch test_reregister_task_definition unit test
2019-09-10 14:24:00 -04:00
Julian Graham
f4df7a48ee
Prevent overlapping expr name prefixes from corrupting projection expr
...
h/t @beheh. This patch handles the case when ProjectionExpression looks
like "#1 , ..., #10 " - the previous code used `replace`, which would make
the resulting projection into "foo, ..., foo0".
2019-09-09 19:08:16 -04:00
Bert Blommers
6a1a8df7cc
Step Functions - Simplify tests
2019-09-07 16:37:55 +01:00
Bert Blommers
78254cc4f2
Step Functions - Execution methods
2019-09-04 15:42:42 +01:00
Bert Blommers
af4082f38e
Step Functions - State Machines methods
2019-09-02 16:26:40 +01:00
Wessel van der Veen
0c11daf623
adds test cases, and fixes formatting.
2019-09-01 17:38:33 +02:00
gruebel
9ac20ad5f1
store SQS RedrivePolicy maxReceiveCount value as int
2019-08-31 19:28:09 +02:00
rocky4570
ff27e021bc
add enhanced vpc routing option to redshift moto
...
EnhancedVpcRouting is only available when mock_redshift not mock_redshift_deprecated
2019-09-01 00:34:18 +10:00
acsbendi
675db17ace
Implemented deregistering terminated instances from ELB target groups.
2019-08-30 18:21:11 +02:00
Don Kuntz
cae0b5bc45
Remove extraneous print statement from test
2019-08-28 13:59:49 -05:00
Don Kuntz
35507f33df
Don't error out on route53.list_tags_for_resource when resource has no tags
...
Without the added `return {}`, calling route53.list_tags_for_resource
when called with a ResourceId of a resource without any tags would
result in the error:
jinja2.exceptions.UndefinedError: 'None' has no attribute 'items'
Because the LIST_TAGS_FOR_RESOURCE_RESPONSE was given None instead of
empty dict.
This now allows list_tags_for_resource to be called without issue on
tag-less resources.
2019-08-28 13:57:42 -05:00
Łukasz Sznuk
e0304bc500
Allows leading // for mocked s3 paths ( #1637 ).
2019-08-28 16:17:45 +02:00
mattsb42-aws
f7043e1eaf
add kms:GenerateRandom and tests
2019-08-27 20:55:58 -07:00
mattsb42-aws
dd63cebf81
add kms:ReEncrypt invalid destination key test
2019-08-27 20:49:47 -07:00
mattsb42-aws
9ffb9d3d0a
add kms:ReEncrypt and tests
2019-08-27 20:24:57 -07:00
Daniel Guerrero
a068a56972
Merge branch 'master' into support-iterator-type-at-after-sequence
2019-08-27 16:06:11 -05:00
mattsb42-aws
d5ac5453b3
streamline KMS tests
2019-08-27 13:57:50 -07:00
mattsb42-aws
98581b9196
add proper KMS encrypt, decrypt, and generate_data_key functionality and tests
2019-08-27 13:42:36 -07:00
mattsb42-aws
3fe8afaa60
add tests for generate_data_key and generate_master_key
2019-08-26 23:29:30 -07:00
mattsb42-aws
7eeead8a37
add encrypt/decrypt utility functions with appropriate exceptions and tests
2019-08-26 23:24:31 -07:00
Tomoya Iwata
778fc47c21
fix #2392 Add validation for shadow version,when update_thing_shadow() has called
2019-08-26 17:47:08 +09:00
gruebel
d8a922811c
Add exact Number, exact String.Array and attribute key matching to SNS subscription filter policy and validate filter policy
2019-08-25 21:08:02 +02:00
Giulio
59852eb13a
Add tag support to API Gateway keys
2019-08-24 11:19:50 +01:00
Bert Blommers
e8d60435fe
#2366 - SecretsManager - put_secret_value should support binary values
2019-08-23 10:57:15 +01:00
Mike Grima
3a5d857a60
Merge pull request #2376 from rwestergren/event_source_mappings
...
And event source mapping endpoints and SQS trigger support
2019-08-22 16:54:46 -07:00
Mike Grima
7fa46e9659
Merge pull request #2381 from bblommers/bugfix/2380
...
2380 - Validate parameter-list for duplicates in dynamodb.batch_get_item
2019-08-22 16:40:16 -07:00
Mike Grima
5fd2c30f97
Merge pull request #2377 from acsbendi/get-caller-identity
...
GetCallerIdentity returns real data based on the access key used
2019-08-22 09:50:59 -07:00
acsbendi
cf2dae0ce8
Calling sts:GetCallerIdentity is always allowed.
2019-08-22 18:09:52 +02:00
Bert Blommers
956592d615
2380 - Validate parameter-list for duplicates in dynamodb.batch_get_item
2019-08-22 16:12:48 +01:00
acsbendi
addb631081
Skip checking the expiration of AssumedRole in server mode.
2019-08-22 11:06:42 +02:00
Mike Grima
38866bfcef
Fixed some IAM APIs for tagging and role descriptions
2019-08-21 13:08:33 -07:00
Mike Grima
1de371ca76
Merge pull request #2374 from asherf/acm
...
[ACM] Use the specified region name when generating ARN for a requested cert.
2019-08-21 12:56:59 -07:00
Mike Grima
aea9d84b01
Merge pull request #2373 from asherf/filter-acm
...
[ACM] Filter certs by statuses.
2019-08-21 12:55:26 -07:00
Mike Grima
d5e7334e5b
Merge pull request #2369 from dkuntz2/implement-launch-templates
...
Add basic endpoints for EC2 Launch Templates
2019-08-21 12:54:42 -07:00
acsbendi
3012740699
Fixed AssumedRole ARN.
2019-08-21 19:47:12 +02:00
acsbendi
6bdbd0dbc8
Fixed a broken test case and parameterized account ID in STS tests.
2019-08-21 13:17:58 +02:00
Bendegúz Ács
24dcdb7453
Merge branch 'master' into get-caller-identity
2019-08-21 12:36:40 +02:00
acsbendi
d931204266
Implemented get-caller-identity returning real data depending on the access key used.
2019-08-21 12:20:35 +02:00
acsbendi
d9cb1f2d35
Implemented returning random assumed role ID.
2019-08-21 10:45:36 +02:00
Randy Westergren
ccceb70397
And event source mapping endpoints and SQS trigger support
2019-08-20 21:54:57 -04:00
Asher Foa
d669145b71
Filter certs by statuses.
2019-08-19 18:01:21 -07:00
Asher Foa
66a7ace2c5
Use the specified region name when generating ARN for a requested cert.
2019-08-19 17:30:30 -07:00
Don Kuntz
d2ce3a9e04
Flake8 fixes
2019-08-19 18:01:44 -05:00
Don Kuntz
4929298f1f
Test create_launch_template_version using launch_template id
2019-08-19 17:59:15 -05:00
Don Kuntz
a1aa087718
Add test for creating launch templates with TagSpecifications option
2019-08-19 17:58:19 -05:00
Don Kuntz
743e5be4d3
Confirm describe_launch_template_versions works with Versions, MinVersion, and MaxVersion options
2019-08-19 17:57:39 -05:00
Mike Grima
188969a048
AWS Config Aggregator support
...
- Added support for the following APIs:
- put_configuration_aggregator
- describe_configuration_aggregators
- delete_configuration_aggregator
- put_aggregation_authorization
- describe_aggregation_authorizations
- delete_aggregation_authorization
2019-08-19 15:50:19 -07:00
Don Kuntz
1de63b1691
Specify region in launch template tests
2019-08-14 16:32:01 -05:00
Don Kuntz
aa3b6085d1
Add basic endpoints for EC2 Launch Templates
...
Specifically, add the CreateLaunchTemplate, CreateLaunchTemplateVersion,
DescribeLaunchTemplates, and DescribeLaunchTemplateVersions endpoints.
2019-08-14 16:11:07 -05:00
Earl Robinson
bbaff4b273
restore KeyId to test_decrypt in test_kms
2019-08-14 08:39:54 -04:00
Steve Pulec
9a3a99243f
Merge pull request #2365 from spulec/elb-cognito
...
Add cognito support to Elb
2019-08-12 16:10:26 -05:00
Steve Pulec
7b3846f6a1
Refactor Actions to be a real class. Add elb cognito.
2019-08-09 23:34:52 -05:00
Mike Grima
2358433f74
Merge pull request #2359 from bkovacki/batch_submit_job_with_job_definition_name
...
Add option to call batch submit_job with job definition name only
2019-08-07 15:13:52 -07:00
Mike Grima
fa07d4973b
Merge pull request #2360 from ashleygould/issue_2355
...
[Resolves #2355 ] - create_organization(): add master account, default…
2019-08-07 15:11:48 -07:00
Berislav Kovacki
5063ffc837
Implement pagination support for GetLogEvents
...
* Add nextForwardToken and nextBackwardToken to GetLogEvents response
* Handle end of stream by returning the same token as passed in
2019-08-07 17:37:53 +02:00
Ashley Gould
7d453fec9a
[ Resolves #2355 ] - create_organization(): add master account, default policy
...
Model: OrganizationsBackend
Method: create_organization
create_organization now creates master account, root ou, and a
default service control policy objects and adds them to the
OrganizationsBackend object. the policy is attached to both
the master account and the root ou. any subsiquently created
accounts or OU also have the default policy attached.
2019-08-06 16:52:31 -07:00
Berislav Kovacki
a35a55ec26
Add option to call batch submit_job with job definition name only
...
* Add option to call batch submit_job with job definition name only
* Fix bug which causes register_job_definition not to increment job
revision number after a second revision
2019-08-06 22:13:52 +02:00
Steve Pulec
40271d2c4e
Merge pull request #2352 from wndhydrnt/bugfix/ecs-time-as-timestamp
...
Convert fields createdAt and updatedAt of ECS deployment to timestamp
2019-08-05 21:33:47 -05:00
Berislav Kovacki
b7884ef903
Add S3 support for INTELLIGENT_TIERING, GLACIER and DEEP_ARCHIVE storage
...
* Add INTELLIGENT_TIERING, GLACIER and DEEP_ARCHIVE as valid storage
classes for objects
* Add ObjectNotInActiveTierError error on PUT object copy for GLACIER
and DEEP_ARCHIVE storage class objects
2019-08-05 17:34:39 +02:00
wndhydrnt
3c19f0a02d
Convert fields createdAt and updatedAt of deployment to timestamp
2019-08-04 10:23:50 +02:00
Steve Pulec
9b535a7c75
Merge pull request #2345 from iisulop/fix_timezone_problem_in_test_create_cluster_boto3
...
Fix timezone problem in test create cluster boto3
2019-08-03 22:38:14 -05:00
Steve Pulec
0d28d51f90
Merge pull request #2350 from chichi1091/apigateway_apikey_update
...
implements APIGateway update_api_key
2019-08-03 22:35:13 -05:00
Chiharu Terashima
7fa5ce3dc3
implements APIGateway update_api_key
2019-08-03 01:28:47 +09:00
Daniel Guerrero
9cce674857
Merge branch 'master' into support-iterator-type-at-after-sequence
2019-07-30 09:36:19 -05:00
Iiro Sulopuisto
8cca33dc42
Test redshift cluster creation time more thoroughly
2019-07-30 14:14:14 +03:00
Steve Pulec
37978d79b3
Merge pull request #2338 from labd/add-ecs-list_tags_for_resource
...
Add ecs list tags for resource
2019-07-29 22:17:23 -05:00
Daniel Guerrero
bfc401c520
Fixing comments conventions
2019-07-29 21:21:02 -05:00
Daniel Guerrero
7091be8eae
Adding support for AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER
...
Adding support on DynamoDB Streams for AT_SEQUENCE_NUMBER
and AFTER_SEQUENCE_NUMBER ShardIteratorType
Change SequenceNumber type to string instead of int to match documentation
2019-07-29 21:13:58 -05:00
Michael van Tellingen
64e2a74e8c
Add support for setting tags on ecs task definitions
...
This also implements the ecs.list_tags_for_resources, although the
resources it checks for are currently only the task definitions
2019-07-29 09:58:08 +02:00
Steve Pulec
69d86cbd54
Merge pull request #2300 from acsbendi/master
...
Basic IAM authentication, authorization
2019-07-28 17:22:52 -05:00
acsbendi
62b25f9914
Added a few more tests to achieve better coverage.
2019-07-28 22:19:50 +02:00
acsbendi
cc843bb8c5
Created tests for IAM auth.
2019-07-26 20:40:15 +02:00
Jack Danger
348dc54e6a
Supporting tags in KMS ( #2332 )
...
The CreateKey API method accepts tags but does not return them.
2019-07-24 19:15:43 -07:00
Steve Pulec
5dbdff7ca7
Merge pull request #2330 from spulec/host-parsing
...
Host parsing
2019-07-23 22:51:45 -05:00
Steve Pulec
40cd8fa11c
Merge pull request #2334 from dkuntz2/unify-ec2-owner-ids
...
Use the same default Owner ID between EC2 models
2019-07-23 22:44:11 -05:00
Steve Pulec
5abe56fd2b
Merge pull request #2250 from szczeles/s3_delete_objects_boto3
...
Raising MalformedXML exception when using boto3 client and s3.delete_objects()
2019-07-23 22:41:45 -05:00
Mariusz Strzelecki
51d96ae8f3
Test split into boto and boto3 part
2019-07-23 20:53:45 +02:00
Don Kuntz
abf3db8d8a
Add a test to ensure that ec2.copy_image sets the proper owner id
...
This test is useful because before the last commit using copy_image
would not set the owner_id to the same one used when calling
describe_images.
For example, this code
conn = boto3.client("ec2")
copy_resp = conn.copy_image(
SourceImageId="ami-whatever",
...
)
describe_resp = conn.describe_images(
Owners=["self"]
)
Would result in describe_resp being empty, when it should contain the
image from the copy_resp before it.
By ensuring the owner ids are the same (see ce4059f6
) the code example
now works as expected.
2019-07-22 21:57:15 -05:00
Don Kuntz
ce4059f6d9
Use a consistent owner id between EC2 resources
...
Previously there were a couple models which used different owner ids by
default, which could make tests relying on them fail if someone wasn't
expecting that. This change ensures a uniform owner id between
resources.
2019-07-22 21:50:09 -05:00
Steve Pulec
4dd2b66b04
Refactor backend parsing.
2019-07-21 22:07:58 -05:00
PND
a2aefc49b4
Fixed update_item
of DynamoDB to deal with the list type.
2019-07-22 01:42:20 +09:00
Steve Pulec
63d5af90b4
Merge pull request #2327 from efiop/master
...
tests: multipart: use REDUCED_PART_SIZE and variable part size
2019-07-20 11:04:11 -04:00