@aws-sdk/client-kms 3.414.0 → 3.421.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.
Files changed (102) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/commands/CancelKeyDeletionCommand.js +5 -0
  3. package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +5 -0
  4. package/dist-cjs/commands/CreateAliasCommand.js +5 -0
  5. package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +5 -0
  6. package/dist-cjs/commands/CreateGrantCommand.js +5 -0
  7. package/dist-cjs/commands/CreateKeyCommand.js +5 -0
  8. package/dist-cjs/commands/DecryptCommand.js +5 -0
  9. package/dist-cjs/commands/DeleteAliasCommand.js +5 -0
  10. package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +5 -0
  11. package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +5 -0
  12. package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +5 -0
  13. package/dist-cjs/commands/DescribeKeyCommand.js +5 -0
  14. package/dist-cjs/commands/DisableKeyCommand.js +5 -0
  15. package/dist-cjs/commands/DisableKeyRotationCommand.js +5 -0
  16. package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +5 -0
  17. package/dist-cjs/commands/EnableKeyCommand.js +5 -0
  18. package/dist-cjs/commands/EnableKeyRotationCommand.js +5 -0
  19. package/dist-cjs/commands/EncryptCommand.js +5 -0
  20. package/dist-cjs/commands/GenerateDataKeyCommand.js +5 -0
  21. package/dist-cjs/commands/GenerateDataKeyPairCommand.js +5 -0
  22. package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +5 -0
  23. package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +5 -0
  24. package/dist-cjs/commands/GenerateMacCommand.js +5 -0
  25. package/dist-cjs/commands/GenerateRandomCommand.js +5 -0
  26. package/dist-cjs/commands/GetKeyPolicyCommand.js +5 -0
  27. package/dist-cjs/commands/GetKeyRotationStatusCommand.js +5 -0
  28. package/dist-cjs/commands/GetParametersForImportCommand.js +5 -0
  29. package/dist-cjs/commands/GetPublicKeyCommand.js +5 -0
  30. package/dist-cjs/commands/ImportKeyMaterialCommand.js +5 -0
  31. package/dist-cjs/commands/ListAliasesCommand.js +5 -0
  32. package/dist-cjs/commands/ListGrantsCommand.js +5 -0
  33. package/dist-cjs/commands/ListKeyPoliciesCommand.js +5 -0
  34. package/dist-cjs/commands/ListKeysCommand.js +5 -0
  35. package/dist-cjs/commands/ListResourceTagsCommand.js +5 -0
  36. package/dist-cjs/commands/ListRetirableGrantsCommand.js +5 -0
  37. package/dist-cjs/commands/PutKeyPolicyCommand.js +5 -0
  38. package/dist-cjs/commands/ReEncryptCommand.js +5 -0
  39. package/dist-cjs/commands/ReplicateKeyCommand.js +5 -0
  40. package/dist-cjs/commands/RetireGrantCommand.js +5 -0
  41. package/dist-cjs/commands/RevokeGrantCommand.js +5 -0
  42. package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +5 -0
  43. package/dist-cjs/commands/SignCommand.js +5 -0
  44. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  45. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  46. package/dist-cjs/commands/UpdateAliasCommand.js +5 -0
  47. package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +5 -0
  48. package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +5 -0
  49. package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +5 -0
  50. package/dist-cjs/commands/VerifyCommand.js +5 -0
  51. package/dist-cjs/commands/VerifyMacCommand.js +5 -0
  52. package/dist-es/commands/CancelKeyDeletionCommand.js +5 -0
  53. package/dist-es/commands/ConnectCustomKeyStoreCommand.js +5 -0
  54. package/dist-es/commands/CreateAliasCommand.js +5 -0
  55. package/dist-es/commands/CreateCustomKeyStoreCommand.js +5 -0
  56. package/dist-es/commands/CreateGrantCommand.js +5 -0
  57. package/dist-es/commands/CreateKeyCommand.js +5 -0
  58. package/dist-es/commands/DecryptCommand.js +5 -0
  59. package/dist-es/commands/DeleteAliasCommand.js +5 -0
  60. package/dist-es/commands/DeleteCustomKeyStoreCommand.js +5 -0
  61. package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +5 -0
  62. package/dist-es/commands/DescribeCustomKeyStoresCommand.js +5 -0
  63. package/dist-es/commands/DescribeKeyCommand.js +5 -0
  64. package/dist-es/commands/DisableKeyCommand.js +5 -0
  65. package/dist-es/commands/DisableKeyRotationCommand.js +5 -0
  66. package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +5 -0
  67. package/dist-es/commands/EnableKeyCommand.js +5 -0
  68. package/dist-es/commands/EnableKeyRotationCommand.js +5 -0
  69. package/dist-es/commands/EncryptCommand.js +5 -0
  70. package/dist-es/commands/GenerateDataKeyCommand.js +5 -0
  71. package/dist-es/commands/GenerateDataKeyPairCommand.js +5 -0
  72. package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +5 -0
  73. package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +5 -0
  74. package/dist-es/commands/GenerateMacCommand.js +5 -0
  75. package/dist-es/commands/GenerateRandomCommand.js +5 -0
  76. package/dist-es/commands/GetKeyPolicyCommand.js +5 -0
  77. package/dist-es/commands/GetKeyRotationStatusCommand.js +5 -0
  78. package/dist-es/commands/GetParametersForImportCommand.js +5 -0
  79. package/dist-es/commands/GetPublicKeyCommand.js +5 -0
  80. package/dist-es/commands/ImportKeyMaterialCommand.js +5 -0
  81. package/dist-es/commands/ListAliasesCommand.js +5 -0
  82. package/dist-es/commands/ListGrantsCommand.js +5 -0
  83. package/dist-es/commands/ListKeyPoliciesCommand.js +5 -0
  84. package/dist-es/commands/ListKeysCommand.js +5 -0
  85. package/dist-es/commands/ListResourceTagsCommand.js +5 -0
  86. package/dist-es/commands/ListRetirableGrantsCommand.js +5 -0
  87. package/dist-es/commands/PutKeyPolicyCommand.js +5 -0
  88. package/dist-es/commands/ReEncryptCommand.js +5 -0
  89. package/dist-es/commands/ReplicateKeyCommand.js +5 -0
  90. package/dist-es/commands/RetireGrantCommand.js +5 -0
  91. package/dist-es/commands/RevokeGrantCommand.js +5 -0
  92. package/dist-es/commands/ScheduleKeyDeletionCommand.js +5 -0
  93. package/dist-es/commands/SignCommand.js +5 -0
  94. package/dist-es/commands/TagResourceCommand.js +5 -0
  95. package/dist-es/commands/UntagResourceCommand.js +5 -0
  96. package/dist-es/commands/UpdateAliasCommand.js +5 -0
  97. package/dist-es/commands/UpdateCustomKeyStoreCommand.js +5 -0
  98. package/dist-es/commands/UpdateKeyDescriptionCommand.js +5 -0
  99. package/dist-es/commands/UpdatePrimaryRegionCommand.js +5 -0
  100. package/dist-es/commands/VerifyCommand.js +5 -0
  101. package/dist-es/commands/VerifyMacCommand.js +5 -0
  102. package/package.json +31 -31
package/README.md CHANGED
@@ -118,16 +118,16 @@ using your favorite package manager:
118
118
 
119
119
  The AWS SDK is modulized by clients and commands.
120
120
  To send a request, you only need to import the `KMSClient` and
121
- the commands you need, for example `CancelKeyDeletionCommand`:
121
+ the commands you need, for example `ListAliasesCommand`:
122
122
 
123
123
  ```js
124
124
  // ES5 example
125
- const { KMSClient, CancelKeyDeletionCommand } = require("@aws-sdk/client-kms");
125
+ const { KMSClient, ListAliasesCommand } = require("@aws-sdk/client-kms");
126
126
  ```
127
127
 
128
128
  ```ts
129
129
  // ES6+ example
130
- import { KMSClient, CancelKeyDeletionCommand } from "@aws-sdk/client-kms";
130
+ import { KMSClient, ListAliasesCommand } from "@aws-sdk/client-kms";
131
131
  ```
132
132
 
133
133
  ### Usage
@@ -146,7 +146,7 @@ const client = new KMSClient({ region: "REGION" });
146
146
  const params = {
147
147
  /** input parameters */
148
148
  };
149
- const command = new CancelKeyDeletionCommand(params);
149
+ const command = new ListAliasesCommand(params);
150
150
  ```
151
151
 
152
152
  #### Async/await
@@ -225,7 +225,7 @@ const client = new AWS.KMS({ region: "REGION" });
225
225
 
226
226
  // async/await.
227
227
  try {
228
- const data = await client.cancelKeyDeletion(params);
228
+ const data = await client.listAliases(params);
229
229
  // process data.
230
230
  } catch (error) {
231
231
  // error handling.
@@ -233,7 +233,7 @@ try {
233
233
 
234
234
  // Promises.
235
235
  client
236
- .cancelKeyDeletion(params)
236
+ .listAliases(params)
237
237
  .then((data) => {
238
238
  // process data.
239
239
  })
@@ -242,7 +242,7 @@ client
242
242
  });
243
243
 
244
244
  // callbacks.
245
- client.cancelKeyDeletion(params, (err, data) => {
245
+ client.listAliases(params, (err, data) => {
246
246
  // process err and data.
247
247
  });
248
248
  ```
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CancelKeyDeletionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CancelKeyDeletionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "CancelKeyDeletion",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ConnectCustomKeyStoreCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ConnectCustomKeyStoreCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "ConnectCustomKeyStore",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateAliasCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateAliasCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "CreateAlias",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class CreateCustomKeyStoreCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class CreateCustomKeyStoreCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: models_0_1.CreateCustomKeyStoreRequestFilterSensitiveLog,
35
36
  outputFilterSensitiveLog: (_) => _,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "TrentService",
39
+ operation: "CreateCustomKeyStore",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateGrantCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateGrantCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "CreateGrant",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateKeyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateKeyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "CreateKey",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class DecryptCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class DecryptCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: (_) => _,
35
36
  outputFilterSensitiveLog: models_0_1.DecryptResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "TrentService",
39
+ operation: "Decrypt",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteAliasCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteAliasCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "DeleteAlias",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteCustomKeyStoreCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteCustomKeyStoreCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "DeleteCustomKeyStore",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteImportedKeyMaterialCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteImportedKeyMaterialCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "DeleteImportedKeyMaterial",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class DescribeCustomKeyStoresCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class DescribeCustomKeyStoresCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: (_) => _,
35
36
  outputFilterSensitiveLog: models_0_1.DescribeCustomKeyStoresResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "TrentService",
39
+ operation: "DescribeCustomKeyStores",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeKeyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeKeyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "DescribeKey",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DisableKeyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DisableKeyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "DisableKey",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DisableKeyRotationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DisableKeyRotationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "DisableKeyRotation",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DisconnectCustomKeyStoreCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DisconnectCustomKeyStoreCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "DisconnectCustomKeyStore",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class EnableKeyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class EnableKeyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "EnableKey",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class EnableKeyRotationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class EnableKeyRotationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "EnableKeyRotation",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class EncryptCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class EncryptCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: models_0_1.EncryptRequestFilterSensitiveLog,
35
36
  outputFilterSensitiveLog: (_) => _,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "TrentService",
39
+ operation: "Encrypt",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class GenerateDataKeyCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class GenerateDataKeyCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: (_) => _,
35
36
  outputFilterSensitiveLog: models_0_1.GenerateDataKeyResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "TrentService",
39
+ operation: "GenerateDataKey",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class GenerateDataKeyPairCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class GenerateDataKeyPairCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: (_) => _,
35
36
  outputFilterSensitiveLog: models_0_1.GenerateDataKeyPairResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "TrentService",
39
+ operation: "GenerateDataKeyPair",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GenerateDataKeyPairWithoutPlaintextCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GenerateDataKeyPairWithoutPlaintextCommand extends smithy_client_1.Command
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "GenerateDataKeyPairWithoutPlaintext",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GenerateDataKeyWithoutPlaintextCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GenerateDataKeyWithoutPlaintextCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "GenerateDataKeyWithoutPlaintext",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class GenerateMacCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class GenerateMacCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: models_0_1.GenerateMacRequestFilterSensitiveLog,
35
36
  outputFilterSensitiveLog: (_) => _,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "TrentService",
39
+ operation: "GenerateMac",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class GenerateRandomCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class GenerateRandomCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: (_) => _,
35
36
  outputFilterSensitiveLog: models_0_1.GenerateRandomResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "TrentService",
39
+ operation: "GenerateRandom",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetKeyPolicyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetKeyPolicyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "GetKeyPolicy",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetKeyRotationStatusCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetKeyRotationStatusCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "GetKeyRotationStatus",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class GetParametersForImportCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class GetParametersForImportCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: (_) => _,
35
36
  outputFilterSensitiveLog: models_0_1.GetParametersForImportResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "TrentService",
39
+ operation: "GetParametersForImport",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetPublicKeyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetPublicKeyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "GetPublicKey",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ImportKeyMaterialCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ImportKeyMaterialCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "TrentService",
38
+ operation: "ImportKeyMaterial",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);