localstack-core 4.10.1.dev7__py3-none-any.whl → 4.11.2.dev14__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.
- localstack/aws/api/acm/__init__.py +122 -122
- localstack/aws/api/apigateway/__init__.py +604 -561
- localstack/aws/api/cloudcontrol/__init__.py +63 -63
- localstack/aws/api/cloudformation/__init__.py +1201 -969
- localstack/aws/api/cloudwatch/__init__.py +375 -375
- localstack/aws/api/config/__init__.py +784 -786
- localstack/aws/api/dynamodb/__init__.py +753 -759
- localstack/aws/api/dynamodbstreams/__init__.py +74 -74
- localstack/aws/api/ec2/__init__.py +10062 -8826
- 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 +866 -572
- localstack/aws/api/kinesis/__init__.py +235 -147
- localstack/aws/api/kms/__init__.py +341 -336
- localstack/aws/api/lambda_/__init__.py +974 -621
- localstack/aws/api/logs/__init__.py +988 -675
- localstack/aws/api/opensearch/__init__.py +903 -785
- localstack/aws/api/pipes/__init__.py +336 -336
- localstack/aws/api/redshift/__init__.py +1257 -1166
- localstack/aws/api/resource_groups/__init__.py +175 -175
- localstack/aws/api/resourcegroupstaggingapi/__init__.py +103 -67
- localstack/aws/api/route53/__init__.py +296 -254
- localstack/aws/api/route53resolver/__init__.py +397 -396
- localstack/aws/api/s3/__init__.py +1412 -1349
- localstack/aws/api/s3control/__init__.py +594 -594
- localstack/aws/api/scheduler/__init__.py +118 -118
- localstack/aws/api/secretsmanager/__init__.py +221 -216
- 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 +1977 -1971
- localstack/aws/api/stepfunctions/__init__.py +375 -333
- localstack/aws/api/sts/__init__.py +142 -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/handlers/logging.py +8 -4
- localstack/aws/handlers/service.py +22 -3
- localstack/aws/protocol/parser.py +1 -1
- localstack/aws/protocol/serializer.py +1 -1
- localstack/aws/scaffold.py +15 -17
- localstack/cli/localstack.py +6 -1
- localstack/deprecations.py +0 -6
- localstack/dev/kubernetes/__main__.py +38 -3
- localstack/services/acm/provider.py +4 -0
- localstack/services/apigateway/helpers.py +5 -9
- localstack/services/apigateway/legacy/provider.py +60 -24
- localstack/services/apigateway/patches.py +0 -9
- localstack/services/cloudformation/engine/template_preparer.py +6 -2
- localstack/services/cloudformation/engine/v2/change_set_model_preproc.py +12 -0
- localstack/services/cloudformation/provider.py +2 -2
- localstack/services/cloudformation/v2/provider.py +6 -6
- localstack/services/cloudwatch/provider.py +10 -3
- localstack/services/cloudwatch/provider_v2.py +6 -3
- localstack/services/configservice/provider.py +5 -1
- localstack/services/dynamodb/provider.py +1 -0
- localstack/services/dynamodb/v2/provider.py +1 -0
- localstack/services/dynamodbstreams/provider.py +6 -0
- localstack/services/dynamodbstreams/v2/provider.py +6 -0
- localstack/services/ec2/provider.py +6 -0
- localstack/services/es/provider.py +6 -0
- localstack/services/events/provider.py +4 -0
- localstack/services/events/v1/provider.py +9 -0
- localstack/services/firehose/provider.py +5 -0
- localstack/services/iam/provider.py +4 -0
- localstack/services/kinesis/packages.py +1 -1
- localstack/services/kms/models.py +44 -24
- localstack/services/kms/provider.py +97 -16
- localstack/services/lambda_/api_utils.py +40 -21
- localstack/services/lambda_/event_source_mapping/pollers/stream_poller.py +1 -1
- localstack/services/lambda_/invocation/assignment.py +4 -1
- localstack/services/lambda_/invocation/execution_environment.py +21 -2
- localstack/services/lambda_/invocation/lambda_models.py +27 -2
- localstack/services/lambda_/invocation/lambda_service.py +51 -3
- localstack/services/lambda_/invocation/models.py +9 -1
- localstack/services/lambda_/invocation/version_manager.py +18 -3
- localstack/services/lambda_/packages.py +1 -1
- localstack/services/lambda_/provider.py +240 -96
- localstack/services/lambda_/resource_providers/aws_lambda_function.py +33 -1
- localstack/services/lambda_/runtimes.py +10 -3
- localstack/services/logs/provider.py +45 -19
- localstack/services/opensearch/provider.py +53 -3
- localstack/services/resource_groups/provider.py +5 -1
- localstack/services/resourcegroupstaggingapi/provider.py +6 -1
- localstack/services/s3/provider.py +29 -16
- localstack/services/s3/utils.py +35 -14
- localstack/services/s3control/provider.py +101 -2
- localstack/services/s3control/validation.py +50 -0
- localstack/services/sns/constants.py +3 -1
- localstack/services/sns/publisher.py +15 -6
- localstack/services/sns/v2/models.py +30 -1
- localstack/services/sns/v2/provider.py +794 -31
- localstack/services/sns/v2/utils.py +20 -0
- localstack/services/sqs/models.py +37 -10
- localstack/services/stepfunctions/asl/component/common/path/result_path.py +1 -1
- localstack/services/stepfunctions/asl/component/state/state_execution/execute_state.py +0 -1
- localstack/services/stepfunctions/asl/component/state/state_execution/state_map/state_map.py +0 -1
- localstack/services/stepfunctions/asl/component/state/state_execution/state_task/lambda_eval_utils.py +8 -8
- localstack/services/stepfunctions/asl/component/state/state_execution/state_task/{mock_eval_utils.py → local_mock_eval_utils.py} +13 -9
- localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py +6 -6
- localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py +1 -1
- localstack/services/stepfunctions/asl/component/state/state_fail/state_fail.py +4 -0
- localstack/services/stepfunctions/asl/component/test_state/state/base_mock.py +118 -0
- localstack/services/stepfunctions/asl/component/test_state/state/common.py +82 -0
- localstack/services/stepfunctions/asl/component/test_state/state/execution.py +139 -0
- localstack/services/stepfunctions/asl/component/test_state/state/map.py +77 -0
- localstack/services/stepfunctions/asl/component/test_state/state/task.py +44 -0
- localstack/services/stepfunctions/asl/eval/environment.py +30 -22
- localstack/services/stepfunctions/asl/eval/states.py +1 -1
- localstack/services/stepfunctions/asl/eval/test_state/environment.py +49 -9
- localstack/services/stepfunctions/asl/eval/test_state/program_state.py +22 -0
- localstack/services/stepfunctions/asl/jsonata/jsonata.py +5 -1
- localstack/services/stepfunctions/asl/parse/preprocessor.py +67 -24
- localstack/services/stepfunctions/asl/parse/test_state/asl_parser.py +5 -4
- localstack/services/stepfunctions/asl/parse/test_state/preprocessor.py +222 -31
- localstack/services/stepfunctions/asl/static_analyser/test_state/test_state_analyser.py +170 -22
- localstack/services/stepfunctions/backend/execution.py +6 -6
- localstack/services/stepfunctions/backend/execution_worker.py +5 -5
- localstack/services/stepfunctions/backend/test_state/execution.py +36 -0
- localstack/services/stepfunctions/backend/test_state/execution_worker.py +33 -1
- localstack/services/stepfunctions/backend/test_state/test_state_mock.py +127 -0
- localstack/services/stepfunctions/local_mocking/__init__.py +9 -0
- localstack/services/stepfunctions/{mocking → local_mocking}/mock_config.py +24 -17
- localstack/services/stepfunctions/provider.py +78 -27
- localstack/services/stepfunctions/test_state/mock_config.py +47 -0
- localstack/testing/pytest/fixtures.py +28 -0
- localstack/testing/snapshots/transformer_utility.py +7 -0
- localstack/testing/testselection/matching.py +0 -1
- localstack/utils/analytics/publisher.py +37 -155
- localstack/utils/analytics/service_request_aggregator.py +6 -4
- localstack/utils/aws/arns.py +7 -0
- localstack/utils/aws/client_types.py +0 -8
- localstack/utils/batching.py +258 -0
- localstack/utils/catalog/catalog_loader.py +111 -3
- localstack/utils/collections.py +23 -11
- localstack/utils/crypto.py +109 -0
- localstack/version.py +2 -2
- {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.11.2.dev14.dist-info}/METADATA +7 -6
- {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.11.2.dev14.dist-info}/RECORD +149 -141
- localstack_core-4.11.2.dev14.dist-info/plux.json +1 -0
- localstack/services/stepfunctions/mocking/__init__.py +0 -0
- localstack/utils/batch_policy.py +0 -124
- localstack_core-4.10.1.dev7.dist-info/plux.json +0 -1
- /localstack/services/stepfunctions/{mocking → local_mocking}/mock_config_file.py +0 -0
- {localstack_core-4.10.1.dev7.data → localstack_core-4.11.2.dev14.data}/scripts/localstack +0 -0
- {localstack_core-4.10.1.dev7.data → localstack_core-4.11.2.dev14.data}/scripts/localstack-supervisor +0 -0
- {localstack_core-4.10.1.dev7.data → localstack_core-4.11.2.dev14.data}/scripts/localstack.bat +0 -0
- {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.11.2.dev14.dist-info}/WHEEL +0 -0
- {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.11.2.dev14.dist-info}/entry_points.txt +0 -0
- {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.11.2.dev14.dist-info}/licenses/LICENSE.txt +0 -0
- {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.11.2.dev14.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
|
|
|
@@ -115,6 +115,7 @@ class DataKeyPairSpec(StrEnum):
|
|
|
115
115
|
ECC_NIST_P521 = "ECC_NIST_P521"
|
|
116
116
|
ECC_SECG_P256K1 = "ECC_SECG_P256K1"
|
|
117
117
|
SM2 = "SM2"
|
|
118
|
+
ECC_NIST_EDWARDS25519 = "ECC_NIST_EDWARDS25519"
|
|
118
119
|
|
|
119
120
|
|
|
120
121
|
class DataKeySpec(StrEnum):
|
|
@@ -186,6 +187,7 @@ class KeyMaterialState(StrEnum):
|
|
|
186
187
|
NON_CURRENT = "NON_CURRENT"
|
|
187
188
|
CURRENT = "CURRENT"
|
|
188
189
|
PENDING_ROTATION = "PENDING_ROTATION"
|
|
190
|
+
PENDING_MULTI_REGION_IMPORT_AND_ROTATION = "PENDING_MULTI_REGION_IMPORT_AND_ROTATION"
|
|
189
191
|
|
|
190
192
|
|
|
191
193
|
class KeySpec(StrEnum):
|
|
@@ -205,6 +207,7 @@ class KeySpec(StrEnum):
|
|
|
205
207
|
ML_DSA_44 = "ML_DSA_44"
|
|
206
208
|
ML_DSA_65 = "ML_DSA_65"
|
|
207
209
|
ML_DSA_87 = "ML_DSA_87"
|
|
210
|
+
ECC_NIST_EDWARDS25519 = "ECC_NIST_EDWARDS25519"
|
|
208
211
|
|
|
209
212
|
|
|
210
213
|
class KeyState(StrEnum):
|
|
@@ -267,6 +270,8 @@ class SigningAlgorithmSpec(StrEnum):
|
|
|
267
270
|
ECDSA_SHA_512 = "ECDSA_SHA_512"
|
|
268
271
|
SM2DSA = "SM2DSA"
|
|
269
272
|
ML_DSA_SHAKE_256 = "ML_DSA_SHAKE_256"
|
|
273
|
+
ED25519_SHA_512 = "ED25519_SHA_512"
|
|
274
|
+
ED25519_PH_SHA_512 = "ED25519_PH_SHA_512"
|
|
270
275
|
|
|
271
276
|
|
|
272
277
|
class WrappingKeySpec(StrEnum):
|
|
@@ -573,14 +578,14 @@ DateType = datetime
|
|
|
573
578
|
|
|
574
579
|
|
|
575
580
|
class AliasListEntry(TypedDict, total=False):
|
|
576
|
-
AliasName:
|
|
577
|
-
AliasArn:
|
|
578
|
-
TargetKeyId:
|
|
579
|
-
CreationDate:
|
|
580
|
-
LastUpdatedDate:
|
|
581
|
+
AliasName: AliasNameType | None
|
|
582
|
+
AliasArn: ArnType | None
|
|
583
|
+
TargetKeyId: KeyIdType | None
|
|
584
|
+
CreationDate: DateType | None
|
|
585
|
+
LastUpdatedDate: DateType | None
|
|
581
586
|
|
|
582
587
|
|
|
583
|
-
AliasList =
|
|
588
|
+
AliasList = list[AliasListEntry]
|
|
584
589
|
AttestationDocumentType = bytes
|
|
585
590
|
|
|
586
591
|
|
|
@@ -589,7 +594,7 @@ class CancelKeyDeletionRequest(ServiceRequest):
|
|
|
589
594
|
|
|
590
595
|
|
|
591
596
|
class CancelKeyDeletionResponse(TypedDict, total=False):
|
|
592
|
-
KeyId:
|
|
597
|
+
KeyId: KeyIdType | None
|
|
593
598
|
|
|
594
599
|
|
|
595
600
|
CiphertextType = bytes
|
|
@@ -615,48 +620,48 @@ class XksProxyAuthenticationCredentialType(TypedDict, total=False):
|
|
|
615
620
|
|
|
616
621
|
class CreateCustomKeyStoreRequest(ServiceRequest):
|
|
617
622
|
CustomKeyStoreName: CustomKeyStoreNameType
|
|
618
|
-
CloudHsmClusterId:
|
|
619
|
-
TrustAnchorCertificate:
|
|
620
|
-
KeyStorePassword:
|
|
621
|
-
CustomKeyStoreType:
|
|
622
|
-
XksProxyUriEndpoint:
|
|
623
|
-
XksProxyUriPath:
|
|
624
|
-
XksProxyVpcEndpointServiceName:
|
|
625
|
-
XksProxyVpcEndpointServiceOwner:
|
|
626
|
-
XksProxyAuthenticationCredential:
|
|
627
|
-
XksProxyConnectivity:
|
|
623
|
+
CloudHsmClusterId: CloudHsmClusterIdType | None
|
|
624
|
+
TrustAnchorCertificate: TrustAnchorCertificateType | None
|
|
625
|
+
KeyStorePassword: KeyStorePasswordType | None
|
|
626
|
+
CustomKeyStoreType: CustomKeyStoreType | None
|
|
627
|
+
XksProxyUriEndpoint: XksProxyUriEndpointType | None
|
|
628
|
+
XksProxyUriPath: XksProxyUriPathType | None
|
|
629
|
+
XksProxyVpcEndpointServiceName: XksProxyVpcEndpointServiceNameType | None
|
|
630
|
+
XksProxyVpcEndpointServiceOwner: AccountIdType | None
|
|
631
|
+
XksProxyAuthenticationCredential: XksProxyAuthenticationCredentialType | None
|
|
632
|
+
XksProxyConnectivity: XksProxyConnectivityType | None
|
|
628
633
|
|
|
629
634
|
|
|
630
635
|
class CreateCustomKeyStoreResponse(TypedDict, total=False):
|
|
631
|
-
CustomKeyStoreId:
|
|
636
|
+
CustomKeyStoreId: CustomKeyStoreIdType | None
|
|
632
637
|
|
|
633
638
|
|
|
634
|
-
GrantTokenList =
|
|
635
|
-
EncryptionContextType =
|
|
639
|
+
GrantTokenList = list[GrantTokenType]
|
|
640
|
+
EncryptionContextType = dict[EncryptionContextKey, EncryptionContextValue]
|
|
636
641
|
|
|
637
642
|
|
|
638
643
|
class GrantConstraints(TypedDict, total=False):
|
|
639
|
-
EncryptionContextSubset:
|
|
640
|
-
EncryptionContextEquals:
|
|
644
|
+
EncryptionContextSubset: EncryptionContextType | None
|
|
645
|
+
EncryptionContextEquals: EncryptionContextType | None
|
|
641
646
|
|
|
642
647
|
|
|
643
|
-
GrantOperationList =
|
|
648
|
+
GrantOperationList = list[GrantOperation]
|
|
644
649
|
|
|
645
650
|
|
|
646
651
|
class CreateGrantRequest(ServiceRequest):
|
|
647
652
|
KeyId: KeyIdType
|
|
648
653
|
GranteePrincipal: PrincipalIdType
|
|
649
|
-
RetiringPrincipal:
|
|
654
|
+
RetiringPrincipal: PrincipalIdType | None
|
|
650
655
|
Operations: GrantOperationList
|
|
651
|
-
Constraints:
|
|
652
|
-
GrantTokens:
|
|
653
|
-
Name:
|
|
654
|
-
DryRun:
|
|
656
|
+
Constraints: GrantConstraints | None
|
|
657
|
+
GrantTokens: GrantTokenList | None
|
|
658
|
+
Name: GrantNameType | None
|
|
659
|
+
DryRun: NullableBooleanType | None
|
|
655
660
|
|
|
656
661
|
|
|
657
662
|
class CreateGrantResponse(TypedDict, total=False):
|
|
658
|
-
GrantToken:
|
|
659
|
-
GrantId:
|
|
663
|
+
GrantToken: GrantTokenType | None
|
|
664
|
+
GrantId: GrantIdType | None
|
|
660
665
|
|
|
661
666
|
|
|
662
667
|
class Tag(TypedDict, total=False):
|
|
@@ -664,130 +669,130 @@ class Tag(TypedDict, total=False):
|
|
|
664
669
|
TagValue: TagValueType
|
|
665
670
|
|
|
666
671
|
|
|
667
|
-
TagList =
|
|
672
|
+
TagList = list[Tag]
|
|
668
673
|
|
|
669
674
|
|
|
670
675
|
class CreateKeyRequest(ServiceRequest):
|
|
671
|
-
Policy:
|
|
672
|
-
Description:
|
|
673
|
-
KeyUsage:
|
|
674
|
-
CustomerMasterKeySpec:
|
|
675
|
-
KeySpec:
|
|
676
|
-
Origin:
|
|
677
|
-
CustomKeyStoreId:
|
|
678
|
-
BypassPolicyLockoutSafetyCheck:
|
|
679
|
-
Tags:
|
|
680
|
-
MultiRegion:
|
|
681
|
-
XksKeyId:
|
|
676
|
+
Policy: PolicyType | None
|
|
677
|
+
Description: DescriptionType | None
|
|
678
|
+
KeyUsage: KeyUsageType | None
|
|
679
|
+
CustomerMasterKeySpec: CustomerMasterKeySpec | None
|
|
680
|
+
KeySpec: KeySpec | None
|
|
681
|
+
Origin: OriginType | None
|
|
682
|
+
CustomKeyStoreId: CustomKeyStoreIdType | None
|
|
683
|
+
BypassPolicyLockoutSafetyCheck: BooleanType | None
|
|
684
|
+
Tags: TagList | None
|
|
685
|
+
MultiRegion: NullableBooleanType | None
|
|
686
|
+
XksKeyId: XksKeyIdType | None
|
|
682
687
|
|
|
683
688
|
|
|
684
689
|
class XksKeyConfigurationType(TypedDict, total=False):
|
|
685
|
-
Id:
|
|
690
|
+
Id: XksKeyIdType | None
|
|
686
691
|
|
|
687
692
|
|
|
688
|
-
MacAlgorithmSpecList =
|
|
693
|
+
MacAlgorithmSpecList = list[MacAlgorithmSpec]
|
|
689
694
|
|
|
690
695
|
|
|
691
696
|
class MultiRegionKey(TypedDict, total=False):
|
|
692
|
-
Arn:
|
|
693
|
-
Region:
|
|
697
|
+
Arn: ArnType | None
|
|
698
|
+
Region: RegionType | None
|
|
694
699
|
|
|
695
700
|
|
|
696
|
-
MultiRegionKeyList =
|
|
701
|
+
MultiRegionKeyList = list[MultiRegionKey]
|
|
697
702
|
|
|
698
703
|
|
|
699
704
|
class MultiRegionConfiguration(TypedDict, total=False):
|
|
700
|
-
MultiRegionKeyType:
|
|
701
|
-
PrimaryKey:
|
|
702
|
-
ReplicaKeys:
|
|
705
|
+
MultiRegionKeyType: MultiRegionKeyType | None
|
|
706
|
+
PrimaryKey: MultiRegionKey | None
|
|
707
|
+
ReplicaKeys: MultiRegionKeyList | None
|
|
703
708
|
|
|
704
709
|
|
|
705
|
-
KeyAgreementAlgorithmSpecList =
|
|
706
|
-
SigningAlgorithmSpecList =
|
|
707
|
-
EncryptionAlgorithmSpecList =
|
|
710
|
+
KeyAgreementAlgorithmSpecList = list[KeyAgreementAlgorithmSpec]
|
|
711
|
+
SigningAlgorithmSpecList = list[SigningAlgorithmSpec]
|
|
712
|
+
EncryptionAlgorithmSpecList = list[EncryptionAlgorithmSpec]
|
|
708
713
|
|
|
709
714
|
|
|
710
715
|
class KeyMetadata(TypedDict, total=False):
|
|
711
|
-
AWSAccountId:
|
|
716
|
+
AWSAccountId: AWSAccountIdType | None
|
|
712
717
|
KeyId: KeyIdType
|
|
713
|
-
Arn:
|
|
714
|
-
CreationDate:
|
|
715
|
-
Enabled:
|
|
716
|
-
Description:
|
|
717
|
-
KeyUsage:
|
|
718
|
-
KeyState:
|
|
719
|
-
DeletionDate:
|
|
720
|
-
ValidTo:
|
|
721
|
-
Origin:
|
|
722
|
-
CustomKeyStoreId:
|
|
723
|
-
CloudHsmClusterId:
|
|
724
|
-
ExpirationModel:
|
|
725
|
-
KeyManager:
|
|
726
|
-
CustomerMasterKeySpec:
|
|
727
|
-
KeySpec:
|
|
728
|
-
EncryptionAlgorithms:
|
|
729
|
-
SigningAlgorithms:
|
|
730
|
-
KeyAgreementAlgorithms:
|
|
731
|
-
MultiRegion:
|
|
732
|
-
MultiRegionConfiguration:
|
|
733
|
-
PendingDeletionWindowInDays:
|
|
734
|
-
MacAlgorithms:
|
|
735
|
-
XksKeyConfiguration:
|
|
736
|
-
CurrentKeyMaterialId:
|
|
718
|
+
Arn: ArnType | None
|
|
719
|
+
CreationDate: DateType | None
|
|
720
|
+
Enabled: BooleanType | None
|
|
721
|
+
Description: DescriptionType | None
|
|
722
|
+
KeyUsage: KeyUsageType | None
|
|
723
|
+
KeyState: KeyState | None
|
|
724
|
+
DeletionDate: DateType | None
|
|
725
|
+
ValidTo: DateType | None
|
|
726
|
+
Origin: OriginType | None
|
|
727
|
+
CustomKeyStoreId: CustomKeyStoreIdType | None
|
|
728
|
+
CloudHsmClusterId: CloudHsmClusterIdType | None
|
|
729
|
+
ExpirationModel: ExpirationModelType | None
|
|
730
|
+
KeyManager: KeyManagerType | None
|
|
731
|
+
CustomerMasterKeySpec: CustomerMasterKeySpec | None
|
|
732
|
+
KeySpec: KeySpec | None
|
|
733
|
+
EncryptionAlgorithms: EncryptionAlgorithmSpecList | None
|
|
734
|
+
SigningAlgorithms: SigningAlgorithmSpecList | None
|
|
735
|
+
KeyAgreementAlgorithms: KeyAgreementAlgorithmSpecList | None
|
|
736
|
+
MultiRegion: NullableBooleanType | None
|
|
737
|
+
MultiRegionConfiguration: MultiRegionConfiguration | None
|
|
738
|
+
PendingDeletionWindowInDays: PendingWindowInDaysType | None
|
|
739
|
+
MacAlgorithms: MacAlgorithmSpecList | None
|
|
740
|
+
XksKeyConfiguration: XksKeyConfigurationType | None
|
|
741
|
+
CurrentKeyMaterialId: BackingKeyIdType | None
|
|
737
742
|
|
|
738
743
|
|
|
739
744
|
class CreateKeyResponse(TypedDict, total=False):
|
|
740
|
-
KeyMetadata:
|
|
745
|
+
KeyMetadata: KeyMetadata | None
|
|
741
746
|
|
|
742
747
|
|
|
743
748
|
class XksProxyConfigurationType(TypedDict, total=False):
|
|
744
|
-
Connectivity:
|
|
745
|
-
AccessKeyId:
|
|
746
|
-
UriEndpoint:
|
|
747
|
-
UriPath:
|
|
748
|
-
VpcEndpointServiceName:
|
|
749
|
-
VpcEndpointServiceOwner:
|
|
749
|
+
Connectivity: XksProxyConnectivityType | None
|
|
750
|
+
AccessKeyId: XksProxyAuthenticationAccessKeyIdType | None
|
|
751
|
+
UriEndpoint: XksProxyUriEndpointType | None
|
|
752
|
+
UriPath: XksProxyUriPathType | None
|
|
753
|
+
VpcEndpointServiceName: XksProxyVpcEndpointServiceNameType | None
|
|
754
|
+
VpcEndpointServiceOwner: AccountIdType | None
|
|
750
755
|
|
|
751
756
|
|
|
752
757
|
class CustomKeyStoresListEntry(TypedDict, total=False):
|
|
753
|
-
CustomKeyStoreId:
|
|
754
|
-
CustomKeyStoreName:
|
|
755
|
-
CloudHsmClusterId:
|
|
756
|
-
TrustAnchorCertificate:
|
|
757
|
-
ConnectionState:
|
|
758
|
-
ConnectionErrorCode:
|
|
759
|
-
CreationDate:
|
|
760
|
-
CustomKeyStoreType:
|
|
761
|
-
XksProxyConfiguration:
|
|
758
|
+
CustomKeyStoreId: CustomKeyStoreIdType | None
|
|
759
|
+
CustomKeyStoreName: CustomKeyStoreNameType | None
|
|
760
|
+
CloudHsmClusterId: CloudHsmClusterIdType | None
|
|
761
|
+
TrustAnchorCertificate: TrustAnchorCertificateType | None
|
|
762
|
+
ConnectionState: ConnectionStateType | None
|
|
763
|
+
ConnectionErrorCode: ConnectionErrorCodeType | None
|
|
764
|
+
CreationDate: DateType | None
|
|
765
|
+
CustomKeyStoreType: CustomKeyStoreType | None
|
|
766
|
+
XksProxyConfiguration: XksProxyConfigurationType | None
|
|
762
767
|
|
|
763
768
|
|
|
764
|
-
CustomKeyStoresList =
|
|
769
|
+
CustomKeyStoresList = list[CustomKeyStoresListEntry]
|
|
765
770
|
|
|
766
771
|
|
|
767
772
|
class RecipientInfo(TypedDict, total=False):
|
|
768
|
-
KeyEncryptionAlgorithm:
|
|
769
|
-
AttestationDocument:
|
|
773
|
+
KeyEncryptionAlgorithm: KeyEncryptionMechanism | None
|
|
774
|
+
AttestationDocument: AttestationDocumentType | None
|
|
770
775
|
|
|
771
776
|
|
|
772
777
|
class DecryptRequest(ServiceRequest):
|
|
773
778
|
CiphertextBlob: CiphertextType
|
|
774
|
-
EncryptionContext:
|
|
775
|
-
GrantTokens:
|
|
776
|
-
KeyId:
|
|
777
|
-
EncryptionAlgorithm:
|
|
778
|
-
Recipient:
|
|
779
|
-
DryRun:
|
|
779
|
+
EncryptionContext: EncryptionContextType | None
|
|
780
|
+
GrantTokens: GrantTokenList | None
|
|
781
|
+
KeyId: KeyIdType | None
|
|
782
|
+
EncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
783
|
+
Recipient: RecipientInfo | None
|
|
784
|
+
DryRun: NullableBooleanType | None
|
|
780
785
|
|
|
781
786
|
|
|
782
787
|
PlaintextType = bytes
|
|
783
788
|
|
|
784
789
|
|
|
785
790
|
class DecryptResponse(TypedDict, total=False):
|
|
786
|
-
KeyId:
|
|
787
|
-
Plaintext:
|
|
788
|
-
EncryptionAlgorithm:
|
|
789
|
-
CiphertextForRecipient:
|
|
790
|
-
KeyMaterialId:
|
|
791
|
+
KeyId: KeyIdType | None
|
|
792
|
+
Plaintext: PlaintextType | None
|
|
793
|
+
EncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
794
|
+
CiphertextForRecipient: CiphertextType | None
|
|
795
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
791
796
|
|
|
792
797
|
|
|
793
798
|
class DeleteAliasRequest(ServiceRequest):
|
|
@@ -804,12 +809,12 @@ class DeleteCustomKeyStoreResponse(TypedDict, total=False):
|
|
|
804
809
|
|
|
805
810
|
class DeleteImportedKeyMaterialRequest(ServiceRequest):
|
|
806
811
|
KeyId: KeyIdType
|
|
807
|
-
KeyMaterialId:
|
|
812
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
808
813
|
|
|
809
814
|
|
|
810
815
|
class DeleteImportedKeyMaterialResponse(TypedDict, total=False):
|
|
811
|
-
KeyId:
|
|
812
|
-
KeyMaterialId:
|
|
816
|
+
KeyId: KeyIdType | None
|
|
817
|
+
KeyMaterialId: BackingKeyIdResponseType | None
|
|
813
818
|
|
|
814
819
|
|
|
815
820
|
PublicKeyType = bytes
|
|
@@ -819,39 +824,39 @@ class DeriveSharedSecretRequest(ServiceRequest):
|
|
|
819
824
|
KeyId: KeyIdType
|
|
820
825
|
KeyAgreementAlgorithm: KeyAgreementAlgorithmSpec
|
|
821
826
|
PublicKey: PublicKeyType
|
|
822
|
-
GrantTokens:
|
|
823
|
-
DryRun:
|
|
824
|
-
Recipient:
|
|
827
|
+
GrantTokens: GrantTokenList | None
|
|
828
|
+
DryRun: NullableBooleanType | None
|
|
829
|
+
Recipient: RecipientInfo | None
|
|
825
830
|
|
|
826
831
|
|
|
827
832
|
class DeriveSharedSecretResponse(TypedDict, total=False):
|
|
828
|
-
KeyId:
|
|
829
|
-
SharedSecret:
|
|
830
|
-
CiphertextForRecipient:
|
|
831
|
-
KeyAgreementAlgorithm:
|
|
832
|
-
KeyOrigin:
|
|
833
|
+
KeyId: KeyIdType | None
|
|
834
|
+
SharedSecret: PlaintextType | None
|
|
835
|
+
CiphertextForRecipient: CiphertextType | None
|
|
836
|
+
KeyAgreementAlgorithm: KeyAgreementAlgorithmSpec | None
|
|
837
|
+
KeyOrigin: OriginType | None
|
|
833
838
|
|
|
834
839
|
|
|
835
840
|
class DescribeCustomKeyStoresRequest(ServiceRequest):
|
|
836
|
-
CustomKeyStoreId:
|
|
837
|
-
CustomKeyStoreName:
|
|
838
|
-
Limit:
|
|
839
|
-
Marker:
|
|
841
|
+
CustomKeyStoreId: CustomKeyStoreIdType | None
|
|
842
|
+
CustomKeyStoreName: CustomKeyStoreNameType | None
|
|
843
|
+
Limit: LimitType | None
|
|
844
|
+
Marker: MarkerType | None
|
|
840
845
|
|
|
841
846
|
|
|
842
847
|
class DescribeCustomKeyStoresResponse(TypedDict, total=False):
|
|
843
|
-
CustomKeyStores:
|
|
844
|
-
NextMarker:
|
|
845
|
-
Truncated:
|
|
848
|
+
CustomKeyStores: CustomKeyStoresList | None
|
|
849
|
+
NextMarker: MarkerType | None
|
|
850
|
+
Truncated: BooleanType | None
|
|
846
851
|
|
|
847
852
|
|
|
848
853
|
class DescribeKeyRequest(ServiceRequest):
|
|
849
854
|
KeyId: KeyIdType
|
|
850
|
-
GrantTokens:
|
|
855
|
+
GrantTokens: GrantTokenList | None
|
|
851
856
|
|
|
852
857
|
|
|
853
858
|
class DescribeKeyResponse(TypedDict, total=False):
|
|
854
|
-
KeyMetadata:
|
|
859
|
+
KeyMetadata: KeyMetadata | None
|
|
855
860
|
|
|
856
861
|
|
|
857
862
|
class DisableKeyRequest(ServiceRequest):
|
|
@@ -876,125 +881,125 @@ class EnableKeyRequest(ServiceRequest):
|
|
|
876
881
|
|
|
877
882
|
class EnableKeyRotationRequest(ServiceRequest):
|
|
878
883
|
KeyId: KeyIdType
|
|
879
|
-
RotationPeriodInDays:
|
|
884
|
+
RotationPeriodInDays: RotationPeriodInDaysType | None
|
|
880
885
|
|
|
881
886
|
|
|
882
887
|
class EncryptRequest(ServiceRequest):
|
|
883
888
|
KeyId: KeyIdType
|
|
884
889
|
Plaintext: PlaintextType
|
|
885
|
-
EncryptionContext:
|
|
886
|
-
GrantTokens:
|
|
887
|
-
EncryptionAlgorithm:
|
|
888
|
-
DryRun:
|
|
890
|
+
EncryptionContext: EncryptionContextType | None
|
|
891
|
+
GrantTokens: GrantTokenList | None
|
|
892
|
+
EncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
893
|
+
DryRun: NullableBooleanType | None
|
|
889
894
|
|
|
890
895
|
|
|
891
896
|
class EncryptResponse(TypedDict, total=False):
|
|
892
|
-
CiphertextBlob:
|
|
893
|
-
KeyId:
|
|
894
|
-
EncryptionAlgorithm:
|
|
897
|
+
CiphertextBlob: CiphertextType | None
|
|
898
|
+
KeyId: KeyIdType | None
|
|
899
|
+
EncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
895
900
|
|
|
896
901
|
|
|
897
902
|
class GenerateDataKeyPairRequest(ServiceRequest):
|
|
898
|
-
EncryptionContext:
|
|
903
|
+
EncryptionContext: EncryptionContextType | None
|
|
899
904
|
KeyId: KeyIdType
|
|
900
905
|
KeyPairSpec: DataKeyPairSpec
|
|
901
|
-
GrantTokens:
|
|
902
|
-
Recipient:
|
|
903
|
-
DryRun:
|
|
906
|
+
GrantTokens: GrantTokenList | None
|
|
907
|
+
Recipient: RecipientInfo | None
|
|
908
|
+
DryRun: NullableBooleanType | None
|
|
904
909
|
|
|
905
910
|
|
|
906
911
|
class GenerateDataKeyPairResponse(TypedDict, total=False):
|
|
907
|
-
PrivateKeyCiphertextBlob:
|
|
908
|
-
PrivateKeyPlaintext:
|
|
909
|
-
PublicKey:
|
|
910
|
-
KeyId:
|
|
911
|
-
KeyPairSpec:
|
|
912
|
-
CiphertextForRecipient:
|
|
913
|
-
KeyMaterialId:
|
|
912
|
+
PrivateKeyCiphertextBlob: CiphertextType | None
|
|
913
|
+
PrivateKeyPlaintext: PlaintextType | None
|
|
914
|
+
PublicKey: PublicKeyType | None
|
|
915
|
+
KeyId: KeyIdType | None
|
|
916
|
+
KeyPairSpec: DataKeyPairSpec | None
|
|
917
|
+
CiphertextForRecipient: CiphertextType | None
|
|
918
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
914
919
|
|
|
915
920
|
|
|
916
921
|
class GenerateDataKeyPairWithoutPlaintextRequest(ServiceRequest):
|
|
917
|
-
EncryptionContext:
|
|
922
|
+
EncryptionContext: EncryptionContextType | None
|
|
918
923
|
KeyId: KeyIdType
|
|
919
924
|
KeyPairSpec: DataKeyPairSpec
|
|
920
|
-
GrantTokens:
|
|
921
|
-
DryRun:
|
|
925
|
+
GrantTokens: GrantTokenList | None
|
|
926
|
+
DryRun: NullableBooleanType | None
|
|
922
927
|
|
|
923
928
|
|
|
924
929
|
class GenerateDataKeyPairWithoutPlaintextResponse(TypedDict, total=False):
|
|
925
|
-
PrivateKeyCiphertextBlob:
|
|
926
|
-
PublicKey:
|
|
927
|
-
KeyId:
|
|
928
|
-
KeyPairSpec:
|
|
929
|
-
KeyMaterialId:
|
|
930
|
+
PrivateKeyCiphertextBlob: CiphertextType | None
|
|
931
|
+
PublicKey: PublicKeyType | None
|
|
932
|
+
KeyId: KeyIdType | None
|
|
933
|
+
KeyPairSpec: DataKeyPairSpec | None
|
|
934
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
930
935
|
|
|
931
936
|
|
|
932
937
|
class GenerateDataKeyRequest(ServiceRequest):
|
|
933
938
|
KeyId: KeyIdType
|
|
934
|
-
EncryptionContext:
|
|
935
|
-
NumberOfBytes:
|
|
936
|
-
KeySpec:
|
|
937
|
-
GrantTokens:
|
|
938
|
-
Recipient:
|
|
939
|
-
DryRun:
|
|
939
|
+
EncryptionContext: EncryptionContextType | None
|
|
940
|
+
NumberOfBytes: NumberOfBytesType | None
|
|
941
|
+
KeySpec: DataKeySpec | None
|
|
942
|
+
GrantTokens: GrantTokenList | None
|
|
943
|
+
Recipient: RecipientInfo | None
|
|
944
|
+
DryRun: NullableBooleanType | None
|
|
940
945
|
|
|
941
946
|
|
|
942
947
|
class GenerateDataKeyResponse(TypedDict, total=False):
|
|
943
|
-
CiphertextBlob:
|
|
944
|
-
Plaintext:
|
|
945
|
-
KeyId:
|
|
946
|
-
CiphertextForRecipient:
|
|
947
|
-
KeyMaterialId:
|
|
948
|
+
CiphertextBlob: CiphertextType | None
|
|
949
|
+
Plaintext: PlaintextType | None
|
|
950
|
+
KeyId: KeyIdType | None
|
|
951
|
+
CiphertextForRecipient: CiphertextType | None
|
|
952
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
948
953
|
|
|
949
954
|
|
|
950
955
|
class GenerateDataKeyWithoutPlaintextRequest(ServiceRequest):
|
|
951
956
|
KeyId: KeyIdType
|
|
952
|
-
EncryptionContext:
|
|
953
|
-
KeySpec:
|
|
954
|
-
NumberOfBytes:
|
|
955
|
-
GrantTokens:
|
|
956
|
-
DryRun:
|
|
957
|
+
EncryptionContext: EncryptionContextType | None
|
|
958
|
+
KeySpec: DataKeySpec | None
|
|
959
|
+
NumberOfBytes: NumberOfBytesType | None
|
|
960
|
+
GrantTokens: GrantTokenList | None
|
|
961
|
+
DryRun: NullableBooleanType | None
|
|
957
962
|
|
|
958
963
|
|
|
959
964
|
class GenerateDataKeyWithoutPlaintextResponse(TypedDict, total=False):
|
|
960
|
-
CiphertextBlob:
|
|
961
|
-
KeyId:
|
|
962
|
-
KeyMaterialId:
|
|
965
|
+
CiphertextBlob: CiphertextType | None
|
|
966
|
+
KeyId: KeyIdType | None
|
|
967
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
963
968
|
|
|
964
969
|
|
|
965
970
|
class GenerateMacRequest(ServiceRequest):
|
|
966
971
|
Message: PlaintextType
|
|
967
972
|
KeyId: KeyIdType
|
|
968
973
|
MacAlgorithm: MacAlgorithmSpec
|
|
969
|
-
GrantTokens:
|
|
970
|
-
DryRun:
|
|
974
|
+
GrantTokens: GrantTokenList | None
|
|
975
|
+
DryRun: NullableBooleanType | None
|
|
971
976
|
|
|
972
977
|
|
|
973
978
|
class GenerateMacResponse(TypedDict, total=False):
|
|
974
|
-
Mac:
|
|
975
|
-
MacAlgorithm:
|
|
976
|
-
KeyId:
|
|
979
|
+
Mac: CiphertextType | None
|
|
980
|
+
MacAlgorithm: MacAlgorithmSpec | None
|
|
981
|
+
KeyId: KeyIdType | None
|
|
977
982
|
|
|
978
983
|
|
|
979
984
|
class GenerateRandomRequest(ServiceRequest):
|
|
980
|
-
NumberOfBytes:
|
|
981
|
-
CustomKeyStoreId:
|
|
982
|
-
Recipient:
|
|
985
|
+
NumberOfBytes: NumberOfBytesType | None
|
|
986
|
+
CustomKeyStoreId: CustomKeyStoreIdType | None
|
|
987
|
+
Recipient: RecipientInfo | None
|
|
983
988
|
|
|
984
989
|
|
|
985
990
|
class GenerateRandomResponse(TypedDict, total=False):
|
|
986
|
-
Plaintext:
|
|
987
|
-
CiphertextForRecipient:
|
|
991
|
+
Plaintext: PlaintextType | None
|
|
992
|
+
CiphertextForRecipient: CiphertextType | None
|
|
988
993
|
|
|
989
994
|
|
|
990
995
|
class GetKeyPolicyRequest(ServiceRequest):
|
|
991
996
|
KeyId: KeyIdType
|
|
992
|
-
PolicyName:
|
|
997
|
+
PolicyName: PolicyNameType | None
|
|
993
998
|
|
|
994
999
|
|
|
995
1000
|
class GetKeyPolicyResponse(TypedDict, total=False):
|
|
996
|
-
Policy:
|
|
997
|
-
PolicyName:
|
|
1001
|
+
Policy: PolicyType | None
|
|
1002
|
+
PolicyName: PolicyNameType | None
|
|
998
1003
|
|
|
999
1004
|
|
|
1000
1005
|
class GetKeyRotationStatusRequest(ServiceRequest):
|
|
@@ -1002,11 +1007,11 @@ class GetKeyRotationStatusRequest(ServiceRequest):
|
|
|
1002
1007
|
|
|
1003
1008
|
|
|
1004
1009
|
class GetKeyRotationStatusResponse(TypedDict, total=False):
|
|
1005
|
-
KeyRotationEnabled:
|
|
1006
|
-
KeyId:
|
|
1007
|
-
RotationPeriodInDays:
|
|
1008
|
-
NextRotationDate:
|
|
1009
|
-
OnDemandRotationStartDate:
|
|
1010
|
+
KeyRotationEnabled: BooleanType | None
|
|
1011
|
+
KeyId: KeyIdType | None
|
|
1012
|
+
RotationPeriodInDays: RotationPeriodInDaysType | None
|
|
1013
|
+
NextRotationDate: DateType | None
|
|
1014
|
+
OnDemandRotationStartDate: DateType | None
|
|
1010
1015
|
|
|
1011
1016
|
|
|
1012
1017
|
class GetParametersForImportRequest(ServiceRequest):
|
|
@@ -1016,220 +1021,220 @@ class GetParametersForImportRequest(ServiceRequest):
|
|
|
1016
1021
|
|
|
1017
1022
|
|
|
1018
1023
|
class GetParametersForImportResponse(TypedDict, total=False):
|
|
1019
|
-
KeyId:
|
|
1020
|
-
ImportToken:
|
|
1021
|
-
PublicKey:
|
|
1022
|
-
ParametersValidTo:
|
|
1024
|
+
KeyId: KeyIdType | None
|
|
1025
|
+
ImportToken: CiphertextType | None
|
|
1026
|
+
PublicKey: PlaintextType | None
|
|
1027
|
+
ParametersValidTo: DateType | None
|
|
1023
1028
|
|
|
1024
1029
|
|
|
1025
1030
|
class GetPublicKeyRequest(ServiceRequest):
|
|
1026
1031
|
KeyId: KeyIdType
|
|
1027
|
-
GrantTokens:
|
|
1032
|
+
GrantTokens: GrantTokenList | None
|
|
1028
1033
|
|
|
1029
1034
|
|
|
1030
1035
|
class GetPublicKeyResponse(TypedDict, total=False):
|
|
1031
|
-
KeyId:
|
|
1032
|
-
PublicKey:
|
|
1033
|
-
CustomerMasterKeySpec:
|
|
1034
|
-
KeySpec:
|
|
1035
|
-
KeyUsage:
|
|
1036
|
-
EncryptionAlgorithms:
|
|
1037
|
-
SigningAlgorithms:
|
|
1038
|
-
KeyAgreementAlgorithms:
|
|
1036
|
+
KeyId: KeyIdType | None
|
|
1037
|
+
PublicKey: PublicKeyType | None
|
|
1038
|
+
CustomerMasterKeySpec: CustomerMasterKeySpec | None
|
|
1039
|
+
KeySpec: KeySpec | None
|
|
1040
|
+
KeyUsage: KeyUsageType | None
|
|
1041
|
+
EncryptionAlgorithms: EncryptionAlgorithmSpecList | None
|
|
1042
|
+
SigningAlgorithms: SigningAlgorithmSpecList | None
|
|
1043
|
+
KeyAgreementAlgorithms: KeyAgreementAlgorithmSpecList | None
|
|
1039
1044
|
|
|
1040
1045
|
|
|
1041
1046
|
class GrantListEntry(TypedDict, total=False):
|
|
1042
|
-
KeyId:
|
|
1043
|
-
GrantId:
|
|
1044
|
-
Name:
|
|
1045
|
-
CreationDate:
|
|
1046
|
-
GranteePrincipal:
|
|
1047
|
-
RetiringPrincipal:
|
|
1048
|
-
IssuingAccount:
|
|
1049
|
-
Operations:
|
|
1050
|
-
Constraints:
|
|
1047
|
+
KeyId: KeyIdType | None
|
|
1048
|
+
GrantId: GrantIdType | None
|
|
1049
|
+
Name: GrantNameType | None
|
|
1050
|
+
CreationDate: DateType | None
|
|
1051
|
+
GranteePrincipal: PrincipalIdType | None
|
|
1052
|
+
RetiringPrincipal: PrincipalIdType | None
|
|
1053
|
+
IssuingAccount: PrincipalIdType | None
|
|
1054
|
+
Operations: GrantOperationList | None
|
|
1055
|
+
Constraints: GrantConstraints | None
|
|
1051
1056
|
|
|
1052
1057
|
|
|
1053
|
-
GrantList =
|
|
1058
|
+
GrantList = list[GrantListEntry]
|
|
1054
1059
|
|
|
1055
1060
|
|
|
1056
1061
|
class ImportKeyMaterialRequest(ServiceRequest):
|
|
1057
1062
|
KeyId: KeyIdType
|
|
1058
1063
|
ImportToken: CiphertextType
|
|
1059
1064
|
EncryptedKeyMaterial: CiphertextType
|
|
1060
|
-
ValidTo:
|
|
1061
|
-
ExpirationModel:
|
|
1062
|
-
ImportType:
|
|
1063
|
-
KeyMaterialDescription:
|
|
1064
|
-
KeyMaterialId:
|
|
1065
|
+
ValidTo: DateType | None
|
|
1066
|
+
ExpirationModel: ExpirationModelType | None
|
|
1067
|
+
ImportType: ImportType | None
|
|
1068
|
+
KeyMaterialDescription: KeyMaterialDescriptionType | None
|
|
1069
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
1065
1070
|
|
|
1066
1071
|
|
|
1067
1072
|
class ImportKeyMaterialResponse(TypedDict, total=False):
|
|
1068
|
-
KeyId:
|
|
1069
|
-
KeyMaterialId:
|
|
1073
|
+
KeyId: KeyIdType | None
|
|
1074
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
1070
1075
|
|
|
1071
1076
|
|
|
1072
1077
|
class KeyListEntry(TypedDict, total=False):
|
|
1073
|
-
KeyId:
|
|
1074
|
-
KeyArn:
|
|
1078
|
+
KeyId: KeyIdType | None
|
|
1079
|
+
KeyArn: ArnType | None
|
|
1075
1080
|
|
|
1076
1081
|
|
|
1077
|
-
KeyList =
|
|
1082
|
+
KeyList = list[KeyListEntry]
|
|
1078
1083
|
|
|
1079
1084
|
|
|
1080
1085
|
class ListAliasesRequest(ServiceRequest):
|
|
1081
|
-
KeyId:
|
|
1082
|
-
Limit:
|
|
1083
|
-
Marker:
|
|
1086
|
+
KeyId: KeyIdType | None
|
|
1087
|
+
Limit: LimitType | None
|
|
1088
|
+
Marker: MarkerType | None
|
|
1084
1089
|
|
|
1085
1090
|
|
|
1086
1091
|
class ListAliasesResponse(TypedDict, total=False):
|
|
1087
|
-
Aliases:
|
|
1088
|
-
NextMarker:
|
|
1089
|
-
Truncated:
|
|
1092
|
+
Aliases: AliasList | None
|
|
1093
|
+
NextMarker: MarkerType | None
|
|
1094
|
+
Truncated: BooleanType | None
|
|
1090
1095
|
|
|
1091
1096
|
|
|
1092
1097
|
class ListGrantsRequest(ServiceRequest):
|
|
1093
|
-
Limit:
|
|
1094
|
-
Marker:
|
|
1098
|
+
Limit: LimitType | None
|
|
1099
|
+
Marker: MarkerType | None
|
|
1095
1100
|
KeyId: KeyIdType
|
|
1096
|
-
GrantId:
|
|
1097
|
-
GranteePrincipal:
|
|
1101
|
+
GrantId: GrantIdType | None
|
|
1102
|
+
GranteePrincipal: PrincipalIdType | None
|
|
1098
1103
|
|
|
1099
1104
|
|
|
1100
1105
|
class ListGrantsResponse(TypedDict, total=False):
|
|
1101
|
-
Grants:
|
|
1102
|
-
NextMarker:
|
|
1103
|
-
Truncated:
|
|
1106
|
+
Grants: GrantList | None
|
|
1107
|
+
NextMarker: MarkerType | None
|
|
1108
|
+
Truncated: BooleanType | None
|
|
1104
1109
|
|
|
1105
1110
|
|
|
1106
1111
|
class ListKeyPoliciesRequest(ServiceRequest):
|
|
1107
1112
|
KeyId: KeyIdType
|
|
1108
|
-
Limit:
|
|
1109
|
-
Marker:
|
|
1113
|
+
Limit: LimitType | None
|
|
1114
|
+
Marker: MarkerType | None
|
|
1110
1115
|
|
|
1111
1116
|
|
|
1112
|
-
PolicyNameList =
|
|
1117
|
+
PolicyNameList = list[PolicyNameType]
|
|
1113
1118
|
|
|
1114
1119
|
|
|
1115
1120
|
class ListKeyPoliciesResponse(TypedDict, total=False):
|
|
1116
|
-
PolicyNames:
|
|
1117
|
-
NextMarker:
|
|
1118
|
-
Truncated:
|
|
1121
|
+
PolicyNames: PolicyNameList | None
|
|
1122
|
+
NextMarker: MarkerType | None
|
|
1123
|
+
Truncated: BooleanType | None
|
|
1119
1124
|
|
|
1120
1125
|
|
|
1121
1126
|
class ListKeyRotationsRequest(ServiceRequest):
|
|
1122
1127
|
KeyId: KeyIdType
|
|
1123
|
-
IncludeKeyMaterial:
|
|
1124
|
-
Limit:
|
|
1125
|
-
Marker:
|
|
1128
|
+
IncludeKeyMaterial: IncludeKeyMaterial | None
|
|
1129
|
+
Limit: LimitType | None
|
|
1130
|
+
Marker: MarkerType | None
|
|
1126
1131
|
|
|
1127
1132
|
|
|
1128
1133
|
class RotationsListEntry(TypedDict, total=False):
|
|
1129
|
-
KeyId:
|
|
1130
|
-
KeyMaterialId:
|
|
1131
|
-
KeyMaterialDescription:
|
|
1132
|
-
ImportState:
|
|
1133
|
-
KeyMaterialState:
|
|
1134
|
-
ExpirationModel:
|
|
1135
|
-
ValidTo:
|
|
1136
|
-
RotationDate:
|
|
1137
|
-
RotationType:
|
|
1134
|
+
KeyId: KeyIdType | None
|
|
1135
|
+
KeyMaterialId: BackingKeyIdType | None
|
|
1136
|
+
KeyMaterialDescription: KeyMaterialDescriptionType | None
|
|
1137
|
+
ImportState: ImportState | None
|
|
1138
|
+
KeyMaterialState: KeyMaterialState | None
|
|
1139
|
+
ExpirationModel: ExpirationModelType | None
|
|
1140
|
+
ValidTo: DateType | None
|
|
1141
|
+
RotationDate: DateType | None
|
|
1142
|
+
RotationType: RotationType | None
|
|
1138
1143
|
|
|
1139
1144
|
|
|
1140
|
-
RotationsList =
|
|
1145
|
+
RotationsList = list[RotationsListEntry]
|
|
1141
1146
|
|
|
1142
1147
|
|
|
1143
1148
|
class ListKeyRotationsResponse(TypedDict, total=False):
|
|
1144
|
-
Rotations:
|
|
1145
|
-
NextMarker:
|
|
1146
|
-
Truncated:
|
|
1149
|
+
Rotations: RotationsList | None
|
|
1150
|
+
NextMarker: MarkerType | None
|
|
1151
|
+
Truncated: BooleanType | None
|
|
1147
1152
|
|
|
1148
1153
|
|
|
1149
1154
|
class ListKeysRequest(ServiceRequest):
|
|
1150
|
-
Limit:
|
|
1151
|
-
Marker:
|
|
1155
|
+
Limit: LimitType | None
|
|
1156
|
+
Marker: MarkerType | None
|
|
1152
1157
|
|
|
1153
1158
|
|
|
1154
1159
|
class ListKeysResponse(TypedDict, total=False):
|
|
1155
|
-
Keys:
|
|
1156
|
-
NextMarker:
|
|
1157
|
-
Truncated:
|
|
1160
|
+
Keys: KeyList | None
|
|
1161
|
+
NextMarker: MarkerType | None
|
|
1162
|
+
Truncated: BooleanType | None
|
|
1158
1163
|
|
|
1159
1164
|
|
|
1160
1165
|
class ListResourceTagsRequest(ServiceRequest):
|
|
1161
1166
|
KeyId: KeyIdType
|
|
1162
|
-
Limit:
|
|
1163
|
-
Marker:
|
|
1167
|
+
Limit: LimitType | None
|
|
1168
|
+
Marker: MarkerType | None
|
|
1164
1169
|
|
|
1165
1170
|
|
|
1166
1171
|
class ListResourceTagsResponse(TypedDict, total=False):
|
|
1167
|
-
Tags:
|
|
1168
|
-
NextMarker:
|
|
1169
|
-
Truncated:
|
|
1172
|
+
Tags: TagList | None
|
|
1173
|
+
NextMarker: MarkerType | None
|
|
1174
|
+
Truncated: BooleanType | None
|
|
1170
1175
|
|
|
1171
1176
|
|
|
1172
1177
|
class ListRetirableGrantsRequest(ServiceRequest):
|
|
1173
|
-
Limit:
|
|
1174
|
-
Marker:
|
|
1178
|
+
Limit: LimitType | None
|
|
1179
|
+
Marker: MarkerType | None
|
|
1175
1180
|
RetiringPrincipal: PrincipalIdType
|
|
1176
1181
|
|
|
1177
1182
|
|
|
1178
1183
|
class PutKeyPolicyRequest(ServiceRequest):
|
|
1179
1184
|
KeyId: KeyIdType
|
|
1180
|
-
PolicyName:
|
|
1185
|
+
PolicyName: PolicyNameType | None
|
|
1181
1186
|
Policy: PolicyType
|
|
1182
|
-
BypassPolicyLockoutSafetyCheck:
|
|
1187
|
+
BypassPolicyLockoutSafetyCheck: BooleanType | None
|
|
1183
1188
|
|
|
1184
1189
|
|
|
1185
1190
|
class ReEncryptRequest(ServiceRequest):
|
|
1186
1191
|
CiphertextBlob: CiphertextType
|
|
1187
|
-
SourceEncryptionContext:
|
|
1188
|
-
SourceKeyId:
|
|
1192
|
+
SourceEncryptionContext: EncryptionContextType | None
|
|
1193
|
+
SourceKeyId: KeyIdType | None
|
|
1189
1194
|
DestinationKeyId: KeyIdType
|
|
1190
|
-
DestinationEncryptionContext:
|
|
1191
|
-
SourceEncryptionAlgorithm:
|
|
1192
|
-
DestinationEncryptionAlgorithm:
|
|
1193
|
-
GrantTokens:
|
|
1194
|
-
DryRun:
|
|
1195
|
+
DestinationEncryptionContext: EncryptionContextType | None
|
|
1196
|
+
SourceEncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
1197
|
+
DestinationEncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
1198
|
+
GrantTokens: GrantTokenList | None
|
|
1199
|
+
DryRun: NullableBooleanType | None
|
|
1195
1200
|
|
|
1196
1201
|
|
|
1197
1202
|
class ReEncryptResponse(TypedDict, total=False):
|
|
1198
|
-
CiphertextBlob:
|
|
1199
|
-
SourceKeyId:
|
|
1200
|
-
KeyId:
|
|
1201
|
-
SourceEncryptionAlgorithm:
|
|
1202
|
-
DestinationEncryptionAlgorithm:
|
|
1203
|
-
SourceKeyMaterialId:
|
|
1204
|
-
DestinationKeyMaterialId:
|
|
1203
|
+
CiphertextBlob: CiphertextType | None
|
|
1204
|
+
SourceKeyId: KeyIdType | None
|
|
1205
|
+
KeyId: KeyIdType | None
|
|
1206
|
+
SourceEncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
1207
|
+
DestinationEncryptionAlgorithm: EncryptionAlgorithmSpec | None
|
|
1208
|
+
SourceKeyMaterialId: BackingKeyIdType | None
|
|
1209
|
+
DestinationKeyMaterialId: BackingKeyIdType | None
|
|
1205
1210
|
|
|
1206
1211
|
|
|
1207
1212
|
class ReplicateKeyRequest(ServiceRequest):
|
|
1208
1213
|
KeyId: KeyIdType
|
|
1209
1214
|
ReplicaRegion: RegionType
|
|
1210
|
-
Policy:
|
|
1211
|
-
BypassPolicyLockoutSafetyCheck:
|
|
1212
|
-
Description:
|
|
1213
|
-
Tags:
|
|
1215
|
+
Policy: PolicyType | None
|
|
1216
|
+
BypassPolicyLockoutSafetyCheck: BooleanType | None
|
|
1217
|
+
Description: DescriptionType | None
|
|
1218
|
+
Tags: TagList | None
|
|
1214
1219
|
|
|
1215
1220
|
|
|
1216
1221
|
class ReplicateKeyResponse(TypedDict, total=False):
|
|
1217
|
-
ReplicaKeyMetadata:
|
|
1218
|
-
ReplicaPolicy:
|
|
1219
|
-
ReplicaTags:
|
|
1222
|
+
ReplicaKeyMetadata: KeyMetadata | None
|
|
1223
|
+
ReplicaPolicy: PolicyType | None
|
|
1224
|
+
ReplicaTags: TagList | None
|
|
1220
1225
|
|
|
1221
1226
|
|
|
1222
1227
|
class RetireGrantRequest(ServiceRequest):
|
|
1223
|
-
GrantToken:
|
|
1224
|
-
KeyId:
|
|
1225
|
-
GrantId:
|
|
1226
|
-
DryRun:
|
|
1228
|
+
GrantToken: GrantTokenType | None
|
|
1229
|
+
KeyId: KeyIdType | None
|
|
1230
|
+
GrantId: GrantIdType | None
|
|
1231
|
+
DryRun: NullableBooleanType | None
|
|
1227
1232
|
|
|
1228
1233
|
|
|
1229
1234
|
class RevokeGrantRequest(ServiceRequest):
|
|
1230
1235
|
KeyId: KeyIdType
|
|
1231
1236
|
GrantId: GrantIdType
|
|
1232
|
-
DryRun:
|
|
1237
|
+
DryRun: NullableBooleanType | None
|
|
1233
1238
|
|
|
1234
1239
|
|
|
1235
1240
|
class RotateKeyOnDemandRequest(ServiceRequest):
|
|
@@ -1237,37 +1242,37 @@ class RotateKeyOnDemandRequest(ServiceRequest):
|
|
|
1237
1242
|
|
|
1238
1243
|
|
|
1239
1244
|
class RotateKeyOnDemandResponse(TypedDict, total=False):
|
|
1240
|
-
KeyId:
|
|
1245
|
+
KeyId: KeyIdType | None
|
|
1241
1246
|
|
|
1242
1247
|
|
|
1243
1248
|
class ScheduleKeyDeletionRequest(ServiceRequest):
|
|
1244
1249
|
KeyId: KeyIdType
|
|
1245
|
-
PendingWindowInDays:
|
|
1250
|
+
PendingWindowInDays: PendingWindowInDaysType | None
|
|
1246
1251
|
|
|
1247
1252
|
|
|
1248
1253
|
class ScheduleKeyDeletionResponse(TypedDict, total=False):
|
|
1249
|
-
KeyId:
|
|
1250
|
-
DeletionDate:
|
|
1251
|
-
KeyState:
|
|
1252
|
-
PendingWindowInDays:
|
|
1254
|
+
KeyId: KeyIdType | None
|
|
1255
|
+
DeletionDate: DateType | None
|
|
1256
|
+
KeyState: KeyState | None
|
|
1257
|
+
PendingWindowInDays: PendingWindowInDaysType | None
|
|
1253
1258
|
|
|
1254
1259
|
|
|
1255
1260
|
class SignRequest(ServiceRequest):
|
|
1256
1261
|
KeyId: KeyIdType
|
|
1257
1262
|
Message: PlaintextType
|
|
1258
|
-
MessageType:
|
|
1259
|
-
GrantTokens:
|
|
1263
|
+
MessageType: MessageType | None
|
|
1264
|
+
GrantTokens: GrantTokenList | None
|
|
1260
1265
|
SigningAlgorithm: SigningAlgorithmSpec
|
|
1261
|
-
DryRun:
|
|
1266
|
+
DryRun: NullableBooleanType | None
|
|
1262
1267
|
|
|
1263
1268
|
|
|
1264
1269
|
class SignResponse(TypedDict, total=False):
|
|
1265
|
-
KeyId:
|
|
1266
|
-
Signature:
|
|
1267
|
-
SigningAlgorithm:
|
|
1270
|
+
KeyId: KeyIdType | None
|
|
1271
|
+
Signature: CiphertextType | None
|
|
1272
|
+
SigningAlgorithm: SigningAlgorithmSpec | None
|
|
1268
1273
|
|
|
1269
1274
|
|
|
1270
|
-
TagKeyList =
|
|
1275
|
+
TagKeyList = list[TagKeyType]
|
|
1271
1276
|
|
|
1272
1277
|
|
|
1273
1278
|
class TagResourceRequest(ServiceRequest):
|
|
@@ -1287,15 +1292,15 @@ class UpdateAliasRequest(ServiceRequest):
|
|
|
1287
1292
|
|
|
1288
1293
|
class UpdateCustomKeyStoreRequest(ServiceRequest):
|
|
1289
1294
|
CustomKeyStoreId: CustomKeyStoreIdType
|
|
1290
|
-
NewCustomKeyStoreName:
|
|
1291
|
-
KeyStorePassword:
|
|
1292
|
-
CloudHsmClusterId:
|
|
1293
|
-
XksProxyUriEndpoint:
|
|
1294
|
-
XksProxyUriPath:
|
|
1295
|
-
XksProxyVpcEndpointServiceName:
|
|
1296
|
-
XksProxyVpcEndpointServiceOwner:
|
|
1297
|
-
XksProxyAuthenticationCredential:
|
|
1298
|
-
XksProxyConnectivity:
|
|
1295
|
+
NewCustomKeyStoreName: CustomKeyStoreNameType | None
|
|
1296
|
+
KeyStorePassword: KeyStorePasswordType | None
|
|
1297
|
+
CloudHsmClusterId: CloudHsmClusterIdType | None
|
|
1298
|
+
XksProxyUriEndpoint: XksProxyUriEndpointType | None
|
|
1299
|
+
XksProxyUriPath: XksProxyUriPathType | None
|
|
1300
|
+
XksProxyVpcEndpointServiceName: XksProxyVpcEndpointServiceNameType | None
|
|
1301
|
+
XksProxyVpcEndpointServiceOwner: AccountIdType | None
|
|
1302
|
+
XksProxyAuthenticationCredential: XksProxyAuthenticationCredentialType | None
|
|
1303
|
+
XksProxyConnectivity: XksProxyConnectivityType | None
|
|
1299
1304
|
|
|
1300
1305
|
|
|
1301
1306
|
class UpdateCustomKeyStoreResponse(TypedDict, total=False):
|
|
@@ -1317,35 +1322,35 @@ class VerifyMacRequest(ServiceRequest):
|
|
|
1317
1322
|
KeyId: KeyIdType
|
|
1318
1323
|
MacAlgorithm: MacAlgorithmSpec
|
|
1319
1324
|
Mac: CiphertextType
|
|
1320
|
-
GrantTokens:
|
|
1321
|
-
DryRun:
|
|
1325
|
+
GrantTokens: GrantTokenList | None
|
|
1326
|
+
DryRun: NullableBooleanType | None
|
|
1322
1327
|
|
|
1323
1328
|
|
|
1324
1329
|
class VerifyMacResponse(TypedDict, total=False):
|
|
1325
|
-
KeyId:
|
|
1326
|
-
MacValid:
|
|
1327
|
-
MacAlgorithm:
|
|
1330
|
+
KeyId: KeyIdType | None
|
|
1331
|
+
MacValid: BooleanType | None
|
|
1332
|
+
MacAlgorithm: MacAlgorithmSpec | None
|
|
1328
1333
|
|
|
1329
1334
|
|
|
1330
1335
|
class VerifyRequest(ServiceRequest):
|
|
1331
1336
|
KeyId: KeyIdType
|
|
1332
1337
|
Message: PlaintextType
|
|
1333
|
-
MessageType:
|
|
1338
|
+
MessageType: MessageType | None
|
|
1334
1339
|
Signature: CiphertextType
|
|
1335
1340
|
SigningAlgorithm: SigningAlgorithmSpec
|
|
1336
|
-
GrantTokens:
|
|
1337
|
-
DryRun:
|
|
1341
|
+
GrantTokens: GrantTokenList | None
|
|
1342
|
+
DryRun: NullableBooleanType | None
|
|
1338
1343
|
|
|
1339
1344
|
|
|
1340
1345
|
class VerifyResponse(TypedDict, total=False):
|
|
1341
|
-
KeyId:
|
|
1342
|
-
SignatureValid:
|
|
1343
|
-
SigningAlgorithm:
|
|
1346
|
+
KeyId: KeyIdType | None
|
|
1347
|
+
SignatureValid: BooleanType | None
|
|
1348
|
+
SigningAlgorithm: SigningAlgorithmSpec | None
|
|
1344
1349
|
|
|
1345
1350
|
|
|
1346
1351
|
class KmsApi:
|
|
1347
|
-
service = "kms"
|
|
1348
|
-
version = "2014-11-01"
|
|
1352
|
+
service: str = "kms"
|
|
1353
|
+
version: str = "2014-11-01"
|
|
1349
1354
|
|
|
1350
1355
|
@handler("CancelKeyDeletion")
|
|
1351
1356
|
def cancel_key_deletion(
|