localstack-core 4.7.1.dev139__py3-none-any.whl → 4.10.1.dev42__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of localstack-core might be problematic. Click here for more details.
- localstack/aws/api/acm/__init__.py +122 -122
- localstack/aws/api/apigateway/__init__.py +560 -559
- localstack/aws/api/cloudcontrol/__init__.py +63 -63
- localstack/aws/api/cloudformation/__init__.py +1041 -969
- localstack/aws/api/cloudwatch/__init__.py +408 -368
- localstack/aws/api/config/__init__.py +788 -786
- localstack/aws/api/core.py +4 -0
- localstack/aws/api/dynamodb/__init__.py +753 -759
- localstack/aws/api/dynamodbstreams/__init__.py +74 -74
- localstack/aws/api/ec2/__init__.py +9713 -8573
- localstack/aws/api/es/__init__.py +453 -453
- localstack/aws/api/events/__init__.py +552 -552
- localstack/aws/api/firehose/__init__.py +541 -543
- localstack/aws/api/iam/__init__.py +646 -572
- localstack/aws/api/kinesis/__init__.py +251 -144
- localstack/aws/api/kms/__init__.py +343 -333
- localstack/aws/api/lambda_/__init__.py +585 -571
- localstack/aws/api/logs/__init__.py +682 -666
- localstack/aws/api/opensearch/__init__.py +814 -785
- localstack/aws/api/pipes/__init__.py +336 -336
- localstack/aws/api/redshift/__init__.py +1192 -1164
- localstack/aws/api/resource_groups/__init__.py +175 -175
- localstack/aws/api/resourcegroupstaggingapi/__init__.py +67 -67
- localstack/aws/api/route53/__init__.py +256 -254
- localstack/aws/api/route53resolver/__init__.py +396 -396
- localstack/aws/api/s3/__init__.py +1358 -1345
- localstack/aws/api/s3control/__init__.py +616 -584
- localstack/aws/api/scheduler/__init__.py +118 -118
- localstack/aws/api/secretsmanager/__init__.py +193 -193
- localstack/aws/api/ses/__init__.py +227 -227
- localstack/aws/api/sns/__init__.py +115 -115
- localstack/aws/api/sqs/__init__.py +100 -100
- localstack/aws/api/ssm/__init__.py +1978 -1970
- localstack/aws/api/stepfunctions/__init__.py +323 -323
- localstack/aws/api/sts/__init__.py +90 -66
- localstack/aws/api/support/__init__.py +112 -112
- localstack/aws/api/swf/__init__.py +378 -386
- localstack/aws/api/transcribe/__init__.py +425 -425
- localstack/aws/client.py +7 -2
- localstack/aws/forwarder.py +52 -5
- localstack/aws/handlers/analytics.py +1 -1
- localstack/aws/handlers/logging.py +12 -2
- localstack/aws/handlers/metric_handler.py +41 -1
- localstack/aws/handlers/service.py +43 -10
- localstack/aws/protocol/parser.py +440 -21
- localstack/aws/protocol/serializer.py +684 -64
- localstack/aws/protocol/service_router.py +120 -20
- localstack/aws/scaffold.py +15 -17
- localstack/aws/skeleton.py +4 -2
- localstack/aws/spec-patches.json +58 -0
- localstack/aws/spec.py +33 -13
- localstack/cli/exceptions.py +1 -1
- localstack/cli/localstack.py +10 -5
- localstack/cli/lpm.py +3 -4
- localstack/cli/profiles.py +1 -2
- localstack/config.py +18 -12
- localstack/constants.py +4 -29
- localstack/dev/kubernetes/__main__.py +39 -4
- localstack/dev/run/paths.py +1 -1
- localstack/dns/plugins.py +5 -1
- localstack/dns/server.py +12 -3
- localstack/packages/api.py +9 -8
- localstack/packages/core.py +2 -2
- localstack/packages/plugins.py +0 -8
- localstack/runtime/init.py +1 -1
- localstack/services/apigateway/helpers.py +5 -9
- localstack/services/apigateway/legacy/provider.py +85 -12
- localstack/services/apigateway/next_gen/execute_api/integrations/aws.py +3 -0
- localstack/services/apigateway/next_gen/execute_api/integrations/http.py +3 -3
- localstack/services/apigateway/next_gen/execute_api/test_invoke.py +50 -6
- localstack/services/apigateway/next_gen/provider.py +5 -0
- localstack/services/apigateway/patches.py +0 -9
- localstack/services/cloudformation/engine/entities.py +12 -1
- localstack/services/cloudformation/engine/v2/change_set_model.py +0 -3
- localstack/services/cloudformation/engine/v2/change_set_model_describer.py +14 -0
- localstack/services/cloudformation/engine/v2/change_set_model_executor.py +13 -15
- localstack/services/cloudformation/engine/v2/change_set_model_preproc.py +118 -24
- localstack/services/cloudformation/engine/v2/change_set_model_transform.py +4 -1
- localstack/services/cloudformation/engine/v2/change_set_model_validator.py +5 -14
- localstack/services/cloudformation/engine/v2/change_set_model_visitor.py +1 -0
- localstack/services/cloudformation/engine/v2/resolving.py +6 -4
- localstack/services/cloudformation/engine/yaml_parser.py +9 -2
- localstack/services/cloudformation/provider.py +2 -2
- localstack/services/cloudformation/resource_provider.py +5 -1
- localstack/services/cloudformation/resources.py +24149 -0
- localstack/services/cloudformation/v2/entities.py +6 -3
- localstack/services/cloudformation/v2/provider.py +178 -33
- localstack/services/cloudformation/v2/types.py +8 -4
- localstack/services/cloudwatch/provider_v2.py +25 -28
- localstack/services/dynamodb/packages.py +2 -1
- localstack/services/dynamodb/provider.py +42 -0
- localstack/services/dynamodb/v2/provider.py +42 -0
- localstack/services/ecr/resource_providers/aws_ecr_repository.py +5 -2
- localstack/services/es/provider.py +2 -2
- localstack/services/events/event_rule_engine.py +31 -13
- localstack/services/events/models.py +4 -5
- localstack/services/events/target.py +17 -9
- localstack/services/iam/provider.py +11 -116
- localstack/services/iam/resources/policy_simulator.py +133 -0
- localstack/services/kinesis/models.py +15 -2
- localstack/services/kinesis/packages.py +1 -1
- localstack/services/kinesis/provider.py +77 -0
- localstack/services/kms/models.py +34 -4
- localstack/services/kms/provider.py +107 -21
- localstack/services/lambda_/api_utils.py +3 -1
- localstack/services/lambda_/invocation/internal_sqs_queue.py +5 -9
- localstack/services/lambda_/packages.py +1 -1
- localstack/services/lambda_/provider.py +1 -1
- localstack/services/lambda_/runtimes.py +8 -3
- localstack/services/logs/provider.py +36 -19
- localstack/services/moto.py +2 -1
- localstack/services/opensearch/cluster.py +15 -7
- localstack/services/opensearch/packages.py +26 -7
- localstack/services/opensearch/provider.py +6 -1
- localstack/services/opensearch/versions.py +56 -7
- localstack/services/s3/constants.py +5 -2
- localstack/services/s3/cors.py +4 -4
- localstack/services/s3/notifications.py +1 -1
- localstack/services/s3/presigned_url.py +27 -43
- localstack/services/s3/provider.py +68 -12
- localstack/services/s3/utils.py +42 -11
- localstack/services/ses/provider.py +16 -7
- localstack/services/sns/constants.py +7 -1
- localstack/services/sns/v2/models.py +190 -0
- localstack/services/sns/v2/provider.py +992 -2
- localstack/services/sns/v2/utils.py +138 -0
- localstack/services/sqs/developer_api.py +205 -0
- localstack/services/sqs/models.py +79 -13
- localstack/services/sqs/provider.py +8 -309
- localstack/services/sqs/query_api.py +1 -1
- localstack/services/sqs/utils.py +121 -2
- localstack/services/stepfunctions/asl/jsonata/jsonata.py +1 -1
- localstack/testing/aws/cloudformation_utils.py +1 -1
- localstack/testing/pytest/cloudformation/fixtures.py +3 -3
- localstack/testing/pytest/container.py +4 -5
- localstack/testing/pytest/fixtures.py +20 -19
- localstack/testing/pytest/in_memory_localstack.py +0 -4
- localstack/testing/pytest/marking.py +13 -4
- localstack/testing/pytest/stepfunctions/utils.py +4 -3
- localstack/testing/pytest/util.py +1 -1
- localstack/testing/pytest/validation_tracking.py +1 -2
- localstack/testing/snapshots/transformer_utility.py +7 -0
- localstack/testing/testselection/matching.py +0 -1
- localstack/utils/analytics/events.py +2 -2
- localstack/utils/analytics/metadata.py +1 -2
- localstack/utils/analytics/metrics/counter.py +6 -8
- localstack/utils/analytics/publisher.py +1 -2
- localstack/utils/analytics/service_request_aggregator.py +2 -2
- localstack/utils/archives.py +11 -11
- localstack/utils/aws/arns.py +17 -9
- localstack/utils/aws/aws_responses.py +7 -7
- localstack/utils/aws/aws_stack.py +2 -3
- localstack/utils/aws/client_types.py +0 -8
- localstack/utils/aws/message_forwarding.py +1 -2
- localstack/utils/aws/request_context.py +4 -5
- localstack/utils/batch_policy.py +3 -3
- localstack/utils/bootstrap.py +7 -7
- localstack/utils/catalog/catalog.py +139 -0
- localstack/utils/catalog/catalog_loader.py +119 -0
- localstack/utils/catalog/common.py +58 -0
- localstack/utils/catalog/plugins.py +28 -0
- localstack/utils/cloudwatch/cloudwatch_util.py +5 -5
- localstack/utils/collections.py +7 -8
- localstack/utils/config_listener.py +1 -1
- localstack/utils/container_networking.py +2 -3
- localstack/utils/container_utils/container_client.py +115 -131
- localstack/utils/container_utils/docker_cmd_client.py +42 -42
- localstack/utils/container_utils/docker_sdk_client.py +63 -62
- localstack/utils/crypto.py +109 -0
- localstack/utils/diagnose.py +2 -3
- localstack/utils/docker_utils.py +3 -4
- localstack/utils/files.py +31 -7
- localstack/utils/functions.py +3 -2
- localstack/utils/http.py +4 -5
- localstack/utils/json.py +19 -5
- localstack/utils/kinesis/kinesis_connector.py +2 -1
- localstack/utils/net.py +6 -6
- localstack/utils/no_exit_argument_parser.py +2 -2
- localstack/utils/numbers.py +9 -2
- localstack/utils/objects.py +6 -5
- localstack/utils/patch.py +2 -1
- localstack/utils/run.py +10 -9
- localstack/utils/scheduler.py +11 -11
- localstack/utils/server/tcp_proxy.py +2 -2
- localstack/utils/serving.py +2 -3
- localstack/utils/strings.py +10 -11
- localstack/utils/sync.py +126 -1
- localstack/utils/tagging.py +1 -4
- localstack/utils/testutil.py +5 -4
- localstack/utils/threads.py +2 -2
- localstack/utils/time.py +11 -3
- localstack/utils/urls.py +1 -3
- localstack/version.py +2 -2
- {localstack_core-4.7.1.dev139.dist-info → localstack_core-4.10.1.dev42.dist-info}/METADATA +19 -13
- {localstack_core-4.7.1.dev139.dist-info → localstack_core-4.10.1.dev42.dist-info}/RECORD +203 -199
- {localstack_core-4.7.1.dev139.dist-info → localstack_core-4.10.1.dev42.dist-info}/entry_points.txt +4 -2
- localstack_core-4.10.1.dev42.dist-info/plux.json +1 -0
- localstack/packages/terraform.py +0 -46
- localstack/services/cloudformation/deploy.html +0 -144
- localstack/services/cloudformation/deploy_ui.py +0 -47
- localstack/services/cloudformation/plugins.py +0 -12
- localstack_core-4.7.1.dev139.dist-info/plux.json +0 -1
- {localstack_core-4.7.1.dev139.data → localstack_core-4.10.1.dev42.data}/scripts/localstack +0 -0
- {localstack_core-4.7.1.dev139.data → localstack_core-4.10.1.dev42.data}/scripts/localstack-supervisor +0 -0
- {localstack_core-4.7.1.dev139.data → localstack_core-4.10.1.dev42.data}/scripts/localstack.bat +0 -0
- {localstack_core-4.7.1.dev139.dist-info → localstack_core-4.10.1.dev42.dist-info}/WHEEL +0 -0
- {localstack_core-4.7.1.dev139.dist-info → localstack_core-4.10.1.dev42.dist-info}/licenses/LICENSE.txt +0 -0
- {localstack_core-4.7.1.dev139.dist-info → localstack_core-4.10.1.dev42.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
2
|
from enum import StrEnum
|
|
3
|
-
from typing import
|
|
3
|
+
from typing import TypedDict
|
|
4
4
|
|
|
5
5
|
from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
|
|
6
6
|
|
|
@@ -136,62 +136,62 @@ class ResourceNotFoundException(ServiceException):
|
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
class APIErrorType(TypedDict, total=False):
|
|
139
|
-
SecretId:
|
|
140
|
-
ErrorCode:
|
|
141
|
-
Message:
|
|
139
|
+
SecretId: SecretIdType | None
|
|
140
|
+
ErrorCode: ErrorCode | None
|
|
141
|
+
Message: ErrorMessage | None
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
APIErrorListType =
|
|
144
|
+
APIErrorListType = list[APIErrorType]
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
class ReplicaRegionType(TypedDict, total=False):
|
|
148
|
-
Region:
|
|
149
|
-
KmsKeyId:
|
|
148
|
+
Region: RegionType | None
|
|
149
|
+
KmsKeyId: KmsKeyIdType | None
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
AddReplicaRegionListType =
|
|
152
|
+
AddReplicaRegionListType = list[ReplicaRegionType]
|
|
153
153
|
AutomaticallyRotateAfterDaysType = int
|
|
154
|
-
FilterValuesStringList =
|
|
154
|
+
FilterValuesStringList = list[FilterValueStringType]
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
class Filter(TypedDict, total=False):
|
|
158
|
-
Key:
|
|
159
|
-
Values:
|
|
158
|
+
Key: FilterNameStringType | None
|
|
159
|
+
Values: FilterValuesStringList | None
|
|
160
160
|
|
|
161
161
|
|
|
162
|
-
FiltersListType =
|
|
163
|
-
SecretIdListType =
|
|
162
|
+
FiltersListType = list[Filter]
|
|
163
|
+
SecretIdListType = list[SecretIdType]
|
|
164
164
|
|
|
165
165
|
|
|
166
166
|
class BatchGetSecretValueRequest(ServiceRequest):
|
|
167
|
-
SecretIdList:
|
|
168
|
-
Filters:
|
|
169
|
-
MaxResults:
|
|
170
|
-
NextToken:
|
|
167
|
+
SecretIdList: SecretIdListType | None
|
|
168
|
+
Filters: FiltersListType | None
|
|
169
|
+
MaxResults: MaxResultsBatchType | None
|
|
170
|
+
NextToken: NextTokenType | None
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
CreatedDateType = datetime
|
|
174
|
-
SecretVersionStagesType =
|
|
174
|
+
SecretVersionStagesType = list[SecretVersionStageType]
|
|
175
175
|
SecretBinaryType = bytes
|
|
176
176
|
|
|
177
177
|
|
|
178
178
|
class SecretValueEntry(TypedDict, total=False):
|
|
179
|
-
ARN:
|
|
180
|
-
Name:
|
|
181
|
-
VersionId:
|
|
182
|
-
SecretBinary:
|
|
183
|
-
SecretString:
|
|
184
|
-
VersionStages:
|
|
185
|
-
CreatedDate:
|
|
179
|
+
ARN: SecretARNType | None
|
|
180
|
+
Name: SecretNameType | None
|
|
181
|
+
VersionId: SecretVersionIdType | None
|
|
182
|
+
SecretBinary: SecretBinaryType | None
|
|
183
|
+
SecretString: SecretStringType | None
|
|
184
|
+
VersionStages: SecretVersionStagesType | None
|
|
185
|
+
CreatedDate: CreatedDateType | None
|
|
186
186
|
|
|
187
187
|
|
|
188
|
-
SecretValuesType =
|
|
188
|
+
SecretValuesType = list[SecretValueEntry]
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
class BatchGetSecretValueResponse(TypedDict, total=False):
|
|
192
|
-
SecretValues:
|
|
193
|
-
NextToken:
|
|
194
|
-
Errors:
|
|
192
|
+
SecretValues: SecretValuesType | None
|
|
193
|
+
NextToken: NextTokenType | None
|
|
194
|
+
Errors: APIErrorListType | None
|
|
195
195
|
|
|
196
196
|
|
|
197
197
|
class CancelRotateSecretRequest(ServiceRequest):
|
|
@@ -199,50 +199,50 @@ class CancelRotateSecretRequest(ServiceRequest):
|
|
|
199
199
|
|
|
200
200
|
|
|
201
201
|
class CancelRotateSecretResponse(TypedDict, total=False):
|
|
202
|
-
ARN:
|
|
203
|
-
Name:
|
|
204
|
-
VersionId:
|
|
202
|
+
ARN: SecretARNType | None
|
|
203
|
+
Name: SecretNameType | None
|
|
204
|
+
VersionId: SecretVersionIdType | None
|
|
205
205
|
|
|
206
206
|
|
|
207
207
|
class Tag(TypedDict, total=False):
|
|
208
|
-
Key:
|
|
209
|
-
Value:
|
|
208
|
+
Key: TagKeyType | None
|
|
209
|
+
Value: TagValueType | None
|
|
210
210
|
|
|
211
211
|
|
|
212
|
-
TagListType =
|
|
212
|
+
TagListType = list[Tag]
|
|
213
213
|
|
|
214
214
|
|
|
215
215
|
class CreateSecretRequest(ServiceRequest):
|
|
216
216
|
Name: NameType
|
|
217
|
-
ClientRequestToken:
|
|
218
|
-
Description:
|
|
219
|
-
KmsKeyId:
|
|
220
|
-
SecretBinary:
|
|
221
|
-
SecretString:
|
|
222
|
-
Tags:
|
|
223
|
-
AddReplicaRegions:
|
|
224
|
-
ForceOverwriteReplicaSecret:
|
|
217
|
+
ClientRequestToken: ClientRequestTokenType | None
|
|
218
|
+
Description: DescriptionType | None
|
|
219
|
+
KmsKeyId: KmsKeyIdType | None
|
|
220
|
+
SecretBinary: SecretBinaryType | None
|
|
221
|
+
SecretString: SecretStringType | None
|
|
222
|
+
Tags: TagListType | None
|
|
223
|
+
AddReplicaRegions: AddReplicaRegionListType | None
|
|
224
|
+
ForceOverwriteReplicaSecret: BooleanType | None
|
|
225
225
|
|
|
226
226
|
|
|
227
227
|
LastAccessedDateType = datetime
|
|
228
228
|
|
|
229
229
|
|
|
230
230
|
class ReplicationStatusType(TypedDict, total=False):
|
|
231
|
-
Region:
|
|
232
|
-
KmsKeyId:
|
|
233
|
-
Status:
|
|
234
|
-
StatusMessage:
|
|
235
|
-
LastAccessedDate:
|
|
231
|
+
Region: RegionType | None
|
|
232
|
+
KmsKeyId: KmsKeyIdType | None
|
|
233
|
+
Status: StatusType | None
|
|
234
|
+
StatusMessage: StatusMessageType | None
|
|
235
|
+
LastAccessedDate: LastAccessedDateType | None
|
|
236
236
|
|
|
237
237
|
|
|
238
|
-
ReplicationStatusListType =
|
|
238
|
+
ReplicationStatusListType = list[ReplicationStatusType]
|
|
239
239
|
|
|
240
240
|
|
|
241
241
|
class CreateSecretResponse(TypedDict, total=False):
|
|
242
|
-
ARN:
|
|
243
|
-
Name:
|
|
244
|
-
VersionId:
|
|
245
|
-
ReplicationStatus:
|
|
242
|
+
ARN: SecretARNType | None
|
|
243
|
+
Name: SecretNameType | None
|
|
244
|
+
VersionId: SecretVersionIdType | None
|
|
245
|
+
ReplicationStatus: ReplicationStatusListType | None
|
|
246
246
|
|
|
247
247
|
|
|
248
248
|
class DeleteResourcePolicyRequest(ServiceRequest):
|
|
@@ -250,8 +250,8 @@ class DeleteResourcePolicyRequest(ServiceRequest):
|
|
|
250
250
|
|
|
251
251
|
|
|
252
252
|
class DeleteResourcePolicyResponse(TypedDict, total=False):
|
|
253
|
-
ARN:
|
|
254
|
-
Name:
|
|
253
|
+
ARN: SecretARNType | None
|
|
254
|
+
Name: NameType | None
|
|
255
255
|
|
|
256
256
|
|
|
257
257
|
RecoveryWindowInDaysType = int
|
|
@@ -259,17 +259,17 @@ RecoveryWindowInDaysType = int
|
|
|
259
259
|
|
|
260
260
|
class DeleteSecretRequest(ServiceRequest):
|
|
261
261
|
SecretId: SecretIdType
|
|
262
|
-
RecoveryWindowInDays:
|
|
263
|
-
ForceDeleteWithoutRecovery:
|
|
262
|
+
RecoveryWindowInDays: RecoveryWindowInDaysType | None
|
|
263
|
+
ForceDeleteWithoutRecovery: BooleanType | None
|
|
264
264
|
|
|
265
265
|
|
|
266
266
|
DeletionDateType = datetime
|
|
267
267
|
|
|
268
268
|
|
|
269
269
|
class DeleteSecretResponse(TypedDict, total=False):
|
|
270
|
-
ARN:
|
|
271
|
-
Name:
|
|
272
|
-
DeletionDate:
|
|
270
|
+
ARN: SecretARNType | None
|
|
271
|
+
Name: SecretNameType | None
|
|
272
|
+
DeletionDate: DeletionDateType | None
|
|
273
273
|
|
|
274
274
|
|
|
275
275
|
DeletedDateType = datetime
|
|
@@ -280,55 +280,55 @@ class DescribeSecretRequest(ServiceRequest):
|
|
|
280
280
|
|
|
281
281
|
|
|
282
282
|
TimestampType = datetime
|
|
283
|
-
SecretVersionsToStagesMapType =
|
|
283
|
+
SecretVersionsToStagesMapType = dict[SecretVersionIdType, SecretVersionStagesType]
|
|
284
284
|
NextRotationDateType = datetime
|
|
285
285
|
LastChangedDateType = datetime
|
|
286
286
|
LastRotatedDateType = datetime
|
|
287
287
|
|
|
288
288
|
|
|
289
289
|
class RotationRulesType(TypedDict, total=False):
|
|
290
|
-
AutomaticallyAfterDays:
|
|
291
|
-
Duration:
|
|
292
|
-
ScheduleExpression:
|
|
290
|
+
AutomaticallyAfterDays: AutomaticallyRotateAfterDaysType | None
|
|
291
|
+
Duration: DurationType | None
|
|
292
|
+
ScheduleExpression: ScheduleExpressionType | None
|
|
293
293
|
|
|
294
294
|
|
|
295
295
|
class DescribeSecretResponse(TypedDict, total=False):
|
|
296
|
-
ARN:
|
|
297
|
-
Name:
|
|
298
|
-
Description:
|
|
299
|
-
KmsKeyId:
|
|
300
|
-
RotationEnabled:
|
|
301
|
-
RotationLambdaARN:
|
|
302
|
-
RotationRules:
|
|
303
|
-
LastRotatedDate:
|
|
304
|
-
LastChangedDate:
|
|
305
|
-
LastAccessedDate:
|
|
306
|
-
DeletedDate:
|
|
307
|
-
NextRotationDate:
|
|
308
|
-
Tags:
|
|
309
|
-
VersionIdsToStages:
|
|
310
|
-
OwningService:
|
|
311
|
-
CreatedDate:
|
|
312
|
-
PrimaryRegion:
|
|
313
|
-
ReplicationStatus:
|
|
296
|
+
ARN: SecretARNType | None
|
|
297
|
+
Name: SecretNameType | None
|
|
298
|
+
Description: DescriptionType | None
|
|
299
|
+
KmsKeyId: KmsKeyIdType | None
|
|
300
|
+
RotationEnabled: RotationEnabledType | None
|
|
301
|
+
RotationLambdaARN: RotationLambdaARNType | None
|
|
302
|
+
RotationRules: RotationRulesType | None
|
|
303
|
+
LastRotatedDate: LastRotatedDateType | None
|
|
304
|
+
LastChangedDate: LastChangedDateType | None
|
|
305
|
+
LastAccessedDate: LastAccessedDateType | None
|
|
306
|
+
DeletedDate: DeletedDateType | None
|
|
307
|
+
NextRotationDate: NextRotationDateType | None
|
|
308
|
+
Tags: TagListType | None
|
|
309
|
+
VersionIdsToStages: SecretVersionsToStagesMapType | None
|
|
310
|
+
OwningService: OwningServiceType | None
|
|
311
|
+
CreatedDate: TimestampType | None
|
|
312
|
+
PrimaryRegion: RegionType | None
|
|
313
|
+
ReplicationStatus: ReplicationStatusListType | None
|
|
314
314
|
|
|
315
315
|
|
|
316
316
|
PasswordLengthType = int
|
|
317
317
|
|
|
318
318
|
|
|
319
319
|
class GetRandomPasswordRequest(ServiceRequest):
|
|
320
|
-
PasswordLength:
|
|
321
|
-
ExcludeCharacters:
|
|
322
|
-
ExcludeNumbers:
|
|
323
|
-
ExcludePunctuation:
|
|
324
|
-
ExcludeUppercase:
|
|
325
|
-
ExcludeLowercase:
|
|
326
|
-
IncludeSpace:
|
|
327
|
-
RequireEachIncludedType:
|
|
320
|
+
PasswordLength: PasswordLengthType | None
|
|
321
|
+
ExcludeCharacters: ExcludeCharactersType | None
|
|
322
|
+
ExcludeNumbers: ExcludeNumbersType | None
|
|
323
|
+
ExcludePunctuation: ExcludePunctuationType | None
|
|
324
|
+
ExcludeUppercase: ExcludeUppercaseType | None
|
|
325
|
+
ExcludeLowercase: ExcludeLowercaseType | None
|
|
326
|
+
IncludeSpace: IncludeSpaceType | None
|
|
327
|
+
RequireEachIncludedType: RequireEachIncludedTypeType | None
|
|
328
328
|
|
|
329
329
|
|
|
330
330
|
class GetRandomPasswordResponse(TypedDict, total=False):
|
|
331
|
-
RandomPassword:
|
|
331
|
+
RandomPassword: RandomPasswordType | None
|
|
332
332
|
|
|
333
333
|
|
|
334
334
|
class GetResourcePolicyRequest(ServiceRequest):
|
|
@@ -336,119 +336,119 @@ class GetResourcePolicyRequest(ServiceRequest):
|
|
|
336
336
|
|
|
337
337
|
|
|
338
338
|
class GetResourcePolicyResponse(TypedDict, total=False):
|
|
339
|
-
ARN:
|
|
340
|
-
Name:
|
|
341
|
-
ResourcePolicy:
|
|
339
|
+
ARN: SecretARNType | None
|
|
340
|
+
Name: NameType | None
|
|
341
|
+
ResourcePolicy: NonEmptyResourcePolicyType | None
|
|
342
342
|
|
|
343
343
|
|
|
344
344
|
class GetSecretValueRequest(ServiceRequest):
|
|
345
345
|
SecretId: SecretIdType
|
|
346
|
-
VersionId:
|
|
347
|
-
VersionStage:
|
|
346
|
+
VersionId: SecretVersionIdType | None
|
|
347
|
+
VersionStage: SecretVersionStageType | None
|
|
348
348
|
|
|
349
349
|
|
|
350
350
|
class GetSecretValueResponse(TypedDict, total=False):
|
|
351
|
-
ARN:
|
|
352
|
-
Name:
|
|
353
|
-
VersionId:
|
|
354
|
-
SecretBinary:
|
|
355
|
-
SecretString:
|
|
356
|
-
VersionStages:
|
|
357
|
-
CreatedDate:
|
|
351
|
+
ARN: SecretARNType | None
|
|
352
|
+
Name: SecretNameType | None
|
|
353
|
+
VersionId: SecretVersionIdType | None
|
|
354
|
+
SecretBinary: SecretBinaryType | None
|
|
355
|
+
SecretString: SecretStringType | None
|
|
356
|
+
VersionStages: SecretVersionStagesType | None
|
|
357
|
+
CreatedDate: CreatedDateType | None
|
|
358
358
|
|
|
359
359
|
|
|
360
|
-
KmsKeyIdListType =
|
|
360
|
+
KmsKeyIdListType = list[KmsKeyIdType]
|
|
361
361
|
|
|
362
362
|
|
|
363
363
|
class ListSecretVersionIdsRequest(ServiceRequest):
|
|
364
364
|
SecretId: SecretIdType
|
|
365
|
-
MaxResults:
|
|
366
|
-
NextToken:
|
|
367
|
-
IncludeDeprecated:
|
|
365
|
+
MaxResults: MaxResultsType | None
|
|
366
|
+
NextToken: NextTokenType | None
|
|
367
|
+
IncludeDeprecated: BooleanType | None
|
|
368
368
|
|
|
369
369
|
|
|
370
370
|
class SecretVersionsListEntry(TypedDict, total=False):
|
|
371
|
-
VersionId:
|
|
372
|
-
VersionStages:
|
|
373
|
-
LastAccessedDate:
|
|
374
|
-
CreatedDate:
|
|
375
|
-
KmsKeyIds:
|
|
371
|
+
VersionId: SecretVersionIdType | None
|
|
372
|
+
VersionStages: SecretVersionStagesType | None
|
|
373
|
+
LastAccessedDate: LastAccessedDateType | None
|
|
374
|
+
CreatedDate: CreatedDateType | None
|
|
375
|
+
KmsKeyIds: KmsKeyIdListType | None
|
|
376
376
|
|
|
377
377
|
|
|
378
|
-
SecretVersionsListType =
|
|
378
|
+
SecretVersionsListType = list[SecretVersionsListEntry]
|
|
379
379
|
|
|
380
380
|
|
|
381
381
|
class ListSecretVersionIdsResponse(TypedDict, total=False):
|
|
382
|
-
Versions:
|
|
383
|
-
NextToken:
|
|
384
|
-
ARN:
|
|
385
|
-
Name:
|
|
382
|
+
Versions: SecretVersionsListType | None
|
|
383
|
+
NextToken: NextTokenType | None
|
|
384
|
+
ARN: SecretARNType | None
|
|
385
|
+
Name: SecretNameType | None
|
|
386
386
|
|
|
387
387
|
|
|
388
388
|
class ListSecretsRequest(ServiceRequest):
|
|
389
|
-
IncludePlannedDeletion:
|
|
390
|
-
MaxResults:
|
|
391
|
-
NextToken:
|
|
392
|
-
Filters:
|
|
393
|
-
SortOrder:
|
|
389
|
+
IncludePlannedDeletion: BooleanType | None
|
|
390
|
+
MaxResults: MaxResultsType | None
|
|
391
|
+
NextToken: NextTokenType | None
|
|
392
|
+
Filters: FiltersListType | None
|
|
393
|
+
SortOrder: SortOrderType | None
|
|
394
394
|
|
|
395
395
|
|
|
396
396
|
class SecretListEntry(TypedDict, total=False):
|
|
397
|
-
ARN:
|
|
398
|
-
Name:
|
|
399
|
-
Description:
|
|
400
|
-
KmsKeyId:
|
|
401
|
-
RotationEnabled:
|
|
402
|
-
RotationLambdaARN:
|
|
403
|
-
RotationRules:
|
|
404
|
-
LastRotatedDate:
|
|
405
|
-
LastChangedDate:
|
|
406
|
-
LastAccessedDate:
|
|
407
|
-
DeletedDate:
|
|
408
|
-
NextRotationDate:
|
|
409
|
-
Tags:
|
|
410
|
-
SecretVersionsToStages:
|
|
411
|
-
OwningService:
|
|
412
|
-
CreatedDate:
|
|
413
|
-
PrimaryRegion:
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
SecretListType =
|
|
397
|
+
ARN: SecretARNType | None
|
|
398
|
+
Name: SecretNameType | None
|
|
399
|
+
Description: DescriptionType | None
|
|
400
|
+
KmsKeyId: KmsKeyIdType | None
|
|
401
|
+
RotationEnabled: RotationEnabledType | None
|
|
402
|
+
RotationLambdaARN: RotationLambdaARNType | None
|
|
403
|
+
RotationRules: RotationRulesType | None
|
|
404
|
+
LastRotatedDate: LastRotatedDateType | None
|
|
405
|
+
LastChangedDate: LastChangedDateType | None
|
|
406
|
+
LastAccessedDate: LastAccessedDateType | None
|
|
407
|
+
DeletedDate: DeletedDateType | None
|
|
408
|
+
NextRotationDate: NextRotationDateType | None
|
|
409
|
+
Tags: TagListType | None
|
|
410
|
+
SecretVersionsToStages: SecretVersionsToStagesMapType | None
|
|
411
|
+
OwningService: OwningServiceType | None
|
|
412
|
+
CreatedDate: TimestampType | None
|
|
413
|
+
PrimaryRegion: RegionType | None
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
SecretListType = list[SecretListEntry]
|
|
417
417
|
|
|
418
418
|
|
|
419
419
|
class ListSecretsResponse(TypedDict, total=False):
|
|
420
|
-
SecretList:
|
|
421
|
-
NextToken:
|
|
420
|
+
SecretList: SecretListType | None
|
|
421
|
+
NextToken: NextTokenType | None
|
|
422
422
|
|
|
423
423
|
|
|
424
424
|
class PutResourcePolicyRequest(ServiceRequest):
|
|
425
425
|
SecretId: SecretIdType
|
|
426
426
|
ResourcePolicy: NonEmptyResourcePolicyType
|
|
427
|
-
BlockPublicPolicy:
|
|
427
|
+
BlockPublicPolicy: BooleanType | None
|
|
428
428
|
|
|
429
429
|
|
|
430
430
|
class PutResourcePolicyResponse(TypedDict, total=False):
|
|
431
|
-
ARN:
|
|
432
|
-
Name:
|
|
431
|
+
ARN: SecretARNType | None
|
|
432
|
+
Name: NameType | None
|
|
433
433
|
|
|
434
434
|
|
|
435
435
|
class PutSecretValueRequest(ServiceRequest):
|
|
436
436
|
SecretId: SecretIdType
|
|
437
|
-
ClientRequestToken:
|
|
438
|
-
SecretBinary:
|
|
439
|
-
SecretString:
|
|
440
|
-
VersionStages:
|
|
441
|
-
RotationToken:
|
|
437
|
+
ClientRequestToken: ClientRequestTokenType | None
|
|
438
|
+
SecretBinary: SecretBinaryType | None
|
|
439
|
+
SecretString: SecretStringType | None
|
|
440
|
+
VersionStages: SecretVersionStagesType | None
|
|
441
|
+
RotationToken: RotationTokenType | None
|
|
442
442
|
|
|
443
443
|
|
|
444
444
|
class PutSecretValueResponse(TypedDict, total=False):
|
|
445
|
-
ARN:
|
|
446
|
-
Name:
|
|
447
|
-
VersionId:
|
|
448
|
-
VersionStages:
|
|
445
|
+
ARN: SecretARNType | None
|
|
446
|
+
Name: SecretNameType | None
|
|
447
|
+
VersionId: SecretVersionIdType | None
|
|
448
|
+
VersionStages: SecretVersionStagesType | None
|
|
449
449
|
|
|
450
450
|
|
|
451
|
-
RemoveReplicaRegionListType =
|
|
451
|
+
RemoveReplicaRegionListType = list[RegionType]
|
|
452
452
|
|
|
453
453
|
|
|
454
454
|
class RemoveRegionsFromReplicationRequest(ServiceRequest):
|
|
@@ -457,19 +457,19 @@ class RemoveRegionsFromReplicationRequest(ServiceRequest):
|
|
|
457
457
|
|
|
458
458
|
|
|
459
459
|
class RemoveRegionsFromReplicationResponse(TypedDict, total=False):
|
|
460
|
-
ARN:
|
|
461
|
-
ReplicationStatus:
|
|
460
|
+
ARN: SecretARNType | None
|
|
461
|
+
ReplicationStatus: ReplicationStatusListType | None
|
|
462
462
|
|
|
463
463
|
|
|
464
464
|
class ReplicateSecretToRegionsRequest(ServiceRequest):
|
|
465
465
|
SecretId: SecretIdType
|
|
466
466
|
AddReplicaRegions: AddReplicaRegionListType
|
|
467
|
-
ForceOverwriteReplicaSecret:
|
|
467
|
+
ForceOverwriteReplicaSecret: BooleanType | None
|
|
468
468
|
|
|
469
469
|
|
|
470
470
|
class ReplicateSecretToRegionsResponse(TypedDict, total=False):
|
|
471
|
-
ARN:
|
|
472
|
-
ReplicationStatus:
|
|
471
|
+
ARN: SecretARNType | None
|
|
472
|
+
ReplicationStatus: ReplicationStatusListType | None
|
|
473
473
|
|
|
474
474
|
|
|
475
475
|
class RestoreSecretRequest(ServiceRequest):
|
|
@@ -477,22 +477,22 @@ class RestoreSecretRequest(ServiceRequest):
|
|
|
477
477
|
|
|
478
478
|
|
|
479
479
|
class RestoreSecretResponse(TypedDict, total=False):
|
|
480
|
-
ARN:
|
|
481
|
-
Name:
|
|
480
|
+
ARN: SecretARNType | None
|
|
481
|
+
Name: SecretNameType | None
|
|
482
482
|
|
|
483
483
|
|
|
484
484
|
class RotateSecretRequest(ServiceRequest):
|
|
485
485
|
SecretId: SecretIdType
|
|
486
|
-
ClientRequestToken:
|
|
487
|
-
RotationLambdaARN:
|
|
488
|
-
RotationRules:
|
|
489
|
-
RotateImmediately:
|
|
486
|
+
ClientRequestToken: ClientRequestTokenType | None
|
|
487
|
+
RotationLambdaARN: RotationLambdaARNType | None
|
|
488
|
+
RotationRules: RotationRulesType | None
|
|
489
|
+
RotateImmediately: BooleanType | None
|
|
490
490
|
|
|
491
491
|
|
|
492
492
|
class RotateSecretResponse(TypedDict, total=False):
|
|
493
|
-
ARN:
|
|
494
|
-
Name:
|
|
495
|
-
VersionId:
|
|
493
|
+
ARN: SecretARNType | None
|
|
494
|
+
Name: SecretNameType | None
|
|
495
|
+
VersionId: SecretVersionIdType | None
|
|
496
496
|
|
|
497
497
|
|
|
498
498
|
class StopReplicationToReplicaRequest(ServiceRequest):
|
|
@@ -500,10 +500,10 @@ class StopReplicationToReplicaRequest(ServiceRequest):
|
|
|
500
500
|
|
|
501
501
|
|
|
502
502
|
class StopReplicationToReplicaResponse(TypedDict, total=False):
|
|
503
|
-
ARN:
|
|
503
|
+
ARN: SecretARNType | None
|
|
504
504
|
|
|
505
505
|
|
|
506
|
-
TagKeyListType =
|
|
506
|
+
TagKeyListType = list[TagKeyType]
|
|
507
507
|
|
|
508
508
|
|
|
509
509
|
class TagResourceRequest(ServiceRequest):
|
|
@@ -518,52 +518,52 @@ class UntagResourceRequest(ServiceRequest):
|
|
|
518
518
|
|
|
519
519
|
class UpdateSecretRequest(ServiceRequest):
|
|
520
520
|
SecretId: SecretIdType
|
|
521
|
-
ClientRequestToken:
|
|
522
|
-
Description:
|
|
523
|
-
KmsKeyId:
|
|
524
|
-
SecretBinary:
|
|
525
|
-
SecretString:
|
|
521
|
+
ClientRequestToken: ClientRequestTokenType | None
|
|
522
|
+
Description: DescriptionType | None
|
|
523
|
+
KmsKeyId: KmsKeyIdType | None
|
|
524
|
+
SecretBinary: SecretBinaryType | None
|
|
525
|
+
SecretString: SecretStringType | None
|
|
526
526
|
|
|
527
527
|
|
|
528
528
|
class UpdateSecretResponse(TypedDict, total=False):
|
|
529
|
-
ARN:
|
|
530
|
-
Name:
|
|
531
|
-
VersionId:
|
|
529
|
+
ARN: SecretARNType | None
|
|
530
|
+
Name: SecretNameType | None
|
|
531
|
+
VersionId: SecretVersionIdType | None
|
|
532
532
|
|
|
533
533
|
|
|
534
534
|
class UpdateSecretVersionStageRequest(ServiceRequest):
|
|
535
535
|
SecretId: SecretIdType
|
|
536
536
|
VersionStage: SecretVersionStageType
|
|
537
|
-
RemoveFromVersionId:
|
|
538
|
-
MoveToVersionId:
|
|
537
|
+
RemoveFromVersionId: SecretVersionIdType | None
|
|
538
|
+
MoveToVersionId: SecretVersionIdType | None
|
|
539
539
|
|
|
540
540
|
|
|
541
541
|
class UpdateSecretVersionStageResponse(TypedDict, total=False):
|
|
542
|
-
ARN:
|
|
543
|
-
Name:
|
|
542
|
+
ARN: SecretARNType | None
|
|
543
|
+
Name: SecretNameType | None
|
|
544
544
|
|
|
545
545
|
|
|
546
546
|
class ValidateResourcePolicyRequest(ServiceRequest):
|
|
547
|
-
SecretId:
|
|
547
|
+
SecretId: SecretIdType | None
|
|
548
548
|
ResourcePolicy: NonEmptyResourcePolicyType
|
|
549
549
|
|
|
550
550
|
|
|
551
551
|
class ValidationErrorsEntry(TypedDict, total=False):
|
|
552
|
-
CheckName:
|
|
553
|
-
ErrorMessage:
|
|
552
|
+
CheckName: NameType | None
|
|
553
|
+
ErrorMessage: ErrorMessage | None
|
|
554
554
|
|
|
555
555
|
|
|
556
|
-
ValidationErrorsType =
|
|
556
|
+
ValidationErrorsType = list[ValidationErrorsEntry]
|
|
557
557
|
|
|
558
558
|
|
|
559
559
|
class ValidateResourcePolicyResponse(TypedDict, total=False):
|
|
560
|
-
PolicyValidationPassed:
|
|
561
|
-
ValidationErrors:
|
|
560
|
+
PolicyValidationPassed: BooleanType | None
|
|
561
|
+
ValidationErrors: ValidationErrorsType | None
|
|
562
562
|
|
|
563
563
|
|
|
564
564
|
class SecretsmanagerApi:
|
|
565
|
-
service = "secretsmanager"
|
|
566
|
-
version = "2017-10-17"
|
|
565
|
+
service: str = "secretsmanager"
|
|
566
|
+
version: str = "2017-10-17"
|
|
567
567
|
|
|
568
568
|
@handler("BatchGetSecretValue")
|
|
569
569
|
def batch_get_secret_value(
|