Commit Graph

4448 Commits

Author SHA1 Message Date
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
Viren Nadkarni
749a8572ba
IAM: Fix resource list matching (#5908) 2023-02-07 13:24:59 -01:00
Bert Blommers
9870a7af6d
Techdebt: MyPy EC2 (i-models) (#5903) 2023-02-05 19:26:25 -01:00
Bert Blommers
7d7663d703
IAM: add_user_to_group() should be idempotent (#5899) 2023-02-03 11:07:02 -01:00
Bert Blommers
c1d85a005d
AWSLambda: Try to pull images from multiple repositories (#5895) 2023-02-02 11:56:50 -01:00
Przemysław Dąbek
985bf4f5a9
Glue: batch_get_crawlers (#5896) 2023-02-02 11:44:53 -01:00
Bert Blommers
19bfa92dd7
Kinesis - support Stream ARNs across all methods (#5893) 2023-02-01 15:16:25 -01:00
Sami Makki
91157895d4
EC2: Allow providing NIC template when creating several instances (#5887) 2023-01-31 21:21:14 -01:00
Bert Blommers
b42fd2e798
EKS: NodeGroups: Verify LaunchTemplateID when providing name, and vice versa (#5885) 2023-01-31 14:30:16 -01:00
Bert Blommers
ad016112fe
S3: Improve bucket policy enforcement (#5883) 2023-01-31 10:33:57 -01:00
Bert Blommers
ef1fab008a
ECS: Various improvements (#5880) 2023-01-29 22:47:50 -01:00
Bert Blommers
339309c9af
EC2: Support Dedicated Hosts (#5878) 2023-01-27 15:27:00 -01:00
Bert Blommers
2f8a356b3f
Batch: add SchedulingPolicy methods (#5877) 2023-01-26 14:06:50 -01:00
Bert Blommers
8dcf2d33ed
CognitoIDP: Error when detecting a duplicate email (#5876) 2023-01-25 09:20:03 -01:00
Bert Blommers
a11cc558db
Batch: Return RequestId for all operations (#5870) 2023-01-24 14:50:10 -01:00
Bert Blommers
23542b1b16
DynamoDB: transact_write_items() errors on empty GSI keys (#5873) 2023-01-24 14:33:34 -01:00
Bert Blommers
b0ee64f24a
Events: Support CrossAccount events (#5866) 2023-01-23 09:49:56 -01:00
Cesar Alvernaz
931bb6d960
APIGateway: add connection type field to integration model (#5867) 2023-01-23 09:48:59 -01:00
Bert Blommers
3a023f0fe1
ECS: list_services() now throws correct error when providing unknown cluster (#5865) 2023-01-22 15:07:52 -01:00
Bert Blommers
90e63c1cb5
SES: Ensure service is region-aware (#5862) 2023-01-21 17:10:55 -01:00
Bert Blommers
66507dd898
SES: Improve template parsing (#5853) 2023-01-19 18:27:39 -01:00
Uzair Ali
ba78420314
Feature describe_security_group_rules for ec2 (#5841) 2023-01-17 18:34:41 -01:00
Bert Blommers
50da0d0667
S3: Enable bucket logging (#5847) 2023-01-16 22:36:08 -01:00
Bert Blommers
84e0e39d04
Glue: get/delete/list_registries, get/update_schema (#5849) 2023-01-16 21:14:48 -01:00
Tristan Rice
a17956927f
Batch: add multinode support (#5840) 2023-01-14 15:02:32 -01:00
Bert Blommers
173e1549c0
APIGateway: get_export() (#5844) 2023-01-14 15:00:07 -01:00
Bert Blommers
6e7d3ec938
DynamoDB: Add validation for GSI attrs set to None (#5843) 2023-01-14 14:51:47 -01:00
mgshirali
e47a2fd120
RDS: Support PreferredMaintenanceWindow for DBInstance (#5839) 2023-01-13 22:11:03 -01:00
stiebels
afeebd8993
Sagemaker mock call: start_pipeline, list_pipeline_executions, describe_pipeline_execution, describe_pipeline_definition_for_execution, list_pipeline_parameters_for_execution #5 (#5836) 2023-01-12 18:18:30 -01:00
Bert Blommers
79616e11e6
Core: Allow same request to be made multiple times (#5837) 2023-01-12 11:11:27 -01:00
Matthew Davis
5d2f2bca8c
SSM param type validation (#5835) 2023-01-12 11:06:40 -01:00
Roc Granada Verdú
6da12892a3
Batch simple jobs inform log stream name (#5825) 2023-01-11 19:45:09 -01:00
Brendan Keane
180b0b902f
KMS: Add TargetKeyId to default kms key alias response. (#5805) 2023-01-11 19:43:48 -01:00
Luuk v/d Maagdenberg
2c47ee10b1
EC2: support $Latest and $Default when describing launch templates (#5822) 2023-01-11 18:31:14 -01:00
stiebels
4b117c4884
Add sagemaker mock call: describe_pipeline (#5797)
* Added mock for sagemaker describe-pipeline call

* Added NotImplementedError for PipelineDefinitionS3Location

* Added support for PipelineDefinitionS3Location

* Extended unit tests

* Moved arn_formatter into utils

* Import arn_formatter in test_sagemaker_pipeline

* Adding uniqueness check for PipelineName

* Removed unused import

* Swapped client for s3_backend

* Corrected kwarg names

* From direct s3_backend to mocked boto call due to strange error

* Changed to using s3_backends from mocked boto3 call

* Remove unused argument

* Black formatting

* Delete object and bucket to avoid duplicate bucket names error

* Try to fix bucket collisions

* Remove unused lines

* Switched to mock

* SkipTest in server mode

* Switched to handling inside to-be tested method

* added s3 mock

* mock s3

* Change mocking s3

* Removed unnecessary tests

* Switch to only s3_backend

* Adding skiptest to load from s3
2023-01-11 18:30:07 -01:00
shanishiri
cf0bcbce91
Support tags in ECS start_task and describe_tasks (#5817) 2023-01-11 18:28:07 -01:00
Bert Blommers
27a2e42d9b
Admin: Update Docs to point to getmoto (#5826) 2023-01-07 10:35:14 -01:00
Bert Blommers
89fdf9dbcb
Remove Py3.6 support (#5818) 2023-01-06 11:07:20 -01:00
Bert Blommers
d68fb04ee1
IOTData: Fix bug where publish() could only be called once (#5812) 2023-01-03 20:21:52 -01:00
Abdullah Ahmed
031f89dee0
Implement secretsmanager CancelRotateSecret (#5809) 2023-01-03 18:22:38 -01:00
Daniel Fangl
555928af5d
IAM: add tags for users to get-account-authorization-details response (#5803) 2022-12-22 18:03:33 -01:00
Ian Brown
446930fcc0
CloudFormation: changing error message to match aws api (stack update attempt with no updates) (#5800) 2022-12-22 18:01:34 -01:00
Viren Nadkarni
a53f620846
IoT: Generate valid keys and certificates (#5801) 2022-12-22 15:49:14 -01:00
Viren Nadkarni
fb0a4d64c8
EC2: Implement GetPasswordData (#5798) 2022-12-22 09:57:19 -01:00
Paweł Rubin
ca60f13c45
fix(route53): Allow upsert for resource records that already exist. (#5788) 2022-12-21 22:38:27 -01:00
steffyP
fbc3710f69
CloudWatch: support statistic-values in put-metric-data (#5793) 2022-12-21 18:07:41 -01:00
Bert Blommers
bdef72d481
CognitoIDP: sign_out() should invalidate AccessToken (#5794) 2022-12-20 21:09:02 -01:00
sist
008d5b958e
Add sagemaker mock call: update_pipeline (#5787) 2022-12-19 22:35:37 -01:00
Bert Blommers
626803a78e
Prepare release 4.0.12 (#5781) 2022-12-18 09:06:52 -01:00
Bert Blommers
42d8216623
Techdebt: KMS: Mock RSA calls in some tests (#5782) 2022-12-17 20:35:07 -01:00
sist
f67abbe1f3
Add sagemaker mock call: delete_pipeline (#5780) 2022-12-17 09:38:23 -01:00
Bert Blommers
137f06b55e
KMS: Basic key policy enforcement (#5777) 2022-12-16 20:47:38 -01:00
Hisashi Kamezawa
52891e1641
EC2: Add iops to volume (#5776) 2022-12-16 19:22:55 -01:00
sist
e5d40f63f8
SageMaker: create_pipeline, list_pipelines (#5771) 2022-12-16 17:24:14 -01:00
Brendan Keane
2cf770f697
ECR Manifest List Support (#5753) 2022-12-16 17:22:43 -01:00
Bert Blommers
16f9ff56a3
Kinesis: Support new endpoint for botocore 1.29.31 (#5778) 2022-12-16 14:53:27 -01:00
Greg Hinch
07a8d6f009
Add Athena: get_query_results, list_query_executions (#5648) 2022-12-15 19:49:48 -01:00
Chih-Hsuan Yen
15d3cdb794
Techdebt: replace mock with unittest.mock (#5775) 2022-12-15 11:17:50 -01:00
Joey Gracey
a4146f0179
Route53: Create SOA in create_hosted_zone (#5763) 2022-12-14 22:58:55 -01:00
Bert Blommers
cb27b55008
DynamoDB: Allow removal of multiple listitems (#5767) 2022-12-14 10:07:34 -01:00
Viren Nadkarni
77cf4e3143
S3: Return checksum header only if set (#5765) 2022-12-14 10:06:35 -01:00
Bert Blommers
c498c14ba3
CognitoIDP - Validate password using policy (#5768) 2022-12-14 08:39:50 -01:00
Bert Blommers
6654f6ee9a
SSM: Improve tag filtering (#5752) 2022-12-10 21:36:09 -01:00
Bert Blommers
b2300f1eae
Route53: Validate deletion of RRsets (#5743) 2022-12-10 10:07:30 -01:00
Daniel Roschka
0588db704a
Remove dependency on pytz (#5749) 2022-12-09 22:56:08 -01:00
Viren Nadkarni
9e19d35ce8
Route53: Record overwrites: fix error msg (#5747) 2022-12-09 22:52:05 -01:00
Bert Blommers
4ac9e91dfd
Core: Detect unknown regions as part of the URL (#5745) 2022-12-09 11:47:09 -01:00
Alex Fields
4eb3944b1d
RDS: promote_read_replica (#5739) 2022-12-08 11:03:32 -01:00
g-dx
8f074b0799
CloudFront: Persist origin changes made via update-distribution calls (#5736) (#5737) 2022-12-07 23:02:01 -01:00
Bert Blommers
623be47c4d
S3:put_object(): Return ChecksumAlgorithm-attribute if supplied (#5735) 2022-12-06 22:03:28 -01:00
Viren Nadkarni
4ec748542f
EC2: AllocateAddress fallback domain (#5729) 2022-12-05 20:20:03 -01:00
Bert Blommers
d359b5d074
AWSLambda: Only publish functions when source has changed (#5734) 2022-12-05 09:31:20 -01:00
Brian Pandola
7c44e48670
Fix: SQS fails to get newly-visible messages when long polling (#5733)
The [original commit to remove the `sleep` call][1], only considered newly-arriving
messages; but didn't take into account that existing messages could become visible
in a much shorter time duration than the wait timeout.  This commit addresses this
by checking for newly-visible messages at the visibility timeout granularity (seconds),
which is still a major improvement over the original 10 millisecond polling.

[1]: <d560ff002d> "Remove Sleep Call"
2022-12-04 18:00:56 -08:00
Bert Blommers
d10a8e9900
Cloudformation: Various attributes (#5732) 2022-12-03 21:21:52 -01:00
Bert Blommers
aeb507f091
CloudFormation: Improve behaviour of StackInstances (#5731) 2022-12-03 16:07:04 -01:00
Maël Mandis
e4c0d0618c
CloudWatch: Add custom label param to get_metric_data (#5728) 2022-12-02 21:00:25 -01:00
Viren Nadkarni
08c65a9a3c
EC2: fix launch template names not being reusable after delete (#5726) 2022-12-02 12:17:06 -01:00
Bert Blommers
42597decb5
Route53: Intercept duplicate calls to change_rr_sets (#5725) 2022-11-30 22:35:20 -01:00
Bert Blommers
b4f0fb7137
Prepare release 4.0.11 (#5724) 2022-11-30 20:09:37 -01:00
rafcio19
ceffba0eac
EC2: Only load custom amis when specified (#5697) 2022-11-30 16:41:42 -01:00
Day Barr
462fb23813
Polly: Update the list of voices (#5723) 2022-11-30 16:00:40 -01:00
Bogdan Girman
fda02e659e
CloudWatch: Add unit filter to query get_metric_data (#5722) 2022-11-30 14:02:59 -01:00
Bert Blommers
5ea02ec1b6
DynamoDB: batch_get_item() now only returns up to 16MB of data (#5718) 2022-11-29 18:38:53 -01:00
Bert Blommers
5e4d39e189
Techdebt: Refactor/remove warnings in ResourceGroups tests (#5716) 2022-11-29 18:22:09 -01:00
bmaisonn
4844af09cc
Batch: add jobname validation (#5720) 2022-11-29 08:44:25 -01:00
Bert Blommers
672c95384a
Feature: ACM-PCA (#5712) 2022-11-28 12:22:48 -01:00
Brendan Keane
22539585e7
APIGatewayV2 mappings (#5711) 2022-11-27 21:25:56 -01:00
Rahi Bhensdadia
97b5e8b3ab
SQS: Implement DelaySeconds validation (#5703) 2022-11-27 20:47:18 -01:00
Chu Duc
ff1f420689
Cognito payload - Switch key name of "client_id" (#5708) 2022-11-25 20:06:12 -01:00
Bert Blommers
e5a1115834
ELB: describe_instance_health() should check LB existence (#5706) 2022-11-23 18:10:18 -01:00
aiudirog
f7c504b0eb
CloudFormation: Fixed TypeError using Number Parameters with Fn::Sub (#5705) 2022-11-23 14:52:46 -01:00
Brendan Keane
3d95ac0978
AWSlambda: Let create_function reference ECR via ImageUri (#5688) 2022-11-23 12:16:33 -01:00
Bert Blommers
740f1f103e
S3: Allow keynames with spaces (#5701) 2022-11-22 22:41:02 -01:00
rafcio19
d6c438400e
DDB transaction limit increased to 100 (#5696) 2022-11-22 16:25:47 -01:00
Neil Greenwood
4008011a7b
Cloudfront: Don't add empty Items to list_invalidations (#5699) 2022-11-22 16:23:21 -01:00
Bert Blommers
b4f59b771c
Techdebt: Replace string-format with f-strings (#5695) 2022-11-21 22:20:19 -01:00
Cesar Alvernaz
9fab501c2e
APIGateway: Add two new properties to the integration model object (#5693) 2022-11-21 20:46:07 -01:00
jake-sigtech
310ef4885a
DynamoDB: fix: Add support for ReturnValuesOnConditionCheckFailure=ALL_OLD (#5676) 2022-11-18 20:51:51 -01:00
Pepe Fagoaga
dfd45d80ab
Secretsmanager: fix(add-secret): SecretString can be None (#5672) 2022-11-18 20:18:47 -01:00
Bert Blommers
5760e5fe48
Upgrade TF (#5683) 2022-11-18 20:17:24 -01:00
Bert Blommers
1a8ddc0f2b
Techdebt: Replace string-format with f-strings (for tests dirs) (#5678) 2022-11-17 21:41:08 -01:00
Bert Blommers
68cf3e8a1d
Events: delete_rule() with unknown name should fail silently (#5665) 2022-11-17 16:36:10 -01:00
Brian Pandola
4c738ed5b2
Fix: RDS server test should use Query protocol (#5679) 2022-11-16 18:58:24 -08:00
Cesar Alvernaz
db47aeeb02
APIGateway: Add response parameters to integration response (#5675) 2022-11-16 22:46:50 -01:00
Lukáš Lalinský
fa77d22d72
S3: Fix IfModifiedSince handling in S3 get_object/head_object (#5673) 2022-11-16 20:12:48 -01:00
Alexandru Ciucă
fe64a02851
SWF: Schedule a single task if another is started (#5671) 2022-11-16 09:44:00 -01:00
Alexandru Ciucă
e410347520
[SWF] runId should be optional (#5670) 2022-11-16 09:40:38 -01:00
Alexandru Ciucă
d6b4b9718d
SWF: Start just one decision task at a time (#5669) 2022-11-16 09:36:40 -01:00
steffyP
6b50b8020f
CloudWatch: add support for put-metric-data with values list (#5658) 2022-11-14 10:41:42 -01:00
Pepe Fagoaga
df64b7b777
feat(CloudFront): Include get_distribution_config (#5660) 2022-11-11 22:32:00 -01:00
Pepe Fagoaga
4b946ce208
feat(CloudFront): Include missing fields (#5659) 2022-11-11 22:29:44 -01:00
Bert Blommers
37845792d3
DynamoDB: put_item(): Improve type validation (#5654) 2022-11-10 21:52:02 -01:00
Mateusz Głowiński
8c9838cc8c
CognitoIDP: Replace email with username in cogntio JWT tokens (#5652) 2022-11-10 16:08:56 -01:00
Bert Blommers
ea8718d402
TechDebt: Move BackendDict to base_backend (#5645) 2022-11-10 08:43:20 -01:00
Pepe Fagoaga
57107f8ead
CloudFormation: Include EnableTerminationProtection (#5647) 2022-11-09 18:42:14 -01:00
bmaisonn
996ff44ab5
Batch Simple: Fix regression where 'container' parameter was not returned. (#5644) 2022-11-07 19:24:24 -01:00
Brian Pandola
3c26da6f64
Fix Race Condition in Parallel AWS Lambda Server Mode Tests (#5643) 2022-11-07 19:03:07 -01:00
David Laban
d560ff002d
Remove microsleep (#1903)
Use `threading.Condition` instead of `sleep()` to prevent high cpu usage while SQS long polling on an empty queue. 

Ref: #871
Ref: #1916

Co-authored-by: Brian Pandola <bpandola@gmail.com>
2022-11-05 06:09:58 -07:00
Ninh Khong
37a127acd5
CloudFormation: Add actions for ssm parameter (#3256) 2022-11-05 10:06:12 -01:00
David
79aaf2bc03
Organizations: Add delete_organizational_unit (#5635) 2022-11-03 15:13:06 -01:00
Brian Pandola
7eb925839e
RDS: Add EarliestRestorableTime to rds:DescribeDBClusters response (#5634) 2022-11-03 12:07:49 -01:00