@aws-sdk/client-kms 3.31.0 → 3.32.0
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.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/KMSClient.js +13 -13
- package/dist/cjs/KMSClient.js.map +1 -1
- package/dist/cjs/commands/CancelKeyDeletionCommand.js +3 -3
- package/dist/cjs/commands/CancelKeyDeletionCommand.js.map +1 -1
- package/dist/cjs/commands/ConnectCustomKeyStoreCommand.js +3 -3
- package/dist/cjs/commands/ConnectCustomKeyStoreCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAliasCommand.js +3 -3
- package/dist/cjs/commands/CreateAliasCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCustomKeyStoreCommand.js +3 -3
- package/dist/cjs/commands/CreateCustomKeyStoreCommand.js.map +1 -1
- package/dist/cjs/commands/CreateGrantCommand.js +3 -3
- package/dist/cjs/commands/CreateGrantCommand.js.map +1 -1
- package/dist/cjs/commands/CreateKeyCommand.js +3 -3
- package/dist/cjs/commands/CreateKeyCommand.js.map +1 -1
- package/dist/cjs/commands/DecryptCommand.js +3 -3
- package/dist/cjs/commands/DecryptCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAliasCommand.js +3 -3
- package/dist/cjs/commands/DeleteAliasCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteCustomKeyStoreCommand.js +3 -3
- package/dist/cjs/commands/DeleteCustomKeyStoreCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteImportedKeyMaterialCommand.js +3 -3
- package/dist/cjs/commands/DeleteImportedKeyMaterialCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeCustomKeyStoresCommand.js +3 -3
- package/dist/cjs/commands/DescribeCustomKeyStoresCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeKeyCommand.js +3 -3
- package/dist/cjs/commands/DescribeKeyCommand.js.map +1 -1
- package/dist/cjs/commands/DisableKeyCommand.js +3 -3
- package/dist/cjs/commands/DisableKeyCommand.js.map +1 -1
- package/dist/cjs/commands/DisableKeyRotationCommand.js +3 -3
- package/dist/cjs/commands/DisableKeyRotationCommand.js.map +1 -1
- package/dist/cjs/commands/DisconnectCustomKeyStoreCommand.js +3 -3
- package/dist/cjs/commands/DisconnectCustomKeyStoreCommand.js.map +1 -1
- package/dist/cjs/commands/EnableKeyCommand.js +3 -3
- package/dist/cjs/commands/EnableKeyCommand.js.map +1 -1
- package/dist/cjs/commands/EnableKeyRotationCommand.js +3 -3
- package/dist/cjs/commands/EnableKeyRotationCommand.js.map +1 -1
- package/dist/cjs/commands/EncryptCommand.js +3 -3
- package/dist/cjs/commands/EncryptCommand.js.map +1 -1
- package/dist/cjs/commands/GenerateDataKeyCommand.js +3 -3
- package/dist/cjs/commands/GenerateDataKeyCommand.js.map +1 -1
- package/dist/cjs/commands/GenerateDataKeyPairCommand.js +3 -3
- package/dist/cjs/commands/GenerateDataKeyPairCommand.js.map +1 -1
- package/dist/cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +3 -3
- package/dist/cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js.map +1 -1
- package/dist/cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +3 -3
- package/dist/cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js.map +1 -1
- package/dist/cjs/commands/GenerateRandomCommand.js +3 -3
- package/dist/cjs/commands/GenerateRandomCommand.js.map +1 -1
- package/dist/cjs/commands/GetKeyPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetKeyPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetKeyRotationStatusCommand.js +3 -3
- package/dist/cjs/commands/GetKeyRotationStatusCommand.js.map +1 -1
- package/dist/cjs/commands/GetParametersForImportCommand.js +3 -3
- package/dist/cjs/commands/GetParametersForImportCommand.js.map +1 -1
- package/dist/cjs/commands/GetPublicKeyCommand.js +3 -3
- package/dist/cjs/commands/GetPublicKeyCommand.js.map +1 -1
- package/dist/cjs/commands/ImportKeyMaterialCommand.js +3 -3
- package/dist/cjs/commands/ImportKeyMaterialCommand.js.map +1 -1
- package/dist/cjs/commands/ListAliasesCommand.js +3 -3
- package/dist/cjs/commands/ListAliasesCommand.js.map +1 -1
- package/dist/cjs/commands/ListGrantsCommand.js +3 -3
- package/dist/cjs/commands/ListGrantsCommand.js.map +1 -1
- package/dist/cjs/commands/ListKeyPoliciesCommand.js +3 -3
- package/dist/cjs/commands/ListKeyPoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/ListKeysCommand.js +3 -3
- package/dist/cjs/commands/ListKeysCommand.js.map +1 -1
- package/dist/cjs/commands/ListResourceTagsCommand.js +3 -3
- package/dist/cjs/commands/ListResourceTagsCommand.js.map +1 -1
- package/dist/cjs/commands/ListRetirableGrantsCommand.js +3 -3
- package/dist/cjs/commands/ListRetirableGrantsCommand.js.map +1 -1
- package/dist/cjs/commands/PutKeyPolicyCommand.js +3 -3
- package/dist/cjs/commands/PutKeyPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/ReEncryptCommand.js +3 -3
- package/dist/cjs/commands/ReEncryptCommand.js.map +1 -1
- package/dist/cjs/commands/ReplicateKeyCommand.js +3 -3
- package/dist/cjs/commands/ReplicateKeyCommand.js.map +1 -1
- package/dist/cjs/commands/RetireGrantCommand.js +3 -3
- package/dist/cjs/commands/RetireGrantCommand.js.map +1 -1
- package/dist/cjs/commands/RevokeGrantCommand.js +3 -3
- package/dist/cjs/commands/RevokeGrantCommand.js.map +1 -1
- package/dist/cjs/commands/ScheduleKeyDeletionCommand.js +3 -3
- package/dist/cjs/commands/ScheduleKeyDeletionCommand.js.map +1 -1
- package/dist/cjs/commands/SignCommand.js +3 -3
- package/dist/cjs/commands/SignCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAliasCommand.js +3 -3
- package/dist/cjs/commands/UpdateAliasCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateCustomKeyStoreCommand.js +3 -3
- package/dist/cjs/commands/UpdateCustomKeyStoreCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateKeyDescriptionCommand.js +3 -3
- package/dist/cjs/commands/UpdateKeyDescriptionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdatePrimaryRegionCommand.js +3 -3
- package/dist/cjs/commands/UpdatePrimaryRegionCommand.js.map +1 -1
- package/dist/cjs/commands/VerifyCommand.js +3 -3
- package/dist/cjs/commands/VerifyCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +56 -56
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +131 -131
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/ListAliasesPaginator.js +4 -4
- package/dist/es/pagination/ListAliasesPaginator.js.map +1 -1
- package/dist/es/pagination/ListGrantsPaginator.js +4 -4
- package/dist/es/pagination/ListGrantsPaginator.js.map +1 -1
- package/dist/es/pagination/ListKeyPoliciesPaginator.js +4 -4
- package/dist/es/pagination/ListKeyPoliciesPaginator.js.map +1 -1
- package/dist/es/pagination/ListKeysPaginator.js +4 -4
- package/dist/es/pagination/ListKeysPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -5676,50 +5676,50 @@ const deserializeAws_json1_1AliasList = (output, context) => {
|
|
|
5676
5676
|
};
|
|
5677
5677
|
const deserializeAws_json1_1AliasListEntry = (output, context) => {
|
|
5678
5678
|
return {
|
|
5679
|
-
AliasArn:
|
|
5680
|
-
AliasName:
|
|
5679
|
+
AliasArn: smithy_client_1.expectString(output.AliasArn),
|
|
5680
|
+
AliasName: smithy_client_1.expectString(output.AliasName),
|
|
5681
5681
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
5682
|
-
?
|
|
5682
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
5683
5683
|
: undefined,
|
|
5684
5684
|
LastUpdatedDate: output.LastUpdatedDate !== undefined && output.LastUpdatedDate !== null
|
|
5685
|
-
?
|
|
5685
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedDate)))
|
|
5686
5686
|
: undefined,
|
|
5687
|
-
TargetKeyId:
|
|
5687
|
+
TargetKeyId: smithy_client_1.expectString(output.TargetKeyId),
|
|
5688
5688
|
};
|
|
5689
5689
|
};
|
|
5690
5690
|
const deserializeAws_json1_1AlreadyExistsException = (output, context) => {
|
|
5691
5691
|
return {
|
|
5692
|
-
message:
|
|
5692
|
+
message: smithy_client_1.expectString(output.message),
|
|
5693
5693
|
};
|
|
5694
5694
|
};
|
|
5695
5695
|
const deserializeAws_json1_1CancelKeyDeletionResponse = (output, context) => {
|
|
5696
5696
|
return {
|
|
5697
|
-
KeyId:
|
|
5697
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
5698
5698
|
};
|
|
5699
5699
|
};
|
|
5700
5700
|
const deserializeAws_json1_1CloudHsmClusterInUseException = (output, context) => {
|
|
5701
5701
|
return {
|
|
5702
|
-
message:
|
|
5702
|
+
message: smithy_client_1.expectString(output.message),
|
|
5703
5703
|
};
|
|
5704
5704
|
};
|
|
5705
5705
|
const deserializeAws_json1_1CloudHsmClusterInvalidConfigurationException = (output, context) => {
|
|
5706
5706
|
return {
|
|
5707
|
-
message:
|
|
5707
|
+
message: smithy_client_1.expectString(output.message),
|
|
5708
5708
|
};
|
|
5709
5709
|
};
|
|
5710
5710
|
const deserializeAws_json1_1CloudHsmClusterNotActiveException = (output, context) => {
|
|
5711
5711
|
return {
|
|
5712
|
-
message:
|
|
5712
|
+
message: smithy_client_1.expectString(output.message),
|
|
5713
5713
|
};
|
|
5714
5714
|
};
|
|
5715
5715
|
const deserializeAws_json1_1CloudHsmClusterNotFoundException = (output, context) => {
|
|
5716
5716
|
return {
|
|
5717
|
-
message:
|
|
5717
|
+
message: smithy_client_1.expectString(output.message),
|
|
5718
5718
|
};
|
|
5719
5719
|
};
|
|
5720
5720
|
const deserializeAws_json1_1CloudHsmClusterNotRelatedException = (output, context) => {
|
|
5721
5721
|
return {
|
|
5722
|
-
message:
|
|
5722
|
+
message: smithy_client_1.expectString(output.message),
|
|
5723
5723
|
};
|
|
5724
5724
|
};
|
|
5725
5725
|
const deserializeAws_json1_1ConnectCustomKeyStoreResponse = (output, context) => {
|
|
@@ -5727,13 +5727,13 @@ const deserializeAws_json1_1ConnectCustomKeyStoreResponse = (output, context) =>
|
|
|
5727
5727
|
};
|
|
5728
5728
|
const deserializeAws_json1_1CreateCustomKeyStoreResponse = (output, context) => {
|
|
5729
5729
|
return {
|
|
5730
|
-
CustomKeyStoreId:
|
|
5730
|
+
CustomKeyStoreId: smithy_client_1.expectString(output.CustomKeyStoreId),
|
|
5731
5731
|
};
|
|
5732
5732
|
};
|
|
5733
5733
|
const deserializeAws_json1_1CreateGrantResponse = (output, context) => {
|
|
5734
5734
|
return {
|
|
5735
|
-
GrantId:
|
|
5736
|
-
GrantToken:
|
|
5735
|
+
GrantId: smithy_client_1.expectString(output.GrantId),
|
|
5736
|
+
GrantToken: smithy_client_1.expectString(output.GrantToken),
|
|
5737
5737
|
};
|
|
5738
5738
|
};
|
|
5739
5739
|
const deserializeAws_json1_1CreateKeyResponse = (output, context) => {
|
|
@@ -5745,22 +5745,22 @@ const deserializeAws_json1_1CreateKeyResponse = (output, context) => {
|
|
|
5745
5745
|
};
|
|
5746
5746
|
const deserializeAws_json1_1CustomKeyStoreHasCMKsException = (output, context) => {
|
|
5747
5747
|
return {
|
|
5748
|
-
message:
|
|
5748
|
+
message: smithy_client_1.expectString(output.message),
|
|
5749
5749
|
};
|
|
5750
5750
|
};
|
|
5751
5751
|
const deserializeAws_json1_1CustomKeyStoreInvalidStateException = (output, context) => {
|
|
5752
5752
|
return {
|
|
5753
|
-
message:
|
|
5753
|
+
message: smithy_client_1.expectString(output.message),
|
|
5754
5754
|
};
|
|
5755
5755
|
};
|
|
5756
5756
|
const deserializeAws_json1_1CustomKeyStoreNameInUseException = (output, context) => {
|
|
5757
5757
|
return {
|
|
5758
|
-
message:
|
|
5758
|
+
message: smithy_client_1.expectString(output.message),
|
|
5759
5759
|
};
|
|
5760
5760
|
};
|
|
5761
5761
|
const deserializeAws_json1_1CustomKeyStoreNotFoundException = (output, context) => {
|
|
5762
5762
|
return {
|
|
5763
|
-
message:
|
|
5763
|
+
message: smithy_client_1.expectString(output.message),
|
|
5764
5764
|
};
|
|
5765
5765
|
};
|
|
5766
5766
|
const deserializeAws_json1_1CustomKeyStoresList = (output, context) => {
|
|
@@ -5775,21 +5775,21 @@ const deserializeAws_json1_1CustomKeyStoresList = (output, context) => {
|
|
|
5775
5775
|
};
|
|
5776
5776
|
const deserializeAws_json1_1CustomKeyStoresListEntry = (output, context) => {
|
|
5777
5777
|
return {
|
|
5778
|
-
CloudHsmClusterId:
|
|
5779
|
-
ConnectionErrorCode:
|
|
5780
|
-
ConnectionState:
|
|
5778
|
+
CloudHsmClusterId: smithy_client_1.expectString(output.CloudHsmClusterId),
|
|
5779
|
+
ConnectionErrorCode: smithy_client_1.expectString(output.ConnectionErrorCode),
|
|
5780
|
+
ConnectionState: smithy_client_1.expectString(output.ConnectionState),
|
|
5781
5781
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
5782
|
-
?
|
|
5782
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
5783
5783
|
: undefined,
|
|
5784
|
-
CustomKeyStoreId:
|
|
5785
|
-
CustomKeyStoreName:
|
|
5786
|
-
TrustAnchorCertificate:
|
|
5784
|
+
CustomKeyStoreId: smithy_client_1.expectString(output.CustomKeyStoreId),
|
|
5785
|
+
CustomKeyStoreName: smithy_client_1.expectString(output.CustomKeyStoreName),
|
|
5786
|
+
TrustAnchorCertificate: smithy_client_1.expectString(output.TrustAnchorCertificate),
|
|
5787
5787
|
};
|
|
5788
5788
|
};
|
|
5789
5789
|
const deserializeAws_json1_1DecryptResponse = (output, context) => {
|
|
5790
5790
|
return {
|
|
5791
|
-
EncryptionAlgorithm:
|
|
5792
|
-
KeyId:
|
|
5791
|
+
EncryptionAlgorithm: smithy_client_1.expectString(output.EncryptionAlgorithm),
|
|
5792
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
5793
5793
|
Plaintext: output.Plaintext !== undefined && output.Plaintext !== null ? context.base64Decoder(output.Plaintext) : undefined,
|
|
5794
5794
|
};
|
|
5795
5795
|
};
|
|
@@ -5798,7 +5798,7 @@ const deserializeAws_json1_1DeleteCustomKeyStoreResponse = (output, context) =>
|
|
|
5798
5798
|
};
|
|
5799
5799
|
const deserializeAws_json1_1DependencyTimeoutException = (output, context) => {
|
|
5800
5800
|
return {
|
|
5801
|
-
message:
|
|
5801
|
+
message: smithy_client_1.expectString(output.message),
|
|
5802
5802
|
};
|
|
5803
5803
|
};
|
|
5804
5804
|
const deserializeAws_json1_1DescribeCustomKeyStoresResponse = (output, context) => {
|
|
@@ -5806,8 +5806,8 @@ const deserializeAws_json1_1DescribeCustomKeyStoresResponse = (output, context)
|
|
|
5806
5806
|
CustomKeyStores: output.CustomKeyStores !== undefined && output.CustomKeyStores !== null
|
|
5807
5807
|
? deserializeAws_json1_1CustomKeyStoresList(output.CustomKeyStores, context)
|
|
5808
5808
|
: undefined,
|
|
5809
|
-
NextMarker:
|
|
5810
|
-
Truncated:
|
|
5809
|
+
NextMarker: smithy_client_1.expectString(output.NextMarker),
|
|
5810
|
+
Truncated: smithy_client_1.expectBoolean(output.Truncated),
|
|
5811
5811
|
};
|
|
5812
5812
|
};
|
|
5813
5813
|
const deserializeAws_json1_1DescribeKeyResponse = (output, context) => {
|
|
@@ -5819,7 +5819,7 @@ const deserializeAws_json1_1DescribeKeyResponse = (output, context) => {
|
|
|
5819
5819
|
};
|
|
5820
5820
|
const deserializeAws_json1_1DisabledException = (output, context) => {
|
|
5821
5821
|
return {
|
|
5822
|
-
message:
|
|
5822
|
+
message: smithy_client_1.expectString(output.message),
|
|
5823
5823
|
};
|
|
5824
5824
|
};
|
|
5825
5825
|
const deserializeAws_json1_1DisconnectCustomKeyStoreResponse = (output, context) => {
|
|
@@ -5832,7 +5832,7 @@ const deserializeAws_json1_1EncryptionAlgorithmSpecList = (output, context) => {
|
|
|
5832
5832
|
if (entry === null) {
|
|
5833
5833
|
return null;
|
|
5834
5834
|
}
|
|
5835
|
-
return
|
|
5835
|
+
return smithy_client_1.expectString(entry);
|
|
5836
5836
|
});
|
|
5837
5837
|
};
|
|
5838
5838
|
const deserializeAws_json1_1EncryptionContextType = (output, context) => {
|
|
@@ -5842,7 +5842,7 @@ const deserializeAws_json1_1EncryptionContextType = (output, context) => {
|
|
|
5842
5842
|
}
|
|
5843
5843
|
return {
|
|
5844
5844
|
...acc,
|
|
5845
|
-
[key]:
|
|
5845
|
+
[key]: smithy_client_1.expectString(value),
|
|
5846
5846
|
};
|
|
5847
5847
|
}, {});
|
|
5848
5848
|
};
|
|
@@ -5851,19 +5851,19 @@ const deserializeAws_json1_1EncryptResponse = (output, context) => {
|
|
|
5851
5851
|
CiphertextBlob: output.CiphertextBlob !== undefined && output.CiphertextBlob !== null
|
|
5852
5852
|
? context.base64Decoder(output.CiphertextBlob)
|
|
5853
5853
|
: undefined,
|
|
5854
|
-
EncryptionAlgorithm:
|
|
5855
|
-
KeyId:
|
|
5854
|
+
EncryptionAlgorithm: smithy_client_1.expectString(output.EncryptionAlgorithm),
|
|
5855
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
5856
5856
|
};
|
|
5857
5857
|
};
|
|
5858
5858
|
const deserializeAws_json1_1ExpiredImportTokenException = (output, context) => {
|
|
5859
5859
|
return {
|
|
5860
|
-
message:
|
|
5860
|
+
message: smithy_client_1.expectString(output.message),
|
|
5861
5861
|
};
|
|
5862
5862
|
};
|
|
5863
5863
|
const deserializeAws_json1_1GenerateDataKeyPairResponse = (output, context) => {
|
|
5864
5864
|
return {
|
|
5865
|
-
KeyId:
|
|
5866
|
-
KeyPairSpec:
|
|
5865
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
5866
|
+
KeyPairSpec: smithy_client_1.expectString(output.KeyPairSpec),
|
|
5867
5867
|
PrivateKeyCiphertextBlob: output.PrivateKeyCiphertextBlob !== undefined && output.PrivateKeyCiphertextBlob !== null
|
|
5868
5868
|
? context.base64Decoder(output.PrivateKeyCiphertextBlob)
|
|
5869
5869
|
: undefined,
|
|
@@ -5875,8 +5875,8 @@ const deserializeAws_json1_1GenerateDataKeyPairResponse = (output, context) => {
|
|
|
5875
5875
|
};
|
|
5876
5876
|
const deserializeAws_json1_1GenerateDataKeyPairWithoutPlaintextResponse = (output, context) => {
|
|
5877
5877
|
return {
|
|
5878
|
-
KeyId:
|
|
5879
|
-
KeyPairSpec:
|
|
5878
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
5879
|
+
KeyPairSpec: smithy_client_1.expectString(output.KeyPairSpec),
|
|
5880
5880
|
PrivateKeyCiphertextBlob: output.PrivateKeyCiphertextBlob !== undefined && output.PrivateKeyCiphertextBlob !== null
|
|
5881
5881
|
? context.base64Decoder(output.PrivateKeyCiphertextBlob)
|
|
5882
5882
|
: undefined,
|
|
@@ -5888,7 +5888,7 @@ const deserializeAws_json1_1GenerateDataKeyResponse = (output, context) => {
|
|
|
5888
5888
|
CiphertextBlob: output.CiphertextBlob !== undefined && output.CiphertextBlob !== null
|
|
5889
5889
|
? context.base64Decoder(output.CiphertextBlob)
|
|
5890
5890
|
: undefined,
|
|
5891
|
-
KeyId:
|
|
5891
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
5892
5892
|
Plaintext: output.Plaintext !== undefined && output.Plaintext !== null ? context.base64Decoder(output.Plaintext) : undefined,
|
|
5893
5893
|
};
|
|
5894
5894
|
};
|
|
@@ -5897,7 +5897,7 @@ const deserializeAws_json1_1GenerateDataKeyWithoutPlaintextResponse = (output, c
|
|
|
5897
5897
|
CiphertextBlob: output.CiphertextBlob !== undefined && output.CiphertextBlob !== null
|
|
5898
5898
|
? context.base64Decoder(output.CiphertextBlob)
|
|
5899
5899
|
: undefined,
|
|
5900
|
-
KeyId:
|
|
5900
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
5901
5901
|
};
|
|
5902
5902
|
};
|
|
5903
5903
|
const deserializeAws_json1_1GenerateRandomResponse = (output, context) => {
|
|
@@ -5907,12 +5907,12 @@ const deserializeAws_json1_1GenerateRandomResponse = (output, context) => {
|
|
|
5907
5907
|
};
|
|
5908
5908
|
const deserializeAws_json1_1GetKeyPolicyResponse = (output, context) => {
|
|
5909
5909
|
return {
|
|
5910
|
-
Policy:
|
|
5910
|
+
Policy: smithy_client_1.expectString(output.Policy),
|
|
5911
5911
|
};
|
|
5912
5912
|
};
|
|
5913
5913
|
const deserializeAws_json1_1GetKeyRotationStatusResponse = (output, context) => {
|
|
5914
5914
|
return {
|
|
5915
|
-
KeyRotationEnabled:
|
|
5915
|
+
KeyRotationEnabled: smithy_client_1.expectBoolean(output.KeyRotationEnabled),
|
|
5916
5916
|
};
|
|
5917
5917
|
};
|
|
5918
5918
|
const deserializeAws_json1_1GetParametersForImportResponse = (output, context) => {
|
|
@@ -5920,22 +5920,22 @@ const deserializeAws_json1_1GetParametersForImportResponse = (output, context) =
|
|
|
5920
5920
|
ImportToken: output.ImportToken !== undefined && output.ImportToken !== null
|
|
5921
5921
|
? context.base64Decoder(output.ImportToken)
|
|
5922
5922
|
: undefined,
|
|
5923
|
-
KeyId:
|
|
5923
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
5924
5924
|
ParametersValidTo: output.ParametersValidTo !== undefined && output.ParametersValidTo !== null
|
|
5925
|
-
?
|
|
5925
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ParametersValidTo)))
|
|
5926
5926
|
: undefined,
|
|
5927
5927
|
PublicKey: output.PublicKey !== undefined && output.PublicKey !== null ? context.base64Decoder(output.PublicKey) : undefined,
|
|
5928
5928
|
};
|
|
5929
5929
|
};
|
|
5930
5930
|
const deserializeAws_json1_1GetPublicKeyResponse = (output, context) => {
|
|
5931
5931
|
return {
|
|
5932
|
-
CustomerMasterKeySpec:
|
|
5932
|
+
CustomerMasterKeySpec: smithy_client_1.expectString(output.CustomerMasterKeySpec),
|
|
5933
5933
|
EncryptionAlgorithms: output.EncryptionAlgorithms !== undefined && output.EncryptionAlgorithms !== null
|
|
5934
5934
|
? deserializeAws_json1_1EncryptionAlgorithmSpecList(output.EncryptionAlgorithms, context)
|
|
5935
5935
|
: undefined,
|
|
5936
|
-
KeyId:
|
|
5937
|
-
KeySpec:
|
|
5938
|
-
KeyUsage:
|
|
5936
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
5937
|
+
KeySpec: smithy_client_1.expectString(output.KeySpec),
|
|
5938
|
+
KeyUsage: smithy_client_1.expectString(output.KeyUsage),
|
|
5939
5939
|
PublicKey: output.PublicKey !== undefined && output.PublicKey !== null ? context.base64Decoder(output.PublicKey) : undefined,
|
|
5940
5940
|
SigningAlgorithms: output.SigningAlgorithms !== undefined && output.SigningAlgorithms !== null
|
|
5941
5941
|
? deserializeAws_json1_1SigningAlgorithmSpecList(output.SigningAlgorithms, context)
|
|
@@ -5968,17 +5968,17 @@ const deserializeAws_json1_1GrantListEntry = (output, context) => {
|
|
|
5968
5968
|
? deserializeAws_json1_1GrantConstraints(output.Constraints, context)
|
|
5969
5969
|
: undefined,
|
|
5970
5970
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
5971
|
-
?
|
|
5971
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
5972
5972
|
: undefined,
|
|
5973
|
-
GrantId:
|
|
5974
|
-
GranteePrincipal:
|
|
5975
|
-
IssuingAccount:
|
|
5976
|
-
KeyId:
|
|
5977
|
-
Name:
|
|
5973
|
+
GrantId: smithy_client_1.expectString(output.GrantId),
|
|
5974
|
+
GranteePrincipal: smithy_client_1.expectString(output.GranteePrincipal),
|
|
5975
|
+
IssuingAccount: smithy_client_1.expectString(output.IssuingAccount),
|
|
5976
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
5977
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5978
5978
|
Operations: output.Operations !== undefined && output.Operations !== null
|
|
5979
5979
|
? deserializeAws_json1_1GrantOperationList(output.Operations, context)
|
|
5980
5980
|
: undefined,
|
|
5981
|
-
RetiringPrincipal:
|
|
5981
|
+
RetiringPrincipal: smithy_client_1.expectString(output.RetiringPrincipal),
|
|
5982
5982
|
};
|
|
5983
5983
|
};
|
|
5984
5984
|
const deserializeAws_json1_1GrantOperationList = (output, context) => {
|
|
@@ -5988,7 +5988,7 @@ const deserializeAws_json1_1GrantOperationList = (output, context) => {
|
|
|
5988
5988
|
if (entry === null) {
|
|
5989
5989
|
return null;
|
|
5990
5990
|
}
|
|
5991
|
-
return
|
|
5991
|
+
return smithy_client_1.expectString(entry);
|
|
5992
5992
|
});
|
|
5993
5993
|
};
|
|
5994
5994
|
const deserializeAws_json1_1ImportKeyMaterialResponse = (output, context) => {
|
|
@@ -5996,57 +5996,57 @@ const deserializeAws_json1_1ImportKeyMaterialResponse = (output, context) => {
|
|
|
5996
5996
|
};
|
|
5997
5997
|
const deserializeAws_json1_1IncorrectKeyException = (output, context) => {
|
|
5998
5998
|
return {
|
|
5999
|
-
message:
|
|
5999
|
+
message: smithy_client_1.expectString(output.message),
|
|
6000
6000
|
};
|
|
6001
6001
|
};
|
|
6002
6002
|
const deserializeAws_json1_1IncorrectKeyMaterialException = (output, context) => {
|
|
6003
6003
|
return {
|
|
6004
|
-
message:
|
|
6004
|
+
message: smithy_client_1.expectString(output.message),
|
|
6005
6005
|
};
|
|
6006
6006
|
};
|
|
6007
6007
|
const deserializeAws_json1_1IncorrectTrustAnchorException = (output, context) => {
|
|
6008
6008
|
return {
|
|
6009
|
-
message:
|
|
6009
|
+
message: smithy_client_1.expectString(output.message),
|
|
6010
6010
|
};
|
|
6011
6011
|
};
|
|
6012
6012
|
const deserializeAws_json1_1InvalidAliasNameException = (output, context) => {
|
|
6013
6013
|
return {
|
|
6014
|
-
message:
|
|
6014
|
+
message: smithy_client_1.expectString(output.message),
|
|
6015
6015
|
};
|
|
6016
6016
|
};
|
|
6017
6017
|
const deserializeAws_json1_1InvalidArnException = (output, context) => {
|
|
6018
6018
|
return {
|
|
6019
|
-
message:
|
|
6019
|
+
message: smithy_client_1.expectString(output.message),
|
|
6020
6020
|
};
|
|
6021
6021
|
};
|
|
6022
6022
|
const deserializeAws_json1_1InvalidCiphertextException = (output, context) => {
|
|
6023
6023
|
return {
|
|
6024
|
-
message:
|
|
6024
|
+
message: smithy_client_1.expectString(output.message),
|
|
6025
6025
|
};
|
|
6026
6026
|
};
|
|
6027
6027
|
const deserializeAws_json1_1InvalidGrantIdException = (output, context) => {
|
|
6028
6028
|
return {
|
|
6029
|
-
message:
|
|
6029
|
+
message: smithy_client_1.expectString(output.message),
|
|
6030
6030
|
};
|
|
6031
6031
|
};
|
|
6032
6032
|
const deserializeAws_json1_1InvalidGrantTokenException = (output, context) => {
|
|
6033
6033
|
return {
|
|
6034
|
-
message:
|
|
6034
|
+
message: smithy_client_1.expectString(output.message),
|
|
6035
6035
|
};
|
|
6036
6036
|
};
|
|
6037
6037
|
const deserializeAws_json1_1InvalidImportTokenException = (output, context) => {
|
|
6038
6038
|
return {
|
|
6039
|
-
message:
|
|
6039
|
+
message: smithy_client_1.expectString(output.message),
|
|
6040
6040
|
};
|
|
6041
6041
|
};
|
|
6042
6042
|
const deserializeAws_json1_1InvalidKeyUsageException = (output, context) => {
|
|
6043
6043
|
return {
|
|
6044
|
-
message:
|
|
6044
|
+
message: smithy_client_1.expectString(output.message),
|
|
6045
6045
|
};
|
|
6046
6046
|
};
|
|
6047
6047
|
const deserializeAws_json1_1InvalidMarkerException = (output, context) => {
|
|
6048
6048
|
return {
|
|
6049
|
-
message:
|
|
6049
|
+
message: smithy_client_1.expectString(output.message),
|
|
6050
6050
|
};
|
|
6051
6051
|
};
|
|
6052
6052
|
const deserializeAws_json1_1KeyList = (output, context) => {
|
|
@@ -6061,71 +6061,71 @@ const deserializeAws_json1_1KeyList = (output, context) => {
|
|
|
6061
6061
|
};
|
|
6062
6062
|
const deserializeAws_json1_1KeyListEntry = (output, context) => {
|
|
6063
6063
|
return {
|
|
6064
|
-
KeyArn:
|
|
6065
|
-
KeyId:
|
|
6064
|
+
KeyArn: smithy_client_1.expectString(output.KeyArn),
|
|
6065
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
6066
6066
|
};
|
|
6067
6067
|
};
|
|
6068
6068
|
const deserializeAws_json1_1KeyMetadata = (output, context) => {
|
|
6069
6069
|
return {
|
|
6070
|
-
AWSAccountId:
|
|
6071
|
-
Arn:
|
|
6072
|
-
CloudHsmClusterId:
|
|
6070
|
+
AWSAccountId: smithy_client_1.expectString(output.AWSAccountId),
|
|
6071
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
6072
|
+
CloudHsmClusterId: smithy_client_1.expectString(output.CloudHsmClusterId),
|
|
6073
6073
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
6074
|
-
?
|
|
6074
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
6075
6075
|
: undefined,
|
|
6076
|
-
CustomKeyStoreId:
|
|
6077
|
-
CustomerMasterKeySpec:
|
|
6076
|
+
CustomKeyStoreId: smithy_client_1.expectString(output.CustomKeyStoreId),
|
|
6077
|
+
CustomerMasterKeySpec: smithy_client_1.expectString(output.CustomerMasterKeySpec),
|
|
6078
6078
|
DeletionDate: output.DeletionDate !== undefined && output.DeletionDate !== null
|
|
6079
|
-
?
|
|
6079
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletionDate)))
|
|
6080
6080
|
: undefined,
|
|
6081
|
-
Description:
|
|
6082
|
-
Enabled:
|
|
6081
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
6082
|
+
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
6083
6083
|
EncryptionAlgorithms: output.EncryptionAlgorithms !== undefined && output.EncryptionAlgorithms !== null
|
|
6084
6084
|
? deserializeAws_json1_1EncryptionAlgorithmSpecList(output.EncryptionAlgorithms, context)
|
|
6085
6085
|
: undefined,
|
|
6086
|
-
ExpirationModel:
|
|
6087
|
-
KeyId:
|
|
6088
|
-
KeyManager:
|
|
6089
|
-
KeySpec:
|
|
6090
|
-
KeyState:
|
|
6091
|
-
KeyUsage:
|
|
6092
|
-
MultiRegion:
|
|
6086
|
+
ExpirationModel: smithy_client_1.expectString(output.ExpirationModel),
|
|
6087
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
6088
|
+
KeyManager: smithy_client_1.expectString(output.KeyManager),
|
|
6089
|
+
KeySpec: smithy_client_1.expectString(output.KeySpec),
|
|
6090
|
+
KeyState: smithy_client_1.expectString(output.KeyState),
|
|
6091
|
+
KeyUsage: smithy_client_1.expectString(output.KeyUsage),
|
|
6092
|
+
MultiRegion: smithy_client_1.expectBoolean(output.MultiRegion),
|
|
6093
6093
|
MultiRegionConfiguration: output.MultiRegionConfiguration !== undefined && output.MultiRegionConfiguration !== null
|
|
6094
6094
|
? deserializeAws_json1_1MultiRegionConfiguration(output.MultiRegionConfiguration, context)
|
|
6095
6095
|
: undefined,
|
|
6096
|
-
Origin:
|
|
6097
|
-
PendingDeletionWindowInDays:
|
|
6096
|
+
Origin: smithy_client_1.expectString(output.Origin),
|
|
6097
|
+
PendingDeletionWindowInDays: smithy_client_1.expectInt32(output.PendingDeletionWindowInDays),
|
|
6098
6098
|
SigningAlgorithms: output.SigningAlgorithms !== undefined && output.SigningAlgorithms !== null
|
|
6099
6099
|
? deserializeAws_json1_1SigningAlgorithmSpecList(output.SigningAlgorithms, context)
|
|
6100
6100
|
: undefined,
|
|
6101
6101
|
ValidTo: output.ValidTo !== undefined && output.ValidTo !== null
|
|
6102
|
-
?
|
|
6102
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ValidTo)))
|
|
6103
6103
|
: undefined,
|
|
6104
6104
|
};
|
|
6105
6105
|
};
|
|
6106
6106
|
const deserializeAws_json1_1KeyUnavailableException = (output, context) => {
|
|
6107
6107
|
return {
|
|
6108
|
-
message:
|
|
6108
|
+
message: smithy_client_1.expectString(output.message),
|
|
6109
6109
|
};
|
|
6110
6110
|
};
|
|
6111
6111
|
const deserializeAws_json1_1KMSInternalException = (output, context) => {
|
|
6112
6112
|
return {
|
|
6113
|
-
message:
|
|
6113
|
+
message: smithy_client_1.expectString(output.message),
|
|
6114
6114
|
};
|
|
6115
6115
|
};
|
|
6116
6116
|
const deserializeAws_json1_1KMSInvalidSignatureException = (output, context) => {
|
|
6117
6117
|
return {
|
|
6118
|
-
message:
|
|
6118
|
+
message: smithy_client_1.expectString(output.message),
|
|
6119
6119
|
};
|
|
6120
6120
|
};
|
|
6121
6121
|
const deserializeAws_json1_1KMSInvalidStateException = (output, context) => {
|
|
6122
6122
|
return {
|
|
6123
|
-
message:
|
|
6123
|
+
message: smithy_client_1.expectString(output.message),
|
|
6124
6124
|
};
|
|
6125
6125
|
};
|
|
6126
6126
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
6127
6127
|
return {
|
|
6128
|
-
message:
|
|
6128
|
+
message: smithy_client_1.expectString(output.message),
|
|
6129
6129
|
};
|
|
6130
6130
|
};
|
|
6131
6131
|
const deserializeAws_json1_1ListAliasesResponse = (output, context) => {
|
|
@@ -6133,8 +6133,8 @@ const deserializeAws_json1_1ListAliasesResponse = (output, context) => {
|
|
|
6133
6133
|
Aliases: output.Aliases !== undefined && output.Aliases !== null
|
|
6134
6134
|
? deserializeAws_json1_1AliasList(output.Aliases, context)
|
|
6135
6135
|
: undefined,
|
|
6136
|
-
NextMarker:
|
|
6137
|
-
Truncated:
|
|
6136
|
+
NextMarker: smithy_client_1.expectString(output.NextMarker),
|
|
6137
|
+
Truncated: smithy_client_1.expectBoolean(output.Truncated),
|
|
6138
6138
|
};
|
|
6139
6139
|
};
|
|
6140
6140
|
const deserializeAws_json1_1ListGrantsResponse = (output, context) => {
|
|
@@ -6142,17 +6142,17 @@ const deserializeAws_json1_1ListGrantsResponse = (output, context) => {
|
|
|
6142
6142
|
Grants: output.Grants !== undefined && output.Grants !== null
|
|
6143
6143
|
? deserializeAws_json1_1GrantList(output.Grants, context)
|
|
6144
6144
|
: undefined,
|
|
6145
|
-
NextMarker:
|
|
6146
|
-
Truncated:
|
|
6145
|
+
NextMarker: smithy_client_1.expectString(output.NextMarker),
|
|
6146
|
+
Truncated: smithy_client_1.expectBoolean(output.Truncated),
|
|
6147
6147
|
};
|
|
6148
6148
|
};
|
|
6149
6149
|
const deserializeAws_json1_1ListKeyPoliciesResponse = (output, context) => {
|
|
6150
6150
|
return {
|
|
6151
|
-
NextMarker:
|
|
6151
|
+
NextMarker: smithy_client_1.expectString(output.NextMarker),
|
|
6152
6152
|
PolicyNames: output.PolicyNames !== undefined && output.PolicyNames !== null
|
|
6153
6153
|
? deserializeAws_json1_1PolicyNameList(output.PolicyNames, context)
|
|
6154
6154
|
: undefined,
|
|
6155
|
-
Truncated:
|
|
6155
|
+
Truncated: smithy_client_1.expectBoolean(output.Truncated),
|
|
6156
6156
|
};
|
|
6157
6157
|
};
|
|
6158
6158
|
const deserializeAws_json1_1ListKeysResponse = (output, context) => {
|
|
@@ -6160,27 +6160,27 @@ const deserializeAws_json1_1ListKeysResponse = (output, context) => {
|
|
|
6160
6160
|
Keys: output.Keys !== undefined && output.Keys !== null
|
|
6161
6161
|
? deserializeAws_json1_1KeyList(output.Keys, context)
|
|
6162
6162
|
: undefined,
|
|
6163
|
-
NextMarker:
|
|
6164
|
-
Truncated:
|
|
6163
|
+
NextMarker: smithy_client_1.expectString(output.NextMarker),
|
|
6164
|
+
Truncated: smithy_client_1.expectBoolean(output.Truncated),
|
|
6165
6165
|
};
|
|
6166
6166
|
};
|
|
6167
6167
|
const deserializeAws_json1_1ListResourceTagsResponse = (output, context) => {
|
|
6168
6168
|
return {
|
|
6169
|
-
NextMarker:
|
|
6169
|
+
NextMarker: smithy_client_1.expectString(output.NextMarker),
|
|
6170
6170
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
6171
6171
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
6172
6172
|
: undefined,
|
|
6173
|
-
Truncated:
|
|
6173
|
+
Truncated: smithy_client_1.expectBoolean(output.Truncated),
|
|
6174
6174
|
};
|
|
6175
6175
|
};
|
|
6176
6176
|
const deserializeAws_json1_1MalformedPolicyDocumentException = (output, context) => {
|
|
6177
6177
|
return {
|
|
6178
|
-
message:
|
|
6178
|
+
message: smithy_client_1.expectString(output.message),
|
|
6179
6179
|
};
|
|
6180
6180
|
};
|
|
6181
6181
|
const deserializeAws_json1_1MultiRegionConfiguration = (output, context) => {
|
|
6182
6182
|
return {
|
|
6183
|
-
MultiRegionKeyType:
|
|
6183
|
+
MultiRegionKeyType: smithy_client_1.expectString(output.MultiRegionKeyType),
|
|
6184
6184
|
PrimaryKey: output.PrimaryKey !== undefined && output.PrimaryKey !== null
|
|
6185
6185
|
? deserializeAws_json1_1MultiRegionKey(output.PrimaryKey, context)
|
|
6186
6186
|
: undefined,
|
|
@@ -6191,8 +6191,8 @@ const deserializeAws_json1_1MultiRegionConfiguration = (output, context) => {
|
|
|
6191
6191
|
};
|
|
6192
6192
|
const deserializeAws_json1_1MultiRegionKey = (output, context) => {
|
|
6193
6193
|
return {
|
|
6194
|
-
Arn:
|
|
6195
|
-
Region:
|
|
6194
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
6195
|
+
Region: smithy_client_1.expectString(output.Region),
|
|
6196
6196
|
};
|
|
6197
6197
|
};
|
|
6198
6198
|
const deserializeAws_json1_1MultiRegionKeyList = (output, context) => {
|
|
@@ -6207,7 +6207,7 @@ const deserializeAws_json1_1MultiRegionKeyList = (output, context) => {
|
|
|
6207
6207
|
};
|
|
6208
6208
|
const deserializeAws_json1_1NotFoundException = (output, context) => {
|
|
6209
6209
|
return {
|
|
6210
|
-
message:
|
|
6210
|
+
message: smithy_client_1.expectString(output.message),
|
|
6211
6211
|
};
|
|
6212
6212
|
};
|
|
6213
6213
|
const deserializeAws_json1_1PolicyNameList = (output, context) => {
|
|
@@ -6217,7 +6217,7 @@ const deserializeAws_json1_1PolicyNameList = (output, context) => {
|
|
|
6217
6217
|
if (entry === null) {
|
|
6218
6218
|
return null;
|
|
6219
6219
|
}
|
|
6220
|
-
return
|
|
6220
|
+
return smithy_client_1.expectString(entry);
|
|
6221
6221
|
});
|
|
6222
6222
|
};
|
|
6223
6223
|
const deserializeAws_json1_1ReEncryptResponse = (output, context) => {
|
|
@@ -6225,10 +6225,10 @@ const deserializeAws_json1_1ReEncryptResponse = (output, context) => {
|
|
|
6225
6225
|
CiphertextBlob: output.CiphertextBlob !== undefined && output.CiphertextBlob !== null
|
|
6226
6226
|
? context.base64Decoder(output.CiphertextBlob)
|
|
6227
6227
|
: undefined,
|
|
6228
|
-
DestinationEncryptionAlgorithm:
|
|
6229
|
-
KeyId:
|
|
6230
|
-
SourceEncryptionAlgorithm:
|
|
6231
|
-
SourceKeyId:
|
|
6228
|
+
DestinationEncryptionAlgorithm: smithy_client_1.expectString(output.DestinationEncryptionAlgorithm),
|
|
6229
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
6230
|
+
SourceEncryptionAlgorithm: smithy_client_1.expectString(output.SourceEncryptionAlgorithm),
|
|
6231
|
+
SourceKeyId: smithy_client_1.expectString(output.SourceKeyId),
|
|
6232
6232
|
};
|
|
6233
6233
|
};
|
|
6234
6234
|
const deserializeAws_json1_1ReplicateKeyResponse = (output, context) => {
|
|
@@ -6236,7 +6236,7 @@ const deserializeAws_json1_1ReplicateKeyResponse = (output, context) => {
|
|
|
6236
6236
|
ReplicaKeyMetadata: output.ReplicaKeyMetadata !== undefined && output.ReplicaKeyMetadata !== null
|
|
6237
6237
|
? deserializeAws_json1_1KeyMetadata(output.ReplicaKeyMetadata, context)
|
|
6238
6238
|
: undefined,
|
|
6239
|
-
ReplicaPolicy:
|
|
6239
|
+
ReplicaPolicy: smithy_client_1.expectString(output.ReplicaPolicy),
|
|
6240
6240
|
ReplicaTags: output.ReplicaTags !== undefined && output.ReplicaTags !== null
|
|
6241
6241
|
? deserializeAws_json1_1TagList(output.ReplicaTags, context)
|
|
6242
6242
|
: undefined,
|
|
@@ -6245,11 +6245,11 @@ const deserializeAws_json1_1ReplicateKeyResponse = (output, context) => {
|
|
|
6245
6245
|
const deserializeAws_json1_1ScheduleKeyDeletionResponse = (output, context) => {
|
|
6246
6246
|
return {
|
|
6247
6247
|
DeletionDate: output.DeletionDate !== undefined && output.DeletionDate !== null
|
|
6248
|
-
?
|
|
6248
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletionDate)))
|
|
6249
6249
|
: undefined,
|
|
6250
|
-
KeyId:
|
|
6251
|
-
KeyState:
|
|
6252
|
-
PendingWindowInDays:
|
|
6250
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
6251
|
+
KeyState: smithy_client_1.expectString(output.KeyState),
|
|
6252
|
+
PendingWindowInDays: smithy_client_1.expectInt32(output.PendingWindowInDays),
|
|
6253
6253
|
};
|
|
6254
6254
|
};
|
|
6255
6255
|
const deserializeAws_json1_1SigningAlgorithmSpecList = (output, context) => {
|
|
@@ -6259,25 +6259,25 @@ const deserializeAws_json1_1SigningAlgorithmSpecList = (output, context) => {
|
|
|
6259
6259
|
if (entry === null) {
|
|
6260
6260
|
return null;
|
|
6261
6261
|
}
|
|
6262
|
-
return
|
|
6262
|
+
return smithy_client_1.expectString(entry);
|
|
6263
6263
|
});
|
|
6264
6264
|
};
|
|
6265
6265
|
const deserializeAws_json1_1SignResponse = (output, context) => {
|
|
6266
6266
|
return {
|
|
6267
|
-
KeyId:
|
|
6267
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
6268
6268
|
Signature: output.Signature !== undefined && output.Signature !== null ? context.base64Decoder(output.Signature) : undefined,
|
|
6269
|
-
SigningAlgorithm:
|
|
6269
|
+
SigningAlgorithm: smithy_client_1.expectString(output.SigningAlgorithm),
|
|
6270
6270
|
};
|
|
6271
6271
|
};
|
|
6272
6272
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
6273
6273
|
return {
|
|
6274
|
-
TagKey:
|
|
6275
|
-
TagValue:
|
|
6274
|
+
TagKey: smithy_client_1.expectString(output.TagKey),
|
|
6275
|
+
TagValue: smithy_client_1.expectString(output.TagValue),
|
|
6276
6276
|
};
|
|
6277
6277
|
};
|
|
6278
6278
|
const deserializeAws_json1_1TagException = (output, context) => {
|
|
6279
6279
|
return {
|
|
6280
|
-
message:
|
|
6280
|
+
message: smithy_client_1.expectString(output.message),
|
|
6281
6281
|
};
|
|
6282
6282
|
};
|
|
6283
6283
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -6292,7 +6292,7 @@ const deserializeAws_json1_1TagList = (output, context) => {
|
|
|
6292
6292
|
};
|
|
6293
6293
|
const deserializeAws_json1_1UnsupportedOperationException = (output, context) => {
|
|
6294
6294
|
return {
|
|
6295
|
-
message:
|
|
6295
|
+
message: smithy_client_1.expectString(output.message),
|
|
6296
6296
|
};
|
|
6297
6297
|
};
|
|
6298
6298
|
const deserializeAws_json1_1UpdateCustomKeyStoreResponse = (output, context) => {
|
|
@@ -6300,9 +6300,9 @@ const deserializeAws_json1_1UpdateCustomKeyStoreResponse = (output, context) =>
|
|
|
6300
6300
|
};
|
|
6301
6301
|
const deserializeAws_json1_1VerifyResponse = (output, context) => {
|
|
6302
6302
|
return {
|
|
6303
|
-
KeyId:
|
|
6304
|
-
SignatureValid:
|
|
6305
|
-
SigningAlgorithm:
|
|
6303
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
6304
|
+
SignatureValid: smithy_client_1.expectBoolean(output.SignatureValid),
|
|
6305
|
+
SigningAlgorithm: smithy_client_1.expectString(output.SigningAlgorithm),
|
|
6306
6306
|
};
|
|
6307
6307
|
};
|
|
6308
6308
|
const deserializeMetadata = (output) => {
|