@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
|
@@ -11,7 +11,7 @@ class GetKeyRotationStatusCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class GetKeyRotationStatusCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1GetKeyRotationStatusCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetKeyRotationStatusCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetKeyRotationStatusCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetKeyRotationStatusCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetKeyRotationStatusCommand = GetKeyRotationStatusCommand;
|
|
@@ -11,7 +11,7 @@ class GetParametersForImportCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class GetParametersForImportCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1GetParametersForImportCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetParametersForImportCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetParametersForImportCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetParametersForImportCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetParametersForImportCommand = GetParametersForImportCommand;
|
|
@@ -11,7 +11,7 @@ class GetPublicKeyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class GetPublicKeyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1GetPublicKeyCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetPublicKeyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetPublicKeyCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetPublicKeyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetPublicKeyCommand = GetPublicKeyCommand;
|
|
@@ -11,7 +11,7 @@ class ImportKeyMaterialCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class ImportKeyMaterialCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ImportKeyMaterialCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ImportKeyMaterialCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ImportKeyMaterialCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ImportKeyMaterialCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ImportKeyMaterialCommand = ImportKeyMaterialCommand;
|
|
@@ -11,7 +11,7 @@ class ListAliasesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class ListAliasesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListAliasesCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListAliasesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListAliasesCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListAliasesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListAliasesCommand = ListAliasesCommand;
|
|
@@ -11,7 +11,7 @@ class ListGrantsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class ListGrantsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListGrantsCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListGrantsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListGrantsCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListGrantsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListGrantsCommand = ListGrantsCommand;
|
|
@@ -11,7 +11,7 @@ class ListKeyPoliciesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class ListKeyPoliciesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListKeyPoliciesCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListKeyPoliciesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListKeyPoliciesCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListKeyPoliciesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListKeyPoliciesCommand = ListKeyPoliciesCommand;
|
|
@@ -11,7 +11,7 @@ class ListKeysCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class ListKeysCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListKeysCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListKeysCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListKeysCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListKeysCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListKeysCommand = ListKeysCommand;
|
|
@@ -11,7 +11,7 @@ class ListResourceTagsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class ListResourceTagsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListResourceTagsCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListResourceTagsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListResourceTagsCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListResourceTagsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListResourceTagsCommand = ListResourceTagsCommand;
|
|
@@ -11,7 +11,7 @@ class ListRetirableGrantsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class ListRetirableGrantsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListRetirableGrantsCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListRetirableGrantsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListRetirableGrantsCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListRetirableGrantsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListRetirableGrantsCommand = ListRetirableGrantsCommand;
|
|
@@ -11,7 +11,7 @@ class PutKeyPolicyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class PutKeyPolicyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1PutKeyPolicyCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1PutKeyPolicyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1PutKeyPolicyCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1PutKeyPolicyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PutKeyPolicyCommand = PutKeyPolicyCommand;
|
|
@@ -11,7 +11,7 @@ class ReEncryptCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class ReEncryptCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ReEncryptCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ReEncryptCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ReEncryptCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ReEncryptCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ReEncryptCommand = ReEncryptCommand;
|
|
@@ -11,7 +11,7 @@ class ReplicateKeyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class ReplicateKeyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ReplicateKeyCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ReplicateKeyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ReplicateKeyCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ReplicateKeyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ReplicateKeyCommand = ReplicateKeyCommand;
|
|
@@ -11,7 +11,7 @@ class RetireGrantCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class RetireGrantCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1RetireGrantCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1RetireGrantCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1RetireGrantCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1RetireGrantCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.RetireGrantCommand = RetireGrantCommand;
|
|
@@ -11,7 +11,7 @@ class RevokeGrantCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class RevokeGrantCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1RevokeGrantCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1RevokeGrantCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1RevokeGrantCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1RevokeGrantCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.RevokeGrantCommand = RevokeGrantCommand;
|
|
@@ -11,7 +11,7 @@ class ScheduleKeyDeletionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class ScheduleKeyDeletionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ScheduleKeyDeletionCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ScheduleKeyDeletionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ScheduleKeyDeletionCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ScheduleKeyDeletionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ScheduleKeyDeletionCommand = ScheduleKeyDeletionCommand;
|
|
@@ -11,7 +11,7 @@ class SignCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class SignCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1SignCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1SignCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1SignCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1SignCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.SignCommand = SignCommand;
|
|
@@ -11,7 +11,7 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1TagResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateAliasCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class UpdateAliasCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1UpdateAliasCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UpdateAliasCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1UpdateAliasCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateAliasCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateAliasCommand = UpdateAliasCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateCustomKeyStoreCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class UpdateCustomKeyStoreCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1UpdateCustomKeyStoreCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UpdateCustomKeyStoreCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1UpdateCustomKeyStoreCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateCustomKeyStoreCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateCustomKeyStoreCommand = UpdateCustomKeyStoreCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateKeyDescriptionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class UpdateKeyDescriptionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1UpdateKeyDescriptionCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UpdateKeyDescriptionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1UpdateKeyDescriptionCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateKeyDescriptionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateKeyDescriptionCommand = UpdateKeyDescriptionCommand;
|
|
@@ -11,7 +11,7 @@ class UpdatePrimaryRegionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class UpdatePrimaryRegionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1UpdatePrimaryRegionCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UpdatePrimaryRegionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1UpdatePrimaryRegionCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UpdatePrimaryRegionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdatePrimaryRegionCommand = UpdatePrimaryRegionCommand;
|
|
@@ -11,7 +11,7 @@ class VerifyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KMSClient";
|
|
@@ -27,10 +27,10 @@ class VerifyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1VerifyCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1VerifyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1VerifyCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1VerifyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.VerifyCommand = VerifyCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -361,7 +361,7 @@ const partitionHash = {
|
|
|
361
361
|
],
|
|
362
362
|
},
|
|
363
363
|
};
|
|
364
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
364
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
365
365
|
...options,
|
|
366
366
|
signingService: "kms",
|
|
367
367
|
regionHash,
|