Commit Graph

3657 Commits

Author SHA1 Message Date
Jim King
33e60a2d16
[issue-4360] Fix InvalidResource Id,Type responses for ssm tagging methods (#4361) 2021-09-30 11:47:11 +00:00
Jim King
f50cf51de7
[issue-4283] ssm put_parameter with tags and overwrite should error (#4362) 2021-09-30 10:58:04 +00:00
teddylear
8c2d0b0557
feat: Adding validation to Cloudformation to reject same template_body (#4351) 2021-09-28 20:35:46 +00:00
Jonathan Piché
2db85d0e54
#4298 // fix warning when image id from template if specified (#4356) 2021-09-27 20:00:29 +00:00
MarkBrook
663cd7a523
ISSUE-4340: SecretsManager cannot find specified secret using ARN in some operations (#4353) 2021-09-27 19:59:13 +00:00
oakbramble
30c8c3de1f
Deregister batch job definition by 'name:revision' (#4355) 2021-09-27 17:19:44 +00:00
Bert Blommers
c3503081bc
S3: HeadBucket requests should be authenticated (#4346) 2021-09-25 17:25:27 +00:00
Bert Blommers
939b800e96
Rewrite deprecated EC2 tests (#3881) 2021-09-25 11:13:07 +00:00
kbalk
8e93bfc60b
Fix validation of InputParameters (#4343) 2021-09-24 21:50:39 +00:00
Bert Blommers
8ab76cb1d5
Rewrite deprecated ELB tests (#4342) 2021-09-24 20:00:10 +00:00
kbalk
3a203d35c9
Implement EC2 describe_vpc_endpoint_services() (#4322) 2021-09-24 16:01:09 +00:00
Fabian Iffländer
a02bf0022d
Fix list_job_excecutions_for_thing with status parameter (#4334) 2021-09-24 13:41:08 +00:00
Bert Blommers
579b6e264f
SES - SendEmail: source attr can contain chevrons (#4338) 2021-09-23 18:56:22 +00:00
Bert Blommers
d87a2eab49
SQS - Allow XML content to be received as a message attr (#4337) 2021-09-23 18:55:22 +00:00
Bert Blommers
8c36da14c0
Glacier - rewrite deprecated tests (#4336) 2021-09-23 17:22:16 +00:00
Bert Blommers
953be7682b
Rewrite deprecated Redshift tests (#4331) 2021-09-23 13:29:11 +00:00
Bert Blommers
682c7350b6
DataPipeline - duplicate deprecated tests (#4333) 2021-09-23 13:28:27 +00:00
Bert Blommers
8f8ea45d32
EMR - mark tests as duplicated (#4332) 2021-09-23 13:27:55 +00:00
Bert Blommers
f5107b9252
STS - duplicate boto tests (#4329) 2021-09-23 12:09:24 +00:00
Bert Blommers
80379312a3
SES - duplicate boto tests (#4330) 2021-09-23 11:51:34 +00:00
Bert Blommers
d1e105f2f2
SNS - duplicate deprecated tests (#4328) 2021-09-23 11:50:59 +00:00
Bert Blommers
e88e73aac7
Rewrite deprecated Route53 tests (#4327) 2021-09-23 10:27:09 +00:00
Bert Blommers
4c18b36170
SQS - duplicate deprecated tests (#4326) 2021-09-22 21:50:27 +00:00
Bert Blommers
8fd904634f
DynamoDB - Rewrite boto tests (#3927) 2021-09-22 21:22:56 +00:00
Macwan Nevil
3e20703106
fixed route table associations (#4325) 2021-09-22 20:56:56 +00:00
Bert Blommers
65dd0f1660
KMS - duplicate boto tests (#3916) 2021-09-22 20:37:03 +00:00
Bert Blommers
95a1301ead
IAM - duplicate boto tests (#3913) 2021-09-22 19:42:42 +00:00
Bert Blommers
9d1dd79813
Rewrite deprecated DynamoDB2 tests (#3904) 2021-09-22 18:13:28 +00:00
Bert Blommers
f17b4a3904
Rewrite deprecated Autoscaling tests (#3907) 2021-09-22 18:05:28 +00:00
stromp
097a260dce
Fixes issue #4312 (#4323) 2021-09-22 16:35:50 +00:00
rajinder
f7d490167b
implemented validators endpoints (#4309) 2021-09-22 16:34:20 +00:00
Steven Davidovitz
d56a3989eb
EC2 - instance lifecycle defaults to None when not using spot (#4321) 2021-09-22 16:32:30 +00:00
Bert Blommers
5b10671af4
Rewrite deprecated SWF tests (#3891) 2021-09-21 22:00:20 +00:00
Bert Blommers
f7ce1c73fe
CloudWatch - duplicate deprecated tests (#3853) 2021-09-21 20:58:46 +00:00
Bert Blommers
6dfb539a97
Rewrite deprecated S3 tests (#3889) 2021-09-21 20:06:42 +00:00
Miguel Gagliardo
c65d4ddc3b
Fix: Adding ClientRequestToken for SecretsManager update_secret method (#4314) 2021-09-21 16:43:31 +00:00
oakbramble
82158096d6
Add tagging to batch job definitions (#4316) 2021-09-21 16:12:18 +00:00
Bert Blommers
b95d8aaebc
APIGateway - delete_method() (#4320) 2021-09-21 15:20:46 +00:00
Bert Blommers
d08ed937f3
AWSLambda - clean up tests (#4317) 2021-09-21 15:19:49 +00:00
Macwan Nevil
0dfae06126
cleaned up test csaes (#4315) 2021-09-20 19:48:45 +00:00
Bert Blommers
18e4595b51
Add dataclasses dependency Py3.6 (#4306) 2021-09-19 22:04:38 +00:00
Bert Blommers
c0853aa99d
KMS - CreateKey without desc should return empty desc (#4305) 2021-09-18 21:12:18 +00:00
rajinder
3d7d5eb7ed
added update rest api (#4303)
Co-authored-by: rajinder saini <rajinder.saini@c02vt5k2htd6.corp.climate.com>
2021-09-18 20:17:42 +00:00
Paul Roberts
65c29e1f5e
Fix CloudFormation create_stack returning stack_id with wrong region (#4302) 2021-09-17 22:45:11 +00:00
Paul Roberts
f9654f62da
Implement ACM export_certificate function (#4300)
Co-authored-by: Paul Roberts <paroberts@guidewire.com>
2021-09-17 09:44:40 +00:00
Macwan Nevil
cb43134d44
fixed route-table vpc-endpoint integration (#4285) 2021-09-16 21:49:49 +00:00
Mohit Alonja
f84ba7d6ec
Fix NetworkInterface PrivateIP support and EIP association (#4288) 2021-09-16 21:07:18 +00:00
Paul Roberts
45b2684eb6
Publish messages to SNS when CloudFormation NotifcationARNs is set (#4295)
Co-authored-by: Paul Roberts <paroberts@guidewire.com>
2021-09-16 09:26:50 +00:00
Bert Blommers
a147eeac67
EC2 - Additional unit tests (#4291) 2021-09-15 21:07:04 +00:00
Paul Roberts
da6c5f667b
Fix error when AWS::ECS::Service does not include a DesiredCount (#4292)
Co-authored-by: Paul Roberts <paroberts@guidewire.com>
2021-09-15 21:05:53 +00:00
kbalk
69c2a11f5c
Allow CloudWatch logs to be sent to Firehose (#4286)
Co-authored-by: Karri Balk <kbalk@users.noreply.github.com>
2021-09-15 08:40:27 +00:00
Mohit Alonja
002f9979ef
Fix Nat Gateway (#4281) 2021-09-14 20:40:17 +00:00
kbalk
b89b0039e4
Add some basic Firehose service APIs (#4246) 2021-09-14 09:39:39 +00:00
Matt Ossman
9859d66ff8
add metric filter support to cloudwatch logs (updated) (#4278)
Co-authored-by: Brady <brady.jubic@gsa.gov>
2021-09-13 23:31:03 +01:00
Macwan Nevil
d48cd31ebb
support for carrier gateway in rt (#4282) 2021-09-12 07:45:38 +00:00
Macwan Nevil
39314906bc
added support for carrier gateway (#4280) 2021-09-11 20:30:15 +00:00
Mohit Alonja
99c661781e
Fix VPN gateway (#4279) 2021-09-11 08:21:01 +01:00
Mohit Alonja
e061d371c9
Basic requirements VPN GW (#4276) 2021-09-10 18:21:29 +01:00
Macwan Nevil
d5ffce650f
fixed vpc cidr association integrations with route-tables (#4277) 2021-09-10 14:19:39 +01:00
Macwan Nevil
3885e20298
added support for prefix-list; improved support for replace route (#4273) 2021-09-10 07:09:47 +01:00
Mohit Alonja
eef21767f8
Fix SecuirtyGroupRules and added default Ec2-VPC support for SG. (#4267) 2021-09-09 13:39:48 +01:00
Gonzalo Saad
e6c6ce5942
refactor(ssm): Refactor document permisisons and conditions (#4243) 2021-09-08 06:56:20 +01:00
Mohit Alonja
b3795d312a
added owner_id for igw (#4271) 2021-09-07 17:21:05 +01:00
Bert Blommers
4e7153c655
EC2 - DryRun-requests should return 412 status code (#4270) 2021-09-07 17:10:01 +01:00
arrrrrmin
266a217328
A small bit of Transcribe support (#4269) 2021-09-07 14:18:04 +01:00
Mohit Alonja
7240e8f965
API Gateway Stage tags support (#4160) 2021-09-04 19:05:39 +01:00
Mohit Alonja
2f26e870b8
SecurityGroup Improvements (#4239) 2021-09-04 17:08:18 +01:00
mello7tre
69cc92f780
Add describe_spot_price_history (#4261) 2021-09-04 16:57:01 +01:00
mello7tre
6d9abe1111
Add instance lifecycle property to detect spot instances (#4260) 2021-09-02 14:12:17 +01:00
mello7tre
edca235623
Added AutoScalingGroup LifeCycleHook support (fake) (#4259) 2021-09-02 14:10:11 +01:00
nivla1
5044df98bc
Implement sagemaker list_training_jobs enhancement (issue #4248) (#4256)
Co-authored-by: nivla1 <keongalvin@gmail.com>
2021-09-02 13:45:47 +01:00
mello7tre
cfc793014f
Fix/asg attach instances (#4258) 2021-09-01 18:50:53 +01:00
Bert Blommers
c53183db70
S3 - Correct error when creating a bucket that already exists (#4257) 2021-09-01 16:30:01 +01:00
Bert Blommers
0659ac6192
EC2 - Verify we can filter by owner-alias (#4255) 2021-09-01 13:23:24 +01:00
kbalk
17e9a37c81
Add validation of tags to TaggingService (#4253)
Co-authored-by: Karri Balk <kbalk@users.noreply.github.com>
2021-09-01 07:07:01 +01:00
Macwan Nevil
c707ee002c
added subnet ipv6 cidr association; minor fixes (#4242) 2021-08-30 19:16:40 +01:00
Bert Blommers
cc568c1656
DynamoDB - Improve handling of ReturnConsumedCapacity-param (#4241) 2021-08-29 19:04:42 +01:00
Julian
58da62cc71
enhancement(SSM): Add DataType attribute to SSM Parameters (#4232) 2021-08-29 17:28:51 +01:00
Bert Blommers
dc49232734
S3 - HeadObject should authenticate requests (#4240) 2021-08-29 14:49:05 +01:00
Bert Blommers
728c0c91b4
AWSLambda:list_functions() should only return the latest version by default (#4047) 2021-08-28 15:26:44 +01:00
Bert Blommers
07bb843214
Fix regex URLs so that a dot is actually interpreted as a dot (#4110) 2021-08-28 13:42:45 +01:00
Bert Blommers
8f79edba38
Request matching - return known requests first (#3793) 2021-08-28 13:34:32 +01:00
Bert Blommers
1a42b33781
IAM - Delete Role/InstanceProfile via CloudFormation (#3591) 2021-08-28 11:00:05 +01:00
Bert Blommers
027d05e21c
Improve logs when Docker is not running (#3711) 2021-08-28 10:48:28 +01:00
Bert Blommers
31e10e96d7
Remove Docker-dependency from SQS (#3738) 2021-08-28 10:03:17 +01:00
Bert Blommers
0e302a97cb
Streamline success/failure response from AWSLambda (#4000) 2021-08-28 09:41:05 +01:00
Bert Blommers
4653c34fd5
Validate AST before creating new item (#3754) 2021-08-28 09:38:12 +01:00
Bert Blommers
34c00e7dbd
#3548 - Logs - Transform assertions into proper exceptions (#3744) 2021-08-28 09:36:43 +01:00
Bert Blommers
ec70d3cd14
SQS - get_queue_attributes() might not have AttributeNames-parameter (#4236) 2021-08-28 09:34:33 +01:00
Bert Blommers
532386327d
S3 - Add RequestId to responses (#3836) 2021-08-28 08:32:14 +01:00
Bert Blommers
6a6a71ebff
DynamoDB - raise exception for invalid parameter combination (#3755) 2021-08-28 07:41:04 +01:00
Bert Blommers
0317c502f0
S3 ListParts API: use MaxParts parameter (#3658) 2021-08-28 07:38:16 +01:00
Bert Blommers
6b960e0d4f
CF support for IAM:ManagedPolicy (#3933) 2021-08-28 07:32:10 +01:00
Bert Blommers
6d0bcba791
Feature: Elastic Transcoder (#3810) 2021-08-28 07:30:40 +01:00
Bert Blommers
a6606cbf42
DynamoDB - Describe Endpoints (#3716) 2021-08-28 07:25:06 +01:00
Bert Blommers
cc50acc8b5
AWSLambda - Allow ARN as parameter (#3740) 2021-08-28 07:23:44 +01:00
Brian Pandola
a1e415ec03
Support alternate EC2:ModifyInstanceAttribute request syntax (#4234) 2021-08-28 07:04:15 +01:00
Bert Blommers
6f4b6080f8
SQS - Raise error message when providing an invalid value for the queue_url parameter (#3657) 2021-08-28 06:19:01 +01:00
Bert Blommers
684cafa2b8
S3 - Allow uploads using a PUT request without content-type (#3699) 2021-08-28 06:10:16 +01:00
Bert Blommers
8b7df4da44
EC2:DescribeVpcPeeringConnection() - use VpcPeeringConnectionIds-parameter if provided (#4230) 2021-08-27 14:56:31 +01:00
Bert Blommers
020257904e
Tech Debt - improve test coverage (#4229) 2021-08-27 11:28:10 +01:00
Mohit Alonja
11a37c357b
SecurityGroup Improvements (#4183) 2021-08-26 19:57:07 +01:00
Bert Blommers
6a644850f6
EC2 - Return custom error response for DescribeRouteTable/DescribeVPC (#4225) 2021-08-26 18:53:26 +01:00
Anton Grübel
e865362791
Add fifo high throughput (#4224) 2021-08-26 16:23:17 +01:00
Mark Woods
21021a6a03
Glue - Implemented create_crawler, get_crawler, get_crawlers, delete_crawler. Updated IMPLEMENTATION_COVERAGE.md. (#4222) 2021-08-26 10:49:41 +01:00
Timothy Klopotoski
cbbeaff23e
Throw ValidationError on null outputs section (#4221) 2021-08-26 06:01:01 +01:00
Macwan Nevil
9613795bc2
fixed vpc with ipv6 connection (#4219) 2021-08-26 05:59:34 +01:00
Gonzalo Saad
29b0122fac
feat(ssm): Add ssm documents permissions (#4217)
* refactor(ssm): Add Documents class to avoid dictionary handling
This also solves the datetime format issue in TestAccAWSCloudWatchEventTarget_ssmDocument
2021-08-25 15:16:14 +01:00
Macwan Nevil
105bf863af
added support for modify-vpc-connection; fixed vpc peering options (#4210) 2021-08-24 16:52:34 +01:00
Bert Blommers
d278fd6eaa
Batch - remove duplicate tests (#4208) 2021-08-22 15:14:46 +01:00
Bert Blommers
914d07027f
Feature: Batch: cancel_job (#3769) 2021-08-22 12:29:23 +01:00
Bert Blommers
fdf27a70e9
Route53 - Persist CallerReference (#3788) 2021-08-22 10:51:21 +01:00
Bert Blommers
5f7167ce62
Organisations - Detach policy, and asserts it actually happens (#3759) 2021-08-22 10:49:48 +01:00
Bert Blommers
bb3cbd0bb4
DynamoDB (V1) - implement UpdateItem (#3926)
* DynamoDB (V1) - UpdateItem implementation

* DynamoDB (V1) - negative tests for UpdateItem
2021-08-22 10:42:41 +01:00
Bert Blommers
fbd93efdb7
EC2 - Add tests for egress_only_internet_gateway (#4206) 2021-08-22 10:35:04 +01:00
Bert Blommers
7acdfe4feb
Introduce Pylint to check for duplicate test method names (#3684) 2021-08-21 16:33:15 +01:00
Bert Blommers
8d4596a366
Prep Release 2.2.4 (#4205)
* S3 - Refactor logic to models.py, out of Response-class

* Changelog for release 2.2.4
2021-08-21 15:05:40 +01:00
Evan O'Connell
25e79c6e67
Fix IsDefault bug in elbv2 describe_rules (#4204) 2021-08-21 05:50:10 +01:00
kbalk
b9c7ec383c
Add AWS ConfigService put_config_rule, delete_config_rule, describe_config_rule (#4171)
Co-authored-by: Karri Balk <kbalk@users.noreply.github.com>
2021-08-21 05:45:52 +01:00
Timothy Klopotoski
bd5ab53241
Fix bugs. Cloudformation updates are complex! (#4200)
* **Fix bug.** If a cloudformation stack is updated with a new
    parameter, that parameter should be honored. Several unit tests
    had bugs where they were not providing parameters required by the template.
* **Fix bug.** Do not update stack parameters until after deleting removed
    resources, so that any references to removed parameters can be resolved.
* **Fix bug.** Per the API, creation of a change set should not modify
    a stack. The `diff` method, called in the creation of a
    FakeChangeSet, was mutating the resource map which was problematic
2021-08-19 17:36:11 +01:00
Łukasz
73368863eb
Added handling for V4 signatures in PutObject body (#4201)
Co-authored-by: Łukasz Nowak <lukasz.nowak@idemia.com>
2021-08-19 15:06:43 +01:00
Brian Pandola
1db3e0e9b9
Raise error when attempting to terminate protected ec2 instance (#4199) 2021-08-19 06:47:05 +01:00
D. Ferruzzi
d67d8111a3
Fargate (#4185) 2021-08-19 06:44:56 +01:00
Macwan Nevil
a93756c69a
added support for egress-only-internet-gateway (#4196) 2021-08-19 06:39:06 +01:00
Timothy Klopotoski
b4f02f3436
Translate Cloudformation API data to EventBridge API data (#4188) 2021-08-18 20:31:29 +01:00
Hasanul Islam
492484be20
Add missing default regiono in s3 client (#4194) 2021-08-18 20:25:33 +01:00
Timothy Klopotoski
8743f81e15
CF: Raise ValidationError on bad resource id (#4186) 2021-08-18 18:41:02 +01:00
Ariel Beck
ce449bf86b
Iot/added deprecation errors (#4192)
Co-authored-by: arielb <ariel.beck@cyberark.com>
2021-08-18 10:32:58 +01:00
Brian Pandola
27c9b31d3a
Fix ec2 wildcard tag filters (#4189) 2021-08-18 06:02:19 +01:00
Ariel Beck
2f5a702f1f
added deprecate_thing_type method for IOT (#4184)
Co-authored-by: arielb <ariel.beck@cyberark.com>
2021-08-17 18:05:18 +01:00
Cristopher Pinzón
1d90946072
Feature S3 Object Lock (#4174) 2021-08-17 06:16:59 +01:00
Bert Blommers
547a1844ed
Tech debt - improve test coverage EC2/ELBv2/Events (#4181) 2021-08-16 15:13:50 +01:00
Anton Grübel
4df099c724
Add cloudwatch tags (#4179)
* Update cloudwatch.put_metric_alarm to accept TreatMissingData and Tags parameter
* Add parameter ExtendedStatistic and EvaluateLowSampleCountPercentile to cloudwatch.put_metric_alarm
* Add parameter ThresholdMetricId to cloudwatch.put_metric_alarm
2021-08-16 08:52:19 +01:00
Macwan Nevil
1800733162
added tgw support in rt (#4178) 2021-08-15 17:21:10 +01:00
Macwan Nevil
7397b8c129
fixed rt, eip, natgateway integration (#4176) 2021-08-15 10:11:04 +01:00
Macwan Nevil
d2c9e85ed3
Enhanced support for ami filtering (#4175) 2021-08-15 10:09:50 +01:00
Mohit Alonja
39185cafef
Added ManagedPrefixList (#4169) 2021-08-14 16:31:06 +01:00
Anton Grübel
0d06ebb5fc
Add ecr replication config (#4170) 2021-08-14 16:15:56 +01:00
Koichi Ogura
ec33237165
iot: Add VersionsLimitExceededException (#4173) 2021-08-14 16:10:58 +01:00
Gonzalo Saad
9e61ab2220
refactor(events): Improve put_rule and event pattern (#4158) 2021-08-13 06:01:44 +01:00
Bartosz Sledz
b3fe48ece0
Add support for USER_PASSWORD_AUTH auth method (cognito-idp) (#4164)
Co-authored-by: Bartosz Sledz <bartosz.sledz@hitachivantara.com>
2021-08-12 09:19:54 +01:00
Anton Grübel
cbfb450430
Support force flag in ecr.delete_repository (#4167) 2021-08-12 06:08:28 +01:00
Anton Grübel
b8405b39b5
Add ecr image scan (#4166)
* Add ecr.start_image_scan

* Add ecr.describe_image_scan_findings
2021-08-12 06:06:21 +01:00
Anton Grübel
a5eb46962d
Fix events target for custom event bus (#4168) 2021-08-12 06:02:16 +01:00
Macwan Nevil
f2b8318211
fixed owner id and delete rt (#4161) 2021-08-11 21:23:04 +01:00
Bert Blommers
574053cb27
EC2 - Improve/Extend RouteTable unit tests (#4165) 2021-08-11 18:50:15 +01:00
Anton Grübel
6f361e6afb
Add ecr registry policy (#4159)
* Add ecr.put_registry_policy

* Add ecr.get_registry_policy

* Add ecr.delete_registry_policy

* Add ecr registry policy test for Terraform and cleanup
2021-08-11 13:18:12 +01:00
Macwan Nevil
5e6b7ee529
removed depricated account id (#4156) 2021-08-10 07:13:39 +01:00
Anton Grübel
298e220122
Add ecr lifecycle policy (#4153)
* Add ecr.put_lifecycle_policy

* Add ecr.get_lifecycle_policy

* Add ecr.delete_lifecycle_policy

* Add ecr lifecycle policy test for Terraform
2021-08-09 14:55:29 +01:00
Garreth Golding
6ae37046f0
UnboundLocalError is thrown when creating a Firehose delivery stream. (#4144) 2021-08-07 09:42:23 +01:00
Bert Blommers
6fedb25a2a
Merge pull request #4149 from xiaket/execute_change_set_update_stack_status
add stack status in execute_change_set call.
2021-08-07 09:39:29 +01:00
kbalk
6b880003c6
Add Log Service describe_resource_policies, delete_resource_policy (#4150)
Co-authored-by: Karri Balk <kbalk@users.noreply.github.com>
2021-08-07 09:04:15 +01:00
Anton Grübel
b4ae6a9cce
Add ecr repo policy (#4148)
* Add ecr.set_repository_policy

* Add ecr.get_repository_policy

* Add ecr.delete_repository_policy
2021-08-07 08:48:28 +01:00
Waldemar Hummer
35d0ddef24
Add support for KMS update-alias (#4143) 2021-08-07 08:07:40 +01:00
Kai Xia
9af1a96174 make FakeChangeSet a subclass of BaseModel, not FakeStack.
This fixes #4141, and pave ways for future changes around changeset.

We had subclassed FakeChangeSet from FakeStack, not from BaseModel. This made
us easier to send the response for describe_change_set calls, but when we are
handling the details of change set, the old approach won't work at all.
For example, when we were creating a changeset, we were actually creating a
stack without registering it (self.stacks), and future update onto this stack
is not really possible.

Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2021-08-07 17:02:22 +10:00
Bert Blommers
76094f012b
Remove pkg_resources module (#4142) 2021-08-05 17:59:25 +01:00
Gonzalo Saad
da09cfc39c
feat(events): Add condition in event permission (#4140) 2021-08-05 14:24:51 +01:00
Anton Grübel
cadbee35cb
Add ecr tag mutability & image scan config (#4139)
* Add ecr.put_image_tag_mutability

* Add ecr.put_image_scanning_configuration
2021-08-05 14:23:11 +01:00
Bert Blommers
79f0cc9e9e
Tech debt - remove dead DynamoDB code and add RDS tests (#4136) 2021-08-04 17:24:26 +01:00
Bert Blommers
69e865dd1e
EC2 - Add unit tests for Route Tables (#4135) 2021-08-04 14:22:26 +01:00
Bert Blommers
ee6f20e376
Batch - Test rework (#4134) 2021-08-04 13:40:10 +01:00
Ray Myers
4ae9b0e253
Implement AutoScaling resume_processes and correct behavior of suspend_processes (#4133)
* Implement AutoScaling resume_processes and correct behavior of suspend_processes
2021-08-04 06:57:21 +01:00
Jordan Bailey
1b7e015e19
Wafv2 initial Implementation 2021-08-04 06:45:41 +01:00
Bert Blommers
bc369679f2
Update test_cognitoidp.py 2021-08-03 16:54:31 +01:00
Łukasz
33988b96c2
fix for 'status' filter, inherent_attributes test (#4129)
Co-authored-by: Łukasz Nowak <lukasz.nowak@idemia.com>
2021-08-03 16:34:07 +01:00
Anton Grübel
788b8e617d
Update ecr (#4128)
* Add ecr.list_tags_for_resource

* Add ecr.tag_resource

* Add ecr.untag_resource

* Add default KMS key policy, if not specified
2021-08-03 16:21:15 +01:00
George Lungley
0ec99fae8b
#4118 Add KmsKeyId Support to secretsmanager (#4119) 2021-08-03 15:46:23 +01:00
Gonzalo Saad
242de5bc6f
feat(events): Add policy in put_permission (#4114)
* feat(events): Add policy in put_permission
Also add RemoveAllPermissions in remove_permission
2021-08-03 15:10:36 +01:00
Bert Blommers
0388b778dd
EC2/RDS2 - New tests (#4127) 2021-08-03 15:06:06 +01:00
kbalk
f364a050f0
Add support for ConfigService APIs list_tags_for_resource, untag_resource, tag_resource (#4117)
Co-authored-by: Karri Balk <kbalk@users.noreply.github.com>
2021-08-03 12:45:26 +01:00
Ray Myers
9bd38f8480
Add autoscaling delete_tags (#4122) 2021-08-03 08:00:26 +01:00
Mohit Alonja
911d29cc33
Added support for tgw peering attachment (#4115)
* Added required params to run the terraform test
2021-08-03 07:58:25 +01:00
Łukasz
16a4db1ce5
cognito:user_status filter in list users (#4120)
Co-authored-by: Łukasz Nowak <lukasz.nowak@idemia.com>
2021-08-03 07:56:41 +01:00
Macwan Nevil
c8b2b6dffe
fixed vpc with terraform; added modify vpc tenancy (#4116) 2021-08-02 05:50:45 +01:00
Waldemar Hummer
6eeb4b4b32
Add support for EC2 transit gateway associations (#4089)
Co-authored-by: Nevil Macwan <macnev2013@gmail.com>
Co-authored-by: monty16597 <alonjamohit77@gmail.com>
2021-07-31 16:18:19 +01:00
Waldemar Hummer
faadf3db3a
fix parsing regex to support request params with dicts of lists (#4111) 2021-07-30 06:19:38 +01:00
Bert Blommers
11883a1fda
Remove unnecessary dependencies EC2/SQS (#4094)
* Add missing dependencies for EFS
2021-07-29 06:38:16 +01:00
Patrick Greene
6b4032a9a8
Add partial support for EFS (#4080) 2021-07-29 05:55:23 +01:00
Bert Blommers
a1905ad584
Improve test coverage (#4098) 2021-07-28 11:17:15 +01:00
andyfase
0f8da52196
Add support for admin_user_global_sign_out to cognitoidp (#4092)
* Add support for admin_user_global_sign_out to cognitoidp
2021-07-27 18:49:19 +01:00
Gonzalo Saad
f849842414
feat(events): Add update_connection (#4095) 2021-07-27 17:47:03 +01:00
cătălin
9d7746b9e3
Add validity dates to IoT fakecert (#4093) 2021-07-27 08:59:01 +01:00
Miguel Gagliardo
f9f93531e8
Fix: Adding empty tags to SQS queue on creation time (#4087)
* Fix: Adding tags to SQS queue on creation time
2021-07-27 08:24:38 +01:00
Miguel Gagliardo
44624593f1
Fix: Adding fix when setting empty policy attr to queue (#4091) 2021-07-27 06:04:24 +01:00
Waldemar Hummer
f4f8527955
Merge LocalStack changes into upstream moto (#4082)
* fix OPTIONS requests on non-existing API GW integrations

* add cloudformation models for API Gateway deployments

* bump version

* add backdoor to return CloudWatch metrics

* Updating implementation coverage

* Updating implementation coverage

* add cloudformation models for API Gateway deployments

* Updating implementation coverage

* Updating implementation coverage

* Implemented get-caller-identity returning real data depending on the access key used.

* bump version

* minor fixes

* fix Number data_type for SQS message attribute

* fix handling of encoding errors

* bump version

* make CF stack queryable before starting to initialize its resources

* bump version

* fix integration_method for API GW method integrations

* fix undefined status in CF FakeStack

* Fix apigateway issues with terraform v0.12.21
* resource_methods -> add handle for "DELETE" method
* integrations -> fix issue that "httpMethod" wasn't included in body request (this value was set as the value from refer method resource)

* bump version

* Fix setting http method for API gateway integrations (#6)

* bump version

* remove duplicate methods

* add storage class to S3 Key when completing multipart upload (#7)

* fix SQS performance issues; bump version

* add pagination to SecretsManager list-secrets (#9)

* fix default parameter groups in RDS

* fix adding S3 metadata headers with names containing dots (#13)

* Updating implementation coverage

* Updating implementation coverage

* add cloudformation models for API Gateway deployments

* Updating implementation coverage

* Updating implementation coverage

* Implemented get-caller-identity returning real data depending on the access key used.

* make CF stack queryable before starting to initialize its resources

* bump version

* remove duplicate methods

* fix adding S3 metadata headers with names containing dots (#13)

* Update amis.json to support EKS AMI mocks (#15)

* fix PascalCase for boolean value in ListMultipartUploads response (#17); fix _get_multi_param to parse nested list/dict query params

* determine non-zero container exit code in Batch API

* support filtering by dimensions in CW get_metric_statistics

* fix storing attributes for ELBv2 Route entities; API GW refactorings for TF tests

* add missing fields for API GW resources

* fix error messages for Route53 (TF-compat)

* various fixes for IAM resources (tf-compat)

* minor fixes for API GW models (tf-compat)

* minor fixes for API GW responses (tf-compat)

* add s3 exception for bucket notification filter rule validation

* change the way RESTErrors generate the response body and content-type header

* fix lint errors and disable "black" syntax enforcement

* remove return type hint in RESTError.get_body

* add RESTError XML template for IAM exceptions

* add support for API GW minimumCompressionSize

* fix casing getting PrivateDnsEnabled API GW attribute

* minor fixes for error responses

* fix escaping special chars for IAM role descriptions (tf-compat)

* minor fixes and tagging support for API GW and ELB v2 (tf-compat)

* Merge branch 'master' into localstack

* add "AlarmRule" attribute to enable support for composite CloudWatch metrics

* fix recursive parsing of complex/nested query params

* bump version

* add API to delete S3 website configurations (#18)

* use dict copy to allow parallelism and avoid concurrent modification exceptions in S3

* fix precondition check for etags in S3 (#19)

* minor fix for user filtering in Cognito

* fix API Gateway error response; avoid returning empty response templates (tf-compat)

* support tags and tracingEnabled attribute for API GW stages

* fix boolean value in S3 encryption response (#20)

* fix connection arn structure

* fix api destination arn structure

* black format

* release 2.0.3.37

* fix s3 exception tests

see botocore/parsers.py:1002 where RequestId is removed from parsed

* remove python 2 from build action

* add test failure annotations in build action

* fix events test arn comparisons

* fix s3 encryption response test

* return default value "0" if EC2 availableIpAddressCount is empty

* fix extracting SecurityGroupIds for EC2 VPC endpoints

* support deleting/updating API Gateway DomainNames

* fix(events): Return empty string instead of null when no pattern is specified in EventPattern (tf-compat) (#22)

* fix logic and revert CF changes to get tests running again (#21)

* add support for EC2 customer gateway API (#25)

* add support for EC2 Transit Gateway APIs (#24)

* feat(logs): add `kmsKeyId` into `LogGroup` entity (#23)

* minor change in ELBv2 logic to fix tests

* feat(events): add APIs to describe and delete CloudWatch Events connections (#26)

* add support for EC2 transit gateway route tables (#27)

* pass transit gateway route table ID in Describe API, minor refactoring (#29)

* add support for EC2 Transit Gateway Routes (#28)

* fix region on ACM certificate import (#31)

* add support for EC2 transit gateway attachments (#30)

* add support for EC2 Transit Gateway VPN attachments (#32)

* fix account ID for logs API

* add support for DeleteOrganization API

* feat(events): store raw filter representation for CloudWatch events patterns (tf-compat) (#36)

* feat(events): add support to describe/update/delete CloudWatch API destinations (#35)

* add Cognito UpdateIdentityPool, CW Logs PutResourcePolicy

* feat(events): add support for tags in EventBus API (#38)

* fix parameter validation for Batch compute environments (tf-compat)

* revert merge conflicts in IMPLEMENTATION_COVERAGE.md

* format code using black

* restore original README; re-enable and fix CloudFormation tests

* restore tests and old logic for CF stack parameters from SSM

* parameterize RequestId/RequestID in response messages and revert related test changes

* undo LocalStack-specific adaptations

* minor fix

* Update CodeCov config to reflect removal of Py2

* undo change related to CW metric filtering; add additional test for CW metric statistics with dimensions

* Terraform - Extend whitelist of running tests

Co-authored-by: acsbendi <acsbendi28@gmail.com>
Co-authored-by: Phan Duong <duongpv@outlook.com>
Co-authored-by: Thomas Rausch <thomas@thrau.at>
Co-authored-by: Macwan Nevil <macnev2013@gmail.com>
Co-authored-by: Dominik Schubert <dominik.schubert91@gmail.com>
Co-authored-by: Gonzalo Saad <saad.gonzalo.ale@gmail.com>
Co-authored-by: Mohit Alonja <monty16597@users.noreply.github.com>
Co-authored-by: Miguel Gagliardo <migag9@gmail.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2021-07-26 15:21:17 +01:00
Bert Blommers
7693d77333
Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
Bert Blommers
e0d3b9145f
Terraform CI integration (#4081)
* CI - Add Terraform tests

* Relative paths

* Install TF cache only once
2021-07-24 14:49:43 +01:00
Evan O'Connell
85dc52bd84
Support all ELBv2 ListenerRule condition types (#4066)
* ELBv2 - ListenerRule condition validation

- ListenerRule condition model now uses upper case field names that
  match input params for boto and CloudFormation.
- BaseResponse._get_params() introduced to make it easier to deal
  with the querystring input params.
2021-07-16 08:01:14 +01:00
Shubham Gupta
a48c811069
#4067: Add support for kinesis retention hours (#4068) 2021-07-14 15:36:30 +01:00
Alastair McCormack
cb53f86c24
fix: cognito-idp: admin_create_user remove default attributes (#4070)
* 4069: fix: cognito-idp: admin_create_user remove default attributes
2021-07-14 15:35:09 +01:00
benediktbrandt
eb6515cf50
Reduce default value for DEFAULT_KEY_BUFFER_SIZE (#4003)
* - introduce environment variable for DEFAULT_KEY_BUFFER_SIZE

* - prefix env variable with MOTO_S3 to avoid env variable conflicts

* - reduce the DEFAULT_KEY_BUFFER_SIZE to be less than the S3_UPLOAD_PART_MIN_SIZE to prevent in memory caching of multi part uploads

* - black formatting

* - fix formatting

* - fix missing import
2021-07-07 16:38:50 +01:00
Ross Strickland
f9d5067faa
Bugfix for put_scaling_policy in applicationautoscaling. (#4054)
* Bugfix for put_scaling_policy in applicationautoscaling.

* Formatting.
2021-07-07 12:36:26 +01:00
Alexandre Blanchet
cf5007b97d
Add support for remove_flow_output and remove_flow_vpc_interface (#4058)
Co-authored-by: Alexandre Blanchet <alexandre.blanchet@m2amedia.tv>
2021-07-07 11:11:19 +01:00
Grégoire Charvet 黑瓜
00be464c05
Fix #3996 (#4051)
* Fix #3996

* Don't delete any message when duplicate handles
2021-07-07 08:59:16 +01:00
Brian Pandola
05cdcbcedc
Add support for DescribeNetworkInterfaces tag filters (#4057) 2021-07-04 07:44:58 +01:00
kohbis
c20a36b8cb
sns#create_platform_endpoint: If token and attributes are the same, return endpoint (#4055)
* If token and attributes are the same, return endpoint

* fix black

* moto sns platform_endpoint.attributes includes only token,enabled

* add tests when calling sns#create_platform_endpoint with same attrs for #4056
2021-07-04 07:43:22 +01:00
Grégoire Charvet 黑瓜
b44ab23c63
Fix #4009 (#4052)
Correctly raises an error when MessageGroupId is missing when sending a
batch of messages to a FIFO queue.
2021-07-04 07:40:39 +01:00
Brian Pandola
7147c5f05a
SES domains are case-insensitive (#4050) 2021-07-02 05:28:41 +01:00
Sahil Shah
3ae4c23c23
Transform certificates in listener in expected XML (#4049) 2021-07-01 16:25:40 +01:00
Bert Blommers
8cc439444f
#3991 - AWSLambda - set content-type to app/json (#4046) 2021-06-30 11:02:38 +01:00