Commit Graph

4313 Commits

Author SHA1 Message Date
mattsb42-aws
c44178f2f7 add tests for invalid values passed to generate_random 2019-09-13 13:19:11 -07:00
mattsb42-aws
9a095d731a add tests for invalid aliases in describe_key 2019-09-13 13:01:55 -07:00
mattsb42-aws
a2c2a83198 fix linting issues 2019-09-12 18:04:18 -07:00
mattsb42-aws
aa6b505415 fix tests to expect the correct error 2019-09-12 17:42:43 -07:00
mattsb42-aws
f4c5dfbdfb reorganize and centralize key ID validation 2019-09-12 17:42:40 -07:00
Steve Pulec
2509237d6c
Merge pull request #2418 from nadlerjessie/elbv2-fixed-response-action
Elbv2 fixed response action
2019-09-12 12:15:00 -05:00
Jessie Nadler
2b8bdc9bca Validate elbv2 FixedResponseConfig attributes 2019-09-12 12:29:03 -04:00
Jessie Nadler
2983a63c0d Allow fixed-response action type for elbv2 2019-09-12 12:25:43 -04:00
Gapex
d6ef01b9fd lint 2019-09-12 18:40:07 +08:00
Gapex
eea67543d1 MaxKeys limits the sum of folders and keys 2019-09-12 17:54:02 +08: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
efe676dbd5 Add comment. 2019-09-11 22:07:24 -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
586b428dae
Merge pull request #2394 from dezkoat/master
Change creationTime and lastIngestionTime type in LogStream and LogGroup to Long
2019-09-11 21:47:53 -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
b2fddf8469
Merge pull request #2387 from oman36/issues-2386-queues-with-different-ApproximateNumberOfMessages
issues-2386 make comparing exists and new queues only by static attrs
2019-09-11 21:42:12 -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
a4c79c19ab forgot to update implementation coverage. 2019-09-02 12:37:23 +02: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
Wessel van der Veen
1ae641fab8 adds basic implementation for describe-identity-pool 2019-08-31 09:08:12 +02: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
819d354af3 fix linting issues 2019-08-28 00:48:53 -07:00
mattsb42-aws
776a54b89f update KMS implementation coverage 2019-08-27 23:59:46 -07: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
4d2b12f40d Adding six.string_types checking 2019-08-27 19:59:43 -05:00