Commit Graph

4568 Commits

Author SHA1 Message Date
rafcio19
eeb32bd048
Core: add date to response metadata (#6329) 2023-05-20 20:47:08 +00:00
rafcio19
e677bee2e6
IAM: missing CreateDate from get_group response (#6328)
* fix: missing CreateDate from get_group response

* tests: fix servermode tests

* feat: PasswordLastUsed in groups response

---------

Co-authored-by: raf <rafal.jankowicz@avanti.space>
2023-05-19 12:33:56 +00:00
Bert Blommers
73257241ce
S3: Accept-Ranges headers should have dash (#6326) 2023-05-15 22:45:34 +00:00
Jakub P
054ebcb326
sns: support FilterPolicyScope attribute, including filtering (#6262) 2023-05-15 17:24:44 +00:00
Ivan-Lukianov
523225d6e9
Autoscaling: Add metrics for E2 target tracking scaling (#6314) 2023-05-13 17:08:51 +00:00
Dean Matter
f7b2478726
Add sessions to Glue (#6302) 2023-05-12 15:41:48 +00:00
Bert Blommers
c96a21ddf4
Core: Prevent duplicate handlers when calling patch_client (#6317) 2023-05-12 15:34:41 +00:00
Ben Simon Hartung
760fa8fdc0
S3: fix checksum calculation (#6309)
* fix S3 compute checksums

* format

* fix test

* add copying of checksum between objects

* fix unit tests for checksum
2023-05-12 12:00:00 +00:00
rafcio19
922ee7edc1
EC2: vpc endpoint as a route target (#6316) 2023-05-12 10:12:36 +00:00
rafcio19
8516771d15
Secrets: add NextRotationDate and LastRotatedDate to secrets (#6313) 2023-05-12 10:10:52 +00:00
Bert Blommers
a39be74273
SNS: Allow Topic without properties to be deleted using CF (#6312) 2023-05-11 21:08:10 +00:00
rafcio19
60065b3cf8
ECS: allow ecs service to transition to arbitrary running task count (#6289) 2023-05-11 17:38:29 +00:00
Brandon
6b2ee153e6
Sagemaker - Add Transform jobs (#6296) 2023-05-10 17:54:49 +00:00
Ben Simon Hartung
417561cec6
S3: fix copy in place when requesting checksum (#6308) 2023-05-10 14:59:55 +00:00
Akira Noda
ebe48e7443
RDS: add SourceType field for response (#6306) 2023-05-10 14:48:17 +00:00
Ben Simon Hartung
9d8d166571
fix copy in place for bucket with encryption (#6303) 2023-05-10 10:03:03 +00:00
rafcio19
52846c9555
EC2: validate pagination parameters (#6293) 2023-05-09 15:47:15 +00:00
Bert Blommers
87d84c12e0
Cloudformation: delete_stack_instances() can remove multiple regions (#6299) 2023-05-09 11:23:27 +00:00
Ben Simon Hartung
fae7ee76b3
fix S3 PutObjectRetention and PutObjectLegalHold not using versionId (#6295) 2023-05-08 20:41:22 +00:00
vdytyniak-exos
7a4eac06d0
S3: Do not unquote the key two times on multipart upload complete (#6287) 2023-05-08 17:14:20 +00:00
rafcio19
763b582cf2
Fix ami attributes (#6280)
* fix: describe_image attributes

* refactor: unifi attribute logic, add tests

* chore: mypy

* chore: linting

* chore: unused method

* chore: increase coverage
2023-05-04 09:16:22 +00:00
rafcio19
6f170410e8
SES v2 (#6259)
* feat: add ses v2

* feat: move wrap v1 logic into v2 api

* feat: v2 api on v2 url

* chore: types

* chore: linting

* feat: raw emails

* chore: linting

* feat: add list_contacts

* fix: urls need to be explicit for this to work with moto server

* chore: linting

* chore: remodel

* chore: rework

* chore: cleanup

* chore: fix test

* chore: sort out mypy

* feat: add contact lists

* fix: new url for server mode

* feat: create and delete

* chore: linting

* chore: linting

* chore: refactor

* chore: match errors with real responses

* chore: linting

* chore: run implementation coverage script

* refactor: easier, faster look ups with dicts

* refactor: contact is now a child of contactlist

* tests: contactlists return 200 if empty, contacts do not

* chore: update botocore and run implementation coverage script

* refactor: add matching *_contact methods to backend model so coverage script can detect them
2023-05-01 18:15:29 +00:00
Ben Simon Hartung
2c0636ae67
update CopyObject logic (#6264)
* S3 update CopyObject logic

* add CopyObject tests

* re-add missing type annotation

* add ACL test

* lint/format

* fix typing

* fix test

* fix test test_copy_object_does_not_copy_storage_class
2023-05-01 09:14:31 +00:00
Álvaro Torres Cogollo
e5e1521523
Scheduler: Fix update_schedule raising ResourceNotFound errors when using schedule groups (#6269) 2023-04-29 19:27:43 +00:00
Bert Blommers
e2d3582471
Techdebt: MyPy U (#6265) 2023-04-29 10:40:11 +00:00
Bert Blommers
2cd773fe95
Revert "Remove tests incompatible with werkzeug 2.3.0 (#6257)" (#6266)
This reverts commit da39d2103c.
2023-04-28 14:38:04 +00:00
Bert Blommers
da39d2103c
Remove tests incompatible with werkzeug 2.3.0 (#6257) 2023-04-26 10:56:08 +00:00
Przemysław Dąbek
69cf309183
[Glue] Triggers (#6253) 2023-04-25 16:02:57 +00:00
Niklas Janlert
92da03b1dd
SNS: Forward MessageDeduplicationId to SQS queues (#6255) 2023-04-25 15:33:22 +00:00
Bert Blommers
65611082be
Techdebt: MyPy SES (#6252) 2023-04-25 11:42:08 +00:00
Lucas Silva Chaves
fe7b15c9f9
Kinesis: calculating size of record using decoded data and partition key (#6231) 2023-04-24 19:11:36 +00:00
Bert Blommers
a32b721c79
Techdebt: MyPy SSM (#6250) 2023-04-24 10:26:25 +00:00
Jakub P
2d7c38f64f
SNS: numeric filtering fixups + parameter validation (#6242) 2023-04-24 10:05:21 +00:00
Przemysław Dąbek
7e83233774
[Glue] Implement delete_job (#6246) 2023-04-23 10:21:43 +00:00
rafcio19
7fad08214d
S3: add a checksum to a copied object if requested so (#6245) 2023-04-22 20:45:00 +00:00
Bert Blommers
f54f4a666f
Techdebt: MyPy SecretsManager (#6244) 2023-04-22 15:39:48 +00:00
tjohnes
462ff57900
EC2: Implement ReplaceRoute to NetworkInterfaceId (#6236) 2023-04-21 16:12:16 +00:00
Przemysław Dąbek
c6b048695b
[Glue] Implement batch_get_jobs (#6241) 2023-04-21 12:12:16 +00:00
Bert Blommers
a08174405f
S3: get_object() should not return VersionId for non-versioned buckets (#6240) 2023-04-21 10:57:39 +00:00
Bert Blommers
28f3f84644
SSM: Allow filtering by existence of tag-name (#6238) 2023-04-20 21:12:43 +00:00
Zachary Elliott
ff48188362
Corrects ECRClient.batch_get_image tag handling (#6230) 2023-04-19 16:55:28 +00:00
Bert Blommers
3e21ddd606
ECS: Fix a bug where a cluster cannot be tagged after creation (#6226) 2023-04-18 13:54:08 +00:00
sercan tor
ae11c02593
KMS: add get_public_key (#6222) 2023-04-17 19:59:33 +00:00
Marco Braga
bdcc6f3335
ELBv2: describe-target-health: return unavailable target (#6195) 2023-04-17 16:43:14 +00:00
Bert Blommers
822d94f59e
DynamoDB: Initial support for execute_statement et. al. (#6216) 2023-04-16 19:06:29 +00:00
Bert Blommers
af841303d0
Athena - WorkGroup configuration should be a dictionary, not a string (#6212) 2023-04-15 10:02:47 +00:00
rafcio19
de76cc5ab0
BatchSimple: jobs can fail or succeed (#6205) 2023-04-13 19:17:49 +00:00
Daniel Fangl
ad20320d41
fix access key storage for different accounts (#6210) 2023-04-13 17:33:31 +00:00
Viren Nadkarni
7a74df0426
Fix autoscaling policy ARN (#6209) 2023-04-13 16:17:52 +00:00
Bert Blommers
4ef076341d
SES - allow single curly brace in template (#6208) 2023-04-13 14:43:09 +00:00
Bert Blommers
90d67db6ea
AWSLambda: Do not keep downloading Docker images (#6207) 2023-04-13 09:25:47 +00:00
Bert Blommers
c44f0b7395
StepFunctions: Ensure that all operations respect the FAILURE env var (#6204) 2023-04-12 09:26:28 +00:00
Bert Blommers
b4346e2eea
Service: Scheduler (#6197) 2023-04-10 16:00:15 +00:00
Mike Grima
6a12c6c0a9
Merge pull request #6188 from mikegrima/config
Added support for AWS Config Retention Configuration
2023-04-09 15:21:36 -04:00
Mike Grima
ae8f2a19c6
Added support for AWS Config Retention Configuration
- Added AWS Config Retention Configuration support
- Also added S3 KMS Key ARN support for the Delivery Channel
- Updated the supported functions page for Config
2023-04-09 11:45:39 -04:00
rafcio19
201e57585b
SQS: Improve deduplication logic (#6184) 2023-04-09 10:13:28 +00:00
Bert Blommers
0e6d27bac0
S3: Allow Bucket Creation without specifying Content-Length header (#6190) 2023-04-09 10:05:43 +00:00
Bert Blommers
1eb3479d08
Techdebt: MyPy P (#6189) 2023-04-08 20:44:26 +00:00
Bert Blommers
ba05cc9c81
S3: Allow DeleteMarker as appropriate (#6187) 2023-04-08 10:34:15 +00:00
Bert Blommers
bab61089a3
RDS: Various improvements (#6186) 2023-04-08 10:33:09 +00:00
Bert Blommers
1111e10b87
DynamoDB: Allow attribute name 'S' (#6185) 2023-04-07 21:02:00 +00:00
Josh Kropf
dc460a3258
EC2: Fix egress rules used in ingress revoke method (#6180) 2023-04-06 18:59:18 +00:00
Matthew Burke
bbb07b4e7e
Cognito: Validate password in NEW_PASSWORD_REQUIRED (#6174) 2023-04-05 16:15:30 +00:00
Cole Peters
f424c6ac05
DynamoDB:query() KeyConditionExpression now allows enclosing the sort key condition in brackets (#6178) 2023-04-05 14:30:19 +00:00
Bert Blommers
be17a7d8e2
Logs: put_subscription_filter() now supports KinesisStream destinations (#6176) 2023-04-05 09:36:37 +00:00
Bert Blommers
6c32c089a1
Feature: LakeFormation (#6172) 2023-04-04 09:36:48 +00:00
Bert Blommers
706ff9f5e0
Techdebt: MyPy M (#6170) 2023-04-03 22:50:19 +00:00
Bert Blommers
52870d6114
Feature: RDS Data (#6168) 2023-04-03 16:18:10 +00:00
Lewis Gaul
2667a53725
EC2: Support assigning specified private IP addrs (#6147) 2023-04-03 09:16:31 +00:00
Jordan Sanders
7dc17d655b
CloudFormation: Implement Fn::ToJsonString (#6167) 2023-04-02 21:56:24 +00:00
Bert Blommers
0677f69211
ECS: run_task() now validates the provided launch-type (#6161) 2023-04-02 11:44:10 +00:00
Bert Blommers
0e58d3996b
APIGateway: Allow semicolon in path (#6159) 2023-04-01 22:37:57 +00:00
Bert Blommers
d343981916
S3: head_object() now returns the AcceptRanges header (#6157) 2023-04-01 20:20:29 +00:00
Basti110
fe1869212f
dynamodb AttributeUpdate ADD/PUT/DELETE for NS (#6138) 2023-04-01 16:47:04 +00:00
Viren Nadkarni
d0cfddebfd
EC2: Implement GetLaunchTemplateData (#6152)
* EC2: Implement GetLaunchTemplateData

* Update implementation coverage docs

* Fix test
2023-03-30 16:53:26 +01:00
Ian Tempest
20ea1f43ac
ecr.put_image - Support imageManifestMediaType parameter (issue 6135) (#6136)
* ecr.put_image - Support imageManifestMediaType parameter (issue 6135)

* test_put_image_without_mediatype alternative error raised in server mode

* Fix indentation in test_put_image_without_mediatype
2023-03-30 08:40:57 +01:00
Brian Pandola
93638de380
Add filtering support for RDS::DBCluster (#6144)
* Add filtering support for RDS::DBCluster

* Add support for filtering by `db-cluster-id`.
* Add support for filtering by `engine`.

Obviates the need for the recent change (#6114) because the filter definition maps
`db_cluster_id` to either `db_cluster_identifier` or `db_cluster_arn`.

* No longer required due to filter configuration.

* Account for Neptune weirdness...
2023-03-28 08:54:41 +01:00
Bert Blommers
e0726f2d63
Feature: OpenSearch (#6128) 2023-03-26 12:43:28 +00:00
Bert Blommers
638171a9e1
SecretsManager - deal with partial ARNs (#6127) 2023-03-25 11:00:17 -01:00
Jordan Sanders
5c2fc55ea1
CloudFormation: Implement Fn::Sub variable mapping (#6124) 2023-03-24 18:33:52 -01:00
Jordan Sanders
d33fe9e086
Implement CloudFormation Stack deletion for VPCs, Subnets (#6118) 2023-03-24 16:49:03 -01:00
Bert Blommers
ea96013957
S3: get_object() now returns the AcceptRanges header (#6121) 2023-03-24 10:55:56 -01:00
Jordan Sanders
e3244a9678
CloudFormation: Support Retain DeletionPolicy in stacks (#6115) 2023-03-24 10:39:02 -01:00
Bert Blommers
3adbb8136a
RDS: describe_db_clusters() now accepts an ARN as identifier (#6114) 2023-03-23 16:57:17 -01:00
Bert Blommers
64abff588f
S3: head_bucket() now returns the region-header (#6107) 2023-03-23 09:13:51 -01:00
Bert Blommers
53603b01c7
EC2: create_route() should allow overlapping CIDR's (#6106) 2023-03-22 13:07:58 -01:00
Bert Blommers
681db433fd
S3: select_object_content() (Experimental) (#6103) 2023-03-21 15:55:19 -01:00
cloudsurfer
dbee9f0c07
RDS: added TagList to DatabaseSnapshot Model (#6083) 2023-03-20 15:58:24 -01:00
Bert Blommers
2b9c98895c
Events: Separate Rules by the EventBus they're assigned to (#6091) 2023-03-20 13:47:22 -01:00
Bert Blommers
75d1018c28
CloudFormation - support AWS::CloudFormation::Stack-resources (#6086) 2023-03-18 15:19:06 -01:00
Bert Blommers
8bf55cbe0e
IOT: delete_certificate() now supports the forceDelete-parameter (#6085) 2023-03-18 09:36:26 -01:00
Bert Blommers
5eef06ee51
DynamoDB: allow leading underscore in expression attr name (#6082) 2023-03-17 14:22:05 -01:00
Bert Blommers
c4c5cdd3e7
Techdebt: Explicitly add credentials to ThreadedMotoServer tests (#6081) 2023-03-17 12:05:05 -01:00
Bert Blommers
94100c116c
S3: get_object_attributes() (#6075) 2023-03-16 10:56:20 -01:00
Paul Martins
1257e93ec0
Athena fixes and additions (#6055) 2023-03-12 16:14:33 -01:00
Hans Donner
18ec0c5467
Techdebt: skip tests when docker is not running (#6026) 2023-03-12 15:54:50 -01:00
Bert Blommers
0d7cec26b7
EC2: Revoke rules without specifying IPProtocol (#6057) 2023-03-12 15:52:15 -01:00
Bert Blommers
e70911fd35
CognitoIDP: ID-token has different key for username (#6056) 2023-03-12 09:19:33 -01:00
CiolFr
25f0c660f7
EC2: describe_security_group_rules now uses Filter-argument (#6041) 2023-03-11 22:28:16 -01:00
Steph Manning
1934d24ad5
Support CloudFormation and ECS ResourceTypeFilters in ResourceGroupsTaggingAPI get_resources() (#6023) 2023-03-11 12:19:22 -01:00
Bert Blommers
d022b404d3
SecretsManager - put/delete_resource_policy (#6049) 2023-03-10 22:45:21 -01:00
Hans Donner
0231979c18
Techdebt: Sure - Dax (#6044) 2023-03-10 11:45:48 -01:00
Przemysław Dąbek
aa9bba72af
[Glue] Add support to more fields in Glue job (#6045) 2023-03-10 11:45:16 -01:00
Viren Nadkarni
2c9c7a7a63
S3: Restored archived objects must be retrievable (#6043) 2023-03-09 21:00:17 -01:00
Brian Pandola
84174e129d
TechDebt: Remove __future__ imports (#6037) 2023-03-08 20:50:13 -01:00
Bert Blommers
2b00b050de
Firehose Improvements (#6028) 2023-03-07 22:08:55 -01:00
Bert Blommers
adfbff1095
EC2: create_vpc_endpoint() should use default policy document if not provided (#6022) 2023-03-06 23:21:02 -01:00
Bert Blommers
26904fdb36
CloudFormation: Error when referencing unknown resource in FN:GetAtt (#6019) 2023-03-06 15:00:20 -01:00
Viren Nadkarni
a30dbafc93
EC2: DestinationCidrBlock filter for DescribeRouteTables (#5932) 2023-03-06 12:19:23 -01:00
Bert Blommers
57205668ed
DynamoDB: Ensure first argument to list_append() exists (#6011) 2023-03-04 12:25:48 -01:00
Bert Blommers
f6ead48401
SSM: Include default parameters at /aws/service/ecs/optimized-ami (#6008) 2023-03-04 11:36:00 -01:00
Bert Blommers
8b058d9177
S3: Improve Cors AllowedOrigin behaviour (#6007) 2023-03-03 21:40:55 -01:00
Bert Blommers
96b8e12d45
Glue: get_table() should return latest version (#6006) 2023-03-03 18:43:44 -01:00
Bert Blommers
d525423f94
Admin: Add tests for Java SDK (#6002) 2023-03-02 13:28:21 -01:00
Bert Blommers
c5a91e6cc6
Lambda+SQS: Allow FIFO queues to be used as event sources (#5998) 2023-03-01 14:03:20 -01:00
Bogdan Girman
490e631245
Sagemaker: Store client_request_token in FakePipelineExecution object (#6000) 2023-03-01 10:19:05 -01:00
Brian Pandola
98c8cd3b5d
ResourceTaggingAPI: Add support for AWS::RDS::DBCluster resource (#5999) 2023-02-28 10:22:42 -01:00
Bert Blommers
c4f99f3102
Techdebt: SSM: Specific param may not exist on the first page (#5995) 2023-02-27 22:06:19 -01:00
Bert Blommers
88d991e306
DynamoDB: describe_table() - return correct error msg (#5997) 2023-02-27 22:05:50 -01:00
Joseph Eichenhofer
267509413e
KMS - implement KeyId parameter for ListAliases (#5991) 2023-02-27 14:43:43 -01:00
Pepe Fagoaga
fd66843cf7
ACM: Include more info to the list_certificates (#5973) 2023-02-26 19:45:54 -01:00
Bert Blommers
651722689f
Admin: Improve automatic resource updates (#5988) 2023-02-26 18:44:04 -01:00
Bert Blommers
2d3867dbd5
Service: Neptune (#5983) 2023-02-26 15:27:08 -01:00
Bert Blommers
3a430780f7
Terraform - Update to latest commit (#5982) 2023-02-25 19:24:03 -01:00
Bert Blommers
5d7d096bed
EC2: describe_instances() should be able to filter by exact tag-values (#5980) 2023-02-25 10:19:28 -01:00
Dan Ward
354c81b7e1
Glue: get_jobs() (#5974) 2023-02-25 10:18:01 -01:00
Adrián Tomás
dae4f4947e
Cognito: add groups to idToken (#5977) 2023-02-24 21:14:08 -01:00
Tuukka Ikkala
5dd155de4b
Athena - Make query results configurable (#5928) 2023-02-24 20:25:54 -01:00
Bert Blommers
95bbb5af4b
Glue: get_table_version() (#5968) 2023-02-24 20:24:01 -01:00
Bert Blommers
5d87085435
KMS: re_encrypt() should accept alias (#5969) 2023-02-24 13:54:17 -01:00
Julian Charlot
c875e7aa0e
Enhancement - Add policy to update rest api for apigateway (#5951) 2023-02-22 21:42:13 -01:00
Bert Blommers
11e2120046
KMS: encrypt() should allow an alias as argument (#5959) 2023-02-22 10:22:37 -01:00
Bert Blommers
7816b191b8
Core: Reset data when mock stops (#5958) 2023-02-22 10:21:45 -01:00
Bert Blommers
03dfbe6931
DynamoDB: scan() should respect the Projection-attribute of GSI/LSI's (#5960) 2023-02-22 10:16:54 -01:00
steffyP
d1e3f50756
RDS: add arn for OptionGroup (#5955) 2023-02-21 15:07:19 -01:00
Bert Blommers
d001f6a226
S3: Fix Signature calculation for requests that contain a querystring (#5949) 2023-02-20 19:48:59 -01:00
Bert Blommers
dd240d7c5b
chore: update EC2 Instance Offerings (#5946) 2023-02-19 17:25:54 -01:00
Dan Aronson
1c8511656e
IdentityStore: implement create_group (#5935) 2023-02-18 20:22:44 -01:00
Bert Blommers
eb79d064e8
IAM: get_user() should return PasswordLastUsed-field if set (#5942) 2023-02-18 09:48:02 -01:00
Bert Blommers
0b1333c66d
S3: Close more filehandles (#5939) 2023-02-17 23:02:26 -01:00
Bert Blommers
768a8884ef
Glue:get_table_version() - Add VersionId/UpdateTime fields (#5940) 2023-02-17 10:35:15 -01:00
Bert Blommers
418c69f477
Techdebt: MyPy EC2 (#5936) 2023-02-16 20:43:43 -01:00
Bert Blommers
e019473dee
S3: Close file-handles of created known FakeKeys explicitly (#5934) 2023-02-16 09:52:01 -01:00
Bert Blommers
78840fd71c
EC2: Simplify DryRun-handling (#5926) 2023-02-14 12:43:28 -01:00
Bert Blommers
40a3a529f9
Core: Rework model_data to only clear on exit (#5920) 2023-02-12 16:58:30 -01:00
Bert Blommers
2d4564b58c
DynamoDB: Support declaration of non-key attributes (#5919) 2023-02-11 10:51:37 -01:00
Ben van den Berg
11ccbd0b9f
Transcribe: add IdentifyMultipleLanguages and return LanguageCodes (#5918) 2023-02-11 10:50:30 -01:00
Robert Schmidtke
c9fe32520d
Glue: support nanosecond-precision timestamp partition filtering (#5915) 2023-02-10 21:09:56 -01:00
shmuelqwak
c6c0e50ee9
[Glue] fix return dates error on sdk . (#5912) 2023-02-09 12:42:16 -01:00
Bert Blommers
f78ced59b3
Techdebt: Parallellize ACM/AMP tests (#5911) 2023-02-08 21:56:51 -01:00