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