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,5 +1,5 @@
|
|
|
1
1
|
from enum import StrEnum
|
|
2
|
-
from typing import
|
|
2
|
+
from typing import TypedDict
|
|
3
3
|
|
|
4
4
|
from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
|
|
5
5
|
|
|
@@ -224,8 +224,8 @@ class UnsupportedOperation(ServiceException):
|
|
|
224
224
|
status_code: int = 400
|
|
225
225
|
|
|
226
226
|
|
|
227
|
-
AWSAccountIdList =
|
|
228
|
-
ActionNameList =
|
|
227
|
+
AWSAccountIdList = list[String]
|
|
228
|
+
ActionNameList = list[String]
|
|
229
229
|
|
|
230
230
|
|
|
231
231
|
class AddPermissionRequest(ServiceRequest):
|
|
@@ -235,19 +235,19 @@ class AddPermissionRequest(ServiceRequest):
|
|
|
235
235
|
Actions: ActionNameList
|
|
236
236
|
|
|
237
237
|
|
|
238
|
-
AttributeNameList =
|
|
238
|
+
AttributeNameList = list[QueueAttributeName]
|
|
239
239
|
|
|
240
240
|
|
|
241
241
|
class BatchResultErrorEntry(TypedDict, total=False):
|
|
242
242
|
Id: String
|
|
243
243
|
SenderFault: Boolean
|
|
244
244
|
Code: String
|
|
245
|
-
Message:
|
|
245
|
+
Message: String | None
|
|
246
246
|
|
|
247
247
|
|
|
248
|
-
BatchResultErrorEntryList =
|
|
248
|
+
BatchResultErrorEntryList = list[BatchResultErrorEntry]
|
|
249
249
|
Binary = bytes
|
|
250
|
-
BinaryList =
|
|
250
|
+
BinaryList = list[Binary]
|
|
251
251
|
|
|
252
252
|
|
|
253
253
|
class CancelMessageMoveTaskRequest(ServiceRequest):
|
|
@@ -258,16 +258,16 @@ Long = int
|
|
|
258
258
|
|
|
259
259
|
|
|
260
260
|
class CancelMessageMoveTaskResult(TypedDict, total=False):
|
|
261
|
-
ApproximateNumberOfMessagesMoved:
|
|
261
|
+
ApproximateNumberOfMessagesMoved: Long | None
|
|
262
262
|
|
|
263
263
|
|
|
264
264
|
class ChangeMessageVisibilityBatchRequestEntry(TypedDict, total=False):
|
|
265
265
|
Id: String
|
|
266
266
|
ReceiptHandle: String
|
|
267
|
-
VisibilityTimeout:
|
|
267
|
+
VisibilityTimeout: NullableInteger | None
|
|
268
268
|
|
|
269
269
|
|
|
270
|
-
ChangeMessageVisibilityBatchRequestEntryList =
|
|
270
|
+
ChangeMessageVisibilityBatchRequestEntryList = list[ChangeMessageVisibilityBatchRequestEntry]
|
|
271
271
|
|
|
272
272
|
|
|
273
273
|
class ChangeMessageVisibilityBatchRequest(ServiceRequest):
|
|
@@ -279,7 +279,7 @@ class ChangeMessageVisibilityBatchResultEntry(TypedDict, total=False):
|
|
|
279
279
|
Id: String
|
|
280
280
|
|
|
281
281
|
|
|
282
|
-
ChangeMessageVisibilityBatchResultEntryList =
|
|
282
|
+
ChangeMessageVisibilityBatchResultEntryList = list[ChangeMessageVisibilityBatchResultEntry]
|
|
283
283
|
|
|
284
284
|
|
|
285
285
|
class ChangeMessageVisibilityBatchResult(TypedDict, total=False):
|
|
@@ -293,18 +293,18 @@ class ChangeMessageVisibilityRequest(ServiceRequest):
|
|
|
293
293
|
VisibilityTimeout: NullableInteger
|
|
294
294
|
|
|
295
295
|
|
|
296
|
-
TagMap =
|
|
297
|
-
QueueAttributeMap =
|
|
296
|
+
TagMap = dict[TagKey, TagValue]
|
|
297
|
+
QueueAttributeMap = dict[QueueAttributeName, String]
|
|
298
298
|
|
|
299
299
|
|
|
300
300
|
class CreateQueueRequest(ServiceRequest):
|
|
301
301
|
QueueName: String
|
|
302
|
-
Attributes:
|
|
303
|
-
tags:
|
|
302
|
+
Attributes: QueueAttributeMap | None
|
|
303
|
+
tags: TagMap | None
|
|
304
304
|
|
|
305
305
|
|
|
306
306
|
class CreateQueueResult(TypedDict, total=False):
|
|
307
|
-
QueueUrl:
|
|
307
|
+
QueueUrl: String | None
|
|
308
308
|
|
|
309
309
|
|
|
310
310
|
class DeleteMessageBatchRequestEntry(TypedDict, total=False):
|
|
@@ -312,7 +312,7 @@ class DeleteMessageBatchRequestEntry(TypedDict, total=False):
|
|
|
312
312
|
ReceiptHandle: String
|
|
313
313
|
|
|
314
314
|
|
|
315
|
-
DeleteMessageBatchRequestEntryList =
|
|
315
|
+
DeleteMessageBatchRequestEntryList = list[DeleteMessageBatchRequestEntry]
|
|
316
316
|
|
|
317
317
|
|
|
318
318
|
class DeleteMessageBatchRequest(ServiceRequest):
|
|
@@ -324,7 +324,7 @@ class DeleteMessageBatchResultEntry(TypedDict, total=False):
|
|
|
324
324
|
Id: String
|
|
325
325
|
|
|
326
326
|
|
|
327
|
-
DeleteMessageBatchResultEntryList =
|
|
327
|
+
DeleteMessageBatchResultEntryList = list[DeleteMessageBatchResultEntry]
|
|
328
328
|
|
|
329
329
|
|
|
330
330
|
class DeleteMessageBatchResult(TypedDict, total=False):
|
|
@@ -343,61 +343,61 @@ class DeleteQueueRequest(ServiceRequest):
|
|
|
343
343
|
|
|
344
344
|
class GetQueueAttributesRequest(ServiceRequest):
|
|
345
345
|
QueueUrl: String
|
|
346
|
-
AttributeNames:
|
|
346
|
+
AttributeNames: AttributeNameList | None
|
|
347
347
|
|
|
348
348
|
|
|
349
349
|
class GetQueueAttributesResult(TypedDict, total=False):
|
|
350
|
-
Attributes:
|
|
350
|
+
Attributes: QueueAttributeMap | None
|
|
351
351
|
|
|
352
352
|
|
|
353
353
|
class GetQueueUrlRequest(ServiceRequest):
|
|
354
354
|
QueueName: String
|
|
355
|
-
QueueOwnerAWSAccountId:
|
|
355
|
+
QueueOwnerAWSAccountId: String | None
|
|
356
356
|
|
|
357
357
|
|
|
358
358
|
class GetQueueUrlResult(TypedDict, total=False):
|
|
359
|
-
QueueUrl:
|
|
359
|
+
QueueUrl: String | None
|
|
360
360
|
|
|
361
361
|
|
|
362
362
|
class ListDeadLetterSourceQueuesRequest(ServiceRequest):
|
|
363
363
|
QueueUrl: String
|
|
364
|
-
NextToken:
|
|
365
|
-
MaxResults:
|
|
364
|
+
NextToken: Token | None
|
|
365
|
+
MaxResults: BoxedInteger | None
|
|
366
366
|
|
|
367
367
|
|
|
368
|
-
QueueUrlList =
|
|
368
|
+
QueueUrlList = list[String]
|
|
369
369
|
|
|
370
370
|
|
|
371
371
|
class ListDeadLetterSourceQueuesResult(TypedDict, total=False):
|
|
372
372
|
queueUrls: QueueUrlList
|
|
373
|
-
NextToken:
|
|
373
|
+
NextToken: Token | None
|
|
374
374
|
|
|
375
375
|
|
|
376
376
|
class ListMessageMoveTasksRequest(ServiceRequest):
|
|
377
377
|
SourceArn: String
|
|
378
|
-
MaxResults:
|
|
378
|
+
MaxResults: NullableInteger | None
|
|
379
379
|
|
|
380
380
|
|
|
381
381
|
NullableLong = int
|
|
382
382
|
|
|
383
383
|
|
|
384
384
|
class ListMessageMoveTasksResultEntry(TypedDict, total=False):
|
|
385
|
-
TaskHandle:
|
|
386
|
-
Status:
|
|
387
|
-
SourceArn:
|
|
388
|
-
DestinationArn:
|
|
389
|
-
MaxNumberOfMessagesPerSecond:
|
|
390
|
-
ApproximateNumberOfMessagesMoved:
|
|
391
|
-
ApproximateNumberOfMessagesToMove:
|
|
392
|
-
FailureReason:
|
|
393
|
-
StartedTimestamp:
|
|
385
|
+
TaskHandle: String | None
|
|
386
|
+
Status: String | None
|
|
387
|
+
SourceArn: String | None
|
|
388
|
+
DestinationArn: String | None
|
|
389
|
+
MaxNumberOfMessagesPerSecond: NullableInteger | None
|
|
390
|
+
ApproximateNumberOfMessagesMoved: Long | None
|
|
391
|
+
ApproximateNumberOfMessagesToMove: NullableLong | None
|
|
392
|
+
FailureReason: String | None
|
|
393
|
+
StartedTimestamp: Long | None
|
|
394
394
|
|
|
395
395
|
|
|
396
|
-
ListMessageMoveTasksResultEntryList =
|
|
396
|
+
ListMessageMoveTasksResultEntryList = list[ListMessageMoveTasksResultEntry]
|
|
397
397
|
|
|
398
398
|
|
|
399
399
|
class ListMessageMoveTasksResult(TypedDict, total=False):
|
|
400
|
-
Results:
|
|
400
|
+
Results: ListMessageMoveTasksResultEntryList | None
|
|
401
401
|
|
|
402
402
|
|
|
403
403
|
class ListQueueTagsRequest(ServiceRequest):
|
|
@@ -405,61 +405,61 @@ class ListQueueTagsRequest(ServiceRequest):
|
|
|
405
405
|
|
|
406
406
|
|
|
407
407
|
class ListQueueTagsResult(TypedDict, total=False):
|
|
408
|
-
Tags:
|
|
408
|
+
Tags: TagMap | None
|
|
409
409
|
|
|
410
410
|
|
|
411
411
|
class ListQueuesRequest(ServiceRequest):
|
|
412
|
-
QueueNamePrefix:
|
|
413
|
-
NextToken:
|
|
414
|
-
MaxResults:
|
|
412
|
+
QueueNamePrefix: String | None
|
|
413
|
+
NextToken: Token | None
|
|
414
|
+
MaxResults: BoxedInteger | None
|
|
415
415
|
|
|
416
416
|
|
|
417
417
|
class ListQueuesResult(TypedDict, total=False):
|
|
418
|
-
QueueUrls:
|
|
419
|
-
NextToken:
|
|
418
|
+
QueueUrls: QueueUrlList | None
|
|
419
|
+
NextToken: Token | None
|
|
420
420
|
|
|
421
421
|
|
|
422
|
-
StringList =
|
|
422
|
+
StringList = list[String]
|
|
423
423
|
|
|
424
424
|
|
|
425
425
|
class MessageAttributeValue(TypedDict, total=False):
|
|
426
|
-
StringValue:
|
|
427
|
-
BinaryValue:
|
|
428
|
-
StringListValues:
|
|
429
|
-
BinaryListValues:
|
|
426
|
+
StringValue: String | None
|
|
427
|
+
BinaryValue: Binary | None
|
|
428
|
+
StringListValues: StringList | None
|
|
429
|
+
BinaryListValues: BinaryList | None
|
|
430
430
|
DataType: String
|
|
431
431
|
|
|
432
432
|
|
|
433
|
-
MessageBodyAttributeMap =
|
|
434
|
-
MessageSystemAttributeMap =
|
|
433
|
+
MessageBodyAttributeMap = dict[String, MessageAttributeValue]
|
|
434
|
+
MessageSystemAttributeMap = dict[MessageSystemAttributeName, String]
|
|
435
435
|
|
|
436
436
|
|
|
437
437
|
class Message(TypedDict, total=False):
|
|
438
|
-
MessageId:
|
|
439
|
-
ReceiptHandle:
|
|
440
|
-
MD5OfBody:
|
|
441
|
-
Body:
|
|
442
|
-
Attributes:
|
|
443
|
-
MD5OfMessageAttributes:
|
|
444
|
-
MessageAttributes:
|
|
438
|
+
MessageId: String | None
|
|
439
|
+
ReceiptHandle: String | None
|
|
440
|
+
MD5OfBody: String | None
|
|
441
|
+
Body: String | None
|
|
442
|
+
Attributes: MessageSystemAttributeMap | None
|
|
443
|
+
MD5OfMessageAttributes: String | None
|
|
444
|
+
MessageAttributes: MessageBodyAttributeMap | None
|
|
445
445
|
|
|
446
446
|
|
|
447
|
-
MessageAttributeNameList =
|
|
447
|
+
MessageAttributeNameList = list[MessageAttributeName]
|
|
448
448
|
|
|
449
449
|
|
|
450
450
|
class MessageSystemAttributeValue(TypedDict, total=False):
|
|
451
|
-
StringValue:
|
|
452
|
-
BinaryValue:
|
|
453
|
-
StringListValues:
|
|
454
|
-
BinaryListValues:
|
|
451
|
+
StringValue: String | None
|
|
452
|
+
BinaryValue: Binary | None
|
|
453
|
+
StringListValues: StringList | None
|
|
454
|
+
BinaryListValues: BinaryList | None
|
|
455
455
|
DataType: String
|
|
456
456
|
|
|
457
457
|
|
|
458
|
-
MessageBodySystemAttributeMap =
|
|
458
|
+
MessageBodySystemAttributeMap = dict[
|
|
459
459
|
MessageSystemAttributeNameForSends, MessageSystemAttributeValue
|
|
460
460
|
]
|
|
461
|
-
MessageList =
|
|
462
|
-
MessageSystemAttributeList =
|
|
461
|
+
MessageList = list[Message]
|
|
462
|
+
MessageSystemAttributeList = list[MessageSystemAttributeName]
|
|
463
463
|
|
|
464
464
|
|
|
465
465
|
class PurgeQueueRequest(ServiceRequest):
|
|
@@ -468,17 +468,17 @@ class PurgeQueueRequest(ServiceRequest):
|
|
|
468
468
|
|
|
469
469
|
class ReceiveMessageRequest(ServiceRequest):
|
|
470
470
|
QueueUrl: String
|
|
471
|
-
AttributeNames:
|
|
472
|
-
MessageSystemAttributeNames:
|
|
473
|
-
MessageAttributeNames:
|
|
474
|
-
MaxNumberOfMessages:
|
|
475
|
-
VisibilityTimeout:
|
|
476
|
-
WaitTimeSeconds:
|
|
477
|
-
ReceiveRequestAttemptId:
|
|
471
|
+
AttributeNames: AttributeNameList | None
|
|
472
|
+
MessageSystemAttributeNames: MessageSystemAttributeList | None
|
|
473
|
+
MessageAttributeNames: MessageAttributeNameList | None
|
|
474
|
+
MaxNumberOfMessages: NullableInteger | None
|
|
475
|
+
VisibilityTimeout: NullableInteger | None
|
|
476
|
+
WaitTimeSeconds: NullableInteger | None
|
|
477
|
+
ReceiveRequestAttemptId: String | None
|
|
478
478
|
|
|
479
479
|
|
|
480
480
|
class ReceiveMessageResult(TypedDict, total=False):
|
|
481
|
-
Messages:
|
|
481
|
+
Messages: MessageList | None
|
|
482
482
|
|
|
483
483
|
|
|
484
484
|
class RemovePermissionRequest(ServiceRequest):
|
|
@@ -489,14 +489,14 @@ class RemovePermissionRequest(ServiceRequest):
|
|
|
489
489
|
class SendMessageBatchRequestEntry(TypedDict, total=False):
|
|
490
490
|
Id: String
|
|
491
491
|
MessageBody: String
|
|
492
|
-
DelaySeconds:
|
|
493
|
-
MessageAttributes:
|
|
494
|
-
MessageSystemAttributes:
|
|
495
|
-
MessageDeduplicationId:
|
|
496
|
-
MessageGroupId:
|
|
492
|
+
DelaySeconds: NullableInteger | None
|
|
493
|
+
MessageAttributes: MessageBodyAttributeMap | None
|
|
494
|
+
MessageSystemAttributes: MessageBodySystemAttributeMap | None
|
|
495
|
+
MessageDeduplicationId: String | None
|
|
496
|
+
MessageGroupId: String | None
|
|
497
497
|
|
|
498
498
|
|
|
499
|
-
SendMessageBatchRequestEntryList =
|
|
499
|
+
SendMessageBatchRequestEntryList = list[SendMessageBatchRequestEntry]
|
|
500
500
|
|
|
501
501
|
|
|
502
502
|
class SendMessageBatchRequest(ServiceRequest):
|
|
@@ -508,12 +508,12 @@ class SendMessageBatchResultEntry(TypedDict, total=False):
|
|
|
508
508
|
Id: String
|
|
509
509
|
MessageId: String
|
|
510
510
|
MD5OfMessageBody: String
|
|
511
|
-
MD5OfMessageAttributes:
|
|
512
|
-
MD5OfMessageSystemAttributes:
|
|
513
|
-
SequenceNumber:
|
|
511
|
+
MD5OfMessageAttributes: String | None
|
|
512
|
+
MD5OfMessageSystemAttributes: String | None
|
|
513
|
+
SequenceNumber: String | None
|
|
514
514
|
|
|
515
515
|
|
|
516
|
-
SendMessageBatchResultEntryList =
|
|
516
|
+
SendMessageBatchResultEntryList = list[SendMessageBatchResultEntry]
|
|
517
517
|
|
|
518
518
|
|
|
519
519
|
class SendMessageBatchResult(TypedDict, total=False):
|
|
@@ -524,19 +524,19 @@ class SendMessageBatchResult(TypedDict, total=False):
|
|
|
524
524
|
class SendMessageRequest(ServiceRequest):
|
|
525
525
|
QueueUrl: String
|
|
526
526
|
MessageBody: String
|
|
527
|
-
DelaySeconds:
|
|
528
|
-
MessageAttributes:
|
|
529
|
-
MessageSystemAttributes:
|
|
530
|
-
MessageDeduplicationId:
|
|
531
|
-
MessageGroupId:
|
|
527
|
+
DelaySeconds: NullableInteger | None
|
|
528
|
+
MessageAttributes: MessageBodyAttributeMap | None
|
|
529
|
+
MessageSystemAttributes: MessageBodySystemAttributeMap | None
|
|
530
|
+
MessageDeduplicationId: String | None
|
|
531
|
+
MessageGroupId: String | None
|
|
532
532
|
|
|
533
533
|
|
|
534
534
|
class SendMessageResult(TypedDict, total=False):
|
|
535
|
-
MD5OfMessageBody:
|
|
536
|
-
MD5OfMessageAttributes:
|
|
537
|
-
MD5OfMessageSystemAttributes:
|
|
538
|
-
MessageId:
|
|
539
|
-
SequenceNumber:
|
|
535
|
+
MD5OfMessageBody: String | None
|
|
536
|
+
MD5OfMessageAttributes: String | None
|
|
537
|
+
MD5OfMessageSystemAttributes: String | None
|
|
538
|
+
MessageId: String | None
|
|
539
|
+
SequenceNumber: String | None
|
|
540
540
|
|
|
541
541
|
|
|
542
542
|
class SetQueueAttributesRequest(ServiceRequest):
|
|
@@ -546,15 +546,15 @@ class SetQueueAttributesRequest(ServiceRequest):
|
|
|
546
546
|
|
|
547
547
|
class StartMessageMoveTaskRequest(ServiceRequest):
|
|
548
548
|
SourceArn: String
|
|
549
|
-
DestinationArn:
|
|
550
|
-
MaxNumberOfMessagesPerSecond:
|
|
549
|
+
DestinationArn: String | None
|
|
550
|
+
MaxNumberOfMessagesPerSecond: NullableInteger | None
|
|
551
551
|
|
|
552
552
|
|
|
553
553
|
class StartMessageMoveTaskResult(TypedDict, total=False):
|
|
554
|
-
TaskHandle:
|
|
554
|
+
TaskHandle: String | None
|
|
555
555
|
|
|
556
556
|
|
|
557
|
-
TagKeyList =
|
|
557
|
+
TagKeyList = list[TagKey]
|
|
558
558
|
|
|
559
559
|
|
|
560
560
|
class TagQueueRequest(ServiceRequest):
|
|
@@ -568,8 +568,8 @@ class UntagQueueRequest(ServiceRequest):
|
|
|
568
568
|
|
|
569
569
|
|
|
570
570
|
class SqsApi:
|
|
571
|
-
service = "sqs"
|
|
572
|
-
version = "2012-11-05"
|
|
571
|
+
service: str = "sqs"
|
|
572
|
+
version: str = "2012-11-05"
|
|
573
573
|
|
|
574
574
|
@handler("AddPermission")
|
|
575
575
|
def add_permission(
|