Commit Graph

4298 Commits

Author SHA1 Message Date
Bert Blommers
6005b19ac2 #2445 - DynamoDB - Add validation for AttributeDefinitions 2019-10-03 10:54:10 +01:00
Bert Blommers
82ce5ad430
Merge pull request #2 from spulec/master
Upstream changes
2019-10-03 09:18:17 +01:00
Yoshiharu Hirose
570d3a9ee7 trim invalid newline 2019-10-03 17:04:49 +09:00
Ivan Dromigny
03986df929 Update syntax 2019-10-03 09:53:04 +02:00
Ivan Dromigny
83c8740b91 Add informations in subscriptions attributes 2019-10-02 18:06:34 +02:00
Kyle Jones
a69e1d7a0f Updated AUTHORS.md and IMPLEMENTATION_COVERAGE.md 2019-10-02 09:57:22 +01:00
Kyle Jones
1d5140e11d Implementing send_templated_email 2019-10-02 08:39:35 +01:00
Chih-Hsuan Yen
6c0a2dc374
Fix copying S3 objects with question marks in keys
PR #2062 fixes copy for unicode keys. However, the change breaks keys
with question marks. Here is an alternative fix that works for both
emojis and question marks.

I notice this when running the test suite of aiobotocore. One of the
tests [1] is broken with moto >= 1.3.8.

[1] https://github.com/aio-libs/aiobotocore/blob/0.10.3/tests/test_basic_s3.py#L314-L329
2019-09-29 23:55:52 +08:00
Jack Danger
4497f18c1a
fixing ErrorResponse top-level tag (#2434)
In the golang SDK the previous format throws an unmarshaling error:

    /usr/local/Cellar/go/1.12.6/libexec/src/encoding/xml/read.go:209 &errors.errorString{s:"unknown error response tag, {{ Response} []}"}
    err: <*>SerializationError: failed to unmarshal error message
2019-09-27 11:14:53 -07:00
Wayne Metcalfe
9c66839f85 feat: implement logs untag_log_group 2019-09-26 20:20:53 +01:00
Wayne Metcalfe
0561a0050f feat: implement logs tag_log_group 2019-09-26 19:57:34 +01:00
Wayne Metcalfe
3cb7c3e568 feat: implement logs list_tags_log_group 2019-09-26 17:04:09 +01:00
Steve Pulec
23c1696b72
Merge pull request #2430 from jessevogt/handle-url-encoded-keys
Fix for #2431 delete objects fails with url encoded key
2019-09-25 20:55:42 -05:00
Steve Pulec
9cc6a1533f
Merge pull request #2409 from bblommers/feature/stepfunctions
Step Functions - basic method implementation
2019-09-24 18:16:07 -05:00
Jesse Vogt
3b4cd1c27b switch from calling clean in loop to undoing clean in delete_keys 2019-09-24 17:07:58 -05:00
Jesse Vogt
2df0309db5 unquote key name multiple times until stable value 2019-09-24 16:10:08 -05:00
Bert Blommers
38455c8e19 Step Functions - Remove STS-client and refer to hardcoded account-id 2019-09-24 14:36:34 +01:00
Steve Pulec
86fc340ffd
Merge pull request #2428 from mangin/get_log_events_problem
fix tail message problem in get_log_events
2019-09-23 21:44:36 -05:00
Steve Pulec
6795a219cd
Merge pull request #2417 from Gapex/fix-MaxKeys
MaxKeys limits the sum of folders and keys
2019-09-23 21:38:26 -05:00
Steve Pulec
cbe1ff1974
Merge pull request #2422 from kiyonori-matsumoto/dynamodb-and-order
fix: raises ValueError on conditional and operator
2019-09-23 21:35:08 -05:00
Steve Pulec
8f4a05581c
Merge pull request #2420 from mattsb42-aws/key_id_validation
Normalize KMS key ID validation
2019-09-23 21:33:03 -05:00
Aleksandr Mangin
b163f23a22 fix tail message problem in get_log_events 2019-09-23 18:35:44 +02:00
Gapex
d8e69a9a36 list with prifix 2019-09-17 12:44:48 +08:00
Gapex
a466ef2d1b check key & common prefix in unit test' 2019-09-17 12:42:33 +08:00
Gapex
1c36e1e2c5 update unit test and fix StartAfter 2019-09-17 10:42:10 +08:00
Kiyonori Matsumoto
7ee35a8510 fix: raises ValueError on conditional and operator
if lhs evaluates to false, rhs must be ignored, but rhs was evaluated then ValueError is occurred.
2019-09-16 23:33:52 +09:00
Gapex
c04c72d435 update MaxKeys unite test 2019-09-16 18:09:42 +08:00
Gapex
84715e9a2a add truncate unite test 2019-09-16 16:46:19 +08:00
Gapex
4946f8b853 'lint' 2019-09-16 15:31:57 +08:00
Gapex
59f87e30ba split truncated keys by type 2019-09-16 15:20:24 +08:00
Gapex
47635dc82e update key of sort 2019-09-16 13:33:53 +08:00
Gapex
a36b84b3aa fix MaxKeys in list_objects_v2 2019-09-16 11:35:36 +08:00
mattsb42-aws
4c7cdec965 fix encoding for Python 2 in KMS tests 2019-09-13 14:08:26 -07:00
mattsb42-aws
4f34af95bc remove dead code
because the key ID validation is now centralized,
by the time this code would have been reached,
we know that the key ID exists,
so a KeyError will never be thrown
2019-09-13 13:35:55 -07:00
mattsb42-aws
24832982d4 convert tests from boto to boto3 and add unicode plaintext vector to test auto-conversion 2019-09-13 13:32:19 -07:00
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