Commit Graph

5250 Commits

Author SHA1 Message Date
Terry Griffin
b4c9b76ca9 Added 'x-amzn-ErrorType' in return header from lambda:get_function for missing function 2020-02-06 15:26:20 -08:00
gruebel
5d05044491 Add CustomerMasterKeySpec parameter handling 2020-02-06 17:57:00 +01:00
Bert Blommers
7719ac76a3
Merge pull request #2720 from jrbeilke/feature-apigw-defaults
Feature apigw defaults
2020-02-06 13:52:56 +00:00
Bert Blommers
58b3304310
Merge pull request #2729 from grodzik/add-update-organizational-unit-endpoint
Add update organizational unit endpoint
2020-02-06 13:51:30 +00:00
Paweł Tomak
fc9eab2591
Raise DuplicateOrganizationalUnitException
Calling UpdateOrganizationalUnit with name that already exists should
raise proper error.
2020-02-06 12:38:37 +01:00
Paweł Tomak
14ebf29a61
Add UpdateOrganizationalUnit endpoint to Organizations API 2020-02-06 11:49:41 +01:00
Brady
ecdedf30c8 force build... 2020-02-05 16:31:33 -05:00
Brady
5b55102181 fix test case 2020-02-05 15:30:34 -05:00
Brady
c95254a284 delete tags when their resource is deleted 2020-02-05 11:58:52 -05:00
Bert Blommers
fa17b748f5
Merge pull request #2724 from jayudey-vertex/account-for-types
Handle map or list parameters in sns processing
2020-02-05 16:13:59 +00:00
Brady
414f8086b0 use sure for unit test assertions 2020-02-05 10:30:59 -05:00
Jay Udey
1321943d60 add test verifying solution 2020-02-05 09:03:45 -06:00
Bert Blommers
2f1e47b53e
Merge pull request #2727 from titibike/master
Add 'Filter' parameter for cognito-idp function 'list_users()'
2020-02-05 13:58:33 +00:00
Ivan Dromigny
d8d057711d Change from black linter 2020-02-05 14:19:08 +01:00
Ivan Dromigny
8115dd2d1b Add test 2020-02-05 12:03:33 +01:00
Ivan Dromigny
4bae0339c2 Add Filter parameter for cognitoidp list_users() 2020-02-05 12:03:24 +01:00
Bert Blommers
fda0f3e661
Merge pull request #2725 from mikegrima/lambda_arn_invoke
Fixed issue with Lambda invoke via ARN
2020-02-05 07:50:22 +00:00
Mike Grima
bb64258a8f Fixed issue with Lambda invoke via ARN
- Fixed an issue where Lambda invokes via an ARN was hitting real AWS.
2020-02-04 22:12:11 -08:00
Jay Udey
4f0c06ca53 handle map or list parameters 2020-02-04 14:04:45 -06:00
Bert Blommers
152ad8b82e
Merge pull request #2723 from rossjones/remove-resource-warnings
Remove ResourceWarnings when loading AMIS and INSTANCE_TYPES
2020-02-04 10:52:48 +00:00
rossjones
6d64b12b41 Remove ResourceWarnings when loading AMIS and INSTANCE_TYPES
When loading AMIS and INSTANCE_TYPES in moto.ec2.models a file handle is
potentially leaked when loading the JSON.  This results in a
ResourceWarning which is a bit of unnecessary noise.

Rather than pass a call to open() to json.load() this instead uses a
context-manager in a small private helper function.

This fixes https://github.com/spulec/moto/issues/2620
2020-02-04 10:04:01 +00:00
Jon Beilke
c9995412b5 add support for apigateway fields with default values including apiKeySource, endpointConfiguration, and tags 2020-02-03 10:21:22 -06:00
Bert Blommers
70b2d3ab3c
Merge pull request #2709 from blbradley/fix/localstack-split-stacks
throw ValidationError on non existing stack
2020-02-03 14:33:54 +00:00
Bert Blommers
14a7a92ed0
Merge pull request #2715 from asherf/versions
Botocore no longer needs an older version of python-dateutil.
2020-02-03 14:31:32 +00:00
Bert Blommers
e4eede7f9b
Merge pull request #2718 from gmcrocetti/bugfix/2690
RDS Feature: Add EnableIAMDatabaseAuthentication
2020-02-02 18:01:21 +00:00
Guilherme Martins Crocetti
f0509276d8 Apply black in responses.py 2020-02-02 13:46:01 -03:00
Guilherme Martins Crocetti
9f8388e402 Change test name in favor of abbreviation 2020-02-02 13:19:50 -03:00
Guilherme Martins Crocetti
06e4cafd20 Add enable_iam_database_authentication variable into snapshot 'to_xml' 2020-02-02 13:10:04 -03:00
Guilherme Martins Crocetti
eb0687eeaa Add failing test for EnableIAMDatabaseAuthentication snapshot 2020-02-02 13:08:13 -03:00
Guilherme Martins Crocetti
51e787fba6 Add enable_iam_database_authentication in 'to_xml' method 2020-02-02 12:57:16 -03:00
Guilherme Martins Crocetti
dfd21187e1 Change iam_database_authentication_enabled to enabled_iam_database_authentication in accordance with aws docs 2020-02-02 12:55:05 -03:00
Guilherme Martins Crocetti
ec66670315 Add enable_iam_database_authentication parameter in RDS2Response 2020-02-02 12:50:46 -03:00
Guilherme Martins Crocetti
c36371e235 Add failing test for database creation with iam 2020-02-02 12:47:54 -03:00
Bert Blommers
e21ddb7abc
Use var instead of hardcoded string for region 2020-02-02 14:25:44 +00:00
Bert Blommers
ceb16b00a7 S3 LocationConstraint test can only be run in non-ServerMode 2020-02-02 12:45:57 +00:00
Bert Blommers
d5a36752d7 Add S3 LocationConstraint to CF tests 2020-02-02 12:44:26 +00:00
Bert Blommers
a86cba79de Add S3 LocationConstraint to Lambda tests 2020-02-02 11:48:32 +00:00
Bert Blommers
f74f08581a S3 - Add IllegalLocationConstraint validation when creating buckets 2020-02-02 10:36:51 +00:00
Brandon Bradley
800e5ab7d2 requested changes from review 2020-02-01 14:52:48 -06:00
Bert Blommers
b971aee9d5
Merge pull request #27 from spulec/master
Merge upstream
2020-02-01 09:53:15 +00:00
Asher Foa
27ce0b7ab1 Botocore no longer needs an older version of python-dateutil.
https://github.com/boto/botocore/pull/1910
https://github.com/boto/botocore/issues/1872
https://github.com/spulec/moto/pull/2570
2020-01-31 12:49:12 -08:00
gruebel
40bd4f1603 Fix kms.create_key default output 2020-01-31 17:16:42 +01:00
Bert Blommers
b6aeae0f2d
Merge pull request #2707 from UltCombo/patch-1
Support greedy resource path in API Gateway
2020-01-31 15:27:35 +00:00
Bert Blommers
4b1173c3ac
Merge pull request #2712 from gruebel/fix-sqs-permissions
Fix sqs permission handling & add more error handling
2020-01-31 15:24:53 +00:00
Brandon Bradley
8b3c2b6654
fix test 2020-01-30 17:50:21 -06:00
Brandon Bradley
b7795b7111 test for ListStackResources 2020-01-30 16:35:19 -06:00
gruebel
44024ab74b Fix sqs permission handling & add more error handling 2020-01-30 22:42:27 +01:00
Bert Blommers
2f9b259cc1
Merge pull request #2701 from kislyuk/patch-2
awslambda: explicitly specify json-file log driver
2020-01-30 07:52:23 +00:00
Brandon Bradley
c877266f86 fix 500 error on non-existing stack name 2020-01-29 16:27:56 -06:00
Fabrício Matté
cf65cfc6ec
Update API Gateway resource name test 2020-01-29 16:28:37 -03:00