Tomoya Kabe
849f16ff2d
Correct group inline policy rendering ( #3069 )
...
* Correct group inline policy rendering in iam:GetAccountAuthorizationDetails response
* Include user inline policy if exists
* Add tests for IAM inline policies
* Remove unnecessary print stmts
2020-06-14 09:23:52 +01:00
Steve Pulec
1f2e6b8925
Merge pull request #3071 from bblommers/dynamodb_gsi_add_throughput
...
DynamoDB - Add default GSI throughput
2020-06-13 18:59:33 -05:00
Bert Blommers
bbe1320e7c
DynamoDB - Add default GSI throughput
2020-06-13 20:27:05 +01:00
usmangani1
475f022b78
Enhancement: EC2 added create route with networkInterfaceId ( #3063 )
...
* Enhancement:EC2- create route with network interfcaeID
* modifying existing test case
* Linting
Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-06-12 16:16:55 +01:00
Steve Pulec
ee0328b0a3
Merge pull request #3050 from bblommers/cloudformation-support-dynamodb-streams
...
CloudFormation - Support DynamoDB Streams
2020-06-11 20:58:19 -05:00
Steve Pulec
5b505e535c
Merge pull request #3047 from bblommers/dynamodb-batch-keysize-validation
...
#3046 - DynamoDB - Add Key-size Validation for BatchGetItem
2020-06-11 20:52:36 -05:00
Steve Pulec
46f6f7822f
Merge pull request #3053 from bblommers/impl_coverage_improv
...
Improve implementation coverage
2020-06-11 20:49:58 -05:00
ktrueda
5880d31f7e
Implemented Athena create_named_query, get_named_query ( #1524 ) ( #3065 )
...
* Implemented Athena create_named_query, get_named_query
2020-06-11 17:27:29 +01:00
Gordon Cassie
b88f166099
Fix: Support streaming upload from requests. ( #3062 )
...
* Fix: Support streaming upload from requests.
* [FIX] style.
Co-authored-by: Gordon Cassie <gordon.cassie@closingfolders.com>
2020-06-11 06:50:50 +01:00
usmangani1
dcde2570b1
Enhancement : SES - Added create-receipt-rule-set, create-receipt-rul… ( #3059 )
...
* Enhancement : SES - Added create-receipt-rule-set, create-receipt-rule functionalities.
* Linting
Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-06-10 10:23:43 +01:00
Kristopher Chun
fbc5769b74
Fix: SecretsManager - Added missing pop() override to get_secret_name… ( #3057 )
...
* Fix: SecretsManager - Added missing pop() override to get_secret_name_from_arn (#3056 )
* Added test case for delete_secret_force_with_arn (#3057 )
* Fixed lint for test_delete_secret_force_with_arn (#3057 )
2020-06-10 08:54:03 +01:00
usmangani1
b1d515c929
Enhancement : API-Gateway Put Integration Response - Adding support f… ( #3058 )
...
* Enhancement : API-Gateway Put Integration Response - Adding support for contentHandling.
* Added tests where the contentHandling is None also gets tested.
* Linting
Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-06-10 07:58:40 +01:00
Bert Blommers
20784a2d67
Improve implementation coverage
2020-06-06 13:15:50 +01:00
Guilherme Martins Crocetti
e32a60185f
Cloudformation - EventBus support ( #3052 )
...
* add EventBus to model's map
* add support for creation of EventBus through cloudformation's api
* add cloudformation's delete
* add cloudformation's update
* add cloudformation's attribute
2020-06-06 11:31:14 +01:00
Bert Blommers
a66b0e5b1a
CloudFormation - Support DynamoDB Streams
2020-06-04 07:45:00 +01:00
Bert Blommers
d21088699e
Linting
2020-06-03 17:14:48 +01:00
Bert Blommers
b0da78c29d
Update test_dynamodb.py
2020-06-03 16:15:46 +01:00
Bert Blommers
9ca10e3630
#3046 - DynamoDB - Add Key-size Validation for BatchGetItem
2020-06-03 15:36:32 +01:00
Guilherme Martins Crocetti
149e307bc9
Rule's cloudformation support for updates ( #3043 )
...
* add support to update stack using cloudformation
* blacked test file
2020-06-03 06:54:01 +01:00
Jeremie Tharaud
90e200f0f6
Add missing changes when creating a change set ( #3039 )
...
* Display changes when creating a change set
* add change set id and description when describing stack
* fix lint with flake8 and black
2020-06-03 06:08:35 +01:00
Victor Le Fichant
cb600377b4
Fix incorrect response for put-targets action ( #3037 )
2020-06-02 16:31:42 +01:00
usmangani1
2433d64fe2
Fix: SecretsManager Added VersionIdsToStages key in describe_secret function ( #3029 )
...
* Fix: SecretsManager Added VersionIdsToStages key in describe_secret function
* Added more assertions
* Linting
Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-05-29 12:31:41 +01:00
Jeremie Tharaud
8fa625c3de
Cfn change set fix outputs ( #3033 )
...
* set creation time of the change set
* fix status, execution status, stak id, creation time and update tests
2020-05-29 07:33:24 +01:00
usmangani1
7a6d78afde
Fix: Cloudwatch delete Alarm status code handling on invalid alarm name ( #3028 )
...
* CloudWwatch delete Alarm status code handling on invalid alarm Name
* Handled cases where a mix of existent and non existent alarms are tried to delete
* Linting
Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-05-28 15:52:56 +01:00
Jeremie Tharaud
162a38bb10
fix missing sure package and region_name ( #3031 )
2020-05-28 14:14:09 +01:00
jweite
4303123312
Implemented IAM delete_instance_profile ( #3020 )
...
* Implemented IAM delete_instance_profile
* PR adjustment: positively verifying instance profile deletion in test case.
Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-05-27 18:22:06 +01:00
jweite
4d3e3c8c5e
implemented s3 default encryption methods ( #3022 )
...
* implemented s3 default encryption methods
* PR adjustments: moved logic for retrieving bucket's encrypted status to the backend.
Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-05-27 17:21:03 +01:00
jweite
b7a1b666a8
Corrected bug in IAM delete_role() due to overloading of name 'role' … ( #3019 )
...
* Corrected bug in IAM delete_role() due to overloading of name 'role' in function
* PR-requested fixes: added region to tests boto client create, reformatted with black
Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-05-27 17:00:28 +01:00
André Nardy
97a6e8d9e8
Enhancement/describe network acls ( #3003 )
...
* update describe_network_acls and create unit test
* add fail test case
* adjustment after feedback
* fix result test
2020-05-26 11:04:59 +01:00
Steve Pulec
4f42ba93d8
Merge pull request #3025 from bblommers/sqs_fix_message_group_behaviour
...
SQS: fix message group behaviour
2020-05-24 12:06:28 -05:00
Aidan Rowe
93feeec1b7
SFN - fix InvalidARN exception on start_execution ( #3007 )
2020-05-24 15:06:02 +01:00
Maxim Kirilov
2320e82647
Add support for detaching volumes upon instance termination ( #2999 )
2020-05-24 12:22:45 +01:00
Zach Brookler
31ce74a842
Fix autoscaling tags ( #3010 )
...
* ENH: Add unit test for propagation tags
* BUG: Add missing translation of boolean PropagateAtLaunch tag values to strings
* BUG: Should really be checking for "true" and not True
* CLN: Black formatting
2020-05-24 12:21:29 +01:00
Bert Blommers
1ef3094e45
SQS - Return multiple group-messages in the same request
2020-05-24 12:12:35 +01:00
Ben
8daafaec58
Add tag get_resource support for target groups ( #3012 )
2020-05-24 10:25:38 +01:00
Steve Pulec
59c71760ff
Keep order in request body to ensure auth signing works. ( #3024 )
...
* Keep order in request body to ensure auth signing works.
* Lint.
* More OrderedDict to ensure data parameter order.
* Lint.
* Improve CF test assertions.
* Fix syntax error.
* Cleanup CF test.
2020-05-24 08:51:45 +01:00
Zach Brookler
80b64f9b3f
Cloud formation "depends_on" #2845 Add depends on and update name type mapping ( #2994 )
...
* ENH: Add unit test for cloudformation DependsOn
* ENH: Add implementation of retrieving list of resources that account for dependencies
* ENH: Update the name mappings so that they are consistent with the latest cloudformation names
* ENH: Add launch configuration to type names
* ENH: Create subnet for test and test creation with dependencies
* CLN: Code reformatting
* CLN: Remove print statements
* BUG: Fix error resulting in possible infinite loop
* CLN: Remove commented out fixture decorator
* BUG: Remove subnet creation
* CLN: Remove main and ec2 dependencies
* BUG: Add back in instance profile name type
* CLN: Remove print
* BUG: Fix broken unit test
* CLN: Code reformatting
* CLN: Remove main
* ENH: Add autoscaling group name to type names
* ENH: Add unit test for string only dependency and add assertions to unit tests
* ENH: Add unit test for chained depends_on in cloudformation stack
* BUG: Remove f strings for python 2.7 compatibility
* BUG: List needs to be sorted for python2.7
* CLN: Fix code formatting
2020-05-18 09:47:18 +01:00
Steve Pulec
134cceeb12
Merge pull request #2996 from bblommers/athena_start_stop_execution
...
Athena - Start/Stop query execution, get_work_group
2020-05-16 15:37:42 -05:00
Bert Blommers
ffb521f86b
Linting
2020-05-16 15:03:26 +01:00
Bert Blommers
dd20fec9f3
Athena - Start/stop executions
2020-05-16 15:00:06 +01:00
Steve Pulec
0c9d97321e
Merge pull request #2995 from OneMainF/managedblockchain-addnode
...
Added node actions and other fixes
2020-05-16 08:17:52 -05:00
James Belleau
93311dbd4b
Added node actions and other fixes
2020-05-15 19:38:19 -05:00
Steve Pulec
17eb11a8d1
Merge pull request #2989 from bblommers/improve_coverage
...
Improve Implementation coverage
2020-05-14 17:55:55 -05:00
Steve Pulec
9712acc75f
Merge pull request #2986 from bblommers/dynamodb_transact_errors
...
#2985 - DynamoDB - TransactWriteItems - Fix error-type returned
2020-05-14 17:54:42 -05:00
Steve Pulec
464fea84f9
Merge pull request #2973 from bblommers/master
...
Lambda - Return LogResult only if requested
2020-05-14 17:53:49 -05:00
Steve Pulec
0f56539ef9
Merge pull request #2972 from bblommers/ses_validate_raw_email
...
SES - Validate domain before sending raw email
2020-05-14 17:52:50 -05:00
usmangani1
8d3d43da90
Enhancement Adding SES Functionalities CreateTemplate,GetTemplate,Lis… ( #2987 )
...
* Enhancement Adding SES Functionalities CreateTemplate,GetTemplate,ListTemplates
* Linting
Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-05-13 12:29:34 +01:00
James Belleau
9bc393801f
Managedblockchain member additions ( #2983 )
...
* Added some member and proposal functions
* Added additional member and proposal functions
* Fixed admin password return and added update_member along with tests
* Added network removal and member removal proposal
* Fixed failing test
* Fixed Python 2.7 test
2020-05-13 12:28:22 +01:00
Bert Blommers
d680b1e025
Merge remote-tracking branch 'spulec/master' into improve_coverage
2020-05-12 15:02:24 +01:00
usmangani1
774a764b69
Fix s3 Added Error handling in case of invalid uploadID ( #2979 )
...
* Added Error handling in case of invalid uploadID
* Linting
* added assertions
* Linting
Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-05-12 14:59:07 +01:00
Bert Blommers
ddb5c30d34
Improve implementation coverage (and layout)
2020-05-12 14:58:35 +01:00
Anton Grübel
e73a694219
Add CloudWatch logs subscription filters ( #2982 )
...
* Add logs.describe_subscription_filters
* Add logs.put_subscription_filter
* Add logs.delete_subscription_filter
* Change to usage of ACCOUNT_ID
2020-05-12 13:34:10 +01:00
Bert Blommers
48aa8ec3f9
#2985 - DynamoDB - TransactWriteItems - Fix error-type returned
2020-05-11 15:33:24 +01:00
Maxim Kirilov
1e0a7380d5
Add support for BlockDeviceMappings argument ( #2949 )
...
* Add support for BlockDeviceMappings argument upon run_instances execution
* Remove redundant check for Ebs existence
2020-05-11 13:23:45 +01:00
Denver Janke
9618e29ba9
Always call update ELBs for ASGs ( #2980 )
2020-05-11 07:44:26 +01:00
Anton Grübel
65e790c4eb
Add dynamodb continuous backups ( #2976 )
...
* remove print statement
* Add dynamodb.describe_continuous_backups
* Add dynamodb.update_continuous_backups
* Fix Python 2 timestamp error
2020-05-08 15:57:48 +01:00
pvbouwel
9e7803dc36
[Bugfix] UpdateExpression using ADD from zero ( #2975 )
...
When using the ADD syntax to sum up different components
the path that is provided is allowed to be non-existent.
In such a case DynamoDB will initialize it depending on
the type of the value.
If it is a number it will be initialized with 0.
If it is a set it will be initialized with an empty set.
2020-05-07 21:29:20 +01:00
Bert Blommers
0718525a2a
Linting
2020-05-07 12:29:18 +01:00
Bert Blommers
f1f7ddb69d
Merge pull request #2970 from rigaspapas/opsworks-online-status
...
Fix the online status in OpsWorks
2020-05-07 12:27:53 +01:00
Bert Blommers
e4caea586d
Merge pull request #2957 from OneMainF/add-managedblockchain
...
Add managedblockchain network functions #2956
2020-05-07 11:47:18 +01:00
Bert Blommers
ed109dae91
Merge pull request #2966 from usmangani1/SES_mod
...
SES get send statistics response modification
2020-05-07 11:30:32 +01:00
Bert Blommers
f82e834225
Lambda - Only return Logs if LogType=Tail
2020-05-07 10:55:15 +01:00
Bert Blommers
be5b1c592f
Lambda - Add actual logs to LogResult, instead of replicating the response
2020-05-07 10:40:24 +01:00
Bert Blommers
dcb122076f
Linting
2020-05-07 09:53:07 +01:00
Bert Blommers
691e206854
SES - Validate domain before send_raw_email
2020-05-07 09:49:37 +01:00
Rigas Papathanasopoulos
4abd88f95c
Fix the online status in OpsWorks
...
When an instance is running, OpsWorks reports its status as "online"
[1], while EC2 reports it as "running". Until now, moto copied the EC2
instance's status as is. This commit introduces the converts the running
status to online when returned by OpsWorks.
[1]: https://docs.aws.amazon.com/cli/latest/reference/opsworks/describe-instances.html
2020-05-07 10:57:27 +03:00
James Belleau
811ec3bd2a
Added get network test
2020-05-06 21:54:59 -05:00
James Belleau
5ec814a604
Fixes and additional tests
2020-05-06 21:12:48 -05:00
Brian Pandola
55f207050e
Add Redshift.ClusterAlreadyExists
Error
...
Closes #2967
2020-05-06 14:28:40 -07:00
Bert Blommers
2052a07ff7
Merge pull request #2962 from Chagui-/master
...
Implement parentGroup, namePrefixFilter and recursive for list_thing_groups()
2020-05-06 17:00:05 +01:00
usmankb
2b0e7da998
SES get send statistics response modification
2020-05-06 20:28:50 +05:30
Chagui-
8bfc7ed760
Fixed python2
2020-05-06 10:28:13 -04:00
Chagui-
c51ef87f71
black
2020-05-06 09:43:34 -04:00
Chagui-
f7b0484428
Refactored test_describe_thing_group_metadata_hierarchy to use generate_thing_group_tree
2020-05-06 09:37:43 -04:00
Chagui-
0869c83ea5
Refactored test_delete_thing_group to use generate_thing_group_tree
2020-05-06 09:32:47 -04:00
Chagui-
5fd8179653
Refactored test_list_thing_groups into class TestListThingGroup
2020-05-06 09:29:16 -04:00
Chagui-
40d1c8c9b9
Added generate_thing_group_tree function
2020-05-06 09:10:42 -04:00
gruebel
3b8c8fafe2
Fix ssm.get_parameters missing validation
2020-05-06 14:38:25 +02:00
Chagui-
e114eb9383
Added test test_list_thing_groups()
2020-05-05 18:08:56 -04:00
Bert Blommers
323877c15d
Merge pull request #2954 from usmangani1/LSTACK_AWSPROXY
...
Fix response_parameter being ignored in put_integration_response
2020-05-04 11:04:54 +01:00
Bert Blommers
2c9409faaa
Merge pull request #2946 from usmangani1/LSTACKISSUE909
...
SES Enhancement Adding get_send_statistics,create_configuration_set functions.
2020-05-04 10:07:03 +01:00
Bert Blommers
d6875c25cc
Linting
2020-05-04 09:27:57 +01:00
Bert Blommers
353bc08ac2
Linting
2020-05-04 09:24:46 +01:00
James Belleau
4365c2bd4e
Added network functions
2020-05-03 18:13:40 -05:00
usmankb
1cda64e9a3
Added tests
2020-05-03 08:31:46 +05:30
Kevin Neal
52cbdd72e7
update SQS MaximumMessageSize from 64K to 256K
2020-05-02 16:40:52 -07:00
Rifqi Al Fatih
f23f706825
Implement placement constraints model
2020-05-02 18:47:59 +02:00
Steve Pulec
8a1b24b234
Merge pull request #2947 from usmangani1/LSTACKISSUE1658
...
Fix SQS send_message_batch empty array Exception handling
2020-05-01 15:50:08 -05:00
Steve Pulec
464a9db192
Merge pull request #2945 from bblommers/feature/dynamodb_atomic_counter3
...
DynamoDB - Implement atomic counter
2020-05-01 15:47:53 -05:00
usmankb
1431348161
Fix SQS send_message_batch empty array Exception handling
2020-05-02 01:33:58 +05:30
usmankb
440213f854
Enhancement Adding SES get_send_statistics,create_configuration_set functions
2020-05-01 21:16:33 +05:30
Bert Blommers
2e737a6102
DynamoDB - Add tests to verify Atomic Counter functionality
2020-05-01 14:19:20 +01:00
Bert Blommers
49b00942c3
S3 DeleteObjects - Allow multiple querystring formats
2020-05-01 13:50:11 +01:00
Chagui-
95c459a86d
Added exception for deleting a group which has childs.
...
Added better tests for delete_thing_group
2020-04-30 17:21:45 -04:00
zscholl
1f1404352e
use conditional TEST_SERVER_MODE for backend tests
2020-04-30 09:42:22 -05:00
zscholl
0423be259a
remove backend logic & py27 incompatible timezone
2020-04-30 09:10:42 -05:00
zscholl
51e7002cbb
add tests
2020-04-30 09:10:42 -05:00
Bert Blommers
2d0087d500
Linting
2020-04-29 16:29:25 +01:00
usmankb
f4888da334
added test asserts and review comments
2020-04-29 18:02:02 +05:30
usmankb
84100c4483
enhancement Create-VPC-endpoint
2020-04-29 00:28:19 +05:30