Commit Graph

5563 Commits

Author SHA1 Message Date
Bert Blommers
2bd93a76fc Add region to DDB tests 2020-02-09 11:58:41 +00:00
Bert Blommers
936d686392 #2580 - DynamoDB update_item: Allow list_append and if_not_exists-functions in one expression 2020-02-09 11:47:02 +00:00
Luka Bratos
e91f1309d1 Update docs 2020-02-08 17:59:47 +00:00
Bert Blommers
df031d0f33 #2732 - Created AMI should have AccountID as the OwnerID 2020-02-08 10:58:31 +00:00
Bert Blommers
794e35073e Merge pull request #28 from spulec/master
Merge upstream
2020-02-08 10:45:52 +00:00
Bert Blommers
39751a6961
Merge pull request #2737 from jmsanders/limit-list-queues-to-1000
Limit SQS list_queues response to 1000 queues
2020-02-08 09:23:22 +00:00
Bert Blommers
4ec739a06d Merge pull request #2716 from krigar1184/bugfix/unbound-local-in-dynabodb2-query
Fixed UnboundLocalError in dynamodb2.query when no filtering arguments are passed
2020-02-08 09:19:16 +00:00
Nikita Antonenkov
0ac9296936 Update .gitignore 2020-02-07 23:39:31 +01:00
Nikita Antonenkov
d4caf14b61 Fixed UnboundLocalError in dynamodb2.query when no filters are passed 2020-02-07 23:39:31 +01:00
jmsanders
0b7e990bbf Limit SQS list_queues response to 1000 queues
The maximum number of queues that the ListQueues API can return is 1000:

https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ListQueues.html
2020-02-07 15:54:42 -06:00
Bert Blommers
32dc8f9fe7
Merge pull request #2734 from gruebel/fix-kms-create-key
Fix kms create key
2020-02-07 16:23:17 +00:00
gruebel
ec56351416 Move boto3 tests to separate file 2020-02-07 16:28:23 +01:00
gruebel
4833419499 Fix CreationDate handling 2020-02-07 15:38:37 +01:00
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