@aws-sdk/client-kms 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/KMSClient.js +13 -13
- package/dist-cjs/commands/CancelKeyDeletionCommand.js +3 -3
- package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +3 -3
- package/dist-cjs/commands/CreateAliasCommand.js +3 -3
- package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +3 -3
- package/dist-cjs/commands/CreateGrantCommand.js +3 -3
- package/dist-cjs/commands/CreateKeyCommand.js +3 -3
- package/dist-cjs/commands/DecryptCommand.js +3 -3
- package/dist-cjs/commands/DeleteAliasCommand.js +3 -3
- package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +3 -3
- package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +3 -3
- package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +3 -3
- package/dist-cjs/commands/DescribeKeyCommand.js +3 -3
- package/dist-cjs/commands/DisableKeyCommand.js +3 -3
- package/dist-cjs/commands/DisableKeyRotationCommand.js +3 -3
- package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +3 -3
- package/dist-cjs/commands/EnableKeyCommand.js +3 -3
- package/dist-cjs/commands/EnableKeyRotationCommand.js +3 -3
- package/dist-cjs/commands/EncryptCommand.js +3 -3
- package/dist-cjs/commands/GenerateDataKeyCommand.js +3 -3
- package/dist-cjs/commands/GenerateDataKeyPairCommand.js +3 -3
- package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +3 -3
- package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +3 -3
- package/dist-cjs/commands/GenerateRandomCommand.js +3 -3
- package/dist-cjs/commands/GetKeyPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetKeyRotationStatusCommand.js +3 -3
- package/dist-cjs/commands/GetParametersForImportCommand.js +3 -3
- package/dist-cjs/commands/GetPublicKeyCommand.js +3 -3
- package/dist-cjs/commands/ImportKeyMaterialCommand.js +3 -3
- package/dist-cjs/commands/ListAliasesCommand.js +3 -3
- package/dist-cjs/commands/ListGrantsCommand.js +3 -3
- package/dist-cjs/commands/ListKeyPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListKeysCommand.js +3 -3
- package/dist-cjs/commands/ListResourceTagsCommand.js +3 -3
- package/dist-cjs/commands/ListRetirableGrantsCommand.js +3 -3
- package/dist-cjs/commands/PutKeyPolicyCommand.js +3 -3
- package/dist-cjs/commands/ReEncryptCommand.js +3 -3
- package/dist-cjs/commands/ReplicateKeyCommand.js +3 -3
- package/dist-cjs/commands/RetireGrantCommand.js +3 -3
- package/dist-cjs/commands/RevokeGrantCommand.js +3 -3
- package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +3 -3
- package/dist-cjs/commands/SignCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAliasCommand.js +3 -3
- package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +3 -3
- package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +3 -3
- package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +3 -3
- package/dist-cjs/commands/VerifyCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +212 -212
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/KMS.js +48 -48
- package/dist-es/pagination/ListAliasesPaginator.js +4 -4
- package/dist-es/pagination/ListGrantsPaginator.js +4 -4
- package/dist-es/pagination/ListKeyPoliciesPaginator.js +4 -4
- package/dist-es/pagination/ListKeysPaginator.js +4 -4
- package/dist-types/KMSClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/KMSClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -531,7 +531,7 @@ const deserializeAws_json1_1CancelKeyDeletionCommandError = async (output, conte
|
|
|
531
531
|
$fault: "client",
|
|
532
532
|
$metadata: deserializeMetadata(output),
|
|
533
533
|
});
|
|
534
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
534
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
535
535
|
}
|
|
536
536
|
};
|
|
537
537
|
const deserializeAws_json1_1ConnectCustomKeyStoreCommand = async (output, context) => {
|
|
@@ -579,7 +579,7 @@ const deserializeAws_json1_1ConnectCustomKeyStoreCommandError = async (output, c
|
|
|
579
579
|
$fault: "client",
|
|
580
580
|
$metadata: deserializeMetadata(output),
|
|
581
581
|
});
|
|
582
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
582
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
583
583
|
}
|
|
584
584
|
};
|
|
585
585
|
const deserializeAws_json1_1CreateAliasCommand = async (output, context) => {
|
|
@@ -630,7 +630,7 @@ const deserializeAws_json1_1CreateAliasCommandError = async (output, context) =>
|
|
|
630
630
|
$fault: "client",
|
|
631
631
|
$metadata: deserializeMetadata(output),
|
|
632
632
|
});
|
|
633
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
633
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
634
634
|
}
|
|
635
635
|
};
|
|
636
636
|
const deserializeAws_json1_1CreateCustomKeyStoreCommand = async (output, context) => {
|
|
@@ -684,7 +684,7 @@ const deserializeAws_json1_1CreateCustomKeyStoreCommandError = async (output, co
|
|
|
684
684
|
$fault: "client",
|
|
685
685
|
$metadata: deserializeMetadata(output),
|
|
686
686
|
});
|
|
687
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
687
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
688
688
|
}
|
|
689
689
|
};
|
|
690
690
|
const deserializeAws_json1_1CreateGrantCommand = async (output, context) => {
|
|
@@ -741,7 +741,7 @@ const deserializeAws_json1_1CreateGrantCommandError = async (output, context) =>
|
|
|
741
741
|
$fault: "client",
|
|
742
742
|
$metadata: deserializeMetadata(output),
|
|
743
743
|
});
|
|
744
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
744
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
745
745
|
}
|
|
746
746
|
};
|
|
747
747
|
const deserializeAws_json1_1CreateKeyCommand = async (output, context) => {
|
|
@@ -804,7 +804,7 @@ const deserializeAws_json1_1CreateKeyCommandError = async (output, context) => {
|
|
|
804
804
|
$fault: "client",
|
|
805
805
|
$metadata: deserializeMetadata(output),
|
|
806
806
|
});
|
|
807
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
807
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
808
808
|
}
|
|
809
809
|
};
|
|
810
810
|
const deserializeAws_json1_1DecryptCommand = async (output, context) => {
|
|
@@ -867,7 +867,7 @@ const deserializeAws_json1_1DecryptCommandError = async (output, context) => {
|
|
|
867
867
|
$fault: "client",
|
|
868
868
|
$metadata: deserializeMetadata(output),
|
|
869
869
|
});
|
|
870
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
870
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
871
871
|
}
|
|
872
872
|
};
|
|
873
873
|
const deserializeAws_json1_1DeleteAliasCommand = async (output, context) => {
|
|
@@ -909,7 +909,7 @@ const deserializeAws_json1_1DeleteAliasCommandError = async (output, context) =>
|
|
|
909
909
|
$fault: "client",
|
|
910
910
|
$metadata: deserializeMetadata(output),
|
|
911
911
|
});
|
|
912
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
912
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
913
913
|
}
|
|
914
914
|
};
|
|
915
915
|
const deserializeAws_json1_1DeleteCustomKeyStoreCommand = async (output, context) => {
|
|
@@ -954,7 +954,7 @@ const deserializeAws_json1_1DeleteCustomKeyStoreCommandError = async (output, co
|
|
|
954
954
|
$fault: "client",
|
|
955
955
|
$metadata: deserializeMetadata(output),
|
|
956
956
|
});
|
|
957
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
957
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
958
958
|
}
|
|
959
959
|
};
|
|
960
960
|
const deserializeAws_json1_1DeleteImportedKeyMaterialCommand = async (output, context) => {
|
|
@@ -1002,7 +1002,7 @@ const deserializeAws_json1_1DeleteImportedKeyMaterialCommandError = async (outpu
|
|
|
1002
1002
|
$fault: "client",
|
|
1003
1003
|
$metadata: deserializeMetadata(output),
|
|
1004
1004
|
});
|
|
1005
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1005
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1006
1006
|
}
|
|
1007
1007
|
};
|
|
1008
1008
|
const deserializeAws_json1_1DescribeCustomKeyStoresCommand = async (output, context) => {
|
|
@@ -1044,7 +1044,7 @@ const deserializeAws_json1_1DescribeCustomKeyStoresCommandError = async (output,
|
|
|
1044
1044
|
$fault: "client",
|
|
1045
1045
|
$metadata: deserializeMetadata(output),
|
|
1046
1046
|
});
|
|
1047
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1047
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1048
1048
|
}
|
|
1049
1049
|
};
|
|
1050
1050
|
const deserializeAws_json1_1DescribeKeyCommand = async (output, context) => {
|
|
@@ -1089,7 +1089,7 @@ const deserializeAws_json1_1DescribeKeyCommandError = async (output, context) =>
|
|
|
1089
1089
|
$fault: "client",
|
|
1090
1090
|
$metadata: deserializeMetadata(output),
|
|
1091
1091
|
});
|
|
1092
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1092
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1093
1093
|
}
|
|
1094
1094
|
};
|
|
1095
1095
|
const deserializeAws_json1_1DisableKeyCommand = async (output, context) => {
|
|
@@ -1134,7 +1134,7 @@ const deserializeAws_json1_1DisableKeyCommandError = async (output, context) =>
|
|
|
1134
1134
|
$fault: "client",
|
|
1135
1135
|
$metadata: deserializeMetadata(output),
|
|
1136
1136
|
});
|
|
1137
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1137
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1138
1138
|
}
|
|
1139
1139
|
};
|
|
1140
1140
|
const deserializeAws_json1_1DisableKeyRotationCommand = async (output, context) => {
|
|
@@ -1185,7 +1185,7 @@ const deserializeAws_json1_1DisableKeyRotationCommandError = async (output, cont
|
|
|
1185
1185
|
$fault: "client",
|
|
1186
1186
|
$metadata: deserializeMetadata(output),
|
|
1187
1187
|
});
|
|
1188
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1188
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1189
1189
|
}
|
|
1190
1190
|
};
|
|
1191
1191
|
const deserializeAws_json1_1DisconnectCustomKeyStoreCommand = async (output, context) => {
|
|
@@ -1227,7 +1227,7 @@ const deserializeAws_json1_1DisconnectCustomKeyStoreCommandError = async (output
|
|
|
1227
1227
|
$fault: "client",
|
|
1228
1228
|
$metadata: deserializeMetadata(output),
|
|
1229
1229
|
});
|
|
1230
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1230
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1231
1231
|
}
|
|
1232
1232
|
};
|
|
1233
1233
|
const deserializeAws_json1_1EnableKeyCommand = async (output, context) => {
|
|
@@ -1275,7 +1275,7 @@ const deserializeAws_json1_1EnableKeyCommandError = async (output, context) => {
|
|
|
1275
1275
|
$fault: "client",
|
|
1276
1276
|
$metadata: deserializeMetadata(output),
|
|
1277
1277
|
});
|
|
1278
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1278
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1279
1279
|
}
|
|
1280
1280
|
};
|
|
1281
1281
|
const deserializeAws_json1_1EnableKeyRotationCommand = async (output, context) => {
|
|
@@ -1326,7 +1326,7 @@ const deserializeAws_json1_1EnableKeyRotationCommandError = async (output, conte
|
|
|
1326
1326
|
$fault: "client",
|
|
1327
1327
|
$metadata: deserializeMetadata(output),
|
|
1328
1328
|
});
|
|
1329
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1329
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1330
1330
|
}
|
|
1331
1331
|
};
|
|
1332
1332
|
const deserializeAws_json1_1EncryptCommand = async (output, context) => {
|
|
@@ -1383,7 +1383,7 @@ const deserializeAws_json1_1EncryptCommandError = async (output, context) => {
|
|
|
1383
1383
|
$fault: "client",
|
|
1384
1384
|
$metadata: deserializeMetadata(output),
|
|
1385
1385
|
});
|
|
1386
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1386
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1387
1387
|
}
|
|
1388
1388
|
};
|
|
1389
1389
|
const deserializeAws_json1_1GenerateDataKeyCommand = async (output, context) => {
|
|
@@ -1440,7 +1440,7 @@ const deserializeAws_json1_1GenerateDataKeyCommandError = async (output, context
|
|
|
1440
1440
|
$fault: "client",
|
|
1441
1441
|
$metadata: deserializeMetadata(output),
|
|
1442
1442
|
});
|
|
1443
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1443
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1444
1444
|
}
|
|
1445
1445
|
};
|
|
1446
1446
|
const deserializeAws_json1_1GenerateDataKeyPairCommand = async (output, context) => {
|
|
@@ -1500,7 +1500,7 @@ const deserializeAws_json1_1GenerateDataKeyPairCommandError = async (output, con
|
|
|
1500
1500
|
$fault: "client",
|
|
1501
1501
|
$metadata: deserializeMetadata(output),
|
|
1502
1502
|
});
|
|
1503
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1503
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1504
1504
|
}
|
|
1505
1505
|
};
|
|
1506
1506
|
const deserializeAws_json1_1GenerateDataKeyPairWithoutPlaintextCommand = async (output, context) => {
|
|
@@ -1560,7 +1560,7 @@ const deserializeAws_json1_1GenerateDataKeyPairWithoutPlaintextCommandError = as
|
|
|
1560
1560
|
$fault: "client",
|
|
1561
1561
|
$metadata: deserializeMetadata(output),
|
|
1562
1562
|
});
|
|
1563
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1563
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1564
1564
|
}
|
|
1565
1565
|
};
|
|
1566
1566
|
const deserializeAws_json1_1GenerateDataKeyWithoutPlaintextCommand = async (output, context) => {
|
|
@@ -1617,7 +1617,7 @@ const deserializeAws_json1_1GenerateDataKeyWithoutPlaintextCommandError = async
|
|
|
1617
1617
|
$fault: "client",
|
|
1618
1618
|
$metadata: deserializeMetadata(output),
|
|
1619
1619
|
});
|
|
1620
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1620
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1621
1621
|
}
|
|
1622
1622
|
};
|
|
1623
1623
|
const deserializeAws_json1_1GenerateRandomCommand = async (output, context) => {
|
|
@@ -1662,7 +1662,7 @@ const deserializeAws_json1_1GenerateRandomCommandError = async (output, context)
|
|
|
1662
1662
|
$fault: "client",
|
|
1663
1663
|
$metadata: deserializeMetadata(output),
|
|
1664
1664
|
});
|
|
1665
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1665
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1666
1666
|
}
|
|
1667
1667
|
};
|
|
1668
1668
|
const deserializeAws_json1_1GetKeyPolicyCommand = async (output, context) => {
|
|
@@ -1710,7 +1710,7 @@ const deserializeAws_json1_1GetKeyPolicyCommandError = async (output, context) =
|
|
|
1710
1710
|
$fault: "client",
|
|
1711
1711
|
$metadata: deserializeMetadata(output),
|
|
1712
1712
|
});
|
|
1713
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1713
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1714
1714
|
}
|
|
1715
1715
|
};
|
|
1716
1716
|
const deserializeAws_json1_1GetKeyRotationStatusCommand = async (output, context) => {
|
|
@@ -1761,7 +1761,7 @@ const deserializeAws_json1_1GetKeyRotationStatusCommandError = async (output, co
|
|
|
1761
1761
|
$fault: "client",
|
|
1762
1762
|
$metadata: deserializeMetadata(output),
|
|
1763
1763
|
});
|
|
1764
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1764
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1765
1765
|
}
|
|
1766
1766
|
};
|
|
1767
1767
|
const deserializeAws_json1_1GetParametersForImportCommand = async (output, context) => {
|
|
@@ -1812,7 +1812,7 @@ const deserializeAws_json1_1GetParametersForImportCommandError = async (output,
|
|
|
1812
1812
|
$fault: "client",
|
|
1813
1813
|
$metadata: deserializeMetadata(output),
|
|
1814
1814
|
});
|
|
1815
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1815
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1816
1816
|
}
|
|
1817
1817
|
};
|
|
1818
1818
|
const deserializeAws_json1_1GetPublicKeyCommand = async (output, context) => {
|
|
@@ -1875,7 +1875,7 @@ const deserializeAws_json1_1GetPublicKeyCommandError = async (output, context) =
|
|
|
1875
1875
|
$fault: "client",
|
|
1876
1876
|
$metadata: deserializeMetadata(output),
|
|
1877
1877
|
});
|
|
1878
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1878
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1879
1879
|
}
|
|
1880
1880
|
};
|
|
1881
1881
|
const deserializeAws_json1_1ImportKeyMaterialCommand = async (output, context) => {
|
|
@@ -1938,7 +1938,7 @@ const deserializeAws_json1_1ImportKeyMaterialCommandError = async (output, conte
|
|
|
1938
1938
|
$fault: "client",
|
|
1939
1939
|
$metadata: deserializeMetadata(output),
|
|
1940
1940
|
});
|
|
1941
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1941
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1942
1942
|
}
|
|
1943
1943
|
};
|
|
1944
1944
|
const deserializeAws_json1_1ListAliasesCommand = async (output, context) => {
|
|
@@ -1986,7 +1986,7 @@ const deserializeAws_json1_1ListAliasesCommandError = async (output, context) =>
|
|
|
1986
1986
|
$fault: "client",
|
|
1987
1987
|
$metadata: deserializeMetadata(output),
|
|
1988
1988
|
});
|
|
1989
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1989
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1990
1990
|
}
|
|
1991
1991
|
};
|
|
1992
1992
|
const deserializeAws_json1_1ListGrantsCommand = async (output, context) => {
|
|
@@ -2040,7 +2040,7 @@ const deserializeAws_json1_1ListGrantsCommandError = async (output, context) =>
|
|
|
2040
2040
|
$fault: "client",
|
|
2041
2041
|
$metadata: deserializeMetadata(output),
|
|
2042
2042
|
});
|
|
2043
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2043
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2044
2044
|
}
|
|
2045
2045
|
};
|
|
2046
2046
|
const deserializeAws_json1_1ListKeyPoliciesCommand = async (output, context) => {
|
|
@@ -2088,7 +2088,7 @@ const deserializeAws_json1_1ListKeyPoliciesCommandError = async (output, context
|
|
|
2088
2088
|
$fault: "client",
|
|
2089
2089
|
$metadata: deserializeMetadata(output),
|
|
2090
2090
|
});
|
|
2091
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2091
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2092
2092
|
}
|
|
2093
2093
|
};
|
|
2094
2094
|
const deserializeAws_json1_1ListKeysCommand = async (output, context) => {
|
|
@@ -2130,7 +2130,7 @@ const deserializeAws_json1_1ListKeysCommandError = async (output, context) => {
|
|
|
2130
2130
|
$fault: "client",
|
|
2131
2131
|
$metadata: deserializeMetadata(output),
|
|
2132
2132
|
});
|
|
2133
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2133
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2134
2134
|
}
|
|
2135
2135
|
};
|
|
2136
2136
|
const deserializeAws_json1_1ListResourceTagsCommand = async (output, context) => {
|
|
@@ -2175,7 +2175,7 @@ const deserializeAws_json1_1ListResourceTagsCommandError = async (output, contex
|
|
|
2175
2175
|
$fault: "client",
|
|
2176
2176
|
$metadata: deserializeMetadata(output),
|
|
2177
2177
|
});
|
|
2178
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2178
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2179
2179
|
}
|
|
2180
2180
|
};
|
|
2181
2181
|
const deserializeAws_json1_1ListRetirableGrantsCommand = async (output, context) => {
|
|
@@ -2223,7 +2223,7 @@ const deserializeAws_json1_1ListRetirableGrantsCommandError = async (output, con
|
|
|
2223
2223
|
$fault: "client",
|
|
2224
2224
|
$metadata: deserializeMetadata(output),
|
|
2225
2225
|
});
|
|
2226
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2226
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2227
2227
|
}
|
|
2228
2228
|
};
|
|
2229
2229
|
const deserializeAws_json1_1PutKeyPolicyCommand = async (output, context) => {
|
|
@@ -2277,7 +2277,7 @@ const deserializeAws_json1_1PutKeyPolicyCommandError = async (output, context) =
|
|
|
2277
2277
|
$fault: "client",
|
|
2278
2278
|
$metadata: deserializeMetadata(output),
|
|
2279
2279
|
});
|
|
2280
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2280
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2281
2281
|
}
|
|
2282
2282
|
};
|
|
2283
2283
|
const deserializeAws_json1_1ReEncryptCommand = async (output, context) => {
|
|
@@ -2340,7 +2340,7 @@ const deserializeAws_json1_1ReEncryptCommandError = async (output, context) => {
|
|
|
2340
2340
|
$fault: "client",
|
|
2341
2341
|
$metadata: deserializeMetadata(output),
|
|
2342
2342
|
});
|
|
2343
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2343
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2344
2344
|
}
|
|
2345
2345
|
};
|
|
2346
2346
|
const deserializeAws_json1_1ReplicateKeyCommand = async (output, context) => {
|
|
@@ -2403,7 +2403,7 @@ const deserializeAws_json1_1ReplicateKeyCommandError = async (output, context) =
|
|
|
2403
2403
|
$fault: "client",
|
|
2404
2404
|
$metadata: deserializeMetadata(output),
|
|
2405
2405
|
});
|
|
2406
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2406
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2407
2407
|
}
|
|
2408
2408
|
};
|
|
2409
2409
|
const deserializeAws_json1_1RetireGrantCommand = async (output, context) => {
|
|
@@ -2454,7 +2454,7 @@ const deserializeAws_json1_1RetireGrantCommandError = async (output, context) =>
|
|
|
2454
2454
|
$fault: "client",
|
|
2455
2455
|
$metadata: deserializeMetadata(output),
|
|
2456
2456
|
});
|
|
2457
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2457
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2458
2458
|
}
|
|
2459
2459
|
};
|
|
2460
2460
|
const deserializeAws_json1_1RevokeGrantCommand = async (output, context) => {
|
|
@@ -2502,7 +2502,7 @@ const deserializeAws_json1_1RevokeGrantCommandError = async (output, context) =>
|
|
|
2502
2502
|
$fault: "client",
|
|
2503
2503
|
$metadata: deserializeMetadata(output),
|
|
2504
2504
|
});
|
|
2505
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2505
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2506
2506
|
}
|
|
2507
2507
|
};
|
|
2508
2508
|
const deserializeAws_json1_1ScheduleKeyDeletionCommand = async (output, context) => {
|
|
@@ -2550,7 +2550,7 @@ const deserializeAws_json1_1ScheduleKeyDeletionCommandError = async (output, con
|
|
|
2550
2550
|
$fault: "client",
|
|
2551
2551
|
$metadata: deserializeMetadata(output),
|
|
2552
2552
|
});
|
|
2553
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2553
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2554
2554
|
}
|
|
2555
2555
|
};
|
|
2556
2556
|
const deserializeAws_json1_1SignCommand = async (output, context) => {
|
|
@@ -2607,7 +2607,7 @@ const deserializeAws_json1_1SignCommandError = async (output, context) => {
|
|
|
2607
2607
|
$fault: "client",
|
|
2608
2608
|
$metadata: deserializeMetadata(output),
|
|
2609
2609
|
});
|
|
2610
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2610
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2611
2611
|
}
|
|
2612
2612
|
};
|
|
2613
2613
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -2655,7 +2655,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2655
2655
|
$fault: "client",
|
|
2656
2656
|
$metadata: deserializeMetadata(output),
|
|
2657
2657
|
});
|
|
2658
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2658
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2659
2659
|
}
|
|
2660
2660
|
};
|
|
2661
2661
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -2700,7 +2700,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2700
2700
|
$fault: "client",
|
|
2701
2701
|
$metadata: deserializeMetadata(output),
|
|
2702
2702
|
});
|
|
2703
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2703
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2704
2704
|
}
|
|
2705
2705
|
};
|
|
2706
2706
|
const deserializeAws_json1_1UpdateAliasCommand = async (output, context) => {
|
|
@@ -2745,7 +2745,7 @@ const deserializeAws_json1_1UpdateAliasCommandError = async (output, context) =>
|
|
|
2745
2745
|
$fault: "client",
|
|
2746
2746
|
$metadata: deserializeMetadata(output),
|
|
2747
2747
|
});
|
|
2748
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2748
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2749
2749
|
}
|
|
2750
2750
|
};
|
|
2751
2751
|
const deserializeAws_json1_1UpdateCustomKeyStoreCommand = async (output, context) => {
|
|
@@ -2802,7 +2802,7 @@ const deserializeAws_json1_1UpdateCustomKeyStoreCommandError = async (output, co
|
|
|
2802
2802
|
$fault: "client",
|
|
2803
2803
|
$metadata: deserializeMetadata(output),
|
|
2804
2804
|
});
|
|
2805
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2805
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2806
2806
|
}
|
|
2807
2807
|
};
|
|
2808
2808
|
const deserializeAws_json1_1UpdateKeyDescriptionCommand = async (output, context) => {
|
|
@@ -2847,7 +2847,7 @@ const deserializeAws_json1_1UpdateKeyDescriptionCommandError = async (output, co
|
|
|
2847
2847
|
$fault: "client",
|
|
2848
2848
|
$metadata: deserializeMetadata(output),
|
|
2849
2849
|
});
|
|
2850
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2850
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2851
2851
|
}
|
|
2852
2852
|
};
|
|
2853
2853
|
const deserializeAws_json1_1UpdatePrimaryRegionCommand = async (output, context) => {
|
|
@@ -2895,7 +2895,7 @@ const deserializeAws_json1_1UpdatePrimaryRegionCommandError = async (output, con
|
|
|
2895
2895
|
$fault: "client",
|
|
2896
2896
|
$metadata: deserializeMetadata(output),
|
|
2897
2897
|
});
|
|
2898
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2898
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2899
2899
|
}
|
|
2900
2900
|
};
|
|
2901
2901
|
const deserializeAws_json1_1VerifyCommand = async (output, context) => {
|
|
@@ -2955,7 +2955,7 @@ const deserializeAws_json1_1VerifyCommandError = async (output, context) => {
|
|
|
2955
2955
|
$fault: "client",
|
|
2956
2956
|
$metadata: deserializeMetadata(output),
|
|
2957
2957
|
});
|
|
2958
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2958
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2959
2959
|
}
|
|
2960
2960
|
};
|
|
2961
2961
|
const deserializeAws_json1_1AlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -2965,7 +2965,7 @@ const deserializeAws_json1_1AlreadyExistsExceptionResponse = async (parsedOutput
|
|
|
2965
2965
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2966
2966
|
...deserialized,
|
|
2967
2967
|
});
|
|
2968
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2968
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2969
2969
|
};
|
|
2970
2970
|
const deserializeAws_json1_1CloudHsmClusterInUseExceptionResponse = async (parsedOutput, context) => {
|
|
2971
2971
|
const body = parsedOutput.body;
|
|
@@ -2974,7 +2974,7 @@ const deserializeAws_json1_1CloudHsmClusterInUseExceptionResponse = async (parse
|
|
|
2974
2974
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2975
2975
|
...deserialized,
|
|
2976
2976
|
});
|
|
2977
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2977
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2978
2978
|
};
|
|
2979
2979
|
const deserializeAws_json1_1CloudHsmClusterInvalidConfigurationExceptionResponse = async (parsedOutput, context) => {
|
|
2980
2980
|
const body = parsedOutput.body;
|
|
@@ -2983,7 +2983,7 @@ const deserializeAws_json1_1CloudHsmClusterInvalidConfigurationExceptionResponse
|
|
|
2983
2983
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2984
2984
|
...deserialized,
|
|
2985
2985
|
});
|
|
2986
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2986
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2987
2987
|
};
|
|
2988
2988
|
const deserializeAws_json1_1CloudHsmClusterNotActiveExceptionResponse = async (parsedOutput, context) => {
|
|
2989
2989
|
const body = parsedOutput.body;
|
|
@@ -2992,7 +2992,7 @@ const deserializeAws_json1_1CloudHsmClusterNotActiveExceptionResponse = async (p
|
|
|
2992
2992
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2993
2993
|
...deserialized,
|
|
2994
2994
|
});
|
|
2995
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2995
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2996
2996
|
};
|
|
2997
2997
|
const deserializeAws_json1_1CloudHsmClusterNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
2998
2998
|
const body = parsedOutput.body;
|
|
@@ -3001,7 +3001,7 @@ const deserializeAws_json1_1CloudHsmClusterNotFoundExceptionResponse = async (pa
|
|
|
3001
3001
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3002
3002
|
...deserialized,
|
|
3003
3003
|
});
|
|
3004
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3004
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3005
3005
|
};
|
|
3006
3006
|
const deserializeAws_json1_1CloudHsmClusterNotRelatedExceptionResponse = async (parsedOutput, context) => {
|
|
3007
3007
|
const body = parsedOutput.body;
|
|
@@ -3010,7 +3010,7 @@ const deserializeAws_json1_1CloudHsmClusterNotRelatedExceptionResponse = async (
|
|
|
3010
3010
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3011
3011
|
...deserialized,
|
|
3012
3012
|
});
|
|
3013
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3013
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3014
3014
|
};
|
|
3015
3015
|
const deserializeAws_json1_1CustomKeyStoreHasCMKsExceptionResponse = async (parsedOutput, context) => {
|
|
3016
3016
|
const body = parsedOutput.body;
|
|
@@ -3019,7 +3019,7 @@ const deserializeAws_json1_1CustomKeyStoreHasCMKsExceptionResponse = async (pars
|
|
|
3019
3019
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3020
3020
|
...deserialized,
|
|
3021
3021
|
});
|
|
3022
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3022
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3023
3023
|
};
|
|
3024
3024
|
const deserializeAws_json1_1CustomKeyStoreInvalidStateExceptionResponse = async (parsedOutput, context) => {
|
|
3025
3025
|
const body = parsedOutput.body;
|
|
@@ -3028,7 +3028,7 @@ const deserializeAws_json1_1CustomKeyStoreInvalidStateExceptionResponse = async
|
|
|
3028
3028
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3029
3029
|
...deserialized,
|
|
3030
3030
|
});
|
|
3031
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3031
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3032
3032
|
};
|
|
3033
3033
|
const deserializeAws_json1_1CustomKeyStoreNameInUseExceptionResponse = async (parsedOutput, context) => {
|
|
3034
3034
|
const body = parsedOutput.body;
|
|
@@ -3037,7 +3037,7 @@ const deserializeAws_json1_1CustomKeyStoreNameInUseExceptionResponse = async (pa
|
|
|
3037
3037
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3038
3038
|
...deserialized,
|
|
3039
3039
|
});
|
|
3040
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3040
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3041
3041
|
};
|
|
3042
3042
|
const deserializeAws_json1_1CustomKeyStoreNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3043
3043
|
const body = parsedOutput.body;
|
|
@@ -3046,7 +3046,7 @@ const deserializeAws_json1_1CustomKeyStoreNotFoundExceptionResponse = async (par
|
|
|
3046
3046
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3047
3047
|
...deserialized,
|
|
3048
3048
|
});
|
|
3049
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3049
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3050
3050
|
};
|
|
3051
3051
|
const deserializeAws_json1_1DependencyTimeoutExceptionResponse = async (parsedOutput, context) => {
|
|
3052
3052
|
const body = parsedOutput.body;
|
|
@@ -3055,7 +3055,7 @@ const deserializeAws_json1_1DependencyTimeoutExceptionResponse = async (parsedOu
|
|
|
3055
3055
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3056
3056
|
...deserialized,
|
|
3057
3057
|
});
|
|
3058
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3058
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3059
3059
|
};
|
|
3060
3060
|
const deserializeAws_json1_1DisabledExceptionResponse = async (parsedOutput, context) => {
|
|
3061
3061
|
const body = parsedOutput.body;
|
|
@@ -3064,7 +3064,7 @@ const deserializeAws_json1_1DisabledExceptionResponse = async (parsedOutput, con
|
|
|
3064
3064
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3065
3065
|
...deserialized,
|
|
3066
3066
|
});
|
|
3067
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3067
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3068
3068
|
};
|
|
3069
3069
|
const deserializeAws_json1_1ExpiredImportTokenExceptionResponse = async (parsedOutput, context) => {
|
|
3070
3070
|
const body = parsedOutput.body;
|
|
@@ -3073,7 +3073,7 @@ const deserializeAws_json1_1ExpiredImportTokenExceptionResponse = async (parsedO
|
|
|
3073
3073
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3074
3074
|
...deserialized,
|
|
3075
3075
|
});
|
|
3076
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3076
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3077
3077
|
};
|
|
3078
3078
|
const deserializeAws_json1_1IncorrectKeyExceptionResponse = async (parsedOutput, context) => {
|
|
3079
3079
|
const body = parsedOutput.body;
|
|
@@ -3082,7 +3082,7 @@ const deserializeAws_json1_1IncorrectKeyExceptionResponse = async (parsedOutput,
|
|
|
3082
3082
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3083
3083
|
...deserialized,
|
|
3084
3084
|
});
|
|
3085
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3085
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3086
3086
|
};
|
|
3087
3087
|
const deserializeAws_json1_1IncorrectKeyMaterialExceptionResponse = async (parsedOutput, context) => {
|
|
3088
3088
|
const body = parsedOutput.body;
|
|
@@ -3091,7 +3091,7 @@ const deserializeAws_json1_1IncorrectKeyMaterialExceptionResponse = async (parse
|
|
|
3091
3091
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3092
3092
|
...deserialized,
|
|
3093
3093
|
});
|
|
3094
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3094
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3095
3095
|
};
|
|
3096
3096
|
const deserializeAws_json1_1IncorrectTrustAnchorExceptionResponse = async (parsedOutput, context) => {
|
|
3097
3097
|
const body = parsedOutput.body;
|
|
@@ -3100,7 +3100,7 @@ const deserializeAws_json1_1IncorrectTrustAnchorExceptionResponse = async (parse
|
|
|
3100
3100
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3101
3101
|
...deserialized,
|
|
3102
3102
|
});
|
|
3103
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3103
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3104
3104
|
};
|
|
3105
3105
|
const deserializeAws_json1_1InvalidAliasNameExceptionResponse = async (parsedOutput, context) => {
|
|
3106
3106
|
const body = parsedOutput.body;
|
|
@@ -3109,7 +3109,7 @@ const deserializeAws_json1_1InvalidAliasNameExceptionResponse = async (parsedOut
|
|
|
3109
3109
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3110
3110
|
...deserialized,
|
|
3111
3111
|
});
|
|
3112
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3112
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3113
3113
|
};
|
|
3114
3114
|
const deserializeAws_json1_1InvalidArnExceptionResponse = async (parsedOutput, context) => {
|
|
3115
3115
|
const body = parsedOutput.body;
|
|
@@ -3118,7 +3118,7 @@ const deserializeAws_json1_1InvalidArnExceptionResponse = async (parsedOutput, c
|
|
|
3118
3118
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3119
3119
|
...deserialized,
|
|
3120
3120
|
});
|
|
3121
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3121
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3122
3122
|
};
|
|
3123
3123
|
const deserializeAws_json1_1InvalidCiphertextExceptionResponse = async (parsedOutput, context) => {
|
|
3124
3124
|
const body = parsedOutput.body;
|
|
@@ -3127,7 +3127,7 @@ const deserializeAws_json1_1InvalidCiphertextExceptionResponse = async (parsedOu
|
|
|
3127
3127
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3128
3128
|
...deserialized,
|
|
3129
3129
|
});
|
|
3130
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3130
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3131
3131
|
};
|
|
3132
3132
|
const deserializeAws_json1_1InvalidGrantIdExceptionResponse = async (parsedOutput, context) => {
|
|
3133
3133
|
const body = parsedOutput.body;
|
|
@@ -3136,7 +3136,7 @@ const deserializeAws_json1_1InvalidGrantIdExceptionResponse = async (parsedOutpu
|
|
|
3136
3136
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3137
3137
|
...deserialized,
|
|
3138
3138
|
});
|
|
3139
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3139
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3140
3140
|
};
|
|
3141
3141
|
const deserializeAws_json1_1InvalidGrantTokenExceptionResponse = async (parsedOutput, context) => {
|
|
3142
3142
|
const body = parsedOutput.body;
|
|
@@ -3145,7 +3145,7 @@ const deserializeAws_json1_1InvalidGrantTokenExceptionResponse = async (parsedOu
|
|
|
3145
3145
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3146
3146
|
...deserialized,
|
|
3147
3147
|
});
|
|
3148
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3148
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3149
3149
|
};
|
|
3150
3150
|
const deserializeAws_json1_1InvalidImportTokenExceptionResponse = async (parsedOutput, context) => {
|
|
3151
3151
|
const body = parsedOutput.body;
|
|
@@ -3154,7 +3154,7 @@ const deserializeAws_json1_1InvalidImportTokenExceptionResponse = async (parsedO
|
|
|
3154
3154
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3155
3155
|
...deserialized,
|
|
3156
3156
|
});
|
|
3157
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3157
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3158
3158
|
};
|
|
3159
3159
|
const deserializeAws_json1_1InvalidKeyUsageExceptionResponse = async (parsedOutput, context) => {
|
|
3160
3160
|
const body = parsedOutput.body;
|
|
@@ -3163,7 +3163,7 @@ const deserializeAws_json1_1InvalidKeyUsageExceptionResponse = async (parsedOutp
|
|
|
3163
3163
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3164
3164
|
...deserialized,
|
|
3165
3165
|
});
|
|
3166
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3166
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3167
3167
|
};
|
|
3168
3168
|
const deserializeAws_json1_1InvalidMarkerExceptionResponse = async (parsedOutput, context) => {
|
|
3169
3169
|
const body = parsedOutput.body;
|
|
@@ -3172,7 +3172,7 @@ const deserializeAws_json1_1InvalidMarkerExceptionResponse = async (parsedOutput
|
|
|
3172
3172
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3173
3173
|
...deserialized,
|
|
3174
3174
|
});
|
|
3175
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3175
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3176
3176
|
};
|
|
3177
3177
|
const deserializeAws_json1_1KeyUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
3178
3178
|
const body = parsedOutput.body;
|
|
@@ -3181,7 +3181,7 @@ const deserializeAws_json1_1KeyUnavailableExceptionResponse = async (parsedOutpu
|
|
|
3181
3181
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3182
3182
|
...deserialized,
|
|
3183
3183
|
});
|
|
3184
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3184
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3185
3185
|
};
|
|
3186
3186
|
const deserializeAws_json1_1KMSInternalExceptionResponse = async (parsedOutput, context) => {
|
|
3187
3187
|
const body = parsedOutput.body;
|
|
@@ -3190,7 +3190,7 @@ const deserializeAws_json1_1KMSInternalExceptionResponse = async (parsedOutput,
|
|
|
3190
3190
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3191
3191
|
...deserialized,
|
|
3192
3192
|
});
|
|
3193
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3193
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3194
3194
|
};
|
|
3195
3195
|
const deserializeAws_json1_1KMSInvalidSignatureExceptionResponse = async (parsedOutput, context) => {
|
|
3196
3196
|
const body = parsedOutput.body;
|
|
@@ -3199,7 +3199,7 @@ const deserializeAws_json1_1KMSInvalidSignatureExceptionResponse = async (parsed
|
|
|
3199
3199
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3200
3200
|
...deserialized,
|
|
3201
3201
|
});
|
|
3202
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3202
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3203
3203
|
};
|
|
3204
3204
|
const deserializeAws_json1_1KMSInvalidStateExceptionResponse = async (parsedOutput, context) => {
|
|
3205
3205
|
const body = parsedOutput.body;
|
|
@@ -3208,7 +3208,7 @@ const deserializeAws_json1_1KMSInvalidStateExceptionResponse = async (parsedOutp
|
|
|
3208
3208
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3209
3209
|
...deserialized,
|
|
3210
3210
|
});
|
|
3211
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3211
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3212
3212
|
};
|
|
3213
3213
|
const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
3214
3214
|
const body = parsedOutput.body;
|
|
@@ -3217,7 +3217,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
|
|
|
3217
3217
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3218
3218
|
...deserialized,
|
|
3219
3219
|
});
|
|
3220
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3220
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3221
3221
|
};
|
|
3222
3222
|
const deserializeAws_json1_1MalformedPolicyDocumentExceptionResponse = async (parsedOutput, context) => {
|
|
3223
3223
|
const body = parsedOutput.body;
|
|
@@ -3226,7 +3226,7 @@ const deserializeAws_json1_1MalformedPolicyDocumentExceptionResponse = async (pa
|
|
|
3226
3226
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3227
3227
|
...deserialized,
|
|
3228
3228
|
});
|
|
3229
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3229
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3230
3230
|
};
|
|
3231
3231
|
const deserializeAws_json1_1NotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3232
3232
|
const body = parsedOutput.body;
|
|
@@ -3235,7 +3235,7 @@ const deserializeAws_json1_1NotFoundExceptionResponse = async (parsedOutput, con
|
|
|
3235
3235
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3236
3236
|
...deserialized,
|
|
3237
3237
|
});
|
|
3238
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3238
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3239
3239
|
};
|
|
3240
3240
|
const deserializeAws_json1_1TagExceptionResponse = async (parsedOutput, context) => {
|
|
3241
3241
|
const body = parsedOutput.body;
|
|
@@ -3244,7 +3244,7 @@ const deserializeAws_json1_1TagExceptionResponse = async (parsedOutput, context)
|
|
|
3244
3244
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3245
3245
|
...deserialized,
|
|
3246
3246
|
});
|
|
3247
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3247
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3248
3248
|
};
|
|
3249
3249
|
const deserializeAws_json1_1UnsupportedOperationExceptionResponse = async (parsedOutput, context) => {
|
|
3250
3250
|
const body = parsedOutput.body;
|
|
@@ -3253,7 +3253,7 @@ const deserializeAws_json1_1UnsupportedOperationExceptionResponse = async (parse
|
|
|
3253
3253
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3254
3254
|
...deserialized,
|
|
3255
3255
|
});
|
|
3256
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3256
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3257
3257
|
};
|
|
3258
3258
|
const serializeAws_json1_1CancelKeyDeletionRequest = (input, context) => {
|
|
3259
3259
|
return {
|
|
@@ -3770,50 +3770,50 @@ const deserializeAws_json1_1AliasList = (output, context) => {
|
|
|
3770
3770
|
};
|
|
3771
3771
|
const deserializeAws_json1_1AliasListEntry = (output, context) => {
|
|
3772
3772
|
return {
|
|
3773
|
-
AliasArn: smithy_client_1.expectString(output.AliasArn),
|
|
3774
|
-
AliasName: smithy_client_1.expectString(output.AliasName),
|
|
3773
|
+
AliasArn: (0, smithy_client_1.expectString)(output.AliasArn),
|
|
3774
|
+
AliasName: (0, smithy_client_1.expectString)(output.AliasName),
|
|
3775
3775
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3776
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
3776
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
3777
3777
|
: undefined,
|
|
3778
3778
|
LastUpdatedDate: output.LastUpdatedDate !== undefined && output.LastUpdatedDate !== null
|
|
3779
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedDate)))
|
|
3779
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedDate)))
|
|
3780
3780
|
: undefined,
|
|
3781
|
-
TargetKeyId: smithy_client_1.expectString(output.TargetKeyId),
|
|
3781
|
+
TargetKeyId: (0, smithy_client_1.expectString)(output.TargetKeyId),
|
|
3782
3782
|
};
|
|
3783
3783
|
};
|
|
3784
3784
|
const deserializeAws_json1_1AlreadyExistsException = (output, context) => {
|
|
3785
3785
|
return {
|
|
3786
|
-
message: smithy_client_1.expectString(output.message),
|
|
3786
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3787
3787
|
};
|
|
3788
3788
|
};
|
|
3789
3789
|
const deserializeAws_json1_1CancelKeyDeletionResponse = (output, context) => {
|
|
3790
3790
|
return {
|
|
3791
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
3791
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
3792
3792
|
};
|
|
3793
3793
|
};
|
|
3794
3794
|
const deserializeAws_json1_1CloudHsmClusterInUseException = (output, context) => {
|
|
3795
3795
|
return {
|
|
3796
|
-
message: smithy_client_1.expectString(output.message),
|
|
3796
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3797
3797
|
};
|
|
3798
3798
|
};
|
|
3799
3799
|
const deserializeAws_json1_1CloudHsmClusterInvalidConfigurationException = (output, context) => {
|
|
3800
3800
|
return {
|
|
3801
|
-
message: smithy_client_1.expectString(output.message),
|
|
3801
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3802
3802
|
};
|
|
3803
3803
|
};
|
|
3804
3804
|
const deserializeAws_json1_1CloudHsmClusterNotActiveException = (output, context) => {
|
|
3805
3805
|
return {
|
|
3806
|
-
message: smithy_client_1.expectString(output.message),
|
|
3806
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3807
3807
|
};
|
|
3808
3808
|
};
|
|
3809
3809
|
const deserializeAws_json1_1CloudHsmClusterNotFoundException = (output, context) => {
|
|
3810
3810
|
return {
|
|
3811
|
-
message: smithy_client_1.expectString(output.message),
|
|
3811
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3812
3812
|
};
|
|
3813
3813
|
};
|
|
3814
3814
|
const deserializeAws_json1_1CloudHsmClusterNotRelatedException = (output, context) => {
|
|
3815
3815
|
return {
|
|
3816
|
-
message: smithy_client_1.expectString(output.message),
|
|
3816
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3817
3817
|
};
|
|
3818
3818
|
};
|
|
3819
3819
|
const deserializeAws_json1_1ConnectCustomKeyStoreResponse = (output, context) => {
|
|
@@ -3821,13 +3821,13 @@ const deserializeAws_json1_1ConnectCustomKeyStoreResponse = (output, context) =>
|
|
|
3821
3821
|
};
|
|
3822
3822
|
const deserializeAws_json1_1CreateCustomKeyStoreResponse = (output, context) => {
|
|
3823
3823
|
return {
|
|
3824
|
-
CustomKeyStoreId: smithy_client_1.expectString(output.CustomKeyStoreId),
|
|
3824
|
+
CustomKeyStoreId: (0, smithy_client_1.expectString)(output.CustomKeyStoreId),
|
|
3825
3825
|
};
|
|
3826
3826
|
};
|
|
3827
3827
|
const deserializeAws_json1_1CreateGrantResponse = (output, context) => {
|
|
3828
3828
|
return {
|
|
3829
|
-
GrantId: smithy_client_1.expectString(output.GrantId),
|
|
3830
|
-
GrantToken: smithy_client_1.expectString(output.GrantToken),
|
|
3829
|
+
GrantId: (0, smithy_client_1.expectString)(output.GrantId),
|
|
3830
|
+
GrantToken: (0, smithy_client_1.expectString)(output.GrantToken),
|
|
3831
3831
|
};
|
|
3832
3832
|
};
|
|
3833
3833
|
const deserializeAws_json1_1CreateKeyResponse = (output, context) => {
|
|
@@ -3839,22 +3839,22 @@ const deserializeAws_json1_1CreateKeyResponse = (output, context) => {
|
|
|
3839
3839
|
};
|
|
3840
3840
|
const deserializeAws_json1_1CustomKeyStoreHasCMKsException = (output, context) => {
|
|
3841
3841
|
return {
|
|
3842
|
-
message: smithy_client_1.expectString(output.message),
|
|
3842
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3843
3843
|
};
|
|
3844
3844
|
};
|
|
3845
3845
|
const deserializeAws_json1_1CustomKeyStoreInvalidStateException = (output, context) => {
|
|
3846
3846
|
return {
|
|
3847
|
-
message: smithy_client_1.expectString(output.message),
|
|
3847
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3848
3848
|
};
|
|
3849
3849
|
};
|
|
3850
3850
|
const deserializeAws_json1_1CustomKeyStoreNameInUseException = (output, context) => {
|
|
3851
3851
|
return {
|
|
3852
|
-
message: smithy_client_1.expectString(output.message),
|
|
3852
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3853
3853
|
};
|
|
3854
3854
|
};
|
|
3855
3855
|
const deserializeAws_json1_1CustomKeyStoreNotFoundException = (output, context) => {
|
|
3856
3856
|
return {
|
|
3857
|
-
message: smithy_client_1.expectString(output.message),
|
|
3857
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3858
3858
|
};
|
|
3859
3859
|
};
|
|
3860
3860
|
const deserializeAws_json1_1CustomKeyStoresList = (output, context) => {
|
|
@@ -3870,21 +3870,21 @@ const deserializeAws_json1_1CustomKeyStoresList = (output, context) => {
|
|
|
3870
3870
|
};
|
|
3871
3871
|
const deserializeAws_json1_1CustomKeyStoresListEntry = (output, context) => {
|
|
3872
3872
|
return {
|
|
3873
|
-
CloudHsmClusterId: smithy_client_1.expectString(output.CloudHsmClusterId),
|
|
3874
|
-
ConnectionErrorCode: smithy_client_1.expectString(output.ConnectionErrorCode),
|
|
3875
|
-
ConnectionState: smithy_client_1.expectString(output.ConnectionState),
|
|
3873
|
+
CloudHsmClusterId: (0, smithy_client_1.expectString)(output.CloudHsmClusterId),
|
|
3874
|
+
ConnectionErrorCode: (0, smithy_client_1.expectString)(output.ConnectionErrorCode),
|
|
3875
|
+
ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
|
|
3876
3876
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3877
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
3877
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
3878
3878
|
: undefined,
|
|
3879
|
-
CustomKeyStoreId: smithy_client_1.expectString(output.CustomKeyStoreId),
|
|
3880
|
-
CustomKeyStoreName: smithy_client_1.expectString(output.CustomKeyStoreName),
|
|
3881
|
-
TrustAnchorCertificate: smithy_client_1.expectString(output.TrustAnchorCertificate),
|
|
3879
|
+
CustomKeyStoreId: (0, smithy_client_1.expectString)(output.CustomKeyStoreId),
|
|
3880
|
+
CustomKeyStoreName: (0, smithy_client_1.expectString)(output.CustomKeyStoreName),
|
|
3881
|
+
TrustAnchorCertificate: (0, smithy_client_1.expectString)(output.TrustAnchorCertificate),
|
|
3882
3882
|
};
|
|
3883
3883
|
};
|
|
3884
3884
|
const deserializeAws_json1_1DecryptResponse = (output, context) => {
|
|
3885
3885
|
return {
|
|
3886
|
-
EncryptionAlgorithm: smithy_client_1.expectString(output.EncryptionAlgorithm),
|
|
3887
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
3886
|
+
EncryptionAlgorithm: (0, smithy_client_1.expectString)(output.EncryptionAlgorithm),
|
|
3887
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
3888
3888
|
Plaintext: output.Plaintext !== undefined && output.Plaintext !== null ? context.base64Decoder(output.Plaintext) : undefined,
|
|
3889
3889
|
};
|
|
3890
3890
|
};
|
|
@@ -3893,7 +3893,7 @@ const deserializeAws_json1_1DeleteCustomKeyStoreResponse = (output, context) =>
|
|
|
3893
3893
|
};
|
|
3894
3894
|
const deserializeAws_json1_1DependencyTimeoutException = (output, context) => {
|
|
3895
3895
|
return {
|
|
3896
|
-
message: smithy_client_1.expectString(output.message),
|
|
3896
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3897
3897
|
};
|
|
3898
3898
|
};
|
|
3899
3899
|
const deserializeAws_json1_1DescribeCustomKeyStoresResponse = (output, context) => {
|
|
@@ -3901,8 +3901,8 @@ const deserializeAws_json1_1DescribeCustomKeyStoresResponse = (output, context)
|
|
|
3901
3901
|
CustomKeyStores: output.CustomKeyStores !== undefined && output.CustomKeyStores !== null
|
|
3902
3902
|
? deserializeAws_json1_1CustomKeyStoresList(output.CustomKeyStores, context)
|
|
3903
3903
|
: undefined,
|
|
3904
|
-
NextMarker: smithy_client_1.expectString(output.NextMarker),
|
|
3905
|
-
Truncated: smithy_client_1.expectBoolean(output.Truncated),
|
|
3904
|
+
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
3905
|
+
Truncated: (0, smithy_client_1.expectBoolean)(output.Truncated),
|
|
3906
3906
|
};
|
|
3907
3907
|
};
|
|
3908
3908
|
const deserializeAws_json1_1DescribeKeyResponse = (output, context) => {
|
|
@@ -3914,7 +3914,7 @@ const deserializeAws_json1_1DescribeKeyResponse = (output, context) => {
|
|
|
3914
3914
|
};
|
|
3915
3915
|
const deserializeAws_json1_1DisabledException = (output, context) => {
|
|
3916
3916
|
return {
|
|
3917
|
-
message: smithy_client_1.expectString(output.message),
|
|
3917
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3918
3918
|
};
|
|
3919
3919
|
};
|
|
3920
3920
|
const deserializeAws_json1_1DisconnectCustomKeyStoreResponse = (output, context) => {
|
|
@@ -3927,7 +3927,7 @@ const deserializeAws_json1_1EncryptionAlgorithmSpecList = (output, context) => {
|
|
|
3927
3927
|
if (entry === null) {
|
|
3928
3928
|
return null;
|
|
3929
3929
|
}
|
|
3930
|
-
return smithy_client_1.expectString(entry);
|
|
3930
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3931
3931
|
});
|
|
3932
3932
|
return retVal;
|
|
3933
3933
|
};
|
|
@@ -3938,7 +3938,7 @@ const deserializeAws_json1_1EncryptionContextType = (output, context) => {
|
|
|
3938
3938
|
}
|
|
3939
3939
|
return {
|
|
3940
3940
|
...acc,
|
|
3941
|
-
[key]: smithy_client_1.expectString(value),
|
|
3941
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3942
3942
|
};
|
|
3943
3943
|
}, {});
|
|
3944
3944
|
};
|
|
@@ -3947,19 +3947,19 @@ const deserializeAws_json1_1EncryptResponse = (output, context) => {
|
|
|
3947
3947
|
CiphertextBlob: output.CiphertextBlob !== undefined && output.CiphertextBlob !== null
|
|
3948
3948
|
? context.base64Decoder(output.CiphertextBlob)
|
|
3949
3949
|
: undefined,
|
|
3950
|
-
EncryptionAlgorithm: smithy_client_1.expectString(output.EncryptionAlgorithm),
|
|
3951
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
3950
|
+
EncryptionAlgorithm: (0, smithy_client_1.expectString)(output.EncryptionAlgorithm),
|
|
3951
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
3952
3952
|
};
|
|
3953
3953
|
};
|
|
3954
3954
|
const deserializeAws_json1_1ExpiredImportTokenException = (output, context) => {
|
|
3955
3955
|
return {
|
|
3956
|
-
message: smithy_client_1.expectString(output.message),
|
|
3956
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3957
3957
|
};
|
|
3958
3958
|
};
|
|
3959
3959
|
const deserializeAws_json1_1GenerateDataKeyPairResponse = (output, context) => {
|
|
3960
3960
|
return {
|
|
3961
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
3962
|
-
KeyPairSpec: smithy_client_1.expectString(output.KeyPairSpec),
|
|
3961
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
3962
|
+
KeyPairSpec: (0, smithy_client_1.expectString)(output.KeyPairSpec),
|
|
3963
3963
|
PrivateKeyCiphertextBlob: output.PrivateKeyCiphertextBlob !== undefined && output.PrivateKeyCiphertextBlob !== null
|
|
3964
3964
|
? context.base64Decoder(output.PrivateKeyCiphertextBlob)
|
|
3965
3965
|
: undefined,
|
|
@@ -3971,8 +3971,8 @@ const deserializeAws_json1_1GenerateDataKeyPairResponse = (output, context) => {
|
|
|
3971
3971
|
};
|
|
3972
3972
|
const deserializeAws_json1_1GenerateDataKeyPairWithoutPlaintextResponse = (output, context) => {
|
|
3973
3973
|
return {
|
|
3974
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
3975
|
-
KeyPairSpec: smithy_client_1.expectString(output.KeyPairSpec),
|
|
3974
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
3975
|
+
KeyPairSpec: (0, smithy_client_1.expectString)(output.KeyPairSpec),
|
|
3976
3976
|
PrivateKeyCiphertextBlob: output.PrivateKeyCiphertextBlob !== undefined && output.PrivateKeyCiphertextBlob !== null
|
|
3977
3977
|
? context.base64Decoder(output.PrivateKeyCiphertextBlob)
|
|
3978
3978
|
: undefined,
|
|
@@ -3984,7 +3984,7 @@ const deserializeAws_json1_1GenerateDataKeyResponse = (output, context) => {
|
|
|
3984
3984
|
CiphertextBlob: output.CiphertextBlob !== undefined && output.CiphertextBlob !== null
|
|
3985
3985
|
? context.base64Decoder(output.CiphertextBlob)
|
|
3986
3986
|
: undefined,
|
|
3987
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
3987
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
3988
3988
|
Plaintext: output.Plaintext !== undefined && output.Plaintext !== null ? context.base64Decoder(output.Plaintext) : undefined,
|
|
3989
3989
|
};
|
|
3990
3990
|
};
|
|
@@ -3993,7 +3993,7 @@ const deserializeAws_json1_1GenerateDataKeyWithoutPlaintextResponse = (output, c
|
|
|
3993
3993
|
CiphertextBlob: output.CiphertextBlob !== undefined && output.CiphertextBlob !== null
|
|
3994
3994
|
? context.base64Decoder(output.CiphertextBlob)
|
|
3995
3995
|
: undefined,
|
|
3996
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
3996
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
3997
3997
|
};
|
|
3998
3998
|
};
|
|
3999
3999
|
const deserializeAws_json1_1GenerateRandomResponse = (output, context) => {
|
|
@@ -4003,12 +4003,12 @@ const deserializeAws_json1_1GenerateRandomResponse = (output, context) => {
|
|
|
4003
4003
|
};
|
|
4004
4004
|
const deserializeAws_json1_1GetKeyPolicyResponse = (output, context) => {
|
|
4005
4005
|
return {
|
|
4006
|
-
Policy: smithy_client_1.expectString(output.Policy),
|
|
4006
|
+
Policy: (0, smithy_client_1.expectString)(output.Policy),
|
|
4007
4007
|
};
|
|
4008
4008
|
};
|
|
4009
4009
|
const deserializeAws_json1_1GetKeyRotationStatusResponse = (output, context) => {
|
|
4010
4010
|
return {
|
|
4011
|
-
KeyRotationEnabled: smithy_client_1.expectBoolean(output.KeyRotationEnabled),
|
|
4011
|
+
KeyRotationEnabled: (0, smithy_client_1.expectBoolean)(output.KeyRotationEnabled),
|
|
4012
4012
|
};
|
|
4013
4013
|
};
|
|
4014
4014
|
const deserializeAws_json1_1GetParametersForImportResponse = (output, context) => {
|
|
@@ -4016,22 +4016,22 @@ const deserializeAws_json1_1GetParametersForImportResponse = (output, context) =
|
|
|
4016
4016
|
ImportToken: output.ImportToken !== undefined && output.ImportToken !== null
|
|
4017
4017
|
? context.base64Decoder(output.ImportToken)
|
|
4018
4018
|
: undefined,
|
|
4019
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
4019
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
4020
4020
|
ParametersValidTo: output.ParametersValidTo !== undefined && output.ParametersValidTo !== null
|
|
4021
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ParametersValidTo)))
|
|
4021
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ParametersValidTo)))
|
|
4022
4022
|
: undefined,
|
|
4023
4023
|
PublicKey: output.PublicKey !== undefined && output.PublicKey !== null ? context.base64Decoder(output.PublicKey) : undefined,
|
|
4024
4024
|
};
|
|
4025
4025
|
};
|
|
4026
4026
|
const deserializeAws_json1_1GetPublicKeyResponse = (output, context) => {
|
|
4027
4027
|
return {
|
|
4028
|
-
CustomerMasterKeySpec: smithy_client_1.expectString(output.CustomerMasterKeySpec),
|
|
4028
|
+
CustomerMasterKeySpec: (0, smithy_client_1.expectString)(output.CustomerMasterKeySpec),
|
|
4029
4029
|
EncryptionAlgorithms: output.EncryptionAlgorithms !== undefined && output.EncryptionAlgorithms !== null
|
|
4030
4030
|
? deserializeAws_json1_1EncryptionAlgorithmSpecList(output.EncryptionAlgorithms, context)
|
|
4031
4031
|
: undefined,
|
|
4032
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
4033
|
-
KeySpec: smithy_client_1.expectString(output.KeySpec),
|
|
4034
|
-
KeyUsage: smithy_client_1.expectString(output.KeyUsage),
|
|
4032
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
4033
|
+
KeySpec: (0, smithy_client_1.expectString)(output.KeySpec),
|
|
4034
|
+
KeyUsage: (0, smithy_client_1.expectString)(output.KeyUsage),
|
|
4035
4035
|
PublicKey: output.PublicKey !== undefined && output.PublicKey !== null ? context.base64Decoder(output.PublicKey) : undefined,
|
|
4036
4036
|
SigningAlgorithms: output.SigningAlgorithms !== undefined && output.SigningAlgorithms !== null
|
|
4037
4037
|
? deserializeAws_json1_1SigningAlgorithmSpecList(output.SigningAlgorithms, context)
|
|
@@ -4065,17 +4065,17 @@ const deserializeAws_json1_1GrantListEntry = (output, context) => {
|
|
|
4065
4065
|
? deserializeAws_json1_1GrantConstraints(output.Constraints, context)
|
|
4066
4066
|
: undefined,
|
|
4067
4067
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
4068
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
4068
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
4069
4069
|
: undefined,
|
|
4070
|
-
GrantId: smithy_client_1.expectString(output.GrantId),
|
|
4071
|
-
GranteePrincipal: smithy_client_1.expectString(output.GranteePrincipal),
|
|
4072
|
-
IssuingAccount: smithy_client_1.expectString(output.IssuingAccount),
|
|
4073
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
4074
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
4070
|
+
GrantId: (0, smithy_client_1.expectString)(output.GrantId),
|
|
4071
|
+
GranteePrincipal: (0, smithy_client_1.expectString)(output.GranteePrincipal),
|
|
4072
|
+
IssuingAccount: (0, smithy_client_1.expectString)(output.IssuingAccount),
|
|
4073
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
4074
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4075
4075
|
Operations: output.Operations !== undefined && output.Operations !== null
|
|
4076
4076
|
? deserializeAws_json1_1GrantOperationList(output.Operations, context)
|
|
4077
4077
|
: undefined,
|
|
4078
|
-
RetiringPrincipal: smithy_client_1.expectString(output.RetiringPrincipal),
|
|
4078
|
+
RetiringPrincipal: (0, smithy_client_1.expectString)(output.RetiringPrincipal),
|
|
4079
4079
|
};
|
|
4080
4080
|
};
|
|
4081
4081
|
const deserializeAws_json1_1GrantOperationList = (output, context) => {
|
|
@@ -4085,7 +4085,7 @@ const deserializeAws_json1_1GrantOperationList = (output, context) => {
|
|
|
4085
4085
|
if (entry === null) {
|
|
4086
4086
|
return null;
|
|
4087
4087
|
}
|
|
4088
|
-
return smithy_client_1.expectString(entry);
|
|
4088
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4089
4089
|
});
|
|
4090
4090
|
return retVal;
|
|
4091
4091
|
};
|
|
@@ -4094,57 +4094,57 @@ const deserializeAws_json1_1ImportKeyMaterialResponse = (output, context) => {
|
|
|
4094
4094
|
};
|
|
4095
4095
|
const deserializeAws_json1_1IncorrectKeyException = (output, context) => {
|
|
4096
4096
|
return {
|
|
4097
|
-
message: smithy_client_1.expectString(output.message),
|
|
4097
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4098
4098
|
};
|
|
4099
4099
|
};
|
|
4100
4100
|
const deserializeAws_json1_1IncorrectKeyMaterialException = (output, context) => {
|
|
4101
4101
|
return {
|
|
4102
|
-
message: smithy_client_1.expectString(output.message),
|
|
4102
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4103
4103
|
};
|
|
4104
4104
|
};
|
|
4105
4105
|
const deserializeAws_json1_1IncorrectTrustAnchorException = (output, context) => {
|
|
4106
4106
|
return {
|
|
4107
|
-
message: smithy_client_1.expectString(output.message),
|
|
4107
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4108
4108
|
};
|
|
4109
4109
|
};
|
|
4110
4110
|
const deserializeAws_json1_1InvalidAliasNameException = (output, context) => {
|
|
4111
4111
|
return {
|
|
4112
|
-
message: smithy_client_1.expectString(output.message),
|
|
4112
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4113
4113
|
};
|
|
4114
4114
|
};
|
|
4115
4115
|
const deserializeAws_json1_1InvalidArnException = (output, context) => {
|
|
4116
4116
|
return {
|
|
4117
|
-
message: smithy_client_1.expectString(output.message),
|
|
4117
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4118
4118
|
};
|
|
4119
4119
|
};
|
|
4120
4120
|
const deserializeAws_json1_1InvalidCiphertextException = (output, context) => {
|
|
4121
4121
|
return {
|
|
4122
|
-
message: smithy_client_1.expectString(output.message),
|
|
4122
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4123
4123
|
};
|
|
4124
4124
|
};
|
|
4125
4125
|
const deserializeAws_json1_1InvalidGrantIdException = (output, context) => {
|
|
4126
4126
|
return {
|
|
4127
|
-
message: smithy_client_1.expectString(output.message),
|
|
4127
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4128
4128
|
};
|
|
4129
4129
|
};
|
|
4130
4130
|
const deserializeAws_json1_1InvalidGrantTokenException = (output, context) => {
|
|
4131
4131
|
return {
|
|
4132
|
-
message: smithy_client_1.expectString(output.message),
|
|
4132
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4133
4133
|
};
|
|
4134
4134
|
};
|
|
4135
4135
|
const deserializeAws_json1_1InvalidImportTokenException = (output, context) => {
|
|
4136
4136
|
return {
|
|
4137
|
-
message: smithy_client_1.expectString(output.message),
|
|
4137
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4138
4138
|
};
|
|
4139
4139
|
};
|
|
4140
4140
|
const deserializeAws_json1_1InvalidKeyUsageException = (output, context) => {
|
|
4141
4141
|
return {
|
|
4142
|
-
message: smithy_client_1.expectString(output.message),
|
|
4142
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4143
4143
|
};
|
|
4144
4144
|
};
|
|
4145
4145
|
const deserializeAws_json1_1InvalidMarkerException = (output, context) => {
|
|
4146
4146
|
return {
|
|
4147
|
-
message: smithy_client_1.expectString(output.message),
|
|
4147
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4148
4148
|
};
|
|
4149
4149
|
};
|
|
4150
4150
|
const deserializeAws_json1_1KeyList = (output, context) => {
|
|
@@ -4160,71 +4160,71 @@ const deserializeAws_json1_1KeyList = (output, context) => {
|
|
|
4160
4160
|
};
|
|
4161
4161
|
const deserializeAws_json1_1KeyListEntry = (output, context) => {
|
|
4162
4162
|
return {
|
|
4163
|
-
KeyArn: smithy_client_1.expectString(output.KeyArn),
|
|
4164
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
4163
|
+
KeyArn: (0, smithy_client_1.expectString)(output.KeyArn),
|
|
4164
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
4165
4165
|
};
|
|
4166
4166
|
};
|
|
4167
4167
|
const deserializeAws_json1_1KeyMetadata = (output, context) => {
|
|
4168
4168
|
return {
|
|
4169
|
-
AWSAccountId: smithy_client_1.expectString(output.AWSAccountId),
|
|
4170
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
4171
|
-
CloudHsmClusterId: smithy_client_1.expectString(output.CloudHsmClusterId),
|
|
4169
|
+
AWSAccountId: (0, smithy_client_1.expectString)(output.AWSAccountId),
|
|
4170
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4171
|
+
CloudHsmClusterId: (0, smithy_client_1.expectString)(output.CloudHsmClusterId),
|
|
4172
4172
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
4173
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
4173
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
4174
4174
|
: undefined,
|
|
4175
|
-
CustomKeyStoreId: smithy_client_1.expectString(output.CustomKeyStoreId),
|
|
4176
|
-
CustomerMasterKeySpec: smithy_client_1.expectString(output.CustomerMasterKeySpec),
|
|
4175
|
+
CustomKeyStoreId: (0, smithy_client_1.expectString)(output.CustomKeyStoreId),
|
|
4176
|
+
CustomerMasterKeySpec: (0, smithy_client_1.expectString)(output.CustomerMasterKeySpec),
|
|
4177
4177
|
DeletionDate: output.DeletionDate !== undefined && output.DeletionDate !== null
|
|
4178
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletionDate)))
|
|
4178
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletionDate)))
|
|
4179
4179
|
: undefined,
|
|
4180
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
4181
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
4180
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4181
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
4182
4182
|
EncryptionAlgorithms: output.EncryptionAlgorithms !== undefined && output.EncryptionAlgorithms !== null
|
|
4183
4183
|
? deserializeAws_json1_1EncryptionAlgorithmSpecList(output.EncryptionAlgorithms, context)
|
|
4184
4184
|
: undefined,
|
|
4185
|
-
ExpirationModel: smithy_client_1.expectString(output.ExpirationModel),
|
|
4186
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
4187
|
-
KeyManager: smithy_client_1.expectString(output.KeyManager),
|
|
4188
|
-
KeySpec: smithy_client_1.expectString(output.KeySpec),
|
|
4189
|
-
KeyState: smithy_client_1.expectString(output.KeyState),
|
|
4190
|
-
KeyUsage: smithy_client_1.expectString(output.KeyUsage),
|
|
4191
|
-
MultiRegion: smithy_client_1.expectBoolean(output.MultiRegion),
|
|
4185
|
+
ExpirationModel: (0, smithy_client_1.expectString)(output.ExpirationModel),
|
|
4186
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
4187
|
+
KeyManager: (0, smithy_client_1.expectString)(output.KeyManager),
|
|
4188
|
+
KeySpec: (0, smithy_client_1.expectString)(output.KeySpec),
|
|
4189
|
+
KeyState: (0, smithy_client_1.expectString)(output.KeyState),
|
|
4190
|
+
KeyUsage: (0, smithy_client_1.expectString)(output.KeyUsage),
|
|
4191
|
+
MultiRegion: (0, smithy_client_1.expectBoolean)(output.MultiRegion),
|
|
4192
4192
|
MultiRegionConfiguration: output.MultiRegionConfiguration !== undefined && output.MultiRegionConfiguration !== null
|
|
4193
4193
|
? deserializeAws_json1_1MultiRegionConfiguration(output.MultiRegionConfiguration, context)
|
|
4194
4194
|
: undefined,
|
|
4195
|
-
Origin: smithy_client_1.expectString(output.Origin),
|
|
4196
|
-
PendingDeletionWindowInDays: smithy_client_1.expectInt32(output.PendingDeletionWindowInDays),
|
|
4195
|
+
Origin: (0, smithy_client_1.expectString)(output.Origin),
|
|
4196
|
+
PendingDeletionWindowInDays: (0, smithy_client_1.expectInt32)(output.PendingDeletionWindowInDays),
|
|
4197
4197
|
SigningAlgorithms: output.SigningAlgorithms !== undefined && output.SigningAlgorithms !== null
|
|
4198
4198
|
? deserializeAws_json1_1SigningAlgorithmSpecList(output.SigningAlgorithms, context)
|
|
4199
4199
|
: undefined,
|
|
4200
4200
|
ValidTo: output.ValidTo !== undefined && output.ValidTo !== null
|
|
4201
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ValidTo)))
|
|
4201
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ValidTo)))
|
|
4202
4202
|
: undefined,
|
|
4203
4203
|
};
|
|
4204
4204
|
};
|
|
4205
4205
|
const deserializeAws_json1_1KeyUnavailableException = (output, context) => {
|
|
4206
4206
|
return {
|
|
4207
|
-
message: smithy_client_1.expectString(output.message),
|
|
4207
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4208
4208
|
};
|
|
4209
4209
|
};
|
|
4210
4210
|
const deserializeAws_json1_1KMSInternalException = (output, context) => {
|
|
4211
4211
|
return {
|
|
4212
|
-
message: smithy_client_1.expectString(output.message),
|
|
4212
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4213
4213
|
};
|
|
4214
4214
|
};
|
|
4215
4215
|
const deserializeAws_json1_1KMSInvalidSignatureException = (output, context) => {
|
|
4216
4216
|
return {
|
|
4217
|
-
message: smithy_client_1.expectString(output.message),
|
|
4217
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4218
4218
|
};
|
|
4219
4219
|
};
|
|
4220
4220
|
const deserializeAws_json1_1KMSInvalidStateException = (output, context) => {
|
|
4221
4221
|
return {
|
|
4222
|
-
message: smithy_client_1.expectString(output.message),
|
|
4222
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4223
4223
|
};
|
|
4224
4224
|
};
|
|
4225
4225
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
4226
4226
|
return {
|
|
4227
|
-
message: smithy_client_1.expectString(output.message),
|
|
4227
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4228
4228
|
};
|
|
4229
4229
|
};
|
|
4230
4230
|
const deserializeAws_json1_1ListAliasesResponse = (output, context) => {
|
|
@@ -4232,8 +4232,8 @@ const deserializeAws_json1_1ListAliasesResponse = (output, context) => {
|
|
|
4232
4232
|
Aliases: output.Aliases !== undefined && output.Aliases !== null
|
|
4233
4233
|
? deserializeAws_json1_1AliasList(output.Aliases, context)
|
|
4234
4234
|
: undefined,
|
|
4235
|
-
NextMarker: smithy_client_1.expectString(output.NextMarker),
|
|
4236
|
-
Truncated: smithy_client_1.expectBoolean(output.Truncated),
|
|
4235
|
+
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
4236
|
+
Truncated: (0, smithy_client_1.expectBoolean)(output.Truncated),
|
|
4237
4237
|
};
|
|
4238
4238
|
};
|
|
4239
4239
|
const deserializeAws_json1_1ListGrantsResponse = (output, context) => {
|
|
@@ -4241,17 +4241,17 @@ const deserializeAws_json1_1ListGrantsResponse = (output, context) => {
|
|
|
4241
4241
|
Grants: output.Grants !== undefined && output.Grants !== null
|
|
4242
4242
|
? deserializeAws_json1_1GrantList(output.Grants, context)
|
|
4243
4243
|
: undefined,
|
|
4244
|
-
NextMarker: smithy_client_1.expectString(output.NextMarker),
|
|
4245
|
-
Truncated: smithy_client_1.expectBoolean(output.Truncated),
|
|
4244
|
+
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
4245
|
+
Truncated: (0, smithy_client_1.expectBoolean)(output.Truncated),
|
|
4246
4246
|
};
|
|
4247
4247
|
};
|
|
4248
4248
|
const deserializeAws_json1_1ListKeyPoliciesResponse = (output, context) => {
|
|
4249
4249
|
return {
|
|
4250
|
-
NextMarker: smithy_client_1.expectString(output.NextMarker),
|
|
4250
|
+
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
4251
4251
|
PolicyNames: output.PolicyNames !== undefined && output.PolicyNames !== null
|
|
4252
4252
|
? deserializeAws_json1_1PolicyNameList(output.PolicyNames, context)
|
|
4253
4253
|
: undefined,
|
|
4254
|
-
Truncated: smithy_client_1.expectBoolean(output.Truncated),
|
|
4254
|
+
Truncated: (0, smithy_client_1.expectBoolean)(output.Truncated),
|
|
4255
4255
|
};
|
|
4256
4256
|
};
|
|
4257
4257
|
const deserializeAws_json1_1ListKeysResponse = (output, context) => {
|
|
@@ -4259,27 +4259,27 @@ const deserializeAws_json1_1ListKeysResponse = (output, context) => {
|
|
|
4259
4259
|
Keys: output.Keys !== undefined && output.Keys !== null
|
|
4260
4260
|
? deserializeAws_json1_1KeyList(output.Keys, context)
|
|
4261
4261
|
: undefined,
|
|
4262
|
-
NextMarker: smithy_client_1.expectString(output.NextMarker),
|
|
4263
|
-
Truncated: smithy_client_1.expectBoolean(output.Truncated),
|
|
4262
|
+
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
4263
|
+
Truncated: (0, smithy_client_1.expectBoolean)(output.Truncated),
|
|
4264
4264
|
};
|
|
4265
4265
|
};
|
|
4266
4266
|
const deserializeAws_json1_1ListResourceTagsResponse = (output, context) => {
|
|
4267
4267
|
return {
|
|
4268
|
-
NextMarker: smithy_client_1.expectString(output.NextMarker),
|
|
4268
|
+
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
4269
4269
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
4270
4270
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
4271
4271
|
: undefined,
|
|
4272
|
-
Truncated: smithy_client_1.expectBoolean(output.Truncated),
|
|
4272
|
+
Truncated: (0, smithy_client_1.expectBoolean)(output.Truncated),
|
|
4273
4273
|
};
|
|
4274
4274
|
};
|
|
4275
4275
|
const deserializeAws_json1_1MalformedPolicyDocumentException = (output, context) => {
|
|
4276
4276
|
return {
|
|
4277
|
-
message: smithy_client_1.expectString(output.message),
|
|
4277
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4278
4278
|
};
|
|
4279
4279
|
};
|
|
4280
4280
|
const deserializeAws_json1_1MultiRegionConfiguration = (output, context) => {
|
|
4281
4281
|
return {
|
|
4282
|
-
MultiRegionKeyType: smithy_client_1.expectString(output.MultiRegionKeyType),
|
|
4282
|
+
MultiRegionKeyType: (0, smithy_client_1.expectString)(output.MultiRegionKeyType),
|
|
4283
4283
|
PrimaryKey: output.PrimaryKey !== undefined && output.PrimaryKey !== null
|
|
4284
4284
|
? deserializeAws_json1_1MultiRegionKey(output.PrimaryKey, context)
|
|
4285
4285
|
: undefined,
|
|
@@ -4290,8 +4290,8 @@ const deserializeAws_json1_1MultiRegionConfiguration = (output, context) => {
|
|
|
4290
4290
|
};
|
|
4291
4291
|
const deserializeAws_json1_1MultiRegionKey = (output, context) => {
|
|
4292
4292
|
return {
|
|
4293
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
4294
|
-
Region: smithy_client_1.expectString(output.Region),
|
|
4293
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4294
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
4295
4295
|
};
|
|
4296
4296
|
};
|
|
4297
4297
|
const deserializeAws_json1_1MultiRegionKeyList = (output, context) => {
|
|
@@ -4307,7 +4307,7 @@ const deserializeAws_json1_1MultiRegionKeyList = (output, context) => {
|
|
|
4307
4307
|
};
|
|
4308
4308
|
const deserializeAws_json1_1NotFoundException = (output, context) => {
|
|
4309
4309
|
return {
|
|
4310
|
-
message: smithy_client_1.expectString(output.message),
|
|
4310
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4311
4311
|
};
|
|
4312
4312
|
};
|
|
4313
4313
|
const deserializeAws_json1_1PolicyNameList = (output, context) => {
|
|
@@ -4317,7 +4317,7 @@ const deserializeAws_json1_1PolicyNameList = (output, context) => {
|
|
|
4317
4317
|
if (entry === null) {
|
|
4318
4318
|
return null;
|
|
4319
4319
|
}
|
|
4320
|
-
return smithy_client_1.expectString(entry);
|
|
4320
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4321
4321
|
});
|
|
4322
4322
|
return retVal;
|
|
4323
4323
|
};
|
|
@@ -4326,10 +4326,10 @@ const deserializeAws_json1_1ReEncryptResponse = (output, context) => {
|
|
|
4326
4326
|
CiphertextBlob: output.CiphertextBlob !== undefined && output.CiphertextBlob !== null
|
|
4327
4327
|
? context.base64Decoder(output.CiphertextBlob)
|
|
4328
4328
|
: undefined,
|
|
4329
|
-
DestinationEncryptionAlgorithm: smithy_client_1.expectString(output.DestinationEncryptionAlgorithm),
|
|
4330
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
4331
|
-
SourceEncryptionAlgorithm: smithy_client_1.expectString(output.SourceEncryptionAlgorithm),
|
|
4332
|
-
SourceKeyId: smithy_client_1.expectString(output.SourceKeyId),
|
|
4329
|
+
DestinationEncryptionAlgorithm: (0, smithy_client_1.expectString)(output.DestinationEncryptionAlgorithm),
|
|
4330
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
4331
|
+
SourceEncryptionAlgorithm: (0, smithy_client_1.expectString)(output.SourceEncryptionAlgorithm),
|
|
4332
|
+
SourceKeyId: (0, smithy_client_1.expectString)(output.SourceKeyId),
|
|
4333
4333
|
};
|
|
4334
4334
|
};
|
|
4335
4335
|
const deserializeAws_json1_1ReplicateKeyResponse = (output, context) => {
|
|
@@ -4337,7 +4337,7 @@ const deserializeAws_json1_1ReplicateKeyResponse = (output, context) => {
|
|
|
4337
4337
|
ReplicaKeyMetadata: output.ReplicaKeyMetadata !== undefined && output.ReplicaKeyMetadata !== null
|
|
4338
4338
|
? deserializeAws_json1_1KeyMetadata(output.ReplicaKeyMetadata, context)
|
|
4339
4339
|
: undefined,
|
|
4340
|
-
ReplicaPolicy: smithy_client_1.expectString(output.ReplicaPolicy),
|
|
4340
|
+
ReplicaPolicy: (0, smithy_client_1.expectString)(output.ReplicaPolicy),
|
|
4341
4341
|
ReplicaTags: output.ReplicaTags !== undefined && output.ReplicaTags !== null
|
|
4342
4342
|
? deserializeAws_json1_1TagList(output.ReplicaTags, context)
|
|
4343
4343
|
: undefined,
|
|
@@ -4346,11 +4346,11 @@ const deserializeAws_json1_1ReplicateKeyResponse = (output, context) => {
|
|
|
4346
4346
|
const deserializeAws_json1_1ScheduleKeyDeletionResponse = (output, context) => {
|
|
4347
4347
|
return {
|
|
4348
4348
|
DeletionDate: output.DeletionDate !== undefined && output.DeletionDate !== null
|
|
4349
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletionDate)))
|
|
4349
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletionDate)))
|
|
4350
4350
|
: undefined,
|
|
4351
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
4352
|
-
KeyState: smithy_client_1.expectString(output.KeyState),
|
|
4353
|
-
PendingWindowInDays: smithy_client_1.expectInt32(output.PendingWindowInDays),
|
|
4351
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
4352
|
+
KeyState: (0, smithy_client_1.expectString)(output.KeyState),
|
|
4353
|
+
PendingWindowInDays: (0, smithy_client_1.expectInt32)(output.PendingWindowInDays),
|
|
4354
4354
|
};
|
|
4355
4355
|
};
|
|
4356
4356
|
const deserializeAws_json1_1SigningAlgorithmSpecList = (output, context) => {
|
|
@@ -4360,26 +4360,26 @@ const deserializeAws_json1_1SigningAlgorithmSpecList = (output, context) => {
|
|
|
4360
4360
|
if (entry === null) {
|
|
4361
4361
|
return null;
|
|
4362
4362
|
}
|
|
4363
|
-
return smithy_client_1.expectString(entry);
|
|
4363
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4364
4364
|
});
|
|
4365
4365
|
return retVal;
|
|
4366
4366
|
};
|
|
4367
4367
|
const deserializeAws_json1_1SignResponse = (output, context) => {
|
|
4368
4368
|
return {
|
|
4369
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
4369
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
4370
4370
|
Signature: output.Signature !== undefined && output.Signature !== null ? context.base64Decoder(output.Signature) : undefined,
|
|
4371
|
-
SigningAlgorithm: smithy_client_1.expectString(output.SigningAlgorithm),
|
|
4371
|
+
SigningAlgorithm: (0, smithy_client_1.expectString)(output.SigningAlgorithm),
|
|
4372
4372
|
};
|
|
4373
4373
|
};
|
|
4374
4374
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
4375
4375
|
return {
|
|
4376
|
-
TagKey: smithy_client_1.expectString(output.TagKey),
|
|
4377
|
-
TagValue: smithy_client_1.expectString(output.TagValue),
|
|
4376
|
+
TagKey: (0, smithy_client_1.expectString)(output.TagKey),
|
|
4377
|
+
TagValue: (0, smithy_client_1.expectString)(output.TagValue),
|
|
4378
4378
|
};
|
|
4379
4379
|
};
|
|
4380
4380
|
const deserializeAws_json1_1TagException = (output, context) => {
|
|
4381
4381
|
return {
|
|
4382
|
-
message: smithy_client_1.expectString(output.message),
|
|
4382
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4383
4383
|
};
|
|
4384
4384
|
};
|
|
4385
4385
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -4395,7 +4395,7 @@ const deserializeAws_json1_1TagList = (output, context) => {
|
|
|
4395
4395
|
};
|
|
4396
4396
|
const deserializeAws_json1_1UnsupportedOperationException = (output, context) => {
|
|
4397
4397
|
return {
|
|
4398
|
-
message: smithy_client_1.expectString(output.message),
|
|
4398
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4399
4399
|
};
|
|
4400
4400
|
};
|
|
4401
4401
|
const deserializeAws_json1_1UpdateCustomKeyStoreResponse = (output, context) => {
|
|
@@ -4403,9 +4403,9 @@ const deserializeAws_json1_1UpdateCustomKeyStoreResponse = (output, context) =>
|
|
|
4403
4403
|
};
|
|
4404
4404
|
const deserializeAws_json1_1VerifyResponse = (output, context) => {
|
|
4405
4405
|
return {
|
|
4406
|
-
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
4407
|
-
SignatureValid: smithy_client_1.expectBoolean(output.SignatureValid),
|
|
4408
|
-
SigningAlgorithm: smithy_client_1.expectString(output.SigningAlgorithm),
|
|
4406
|
+
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
4407
|
+
SignatureValid: (0, smithy_client_1.expectBoolean)(output.SignatureValid),
|
|
4408
|
+
SigningAlgorithm: (0, smithy_client_1.expectString)(output.SigningAlgorithm),
|
|
4409
4409
|
};
|
|
4410
4410
|
};
|
|
4411
4411
|
const deserializeMetadata = (output) => {
|