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
|
|
|
@@ -189,35 +189,35 @@ class AlreadyExistsException(ServiceException):
|
|
|
189
189
|
code: str = "AlreadyExists"
|
|
190
190
|
sender_fault: bool = True
|
|
191
191
|
status_code: int = 400
|
|
192
|
-
Name:
|
|
192
|
+
Name: RuleOrRuleSetName | None
|
|
193
193
|
|
|
194
194
|
|
|
195
195
|
class CannotDeleteException(ServiceException):
|
|
196
196
|
code: str = "CannotDelete"
|
|
197
197
|
sender_fault: bool = True
|
|
198
198
|
status_code: int = 400
|
|
199
|
-
Name:
|
|
199
|
+
Name: RuleOrRuleSetName | None
|
|
200
200
|
|
|
201
201
|
|
|
202
202
|
class ConfigurationSetAlreadyExistsException(ServiceException):
|
|
203
203
|
code: str = "ConfigurationSetAlreadyExists"
|
|
204
204
|
sender_fault: bool = True
|
|
205
205
|
status_code: int = 400
|
|
206
|
-
ConfigurationSetName:
|
|
206
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
207
207
|
|
|
208
208
|
|
|
209
209
|
class ConfigurationSetDoesNotExistException(ServiceException):
|
|
210
210
|
code: str = "ConfigurationSetDoesNotExist"
|
|
211
211
|
sender_fault: bool = True
|
|
212
212
|
status_code: int = 400
|
|
213
|
-
ConfigurationSetName:
|
|
213
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
214
214
|
|
|
215
215
|
|
|
216
216
|
class ConfigurationSetSendingPausedException(ServiceException):
|
|
217
217
|
code: str = "ConfigurationSetSendingPausedException"
|
|
218
218
|
sender_fault: bool = True
|
|
219
219
|
status_code: int = 400
|
|
220
|
-
ConfigurationSetName:
|
|
220
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
221
221
|
|
|
222
222
|
|
|
223
223
|
class CustomVerificationEmailInvalidContentException(ServiceException):
|
|
@@ -230,45 +230,45 @@ class CustomVerificationEmailTemplateAlreadyExistsException(ServiceException):
|
|
|
230
230
|
code: str = "CustomVerificationEmailTemplateAlreadyExists"
|
|
231
231
|
sender_fault: bool = True
|
|
232
232
|
status_code: int = 400
|
|
233
|
-
CustomVerificationEmailTemplateName:
|
|
233
|
+
CustomVerificationEmailTemplateName: TemplateName | None
|
|
234
234
|
|
|
235
235
|
|
|
236
236
|
class CustomVerificationEmailTemplateDoesNotExistException(ServiceException):
|
|
237
237
|
code: str = "CustomVerificationEmailTemplateDoesNotExist"
|
|
238
238
|
sender_fault: bool = True
|
|
239
239
|
status_code: int = 400
|
|
240
|
-
CustomVerificationEmailTemplateName:
|
|
240
|
+
CustomVerificationEmailTemplateName: TemplateName | None
|
|
241
241
|
|
|
242
242
|
|
|
243
243
|
class EventDestinationAlreadyExistsException(ServiceException):
|
|
244
244
|
code: str = "EventDestinationAlreadyExists"
|
|
245
245
|
sender_fault: bool = True
|
|
246
246
|
status_code: int = 400
|
|
247
|
-
ConfigurationSetName:
|
|
248
|
-
EventDestinationName:
|
|
247
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
248
|
+
EventDestinationName: EventDestinationName | None
|
|
249
249
|
|
|
250
250
|
|
|
251
251
|
class EventDestinationDoesNotExistException(ServiceException):
|
|
252
252
|
code: str = "EventDestinationDoesNotExist"
|
|
253
253
|
sender_fault: bool = True
|
|
254
254
|
status_code: int = 400
|
|
255
|
-
ConfigurationSetName:
|
|
256
|
-
EventDestinationName:
|
|
255
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
256
|
+
EventDestinationName: EventDestinationName | None
|
|
257
257
|
|
|
258
258
|
|
|
259
259
|
class FromEmailAddressNotVerifiedException(ServiceException):
|
|
260
260
|
code: str = "FromEmailAddressNotVerified"
|
|
261
261
|
sender_fault: bool = True
|
|
262
262
|
status_code: int = 400
|
|
263
|
-
FromEmailAddress:
|
|
263
|
+
FromEmailAddress: FromAddress | None
|
|
264
264
|
|
|
265
265
|
|
|
266
266
|
class InvalidCloudWatchDestinationException(ServiceException):
|
|
267
267
|
code: str = "InvalidCloudWatchDestination"
|
|
268
268
|
sender_fault: bool = True
|
|
269
269
|
status_code: int = 400
|
|
270
|
-
ConfigurationSetName:
|
|
271
|
-
EventDestinationName:
|
|
270
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
271
|
+
EventDestinationName: EventDestinationName | None
|
|
272
272
|
|
|
273
273
|
|
|
274
274
|
class InvalidConfigurationSetException(ServiceException):
|
|
@@ -287,15 +287,15 @@ class InvalidFirehoseDestinationException(ServiceException):
|
|
|
287
287
|
code: str = "InvalidFirehoseDestination"
|
|
288
288
|
sender_fault: bool = True
|
|
289
289
|
status_code: int = 400
|
|
290
|
-
ConfigurationSetName:
|
|
291
|
-
EventDestinationName:
|
|
290
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
291
|
+
EventDestinationName: EventDestinationName | None
|
|
292
292
|
|
|
293
293
|
|
|
294
294
|
class InvalidLambdaFunctionException(ServiceException):
|
|
295
295
|
code: str = "InvalidLambdaFunction"
|
|
296
296
|
sender_fault: bool = True
|
|
297
297
|
status_code: int = 400
|
|
298
|
-
FunctionArn:
|
|
298
|
+
FunctionArn: AmazonResourceName | None
|
|
299
299
|
|
|
300
300
|
|
|
301
301
|
class InvalidPolicyException(ServiceException):
|
|
@@ -308,36 +308,36 @@ class InvalidRenderingParameterException(ServiceException):
|
|
|
308
308
|
code: str = "InvalidRenderingParameter"
|
|
309
309
|
sender_fault: bool = True
|
|
310
310
|
status_code: int = 400
|
|
311
|
-
TemplateName:
|
|
311
|
+
TemplateName: TemplateName | None
|
|
312
312
|
|
|
313
313
|
|
|
314
314
|
class InvalidS3ConfigurationException(ServiceException):
|
|
315
315
|
code: str = "InvalidS3Configuration"
|
|
316
316
|
sender_fault: bool = True
|
|
317
317
|
status_code: int = 400
|
|
318
|
-
Bucket:
|
|
318
|
+
Bucket: S3BucketName | None
|
|
319
319
|
|
|
320
320
|
|
|
321
321
|
class InvalidSNSDestinationException(ServiceException):
|
|
322
322
|
code: str = "InvalidSNSDestination"
|
|
323
323
|
sender_fault: bool = True
|
|
324
324
|
status_code: int = 400
|
|
325
|
-
ConfigurationSetName:
|
|
326
|
-
EventDestinationName:
|
|
325
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
326
|
+
EventDestinationName: EventDestinationName | None
|
|
327
327
|
|
|
328
328
|
|
|
329
329
|
class InvalidSnsTopicException(ServiceException):
|
|
330
330
|
code: str = "InvalidSnsTopic"
|
|
331
331
|
sender_fault: bool = True
|
|
332
332
|
status_code: int = 400
|
|
333
|
-
Topic:
|
|
333
|
+
Topic: AmazonResourceName | None
|
|
334
334
|
|
|
335
335
|
|
|
336
336
|
class InvalidTemplateException(ServiceException):
|
|
337
337
|
code: str = "InvalidTemplate"
|
|
338
338
|
sender_fault: bool = True
|
|
339
339
|
status_code: int = 400
|
|
340
|
-
TemplateName:
|
|
340
|
+
TemplateName: TemplateName | None
|
|
341
341
|
|
|
342
342
|
|
|
343
343
|
class InvalidTrackingOptionsException(ServiceException):
|
|
@@ -368,7 +368,7 @@ class MissingRenderingAttributeException(ServiceException):
|
|
|
368
368
|
code: str = "MissingRenderingAttribute"
|
|
369
369
|
sender_fault: bool = True
|
|
370
370
|
status_code: int = 400
|
|
371
|
-
TemplateName:
|
|
371
|
+
TemplateName: TemplateName | None
|
|
372
372
|
|
|
373
373
|
|
|
374
374
|
class ProductionAccessNotGrantedException(ServiceException):
|
|
@@ -381,35 +381,35 @@ class RuleDoesNotExistException(ServiceException):
|
|
|
381
381
|
code: str = "RuleDoesNotExist"
|
|
382
382
|
sender_fault: bool = True
|
|
383
383
|
status_code: int = 400
|
|
384
|
-
Name:
|
|
384
|
+
Name: RuleOrRuleSetName | None
|
|
385
385
|
|
|
386
386
|
|
|
387
387
|
class RuleSetDoesNotExistException(ServiceException):
|
|
388
388
|
code: str = "RuleSetDoesNotExist"
|
|
389
389
|
sender_fault: bool = True
|
|
390
390
|
status_code: int = 400
|
|
391
|
-
Name:
|
|
391
|
+
Name: RuleOrRuleSetName | None
|
|
392
392
|
|
|
393
393
|
|
|
394
394
|
class TemplateDoesNotExistException(ServiceException):
|
|
395
395
|
code: str = "TemplateDoesNotExist"
|
|
396
396
|
sender_fault: bool = True
|
|
397
397
|
status_code: int = 400
|
|
398
|
-
TemplateName:
|
|
398
|
+
TemplateName: TemplateName | None
|
|
399
399
|
|
|
400
400
|
|
|
401
401
|
class TrackingOptionsAlreadyExistsException(ServiceException):
|
|
402
402
|
code: str = "TrackingOptionsAlreadyExistsException"
|
|
403
403
|
sender_fault: bool = True
|
|
404
404
|
status_code: int = 400
|
|
405
|
-
ConfigurationSetName:
|
|
405
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
406
406
|
|
|
407
407
|
|
|
408
408
|
class TrackingOptionsDoesNotExistException(ServiceException):
|
|
409
409
|
code: str = "TrackingOptionsDoesNotExistException"
|
|
410
410
|
sender_fault: bool = True
|
|
411
411
|
status_code: int = 400
|
|
412
|
-
ConfigurationSetName:
|
|
412
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
413
413
|
|
|
414
414
|
|
|
415
415
|
class AddHeaderAction(TypedDict, total=False):
|
|
@@ -417,24 +417,24 @@ class AddHeaderAction(TypedDict, total=False):
|
|
|
417
417
|
HeaderValue: HeaderValue
|
|
418
418
|
|
|
419
419
|
|
|
420
|
-
AddressList =
|
|
420
|
+
AddressList = list[Address]
|
|
421
421
|
ArrivalDate = datetime
|
|
422
422
|
|
|
423
423
|
|
|
424
424
|
class Content(TypedDict, total=False):
|
|
425
425
|
Data: MessageData
|
|
426
|
-
Charset:
|
|
426
|
+
Charset: Charset | None
|
|
427
427
|
|
|
428
428
|
|
|
429
429
|
class Body(TypedDict, total=False):
|
|
430
|
-
Text:
|
|
431
|
-
Html:
|
|
430
|
+
Text: Content | None
|
|
431
|
+
Html: Content | None
|
|
432
432
|
|
|
433
433
|
|
|
434
434
|
class BounceAction(TypedDict, total=False):
|
|
435
|
-
TopicArn:
|
|
435
|
+
TopicArn: AmazonResourceName | None
|
|
436
436
|
SmtpReplyCode: BounceSmtpReplyCode
|
|
437
|
-
StatusCode:
|
|
437
|
+
StatusCode: BounceStatusCode | None
|
|
438
438
|
Message: BounceMessage
|
|
439
439
|
Sender: Address
|
|
440
440
|
|
|
@@ -444,28 +444,28 @@ class ExtensionField(TypedDict, total=False):
|
|
|
444
444
|
Value: ExtensionFieldValue
|
|
445
445
|
|
|
446
446
|
|
|
447
|
-
ExtensionFieldList =
|
|
447
|
+
ExtensionFieldList = list[ExtensionField]
|
|
448
448
|
LastAttemptDate = datetime
|
|
449
449
|
|
|
450
450
|
|
|
451
451
|
class RecipientDsnFields(TypedDict, total=False):
|
|
452
|
-
FinalRecipient:
|
|
452
|
+
FinalRecipient: Address | None
|
|
453
453
|
Action: DsnAction
|
|
454
|
-
RemoteMta:
|
|
454
|
+
RemoteMta: RemoteMta | None
|
|
455
455
|
Status: DsnStatus
|
|
456
|
-
DiagnosticCode:
|
|
457
|
-
LastAttemptDate:
|
|
458
|
-
ExtensionFields:
|
|
456
|
+
DiagnosticCode: DiagnosticCode | None
|
|
457
|
+
LastAttemptDate: LastAttemptDate | None
|
|
458
|
+
ExtensionFields: ExtensionFieldList | None
|
|
459
459
|
|
|
460
460
|
|
|
461
461
|
class BouncedRecipientInfo(TypedDict, total=False):
|
|
462
462
|
Recipient: Address
|
|
463
|
-
RecipientArn:
|
|
464
|
-
BounceType:
|
|
465
|
-
RecipientDsnFields:
|
|
463
|
+
RecipientArn: AmazonResourceName | None
|
|
464
|
+
BounceType: BounceType | None
|
|
465
|
+
RecipientDsnFields: RecipientDsnFields | None
|
|
466
466
|
|
|
467
467
|
|
|
468
|
-
BouncedRecipientInfoList =
|
|
468
|
+
BouncedRecipientInfoList = list[BouncedRecipientInfo]
|
|
469
469
|
|
|
470
470
|
|
|
471
471
|
class MessageTag(TypedDict, total=False):
|
|
@@ -473,31 +473,31 @@ class MessageTag(TypedDict, total=False):
|
|
|
473
473
|
Value: MessageTagValue
|
|
474
474
|
|
|
475
475
|
|
|
476
|
-
MessageTagList =
|
|
476
|
+
MessageTagList = list[MessageTag]
|
|
477
477
|
|
|
478
478
|
|
|
479
479
|
class Destination(TypedDict, total=False):
|
|
480
|
-
ToAddresses:
|
|
481
|
-
CcAddresses:
|
|
482
|
-
BccAddresses:
|
|
480
|
+
ToAddresses: AddressList | None
|
|
481
|
+
CcAddresses: AddressList | None
|
|
482
|
+
BccAddresses: AddressList | None
|
|
483
483
|
|
|
484
484
|
|
|
485
485
|
class BulkEmailDestination(TypedDict, total=False):
|
|
486
486
|
Destination: Destination
|
|
487
|
-
ReplacementTags:
|
|
488
|
-
ReplacementTemplateData:
|
|
487
|
+
ReplacementTags: MessageTagList | None
|
|
488
|
+
ReplacementTemplateData: TemplateData | None
|
|
489
489
|
|
|
490
490
|
|
|
491
|
-
BulkEmailDestinationList =
|
|
491
|
+
BulkEmailDestinationList = list[BulkEmailDestination]
|
|
492
492
|
|
|
493
493
|
|
|
494
494
|
class BulkEmailDestinationStatus(TypedDict, total=False):
|
|
495
|
-
Status:
|
|
496
|
-
Error:
|
|
497
|
-
MessageId:
|
|
495
|
+
Status: BulkEmailStatus | None
|
|
496
|
+
Error: Error | None
|
|
497
|
+
MessageId: MessageId | None
|
|
498
498
|
|
|
499
499
|
|
|
500
|
-
BulkEmailDestinationStatusList =
|
|
500
|
+
BulkEmailDestinationStatusList = list[BulkEmailDestinationStatus]
|
|
501
501
|
|
|
502
502
|
|
|
503
503
|
class CloneReceiptRuleSetRequest(ServiceRequest):
|
|
@@ -515,7 +515,7 @@ class CloudWatchDimensionConfiguration(TypedDict, total=False):
|
|
|
515
515
|
DefaultDimensionValue: DefaultDimensionValue
|
|
516
516
|
|
|
517
517
|
|
|
518
|
-
CloudWatchDimensionConfigurations =
|
|
518
|
+
CloudWatchDimensionConfigurations = list[CloudWatchDimensionConfiguration]
|
|
519
519
|
|
|
520
520
|
|
|
521
521
|
class CloudWatchDestination(TypedDict, total=False):
|
|
@@ -526,8 +526,8 @@ class ConfigurationSet(TypedDict, total=False):
|
|
|
526
526
|
Name: ConfigurationSetName
|
|
527
527
|
|
|
528
528
|
|
|
529
|
-
ConfigurationSetAttributeList =
|
|
530
|
-
ConfigurationSets =
|
|
529
|
+
ConfigurationSetAttributeList = list[ConfigurationSetAttribute]
|
|
530
|
+
ConfigurationSets = list[ConfigurationSet]
|
|
531
531
|
|
|
532
532
|
|
|
533
533
|
class ConnectAction(TypedDict, total=False):
|
|
@@ -547,16 +547,16 @@ class KinesisFirehoseDestination(TypedDict, total=False):
|
|
|
547
547
|
DeliveryStreamARN: AmazonResourceName
|
|
548
548
|
|
|
549
549
|
|
|
550
|
-
EventTypes =
|
|
550
|
+
EventTypes = list[EventType]
|
|
551
551
|
|
|
552
552
|
|
|
553
553
|
class EventDestination(TypedDict, total=False):
|
|
554
554
|
Name: EventDestinationName
|
|
555
|
-
Enabled:
|
|
555
|
+
Enabled: Enabled | None
|
|
556
556
|
MatchingEventTypes: EventTypes
|
|
557
|
-
KinesisFirehoseDestination:
|
|
558
|
-
CloudWatchDestination:
|
|
559
|
-
SNSDestination:
|
|
557
|
+
KinesisFirehoseDestination: KinesisFirehoseDestination | None
|
|
558
|
+
CloudWatchDestination: CloudWatchDestination | None
|
|
559
|
+
SNSDestination: SNSDestination | None
|
|
560
560
|
|
|
561
561
|
|
|
562
562
|
class CreateConfigurationSetEventDestinationRequest(ServiceRequest):
|
|
@@ -577,7 +577,7 @@ class CreateConfigurationSetResponse(TypedDict, total=False):
|
|
|
577
577
|
|
|
578
578
|
|
|
579
579
|
class TrackingOptions(TypedDict, total=False):
|
|
580
|
-
CustomRedirectDomain:
|
|
580
|
+
CustomRedirectDomain: CustomRedirectDomain | None
|
|
581
581
|
|
|
582
582
|
|
|
583
583
|
class CreateConfigurationSetTrackingOptionsRequest(ServiceRequest):
|
|
@@ -618,60 +618,60 @@ class CreateReceiptFilterResponse(TypedDict, total=False):
|
|
|
618
618
|
|
|
619
619
|
class SNSAction(TypedDict, total=False):
|
|
620
620
|
TopicArn: AmazonResourceName
|
|
621
|
-
Encoding:
|
|
621
|
+
Encoding: SNSActionEncoding | None
|
|
622
622
|
|
|
623
623
|
|
|
624
624
|
class StopAction(TypedDict, total=False):
|
|
625
625
|
Scope: StopScope
|
|
626
|
-
TopicArn:
|
|
626
|
+
TopicArn: AmazonResourceName | None
|
|
627
627
|
|
|
628
628
|
|
|
629
629
|
class LambdaAction(TypedDict, total=False):
|
|
630
|
-
TopicArn:
|
|
630
|
+
TopicArn: AmazonResourceName | None
|
|
631
631
|
FunctionArn: AmazonResourceName
|
|
632
|
-
InvocationType:
|
|
632
|
+
InvocationType: InvocationType | None
|
|
633
633
|
|
|
634
634
|
|
|
635
635
|
class WorkmailAction(TypedDict, total=False):
|
|
636
|
-
TopicArn:
|
|
636
|
+
TopicArn: AmazonResourceName | None
|
|
637
637
|
OrganizationArn: AmazonResourceName
|
|
638
638
|
|
|
639
639
|
|
|
640
640
|
class S3Action(TypedDict, total=False):
|
|
641
|
-
TopicArn:
|
|
641
|
+
TopicArn: AmazonResourceName | None
|
|
642
642
|
BucketName: S3BucketName
|
|
643
|
-
ObjectKeyPrefix:
|
|
644
|
-
KmsKeyArn:
|
|
645
|
-
IamRoleArn:
|
|
643
|
+
ObjectKeyPrefix: S3KeyPrefix | None
|
|
644
|
+
KmsKeyArn: AmazonResourceName | None
|
|
645
|
+
IamRoleArn: IAMRoleARN | None
|
|
646
646
|
|
|
647
647
|
|
|
648
648
|
class ReceiptAction(TypedDict, total=False):
|
|
649
|
-
S3Action:
|
|
650
|
-
BounceAction:
|
|
651
|
-
WorkmailAction:
|
|
652
|
-
LambdaAction:
|
|
653
|
-
StopAction:
|
|
654
|
-
AddHeaderAction:
|
|
655
|
-
SNSAction:
|
|
656
|
-
ConnectAction:
|
|
649
|
+
S3Action: S3Action | None
|
|
650
|
+
BounceAction: BounceAction | None
|
|
651
|
+
WorkmailAction: WorkmailAction | None
|
|
652
|
+
LambdaAction: LambdaAction | None
|
|
653
|
+
StopAction: StopAction | None
|
|
654
|
+
AddHeaderAction: AddHeaderAction | None
|
|
655
|
+
SNSAction: SNSAction | None
|
|
656
|
+
ConnectAction: ConnectAction | None
|
|
657
657
|
|
|
658
658
|
|
|
659
|
-
ReceiptActionsList =
|
|
660
|
-
RecipientsList =
|
|
659
|
+
ReceiptActionsList = list[ReceiptAction]
|
|
660
|
+
RecipientsList = list[Recipient]
|
|
661
661
|
|
|
662
662
|
|
|
663
663
|
class ReceiptRule(TypedDict, total=False):
|
|
664
664
|
Name: ReceiptRuleName
|
|
665
|
-
Enabled:
|
|
666
|
-
TlsPolicy:
|
|
667
|
-
Recipients:
|
|
668
|
-
Actions:
|
|
669
|
-
ScanEnabled:
|
|
665
|
+
Enabled: Enabled | None
|
|
666
|
+
TlsPolicy: TlsPolicy | None
|
|
667
|
+
Recipients: RecipientsList | None
|
|
668
|
+
Actions: ReceiptActionsList | None
|
|
669
|
+
ScanEnabled: Enabled | None
|
|
670
670
|
|
|
671
671
|
|
|
672
672
|
class CreateReceiptRuleRequest(ServiceRequest):
|
|
673
673
|
RuleSetName: ReceiptRuleSetName
|
|
674
|
-
After:
|
|
674
|
+
After: ReceiptRuleName | None
|
|
675
675
|
Rule: ReceiptRule
|
|
676
676
|
|
|
677
677
|
|
|
@@ -689,9 +689,9 @@ class CreateReceiptRuleSetResponse(TypedDict, total=False):
|
|
|
689
689
|
|
|
690
690
|
class Template(TypedDict, total=False):
|
|
691
691
|
TemplateName: TemplateName
|
|
692
|
-
SubjectPart:
|
|
693
|
-
TextPart:
|
|
694
|
-
HtmlPart:
|
|
692
|
+
SubjectPart: SubjectPart | None
|
|
693
|
+
TextPart: TextPart | None
|
|
694
|
+
HtmlPart: HtmlPart | None
|
|
695
695
|
|
|
696
696
|
|
|
697
697
|
class CreateTemplateRequest(ServiceRequest):
|
|
@@ -703,14 +703,14 @@ class CreateTemplateResponse(TypedDict, total=False):
|
|
|
703
703
|
|
|
704
704
|
|
|
705
705
|
class CustomVerificationEmailTemplate(TypedDict, total=False):
|
|
706
|
-
TemplateName:
|
|
707
|
-
FromEmailAddress:
|
|
708
|
-
TemplateSubject:
|
|
709
|
-
SuccessRedirectionURL:
|
|
710
|
-
FailureRedirectionURL:
|
|
706
|
+
TemplateName: TemplateName | None
|
|
707
|
+
FromEmailAddress: FromAddress | None
|
|
708
|
+
TemplateSubject: Subject | None
|
|
709
|
+
SuccessRedirectionURL: SuccessRedirectionURL | None
|
|
710
|
+
FailureRedirectionURL: FailureRedirectionURL | None
|
|
711
711
|
|
|
712
712
|
|
|
713
|
-
CustomVerificationEmailTemplates =
|
|
713
|
+
CustomVerificationEmailTemplates = list[CustomVerificationEmailTemplate]
|
|
714
714
|
|
|
715
715
|
|
|
716
716
|
class DeleteConfigurationSetEventDestinationRequest(ServiceRequest):
|
|
@@ -797,50 +797,50 @@ class DeleteVerifiedEmailAddressRequest(ServiceRequest):
|
|
|
797
797
|
|
|
798
798
|
|
|
799
799
|
class DeliveryOptions(TypedDict, total=False):
|
|
800
|
-
TlsPolicy:
|
|
800
|
+
TlsPolicy: TlsPolicy | None
|
|
801
801
|
|
|
802
802
|
|
|
803
803
|
class DescribeActiveReceiptRuleSetRequest(ServiceRequest):
|
|
804
804
|
pass
|
|
805
805
|
|
|
806
806
|
|
|
807
|
-
ReceiptRulesList =
|
|
807
|
+
ReceiptRulesList = list[ReceiptRule]
|
|
808
808
|
Timestamp = datetime
|
|
809
809
|
|
|
810
810
|
|
|
811
811
|
class ReceiptRuleSetMetadata(TypedDict, total=False):
|
|
812
|
-
Name:
|
|
813
|
-
CreatedTimestamp:
|
|
812
|
+
Name: ReceiptRuleSetName | None
|
|
813
|
+
CreatedTimestamp: Timestamp | None
|
|
814
814
|
|
|
815
815
|
|
|
816
816
|
class DescribeActiveReceiptRuleSetResponse(TypedDict, total=False):
|
|
817
|
-
Metadata:
|
|
818
|
-
Rules:
|
|
817
|
+
Metadata: ReceiptRuleSetMetadata | None
|
|
818
|
+
Rules: ReceiptRulesList | None
|
|
819
819
|
|
|
820
820
|
|
|
821
821
|
class DescribeConfigurationSetRequest(ServiceRequest):
|
|
822
822
|
ConfigurationSetName: ConfigurationSetName
|
|
823
|
-
ConfigurationSetAttributeNames:
|
|
823
|
+
ConfigurationSetAttributeNames: ConfigurationSetAttributeList | None
|
|
824
824
|
|
|
825
825
|
|
|
826
826
|
LastFreshStart = datetime
|
|
827
827
|
|
|
828
828
|
|
|
829
829
|
class ReputationOptions(TypedDict, total=False):
|
|
830
|
-
SendingEnabled:
|
|
831
|
-
ReputationMetricsEnabled:
|
|
832
|
-
LastFreshStart:
|
|
830
|
+
SendingEnabled: Enabled | None
|
|
831
|
+
ReputationMetricsEnabled: Enabled | None
|
|
832
|
+
LastFreshStart: LastFreshStart | None
|
|
833
833
|
|
|
834
834
|
|
|
835
|
-
EventDestinations =
|
|
835
|
+
EventDestinations = list[EventDestination]
|
|
836
836
|
|
|
837
837
|
|
|
838
838
|
class DescribeConfigurationSetResponse(TypedDict, total=False):
|
|
839
|
-
ConfigurationSet:
|
|
840
|
-
EventDestinations:
|
|
841
|
-
TrackingOptions:
|
|
842
|
-
DeliveryOptions:
|
|
843
|
-
ReputationOptions:
|
|
839
|
+
ConfigurationSet: ConfigurationSet | None
|
|
840
|
+
EventDestinations: EventDestinations | None
|
|
841
|
+
TrackingOptions: TrackingOptions | None
|
|
842
|
+
DeliveryOptions: DeliveryOptions | None
|
|
843
|
+
ReputationOptions: ReputationOptions | None
|
|
844
844
|
|
|
845
845
|
|
|
846
846
|
class DescribeReceiptRuleRequest(ServiceRequest):
|
|
@@ -849,7 +849,7 @@ class DescribeReceiptRuleRequest(ServiceRequest):
|
|
|
849
849
|
|
|
850
850
|
|
|
851
851
|
class DescribeReceiptRuleResponse(TypedDict, total=False):
|
|
852
|
-
Rule:
|
|
852
|
+
Rule: ReceiptRule | None
|
|
853
853
|
|
|
854
854
|
|
|
855
855
|
class DescribeReceiptRuleSetRequest(ServiceRequest):
|
|
@@ -857,24 +857,24 @@ class DescribeReceiptRuleSetRequest(ServiceRequest):
|
|
|
857
857
|
|
|
858
858
|
|
|
859
859
|
class DescribeReceiptRuleSetResponse(TypedDict, total=False):
|
|
860
|
-
Metadata:
|
|
861
|
-
Rules:
|
|
860
|
+
Metadata: ReceiptRuleSetMetadata | None
|
|
861
|
+
Rules: ReceiptRulesList | None
|
|
862
862
|
|
|
863
863
|
|
|
864
|
-
VerificationTokenList =
|
|
864
|
+
VerificationTokenList = list[VerificationToken]
|
|
865
865
|
|
|
866
866
|
|
|
867
867
|
class IdentityDkimAttributes(TypedDict, total=False):
|
|
868
868
|
DkimEnabled: Enabled
|
|
869
869
|
DkimVerificationStatus: VerificationStatus
|
|
870
|
-
DkimTokens:
|
|
870
|
+
DkimTokens: VerificationTokenList | None
|
|
871
871
|
|
|
872
872
|
|
|
873
|
-
DkimAttributes =
|
|
873
|
+
DkimAttributes = dict[Identity, IdentityDkimAttributes]
|
|
874
874
|
|
|
875
875
|
|
|
876
876
|
class GetAccountSendingEnabledResponse(TypedDict, total=False):
|
|
877
|
-
Enabled:
|
|
877
|
+
Enabled: Enabled | None
|
|
878
878
|
|
|
879
879
|
|
|
880
880
|
class GetCustomVerificationEmailTemplateRequest(ServiceRequest):
|
|
@@ -882,15 +882,15 @@ class GetCustomVerificationEmailTemplateRequest(ServiceRequest):
|
|
|
882
882
|
|
|
883
883
|
|
|
884
884
|
class GetCustomVerificationEmailTemplateResponse(TypedDict, total=False):
|
|
885
|
-
TemplateName:
|
|
886
|
-
FromEmailAddress:
|
|
887
|
-
TemplateSubject:
|
|
888
|
-
TemplateContent:
|
|
889
|
-
SuccessRedirectionURL:
|
|
890
|
-
FailureRedirectionURL:
|
|
885
|
+
TemplateName: TemplateName | None
|
|
886
|
+
FromEmailAddress: FromAddress | None
|
|
887
|
+
TemplateSubject: Subject | None
|
|
888
|
+
TemplateContent: TemplateContent | None
|
|
889
|
+
SuccessRedirectionURL: SuccessRedirectionURL | None
|
|
890
|
+
FailureRedirectionURL: FailureRedirectionURL | None
|
|
891
891
|
|
|
892
892
|
|
|
893
|
-
IdentityList =
|
|
893
|
+
IdentityList = list[Identity]
|
|
894
894
|
|
|
895
895
|
|
|
896
896
|
class GetIdentityDkimAttributesRequest(ServiceRequest):
|
|
@@ -911,7 +911,7 @@ class IdentityMailFromDomainAttributes(TypedDict, total=False):
|
|
|
911
911
|
BehaviorOnMXFailure: BehaviorOnMXFailure
|
|
912
912
|
|
|
913
913
|
|
|
914
|
-
MailFromDomainAttributes =
|
|
914
|
+
MailFromDomainAttributes = dict[Identity, IdentityMailFromDomainAttributes]
|
|
915
915
|
|
|
916
916
|
|
|
917
917
|
class GetIdentityMailFromDomainAttributesResponse(TypedDict, total=False):
|
|
@@ -927,19 +927,19 @@ class IdentityNotificationAttributes(TypedDict, total=False):
|
|
|
927
927
|
ComplaintTopic: NotificationTopic
|
|
928
928
|
DeliveryTopic: NotificationTopic
|
|
929
929
|
ForwardingEnabled: Enabled
|
|
930
|
-
HeadersInBounceNotificationsEnabled:
|
|
931
|
-
HeadersInComplaintNotificationsEnabled:
|
|
932
|
-
HeadersInDeliveryNotificationsEnabled:
|
|
930
|
+
HeadersInBounceNotificationsEnabled: Enabled | None
|
|
931
|
+
HeadersInComplaintNotificationsEnabled: Enabled | None
|
|
932
|
+
HeadersInDeliveryNotificationsEnabled: Enabled | None
|
|
933
933
|
|
|
934
934
|
|
|
935
|
-
NotificationAttributes =
|
|
935
|
+
NotificationAttributes = dict[Identity, IdentityNotificationAttributes]
|
|
936
936
|
|
|
937
937
|
|
|
938
938
|
class GetIdentityNotificationAttributesResponse(TypedDict, total=False):
|
|
939
939
|
NotificationAttributes: NotificationAttributes
|
|
940
940
|
|
|
941
941
|
|
|
942
|
-
PolicyNameList =
|
|
942
|
+
PolicyNameList = list[PolicyName]
|
|
943
943
|
|
|
944
944
|
|
|
945
945
|
class GetIdentityPoliciesRequest(ServiceRequest):
|
|
@@ -947,7 +947,7 @@ class GetIdentityPoliciesRequest(ServiceRequest):
|
|
|
947
947
|
PolicyNames: PolicyNameList
|
|
948
948
|
|
|
949
949
|
|
|
950
|
-
PolicyMap =
|
|
950
|
+
PolicyMap = dict[PolicyName, Policy]
|
|
951
951
|
|
|
952
952
|
|
|
953
953
|
class GetIdentityPoliciesResponse(TypedDict, total=False):
|
|
@@ -960,10 +960,10 @@ class GetIdentityVerificationAttributesRequest(ServiceRequest):
|
|
|
960
960
|
|
|
961
961
|
class IdentityVerificationAttributes(TypedDict, total=False):
|
|
962
962
|
VerificationStatus: VerificationStatus
|
|
963
|
-
VerificationToken:
|
|
963
|
+
VerificationToken: VerificationToken | None
|
|
964
964
|
|
|
965
965
|
|
|
966
|
-
VerificationAttributes =
|
|
966
|
+
VerificationAttributes = dict[Identity, IdentityVerificationAttributes]
|
|
967
967
|
|
|
968
968
|
|
|
969
969
|
class GetIdentityVerificationAttributesResponse(TypedDict, total=False):
|
|
@@ -971,24 +971,24 @@ class GetIdentityVerificationAttributesResponse(TypedDict, total=False):
|
|
|
971
971
|
|
|
972
972
|
|
|
973
973
|
class GetSendQuotaResponse(TypedDict, total=False):
|
|
974
|
-
Max24HourSend:
|
|
975
|
-
MaxSendRate:
|
|
976
|
-
SentLast24Hours:
|
|
974
|
+
Max24HourSend: Max24HourSend | None
|
|
975
|
+
MaxSendRate: MaxSendRate | None
|
|
976
|
+
SentLast24Hours: SentLast24Hours | None
|
|
977
977
|
|
|
978
978
|
|
|
979
979
|
class SendDataPoint(TypedDict, total=False):
|
|
980
|
-
Timestamp:
|
|
981
|
-
DeliveryAttempts:
|
|
982
|
-
Bounces:
|
|
983
|
-
Complaints:
|
|
984
|
-
Rejects:
|
|
980
|
+
Timestamp: Timestamp | None
|
|
981
|
+
DeliveryAttempts: Counter | None
|
|
982
|
+
Bounces: Counter | None
|
|
983
|
+
Complaints: Counter | None
|
|
984
|
+
Rejects: Counter | None
|
|
985
985
|
|
|
986
986
|
|
|
987
|
-
SendDataPointList =
|
|
987
|
+
SendDataPointList = list[SendDataPoint]
|
|
988
988
|
|
|
989
989
|
|
|
990
990
|
class GetSendStatisticsResponse(TypedDict, total=False):
|
|
991
|
-
SendDataPoints:
|
|
991
|
+
SendDataPoints: SendDataPointList | None
|
|
992
992
|
|
|
993
993
|
|
|
994
994
|
class GetTemplateRequest(ServiceRequest):
|
|
@@ -996,38 +996,38 @@ class GetTemplateRequest(ServiceRequest):
|
|
|
996
996
|
|
|
997
997
|
|
|
998
998
|
class GetTemplateResponse(TypedDict, total=False):
|
|
999
|
-
Template:
|
|
999
|
+
Template: Template | None
|
|
1000
1000
|
|
|
1001
1001
|
|
|
1002
1002
|
class ListConfigurationSetsRequest(ServiceRequest):
|
|
1003
|
-
NextToken:
|
|
1004
|
-
MaxItems:
|
|
1003
|
+
NextToken: NextToken | None
|
|
1004
|
+
MaxItems: MaxItems | None
|
|
1005
1005
|
|
|
1006
1006
|
|
|
1007
1007
|
class ListConfigurationSetsResponse(TypedDict, total=False):
|
|
1008
|
-
ConfigurationSets:
|
|
1009
|
-
NextToken:
|
|
1008
|
+
ConfigurationSets: ConfigurationSets | None
|
|
1009
|
+
NextToken: NextToken | None
|
|
1010
1010
|
|
|
1011
1011
|
|
|
1012
1012
|
class ListCustomVerificationEmailTemplatesRequest(ServiceRequest):
|
|
1013
|
-
NextToken:
|
|
1014
|
-
MaxResults:
|
|
1013
|
+
NextToken: NextToken | None
|
|
1014
|
+
MaxResults: MaxResults | None
|
|
1015
1015
|
|
|
1016
1016
|
|
|
1017
1017
|
class ListCustomVerificationEmailTemplatesResponse(TypedDict, total=False):
|
|
1018
|
-
CustomVerificationEmailTemplates:
|
|
1019
|
-
NextToken:
|
|
1018
|
+
CustomVerificationEmailTemplates: CustomVerificationEmailTemplates | None
|
|
1019
|
+
NextToken: NextToken | None
|
|
1020
1020
|
|
|
1021
1021
|
|
|
1022
1022
|
class ListIdentitiesRequest(ServiceRequest):
|
|
1023
|
-
IdentityType:
|
|
1024
|
-
NextToken:
|
|
1025
|
-
MaxItems:
|
|
1023
|
+
IdentityType: IdentityType | None
|
|
1024
|
+
NextToken: NextToken | None
|
|
1025
|
+
MaxItems: MaxItems | None
|
|
1026
1026
|
|
|
1027
1027
|
|
|
1028
1028
|
class ListIdentitiesResponse(TypedDict, total=False):
|
|
1029
1029
|
Identities: IdentityList
|
|
1030
|
-
NextToken:
|
|
1030
|
+
NextToken: NextToken | None
|
|
1031
1031
|
|
|
1032
1032
|
|
|
1033
1033
|
class ListIdentityPoliciesRequest(ServiceRequest):
|
|
@@ -1042,45 +1042,45 @@ class ListReceiptFiltersRequest(ServiceRequest):
|
|
|
1042
1042
|
pass
|
|
1043
1043
|
|
|
1044
1044
|
|
|
1045
|
-
ReceiptFilterList =
|
|
1045
|
+
ReceiptFilterList = list[ReceiptFilter]
|
|
1046
1046
|
|
|
1047
1047
|
|
|
1048
1048
|
class ListReceiptFiltersResponse(TypedDict, total=False):
|
|
1049
|
-
Filters:
|
|
1049
|
+
Filters: ReceiptFilterList | None
|
|
1050
1050
|
|
|
1051
1051
|
|
|
1052
1052
|
class ListReceiptRuleSetsRequest(ServiceRequest):
|
|
1053
|
-
NextToken:
|
|
1053
|
+
NextToken: NextToken | None
|
|
1054
1054
|
|
|
1055
1055
|
|
|
1056
|
-
ReceiptRuleSetsLists =
|
|
1056
|
+
ReceiptRuleSetsLists = list[ReceiptRuleSetMetadata]
|
|
1057
1057
|
|
|
1058
1058
|
|
|
1059
1059
|
class ListReceiptRuleSetsResponse(TypedDict, total=False):
|
|
1060
|
-
RuleSets:
|
|
1061
|
-
NextToken:
|
|
1060
|
+
RuleSets: ReceiptRuleSetsLists | None
|
|
1061
|
+
NextToken: NextToken | None
|
|
1062
1062
|
|
|
1063
1063
|
|
|
1064
1064
|
class ListTemplatesRequest(ServiceRequest):
|
|
1065
|
-
NextToken:
|
|
1066
|
-
MaxItems:
|
|
1065
|
+
NextToken: NextToken | None
|
|
1066
|
+
MaxItems: MaxItems | None
|
|
1067
1067
|
|
|
1068
1068
|
|
|
1069
1069
|
class TemplateMetadata(TypedDict, total=False):
|
|
1070
|
-
Name:
|
|
1071
|
-
CreatedTimestamp:
|
|
1070
|
+
Name: TemplateName | None
|
|
1071
|
+
CreatedTimestamp: Timestamp | None
|
|
1072
1072
|
|
|
1073
1073
|
|
|
1074
|
-
TemplateMetadataList =
|
|
1074
|
+
TemplateMetadataList = list[TemplateMetadata]
|
|
1075
1075
|
|
|
1076
1076
|
|
|
1077
1077
|
class ListTemplatesResponse(TypedDict, total=False):
|
|
1078
|
-
TemplatesMetadata:
|
|
1079
|
-
NextToken:
|
|
1078
|
+
TemplatesMetadata: TemplateMetadataList | None
|
|
1079
|
+
NextToken: NextToken | None
|
|
1080
1080
|
|
|
1081
1081
|
|
|
1082
1082
|
class ListVerifiedEmailAddressesResponse(TypedDict, total=False):
|
|
1083
|
-
VerifiedEmailAddresses:
|
|
1083
|
+
VerifiedEmailAddresses: AddressList | None
|
|
1084
1084
|
|
|
1085
1085
|
|
|
1086
1086
|
class Message(TypedDict, total=False):
|
|
@@ -1090,13 +1090,13 @@ class Message(TypedDict, total=False):
|
|
|
1090
1090
|
|
|
1091
1091
|
class MessageDsn(TypedDict, total=False):
|
|
1092
1092
|
ReportingMta: ReportingMta
|
|
1093
|
-
ArrivalDate:
|
|
1094
|
-
ExtensionFields:
|
|
1093
|
+
ArrivalDate: ArrivalDate | None
|
|
1094
|
+
ExtensionFields: ExtensionFieldList | None
|
|
1095
1095
|
|
|
1096
1096
|
|
|
1097
1097
|
class PutConfigurationSetDeliveryOptionsRequest(ServiceRequest):
|
|
1098
1098
|
ConfigurationSetName: ConfigurationSetName
|
|
1099
|
-
DeliveryOptions:
|
|
1099
|
+
DeliveryOptions: DeliveryOptions | None
|
|
1100
1100
|
|
|
1101
1101
|
|
|
1102
1102
|
class PutConfigurationSetDeliveryOptionsResponse(TypedDict, total=False):
|
|
@@ -1120,7 +1120,7 @@ class RawMessage(TypedDict, total=False):
|
|
|
1120
1120
|
Data: RawMessageData
|
|
1121
1121
|
|
|
1122
1122
|
|
|
1123
|
-
ReceiptRuleNamesList =
|
|
1123
|
+
ReceiptRuleNamesList = list[ReceiptRuleName]
|
|
1124
1124
|
|
|
1125
1125
|
|
|
1126
1126
|
class ReorderReceiptRuleSetRequest(ServiceRequest):
|
|
@@ -1135,26 +1135,26 @@ class ReorderReceiptRuleSetResponse(TypedDict, total=False):
|
|
|
1135
1135
|
class SendBounceRequest(ServiceRequest):
|
|
1136
1136
|
OriginalMessageId: MessageId
|
|
1137
1137
|
BounceSender: Address
|
|
1138
|
-
Explanation:
|
|
1139
|
-
MessageDsn:
|
|
1138
|
+
Explanation: Explanation | None
|
|
1139
|
+
MessageDsn: MessageDsn | None
|
|
1140
1140
|
BouncedRecipientInfoList: BouncedRecipientInfoList
|
|
1141
|
-
BounceSenderArn:
|
|
1141
|
+
BounceSenderArn: AmazonResourceName | None
|
|
1142
1142
|
|
|
1143
1143
|
|
|
1144
1144
|
class SendBounceResponse(TypedDict, total=False):
|
|
1145
|
-
MessageId:
|
|
1145
|
+
MessageId: MessageId | None
|
|
1146
1146
|
|
|
1147
1147
|
|
|
1148
1148
|
class SendBulkTemplatedEmailRequest(ServiceRequest):
|
|
1149
1149
|
Source: Address
|
|
1150
|
-
SourceArn:
|
|
1151
|
-
ReplyToAddresses:
|
|
1152
|
-
ReturnPath:
|
|
1153
|
-
ReturnPathArn:
|
|
1154
|
-
ConfigurationSetName:
|
|
1155
|
-
DefaultTags:
|
|
1150
|
+
SourceArn: AmazonResourceName | None
|
|
1151
|
+
ReplyToAddresses: AddressList | None
|
|
1152
|
+
ReturnPath: Address | None
|
|
1153
|
+
ReturnPathArn: AmazonResourceName | None
|
|
1154
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
1155
|
+
DefaultTags: MessageTagList | None
|
|
1156
1156
|
Template: TemplateName
|
|
1157
|
-
TemplateArn:
|
|
1157
|
+
TemplateArn: AmazonResourceName | None
|
|
1158
1158
|
DefaultTemplateData: TemplateData
|
|
1159
1159
|
Destinations: BulkEmailDestinationList
|
|
1160
1160
|
|
|
@@ -1166,23 +1166,23 @@ class SendBulkTemplatedEmailResponse(TypedDict, total=False):
|
|
|
1166
1166
|
class SendCustomVerificationEmailRequest(ServiceRequest):
|
|
1167
1167
|
EmailAddress: Address
|
|
1168
1168
|
TemplateName: TemplateName
|
|
1169
|
-
ConfigurationSetName:
|
|
1169
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
1170
1170
|
|
|
1171
1171
|
|
|
1172
1172
|
class SendCustomVerificationEmailResponse(TypedDict, total=False):
|
|
1173
|
-
MessageId:
|
|
1173
|
+
MessageId: MessageId | None
|
|
1174
1174
|
|
|
1175
1175
|
|
|
1176
1176
|
class SendEmailRequest(ServiceRequest):
|
|
1177
1177
|
Source: Address
|
|
1178
1178
|
Destination: Destination
|
|
1179
1179
|
Message: Message
|
|
1180
|
-
ReplyToAddresses:
|
|
1181
|
-
ReturnPath:
|
|
1182
|
-
SourceArn:
|
|
1183
|
-
ReturnPathArn:
|
|
1184
|
-
Tags:
|
|
1185
|
-
ConfigurationSetName:
|
|
1180
|
+
ReplyToAddresses: AddressList | None
|
|
1181
|
+
ReturnPath: Address | None
|
|
1182
|
+
SourceArn: AmazonResourceName | None
|
|
1183
|
+
ReturnPathArn: AmazonResourceName | None
|
|
1184
|
+
Tags: MessageTagList | None
|
|
1185
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
1186
1186
|
|
|
1187
1187
|
|
|
1188
1188
|
class SendEmailResponse(TypedDict, total=False):
|
|
@@ -1190,14 +1190,14 @@ class SendEmailResponse(TypedDict, total=False):
|
|
|
1190
1190
|
|
|
1191
1191
|
|
|
1192
1192
|
class SendRawEmailRequest(ServiceRequest):
|
|
1193
|
-
Source:
|
|
1194
|
-
Destinations:
|
|
1193
|
+
Source: Address | None
|
|
1194
|
+
Destinations: AddressList | None
|
|
1195
1195
|
RawMessage: RawMessage
|
|
1196
|
-
FromArn:
|
|
1197
|
-
SourceArn:
|
|
1198
|
-
ReturnPathArn:
|
|
1199
|
-
Tags:
|
|
1200
|
-
ConfigurationSetName:
|
|
1196
|
+
FromArn: AmazonResourceName | None
|
|
1197
|
+
SourceArn: AmazonResourceName | None
|
|
1198
|
+
ReturnPathArn: AmazonResourceName | None
|
|
1199
|
+
Tags: MessageTagList | None
|
|
1200
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
1201
1201
|
|
|
1202
1202
|
|
|
1203
1203
|
class SendRawEmailResponse(TypedDict, total=False):
|
|
@@ -1207,14 +1207,14 @@ class SendRawEmailResponse(TypedDict, total=False):
|
|
|
1207
1207
|
class SendTemplatedEmailRequest(ServiceRequest):
|
|
1208
1208
|
Source: Address
|
|
1209
1209
|
Destination: Destination
|
|
1210
|
-
ReplyToAddresses:
|
|
1211
|
-
ReturnPath:
|
|
1212
|
-
SourceArn:
|
|
1213
|
-
ReturnPathArn:
|
|
1214
|
-
Tags:
|
|
1215
|
-
ConfigurationSetName:
|
|
1210
|
+
ReplyToAddresses: AddressList | None
|
|
1211
|
+
ReturnPath: Address | None
|
|
1212
|
+
SourceArn: AmazonResourceName | None
|
|
1213
|
+
ReturnPathArn: AmazonResourceName | None
|
|
1214
|
+
Tags: MessageTagList | None
|
|
1215
|
+
ConfigurationSetName: ConfigurationSetName | None
|
|
1216
1216
|
Template: TemplateName
|
|
1217
|
-
TemplateArn:
|
|
1217
|
+
TemplateArn: AmazonResourceName | None
|
|
1218
1218
|
TemplateData: TemplateData
|
|
1219
1219
|
|
|
1220
1220
|
|
|
@@ -1223,7 +1223,7 @@ class SendTemplatedEmailResponse(TypedDict, total=False):
|
|
|
1223
1223
|
|
|
1224
1224
|
|
|
1225
1225
|
class SetActiveReceiptRuleSetRequest(ServiceRequest):
|
|
1226
|
-
RuleSetName:
|
|
1226
|
+
RuleSetName: ReceiptRuleSetName | None
|
|
1227
1227
|
|
|
1228
1228
|
|
|
1229
1229
|
class SetActiveReceiptRuleSetResponse(TypedDict, total=False):
|
|
@@ -1260,8 +1260,8 @@ class SetIdentityHeadersInNotificationsEnabledResponse(TypedDict, total=False):
|
|
|
1260
1260
|
|
|
1261
1261
|
class SetIdentityMailFromDomainRequest(ServiceRequest):
|
|
1262
1262
|
Identity: Identity
|
|
1263
|
-
MailFromDomain:
|
|
1264
|
-
BehaviorOnMXFailure:
|
|
1263
|
+
MailFromDomain: MailFromDomainName | None
|
|
1264
|
+
BehaviorOnMXFailure: BehaviorOnMXFailure | None
|
|
1265
1265
|
|
|
1266
1266
|
|
|
1267
1267
|
class SetIdentityMailFromDomainResponse(TypedDict, total=False):
|
|
@@ -1271,7 +1271,7 @@ class SetIdentityMailFromDomainResponse(TypedDict, total=False):
|
|
|
1271
1271
|
class SetIdentityNotificationTopicRequest(ServiceRequest):
|
|
1272
1272
|
Identity: Identity
|
|
1273
1273
|
NotificationType: NotificationType
|
|
1274
|
-
SnsTopic:
|
|
1274
|
+
SnsTopic: NotificationTopic | None
|
|
1275
1275
|
|
|
1276
1276
|
|
|
1277
1277
|
class SetIdentityNotificationTopicResponse(TypedDict, total=False):
|
|
@@ -1281,7 +1281,7 @@ class SetIdentityNotificationTopicResponse(TypedDict, total=False):
|
|
|
1281
1281
|
class SetReceiptRulePositionRequest(ServiceRequest):
|
|
1282
1282
|
RuleSetName: ReceiptRuleSetName
|
|
1283
1283
|
RuleName: ReceiptRuleName
|
|
1284
|
-
After:
|
|
1284
|
+
After: ReceiptRuleName | None
|
|
1285
1285
|
|
|
1286
1286
|
|
|
1287
1287
|
class SetReceiptRulePositionResponse(TypedDict, total=False):
|
|
@@ -1294,11 +1294,11 @@ class TestRenderTemplateRequest(ServiceRequest):
|
|
|
1294
1294
|
|
|
1295
1295
|
|
|
1296
1296
|
class TestRenderTemplateResponse(TypedDict, total=False):
|
|
1297
|
-
RenderedTemplate:
|
|
1297
|
+
RenderedTemplate: RenderedTemplate | None
|
|
1298
1298
|
|
|
1299
1299
|
|
|
1300
1300
|
class UpdateAccountSendingEnabledRequest(ServiceRequest):
|
|
1301
|
-
Enabled:
|
|
1301
|
+
Enabled: Enabled | None
|
|
1302
1302
|
|
|
1303
1303
|
|
|
1304
1304
|
class UpdateConfigurationSetEventDestinationRequest(ServiceRequest):
|
|
@@ -1331,11 +1331,11 @@ class UpdateConfigurationSetTrackingOptionsResponse(TypedDict, total=False):
|
|
|
1331
1331
|
|
|
1332
1332
|
class UpdateCustomVerificationEmailTemplateRequest(ServiceRequest):
|
|
1333
1333
|
TemplateName: TemplateName
|
|
1334
|
-
FromEmailAddress:
|
|
1335
|
-
TemplateSubject:
|
|
1336
|
-
TemplateContent:
|
|
1337
|
-
SuccessRedirectionURL:
|
|
1338
|
-
FailureRedirectionURL:
|
|
1334
|
+
FromEmailAddress: FromAddress | None
|
|
1335
|
+
TemplateSubject: Subject | None
|
|
1336
|
+
TemplateContent: TemplateContent | None
|
|
1337
|
+
SuccessRedirectionURL: SuccessRedirectionURL | None
|
|
1338
|
+
FailureRedirectionURL: FailureRedirectionURL | None
|
|
1339
1339
|
|
|
1340
1340
|
|
|
1341
1341
|
class UpdateReceiptRuleRequest(ServiceRequest):
|
|
@@ -1384,8 +1384,8 @@ class VerifyEmailIdentityResponse(TypedDict, total=False):
|
|
|
1384
1384
|
|
|
1385
1385
|
|
|
1386
1386
|
class SesApi:
|
|
1387
|
-
service = "ses"
|
|
1388
|
-
version = "2010-12-01"
|
|
1387
|
+
service: str = "ses"
|
|
1388
|
+
version: str = "2010-12-01"
|
|
1389
1389
|
|
|
1390
1390
|
@handler("CloneReceiptRuleSet")
|
|
1391
1391
|
def clone_receipt_rule_set(
|