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,10 +1,11 @@
|
|
|
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
|
|
|
7
7
|
AWSAccountIdType = str
|
|
8
|
+
AccountIdType = str
|
|
8
9
|
AliasNameType = str
|
|
9
10
|
ArnType = str
|
|
10
11
|
BackingKeyIdResponseType = str
|
|
@@ -114,6 +115,7 @@ class DataKeyPairSpec(StrEnum):
|
|
|
114
115
|
ECC_NIST_P521 = "ECC_NIST_P521"
|
|
115
116
|
ECC_SECG_P256K1 = "ECC_SECG_P256K1"
|
|
116
117
|
SM2 = "SM2"
|
|
118
|
+
ECC_NIST_EDWARDS25519 = "ECC_NIST_EDWARDS25519"
|
|
117
119
|
|
|
118
120
|
|
|
119
121
|
class DataKeySpec(StrEnum):
|
|
@@ -204,6 +206,7 @@ class KeySpec(StrEnum):
|
|
|
204
206
|
ML_DSA_44 = "ML_DSA_44"
|
|
205
207
|
ML_DSA_65 = "ML_DSA_65"
|
|
206
208
|
ML_DSA_87 = "ML_DSA_87"
|
|
209
|
+
ECC_NIST_EDWARDS25519 = "ECC_NIST_EDWARDS25519"
|
|
207
210
|
|
|
208
211
|
|
|
209
212
|
class KeyState(StrEnum):
|
|
@@ -266,6 +269,8 @@ class SigningAlgorithmSpec(StrEnum):
|
|
|
266
269
|
ECDSA_SHA_512 = "ECDSA_SHA_512"
|
|
267
270
|
SM2DSA = "SM2DSA"
|
|
268
271
|
ML_DSA_SHAKE_256 = "ML_DSA_SHAKE_256"
|
|
272
|
+
ED25519_SHA_512 = "ED25519_SHA_512"
|
|
273
|
+
ED25519_PH_SHA_512 = "ED25519_PH_SHA_512"
|
|
269
274
|
|
|
270
275
|
|
|
271
276
|
class WrappingKeySpec(StrEnum):
|
|
@@ -572,14 +577,14 @@ DateType = datetime
|
|
|
572
577
|
|
|
573
578
|
|
|
574
579
|
class AliasListEntry(TypedDict, total=False):
|
|
575
|
-
AliasName:
|
|
576
|
-
AliasArn:
|
|
577
|
-
TargetKeyId:
|
|
578
|
-
CreationDate:
|
|
579
|
-
LastUpdatedDate:
|
|
580
|
+
AliasName: AliasNameType | None
|
|
581
|
+
AliasArn: ArnType | None
|
|
582
|
+
TargetKeyId: KeyIdType | None
|
|
583
|
+
CreationDate: DateType | None
|
|
584
|
+
LastUpdatedDate: DateType | None
|
|
580
585
|
|
|
581
586
|
|
|
582
|
-
AliasList =
|
|
587
|
+
AliasList = list[AliasListEntry]
|
|
583
588
|
AttestationDocumentType = bytes
|
|
584
589
|
|
|
585
590
|
|
|
@@ -588,7 +593,7 @@ class CancelKeyDeletionRequest(ServiceRequest):
|
|
|
588
593
|
|
|
589
594
|
|
|
590
595
|
class CancelKeyDeletionResponse(TypedDict, total=False):
|
|
591
|
-
KeyId:
|
|
596
|
+
KeyId: KeyIdType | None
|
|
592
597
|
|
|
593
598
|
|
|
594
599
|
CiphertextType = bytes
|
|
@@ -614,47 +619,48 @@ class XksProxyAuthenticationCredentialType(TypedDict, total=False):
|
|
|
614
619
|
|
|
615
620
|
class CreateCustomKeyStoreRequest(ServiceRequest):
|
|
616
621
|
CustomKeyStoreName: CustomKeyStoreNameType
|
|
617
|
-
CloudHsmClusterId:
|
|
618
|
-
TrustAnchorCertificate:
|
|
619
|
-
KeyStorePassword:
|
|
620
|
-
CustomKeyStoreType:
|
|
621
|
-
XksProxyUriEndpoint:
|
|
622
|
-
XksProxyUriPath:
|
|
623
|
-
XksProxyVpcEndpointServiceName:
|
|
624
|
-
|
|
625
|
-
|
|
622
|
+
CloudHsmClusterId: CloudHsmClusterIdType | None
|
|
623
|
+
TrustAnchorCertificate: TrustAnchorCertificateType | None
|
|
624
|
+
KeyStorePassword: KeyStorePasswordType | None
|
|
625
|
+
CustomKeyStoreType: CustomKeyStoreType | None
|
|
626
|
+
XksProxyUriEndpoint: XksProxyUriEndpointType | None
|
|
627
|
+
XksProxyUriPath: XksProxyUriPathType | None
|
|
628
|
+
XksProxyVpcEndpointServiceName: XksProxyVpcEndpointServiceNameType | None
|
|
629
|
+
XksProxyVpcEndpointServiceOwner: AccountIdType | None
|
|
630
|
+
XksProxyAuthenticationCredential: XksProxyAuthenticationCredentialType | None
|
|
631
|
+
XksProxyConnectivity: XksProxyConnectivityType | None
|
|
626
632
|
|
|
627
633
|
|
|
628
634
|
class CreateCustomKeyStoreResponse(TypedDict, total=False):
|
|
629
|
-
CustomKeyStoreId:
|
|
635
|
+
CustomKeyStoreId: CustomKeyStoreIdType | None
|
|
630
636
|
|
|
631
637
|
|
|
632
|
-
GrantTokenList =
|
|
633
|
-
EncryptionContextType =
|
|
638
|
+
GrantTokenList = list[GrantTokenType]
|
|
639
|
+
EncryptionContextType = dict[EncryptionContextKey, EncryptionContextValue]
|
|
634
640
|
|
|
635
641
|
|
|
636
642
|
class GrantConstraints(TypedDict, total=False):
|
|
637
|
-
EncryptionContextSubset:
|
|
638
|
-
EncryptionContextEquals:
|
|
643
|
+
EncryptionContextSubset: EncryptionContextType | None
|
|
644
|
+
EncryptionContextEquals: EncryptionContextType | None
|
|
639
645
|
|
|
640
646
|
|
|
641
|
-
GrantOperationList =
|
|
647
|
+
GrantOperationList = list[GrantOperation]
|
|
642
648
|
|
|
643
649
|
|
|
644
650
|
class CreateGrantRequest(ServiceRequest):
|
|
645
651
|
KeyId: KeyIdType
|
|
646
652
|
GranteePrincipal: PrincipalIdType
|
|
647
|
-
RetiringPrincipal:
|
|
653
|
+
RetiringPrincipal: PrincipalIdType | None
|
|
648
654
|
Operations: GrantOperationList
|
|
649
|
-
Constraints:
|
|
650
|
-
GrantTokens:
|
|
651
|
-
Name:
|
|
652
|
-
DryRun:
|
|
655
|
+
Constraints: GrantConstraints | None
|
|
656
|
+
GrantTokens: GrantTokenList | None
|
|
657
|
+
Name: GrantNameType | None
|
|
658
|
+
DryRun: NullableBooleanType | None
|
|
653
659
|
|
|
654
660
|
|
|
655
661
|
class CreateGrantResponse(TypedDict, total=False):
|
|
656
|
-
GrantToken:
|
|
657
|
-
GrantId:
|
|
662
|
+
GrantToken: GrantTokenType | None
|
|
663
|
+
GrantId: GrantIdType | None
|
|
658
664
|
|
|
659
665
|
|
|
660
666
|
class Tag(TypedDict, total=False):
|
|
@@ -662,129 +668,130 @@ class Tag(TypedDict, total=False):
|
|
|
662
668
|
TagValue: TagValueType
|
|
663
669
|
|
|
664
670
|
|
|
665
|
-
TagList =
|
|
671
|
+
TagList = list[Tag]
|
|
666
672
|
|
|
667
673
|
|
|
668
674
|
class CreateKeyRequest(ServiceRequest):
|
|
669
|
-
Policy:
|
|
670
|
-
Description:
|
|
671
|
-
KeyUsage:
|
|
672
|
-
CustomerMasterKeySpec:
|
|
673
|
-
KeySpec:
|
|
674
|
-
Origin:
|
|
675
|
-
CustomKeyStoreId:
|
|
676
|
-
BypassPolicyLockoutSafetyCheck:
|
|
677
|
-
Tags:
|
|
678
|
-
MultiRegion:
|
|
679
|
-
XksKeyId:
|
|
675
|
+
Policy: PolicyType | None
|
|
676
|
+
Description: DescriptionType | None
|
|
677
|
+
KeyUsage: KeyUsageType | None
|
|
678
|
+
CustomerMasterKeySpec: CustomerMasterKeySpec | None
|
|
679
|
+
KeySpec: KeySpec | None
|
|
680
|
+
Origin: OriginType | None
|
|
681
|
+
CustomKeyStoreId: CustomKeyStoreIdType | None
|
|
682
|
+
BypassPolicyLockoutSafetyCheck: BooleanType | None
|
|
683
|
+
Tags: TagList | None
|
|
684
|
+
MultiRegion: NullableBooleanType | None
|
|
685
|
+
XksKeyId: XksKeyIdType | None
|
|
680
686
|
|
|
681
687
|
|
|
682
688
|
class XksKeyConfigurationType(TypedDict, total=False):
|
|
683
|
-
Id:
|
|
689
|
+
Id: XksKeyIdType | None
|
|
684
690
|
|
|
685
691
|
|
|
686
|
-
MacAlgorithmSpecList =
|
|
692
|
+
MacAlgorithmSpecList = list[MacAlgorithmSpec]
|
|
687
693
|
|
|
688
694
|
|
|
689
695
|
class MultiRegionKey(TypedDict, total=False):
|
|
690
|
-
Arn:
|
|
691
|
-
Region:
|
|
696
|
+
Arn: ArnType | None
|
|
697
|
+
Region: RegionType | None
|
|
692
698
|
|
|
693
699
|
|
|
694
|
-
MultiRegionKeyList =
|
|
700
|
+
MultiRegionKeyList = list[MultiRegionKey]
|
|
695
701
|
|
|
696
702
|
|
|
697
703
|
class MultiRegionConfiguration(TypedDict, total=False):
|
|
698
|
-
MultiRegionKeyType:
|
|
699
|
-
PrimaryKey:
|
|
700
|
-
ReplicaKeys:
|
|
704
|
+
MultiRegionKeyType: MultiRegionKeyType | None
|
|
705
|
+
PrimaryKey: MultiRegionKey | None
|
|
706
|
+
ReplicaKeys: MultiRegionKeyList | None
|
|
701
707
|
|
|
702
708
|
|
|
703
|
-
KeyAgreementAlgorithmSpecList =
|
|
704
|
-
SigningAlgorithmSpecList =
|
|
705
|
-
EncryptionAlgorithmSpecList =
|
|
709
|
+
KeyAgreementAlgorithmSpecList = list[KeyAgreementAlgorithmSpec]
|
|
710
|
+
SigningAlgorithmSpecList = list[SigningAlgorithmSpec]
|
|
711
|
+
EncryptionAlgorithmSpecList = list[EncryptionAlgorithmSpec]
|
|
706
712
|
|
|
707
713
|
|
|
708
714
|
class KeyMetadata(TypedDict, total=False):
|
|
709
|
-
AWSAccountId:
|
|
715
|
+
AWSAccountId: AWSAccountIdType | None
|
|
710
716
|
KeyId: KeyIdType
|
|
711
|
-
Arn:
|
|
712
|
-
CreationDate:
|
|
713
|
-
Enabled:
|
|
714
|
-
Description:
|
|
715
|
-
KeyUsage:
|
|
716
|
-
KeyState:
|
|
717
|
-
DeletionDate:
|
|
718
|
-
ValidTo:
|
|
719
|
-
Origin:
|
|
720
|
-
CustomKeyStoreId:
|
|
721
|
-
CloudHsmClusterId:
|
|
722
|
-
ExpirationModel:
|
|
723
|
-
KeyManager:
|
|
724
|
-
CustomerMasterKeySpec:
|
|
725
|
-
KeySpec:
|
|
726
|
-
EncryptionAlgorithms:
|
|
727
|
-
SigningAlgorithms:
|
|
728
|
-
KeyAgreementAlgorithms:
|
|
729
|
-
MultiRegion:
|
|
730
|
-
MultiRegionConfiguration:
|
|
731
|
-
PendingDeletionWindowInDays:
|
|
732
|
-
MacAlgorithms:
|
|
733
|
-
XksKeyConfiguration:
|
|
734
|
-
CurrentKeyMaterialId:
|
|
717
|
+
Arn: ArnType | None
|
|
718
|
+
CreationDate: DateType | None
|
|
719
|
+
Enabled: BooleanType | None
|
|
720
|
+
Description: DescriptionType | None
|
|
721
|
+
KeyUsage: KeyUsageType | None
|
|
722
|
+
KeyState: KeyState | None
|
|
723
|
+
DeletionDate: DateType | None
|
|
724
|
+
ValidTo: DateType | None
|
|
725
|
+
Origin: OriginType | None
|
|
726
|
+
CustomKeyStoreId: CustomKeyStoreIdType | None
|
|
727
|
+
CloudHsmClusterId: CloudHsmClusterIdType | None
|
|
728
|
+
ExpirationModel: ExpirationModelType | None
|
|
729
|
+
KeyManager: KeyManagerType | None
|
|
730
|
+
CustomerMasterKeySpec: CustomerMasterKeySpec | None
|
|
731
|
+
KeySpec: KeySpec | None
|
|
732
|
+
EncryptionAlgorithms: EncryptionAlgorithmSpecList | None
|
|
733
|
+
SigningAlgorithms: SigningAlgorithmSpecList | None
|
|
734
|
+
KeyAgreementAlgorithms: KeyAgreementAlgorithmSpecList | None
|
|
735
|
+
MultiRegion: NullableBooleanType | None
|
|
736
|
+
MultiRegionConfiguration: MultiRegionConfiguration | None
|
|
737
|
+
PendingDeletionWindowInDays: PendingWindowInDaysType | None
|
|
738
|
+
MacAlgorithms: MacAlgorithmSpecList | None
|
|
739
|
+
XksKeyConfiguration: XksKeyConfigurationType | None
|
|
740
|
+
CurrentKeyMaterialId: BackingKeyIdType | None
|
|
735
741
|
|
|
736
742
|
|
|
737
743
|
class CreateKeyResponse(TypedDict, total=False):
|
|
738
|
-
KeyMetadata:
|
|
744
|
+
KeyMetadata: KeyMetadata | None
|
|
739
745
|
|
|
740
746
|
|
|
741
747
|
class XksProxyConfigurationType(TypedDict, total=False):
|
|
742
|
-
Connectivity:
|
|
743
|
-
AccessKeyId:
|
|
744
|
-
UriEndpoint:
|
|
745
|
-
UriPath:
|
|
746
|
-
VpcEndpointServiceName:
|
|
748
|
+
Connectivity: XksProxyConnectivityType | None
|
|
749
|
+
AccessKeyId: XksProxyAuthenticationAccessKeyIdType | None
|
|
750
|
+
UriEndpoint: XksProxyUriEndpointType | None
|
|
751
|
+
UriPath: XksProxyUriPathType | None
|
|
752
|
+
VpcEndpointServiceName: XksProxyVpcEndpointServiceNameType | None
|
|
753
|
+
VpcEndpointServiceOwner: AccountIdType | None
|
|
747
754
|
|
|
748
755
|
|
|
749
756
|
class CustomKeyStoresListEntry(TypedDict, total=False):
|
|
750
|
-
CustomKeyStoreId:
|
|
751
|
-
CustomKeyStoreName:
|
|
752
|
-
CloudHsmClusterId:
|
|
753
|
-
TrustAnchorCertificate:
|
|
754
|
-
ConnectionState:
|
|
755
|
-
ConnectionErrorCode:
|
|
756
|
-
CreationDate:
|
|
757
|
-
CustomKeyStoreType:
|
|
758
|
-
XksProxyConfiguration:
|
|
757
|
+
CustomKeyStoreId: CustomKeyStoreIdType | None
|
|
758
|
+
CustomKeyStoreName: CustomKeyStoreNameType | None
|
|
759
|
+
CloudHsmClusterId: CloudHsmClusterIdType | None
|
|
760
|
+
TrustAnchorCertificate: TrustAnchorCertificateType | None
|
|
761
|
+
ConnectionState: ConnectionStateType | None
|
|
762
|
+
ConnectionErrorCode: ConnectionErrorCodeType | None
|
|
763
|
+
CreationDate: DateType | None
|
|
764
|
+
CustomKeyStoreType: CustomKeyStoreType | None
|
|
765
|
+
XksProxyConfiguration: XksProxyConfigurationType | None
|
|
759
766
|
|
|
760
767
|
|
|
761
|
-
CustomKeyStoresList =
|
|
768
|
+
CustomKeyStoresList = list[CustomKeyStoresListEntry]
|
|
762
769
|
|
|
763
770
|
|
|
764
771
|
class RecipientInfo(TypedDict, total=False):
|
|
765
|
-
KeyEncryptionAlgorithm:
|
|
766
|
-
AttestationDocument:
|
|
772
|
+
KeyEncryptionAlgorithm: KeyEncryptionMechanism | None
|
|
773
|
+
AttestationDocument: AttestationDocumentType | None
|
|
767
774
|
|
|
768
775
|
|
|
769
776
|
class DecryptRequest(ServiceRequest):
|
|
770
777
|
CiphertextBlob: CiphertextType
|
|
771
|
-
EncryptionContext:
|
|
772
|
-
GrantTokens:
|
|
773
|
-
KeyId:
|
|
774
|
-
EncryptionAlgorithm:
|
|
775
|
-
Recipient:
|
|
776
|
-
DryRun:
|
|
778
|
+
EncryptionContext: EncryptionContextType | None
|
|
779
|
+
GrantTokens: GrantTokenList | None
|
|
780
|
+
KeyId: KeyIdType | None
|
|
781
|
+
EncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
782
|
+
Recipient: RecipientInfo | None
|
|
783
|
+
DryRun: NullableBooleanType | None
|
|
777
784
|
|
|
778
785
|
|
|
779
786
|
PlaintextType = bytes
|
|
780
787
|
|
|
781
788
|
|
|
782
789
|
class DecryptResponse(TypedDict, total=False):
|
|
783
|
-
KeyId:
|
|
784
|
-
Plaintext:
|
|
785
|
-
EncryptionAlgorithm:
|
|
786
|
-
CiphertextForRecipient:
|
|
787
|
-
KeyMaterialId:
|
|
790
|
+
KeyId: KeyIdType | None
|
|
791
|
+
Plaintext: PlaintextType | None
|
|
792
|
+
EncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
793
|
+
CiphertextForRecipient: CiphertextType | None
|
|
794
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
788
795
|
|
|
789
796
|
|
|
790
797
|
class DeleteAliasRequest(ServiceRequest):
|
|
@@ -801,12 +808,12 @@ class DeleteCustomKeyStoreResponse(TypedDict, total=False):
|
|
|
801
808
|
|
|
802
809
|
class DeleteImportedKeyMaterialRequest(ServiceRequest):
|
|
803
810
|
KeyId: KeyIdType
|
|
804
|
-
KeyMaterialId:
|
|
811
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
805
812
|
|
|
806
813
|
|
|
807
814
|
class DeleteImportedKeyMaterialResponse(TypedDict, total=False):
|
|
808
|
-
KeyId:
|
|
809
|
-
KeyMaterialId:
|
|
815
|
+
KeyId: KeyIdType | None
|
|
816
|
+
KeyMaterialId: BackingKeyIdResponseType | None
|
|
810
817
|
|
|
811
818
|
|
|
812
819
|
PublicKeyType = bytes
|
|
@@ -816,39 +823,39 @@ class DeriveSharedSecretRequest(ServiceRequest):
|
|
|
816
823
|
KeyId: KeyIdType
|
|
817
824
|
KeyAgreementAlgorithm: KeyAgreementAlgorithmSpec
|
|
818
825
|
PublicKey: PublicKeyType
|
|
819
|
-
GrantTokens:
|
|
820
|
-
DryRun:
|
|
821
|
-
Recipient:
|
|
826
|
+
GrantTokens: GrantTokenList | None
|
|
827
|
+
DryRun: NullableBooleanType | None
|
|
828
|
+
Recipient: RecipientInfo | None
|
|
822
829
|
|
|
823
830
|
|
|
824
831
|
class DeriveSharedSecretResponse(TypedDict, total=False):
|
|
825
|
-
KeyId:
|
|
826
|
-
SharedSecret:
|
|
827
|
-
CiphertextForRecipient:
|
|
828
|
-
KeyAgreementAlgorithm:
|
|
829
|
-
KeyOrigin:
|
|
832
|
+
KeyId: KeyIdType | None
|
|
833
|
+
SharedSecret: PlaintextType | None
|
|
834
|
+
CiphertextForRecipient: CiphertextType | None
|
|
835
|
+
KeyAgreementAlgorithm: KeyAgreementAlgorithmSpec | None
|
|
836
|
+
KeyOrigin: OriginType | None
|
|
830
837
|
|
|
831
838
|
|
|
832
839
|
class DescribeCustomKeyStoresRequest(ServiceRequest):
|
|
833
|
-
CustomKeyStoreId:
|
|
834
|
-
CustomKeyStoreName:
|
|
835
|
-
Limit:
|
|
836
|
-
Marker:
|
|
840
|
+
CustomKeyStoreId: CustomKeyStoreIdType | None
|
|
841
|
+
CustomKeyStoreName: CustomKeyStoreNameType | None
|
|
842
|
+
Limit: LimitType | None
|
|
843
|
+
Marker: MarkerType | None
|
|
837
844
|
|
|
838
845
|
|
|
839
846
|
class DescribeCustomKeyStoresResponse(TypedDict, total=False):
|
|
840
|
-
CustomKeyStores:
|
|
841
|
-
NextMarker:
|
|
842
|
-
Truncated:
|
|
847
|
+
CustomKeyStores: CustomKeyStoresList | None
|
|
848
|
+
NextMarker: MarkerType | None
|
|
849
|
+
Truncated: BooleanType | None
|
|
843
850
|
|
|
844
851
|
|
|
845
852
|
class DescribeKeyRequest(ServiceRequest):
|
|
846
853
|
KeyId: KeyIdType
|
|
847
|
-
GrantTokens:
|
|
854
|
+
GrantTokens: GrantTokenList | None
|
|
848
855
|
|
|
849
856
|
|
|
850
857
|
class DescribeKeyResponse(TypedDict, total=False):
|
|
851
|
-
KeyMetadata:
|
|
858
|
+
KeyMetadata: KeyMetadata | None
|
|
852
859
|
|
|
853
860
|
|
|
854
861
|
class DisableKeyRequest(ServiceRequest):
|
|
@@ -873,125 +880,125 @@ class EnableKeyRequest(ServiceRequest):
|
|
|
873
880
|
|
|
874
881
|
class EnableKeyRotationRequest(ServiceRequest):
|
|
875
882
|
KeyId: KeyIdType
|
|
876
|
-
RotationPeriodInDays:
|
|
883
|
+
RotationPeriodInDays: RotationPeriodInDaysType | None
|
|
877
884
|
|
|
878
885
|
|
|
879
886
|
class EncryptRequest(ServiceRequest):
|
|
880
887
|
KeyId: KeyIdType
|
|
881
888
|
Plaintext: PlaintextType
|
|
882
|
-
EncryptionContext:
|
|
883
|
-
GrantTokens:
|
|
884
|
-
EncryptionAlgorithm:
|
|
885
|
-
DryRun:
|
|
889
|
+
EncryptionContext: EncryptionContextType | None
|
|
890
|
+
GrantTokens: GrantTokenList | None
|
|
891
|
+
EncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
892
|
+
DryRun: NullableBooleanType | None
|
|
886
893
|
|
|
887
894
|
|
|
888
895
|
class EncryptResponse(TypedDict, total=False):
|
|
889
|
-
CiphertextBlob:
|
|
890
|
-
KeyId:
|
|
891
|
-
EncryptionAlgorithm:
|
|
896
|
+
CiphertextBlob: CiphertextType | None
|
|
897
|
+
KeyId: KeyIdType | None
|
|
898
|
+
EncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
892
899
|
|
|
893
900
|
|
|
894
901
|
class GenerateDataKeyPairRequest(ServiceRequest):
|
|
895
|
-
EncryptionContext:
|
|
902
|
+
EncryptionContext: EncryptionContextType | None
|
|
896
903
|
KeyId: KeyIdType
|
|
897
904
|
KeyPairSpec: DataKeyPairSpec
|
|
898
|
-
GrantTokens:
|
|
899
|
-
Recipient:
|
|
900
|
-
DryRun:
|
|
905
|
+
GrantTokens: GrantTokenList | None
|
|
906
|
+
Recipient: RecipientInfo | None
|
|
907
|
+
DryRun: NullableBooleanType | None
|
|
901
908
|
|
|
902
909
|
|
|
903
910
|
class GenerateDataKeyPairResponse(TypedDict, total=False):
|
|
904
|
-
PrivateKeyCiphertextBlob:
|
|
905
|
-
PrivateKeyPlaintext:
|
|
906
|
-
PublicKey:
|
|
907
|
-
KeyId:
|
|
908
|
-
KeyPairSpec:
|
|
909
|
-
CiphertextForRecipient:
|
|
910
|
-
KeyMaterialId:
|
|
911
|
+
PrivateKeyCiphertextBlob: CiphertextType | None
|
|
912
|
+
PrivateKeyPlaintext: PlaintextType | None
|
|
913
|
+
PublicKey: PublicKeyType | None
|
|
914
|
+
KeyId: KeyIdType | None
|
|
915
|
+
KeyPairSpec: DataKeyPairSpec | None
|
|
916
|
+
CiphertextForRecipient: CiphertextType | None
|
|
917
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
911
918
|
|
|
912
919
|
|
|
913
920
|
class GenerateDataKeyPairWithoutPlaintextRequest(ServiceRequest):
|
|
914
|
-
EncryptionContext:
|
|
921
|
+
EncryptionContext: EncryptionContextType | None
|
|
915
922
|
KeyId: KeyIdType
|
|
916
923
|
KeyPairSpec: DataKeyPairSpec
|
|
917
|
-
GrantTokens:
|
|
918
|
-
DryRun:
|
|
924
|
+
GrantTokens: GrantTokenList | None
|
|
925
|
+
DryRun: NullableBooleanType | None
|
|
919
926
|
|
|
920
927
|
|
|
921
928
|
class GenerateDataKeyPairWithoutPlaintextResponse(TypedDict, total=False):
|
|
922
|
-
PrivateKeyCiphertextBlob:
|
|
923
|
-
PublicKey:
|
|
924
|
-
KeyId:
|
|
925
|
-
KeyPairSpec:
|
|
926
|
-
KeyMaterialId:
|
|
929
|
+
PrivateKeyCiphertextBlob: CiphertextType | None
|
|
930
|
+
PublicKey: PublicKeyType | None
|
|
931
|
+
KeyId: KeyIdType | None
|
|
932
|
+
KeyPairSpec: DataKeyPairSpec | None
|
|
933
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
927
934
|
|
|
928
935
|
|
|
929
936
|
class GenerateDataKeyRequest(ServiceRequest):
|
|
930
937
|
KeyId: KeyIdType
|
|
931
|
-
EncryptionContext:
|
|
932
|
-
NumberOfBytes:
|
|
933
|
-
KeySpec:
|
|
934
|
-
GrantTokens:
|
|
935
|
-
Recipient:
|
|
936
|
-
DryRun:
|
|
938
|
+
EncryptionContext: EncryptionContextType | None
|
|
939
|
+
NumberOfBytes: NumberOfBytesType | None
|
|
940
|
+
KeySpec: DataKeySpec | None
|
|
941
|
+
GrantTokens: GrantTokenList | None
|
|
942
|
+
Recipient: RecipientInfo | None
|
|
943
|
+
DryRun: NullableBooleanType | None
|
|
937
944
|
|
|
938
945
|
|
|
939
946
|
class GenerateDataKeyResponse(TypedDict, total=False):
|
|
940
|
-
CiphertextBlob:
|
|
941
|
-
Plaintext:
|
|
942
|
-
KeyId:
|
|
943
|
-
CiphertextForRecipient:
|
|
944
|
-
KeyMaterialId:
|
|
947
|
+
CiphertextBlob: CiphertextType | None
|
|
948
|
+
Plaintext: PlaintextType | None
|
|
949
|
+
KeyId: KeyIdType | None
|
|
950
|
+
CiphertextForRecipient: CiphertextType | None
|
|
951
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
945
952
|
|
|
946
953
|
|
|
947
954
|
class GenerateDataKeyWithoutPlaintextRequest(ServiceRequest):
|
|
948
955
|
KeyId: KeyIdType
|
|
949
|
-
EncryptionContext:
|
|
950
|
-
KeySpec:
|
|
951
|
-
NumberOfBytes:
|
|
952
|
-
GrantTokens:
|
|
953
|
-
DryRun:
|
|
956
|
+
EncryptionContext: EncryptionContextType | None
|
|
957
|
+
KeySpec: DataKeySpec | None
|
|
958
|
+
NumberOfBytes: NumberOfBytesType | None
|
|
959
|
+
GrantTokens: GrantTokenList | None
|
|
960
|
+
DryRun: NullableBooleanType | None
|
|
954
961
|
|
|
955
962
|
|
|
956
963
|
class GenerateDataKeyWithoutPlaintextResponse(TypedDict, total=False):
|
|
957
|
-
CiphertextBlob:
|
|
958
|
-
KeyId:
|
|
959
|
-
KeyMaterialId:
|
|
964
|
+
CiphertextBlob: CiphertextType | None
|
|
965
|
+
KeyId: KeyIdType | None
|
|
966
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
960
967
|
|
|
961
968
|
|
|
962
969
|
class GenerateMacRequest(ServiceRequest):
|
|
963
970
|
Message: PlaintextType
|
|
964
971
|
KeyId: KeyIdType
|
|
965
972
|
MacAlgorithm: MacAlgorithmSpec
|
|
966
|
-
GrantTokens:
|
|
967
|
-
DryRun:
|
|
973
|
+
GrantTokens: GrantTokenList | None
|
|
974
|
+
DryRun: NullableBooleanType | None
|
|
968
975
|
|
|
969
976
|
|
|
970
977
|
class GenerateMacResponse(TypedDict, total=False):
|
|
971
|
-
Mac:
|
|
972
|
-
MacAlgorithm:
|
|
973
|
-
KeyId:
|
|
978
|
+
Mac: CiphertextType | None
|
|
979
|
+
MacAlgorithm: MacAlgorithmSpec | None
|
|
980
|
+
KeyId: KeyIdType | None
|
|
974
981
|
|
|
975
982
|
|
|
976
983
|
class GenerateRandomRequest(ServiceRequest):
|
|
977
|
-
NumberOfBytes:
|
|
978
|
-
CustomKeyStoreId:
|
|
979
|
-
Recipient:
|
|
984
|
+
NumberOfBytes: NumberOfBytesType | None
|
|
985
|
+
CustomKeyStoreId: CustomKeyStoreIdType | None
|
|
986
|
+
Recipient: RecipientInfo | None
|
|
980
987
|
|
|
981
988
|
|
|
982
989
|
class GenerateRandomResponse(TypedDict, total=False):
|
|
983
|
-
Plaintext:
|
|
984
|
-
CiphertextForRecipient:
|
|
990
|
+
Plaintext: PlaintextType | None
|
|
991
|
+
CiphertextForRecipient: CiphertextType | None
|
|
985
992
|
|
|
986
993
|
|
|
987
994
|
class GetKeyPolicyRequest(ServiceRequest):
|
|
988
995
|
KeyId: KeyIdType
|
|
989
|
-
PolicyName:
|
|
996
|
+
PolicyName: PolicyNameType | None
|
|
990
997
|
|
|
991
998
|
|
|
992
999
|
class GetKeyPolicyResponse(TypedDict, total=False):
|
|
993
|
-
Policy:
|
|
994
|
-
PolicyName:
|
|
1000
|
+
Policy: PolicyType | None
|
|
1001
|
+
PolicyName: PolicyNameType | None
|
|
995
1002
|
|
|
996
1003
|
|
|
997
1004
|
class GetKeyRotationStatusRequest(ServiceRequest):
|
|
@@ -999,11 +1006,11 @@ class GetKeyRotationStatusRequest(ServiceRequest):
|
|
|
999
1006
|
|
|
1000
1007
|
|
|
1001
1008
|
class GetKeyRotationStatusResponse(TypedDict, total=False):
|
|
1002
|
-
KeyRotationEnabled:
|
|
1003
|
-
KeyId:
|
|
1004
|
-
RotationPeriodInDays:
|
|
1005
|
-
NextRotationDate:
|
|
1006
|
-
OnDemandRotationStartDate:
|
|
1009
|
+
KeyRotationEnabled: BooleanType | None
|
|
1010
|
+
KeyId: KeyIdType | None
|
|
1011
|
+
RotationPeriodInDays: RotationPeriodInDaysType | None
|
|
1012
|
+
NextRotationDate: DateType | None
|
|
1013
|
+
OnDemandRotationStartDate: DateType | None
|
|
1007
1014
|
|
|
1008
1015
|
|
|
1009
1016
|
class GetParametersForImportRequest(ServiceRequest):
|
|
@@ -1013,220 +1020,220 @@ class GetParametersForImportRequest(ServiceRequest):
|
|
|
1013
1020
|
|
|
1014
1021
|
|
|
1015
1022
|
class GetParametersForImportResponse(TypedDict, total=False):
|
|
1016
|
-
KeyId:
|
|
1017
|
-
ImportToken:
|
|
1018
|
-
PublicKey:
|
|
1019
|
-
ParametersValidTo:
|
|
1023
|
+
KeyId: KeyIdType | None
|
|
1024
|
+
ImportToken: CiphertextType | None
|
|
1025
|
+
PublicKey: PlaintextType | None
|
|
1026
|
+
ParametersValidTo: DateType | None
|
|
1020
1027
|
|
|
1021
1028
|
|
|
1022
1029
|
class GetPublicKeyRequest(ServiceRequest):
|
|
1023
1030
|
KeyId: KeyIdType
|
|
1024
|
-
GrantTokens:
|
|
1031
|
+
GrantTokens: GrantTokenList | None
|
|
1025
1032
|
|
|
1026
1033
|
|
|
1027
1034
|
class GetPublicKeyResponse(TypedDict, total=False):
|
|
1028
|
-
KeyId:
|
|
1029
|
-
PublicKey:
|
|
1030
|
-
CustomerMasterKeySpec:
|
|
1031
|
-
KeySpec:
|
|
1032
|
-
KeyUsage:
|
|
1033
|
-
EncryptionAlgorithms:
|
|
1034
|
-
SigningAlgorithms:
|
|
1035
|
-
KeyAgreementAlgorithms:
|
|
1035
|
+
KeyId: KeyIdType | None
|
|
1036
|
+
PublicKey: PublicKeyType | None
|
|
1037
|
+
CustomerMasterKeySpec: CustomerMasterKeySpec | None
|
|
1038
|
+
KeySpec: KeySpec | None
|
|
1039
|
+
KeyUsage: KeyUsageType | None
|
|
1040
|
+
EncryptionAlgorithms: EncryptionAlgorithmSpecList | None
|
|
1041
|
+
SigningAlgorithms: SigningAlgorithmSpecList | None
|
|
1042
|
+
KeyAgreementAlgorithms: KeyAgreementAlgorithmSpecList | None
|
|
1036
1043
|
|
|
1037
1044
|
|
|
1038
1045
|
class GrantListEntry(TypedDict, total=False):
|
|
1039
|
-
KeyId:
|
|
1040
|
-
GrantId:
|
|
1041
|
-
Name:
|
|
1042
|
-
CreationDate:
|
|
1043
|
-
GranteePrincipal:
|
|
1044
|
-
RetiringPrincipal:
|
|
1045
|
-
IssuingAccount:
|
|
1046
|
-
Operations:
|
|
1047
|
-
Constraints:
|
|
1046
|
+
KeyId: KeyIdType | None
|
|
1047
|
+
GrantId: GrantIdType | None
|
|
1048
|
+
Name: GrantNameType | None
|
|
1049
|
+
CreationDate: DateType | None
|
|
1050
|
+
GranteePrincipal: PrincipalIdType | None
|
|
1051
|
+
RetiringPrincipal: PrincipalIdType | None
|
|
1052
|
+
IssuingAccount: PrincipalIdType | None
|
|
1053
|
+
Operations: GrantOperationList | None
|
|
1054
|
+
Constraints: GrantConstraints | None
|
|
1048
1055
|
|
|
1049
1056
|
|
|
1050
|
-
GrantList =
|
|
1057
|
+
GrantList = list[GrantListEntry]
|
|
1051
1058
|
|
|
1052
1059
|
|
|
1053
1060
|
class ImportKeyMaterialRequest(ServiceRequest):
|
|
1054
1061
|
KeyId: KeyIdType
|
|
1055
1062
|
ImportToken: CiphertextType
|
|
1056
1063
|
EncryptedKeyMaterial: CiphertextType
|
|
1057
|
-
ValidTo:
|
|
1058
|
-
ExpirationModel:
|
|
1059
|
-
ImportType:
|
|
1060
|
-
KeyMaterialDescription:
|
|
1061
|
-
KeyMaterialId:
|
|
1064
|
+
ValidTo: DateType | None
|
|
1065
|
+
ExpirationModel: ExpirationModelType | None
|
|
1066
|
+
ImportType: ImportType | None
|
|
1067
|
+
KeyMaterialDescription: KeyMaterialDescriptionType | None
|
|
1068
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
1062
1069
|
|
|
1063
1070
|
|
|
1064
1071
|
class ImportKeyMaterialResponse(TypedDict, total=False):
|
|
1065
|
-
KeyId:
|
|
1066
|
-
KeyMaterialId:
|
|
1072
|
+
KeyId: KeyIdType | None
|
|
1073
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
1067
1074
|
|
|
1068
1075
|
|
|
1069
1076
|
class KeyListEntry(TypedDict, total=False):
|
|
1070
|
-
KeyId:
|
|
1071
|
-
KeyArn:
|
|
1077
|
+
KeyId: KeyIdType | None
|
|
1078
|
+
KeyArn: ArnType | None
|
|
1072
1079
|
|
|
1073
1080
|
|
|
1074
|
-
KeyList =
|
|
1081
|
+
KeyList = list[KeyListEntry]
|
|
1075
1082
|
|
|
1076
1083
|
|
|
1077
1084
|
class ListAliasesRequest(ServiceRequest):
|
|
1078
|
-
KeyId:
|
|
1079
|
-
Limit:
|
|
1080
|
-
Marker:
|
|
1085
|
+
KeyId: KeyIdType | None
|
|
1086
|
+
Limit: LimitType | None
|
|
1087
|
+
Marker: MarkerType | None
|
|
1081
1088
|
|
|
1082
1089
|
|
|
1083
1090
|
class ListAliasesResponse(TypedDict, total=False):
|
|
1084
|
-
Aliases:
|
|
1085
|
-
NextMarker:
|
|
1086
|
-
Truncated:
|
|
1091
|
+
Aliases: AliasList | None
|
|
1092
|
+
NextMarker: MarkerType | None
|
|
1093
|
+
Truncated: BooleanType | None
|
|
1087
1094
|
|
|
1088
1095
|
|
|
1089
1096
|
class ListGrantsRequest(ServiceRequest):
|
|
1090
|
-
Limit:
|
|
1091
|
-
Marker:
|
|
1097
|
+
Limit: LimitType | None
|
|
1098
|
+
Marker: MarkerType | None
|
|
1092
1099
|
KeyId: KeyIdType
|
|
1093
|
-
GrantId:
|
|
1094
|
-
GranteePrincipal:
|
|
1100
|
+
GrantId: GrantIdType | None
|
|
1101
|
+
GranteePrincipal: PrincipalIdType | None
|
|
1095
1102
|
|
|
1096
1103
|
|
|
1097
1104
|
class ListGrantsResponse(TypedDict, total=False):
|
|
1098
|
-
Grants:
|
|
1099
|
-
NextMarker:
|
|
1100
|
-
Truncated:
|
|
1105
|
+
Grants: GrantList | None
|
|
1106
|
+
NextMarker: MarkerType | None
|
|
1107
|
+
Truncated: BooleanType | None
|
|
1101
1108
|
|
|
1102
1109
|
|
|
1103
1110
|
class ListKeyPoliciesRequest(ServiceRequest):
|
|
1104
1111
|
KeyId: KeyIdType
|
|
1105
|
-
Limit:
|
|
1106
|
-
Marker:
|
|
1112
|
+
Limit: LimitType | None
|
|
1113
|
+
Marker: MarkerType | None
|
|
1107
1114
|
|
|
1108
1115
|
|
|
1109
|
-
PolicyNameList =
|
|
1116
|
+
PolicyNameList = list[PolicyNameType]
|
|
1110
1117
|
|
|
1111
1118
|
|
|
1112
1119
|
class ListKeyPoliciesResponse(TypedDict, total=False):
|
|
1113
|
-
PolicyNames:
|
|
1114
|
-
NextMarker:
|
|
1115
|
-
Truncated:
|
|
1120
|
+
PolicyNames: PolicyNameList | None
|
|
1121
|
+
NextMarker: MarkerType | None
|
|
1122
|
+
Truncated: BooleanType | None
|
|
1116
1123
|
|
|
1117
1124
|
|
|
1118
1125
|
class ListKeyRotationsRequest(ServiceRequest):
|
|
1119
1126
|
KeyId: KeyIdType
|
|
1120
|
-
IncludeKeyMaterial:
|
|
1121
|
-
Limit:
|
|
1122
|
-
Marker:
|
|
1127
|
+
IncludeKeyMaterial: IncludeKeyMaterial | None
|
|
1128
|
+
Limit: LimitType | None
|
|
1129
|
+
Marker: MarkerType | None
|
|
1123
1130
|
|
|
1124
1131
|
|
|
1125
1132
|
class RotationsListEntry(TypedDict, total=False):
|
|
1126
|
-
KeyId:
|
|
1127
|
-
KeyMaterialId:
|
|
1128
|
-
KeyMaterialDescription:
|
|
1129
|
-
ImportState:
|
|
1130
|
-
KeyMaterialState:
|
|
1131
|
-
ExpirationModel:
|
|
1132
|
-
ValidTo:
|
|
1133
|
-
RotationDate:
|
|
1134
|
-
RotationType:
|
|
1133
|
+
KeyId: KeyIdType | None
|
|
1134
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
1135
|
+
KeyMaterialDescription: KeyMaterialDescriptionType | None
|
|
1136
|
+
ImportState: ImportState | None
|
|
1137
|
+
KeyMaterialState: KeyMaterialState | None
|
|
1138
|
+
ExpirationModel: ExpirationModelType | None
|
|
1139
|
+
ValidTo: DateType | None
|
|
1140
|
+
RotationDate: DateType | None
|
|
1141
|
+
RotationType: RotationType | None
|
|
1135
1142
|
|
|
1136
1143
|
|
|
1137
|
-
RotationsList =
|
|
1144
|
+
RotationsList = list[RotationsListEntry]
|
|
1138
1145
|
|
|
1139
1146
|
|
|
1140
1147
|
class ListKeyRotationsResponse(TypedDict, total=False):
|
|
1141
|
-
Rotations:
|
|
1142
|
-
NextMarker:
|
|
1143
|
-
Truncated:
|
|
1148
|
+
Rotations: RotationsList | None
|
|
1149
|
+
NextMarker: MarkerType | None
|
|
1150
|
+
Truncated: BooleanType | None
|
|
1144
1151
|
|
|
1145
1152
|
|
|
1146
1153
|
class ListKeysRequest(ServiceRequest):
|
|
1147
|
-
Limit:
|
|
1148
|
-
Marker:
|
|
1154
|
+
Limit: LimitType | None
|
|
1155
|
+
Marker: MarkerType | None
|
|
1149
1156
|
|
|
1150
1157
|
|
|
1151
1158
|
class ListKeysResponse(TypedDict, total=False):
|
|
1152
|
-
Keys:
|
|
1153
|
-
NextMarker:
|
|
1154
|
-
Truncated:
|
|
1159
|
+
Keys: KeyList | None
|
|
1160
|
+
NextMarker: MarkerType | None
|
|
1161
|
+
Truncated: BooleanType | None
|
|
1155
1162
|
|
|
1156
1163
|
|
|
1157
1164
|
class ListResourceTagsRequest(ServiceRequest):
|
|
1158
1165
|
KeyId: KeyIdType
|
|
1159
|
-
Limit:
|
|
1160
|
-
Marker:
|
|
1166
|
+
Limit: LimitType | None
|
|
1167
|
+
Marker: MarkerType | None
|
|
1161
1168
|
|
|
1162
1169
|
|
|
1163
1170
|
class ListResourceTagsResponse(TypedDict, total=False):
|
|
1164
|
-
Tags:
|
|
1165
|
-
NextMarker:
|
|
1166
|
-
Truncated:
|
|
1171
|
+
Tags: TagList | None
|
|
1172
|
+
NextMarker: MarkerType | None
|
|
1173
|
+
Truncated: BooleanType | None
|
|
1167
1174
|
|
|
1168
1175
|
|
|
1169
1176
|
class ListRetirableGrantsRequest(ServiceRequest):
|
|
1170
|
-
Limit:
|
|
1171
|
-
Marker:
|
|
1177
|
+
Limit: LimitType | None
|
|
1178
|
+
Marker: MarkerType | None
|
|
1172
1179
|
RetiringPrincipal: PrincipalIdType
|
|
1173
1180
|
|
|
1174
1181
|
|
|
1175
1182
|
class PutKeyPolicyRequest(ServiceRequest):
|
|
1176
1183
|
KeyId: KeyIdType
|
|
1177
|
-
PolicyName:
|
|
1184
|
+
PolicyName: PolicyNameType | None
|
|
1178
1185
|
Policy: PolicyType
|
|
1179
|
-
BypassPolicyLockoutSafetyCheck:
|
|
1186
|
+
BypassPolicyLockoutSafetyCheck: BooleanType | None
|
|
1180
1187
|
|
|
1181
1188
|
|
|
1182
1189
|
class ReEncryptRequest(ServiceRequest):
|
|
1183
1190
|
CiphertextBlob: CiphertextType
|
|
1184
|
-
SourceEncryptionContext:
|
|
1185
|
-
SourceKeyId:
|
|
1191
|
+
SourceEncryptionContext: EncryptionContextType | None
|
|
1192
|
+
SourceKeyId: KeyIdType | None
|
|
1186
1193
|
DestinationKeyId: KeyIdType
|
|
1187
|
-
DestinationEncryptionContext:
|
|
1188
|
-
SourceEncryptionAlgorithm:
|
|
1189
|
-
DestinationEncryptionAlgorithm:
|
|
1190
|
-
GrantTokens:
|
|
1191
|
-
DryRun:
|
|
1194
|
+
DestinationEncryptionContext: EncryptionContextType | None
|
|
1195
|
+
SourceEncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
1196
|
+
DestinationEncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
1197
|
+
GrantTokens: GrantTokenList | None
|
|
1198
|
+
DryRun: NullableBooleanType | None
|
|
1192
1199
|
|
|
1193
1200
|
|
|
1194
1201
|
class ReEncryptResponse(TypedDict, total=False):
|
|
1195
|
-
CiphertextBlob:
|
|
1196
|
-
SourceKeyId:
|
|
1197
|
-
KeyId:
|
|
1198
|
-
SourceEncryptionAlgorithm:
|
|
1199
|
-
DestinationEncryptionAlgorithm:
|
|
1200
|
-
SourceKeyMaterialId:
|
|
1201
|
-
DestinationKeyMaterialId:
|
|
1202
|
+
CiphertextBlob: CiphertextType | None
|
|
1203
|
+
SourceKeyId: KeyIdType | None
|
|
1204
|
+
KeyId: KeyIdType | None
|
|
1205
|
+
SourceEncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
1206
|
+
DestinationEncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
1207
|
+
SourceKeyMaterialId: BackingKeyIdType | None
|
|
1208
|
+
DestinationKeyMaterialId: BackingKeyIdType | None
|
|
1202
1209
|
|
|
1203
1210
|
|
|
1204
1211
|
class ReplicateKeyRequest(ServiceRequest):
|
|
1205
1212
|
KeyId: KeyIdType
|
|
1206
1213
|
ReplicaRegion: RegionType
|
|
1207
|
-
Policy:
|
|
1208
|
-
BypassPolicyLockoutSafetyCheck:
|
|
1209
|
-
Description:
|
|
1210
|
-
Tags:
|
|
1214
|
+
Policy: PolicyType | None
|
|
1215
|
+
BypassPolicyLockoutSafetyCheck: BooleanType | None
|
|
1216
|
+
Description: DescriptionType | None
|
|
1217
|
+
Tags: TagList | None
|
|
1211
1218
|
|
|
1212
1219
|
|
|
1213
1220
|
class ReplicateKeyResponse(TypedDict, total=False):
|
|
1214
|
-
ReplicaKeyMetadata:
|
|
1215
|
-
ReplicaPolicy:
|
|
1216
|
-
ReplicaTags:
|
|
1221
|
+
ReplicaKeyMetadata: KeyMetadata | None
|
|
1222
|
+
ReplicaPolicy: PolicyType | None
|
|
1223
|
+
ReplicaTags: TagList | None
|
|
1217
1224
|
|
|
1218
1225
|
|
|
1219
1226
|
class RetireGrantRequest(ServiceRequest):
|
|
1220
|
-
GrantToken:
|
|
1221
|
-
KeyId:
|
|
1222
|
-
GrantId:
|
|
1223
|
-
DryRun:
|
|
1227
|
+
GrantToken: GrantTokenType | None
|
|
1228
|
+
KeyId: KeyIdType | None
|
|
1229
|
+
GrantId: GrantIdType | None
|
|
1230
|
+
DryRun: NullableBooleanType | None
|
|
1224
1231
|
|
|
1225
1232
|
|
|
1226
1233
|
class RevokeGrantRequest(ServiceRequest):
|
|
1227
1234
|
KeyId: KeyIdType
|
|
1228
1235
|
GrantId: GrantIdType
|
|
1229
|
-
DryRun:
|
|
1236
|
+
DryRun: NullableBooleanType | None
|
|
1230
1237
|
|
|
1231
1238
|
|
|
1232
1239
|
class RotateKeyOnDemandRequest(ServiceRequest):
|
|
@@ -1234,37 +1241,37 @@ class RotateKeyOnDemandRequest(ServiceRequest):
|
|
|
1234
1241
|
|
|
1235
1242
|
|
|
1236
1243
|
class RotateKeyOnDemandResponse(TypedDict, total=False):
|
|
1237
|
-
KeyId:
|
|
1244
|
+
KeyId: KeyIdType | None
|
|
1238
1245
|
|
|
1239
1246
|
|
|
1240
1247
|
class ScheduleKeyDeletionRequest(ServiceRequest):
|
|
1241
1248
|
KeyId: KeyIdType
|
|
1242
|
-
PendingWindowInDays:
|
|
1249
|
+
PendingWindowInDays: PendingWindowInDaysType | None
|
|
1243
1250
|
|
|
1244
1251
|
|
|
1245
1252
|
class ScheduleKeyDeletionResponse(TypedDict, total=False):
|
|
1246
|
-
KeyId:
|
|
1247
|
-
DeletionDate:
|
|
1248
|
-
KeyState:
|
|
1249
|
-
PendingWindowInDays:
|
|
1253
|
+
KeyId: KeyIdType | None
|
|
1254
|
+
DeletionDate: DateType | None
|
|
1255
|
+
KeyState: KeyState | None
|
|
1256
|
+
PendingWindowInDays: PendingWindowInDaysType | None
|
|
1250
1257
|
|
|
1251
1258
|
|
|
1252
1259
|
class SignRequest(ServiceRequest):
|
|
1253
1260
|
KeyId: KeyIdType
|
|
1254
1261
|
Message: PlaintextType
|
|
1255
|
-
MessageType:
|
|
1256
|
-
GrantTokens:
|
|
1262
|
+
MessageType: MessageType | None
|
|
1263
|
+
GrantTokens: GrantTokenList | None
|
|
1257
1264
|
SigningAlgorithm: SigningAlgorithmSpec
|
|
1258
|
-
DryRun:
|
|
1265
|
+
DryRun: NullableBooleanType | None
|
|
1259
1266
|
|
|
1260
1267
|
|
|
1261
1268
|
class SignResponse(TypedDict, total=False):
|
|
1262
|
-
KeyId:
|
|
1263
|
-
Signature:
|
|
1264
|
-
SigningAlgorithm:
|
|
1269
|
+
KeyId: KeyIdType | None
|
|
1270
|
+
Signature: CiphertextType | None
|
|
1271
|
+
SigningAlgorithm: SigningAlgorithmSpec | None
|
|
1265
1272
|
|
|
1266
1273
|
|
|
1267
|
-
TagKeyList =
|
|
1274
|
+
TagKeyList = list[TagKeyType]
|
|
1268
1275
|
|
|
1269
1276
|
|
|
1270
1277
|
class TagResourceRequest(ServiceRequest):
|
|
@@ -1284,14 +1291,15 @@ class UpdateAliasRequest(ServiceRequest):
|
|
|
1284
1291
|
|
|
1285
1292
|
class UpdateCustomKeyStoreRequest(ServiceRequest):
|
|
1286
1293
|
CustomKeyStoreId: CustomKeyStoreIdType
|
|
1287
|
-
NewCustomKeyStoreName:
|
|
1288
|
-
KeyStorePassword:
|
|
1289
|
-
CloudHsmClusterId:
|
|
1290
|
-
XksProxyUriEndpoint:
|
|
1291
|
-
XksProxyUriPath:
|
|
1292
|
-
XksProxyVpcEndpointServiceName:
|
|
1293
|
-
|
|
1294
|
-
|
|
1294
|
+
NewCustomKeyStoreName: CustomKeyStoreNameType | None
|
|
1295
|
+
KeyStorePassword: KeyStorePasswordType | None
|
|
1296
|
+
CloudHsmClusterId: CloudHsmClusterIdType | None
|
|
1297
|
+
XksProxyUriEndpoint: XksProxyUriEndpointType | None
|
|
1298
|
+
XksProxyUriPath: XksProxyUriPathType | None
|
|
1299
|
+
XksProxyVpcEndpointServiceName: XksProxyVpcEndpointServiceNameType | None
|
|
1300
|
+
XksProxyVpcEndpointServiceOwner: AccountIdType | None
|
|
1301
|
+
XksProxyAuthenticationCredential: XksProxyAuthenticationCredentialType | None
|
|
1302
|
+
XksProxyConnectivity: XksProxyConnectivityType | None
|
|
1295
1303
|
|
|
1296
1304
|
|
|
1297
1305
|
class UpdateCustomKeyStoreResponse(TypedDict, total=False):
|
|
@@ -1313,35 +1321,35 @@ class VerifyMacRequest(ServiceRequest):
|
|
|
1313
1321
|
KeyId: KeyIdType
|
|
1314
1322
|
MacAlgorithm: MacAlgorithmSpec
|
|
1315
1323
|
Mac: CiphertextType
|
|
1316
|
-
GrantTokens:
|
|
1317
|
-
DryRun:
|
|
1324
|
+
GrantTokens: GrantTokenList | None
|
|
1325
|
+
DryRun: NullableBooleanType | None
|
|
1318
1326
|
|
|
1319
1327
|
|
|
1320
1328
|
class VerifyMacResponse(TypedDict, total=False):
|
|
1321
|
-
KeyId:
|
|
1322
|
-
MacValid:
|
|
1323
|
-
MacAlgorithm:
|
|
1329
|
+
KeyId: KeyIdType | None
|
|
1330
|
+
MacValid: BooleanType | None
|
|
1331
|
+
MacAlgorithm: MacAlgorithmSpec | None
|
|
1324
1332
|
|
|
1325
1333
|
|
|
1326
1334
|
class VerifyRequest(ServiceRequest):
|
|
1327
1335
|
KeyId: KeyIdType
|
|
1328
1336
|
Message: PlaintextType
|
|
1329
|
-
MessageType:
|
|
1337
|
+
MessageType: MessageType | None
|
|
1330
1338
|
Signature: CiphertextType
|
|
1331
1339
|
SigningAlgorithm: SigningAlgorithmSpec
|
|
1332
|
-
GrantTokens:
|
|
1333
|
-
DryRun:
|
|
1340
|
+
GrantTokens: GrantTokenList | None
|
|
1341
|
+
DryRun: NullableBooleanType | None
|
|
1334
1342
|
|
|
1335
1343
|
|
|
1336
1344
|
class VerifyResponse(TypedDict, total=False):
|
|
1337
|
-
KeyId:
|
|
1338
|
-
SignatureValid:
|
|
1339
|
-
SigningAlgorithm:
|
|
1345
|
+
KeyId: KeyIdType | None
|
|
1346
|
+
SignatureValid: BooleanType | None
|
|
1347
|
+
SigningAlgorithm: SigningAlgorithmSpec | None
|
|
1340
1348
|
|
|
1341
1349
|
|
|
1342
1350
|
class KmsApi:
|
|
1343
|
-
service = "kms"
|
|
1344
|
-
version = "2014-11-01"
|
|
1351
|
+
service: str = "kms"
|
|
1352
|
+
version: str = "2014-11-01"
|
|
1345
1353
|
|
|
1346
1354
|
@handler("CancelKeyDeletion")
|
|
1347
1355
|
def cancel_key_deletion(
|
|
@@ -1373,6 +1381,7 @@ class KmsApi:
|
|
|
1373
1381
|
xks_proxy_uri_endpoint: XksProxyUriEndpointType | None = None,
|
|
1374
1382
|
xks_proxy_uri_path: XksProxyUriPathType | None = None,
|
|
1375
1383
|
xks_proxy_vpc_endpoint_service_name: XksProxyVpcEndpointServiceNameType | None = None,
|
|
1384
|
+
xks_proxy_vpc_endpoint_service_owner: AccountIdType | None = None,
|
|
1376
1385
|
xks_proxy_authentication_credential: XksProxyAuthenticationCredentialType | None = None,
|
|
1377
1386
|
xks_proxy_connectivity: XksProxyConnectivityType | None = None,
|
|
1378
1387
|
**kwargs,
|
|
@@ -1864,6 +1873,7 @@ class KmsApi:
|
|
|
1864
1873
|
xks_proxy_uri_endpoint: XksProxyUriEndpointType | None = None,
|
|
1865
1874
|
xks_proxy_uri_path: XksProxyUriPathType | None = None,
|
|
1866
1875
|
xks_proxy_vpc_endpoint_service_name: XksProxyVpcEndpointServiceNameType | None = None,
|
|
1876
|
+
xks_proxy_vpc_endpoint_service_owner: AccountIdType | None = None,
|
|
1867
1877
|
xks_proxy_authentication_credential: XksProxyAuthenticationCredentialType | None = None,
|
|
1868
1878
|
xks_proxy_connectivity: XksProxyConnectivityType | None = None,
|
|
1869
1879
|
**kwargs,
|