Luis Pollo
20364b177a
Fix IAM role name when parsed from CloudFormation JSON.
2020-03-11 13:17:35 +00:00
Bert Blommers
0e43369155
Linting
2020-03-11 12:47:40 +00:00
Huang syunwei
ab68d14649
Fix bug of put metric data with timestamp, timestamp should be a date time object instead of a string
2020-03-11 12:47:09 +00:00
ImFlog
ba1bf09474
Fix UPDATED_NEW return values differences between moto and dynamoDB
2020-03-10 18:22:54 +01:00
Bert Blommers
315ac32f09
Add region to test case
2020-03-10 14:28:12 +00:00
Bert Blommers
e9930b0cb2
S3 - test fix - Use plain text as content, instead of file
2020-03-10 13:30:38 +00:00
Bert Blommers
6ba00d9ad1
#1054 - DynamoDB - Improve error handling for put_item without keys
2020-03-10 13:25:40 +00:00
Bert Blommers
f17d5f8e4d
#657 - S3 - Verify content type is set/returned as appropriate
2020-03-10 12:56:33 +00:00
Bert Blommers
9eeb375911
Add region to test case
2020-03-10 09:26:44 +00:00
Bert Blommers
dc98fca853
#718 - Allow filtering by multiple tags
2020-03-09 15:14:51 +00:00
Bert Blommers
7b5613b331
#2774 - Re-add test, and update requirements to working botocore
2020-03-09 12:47:44 +00:00
Dick Marinus
28af7412f8
Change RESTError to JsonRESTError for ImageNotFoundException, update test to expect ImageNotFoundException
2020-03-08 20:56:21 +01:00
Steve Pulec
a92f862e86
Merge pull request #2764 from bblommers/feature/ec2-describe-instance-filters
...
Feature - EC2 describe_instance_status now uses filters
2020-03-07 11:47:05 -06:00
Steve Pulec
05236684f4
Merge pull request #2763 from bblommers/bugfix/multiple_items_in_ddbstream
...
DynamoDB Streams: Bugfix when sending multiple items
2020-03-07 11:46:24 -06:00
Steve Pulec
4cb23837e0
Merge pull request #2647 from aimannajjar/2646_create_default_ipv6_egress_rule
...
Security Groups - Create a second default egress rule for IPv6
2020-03-07 11:33:57 -06:00
Steve Pulec
51da32825d
Merge pull request #2785 from addomafi/master
...
Enhancement: Adding support to EbsConfiguration on configuration of Instance Groups for an EMR Endpoint
2020-03-07 11:03:27 -06:00
Steve Pulec
3dca5a3fe8
Merge pull request #2772 from bblommers/bugfix/#2567
...
Bugfix - When mocking URLs, always return the first match
2020-03-07 10:33:34 -06:00
Steve Pulec
f01108f687
Merge pull request #2767 from jrbeilke/feature-config-putevaluations
...
Feature: Add test mode support for Config PutEvaluations
2020-03-07 10:16:34 -06:00
addomafi
c6eca18434
Reformat
2020-03-06 18:11:07 -03:00
addomafi
23771549c2
#2784 Implementing assertions for testcase with instance groups
2020-03-06 18:10:39 -03:00
addomafi
c8dfbe9575
#2784 Adding missing support for EbsConfiguration on EMR instance groups
2020-03-06 15:12:44 -03:00
Bert Blommers
fbb449aa48
Merge branch 'master' into bugfix/#2567
2020-03-06 12:18:06 +00:00
addomafi
f7acdb9b3a
Merge branch 'master' of github.com:spulec/moto
2020-03-06 08:40:05 -03:00
Bert Blommers
a86f459ac9
Merge pull request #2770 from oanise93/fix_ssm_delete_parameter
...
Changes behavior of delete_parameter when parameter doesn't exist
2020-03-06 08:39:49 +00:00
Bert Blommers
e895c6d6cd
Merge pull request #2779 from jonnangle/feature-failover-geo
...
Support GeoLocation and Failover on Route 53
2020-03-06 08:39:08 +00:00
Bert Blommers
03164e7b60
Merge pull request #2780 from heyderpd/master
...
fixing error when _get_default return value that already exists, on _get_appended_list
2020-03-06 08:38:49 +00:00
Bert Blommers
15444bd4f7
Merge pull request #2783 from EpicWink/swf-undeprecate
...
Add SWF domain and type undeprecation
2020-03-06 08:37:36 +00:00
heyder.dias
f5080e539d
fix lint check
2020-03-05 18:39:20 -03:00
addomafi
a9b0677667
#2784 Adding missing support for EbsConfiguration on EMR run_job_flow
2020-03-05 18:11:49 -03:00
heyder.dias
fa7f83bc2f
add test to nested if_not_exists and property already exists
2020-03-05 17:05:00 -03:00
Steve Pulec
9024031ca2
Merge pull request #2776 from bblommers/python-2-readyness
...
Python 2 dependencies + Test fix
2020-03-05 12:58:27 -06:00
Bert Blommers
c6b66cb001
Linting
2020-03-05 17:22:54 +00:00
Bert Blommers
b19cf8a085
#2774 - Run Policy test on different method
2020-03-05 15:49:30 +00:00
Laurie O
916add9ac5
Add SWF domain and type undeprecation
...
Signed-off-by: Laurie O <laurie_opperman@hotmail.com>
2020-03-05 23:37:17 +10:00
Jon Nangle
bebcf52851
Formatting
2020-03-02 13:07:34 +00:00
Jon Nangle
9fdeaca589
Support GeoLocation and Failover on Route 53
2020-03-02 12:46:15 +00:00
aimannajjar
639c1abcb4
clarifying comment in test case
2020-03-01 08:23:31 -05:00
aimannajjar
5b9b965647
[ec2-sg] added logic to create a second default egress rule for ipv6
2020-02-29 21:05:05 -05:00
Olabode Anise
9227845121
using assert_raises
2020-02-27 07:29:13 -05:00
Bert Blommers
47349b30df
#2567 - When mocking URLs, always return the first match
2020-02-27 08:54:57 +00:00
Olabode Anise
607e0a8452
ENH: changes the behavior of delete_parameter to respond with a 400 error when the parameter does not exist.
...
Currently, the delete_parameter function for the ssm client will respond with a dict containing a key of Invalid Parameter which has a value of a list containing the parameter name that was requested to be deleted when a parameter with said name doesn't exist which doesn't match the behavior of boto3.
2020-02-26 07:13:32 -05:00
Bert Blommers
f8af496445
Merge pull request #2769 from EpicWink/swf-empty-task
...
Return empty task-token on no-task
2020-02-25 17:05:16 +00:00
Laurie O
209c999706
Keep track of previous started event ID
...
Closes #2107
Signed-off-by: Laurie O <laurie_opperman@hotmail.com>
2020-02-26 01:08:03 +10:00
Laurie O
369285b7ca
Don't 0-default previous started event ID
...
Signed-off-by: Laurie O <laurie_opperman@hotmail.com>
2020-02-26 01:06:58 +10:00
Laurie O
002683fd13
Return empty task-token on no-task
...
To match the SWF documentation, an empty task is one where the
task-token is the empty string, rather than being a nonexistant key
Signed-off-by: Laurie O <laurie_opperman@hotmail.com>
2020-02-26 00:19:39 +10:00
Jon Beilke
c3581dbd0b
add missing os import for config tests
2020-02-24 13:25:36 -06:00
Jon Beilke
4c43ca362f
add workaround for NotImplementedError failing server mode tests
2020-02-24 13:01:38 -06:00
Jon Beilke
28b4305759
add rudimentary support for Config PutEvaluations with TestMode for now
2020-02-24 11:53:27 -06:00
Bert Blommers
3aeb5f5043
Linting
2020-02-24 13:43:58 +00:00
Bert Blommers
939bd1cd86
EC2 - Add some filters for describe_instance_status
2020-02-24 13:43:19 +00:00
Bert Blommers
038ff620b2
DDB Streams - Bugfix where processed items are resend every time
2020-02-24 09:28:52 +00:00
Bert Blommers
736f8b5a8f
Refactor - reuse logic that expects CW log message
2020-02-24 08:24:14 +00:00
Steve Pulec
a89c150627
Merge pull request #2761 from bblommers/bugfix/1427
...
EMR - Return start time of first step
2020-02-22 18:26:01 -06:00
Bert Blommers
dc9129955b
Merge pull request #2758 from brady-gsa/kms-tagging
...
Kms tagging and untag support
2020-02-22 10:25:43 +00:00
Brady
c162f02091
re-add coverage and remove unused import
2020-02-21 15:39:23 -05:00
Brady
1221d2653a
fix test cases, bug when no tags are present and conflict
2020-02-21 15:21:41 -05:00
Bert Blommers
7205ab7785
#1427 - EMR - Return start time of first step
2020-02-20 08:59:21 +00:00
Bryan Alexander
38413577fc
fixes bug in resourcetaggingapi/get_kms_tags
2020-02-19 09:18:01 -06:00
Steve Pulec
ec3f6bbc6c
Merge pull request #2757 from jrbeilke/feature-apigw-authorizers
...
Feature: add support for API Gateway authorizers
2020-02-18 18:52:58 -06:00
Steve Pulec
3f8ea90475
Merge pull request #2756 from EpicWink/swf-workflow-defaults
...
Support default task-priority and Lambda-role in SWF workflow registration
2020-02-18 18:45:46 -06:00
Steve Pulec
d297fc08f2
Merge pull request #2755 from bblommers/dynamodbstreams_update_item
...
DynamoDB - Send item to DDB Stream on update, not just on create
2020-02-18 18:15:25 -06:00
Bryan Alexander
d1efedec29
updates kms to use tagging service and support untag_resource
2020-02-18 13:40:34 -06:00
Jon Beilke
40208363be
Merge branch 'master' into feature-apigw-authorizers
2020-02-18 10:49:53 -06:00
Jon Beilke
1d14085294
add API Gateway authorizers
2020-02-18 10:49:35 -06:00
Bryan Alexander
445f474534
merging from master
2020-02-18 10:47:05 -06:00
Bert Blommers
100dbd529f
Merge pull request #2742 from xnegativx/master
...
MessageAction for cognito admin_create_user is now handled
2020-02-18 13:41:02 +00:00
Bert Blommers
5863d9fab9
Linting
2020-02-18 12:34:24 +00:00
Laurie O
979d20753c
Support more defaults in SWF workflow registration
...
SWF workflow type now keeps track of the default task-priority and
default AWS Lambda role, set at workflow registration.
2020-02-18 21:59:06 +10:00
Bert Blommers
9971bcdfcd
DynamoDB - Send item to DDB Stream on update, not just on create
2020-02-18 11:49:55 +00:00
Steve Pulec
11e64109eb
Fix s3 test for location constraint.
2020-02-17 20:32:28 -06:00
Steve Pulec
dcd1f0195f
lint.
2020-02-17 20:32:19 -06:00
Steve Pulec
356c55f99d
Fix default resourceMethod for API Gateway. Closes #2750 .
2020-02-17 20:21:25 -06:00
Steve Pulec
6b6a059350
Merge pull request #2132 from Projectplace/tagging-directive
...
Support x-amz-tagging-directive in s3 copy_object
2020-02-17 20:00:30 -06:00
Steve Pulec
a1ffb47ae4
Merge pull request #2751 from mikegrima/s3control
...
Implemented S3 Account-level public access block.
2020-02-17 19:53:15 -06:00
Steve Pulec
4a89131ec4
Merge pull request #2694 from brady-gsa/events-tagging
...
adds tagging support for cloudwatch events service
2020-02-17 18:51:09 -06:00
Steve Pulec
88828576a6
Merge pull request #2753 from jrbeilke/bug-cognito-userpool-arn
...
Bug: Arn missing from cognito user pool model and response
2020-02-17 18:49:14 -06:00
Steve Pulec
b252ab6675
Merge pull request #2173 from sthuber90/master
...
Extending IoT Policy and Jobs functionality
2020-02-17 17:55:03 -06:00
Mike Grima
11b7be0e85
Implemented S3 Account-level public access block.
...
- Also added AWS Config listing and fetching support
- Also fixed Lambda test breakage
2020-02-17 15:41:27 -08:00
Steve Pulec
aeb194fc57
Update new lambda test to work with updated status codes. CC #2642 .
2020-02-17 17:29:00 -06:00
Jon Beilke
92fc39d7bb
add Arn to cognito user pool model and response
2020-02-17 15:08:09 -06:00
Bert Blommers
d463c11793
Merge pull request #2745 from EpicWink/closed-execution-info
...
Include closed execution extra info
2020-02-17 08:53:49 +00:00
Steve Pulec
9cf6123669
Merge pull request #2748 from jrbeilke/feature-apigw-apikeyrequired
...
Feature: API Gateway default value for apiKeyRequired on methods
2020-02-15 11:36:17 -06:00
Steve Pulec
039656f84d
Merge pull request #2704 from bblommers/bugfix/2642
...
Fix AWS Lambda status code on invoke
2020-02-15 10:46:01 -06:00
Steve Pulec
e40d75359a
Merge pull request #2717 from bblommers/feature/s3_illegallocationconstraint
...
S3 Feature: Add IllegalLocationConstraintException
2020-02-15 10:41:00 -06:00
Steve Pulec
a0999ced8a
Merge pull request #2740 from bblommers/bugfix/#2580
...
DynamoDB update_item: Allow list_append and if_not_exists-functions in one expression
2020-02-15 10:39:47 -06:00
Steve Pulec
200cd7c3e1
Merge pull request #2738 from bblommers/bugfix/2732
...
EC2 AMI Creation bugfix - Fix AMI owner
2020-02-15 10:37:03 -06:00
Jon Beilke
8a51fbe1c9
add default for apiKeyRequired field on API Gateway methods
2020-02-14 12:26:27 -06:00
Laurie O
353ad631f0
Include closed execution extra info
...
Include 'closeStatus' and 'closeTimestamp' when describing SWF workflow
execution using 'describe_workflow_execution'
Signed-off-by: Laurie O <laurie_opperman@hotmail.com>
2020-02-15 01:23:09 +10:00
Bert Blommers
1b4d0b7a1d
Merge pull request #2733 from griffint61/feature/lambda_get_function_ResourceNotFoundException
...
Added 'x-amzn-ErrorType' in the return header for missing lambda function
2020-02-12 07:44:21 +00:00
Terry Griffin
f70cd0182e
Fixed test_lambda_can_be_deleted_by_cloudformation for new (correct) error code.
2020-02-10 09:18:25 -08:00
Antonin
fa3904df29
MessageAction for cognito admin_create_user is now handled
...
If an invitation is attempted to be reset to a pool we validate that the user is indeed already in the pool else we raise a UserNotFoundException to match AWS behaviour
2020-02-10 18:09:15 +01:00
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
Bert Blommers
df031d0f33
#2732 - Created AMI should have AccountID as the OwnerID
2020-02-08 10:58:31 +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
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
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
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
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
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
e4eede7f9b
Merge pull request #2718 from gmcrocetti/bugfix/2690
...
RDS Feature: Add EnableIAMDatabaseAuthentication
2020-02-02 18:01:21 +00:00
Guilherme Martins Crocetti
9f8388e402
Change test name in favor of abbreviation
2020-02-02 13:19:50 -03:00
Guilherme Martins Crocetti
eb0687eeaa
Add failing test for EnableIAMDatabaseAuthentication snapshot
2020-02-02 13:08:13 -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
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
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
Fabrício Matté
cf65cfc6ec
Update API Gateway resource name test
2020-01-29 16:28:37 -03:00
Bert Blommers
da40c7125a
Merge pull request #2703 from brady-gsa/fix_lambda_config
...
Fixes awslambda policy management
2020-01-29 15:30:25 +00:00
Brady
dd243d72c2
switch to using sure for assertions
2020-01-29 09:46:09 -05:00
Bert Blommers
3cf45b7838
Merge pull request #2667 from owenfarrell/master
...
Made UserName parameter optional for IAM access key functions
2020-01-28 08:24:12 +00:00
Owen Farrell
142e237b0b
Made UserName parameter optional for IAM access key functions
2020-01-27 12:12:21 -05:00
Brady
cb07d17e13
don't use table of test cases and reduce duplication in get_policy method
2020-01-27 10:35:46 -05:00
Bert Blommers
4342b93170
Merge pull request #2702 from kislyuk/patch-5
...
awslambda: return actual result in sync invoke
2020-01-25 17:24:37 +00:00
Brady
2a2ff32dec
improves support for AWS lambda policy management
2020-01-24 14:53:16 -05:00
Andrey Kislyuk
324ef5af36
Fix test
2020-01-24 16:11:44 +00:00
Bert Blommers
ccd0257acc
Fix Lambda tests for DryRuns
2020-01-24 10:09:56 +00:00
Stephan Huber
5543a91cc1
Merge remote-tracking branch 'upstream/master'
2020-01-24 10:38:19 +01:00
Bert Blommers
ee8231202a
Fix linting
2020-01-24 09:08:48 +00:00
Roque Pinel
2ae09c5335
Fix the StatusCode
returned by lambda invoke
...
According to the AWS documentation:
```
The HTTP status code will be in the 200 range for successful request.
For the RequestResponse invocation type this status code will be 200.
For the Event invocation type this status code will be 202.
For the DryRun invocation type the status code will be 204.
```
2020-01-24 09:07:49 +00:00
Asher Foa
b4127040d1
remove this change.
2020-01-23 10:16:12 -08:00
Asher Foa
d9d055c75d
Fix more typos.
2020-01-23 10:15:02 -08:00
Stephan Huber
20020c5170
Change whitespaces back to the way they were and fix typos
2020-01-23 15:46:50 +01:00
Stephan Huber
84210f6011
Merge remote-tracking branch 'upstream/master'
2020-01-23 15:37:40 +01:00
Steve Pulec
663d7c289b
Merge pull request #2675 from bblommers/bugfix/#2674
...
DynamoDB - ListAppend should also work when adding maps to a list
2020-01-22 20:01:53 -06:00
Steve Pulec
c5b7b2f7af
Merge pull request #2687 from bblommers/bugfix/2626
...
DynamoDB - Update Item doesnt handle LT/GT properly
2020-01-22 20:01:00 -06:00
Steve Pulec
dff1986801
Merge pull request #2683 from Journera/ecs-td-add-network-mode
...
Store 'networkMode' in ECS Task Definitions instead of just throwing it away
2020-01-22 19:39:41 -06:00
Steve Pulec
a32b3c4b59
Fix SQS get_queue_attributes to allow RedrivePolicy. Closes #2682 .
2020-01-22 19:38:07 -06:00
Bert Blommers
7ff7ee4e8e
Test fix - Region must be specified
2020-01-22 11:42:06 +00:00
Bert Blommers
6f02782624
#2627 - Change comparison to differentiate between 0 and None
2020-01-22 11:30:17 +00:00
Steve Pulec
4335f1d3dd
Merge pull request #2669 from bblommers/lambda-return-output-only
...
AWS Lambda - Return response only, and skip log/print statements
2020-01-21 21:37:36 -06:00
Brady
1e851fb1d8
remove dead code
2020-01-17 10:12:58 -05:00
Brady
eaa8c8db6e
add tagging support to events
2020-01-16 21:03:32 -05:00
Bryan Alexander
85207b885b
updates KMS service to use TaggingService
2020-01-16 12:10:38 -06:00
Bert Blommers
1c4596c984
Merge pull request #2671 from franz-see/moto/issues/2670
...
moto/issues/2670 | Moved population of user attributes from accessToken to idToken
2020-01-16 05:57:17 +00:00
Bryan Alexander
6cb0428d20
adds tagging support for cloudwatch events service
2020-01-15 10:41:54 -06:00
Bert Blommers
a50d0695fe
Merge pull request #2661 from deanrock/route53-rrs-istruncated
...
Add IsTruncated to Route53.list_resource_record_sets
2020-01-15 15:39:09 +00:00
Franz See
db75c9e25c
moto/issues/2670 | Moved population of user attributes from accessToken to idToken
2020-01-15 23:33:09 +08:00
Bert Blommers
15889566b8
Merge pull request #2673 from franz-see/moto/issues/2672
...
moto/issues/2672 | Modified 'token_use' to return 'id' for an id toke…
2020-01-15 14:54:52 +00:00
Asher Foa
db559e7e06
Fix some typos
2020-01-14 09:55:32 -08:00
Bert Blommers
8c920cce10
Specify region in tests
2020-01-12 12:20:55 +00:00
Bert Blommers
9ce1ee49d7
#2626 - DynamoDB - FilterExpression should ignore items with non-existent attribute
2020-01-12 12:05:08 +00:00
Don Kuntz
fd1fdde1bf
Allow black to reformat correctly
2020-01-09 23:45:14 -06:00
Don Kuntz
2cb3f327de
Store 'networkMode' in ECS Task Definitions instead of just throwing it away
2020-01-09 23:00:33 -06:00
Bert Blommers
5884483019
Compare map, instead of string repr
2020-01-09 10:08:35 +00:00
Bert Blommers
cba3cfc384
Escape curly braces in formatting string
2020-01-09 09:10:16 +00:00
Bert Blommers
5f59cb7fb0
#2674 - ListAppend should also work when adding maps to a list
2020-01-06 08:16:09 +00:00
Franz See
a8e1a3bf08
moto/issues/2672 | Formatted using black
2020-01-06 13:29:23 +08:00
Franz See
68d882e6c0
moto/issues/2672 | Modified 'token_use' to return 'id' for an id token, and 'access' for an access token
2020-01-06 00:19:31 +08:00
Bert Blommers
eab9e15bf0
#2623 - Fix and simplify test in ServerMode
2020-01-05 15:01:31 +00:00
Jack Danger
d596560971
Merge pull request #2657 from gruebel/add-missing-regions
...
Add missing regions to all services
2020-01-02 17:27:25 -08:00
gruebel
cd9b7072a2
Adjust ec2 regions tests
2019-12-28 21:22:16 +01:00
Dejan Levec
877f3b056a
Add IsTruncated to Route53.list_resource_record_sets
2019-12-27 19:32:31 +01:00
Mike Grima
1db617a530
Merge pull request #2659 from gruebel/fix-sns-unsubscribe
...
Fix sns unsubscribe & delete_topic behavior
2019-12-27 09:10:24 -08:00
Mike Grima
d0d95420e7
Merge pull request #2655 from levinine/add-codecommit
...
add codecommit create, get and delete repository
2019-12-27 09:04:19 -08:00
Mike Grima
b86e1d073b
Merge pull request #2652 from gruebel/add-codepipeline-tags
...
Add codepipeline tags
2019-12-27 08:57:59 -08:00
Mike Grima
79aaad1068
Merge pull request #2651 from whummer/fix-s3-prefix
...
Avoid rendering "None" as S3 Prefix value
2019-12-27 08:56:06 -08:00
Mike Grima
eeedb2e6f8
Merge pull request #2650 from asherf/dynanmodb
...
Fix issue when working with dyanmodb stream and complex types.
2019-12-27 08:54:47 -08:00
Mike Grima
65664dcf85
Merge pull request #2648 from asherf/iam
...
Implement List user tags
2019-12-27 08:53:05 -08:00
Mike Grima
664e959856
Merge pull request #2639 from corrjo/instance_connect
...
Resolves #2637 added send_ssh_public_key
2019-12-27 08:51:27 -08:00
gruebel
2fb5004dc2
Fix sns unsubscribe & delete_topic behavior
2019-12-27 16:04:12 +01:00
gruebel
d7ba355a65
Add missing regions to all services
2019-12-26 17:12:22 +01:00
Jovan Zivanov
cb1eb79b89
add tests for codecommit
2019-12-26 16:06:53 +01:00
Jovan Zivanov
e20deb4acd
fix linter exceptions
2019-12-26 15:02:24 +01:00
Jovan Zivanov
a820aada42
add codecommit create, get and delete repository
2019-12-26 14:23:53 +01:00
Asher Foa
7d4c15d53e
skip part of the test in server mode.
2019-12-24 11:01:54 -08:00
Asher Foa
299e7851d6
Add assertions.
2019-12-24 10:23:46 -08:00
gruebel
8331d480ba
Add codepipeline.untag_resource
2019-12-23 19:50:16 +01:00
gruebel
b96a46b98f
Add codepipeline.tag_resource
2019-12-23 19:33:37 +01:00
Stephan Huber
ed8d5edb50
fix linting errors
2019-12-23 09:01:53 +01:00
Stephan Huber
0527e88d46
Merge remote-tracking branch 'upstream/master'
2019-12-23 08:38:53 +01:00
gruebel
df951facc5
Add codepipeline.list_tags_for_resource
2019-12-22 11:42:15 +01:00
Waldemar Hummer
4ad111830b
fix tests
2019-12-21 13:27:49 +01:00
Asher Foa
5bd3827b26
run black
2019-12-20 18:55:58 -08:00
Asher Foa
a6f14eee3f
Add test to repo stream issue
2019-12-20 18:55:58 -08:00
Asher Foa
c2e444a210
Update tests.
2019-12-20 10:54:33 -08:00
Mike Grima
b8a1f85285
Merge pull request #2644 from gruebel/add-codepipeline-fix
...
CodePipeline - implement CRUD endpoints
2019-12-20 09:28:42 -08:00
gruebel
901be3a6d1
Remove unused import
2019-12-20 10:54:38 +01:00
Asher Foa
1415a93596
Implement List user tags
2019-12-19 19:45:56 -08:00
gruebel
a67660b8a4
Adjust tests to work in server mode
2019-12-19 21:41:32 +01:00
John Corrales
199ff05e4e
parent 0f67a74d25
...
author John Corrales <jjcorrales3@gmail.com> 1576380101 -0800
committer John Corrales <jjcorrales3@gmail.com> 1576633072 -0800
added send_ssh_public_key
2019-12-17 17:38:49 -08:00
Mike Grima
91983b4823
Merge pull request #2610 from gruebel/fix-sns-get-subscription-attributes
...
Add missing attributes to SNS subscription
2019-12-17 08:36:59 -08:00
gruebel
03fd04db33
Use pytz instead of timezone
2019-12-17 17:22:46 +01:00
gruebel
8e03b1d525
Add codepipeline.delete_pipeline
2019-12-17 17:22:46 +01:00
gruebel
9871eda3c9
Add codepipeline.list_pipelines
2019-12-17 17:22:46 +01:00
gruebel
b2c44ce50d
Add codepipeline.update_pipeline
2019-12-17 17:22:45 +01:00
gruebel
c84e465e4c
Add codepipeline.get_pipeline
2019-12-17 17:22:45 +01:00
gruebel
076c8ace5f
Add codepipeline.create_pipeline
2019-12-17 17:22:45 +01:00
Fabio Dias
743dd46399
black linting
2019-12-16 21:25:20 -05:00
Fabio Dias
fd9ac4b9a5
ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override
2019-12-16 21:05:29 -05:00
Fabio Dias
bc615797b1
typo
2019-12-16 19:56:11 -05:00
Fabio Dias
b83a750630
Added references to moto.iam.models.ACCOUNT_ID instead of hardcoded id
2019-12-16 19:56:11 -05:00
Mike Grima
65b17e740d
Merge pull request #2611 from Sytten/fix/ssm-parameter
...
Add missing information in SSM parameters
2019-12-16 11:59:42 -08:00
Mike Grima
8e2e3cec5a
Merge pull request #2597 from ballwood/master
...
Add MaxSessionDuration field to IAM Role, Remove Description field from response if empty
2019-12-14 13:47:28 -08:00
Mike Grima
7b63b2818e
Merge pull request #2631 from kislyuk/patch-2
...
Batch: computeResources.instanceRole is an instance profile
2019-12-14 13:46:08 -08:00
Mike Grima
fb350bbcef
Merge pull request #2632 from kislyuk/patch-3
...
Batch: job definitions default to ACTIVE
2019-12-13 13:33:56 -08:00
Andrey Kislyuk
624dafcb5c
Fix tests
2019-12-13 18:46:26 +00:00
Andrey Kislyuk
777ff5a62a
Add test
2019-12-13 05:07:29 +00:00
Mike Grima
4386999ea7
Merge pull request #2613 from levinine/add_nat_gateway_id_to_route_and_describe_route_tables
...
Add nat_gateway_id to route and describe_route_tables
2019-12-12 18:33:11 -08:00
Mike Grima
ab73ab3ff5
Merge pull request #2609 from levinine/describe_nat_gateway_filter_support
...
Add describe_nat_gateway filters support
2019-12-12 18:29:05 -08:00
Mike Grima
61f28c308d
Merge pull request #2608 from aksagrimada/ssm_pagination
...
Add Pagination to ssm:get_parameters_by_path. Closes #1864
2019-12-12 18:22:33 -08:00
Mike Grima
8399bc4df5
Merge pull request #2606 from levinine/api_key_fix
...
api gateway handle duplicate api key values
2019-12-12 18:21:51 -08:00
Mike Grima
9f73a67cef
Merge pull request #2583 from trilliput/issue/1996
...
Improve parsing DynamoDB begins_with expression
2019-12-12 18:19:27 -08:00
Mike Grima
84ccdbd1cd
Implemented S3 Public Access Block
2019-12-12 17:45:31 -08:00
Ilya Shmygol
704a12146b
Improve error reporting for missing index
2019-12-12 10:49:07 +01:00
Ilya Shmygol
3a42079ec7
Merge remote master
2019-12-11 16:17:21 +01:00
Ilya Shmygol
be5986c0b5
Test query by non exists index
2019-12-11 15:08:45 +01:00
Mike Grima
4d5bf1c5c6
Merge pull request #2605 from bblommers/dynamodb_add_nested_stringsets
...
Dynamodb - DELETE/ADD item from/to nested sets
2019-12-09 14:14:56 -08:00
Mike Grima
c131dd2cac
Merge pull request #2604 from gruebel/fix-logs-get-log-events
...
Fix order and nextToken handling in logs.get_log_events
2019-12-09 14:14:11 -08:00
Mike Grima
872452eced
Merge pull request #2602 from atareshawty/ecs-list-task-definition-filtering
...
Add familyPrefix option to ecs:ListTaskDefinitions
2019-12-09 14:13:14 -08:00
Mike Grima
7e68b93091
Merge pull request #2601 from mwaaas/fix/get_policy
...
adding get policy endpoint
2019-12-09 14:11:50 -08:00
Mike Grima
1c5ea4b545
Merge pull request #2599 from bblommers/feature/#2010
...
CloudWatch - Implement list_metrics pagination
2019-12-09 14:11:05 -08:00
Mike Grima
90f5f7159d
Merge pull request #2598 from bblommers/feature/dynamodb_nested_list_append
...
Dynamodb: nested list_append
2019-12-09 14:10:00 -08:00
Mike Grima
b2264feac5
Merge pull request #2596 from gruebel/fix-ec2-revoke-security-group-egress
...
Fix ec2.revoke_security_group_egress for IpProtocol -1
2019-12-09 14:06:09 -08:00
Mike Grima
76aaa2df0f
Merge pull request #2595 from bblommers/feature/2317
...
Add CF update/delete methods for Lambda
2019-12-09 14:04:49 -08:00
Mike Grima
e00c12a1e6
Merge pull request #2594 from mwaaas/fix/fetch_secret_manage_via_arn
...
fixing fetch secret manager via arn
2019-12-09 14:03:37 -08:00
Mike Grima
8005f3260f
Merge pull request #2589 from Chagui-/master
...
iot describe_thing_group metadata implementation
2019-12-09 14:01:14 -08:00
Mike Grima
66dd1a0dff
Merge pull request #2547 from bblommers/feature/2546
...
AWS Lambda: Add Role validation when creating functions
2019-12-09 14:00:16 -08:00
Berislav Kovacki
43070a03ba
Add nat_gateway_id to route and describe_route_tables
2019-12-02 19:20:00 +01:00
Emile Fugulin
b52fa636b6
Add missing information in SSM parameters
2019-11-30 20:05:01 -05:00
gruebel
deaeef521b
Add missing attributes to SNS subscription
2019-11-30 15:51:43 +01:00
Berislav Kovacki
4322ecb254
Add describe_nat_gateway filters support
...
Support describe_nat_gateway filters by using nat-gateway-id, vpc-id,
subnet-id and state filter parameters.
2019-11-28 23:36:00 +01:00
Bert Blommers
e41bc9fc58
DynamoDB - DELETE item from nested sets
2019-11-28 13:22:20 +00:00
Adam Smith
051193e1bf
Add Pagination to ssm:get_parameters_by_path. Closes #1864
2019-11-27 22:12:31 +00:00
Jovan Zivanov
a28183d150
fix lint errors
2019-11-27 16:12:30 +01:00
Jovan Zivanov
5260de8859
remove unnecessary comments
2019-11-27 15:55:29 +01:00
Jovan Zivanov
e3587afe01
api gateway handle duplicate api key values
2019-11-27 15:49:37 +01:00
Bert Blommers
6d7ad717df
DynamoDB - ADD item to nested sets
2019-11-27 12:36:42 +00:00
gruebel
cea9c8c9a3
Fix order and nextToken handling in logs.get_log_events
2019-11-26 23:38:43 +01:00
Alex Tareshawty
df2279d39c
Add familyPrefix option to ecs:ListTaskDefinitions
...
AWS defines this option as:
```
--family-prefix (string)
The full family name with which to filter the ListTaskDefinitions
results. Specifying a familyPrefix limits the listed task
defini-tions to task definition revisions that belong to that
family.
```
This option behaves differently than ecs:ListTaskDefinitionFamilies.
Instead of doing a comparison like `startswith`, it does a full string
comparison by matching the entire task definition family to the prefix.
For example, let's say there exists a task definition with the family
`super-cool-task-def`.
ListTaskDefinitionFamilies would look like this:
```
aws ecs list-task-definition-families --family-prefix super-cool
{
"families": [
"super-cool-task-def"
]
}
```
ListTaskDefinitions would look like this:
```
aws ecs list-task-definitions --family-prefix super-cool
{
"taskDefinitionArns": []
}
```
2019-11-26 09:40:01 -05:00
mwas
625f28c882
adding get policy endpoint
2019-11-26 06:09:24 +03:00
Bert Blommers
36a5d80443
#2010 - Implement Cloudwwatch list_metrics pagination
2019-11-25 16:59:39 +00:00
Bert Blommers
21a1d4d604
DynamoDB - list_append operation can be made in a nested map
2019-11-25 15:19:22 +00:00
Barry Allwood
7c1cc01eb9
chore: add MaxSessionDuration to IAM Role
...
fix: Description field is optional on return of IAM Role
2019-11-24 18:19:09 +00:00
gruebel
5895231b5c
Fix ec2.revoke_security_group_egress for IpProtocol -1
2019-11-24 17:17:53 +01:00
Bert Blommers
9c247f4b70
Specify region name for IAM
2019-11-24 15:33:51 +00:00
Bert Blommers
791c25b51c
#2317 - Add CF Update/Delete methods for Lambda
2019-11-24 14:54:38 +00:00
Bert Blommers
8362179f70
Use deprecated IAM, only plays nice with deprecated CF
2019-11-23 10:18:56 +00:00
mwas
0e825a5048
lint
2019-11-23 13:02:00 +03:00
mwas
9decb8674d
adding tests for describe secret with arn
2019-11-23 10:18:06 +03:00
mwas
b31f31d214
fixing fetch secret manager via arn
2019-11-23 09:29:30 +03:00
Niklas Janlert
b51d5ad65f
Support x-amz-tagging-directive in s3 copy_object
2019-11-23 00:38:26 +01:00
Chagui-
be605d603f
Merge branch 'master' of https://github.com/spulec/moto
2019-11-22 16:34:33 -03:00
Anton Grübel
57c97e367e
Merge branch 'master' into add-organizations-tags
2019-11-22 16:35:20 +01:00
Steve Pulec
a9fe5d462c
More linting.
2019-11-22 09:39:07 -05:00
Bert Blommers
d759f16331
Specify region name when creating Lambda roles
2019-11-22 08:12:47 +00:00
Bert Blommers
aa56715d83
Linting
2019-11-22 06:31:13 +00:00
Bert Blommers
5f6e8fd6fe
Merge branch 'master' into feature/2546
2019-11-22 06:22:54 +00:00
Steve Pulec
72da9e96c2
Lint.
2019-11-21 17:53:58 -05:00
Steve Pulec
40f241adc2
Fix dynamodb required stream parameter for new boto3.
2019-11-21 17:00:18 -05:00
gruebel
ef7fce5a4f
Fixed failing tests, due to a new required parameter StreamEnabled
2019-11-21 22:35:20 +01:00
gruebel
158db1f5d6
Move exception to dedicated class
2019-11-21 22:03:25 +01:00
Chagui-
e6a12f5bd7
-Applied Black
2019-11-21 17:57:45 -03:00
Chagui-
f5ba01c867
-Fixed forever
...
-Added test_describe_thing_group_metadata_hierarchy to test new functionality
2019-11-21 17:16:34 -03:00
Mike Grima
2af4e7a63a
Merge pull request #2578 from mikegrima/fixunmock
...
Fix for moto not unmocking
2019-11-20 10:06:51 -08:00
Bert Blommers
1d85288244
Ensure Flask sends through custom error messages
2019-11-20 08:57:38 +00:00
Bert Blommers
0ea98f22ee
Merge branch 'master' into feature/2546
2019-11-19 08:00:59 +00:00
Mike Grima
bd777cad44
Fix for moto not unmocking.
...
- Fixes #2575
- Also upgraded Travis CI to make use of Bionic instead of Xenial
- This may also address concerns raised in #1793
2019-11-18 15:28:31 -08:00
Matt Conway
d9c8bdb2a0
Add the ssh_public_key methods that were missing from the IAM implementation
2019-11-18 09:02:32 -05:00
Mike Grima
27f36a7514
Fixed the Lambda invocation due to lambci changes.
...
It looks like lambci is pre-pending the "lambda" responses with an
escape character `\033`. This was breaking the unit tests.
2019-11-17 18:40:15 -08:00
Mike Grima
dab7f9fdad
Merge pull request #2574 from gruebel/add-iam-get-account-summary
...
Add iam.get_account_summary
2019-11-17 15:53:34 -08:00
gruebel
d0ef72725c
Add organizations.untag_resource
2019-11-17 15:28:38 +01:00
gruebel
c10afa3ab5
Add organizations.list_tags_for_resource
2019-11-17 15:10:38 +01:00
gruebel
febec75364
Add organizations.tag_resource
2019-11-17 14:52:57 +01:00
gruebel
e9c3cba4d6
Fix tests
2019-11-17 14:34:00 +01:00
gruebel
d05ebadce8
Add iam.get_account_summary
2019-11-17 13:47:19 +01:00
Bert Blommers
c6dd3c96ea
AWSLambda - refactor exception handling
2019-11-17 10:59:20 +00:00
Mike Grima
e70ad8fd12
Merge pull request #2569 from gruebel/fix-sns-publish-number-type
...
Fix sns.publish with number type and 0 value
2019-11-16 10:24:09 -08:00
Mike Grima
9a30b8e8d5
Merge pull request #2552 from bblommers/IAM-role-name-validation
...
IAM - Validate duplicate role names
2019-11-16 10:22:51 -08:00
Mike Grima
028aafd05b
Merge pull request #2555 from catherinetcai/feature/ec2-vpc-classic-link
...
Adds basic implementations for vpc-classic-link and vpc-classic-link-dns-support - Redo
2019-11-16 10:21:29 -08:00
Bert Blommers
e025ccfd06
Ensure IAM Policy names are unique in tests
2019-11-16 17:36:50 +00:00
Bert Blommers
85570f0abe
IAM - Add Validation on duplicate policy names
2019-11-16 17:36:50 +00:00
Bert Blommers
422bca8e90
IAM - Add Validation on duplicate role names
2019-11-16 17:33:59 +00:00
gruebel
3d5d477f7f
Fix sns.publish with number type and 0 value
2019-11-16 14:46:05 +01:00
Steve Pulec
dddb9dd4d2
Merge pull request #2536 from edekadigital/add-events-event-bus
...
Add events event bus
2019-11-15 16:38:51 -06:00
Mike Grima
8cc55003f7
Merge pull request #2550 from bblommers/fix_available_ip_addresses_subnets
...
Fix available ip addresses subnets
2019-11-15 12:52:26 -08:00
Mike Grima
60a5a06d23
Merge pull request #2564 from bblommers/bugfix/2562
...
#2562 - DynamoDB - allow updates to be of a different type
2019-11-15 11:08:35 -08:00
Mike Grima
3afb93d9db
Merge pull request #2548 from bblommers/feature/implement-iam-delete-group-endpoint
...
Feature/implement iam delete group endpoint
2019-11-15 10:52:21 -08:00
Mike Grima
4a282578c0
Merge pull request #2543 from stephenmuss/orgs-describe-create-account-status
...
Added describe_create_account_status to organizations
2019-11-15 10:41:37 -08:00
Mike Grima
7ca35514ca
Merge pull request #2542 from ianyon/create_policy_already_exist
...
Added Exception for create_policy when policy exists
2019-11-15 10:38:35 -08:00
Mike Grima
b0b962f120
Merge pull request #2541 from baolsen/datasync-improvements
...
Datasync improvements #2526
2019-11-15 10:37:52 -08:00
Mike Grima
dea4599581
Merge pull request #2554 from aacampbell/match_removal_of_smart_quote
...
Match AWS's change from smart-quote to ASCII quote
2019-11-15 10:33:05 -08:00
Bert Blommers
993819bd41
#2562 - DynamoDB - allow updates to be of a different type
2019-11-15 15:54:21 +00:00
Steven Reiling
cd0769af7e
Fix IAM instance profile tracking to reflect AWS's requirement for account-unique names
2019-11-14 17:23:44 -08:00
Cat Cai
528cf0e21d
Run black to fix linting
2019-11-12 14:51:31 -08:00
Cat Cai
9169b87748
Tests pass
2019-11-12 11:16:34 -08:00
Cat Cai
9cb105f5c2
Ensure test is sorted
2019-11-12 10:32:27 -08:00
Alexander Campbell
7e468287a0
Match AWS's change from smart-quote to ASCII quote
2019-11-12 10:05:11 +11:00
Cat Cai
3398244f14
Fix styling problems
2019-11-11 12:09:52 -08:00
Wessel van der Veen
6d52cd06cb
Adds support for enable/disable/describe vpc-classic-link-dns-support.
2019-11-11 10:55:09 -08:00
Wessel van der Veen
17cc46b91e
adds basic support for vpc-classic-link
2019-11-11 10:54:36 -08:00
Bert Blommers
179bdd6caa
#2002 - Take ElasticNetworkInterfaces into account when requesting available IP addresses
2019-11-08 16:40:17 +00:00
Bert Blommers
cd5b64b0c5
#2163 - Delete IAM group; Add test case and align error message with AWS
2019-11-08 01:19:45 -08:00
Robin Taylor
876ff476f1
Implementing delete-group endpoint and appropriate test case
2019-11-08 01:12:20 -08:00
Bert Blommers
ad23b65784
Implement CloudFormations IAMRole::GetArn
2019-11-07 11:35:07 -08:00
Bert Blommers
40aa73a12b
#2546 - AWS Lambda: Add Role validation when creating functions
2019-11-07 17:11:13 +00:00
gruebel
8075456230
Fix test for python 2.7
2019-11-06 19:15:47 +01:00
Bjorn Olsen
5cfbe2bb3d
DataSync: Task metadata and update_task
...
Travis: Moved lint check before build
Datasync: Added delete_task and delete_location
2019-11-06 19:26:59 +02:00
Stephen Muss
a6255f9801
Added describe_create_account_status to organizations
2019-11-06 20:43:21 +11:00
Ian Yon
f235fa145e
Added Exception for create_policy when policy exists
2019-11-05 15:57:38 -03:00
Steve Pulec
b19abbc63e
Merge pull request #2538 from edekadigital/fix-sns-subscribe-sms-validation
...
Fix sns.subscribe validation for sms numbers
2019-11-04 23:02:37 -06:00
Steve Pulec
1f9208e19c
Merge pull request #2534 from william-richard/add-ssm-get-parameter-history-support
...
Add ssm `get_parameter_history` support
2019-11-04 22:54:57 -06:00
Steve Pulec
4a4ca2cc4a
Merge pull request #2533 from ianyon/lambda-get-by-arn
...
Feature - Lambda get by arn and update/get function environment
2019-11-04 22:53:20 -06:00
Steve Pulec
3dbce228ec
Merge pull request #2532 from baolsen/datasync
...
Added mocks for AWS DataSync #2526
2019-11-04 22:51:23 -06:00
Steve Pulec
740dedc664
Merge pull request #2531 from bblommers/feature/2521
...
API Gateway - Implement Stage deletion
2019-11-04 22:47:50 -06:00
Steve Pulec
f679963ffa
Merge pull request #2528 from bblommers/feature/2527
...
DynamoDB - Allow nested attributes in ProjectionExpressions
2019-11-04 22:45:12 -06:00
gruebel
58daa428f3
Fix sns.subscribe validation for sms numbers
2019-11-04 22:57:53 +01:00
William Richard
715ff0f7af
Return a sensible error when the parameter is not found
2019-11-04 15:31:15 -05:00
gruebel
1d615e25b6
Add events.delete_event_bus
2019-11-04 21:31:04 +01:00
William Richard
3816eba58f
Fix linting
2019-11-04 13:04:10 -05:00
William Richard
aeb7974549
Add get_parameter_history implementation and tests
2019-11-04 12:49:09 -05:00
Bjorn Olsen
97c20dd11d
Added AWS DataSync mocks and tests
2019-11-04 17:41:46 +02:00
Ian Yon
9e2b47e82b
Applied black formatter
2019-11-04 12:22:03 -03:00
Ian Yon
577419798d
Merge from master to current branch
2019-11-04 12:14:43 -03:00
Ian Yon
90a9235f4c
Allow lambda get function by arn and addded environment configuration
2019-11-04 10:44:01 -03:00
Bert Blommers
e4b586022d
API Gateway - Linting
2019-11-04 02:02:07 -08:00
Bert Blommers
f0e2d44c5d
Make API Gateway tests Python2/3 compatible
2019-11-04 09:41:47 +00:00
Bert Blommers
2d32ee18a6
#2521 - Implement API Gateway Stage deletion
2019-11-04 09:12:24 +00:00
gruebel
831577350d
Add events.list_event_buses
2019-11-03 20:42:31 +01:00
gruebel
f1dbdc9184
Refactor events.describe_event_bus, put_permission & remove_permission
2019-11-03 19:55:58 +01:00
Bert Blommers
eaa23800bd
Linting
2019-11-03 07:33:27 -08:00
Bert Blommers
5876dc0186
Fix test - List order does not matter for projectionexpression
2019-11-03 07:14:19 -08:00
Bert Blommers
6a601d7d5c
#2527 - DynamoDB - Allow nested attributes in ProjectionExpressions
2019-11-03 14:09:27 +00:00
Bjorn Olsen
c02c0e4033
added several basic tests
2019-11-01 21:16:59 +02:00
Bjorn Olsen
9c00f572d6
First working tests!
2019-11-01 19:24:21 +02:00
gruebel
93e4d4aa9a
Add events.create_event_bus
2019-11-01 09:52:06 +01:00
gruebel
78e2714496
black format
2019-11-01 07:14:03 +01:00
gruebel
89c43820c9
Add iam.delete_account_password_policy
2019-11-01 07:07:33 +01:00
gruebel
65fa8f1a1b
Add iam.get_account_password_policy
2019-11-01 07:07:32 +01:00
gruebel
06581391bd
Add iam.update_account_password_policy
2019-11-01 07:03:27 +01:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Steve Pulec
54c8a7dea1
Merge pull request #2519 from yan12125/python38
...
Python 3.8 support
2019-10-30 22:52:40 -05:00
Mike Grima
8f3116220c
Merge pull request #2520 from edekadigital/refactor-sqs
...
Refactor sqs
2019-10-30 09:54:41 -07:00
Mike Grima
c613a43cb3
Merge pull request #2522 from mikegrima/configs3tagging
...
Small fix for S3-AWS Config compatibility
2019-10-29 15:40:51 -07:00
Mike Grima
503bc333ca
Small fix for S3-AWS Config compatibility
...
- Small bug in tags with AWS Config
- Aggregated results lack "tags" in the result set
- Buckets also add a supplementary configuration of
"BucketTaggingConfiguration"
2019-10-29 14:35:13 -07:00
gruebel
c5059ad3d1
Fix test server error
2019-10-28 17:21:01 +01:00
Chih-Hsuan Yen
18173a5951
Replace # flake8: noqa
with # noqa
...
The former syntax is actually a mis-use and rejected since Flake8 3.6
[1].
[1] https://gitlab.com/pycqa/flake8/merge_requests/219
2019-10-27 20:41:22 +08:00
gruebel
51117c948a
Add error handling to sqs.delete_message
2019-10-27 12:46:59 +01:00
gruebel
c3cb411c07
Refactor sqs.get_queue_attributes & add AttributeNames handling
2019-10-27 12:13:33 +01:00
gruebel
6573f69087
Refactor sqs.get_queue_url
2019-10-26 22:26:48 +02:00
gruebel
23978e644f
Refactor sqs.send_message_batch
2019-10-26 22:08:45 +02:00
gruebel
6b7294a018
Fix sns.add_permission & remove_permission
2019-10-25 17:57:50 +02:00
Mike Grima
6b67002a42
Merge pull request #2515 from Sytten/fix/delete_iot_principal_thing
...
Detach principal from thing when it is deleted
2019-10-24 12:23:09 -07:00
Emile Fugulin
2d5e2e9c2b
Detach principal from thing when it is deleted
2019-10-24 13:59:30 -04:00
Mike Grima
e9dc0c9a3a
Fixed bugs in AWS Config Querying
...
- Fixed some log bugs in the Config querying APIs
- Fixed an issue with S3 ACLs when described from Config (it's actually
a double-wrapped JSON)
2019-10-23 22:32:45 -07:00
Jack Danger
d99204369d
Flaky test fix: random bytes can look like base64
2019-10-23 16:33:09 -07:00
Jack Danger
902a35d5b9
Merge pull request #2493 from edekadigital/filter_logs_raises_if_filter_pattern
...
add NotImplementedError when filter_pattern is given to filter_log_events
2019-10-23 15:23:45 -07:00
Bert Blommers
997177e43e
#847 - Fix tests to be compatible with python3
2019-10-23 02:26:26 -07:00
Bert Blommers
730c4be1a3
#847 - DynamoDB - Implement list_append feature when updating
2019-10-23 09:12:03 +01:00
Jack Danger
b6fe526add
Merge pull request #2502 from bblommers/feature/lambda-delete-by-arn
...
Feature - Lambda Delete by arn
2019-10-22 16:02:33 -07:00
Jack Danger
a5d4a68922
Merge pull request #2501 from edekadigital/add-iam-virtual-mfa-device
...
Add iam virtual mfa device
2019-10-22 16:01:31 -07:00
Mike Grima
57dc6522f2
Merge pull request #2505 from mikegrima/configFix
...
Fixed a bug with S3 bucket policies for AWS Config
2019-10-22 15:53:18 -07:00
Mike Grima
9273db7e61
Fixed a bug with S3 bucket policies for AWS Config
2019-10-22 15:01:39 -07:00
Jack Danger
00045ae480
Merge branch 'master' into add-iam-virtual-mfa-device
2019-10-22 14:54:10 -07:00
Jack Danger
4d0099499f
Athena - implementing first two endpoints ( #2506 )
...
This implements create_work_group() and list_work_groups()
2019-10-22 14:37:29 -07:00
Jack Danger
a05c7da3bb
Implement support for lambda policies ( #2471 )
...
* Implement support for lambda policies
* Fixing two tests that weren't running
* Getting tests running under Python 2.7
2019-10-22 14:09:44 -07:00
Bert Blommers
64cf1fc2c9
Refactor DynamoDB update expressions ( #2497 )
...
* Refactor DynamoDB.update to use recursive method for nested updates
* Simplify DynamoDB.update_item logic
2019-10-22 12:40:41 -07:00
Mike Grima
a7fa132535
Merge pull request #2500 from bmwiedemann/ssl2049
...
Extend test cert validity to 2049
2019-10-22 11:39:35 -07:00
Mike Grima
fbc3301562
Merge pull request #2504 from csmurton/add-iam-delete-entity-constraints
...
Conflict detection for IAM delete_role and delete_user
2019-10-22 09:59:07 -07:00
Mike Grima
1cde5d37eb
Merge pull request #2483 from thincal/fix/list-objects-with-truncation
...
s3 list_object: return the NextMarker info if it's truncated
2019-10-22 09:57:15 -07:00
Chris Murton
f0b22fcd2f
Fix absent role deletion, Add more delete_user tests, add no conflict deletion testing
2019-10-22 15:28:59 +01:00
Chris Murton
ccdcb7ca60
Add conflict detection on IAM delete_role and delete_user
2019-10-22 14:27:49 +01:00
Bert Blommers
ce4bd5d64c
AWS Lambda - Allow function deletions by ARN
2019-10-22 09:31:37 +01:00
gruebel
802fb3baad
Connect user with virtual mfa device
2019-10-21 22:51:00 +02:00
gruebel
1d9382b5e5
Add iam.list_virtual_mfa_devices
2019-10-21 21:48:50 +02:00
Bernhard M. Wiedemann
951a5a6b00
Extend test cert validity to 2049
...
to make tests pass in 2027
Background:
As part of my work on reproducible builds for openSUSE, I check
that software still gives identical build results in the future.
The usual offset is +15 years, because that is how long I expect
some software will be used in some places.
This showed up failing tests in our package build.
See https://reproducible-builds.org/ for why this matters.
Note: I tested that i586 builds still pass tests on 2036-12-01
so are not affected by the year 2038 bug yet.
i586 builds in 2037 suffer from a y2038 bug (unrelated to this change):
botocore/utils.py parse_timestamp threw a
ValueError: Invalid timestamp "2174774434": Parser must be a string or character stream, not long
2019-10-21 17:12:16 +02:00
Selena
6590226db5
fix test for server_mode (skip test)
2019-10-21 09:32:07 +02:00
LS
b3ea4c2707
add unit test for s3 list_object with truncation
2019-10-21 15:10:26 +08:00
gruebel
c80135a6db
Add iam.delete_virtual_mfa_device
2019-10-20 23:03:20 +02:00
gruebel
9671730f16
Add iam.create_virtual_mfa_device
2019-10-20 22:39:57 +02:00
gruebel
3f3feb5bdb
Fix tests
2019-10-19 14:23:35 +02:00
gruebel
cd8027ce9d
Add iam.list_open_id_connect_providers
2019-10-18 21:15:48 +02:00
gruebel
f4af9a1d54
Add iam.delete_open_id_connect_provider
2019-10-18 21:15:48 +02:00
gruebel
c492c5c228
Add iam.get_open_id_connect_provider
2019-10-18 21:15:05 +02:00
gruebel
bd627b65f7
Add iam.create_open_id_connect_provider
2019-10-18 21:15:05 +02:00
Mike Grima
4dd347e1fe
Merge pull request #2487 from bblommers/feature/iam_delete_policy
...
Feature - [IAM] Delete Policy
2019-10-18 09:53:51 -07:00
Mike Grima
484da34022
Merge pull request #2491 from bblommers/bugfix/250
...
DynamoDB - Add validation for Query Key Expression
2019-10-18 09:52:23 -07:00
Mike Grima
c4665366a9
Merge pull request #2490 from cclauss/patch-1
...
Use ==/!= to compare str, bytes, and int literals
2019-10-18 09:51:28 -07:00
Mike Grima
382fe5bd68
Merge pull request #2481 from aacampbell/fix_getsecretmananger_error
...
Fix getsecretmananger error
2019-10-18 09:50:43 -07:00
Selena
37877c6fb2
add NotImplementedError when filter_pattern is given to filter_log_events
...
fix #2419
2019-10-18 13:46:27 +02:00
Bert Blommers
db206e994b
#250 - DynamoDB - Add check for valid query keyconditionexpression
2019-10-18 09:58:09 +01:00
Bert Blommers
deffefbfb8
PR changes
2019-10-18 09:18:12 +01:00
Christian Clauss
c3c75c12d9
Use ==/!= to compare str, bytes, and int literals
...
Python 3.8 will probably [raise SyntaxWarnings](https://docs.python.org/3/whatsnew/3.8.html#changes-in-python-behavior ) on the flake8 F632 issue raised below.
[flake8](http://flake8.pycqa.org ) testing of https://github.com/spulec/moto on Python 3.7.1
$ __flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics__
```
./tests/test_awslambda/test_lambda.py:1137:24: F632 use ==/!= to compare str, bytes, and int literals
assert len(messages) is 3
^
1 F632 use ==/!= to compare str, bytes, and int literals
1
```
2019-10-18 09:03:31 +02:00
Alexander Campbell
6120a60263
Use escape sequence to express non-ASCII character
2019-10-18 10:17:49 +11:00
gruebel
19a34ea57a
Add error handling for sqs.list_queue_tags
2019-10-17 22:38:16 +02:00
gruebel
dbfb319def
Add error handling for sqs.tag_queue
2019-10-17 22:36:37 +02:00
gruebel
65c5502a62
Add error handling for sqs.send_message_batch
2019-10-17 22:09:14 +02:00
Bert Blommers
856a06a778
IAM - Delete Policy implementation
2019-10-17 09:28:19 +01:00
Harrison Termotto
f788fd5c8c
Remove erroneous comment
2019-10-17 00:17:45 -04:00
Harrison Termotto
df2de373b2
Add tagging to versioned s3 objects.
2019-10-17 00:16:16 -04:00
Mike Grima
16a0e93259
Merge pull request #2484 from koshigoe/bugfix/check-none-in-s3-model-get_key
...
Avoid exception occur in `moto.s3.models.S3Backend.get_key`
2019-10-16 10:29:19 -07:00
koshigoe
98f33740e1
fix(s3): check whether key is None or not to avoid exception.
...
```
AttributeError: 'NoneType' object has no attribute 'multipart'
```
2019-10-16 18:13:59 +09:00
Alexander Campbell
8eba88d1af
Fix python2 unicode-in-exceptions issue for tests
2019-10-16 15:16:38 +11:00
Alexander Campbell
9a54cea4f1
Work around python2 unicode exception str() issues
2019-10-16 14:44:41 +11:00
Alexander Campbell
d74f9e47c8
Add coding hint for python2 compatibility
2019-10-16 12:44:30 +11:00
Alexander Campbell
9d6a1ca81d
Fix slightly incorrect message for some errors
2019-10-16 10:58:59 +11:00
Alexander Campbell
381e7b165f
Raise appropriate error when secret exists but has no value
2019-10-16 10:55:03 +11:00
Stephen Huff
7b1cf9eecd
fix(rds2): handle create_db_instance when AllocatedStorage is not specified
...
In all of the tests of `create_db_instance()`, the `AllocatedStorage`
parameter is provided. The [RDS API
reference](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html )
says this parameter is optional; however, when none is provided, moto
returns an obscure error message:
```
self = <botocore.parsers.QueryParser object at 0x113745890>, shape = <Shape(Integer)>, text = 'None'
@_text_content
def _handle_integer(self, shape, text):
> return int(text)
E ValueError: invalid literal for int() with base 10: 'None'
/usr/local/Cellar/pyenv/1.2.13_1/versions/3.7.4/envs/rds_encrypt/lib/python3.7/site-packages/botocore/parsers.py:466: ValueError
```
This PR adds default values that correspond to the current default API
behaviors.
2019-10-15 16:18:37 -04:00
Mike Grima
4da9ec1346
Merge pull request #2442 from titibike/sns_subscription_attributes
...
Issue #2441 Add informations in SNS subscriptions `attributes`
2019-10-15 10:05:20 -07:00
Ivan Dromigny
123209515c
Change test
2019-10-15 16:12:22 +02:00
Mike Grima
cc96a5e659
Merge pull request #2357 from brodie-g/master
...
Existing user now raises a UsernameExistsException
2019-10-14 09:33:56 -07:00
Ivan Dromigny
02fc1fbcef
Add a test
2019-10-14 18:03:01 +02:00
Bert Blommers
009a97db85
Merge branch 'master' into bugfix/1823
2019-10-14 10:02:22 +01:00
Bert Blommers
106692ed88
#1823 - Add support to delete items from a nested list
2019-10-14 09:59:52 +01:00
Mike Grima
35d2f938af
Merge pull request #2478 from mikegrima/configbatch
...
Added AWS Config query batching capabilities
2019-10-13 19:31:13 -07:00
Steve Pulec
2118fc415a
Merge pull request #2477 from edekadigital/add-sqs-tags
...
Add tags parameter to sqs.create_queue
2019-10-13 16:51:21 -05:00
Mike Grima
96f0666df9
Added AWS Config batching capabilities
...
- Support for aggregated and non-aggregated batching
- Currently only implemented for S3
2019-10-13 12:28:09 -07:00
gruebel
ce3f1eed66
fix test server error
2019-10-13 20:32:53 +02:00
Mike Grima
893f0d4f83
Merge pull request #2463 from gruebel/fix-dynamodb-get-item-ProjectionExpression
...
Add ProjectionExpression & ExpressionAttributeNames to DynamoDB get_it…
2019-10-13 10:47:25 -07:00
Mike Grima
e2a27d8206
Merge pull request #2476 from mikegrima/configquery
...
Added initial support for querying AWS Config for S3
2019-10-13 10:40:18 -07:00
Mike Grima
2a2c3e80f0
Adding support for querying the AWS Config resource for S3.
...
- Need to add support still for batch requests and batch aggregation requests in a future PR
2019-10-13 10:14:15 -07:00
gruebel
49045fe680
Add tags parameter to sqs.create_queue
2019-10-13 14:51:31 +02:00
Mike Grima
e7f1ab3290
Merge pull request #2475 from edekadigital/add-sns-tags
...
Add sns tags
2019-10-12 15:42:25 -07:00
Mike Grima
c46ee4cf8d
Merge pull request #2474 from jrstarke/2473
...
Added Exception to describe_container_instances to match aws api
2019-10-12 15:41:02 -07:00
Mike Grima
f14d5ca6cb
Merge pull request #2470 from JackDanger/jackdanger/kinesis-extended-s3-config
...
Supporting more modern Firehose features
2019-10-12 15:38:57 -07:00
Mike Grima
d0a6c4380b
Merge pull request #2469 from bblommers/bugfix/2384
...
DynamoDB - Fixes query sorting on numerical values
2019-10-12 15:37:56 -07:00
gruebel
26ef792690
Add sns.untag_resource
2019-10-12 21:10:51 +02:00
gruebel
726775678c
Add sns.tag_resource
2019-10-12 20:37:59 +02:00
Jamie Starke
017cbb52ca
Added Exception to for describe_container_instances to match aws api
2019-10-11 22:13:55 -07:00
gruebel
8d527743d5
Add sns.list_tags_for_resource
2019-10-11 17:58:48 +02:00
gruebel
97c4174f30
Extract projection_expression adjustment
2019-10-11 14:30:25 +02:00
Jack Danger
0723fcf6e7
Supporting more modern Firehose features
...
This implements ExtendedS3DestinationConfiguration, allowing
serialization to Parquet and ORC formats as part of a Firehose
destination.
2019-10-10 17:44:09 -07:00
Steve Pulec
31198c75b8
Merge pull request #2457 from bblommers/feature/dynamodb_streams_invoke_lambda
...
Feature: Add option for DynamoDB stream to kick off lambda
2019-10-10 17:05:43 -05:00
Steve Pulec
34d4379b9f
Merge branch 'master' into bugfix/2384
2019-10-10 17:02:59 -05:00
Steve Pulec
359d6c9099
Merge pull request #2464 from sethblack/lambda-update-function-code-and-configuration
...
added UpdateFunctionCode and UpdateFunctionConfiguration and associat…
2019-10-10 17:01:31 -05:00
Bert Blommers
cf899eecff
#2384 - Add test case
2019-10-10 09:33:11 +01:00
Seth Black
dff24cb032
bringing up test percentage
2019-10-09 16:20:53 -05:00
Seth Black
20dc8ae5c4
getting tests working in server mode
2019-10-09 15:15:10 -05:00
Bert Blommers
afb8f71e9f
#1822 - DynamoDB: Add List index operations
2019-10-09 17:30:42 +01:00
Bert Blommers
e759b565da
#1874 - Change tests to use resource/client when appropriate
2019-10-09 10:02:40 +01:00
Bert Blommers
1fb844972f
Merge branch 'master' into bugfix/1874
2019-10-09 08:33:53 +01:00
Seth Black
41af98c98b
added UpdateFunctionCode and UpdateFunctionConfiguration and associated test cases
2019-10-08 15:59:03 -05:00
gruebel
cb43796daf
Add ProjectionExpression & ExpressionAttributeNames o DynamoDB get_item & batch_get_item
2019-10-08 22:30:14 +02:00
Bert Blommers
c9348bc45c
#1874 - Add tests for more complex items
2019-10-08 15:51:46 +01:00
John Newman
27237693c3
add tags to usage plan testing
2019-10-08 12:45:47 +01:00
Bert Blommers
91b13f998f
Feature: Add option for DynamoDB stream to kick off lambda
2019-10-07 11:11:22 +01:00
gruebel
c9d69681ec
Add evaluation of ConditionExpression to DynamoDB2 delete_item
2019-10-06 16:49:02 +02:00
Bert Blommers
dc89b47b40
#1874 - Count item size based on contents of actual dictionary
2019-10-06 14:08:58 +01:00
Mike Grima
e71c06738c
Merge pull request #2454 from mikegrima/s3lifecycle
...
Made fixes to the S3 Lifecycle mocks to be more consistent with the API
2019-10-05 12:56:33 -07:00
Mike Grima
7761542754
Merge pull request #2453 from gruebel/fix-ssm-ParameterStringFilter
...
Add ParameterFilters to SSM describe_parameters
2019-10-05 12:29:53 -07:00
Mike Grima
ab0853cddc
Made fixes to the S3 Lifecycle mocks to be more consistent with the API.
2019-10-05 12:29:09 -07:00
Bert Blommers
4dec187d80
#1834 - Check item size in DynamoDB
2019-10-05 15:20:43 +01:00
gruebel
2cfd3398f6
Add ParameterFilters to SSM describe_parameters
2019-10-05 14:05:47 +02:00
Bert Blommers
d86dcb2ee9
Merge pull request #4 from ZoidBB/master
...
Initial work by ZoidBB
2019-10-05 10:18:17 +01:00
Steve Pulec
7de11b672b
Merge pull request #2449 from nadlerjessie/events-and-ecs-multi-region
...
Events and ecs multi region
2019-10-03 16:20:30 -05:00
Steve Pulec
59543c404a
Merge pull request #2450 from jimjshields/add-ecs-service-tag-resource
...
Add support for tagging and untagging ECS services
2019-10-03 16:04:14 -05:00
Mike Grima
d925335f05
Merge pull request #2443 from mikegrima/configquery
...
Adding support for querying AWS Config
2019-10-03 13:38:43 -07:00
Jim Shields
6cb1173719
Add tag_resource and untag_resource for ECS services
...
* Refactor resource ARN parsing
2019-10-03 15:16:07 -04:00
Jessie Nadler
277cec0928
Add multi region support for Events
2019-10-03 15:15:11 -04:00
Jessie Nadler
4fe66f521d
Use region to create and describe ECS resources
2019-10-03 15:12:05 -04:00
Mike Grima
60183b29c1
Merge pull request #2447 from bblommers/bugfix/2445
...
#2445 - DynamoDB - Add validation for AttributeDefinitions
2019-10-03 11:52:29 -07:00
Mike Grima
af48133ba5
Merge pull request #2448 from jthorniley/features/stepfunctions-fix-arn
...
Stepfunctions minor improvements
2019-10-03 11:50:37 -07:00
Mike Grima
567a6da31d
Merge pull request #2439 from Kerl1310/feature/send_templated_email
...
#2437 Implementing send_templated_email
2019-10-03 11:49:45 -07:00
Mike Grima
b9c1d5a91f
Merge pull request #2436 from yan12125/s3-copy-key-with-question-mark
...
Fix copying S3 objects with question marks in keys
2019-10-03 11:48:08 -07:00
Mike Grima
1cae78ad2f
Merge pull request #2435 from waynemetcalfe/issue-2432
...
Issue 2432
2019-10-03 11:47:13 -07:00
Mike Grima
c4b310d7a5
Adding support for querying AWS Config for supported configurations.
...
At this time, only adding support for S3.
2019-10-03 11:43:56 -07:00
Jim Shields
d8333fdd7e
Add support for tagging of ECS services
...
* Add tags to create_service
* Add service to list_tags_for_resource
2019-10-03 14:30:08 -04:00
James Thorniley
31310760ea
stepfunctions: start_execution accepts name arg
2019-10-03 14:47:24 +01:00
James Thorniley
33398d628f
fix: iam role arn should have two colons
2019-10-03 14:00:33 +01:00
Bert Blommers
c783b8721f
#2445 - DynamoDB - Fix tests after adding AttributeDefinitions-validation
2019-10-03 11:57:14 +01:00
Bert Blommers
6005b19ac2
#2445 - DynamoDB - Add validation for AttributeDefinitions
2019-10-03 10:54:10 +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
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
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
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
mattsb42-aws
4c7cdec965
fix encoding for Python 2 in KMS tests
2019-09-13 14:08:26 -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
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
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
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
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
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
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
Niels Laukens
7f387b0bb9
Add elasticbeanstalk Tags handling
2019-09-04 16:56:06 +02:00
Bert Blommers
78254cc4f2
Step Functions - Execution methods
2019-09-04 15:42:42 +01:00
Niels Laukens
6f23a39fc2
Add minimal mocking of elasticbeanstalk:create_environment, describe_environments and list_available_solution_stacks
2019-09-04 15:33:15 +02:00
Niels Laukens
336f50349a
Add sub-minimal mocking of elasticbeanstalk:create_application()
2019-09-03 17:16:12 +02:00
Niels Laukens
c95d472bf5
Add (failing) test for ElasticBeanstalk
2019-09-03 14:58:07 +02:00
Bert Blommers
af4082f38e
Step Functions - State Machines methods
2019-09-02 16:26:40 +01: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
acsbendi
675db17ace
Implemented deregistering terminated instances from ELB target groups.
2019-08-30 18:21:11 +02:00
Stephan Huber
5a9c921d97
Merge remote-tracking branch 'upstream/master'
2019-08-30 14:39:29 +02:00
Stephan Huber
b94147a1d5
Merge remote-tracking branch 'upstream/master'
2019-08-30 14:18:01 +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
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
a068a56972
Merge branch 'master' into support-iterator-type-at-after-sequence
2019-08-27 16:06:11 -05:00
mattsb42-aws
d5ac5453b3
streamline KMS tests
2019-08-27 13:57:50 -07:00
mattsb42-aws
98581b9196
add proper KMS encrypt, decrypt, and generate_data_key functionality and tests
2019-08-27 13:42:36 -07:00
mattsb42-aws
3fe8afaa60
add tests for generate_data_key and generate_master_key
2019-08-26 23:29:30 -07:00
mattsb42-aws
7eeead8a37
add encrypt/decrypt utility functions with appropriate exceptions and tests
2019-08-26 23:24:31 -07:00
Tomoya Iwata
778fc47c21
fix #2392 Add validation for shadow version,when update_thing_shadow() has called
2019-08-26 17:47:08 +09:00
gruebel
d8a922811c
Add exact Number, exact String.Array and attribute key matching to SNS subscription filter policy and validate filter policy
2019-08-25 21:08:02 +02:00
Giulio
59852eb13a
Add tag support to API Gateway keys
2019-08-24 11:19:50 +01:00
Bert Blommers
e8d60435fe
#2366 - SecretsManager - put_secret_value should support binary values
2019-08-23 10:57:15 +01:00
Mike Grima
3a5d857a60
Merge pull request #2376 from rwestergren/event_source_mappings
...
And event source mapping endpoints and SQS trigger support
2019-08-22 16:54:46 -07:00
Mike Grima
7fa46e9659
Merge pull request #2381 from bblommers/bugfix/2380
...
2380 - Validate parameter-list for duplicates in dynamodb.batch_get_item
2019-08-22 16:40:16 -07:00
Mike Grima
5fd2c30f97
Merge pull request #2377 from acsbendi/get-caller-identity
...
GetCallerIdentity returns real data based on the access key used
2019-08-22 09:50:59 -07:00
acsbendi
cf2dae0ce8
Calling sts:GetCallerIdentity is always allowed.
2019-08-22 18:09:52 +02:00
Bert Blommers
956592d615
2380 - Validate parameter-list for duplicates in dynamodb.batch_get_item
2019-08-22 16:12:48 +01:00
acsbendi
addb631081
Skip checking the expiration of AssumedRole in server mode.
2019-08-22 11:06:42 +02:00
Mike Grima
38866bfcef
Fixed some IAM APIs for tagging and role descriptions
2019-08-21 13:08:33 -07:00
Mike Grima
1de371ca76
Merge pull request #2374 from asherf/acm
...
[ACM] Use the specified region name when generating ARN for a requested cert.
2019-08-21 12:56:59 -07:00
Mike Grima
aea9d84b01
Merge pull request #2373 from asherf/filter-acm
...
[ACM] Filter certs by statuses.
2019-08-21 12:55:26 -07:00
Mike Grima
d5e7334e5b
Merge pull request #2369 from dkuntz2/implement-launch-templates
...
Add basic endpoints for EC2 Launch Templates
2019-08-21 12:54:42 -07:00
acsbendi
3012740699
Fixed AssumedRole ARN.
2019-08-21 19:47:12 +02:00
acsbendi
6bdbd0dbc8
Fixed a broken test case and parameterized account ID in STS tests.
2019-08-21 13:17:58 +02:00
Bendegúz Ács
24dcdb7453
Merge branch 'master' into get-caller-identity
2019-08-21 12:36:40 +02:00
acsbendi
d931204266
Implemented get-caller-identity returning real data depending on the access key used.
2019-08-21 12:20:35 +02:00
acsbendi
d9cb1f2d35
Implemented returning random assumed role ID.
2019-08-21 10:45:36 +02:00
Randy Westergren
ccceb70397
And event source mapping endpoints and SQS trigger support
2019-08-20 21:54:57 -04:00
Asher Foa
d669145b71
Filter certs by statuses.
2019-08-19 18:01:21 -07:00
Asher Foa
66a7ace2c5
Use the specified region name when generating ARN for a requested cert.
2019-08-19 17:30:30 -07:00
Don Kuntz
d2ce3a9e04
Flake8 fixes
2019-08-19 18:01:44 -05:00
Don Kuntz
4929298f1f
Test create_launch_template_version using launch_template id
2019-08-19 17:59:15 -05:00
Don Kuntz
a1aa087718
Add test for creating launch templates with TagSpecifications option
2019-08-19 17:58:19 -05:00
Don Kuntz
743e5be4d3
Confirm describe_launch_template_versions works with Versions, MinVersion, and MaxVersion options
2019-08-19 17:57:39 -05:00
Mike Grima
188969a048
AWS Config Aggregator support
...
- Added support for the following APIs:
- put_configuration_aggregator
- describe_configuration_aggregators
- delete_configuration_aggregator
- put_aggregation_authorization
- describe_aggregation_authorizations
- delete_aggregation_authorization
2019-08-19 15:50:19 -07:00
Don Kuntz
1de63b1691
Specify region in launch template tests
2019-08-14 16:32:01 -05:00
Don Kuntz
aa3b6085d1
Add basic endpoints for EC2 Launch Templates
...
Specifically, add the CreateLaunchTemplate, CreateLaunchTemplateVersion,
DescribeLaunchTemplates, and DescribeLaunchTemplateVersions endpoints.
2019-08-14 16:11:07 -05:00
Earl Robinson
bbaff4b273
restore KeyId to test_decrypt in test_kms
2019-08-14 08:39:54 -04:00
Steve Pulec
9a3a99243f
Merge pull request #2365 from spulec/elb-cognito
...
Add cognito support to Elb
2019-08-12 16:10:26 -05:00
Steve Pulec
7b3846f6a1
Refactor Actions to be a real class. Add elb cognito.
2019-08-09 23:34:52 -05:00
Mike Grima
2358433f74
Merge pull request #2359 from bkovacki/batch_submit_job_with_job_definition_name
...
Add option to call batch submit_job with job definition name only
2019-08-07 15:13:52 -07:00
Mike Grima
fa07d4973b
Merge pull request #2360 from ashleygould/issue_2355
...
[Resolves #2355 ] - create_organization(): add master account, default…
2019-08-07 15:11:48 -07:00
Berislav Kovacki
5063ffc837
Implement pagination support for GetLogEvents
...
* Add nextForwardToken and nextBackwardToken to GetLogEvents response
* Handle end of stream by returning the same token as passed in
2019-08-07 17:37:53 +02:00
Ashley Gould
7d453fec9a
[ Resolves #2355 ] - create_organization(): add master account, default policy
...
Model: OrganizationsBackend
Method: create_organization
create_organization now creates master account, root ou, and a
default service control policy objects and adds them to the
OrganizationsBackend object. the policy is attached to both
the master account and the root ou. any subsiquently created
accounts or OU also have the default policy attached.
2019-08-06 16:52:31 -07:00
Berislav Kovacki
a35a55ec26
Add option to call batch submit_job with job definition name only
...
* Add option to call batch submit_job with job definition name only
* Fix bug which causes register_job_definition not to increment job
revision number after a second revision
2019-08-06 22:13:52 +02:00
brodie.gallinger
ec99a6b827
Existing user now raises a UsernameExistsException
...
If a user is attempted to be added to a pool that already contains a user with that username, the UsernameExistsException is thrown, to match AWS behaviour.
2019-08-06 13:51:00 -03:00
Steve Pulec
40271d2c4e
Merge pull request #2352 from wndhydrnt/bugfix/ecs-time-as-timestamp
...
Convert fields createdAt and updatedAt of ECS deployment to timestamp
2019-08-05 21:33:47 -05:00
Berislav Kovacki
b7884ef903
Add S3 support for INTELLIGENT_TIERING, GLACIER and DEEP_ARCHIVE storage
...
* Add INTELLIGENT_TIERING, GLACIER and DEEP_ARCHIVE as valid storage
classes for objects
* Add ObjectNotInActiveTierError error on PUT object copy for GLACIER
and DEEP_ARCHIVE storage class objects
2019-08-05 17:34:39 +02:00
wndhydrnt
3c19f0a02d
Convert fields createdAt and updatedAt of deployment to timestamp
2019-08-04 10:23:50 +02:00
Steve Pulec
9b535a7c75
Merge pull request #2345 from iisulop/fix_timezone_problem_in_test_create_cluster_boto3
...
Fix timezone problem in test create cluster boto3
2019-08-03 22:38:14 -05:00
Steve Pulec
0d28d51f90
Merge pull request #2350 from chichi1091/apigateway_apikey_update
...
implements APIGateway update_api_key
2019-08-03 22:35:13 -05:00
Chiharu Terashima
7fa5ce3dc3
implements APIGateway update_api_key
2019-08-03 01:28:47 +09:00
Daniel Guerrero
9cce674857
Merge branch 'master' into support-iterator-type-at-after-sequence
2019-07-30 09:36:19 -05:00
Iiro Sulopuisto
8cca33dc42
Test redshift cluster creation time more thoroughly
2019-07-30 14:14:14 +03:00
Steve Pulec
37978d79b3
Merge pull request #2338 from labd/add-ecs-list_tags_for_resource
...
Add ecs list tags for resource
2019-07-29 22:17:23 -05:00
Daniel Guerrero
bfc401c520
Fixing comments conventions
2019-07-29 21:21:02 -05:00
Daniel Guerrero
7091be8eae
Adding support for AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER
...
Adding support on DynamoDB Streams for AT_SEQUENCE_NUMBER
and AFTER_SEQUENCE_NUMBER ShardIteratorType
Change SequenceNumber type to string instead of int to match documentation
2019-07-29 21:13:58 -05:00
Michael van Tellingen
64e2a74e8c
Add support for setting tags on ecs task definitions
...
This also implements the ecs.list_tags_for_resources, although the
resources it checks for are currently only the task definitions
2019-07-29 09:58:08 +02:00
Steve Pulec
69d86cbd54
Merge pull request #2300 from acsbendi/master
...
Basic IAM authentication, authorization
2019-07-28 17:22:52 -05:00
acsbendi
62b25f9914
Added a few more tests to achieve better coverage.
2019-07-28 22:19:50 +02:00
acsbendi
cc843bb8c5
Created tests for IAM auth.
2019-07-26 20:40:15 +02:00
Jack Danger
348dc54e6a
Supporting tags in KMS ( #2332 )
...
The CreateKey API method accepts tags but does not return them.
2019-07-24 19:15:43 -07:00
Steve Pulec
5dbdff7ca7
Merge pull request #2330 from spulec/host-parsing
...
Host parsing
2019-07-23 22:51:45 -05:00
Steve Pulec
40cd8fa11c
Merge pull request #2334 from dkuntz2/unify-ec2-owner-ids
...
Use the same default Owner ID between EC2 models
2019-07-23 22:44:11 -05:00
Steve Pulec
5abe56fd2b
Merge pull request #2250 from szczeles/s3_delete_objects_boto3
...
Raising MalformedXML exception when using boto3 client and s3.delete_objects()
2019-07-23 22:41:45 -05:00
Mariusz Strzelecki
51d96ae8f3
Test split into boto and boto3 part
2019-07-23 20:53:45 +02:00
Don Kuntz
abf3db8d8a
Add a test to ensure that ec2.copy_image sets the proper owner id
...
This test is useful because before the last commit using copy_image
would not set the owner_id to the same one used when calling
describe_images.
For example, this code
conn = boto3.client("ec2")
copy_resp = conn.copy_image(
SourceImageId="ami-whatever",
...
)
describe_resp = conn.describe_images(
Owners=["self"]
)
Would result in describe_resp being empty, when it should contain the
image from the copy_resp before it.
By ensuring the owner ids are the same (see ce4059f6
) the code example
now works as expected.
2019-07-22 21:57:15 -05:00
Don Kuntz
ce4059f6d9
Use a consistent owner id between EC2 resources
...
Previously there were a couple models which used different owner ids by
default, which could make tests relying on them fail if someone wasn't
expecting that. This change ensures a uniform owner id between
resources.
2019-07-22 21:50:09 -05:00
Steve Pulec
4dd2b66b04
Refactor backend parsing.
2019-07-21 22:07:58 -05:00
PND
a2aefc49b4
Fixed update_item
of DynamoDB to deal with the list type.
2019-07-22 01:42:20 +09:00
Steve Pulec
63d5af90b4
Merge pull request #2327 from efiop/master
...
tests: multipart: use REDUCED_PART_SIZE and variable part size
2019-07-20 11:04:11 -04:00
Ruslan Kuprieiev
615d427c6d
tests: multipart: use REDUCED_PART_SIZE and variable part size
...
There is no reason to use 5M chunks, especially with the reduced_part_size
decorator. Also made part_size to be variable to add extra layer of
testing to make sure that moto is handling that scenario correctly.
Signed-off-by: Ruslan Kuprieiev <ruslan@iterative.ai>
2019-07-20 16:26:24 +03:00
Grégory Bataille
67c8ea0352
fixes #2075 - STS should raise on too long policy for federation token
2019-07-20 08:41:52 +02:00
Steve Pulec
5c34c06d07
Merge pull request #2311 from caguado/fix/2310
...
Implement get_open_id_token
2019-07-20 00:12:18 -04:00
Steve Pulec
7ec3d43e0c
Merge pull request #2319 from acsbendi/autoscaling-group-from-instance
...
Implemented creating Auto Scaling group from instance
2019-07-20 00:06:22 -04:00
Steve Pulec
f840a0f6a0
Merge pull request #2321 from sblumin/fix-change-rrsets
...
added support to UPSERT records that are not simple routing policy such as weighted records
2019-07-19 23:42:29 -04:00
Steve Pulec
0e7895ee46
Merge pull request #2320 from dkuntz2/glue-batch-get-partition
...
Add glue.batch_get_partition endpoint
2019-07-19 23:41:41 -04:00
Steve Pulec
e052219161
Merge pull request #2315 from bkovacki/asg_min_max_size_update_desired_capacity_change
...
Handle change of ASG desired capacity on min and max size update
2019-07-19 23:38:16 -04:00
Steve Pulec
2dabb629f7
Merge pull request #2324 from acsbendi/elbv2-stopped-instance-target
...
ELBv2 DescribeTargetHealth returns correct response for stopped instance
2019-07-19 23:35:58 -04:00
Steve Pulec
2a981d3d45
Merge pull request #2325 from acsbendi/autoscaling-terminate-instance-in-group
...
Auto Scaling groups recreate terminated instances
2019-07-19 23:34:42 -04:00
acsbendi
201d9fb491
Created test for terminating instance in an Auto Scaling group.
2019-07-18 20:30:07 +02:00
acsbendi
44e93c94e8
Created test for describing health of a stopped instance target.
2019-07-18 16:25:41 +02:00
sblumin
a2ac341e3d
added support to UPSERT records that are not simple routing policy
2019-07-17 16:37:47 -07:00
Don Kuntz
c8d8aa4dd0
Add glue.batch_get_partition endpoint
2019-07-17 14:11:34 -05:00
acsbendi
4ca0bd807f
Created tests for calling CreateAutoScalingGroup with an instance id.
2019-07-17 20:15:59 +02:00
Berislav Kovacki
1b3157ced0
Handle change of ASG desired capacity on min and max size update
...
A change in UpdateAutoScalingGroup:
* if a value for MinSize is specified without specifying a value for
DesiredCapacity, and the new MinSize is larger than the current size of
the group, set the group's DesiredCapacity to the new MinSize value
* if a value for MaxSize is specified without specifying a value for
DesiredCapacity, and the new MaxSize is smaller than the current size of
the group, set the group's DesiredCapacity to the new MaxSize value
2019-07-16 09:12:03 +02:00
Steve Pulec
6bc07360a1
Merge pull request #2313 from caguado/fix/2312
...
Implement assume_role_with_web_identity
2019-07-15 23:08:23 -05:00
Steve Pulec
d1e057ecab
Merge pull request #2309 from caguado/fix/2308
...
Implement update_user_pool_domain
2019-07-15 22:46:26 -05:00
Carlos Aguado
e54f74776b
Implement assume_role_with_web_identity
...
The AssumeRoleWithWebIdentity is a similar endpoint to STS's AssumeRole
where the authentication element is a JWT id_token from a configured OP.
This commit implements the functionality and relies on the same result
generated for the regular AssumeRole.
2019-07-16 13:27:47 +10:00
Carlos Aguado
7c17fcd21d
Implement get_open_id_token
...
Introduce the CognitoIdentity's GetOpenIDToken endpoint to retrieve a
JWT tuple from Cognito's Identity Pool for a given IdentityId.
2019-07-16 13:20:31 +10:00
Steve Pulec
9acdc59aa4
Merge pull request #2291 from spulec/context-manager-return-mock
...
Have context manager return mock.
2019-07-15 22:09:19 -05:00
Carlos Aguado
81980850d4
Implement update_user_pool_domain
...
Introduce the CognitoIDP's UpdateUserPoolDomain to update configuration
options of the associated domain to a Cognito IDP (e.g. ACM certificate).
2019-07-16 13:09:13 +10:00
Steve Pulec
25ab3afc31
Merge pull request #2295 from garrettheel/condition-expr-or-evaluation
...
dynamodb2: Defer evaluation of the OR RHS in condition expr
2019-07-15 20:46:11 -05:00
Steve Pulec
ef4f7e1ecc
Merge pull request #2307 from efiop/master
...
moto: s3: support partNumber for head_object
2019-07-15 20:33:21 -05:00
Steve Pulec
67b3d07e5d
Merge pull request #2306 from bkovacki/extend-describe-network-interface-filter
...
Extend EC2 DescribeNetworkInterface filter support
2019-07-15 20:30:22 -05:00
Ruslan Kuprieiev
2c2dff22bc
moto: s3: support partNumber for head_object
...
To support it, we need to keep multipart info in the key itself when
completing multipart upload.
Fixes #2154
Signed-off-by: Ruslan Kuprieiev <ruslan@iterative.ai>
2019-07-15 20:47:29 +03:00
Berislav Kovacki
e67e2deee4
Extend EC2 DescribeNetworkInterface filter support
...
* add description property to EC2 NetworkInterface
* extend DescribeNetworkInterfaces filter support with description,
subnet-id, private-ip-address attributes
2019-07-15 00:01:37 +02:00
Berislav Kovacki
4ed189c454
Add support for VpcSecurityGroups set/update in RDS
2019-07-13 08:19:23 +02:00
Berislav Kovacki
4fd0b5c710
Add support for OptionGroupName in create_db_instance
2019-07-11 22:43:42 +02:00
Steve Pulec
2a0df1e1a8
Flip when we test passthru.
2019-07-11 10:09:01 -05:00
Garrett Heel
0093a7992f
dynamodb2: Defer evaluation of the OR RHS in condition expr
2019-07-11 08:29:07 -04:00
Mariusz Strzelecki
f32db6e64a
Raising MalformedXML exception when using boto3 client and s3.delete_objects()
2019-07-11 09:53:23 +02:00
Steve Pulec
11506e21d5
Only test passthrough exception in non-server mode.
2019-07-10 22:45:26 -05:00
Steve Pulec
c7147b06b1
Cleanup responses mocking. Closes #1567
...
This unblocks requests to other websites with requests while Moto
is activated. It also adds a wildcard for AWS services to still
ensure no accidental requests are made for unmocked services
2019-07-10 21:59:25 -05:00
Steve Pulec
c2e382f537
Dont test context manager in server mode.
2019-07-10 21:40:49 -05:00
Steve Pulec
b19c201975
Cleanup model ref resetting.
2019-07-10 21:16:11 -05:00
Steve Pulec
308712841c
Have context manager return mock.
2019-07-09 20:31:43 -05:00
Steve Pulec
6a13d54616
Merge pull request #2266 from garrettheel/feat/dynamodb-expressions
...
Improve DynamoDB condition expression support
2019-07-09 18:22:55 -05:00
Steve Pulec
d758952d84
Merge pull request #2287 from bkovacki/add-instance-create-time-to-db-instance
...
Add InstanceCreateTime to DBInstance
2019-07-08 19:43:07 -05:00
Berislav Kovacki
c51ce76ee9
Add InstanceCreateTime to DBInstance
2019-07-09 02:10:33 +02:00
Steve Pulec
7bb2b9dc8c
Merge pull request #2016 from adriangalera/ses->sns
...
Enable SES feedback via SNS
2019-07-08 19:00:58 -05:00
Steve Pulec
a9ec1c7ee7
Merge pull request #2082 from markchalloner/mark-alias-target
...
Fix route53 alias response.
2019-07-08 18:27:22 -05:00
Steve Pulec
841eaf3886
Merge pull request #2286 from acsbendi/assume-role-fix
...
AssumeRole returns randomly generated credentials.
2019-07-08 18:23:15 -05:00
Steve Pulec
8c61bce1a2
Merge pull request #2276 from aakhan-sep/master
...
Implement If-Modified-Since in GET Object for S3 Bucket
2019-07-08 18:22:44 -05:00
acsbendi
ab0d23a0ba
AssumeRole returns randomly generated credentials.
2019-07-08 16:32:25 +02:00
Steve Pulec
414ff930ed
Merge branch 'master' into mark-alias-target
2019-07-07 23:11:53 -05:00
Steve Pulec
ac33845367
Merge pull request #2070 from bkovacki/add-attributes-parameter-for-sns-create_topic-api
...
Add attributes parameter support for sns create_topic API
2019-07-07 23:04:40 -05:00
Steve Pulec
6efd5582d7
Merge pull request #2284 from wndhydrnt/fix-iam-get-role-policy-not-found
...
Raise exception if a role policy is not found
2019-07-07 21:23:44 -05:00
Steve Pulec
4e6eb25512
Merge pull request #2274 from corydolphin/failing-test
...
Adds failing test for socket.socketpair()
2019-07-07 21:18:46 -05:00
wndhydrnt
67326ace4f
Raise exception if a role policy is not found
2019-07-07 21:46:26 +02:00
Steve Pulec
574055da2c
Merge pull request #2245 from vrtdev/bugfix/r53-delete-type
...
Route53 Delete: respect the given Type
2019-07-06 17:29:19 -05:00
Steve Pulec
3bafc89b40
Merge pull request #2268 from acsbendi/policy-version-fixes
...
IAM policy version fixes
2019-07-06 15:52:10 -05:00
Steve Pulec
04f8446a93
Merge pull request #2280 from acsbendi/create-access-key-fix
...
Create access key fix
2019-07-06 15:40:12 -05:00
acsbendi
7de0ef0f8b
Fixed value is present in response even if it's None.
2019-07-05 15:24:16 +02:00
acsbendi
0b88dd1efb
Fixed security group IDs not returned correctly.
2019-07-05 15:12:38 +02:00
acsbendi
7215b00466
Created test case for describe_instance_attribute.
2019-07-05 13:43:47 +02:00
acsbendi
48f0c6f194
Fixed format of access key ID and secret access key.
2019-07-04 20:20:08 +02:00
acsbendi
0bd2c5adb4
Fixed minor errors in test.
2019-07-04 20:12:53 +02:00
acsbendi
ef97e0f28f
Extended create_access_key test.
2019-07-04 20:04:27 +02:00
Cory Dolphin
f11a5dcf6b
Fix socket.fakesock compatibility
2019-07-03 11:26:33 -07:00
Aden Khan
b2adbf1f48
Adding the functionality and test so that the If-Modified-Since header is honored in GET Object
...
Signed-off-by: Aden Khan <aakhan@sep.com>
2019-07-03 14:25:08 -04:00
acsbendi
6ac315b903
Fixed broken tests due to policy validation.
2019-07-02 12:24:19 +02:00
Steve Pulec
75d9707e8e
Merge pull request #2099 from ssoulier/master
...
fix bug in Stream init (wrong number of shards)
2019-07-01 22:27:33 -05:00
Steve Pulec
d46324e7fd
Merge pull request #2241 from vrtdev/bugfix/route53-list-start
...
route53.list_resource_record_sets() with StartRecordName= behaves different from real service
2019-07-01 21:58:16 -05:00
Steve Pulec
c8b94b6e9f
Merge pull request #2265 from IVIURRAY/bugfix/scan-projection
...
ProjectionExpression works with table.scan()
2019-07-01 21:21:53 -05:00
Steve Pulec
3920ff0c9a
Merge pull request #2236 from dkuntz2/glue-endpoints
...
Add glue.delete_partition and glue.batch_delete_partition
2019-07-01 21:16:36 -05:00
Steve Pulec
176799637c
Merge pull request #2247 from queue-tip/ecr-batch-delete-image-fix
...
Delete ECR image when it has no tags
2019-07-01 21:09:52 -05:00
Steve Pulec
172e089854
Merge branch 'master' into policy-version-fixes
2019-07-01 20:58:38 -05:00
acsbendi
1bda3f2213
Added tests for valid policy documents.
2019-07-01 18:21:54 +02:00
acsbendi
85efec29b1
Added more tests.
2019-07-01 17:30:59 +02:00
acsbendi
d2b0812edc
Added more tests.
2019-06-30 20:33:17 +02:00
acsbendi
e133344846
Implemented validating action prefixes.
2019-06-30 18:48:27 +02:00
acsbendi
55f9040296
Fixed old unit tests in test_iam that didn't use valid IAM policies.
2019-06-30 17:57:50 +02:00
acsbendi
99336cbe6a
Reorganized tests using a generator method and fixed error messages.
2019-06-30 17:04:02 +02:00
acsbendi
896f7b6eb2
Added more tests.
2019-06-30 16:36:49 +02:00
acsbendi
a4b850aab9
Added test cases for mutually exclusive elements.
2019-06-30 14:03:18 +02:00
acsbendi
f0e9ea4e72
Created tests for policy documents.
2019-06-30 13:47:17 +02:00
acsbendi
3cd373f1f9
Created failing tests.
2019-06-29 18:15:01 +02:00
IVIURRAY
4ce0e6bbcb
add extra test for ProjectionExpression using scan with ExpressionAttributes
2019-06-27 19:37:46 +01:00
IVIURRAY
949637a14c
remove debug
2019-06-27 19:12:53 +01:00
IVIURRAY
b60097fab2
improve test case
2019-06-27 19:08:32 +01:00
Garrett Heel
467f669c1e
add test for attr doesn't exist
2019-06-27 11:49:08 -04:00
Matthew Stevens
83082df4d9
Adding update_item and attribute_not_exists test
2019-06-26 23:22:07 +01:00
Matthew Stevens
8a90971ba1
Adding test cases for #1587
2019-06-26 23:20:55 +01:00
Matthew Stevens
6fd47f843f
Test case for #1819
2019-06-26 23:20:55 +01:00
Matthew Stevens
57b668c832
Using Ops for dynamodb condition expressions
2019-06-26 23:20:55 +01:00
Matthew Stevens
1a2fc66f84
Adding dynamodb2 expression parser and fixing test cases
2019-06-26 23:20:16 +01:00
IVIURRAY
e50ce7287d
ProjectionExpression works with table.scan()
2019-06-26 21:54:48 +01:00
Juan Martinez
9a26c92e72
Delete ECR image when it has no tags
...
This is a bug fix to my initial work when implementing
batch_delete_image. Deleting the last tag for a given image should
delete the image from the backend.
I also cleaned up the tests previously-added in the initial
implementation.
2019-06-17 13:41:35 -04:00
Niels Laukens
6e97881896
Route53 Delete: respect the given Type
2019-06-17 15:53:32 +02:00
Niels Laukens
9ef69a617a
Route53 get_record_sets: sort names lexicographically
2019-06-14 17:07:59 +02:00
Ber Zoidberg
6717cba286
test name fix
2019-06-12 08:12:15 -07:00
Ber Zoidberg
997556f7bb
improve test coverage
2019-06-12 08:06:37 -07:00
Ber Zoidberg
26ae13b715
Fix copypasta error in comment
2019-06-11 22:41:56 -07:00
Ber Zoidberg
96c2506fd4
Fix DynamoDB UpdateExpression support for REMOVE on nested maps
2019-06-11 22:38:15 -07:00
Don Kuntz
df2d2ac6b4
Add endpoints to glue for deleting partitions
...
Specifically add glue.delete_partition and glue.batch_delete_partition.
2019-06-11 14:32:50 -05:00
Don Kuntz
df493ea18d
Add glue.batch_delete_table, and fix glue.batch_create_partition to respond correctly ( #2233 )
...
* Fix glue.batch_create_partition to only respond with Errors if Errors occurred
* Add glue.batch_delete_table endpoint
* Remove unused variable
2019-06-10 20:14:30 +01:00
Bendegúz Ács
ab8a189bbf
Fixed policy version's Document type for AWS managed policies ( #2234 )
...
* Added checking Document's type in AWS managed policy version response.
* Fixed policy version's Document type for AWS managed policies.
2019-06-10 20:00:37 +01:00
Don Kuntz
3833449b36
Add batch_create_partition endpoint to Glue client ( #2232 )
...
* Add batch_create_partition endpoint to Glue client
* Remove exception as e from glue batch_create_partition, because it's unused
2019-06-07 09:28:10 +01:00
Bendegúz Ács
97ab7fd307
Fixes for get_policy and get_policy_version with AWS managed policies ( #2231 )
...
* Created test for get_policy with AWS managed policy.
* Created failing test for get_policy_version with AWS managed policy.
* Updated AWS managed policies.
* Fixed failing tests.
* Fixed trying to compare datetime with string in test case.
* Fixed CreateDate of AWS managed policies overwritten by their version's CreateDate.
* Fixed and improved tests for managed AWS policies.
* Added test for AWS managed policy with v4 default version.
* Fixed not correctly returning dates for AWS managed policies.
2019-06-06 13:36:39 +01:00
Juan Martinez
ed93821621
Set ECR imagePushedAt to current date and time ( #2229 )
2019-06-06 13:34:10 +01:00
Elliott Butler
9bd15b5a09
Fix route53 alias response.
...
This commit
* includes the work by @elliotmb in #1694 ,
* removes the AliasTarget.DNSName copy into a RecordSet.Value,
* fixes and adds tests.
2019-05-31 10:54:18 +01:00
Juan Martinez
664b27d8e7
Implement ECR batch_delete_image ( #2225 )
...
This implements the endpoint in spulec #2224
2019-05-30 18:16:19 +01:00
Bendegúz Ács
8f53b16b9a
Updates to create_subnet and describe_subnets responses ( #2053 )
...
* Removed Tags field from create_subnet response.
* Added DefaultForAz to create_subnet response.
* Added MapPublicIpOnLaunch to create_subnet response.
* Added OwnerId to create_subnet response.
* Added AssignIpv6AddressOnCreation field for create_subnet and describe_subnet and implemented setting it in modify_subnet_attribute.
* Added SubnetArn to create_subnet response.
* Added AvailabilityZoneId to create_subnet and describe_subnet responses, and error for invalid availability zone.
* Added Ipv6CidrBlockAssociationSet to create_subnet response.
* Added missing fields to describe_subnets response.
* Added myself to list of contributors and marked describe_subnet as implemented.
* Fixed linting errors.
* Fixed blank line containing a tab.
* Fixed accidentally deleted ).
* Fixed broken tests.
2019-05-28 16:33:25 +01:00
A
2386d47fe3
SecretsManager secret value binary support ( #2222 )
2019-05-28 16:32:43 +01:00
Stephan
3020ee408a
Merged iot
2019-05-28 08:56:49 +02:00
Stephan
d0de38601d
Merge remote-tracking branch 'upstream/master'
2019-05-28 08:55:50 +02:00
Bendegúz Ács
21917c4b93
Bug fix for default network ACL entries ( #2056 )
...
* Fixed a bug where default network ACL entries could not be deleted.
* Implemented throwing error when a network entry with the same rule number and egress value already exists.
* Fixed syntax errors.
* Added socket.timeout to possibly raised exceptions in wait_for for Python 3.
2019-05-26 02:02:14 +01:00
Alexander Mohr
7271fb9391
Fix S3 backend operations with VersionId ( #2055 )
...
* fix s3 issues
* fix merge conflict
* fix and add test cases
2019-05-25 20:19:33 +01:00
Bendegúz Ács
f408709ef9
VPC IPv4 validation ( #2026 )
...
* Implemented throwing invalid subnet range error and fixed breaking tests.
* Implemented throwing invalid CIDR block parameter error for vpcs and subnets.
* Implemented throwing invalid destination CIDR block error.
* IPv6 addresses not accepted, strict checking disabled.
* Implemented throwing invalid subnet conflict error and fixed breaking tests.
* Implemented throwing invalid VPC range error and fixed breaking tests.
* Fixed accidentally removed ).
* Fixed test case trying to create two subnets with the same CIDR range.
2019-05-25 18:35:07 +01:00
Garrett
c739c5331e
Handle UnicodeEncodeError when parsing querystring ( #2170 )
2019-05-25 18:34:47 +01:00
Adam Hodges
71f83d7e4f
Add support for IoT register_certificate ( #1827 )
2019-05-25 18:30:23 +01:00
Jordan Sanders
4cce4defac
Support CustomAmiId in EMR ( #2037 )
2019-05-25 11:19:26 +01:00
Gregory Bataille
d952410965
1987 support transfer acceleration ( #2018 )
...
* chore(): remove executable flag on moto/s3/response.py
* chore(): ignore .eggs temp file
* feat(#1987 ): get bucket acceleration support
* feat(#1987 ): put bucket acceleration support
* feat(#1987 ): suspend undefined bucket is a no-op
* feat(#1987 ): validate accelerate_configuration status
* feat(#1987 ): bucket containing dots do not support acceleration
* doc(#1987 ): update implementation coverage
2019-05-25 11:19:00 +01:00
William Richard
1b91534165
Add support for redirect actions on ELBv2 listeners ( #2029 )
2019-05-25 11:18:39 +01:00
David
868d0107bf
Autoscaling instance azs ( #2030 )
...
* Add instance AZ support in autoscaling
* Resolve py36-py27 format string error in test_autoscaling
2019-05-25 11:18:16 +01:00
Daniel Miranda
fb2a76fd66
ec2: add support for creation and importing of real SSH keys ( #2108 )
...
* ec2: add support for creation and importing of real SSH keys
* setup: lock PyYAML version to avoid incompatibilities
2019-05-25 11:17:52 +01:00
Mark Challoner
d8ff67197b
Add resource-groups. ( #1953 )
2019-05-25 11:10:34 +01:00
Don Kuntz
238d1c7c39
Add glue.delete_table endpoint, for allowing tables to be deleted ( #2112 )
...
* Add glue.delete_table endpoint, for allowing tables to be deleted
* remove extra whitespace
2019-05-25 10:58:41 +01:00
Jeffery Smith
4a99dcddb2
Issue #2141 Adding owner-id to the filter for Snapshot ( #2142 )
...
* Adding owner-id to the filter for Snapshot
2019-05-25 10:34:59 +01:00
Hans
9b12ce6809
Fix #1842 Create cross region VPC peering connection in both region ( #2195 )
...
Add a class level store in models/VPCPeeringConnectionBackend of ec2
for saving vpc peering connection.
Any instance can correctly save VPC peering connection info
on both region when it create vpc peering connection.
Update vpc_peering_connections in ec2/responses to meet new version:
DESCRIBE_VPC_PEERING_CONNECTIONS_RESPONSE,
ACCEPT_VPC_PEERING_CONNECTION_RESPONSE,
Previous code only create one region VPC peering connection but
doesn't create the other region VPC peering connection
when create cross region VPC peering connection.
Tested in real AWS environment at first
and create unit test case according to real AWS environment response.
Add 5 test cases
VPC cross region delete case
VPC cross region accept case
VPC cross region accept wrong region case
VPC cross region reject case
VPC cross region reject wrong region case
Related: #1842 , #1830
2019-05-25 10:21:57 +01:00
Ashley Gould
a3f6d2c110
[ Resolves #2196 ] - endpoints for querying organizations SC policies ( #2197 )
...
adding support for organizations service control policies
* [Resolves #2196 ] - endpoints for querying organizations SC policies
I have added the following mock endpoints to the Organizations service:
- create_policy
- list_policies
- describe_policy
- attach_policy
- list_policies_for_target
- list_targets_for_policy
2019-05-25 10:20:19 +01:00
Koudai Aono
a61124f774
support to create dynamodb resource by cloudformation ( #2219 )
...
* support to create dynamodb resource by cloudformation
2019-05-25 10:16:33 +01:00
Jon Beilke
cb72d1d00e
Feature cloudwatch log retention ( #2199 )
...
* add proper retentionInDays to describe_log_groups response and add support for delete_retention_policy() and put_retention_policy() to log groups
* fix for inline comment formatting
* include check for retentionInDays to verify no retention by default in test_log_group_create
2019-05-25 10:14:23 +01:00
Dan Chan
2a5f7e15a7
Updating redshift.describe_cluster_snapshots to return multiple snapshots for cluster_identifier ( #2216 )
2019-05-23 09:01:47 +01:00
Ber Zoidberg
1088c421d2
#2212 add support for delete on update_with_attribute_updates ( #2213 )
...
* add support for delete on update_with_attribute_updates
2019-05-22 10:47:02 +01:00
Justin Kieber-King
bbd7fefb37
Feature: Secrets Manager put_secret_value and list_secret_version_ids ( #2116 )
...
* initial work
- adding put_secret_value and list_secret_versions
* Added support for versions in all functions except rotate_secret
* more work
- refactor rotate_secret method
- now, adds a new version of the secret and points default version id to it
- updated implementation coverage readme
- element in list check to fix unit test
- fixed linting errors
- added tests, fixed exception, failing tests still
- secrets_manager/test_server fails when running whole suite,
but not when running that individual test file
* fixed failing test_get_secret_value
* Removed test.py. Fixed condition statement.
* fixed default stages + adding AWSPREVIOUS
* remove old AWSPREVIOUS stages
2019-05-22 10:45:22 +01:00
cm-iwata
8f4c273095
fix #2190 ( #2194 )
...
lambda list_versions_by_function return $LATEST version and published version
2019-05-21 17:49:56 +01:00
James Bungard
796dd71c0c
Platform independent KMS timestamp generation ( #2193 )
...
* Platform independent KMS timestamp generation
Fixes #2192
* Switch to moto.core.unix_time
Fixes #2192
2019-05-21 17:46:22 +01:00
cm-iwata
9bf8fd3417
fix #2011 ( #2012 )
...
add support for Scan method using LSI or GSI
2019-05-21 17:45:30 +01:00
Travis Truman
b8ba7980a0
Adding support for specifying a PermissionsBoundary ARN in calls to i… ( #2182 )
...
* Adding support for specifying a PermissionsBoundary ARN in calls to iam.create_role
Closes #2181
* Correcting whitespace error
* Adding support for Role PermissionsBoundary to be returned from
calls to list_roles
* Raise ClientError when a bad permissions boundary ARN is supplied
2019-05-21 17:44:05 +01:00
Craig Anderson
33efe07b43
Hide CloudFormation pararamters with NoEcho. Fixes #2021 ( #2024 )
2019-05-21 00:05:02 +01:00
Alexey Firsov
f13e4e41cd
add implemented kinesis method describe_stream_summary ( #2023 )
2019-05-21 00:02:36 +01:00
Jordan
1de9acb7ad
Add cognito-idp admin_update_user_attributes #2184 ( #2185 )
2019-05-20 23:58:10 +01:00