cm-iwata
fdeee07762
Add basic implement for cognito-idp create_resource_server ( #3153 )
...
* Add basic implement for cognito-idp create_resource_server
* lint
2020-07-20 12:31:30 +01:00
jweite
ba99c61477
Basic Support for Endpoints, EndpointConfigs and TrainingJobs ( #3142 )
...
* Basic upport for Endpoints, EndpointConfigs and TrainingJobs
* Dropped extraneous pass statement.
Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-07-19 15:06:48 +01:00
usmangani1
a123a22eeb
Fix : cloudFormation dynamodb : delete resource on delete stack ( #3120 )
...
* Fix : cloudFormation dynamodb : delete resource on delete stack
* Delete function for dynamodb
* Added tests for delete stack using dynamodb.
* Added tests for non decorator
* Linting
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-07-19 11:59:19 +01:00
usmangani1
552b1294df
Fix : EC2 - Added ownerId filter for describe instances ( #3149 )
...
* Fix : EC2 - Added ownerId filter for describe instances
* linting
2020-07-19 10:44:58 +01:00
Logan Jones
6fb7867767
Fix: Put Events API ( #3145 )
...
* Fix: Put Events API
* Update from code review.
Co-authored-by: Logan Asher Jones <logan@codescratch.com>
2020-07-19 10:00:24 +01:00
usmangani1
09b764148c
Fix : Added implementation for CloudWatch Describe Metric for Alarm ( #3148 )
...
* Fix : added implementation for CloudWatch Describe Metric for Alarm
* Linting
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-07-18 10:47:53 +01:00
Bert Blommers
bed769a387
Tech debt - increase test timeouts to remove intermittant test failures ( #3146 )
2020-07-17 12:11:47 +01:00
jweite
1b80b0a810
Sagemaker models ( #3105 )
...
* First failing test, and enough framework to run it.
* Rudimentary passing test.
* Sagemaker Notebook Support, take-1: create, describe, start, stop, delete.
* Added list_tags.
* Merged in model support from https://github.com/porthunt/moto/tree/sagemaker-support .
* Re-org'd
* Fixed up describe_model exception when no matching model.
* Segregated tests by Sagemaker entity. Model arn check by regex..
* Python2 compabitility changes.
* Added sagemaker to list of known backends. Corrected urls.
* Added sagemaker special case to moto.server.infer_service_region_host due to irregular url format (use of 'api' subdomain) to support server mode.
* Changes for PR 3105 comments of July 10, 2020
* PR3105 July 10, 2020, 8:55 AM EDT comment: dropped unnecessary re-addition of arn when formulating model list response.
* PR 3105 July 15, 2020 9:10 AM EDT Comment: clean-up SageMakerModelBackend.describe_models logic for finding the model in the dict.
* Optimized imports
Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-07-16 13:12:25 +01:00
Koichi Ogura
3e2a5e7ee8
fix #3133 Cognito Identity Provider : create_user_pool_client GenerateSecret=True
doesn't work ( #3135 )
...
* fix #3133 Cognito Identity Provider : create_user_pool_client
`GenerateSecret=True` doesn't work
* add test for update_user_pool_client
2020-07-16 09:13:12 +01:00
cm-iwata
419f3fba5a
fix API Gateway:create_usage_plan_key return wrong status code ( #3134 )
2020-07-15 14:01:03 +01:00
cm-iwata
4e4ce5f9f1
fix API Gateway:create_api_key return wrong status code ( #3136 )
2020-07-15 12:21:11 +01:00
cm-iwata
1b355f7f06
fix #3131 fix API Gateway:delete_api_key return wrong status code ( #3132 )
...
* fix #3131 fix API Gateway:delete_api_key return wrong status code
* lint
2020-07-15 09:41:41 +01:00
cm-iwata
b5c7356b20
fix #3129 API Gateway create_api_key generate wrong default value ( #3130 )
2020-07-15 07:00:44 +01:00
Mike Fogel
9072153474
Fix dynamodb2 KEYS_ONLY Indexes ( #3125 )
...
KEYS_ONLY indexes include table keys.
2020-07-14 13:42:13 +01:00
Adam Richie-Halford
890c3b4954
Make batch.utils.lowercase_first_key() recursive ( #3124 )
...
* Make batch.utils.lowercase_first_key() recursive
* Reformat using black
* Add test of recursive lowercase_first_key()
* Fix typo in ttest_batch/test_cloud_formation.py
2020-07-14 11:29:49 +01:00
Anton Grübel
f31f8e08c1
Organizations - implement AWS Service Access functionality ( #3122 )
...
* Add organizations.enable_aws_service_access
* Add organizations.list_aws_service_access_for_organization
* Add organizations.disable_aws_service_access
2020-07-14 10:27:39 +01:00
Anton Grübel
55bb4eb08d
Config - implement Organization Conformance Pack functionality ( #3116 )
...
* Add config.put_organization_conformance_pack
* Add config.describe_organization_conformance_packs
* Add config.get_organization_conformance_pack_detailed_status
* Add config.describe_organization_conformance_pack_statuses
* Add config.delete_organization_conformance_pack
* Add an update method to OrganizationConformancePack
2020-07-13 09:30:55 +01:00
usmangani1
c5de56ce70
Fix: CloudFormation support status filter in list stacks ( #3115 )
...
* Fix: CloudFormation support status filter in list stacks
* Added test for non decorator
Co-authored-by: usmankb <usman@krazybee.com>
2020-07-12 13:39:42 +01:00
ngander64
069c159492
Always return 'HardExpiry' for account password policy. ( #3117 )
...
Co-authored-by: Nick B Gander <NGANDER@amfam.com>
2020-07-11 09:38:33 +01:00
Adam Richie-Halford
766f527d37
Add NUMBER and LIST<NUMBER> parsing to cloudformation/parsing.py ( #3118 )
...
* Add NUMBER and LIST<NUMBER> parsing to cloudformation/parsing.py
* Fix black formatting error in test_stack_parsing.py
2020-07-11 08:43:45 +01:00
usmangani1
81be4b37a1
Fix: Ec2 - add destinationIpv6CIDR support. ( #3106 )
...
* Fix: Ec2 - add destinationIpv6CIDR support.
* removing unneccessary debug statements
* modifying existing test case
* Linting
Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-07-07 14:32:55 +01:00
Mike Grima
1299fef8b8
Merge pull request #3107 from ninhkd/add-region-response-vpc-peering-connections
...
Fix: Ec2 - add VPCPeeringConnections region response support.
2020-07-05 10:28:27 -07:00
Ninh Khong
b7671819df
Update code lint
2020-07-05 23:04:34 +07:00
Ninh Khong
87eb8a21d6
Update unittest checking region response in accept_vpc_peering_connection and describe_vpc_peering_connects functions
2020-07-05 22:09:57 +07:00
Mike Grima
c1cffec674
Merge pull request #3103 from shano/fix-invalid-yaml-parsererror
...
Cloudformation: Fix - validate template yml fixes
2020-07-04 12:28:17 -07:00
Steve Pulec
144d683cf4
Merge pull request #3097 from bblommers/dynamodb-gsi-projectiontype
...
Feature: DynamoDB: Support projectiontype KEYS_ONLY for GSI/LSI
2020-07-03 20:53:44 -05:00
Steve Pulec
3ccf8f6cbf
Merge pull request #3083 from bblommers/s3-delete-object-tagging
...
S3: Delete Object Tagging
2020-07-03 20:52:15 -05:00
Steve Pulec
f061fbf6b9
Merge pull request #3081 from bblommers/cognitoidp_return_kid_header
...
CognitoIDP: Return kid header as part of respond_to_auth_challenge
2020-07-03 20:51:34 -05:00
Alex Bainbridge
c1326ed8cc
removed done comments
2020-07-03 13:25:03 -04:00
Alex Bainbridge
bedcc83995
Merge branch 'master' into ssm_docs
2020-07-03 10:15:56 -04:00
Dawn James
b225e96ae0
Application Autoscaling basic features ( #3082 )
...
* Placeholder to test Application Autoscaling.
* Wire everything together and create a first passing test without any real functionality.
* Get one test working properly.
* Add some TODO items.
* Reformat code with black
* Second passing test for describe_scalable_targets.
* New test for NextToken.
* Add some tests for ParamValidationError and ValidationException.
* black
* Ensure scalable targets are being captured in an OrderedDict() for deterministic return later.
* Add validation to describe_scalable_targets and register_scalable_target.
* Fix tests.
* Add creation_time, refactor, add ECS backend, and add failing test for checking that ecs service exists.
* Add parameter validation.
* Improved documentation for CONTRIBUTING.md
Adds some details to give people an idea what's involved in adding new features/services
* Integrate with ECS.
* black
* Refactor to allow implementation of SuspendedState.
* Complete support for SuspendedState.
* Bump up implementation coverage percentage.
* Tidy up code; add comments.
* Implement suggested changes from code review.
* Minor refactorings for elegance.
* README update
Co-authored-by: Bert Blommers <bblommers@users.noreply.github.com>
2020-07-03 14:23:17 +01:00
Bert Blommers
4e0d588307
DynamoDB - Allow ProjectionType to be set for LSIs
2020-07-03 14:20:04 +01:00
Bert Blommers
06b390b493
Merge branch 'master' into dynamodb-gsi-projectiontype
2020-07-03 14:08:32 +01:00
Shane
aab0e2ffa2
Merge remote-tracking branch 'upstream/master' into fix-invalid-yaml-parsererror
2020-07-03 10:57:57 +01:00
Steve Pulec
385c78a996
Merge pull request #3099 from bblommers/region-stored-in-user-agent
...
Transfer Region in UserAgent-header
2020-07-02 19:47:18 -05:00
Alex Bainbridge
487829810f
passes python3 and 2.7. added additional few tests for coverage bump
2020-07-02 13:43:14 -04:00
Shane
0f062f68ff
Cloudformation: Fix - validate template yml fixes
...
This change fixes:
* Replace call to non-existent exception yaml.ParserError
* Catches yaml scanner error for valid json with tabs
* Supply yaml loader to ensure yaml loading throws exception validly for json with tabs and doesn't try to load the json incorrectly
2020-06-30 22:35:47 +01:00
Alex Bainbridge
ccaa33504a
Merge branch 'master' into ssm_docs
2020-06-30 12:59:01 -04:00
Alex Bainbridge
c9b38e25b8
black linting
2020-06-30 12:43:42 -04:00
Alex Bainbridge
82825787db
all tests passing
2020-06-30 12:39:52 -04:00
Bert Blommers
8ff32bf4fa
Append region-info to UserAgent-header, if it already exists
2020-06-30 15:00:08 +01:00
Alex Bainbridge
bdc1e93a4f
most of testing is done
2020-06-29 18:20:57 -04:00
Bert Blommers
8a092c91ae
DynamoDB - Add support for GSI's ProjectionType: KEYS_ONLY
2020-06-27 11:07:15 +01:00
Adrian
73813460b6
Fix condition filtering bug in elbv2.create_rule() ( #3092 )
...
* Fix condition filtering bug
* Update test_handle_listener_rules unit test
* Run black
2020-06-27 09:42:32 +01:00
Alex Bainbridge
e2f6544228
ssm document code done, testing now
2020-06-26 10:47:28 -04:00
Shane Dowling
80c53d8b5a
Add support for template urls in cfn validation ( #3089 )
...
Added as boto supports both TemplateBody and TemplateUrl
* Adds TemplateURL as a validate_template option
* Adds a test to validate this
2020-06-26 14:01:57 +01:00
Bert Blommers
f27e29e04d
Cognito - Dont run test in ServerMode
2020-06-20 12:48:10 +01:00
Bert Blommers
9ed7ba58df
S3 - Implement delete_object_tagging
2020-06-20 12:15:29 +01:00
Bert Blommers
655b92a2a4
Simplify Cognito test - auto decode JSON
2020-06-20 11:05:06 +01:00
Bert Blommers
dd556a66c6
CognitoIDP - Return KID in headers of ID token
2020-06-20 10:43:02 +01:00