@aws-sdk/client-kms 3.294.0 → 3.295.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 (105) hide show
  1. package/dist-cjs/commands/CancelKeyDeletionCommand.js +4 -4
  2. package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +4 -4
  3. package/dist-cjs/commands/CreateAliasCommand.js +4 -4
  4. package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +4 -4
  5. package/dist-cjs/commands/CreateGrantCommand.js +4 -4
  6. package/dist-cjs/commands/CreateKeyCommand.js +4 -4
  7. package/dist-cjs/commands/DecryptCommand.js +4 -4
  8. package/dist-cjs/commands/DeleteAliasCommand.js +4 -4
  9. package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +4 -4
  10. package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +4 -4
  11. package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +4 -4
  12. package/dist-cjs/commands/DescribeKeyCommand.js +4 -4
  13. package/dist-cjs/commands/DisableKeyCommand.js +4 -4
  14. package/dist-cjs/commands/DisableKeyRotationCommand.js +4 -4
  15. package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +4 -4
  16. package/dist-cjs/commands/EnableKeyCommand.js +4 -4
  17. package/dist-cjs/commands/EnableKeyRotationCommand.js +4 -4
  18. package/dist-cjs/commands/EncryptCommand.js +4 -4
  19. package/dist-cjs/commands/GenerateDataKeyCommand.js +4 -4
  20. package/dist-cjs/commands/GenerateDataKeyPairCommand.js +4 -4
  21. package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +4 -4
  22. package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +4 -4
  23. package/dist-cjs/commands/GenerateMacCommand.js +4 -4
  24. package/dist-cjs/commands/GenerateRandomCommand.js +4 -4
  25. package/dist-cjs/commands/GetKeyPolicyCommand.js +4 -4
  26. package/dist-cjs/commands/GetKeyRotationStatusCommand.js +4 -4
  27. package/dist-cjs/commands/GetParametersForImportCommand.js +4 -4
  28. package/dist-cjs/commands/GetPublicKeyCommand.js +4 -4
  29. package/dist-cjs/commands/ImportKeyMaterialCommand.js +4 -4
  30. package/dist-cjs/commands/ListAliasesCommand.js +4 -4
  31. package/dist-cjs/commands/ListGrantsCommand.js +4 -4
  32. package/dist-cjs/commands/ListKeyPoliciesCommand.js +4 -4
  33. package/dist-cjs/commands/ListKeysCommand.js +4 -4
  34. package/dist-cjs/commands/ListResourceTagsCommand.js +4 -4
  35. package/dist-cjs/commands/ListRetirableGrantsCommand.js +4 -4
  36. package/dist-cjs/commands/PutKeyPolicyCommand.js +4 -4
  37. package/dist-cjs/commands/ReEncryptCommand.js +4 -4
  38. package/dist-cjs/commands/ReplicateKeyCommand.js +4 -4
  39. package/dist-cjs/commands/RetireGrantCommand.js +4 -4
  40. package/dist-cjs/commands/RevokeGrantCommand.js +4 -4
  41. package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +4 -4
  42. package/dist-cjs/commands/SignCommand.js +4 -4
  43. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  44. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  45. package/dist-cjs/commands/UpdateAliasCommand.js +4 -4
  46. package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +4 -4
  47. package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +4 -4
  48. package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +4 -4
  49. package/dist-cjs/commands/VerifyCommand.js +4 -4
  50. package/dist-cjs/commands/VerifyMacCommand.js +4 -4
  51. package/dist-es/commands/CancelKeyDeletionCommand.js +4 -4
  52. package/dist-es/commands/ConnectCustomKeyStoreCommand.js +4 -4
  53. package/dist-es/commands/CreateAliasCommand.js +4 -4
  54. package/dist-es/commands/CreateCustomKeyStoreCommand.js +4 -4
  55. package/dist-es/commands/CreateGrantCommand.js +4 -4
  56. package/dist-es/commands/CreateKeyCommand.js +4 -4
  57. package/dist-es/commands/DecryptCommand.js +4 -4
  58. package/dist-es/commands/DeleteAliasCommand.js +4 -4
  59. package/dist-es/commands/DeleteCustomKeyStoreCommand.js +4 -4
  60. package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +4 -4
  61. package/dist-es/commands/DescribeCustomKeyStoresCommand.js +4 -4
  62. package/dist-es/commands/DescribeKeyCommand.js +4 -4
  63. package/dist-es/commands/DisableKeyCommand.js +4 -4
  64. package/dist-es/commands/DisableKeyRotationCommand.js +4 -4
  65. package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +4 -4
  66. package/dist-es/commands/EnableKeyCommand.js +4 -4
  67. package/dist-es/commands/EnableKeyRotationCommand.js +4 -4
  68. package/dist-es/commands/EncryptCommand.js +4 -4
  69. package/dist-es/commands/GenerateDataKeyCommand.js +4 -4
  70. package/dist-es/commands/GenerateDataKeyPairCommand.js +4 -4
  71. package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +4 -4
  72. package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +4 -4
  73. package/dist-es/commands/GenerateMacCommand.js +4 -4
  74. package/dist-es/commands/GenerateRandomCommand.js +4 -4
  75. package/dist-es/commands/GetKeyPolicyCommand.js +4 -4
  76. package/dist-es/commands/GetKeyRotationStatusCommand.js +4 -4
  77. package/dist-es/commands/GetParametersForImportCommand.js +4 -4
  78. package/dist-es/commands/GetPublicKeyCommand.js +4 -4
  79. package/dist-es/commands/ImportKeyMaterialCommand.js +4 -4
  80. package/dist-es/commands/ListAliasesCommand.js +4 -4
  81. package/dist-es/commands/ListGrantsCommand.js +4 -4
  82. package/dist-es/commands/ListKeyPoliciesCommand.js +4 -4
  83. package/dist-es/commands/ListKeysCommand.js +4 -4
  84. package/dist-es/commands/ListResourceTagsCommand.js +4 -4
  85. package/dist-es/commands/ListRetirableGrantsCommand.js +4 -4
  86. package/dist-es/commands/PutKeyPolicyCommand.js +4 -4
  87. package/dist-es/commands/ReEncryptCommand.js +4 -4
  88. package/dist-es/commands/ReplicateKeyCommand.js +4 -4
  89. package/dist-es/commands/RetireGrantCommand.js +4 -4
  90. package/dist-es/commands/RevokeGrantCommand.js +4 -4
  91. package/dist-es/commands/ScheduleKeyDeletionCommand.js +4 -4
  92. package/dist-es/commands/SignCommand.js +4 -4
  93. package/dist-es/commands/TagResourceCommand.js +4 -4
  94. package/dist-es/commands/UntagResourceCommand.js +4 -4
  95. package/dist-es/commands/UpdateAliasCommand.js +4 -4
  96. package/dist-es/commands/UpdateCustomKeyStoreCommand.js +4 -4
  97. package/dist-es/commands/UpdateKeyDescriptionCommand.js +4 -4
  98. package/dist-es/commands/UpdatePrimaryRegionCommand.js +4 -4
  99. package/dist-es/commands/VerifyCommand.js +4 -4
  100. package/dist-es/commands/VerifyMacCommand.js +4 -4
  101. package/dist-types/KMSClient.d.ts +4 -4
  102. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  103. package/dist-types/ts3.4/KMSClient.d.ts +4 -4
  104. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
  105. package/package.json +36 -36
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListGrantsResponseFilterSensitiveLog, ListRetirableGrantsRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListRetirableGrantsCommand, serializeAws_json1_1ListRetirableGrantsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListRetirableGrantsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListRetirableGrantsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListRetirableGrantsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { PutKeyPolicyRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1PutKeyPolicyCommand, serializeAws_json1_1PutKeyPolicyCommand, } from "../protocols/Aws_json1_1";
6
6
  export class PutKeyPolicyCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class PutKeyPolicyCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, PutKeyPolicyCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ReEncryptRequestFilterSensitiveLog, ReEncryptResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ReEncryptCommand, serializeAws_json1_1ReEncryptCommand } from "../protocols/Aws_json1_1";
6
6
  export class ReEncryptCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ReEncryptCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ReEncryptCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ReplicateKeyRequestFilterSensitiveLog, ReplicateKeyResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ReplicateKeyCommand, serializeAws_json1_1ReplicateKeyCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ReplicateKeyCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ReplicateKeyCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ReplicateKeyCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { RetireGrantRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1RetireGrantCommand, serializeAws_json1_1RetireGrantCommand, } from "../protocols/Aws_json1_1";
6
6
  export class RetireGrantCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class RetireGrantCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, RetireGrantCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { RevokeGrantRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1RevokeGrantCommand, serializeAws_json1_1RevokeGrantCommand, } from "../protocols/Aws_json1_1";
6
6
  export class RevokeGrantCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class RevokeGrantCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, RevokeGrantCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ScheduleKeyDeletionRequestFilterSensitiveLog, ScheduleKeyDeletionResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ScheduleKeyDeletionCommand, serializeAws_json1_1ScheduleKeyDeletionCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ScheduleKeyDeletionCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ScheduleKeyDeletionCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ScheduleKeyDeletionCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { SignRequestFilterSensitiveLog, SignResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1SignCommand, serializeAws_json1_1SignCommand } from "../protocols/Aws_json1_1";
6
6
  export class SignCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class SignCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, SignCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
6
6
  export class TagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class TagResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UntagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UntagResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateAliasRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateAliasCommand, serializeAws_json1_1UpdateAliasCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateAliasCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateAliasCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAliasCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateCustomKeyStoreRequestFilterSensitiveLog, UpdateCustomKeyStoreResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateCustomKeyStoreCommand, serializeAws_json1_1UpdateCustomKeyStoreCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateCustomKeyStoreCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateCustomKeyStoreCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateCustomKeyStoreCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateKeyDescriptionRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateKeyDescriptionCommand, serializeAws_json1_1UpdateKeyDescriptionCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateKeyDescriptionCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateKeyDescriptionCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateKeyDescriptionCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdatePrimaryRegionRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdatePrimaryRegionCommand, serializeAws_json1_1UpdatePrimaryRegionCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdatePrimaryRegionCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdatePrimaryRegionCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePrimaryRegionCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { VerifyRequestFilterSensitiveLog, VerifyResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1VerifyCommand, serializeAws_json1_1VerifyCommand } from "../protocols/Aws_json1_1";
6
6
  export class VerifyCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class VerifyCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, VerifyCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { VerifyMacRequestFilterSensitiveLog, VerifyMacResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1VerifyMacCommand, serializeAws_json1_1VerifyMacCommand } from "../protocols/Aws_json1_1";
6
6
  export class VerifyMacCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class VerifyMacCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, VerifyMacCommand.getEndpointParameterInstructions()));
@@ -58,8 +58,8 @@ import { UpdatePrimaryRegionCommandInput, UpdatePrimaryRegionCommandOutput } fro
58
58
  import { VerifyCommandInput, VerifyCommandOutput } from "./commands/VerifyCommand";
59
59
  import { VerifyMacCommandInput, VerifyMacCommandOutput } from "./commands/VerifyMacCommand";
60
60
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
61
- export declare type ServiceInputTypes = CancelKeyDeletionCommandInput | ConnectCustomKeyStoreCommandInput | CreateAliasCommandInput | CreateCustomKeyStoreCommandInput | CreateGrantCommandInput | CreateKeyCommandInput | DecryptCommandInput | DeleteAliasCommandInput | DeleteCustomKeyStoreCommandInput | DeleteImportedKeyMaterialCommandInput | DescribeCustomKeyStoresCommandInput | DescribeKeyCommandInput | DisableKeyCommandInput | DisableKeyRotationCommandInput | DisconnectCustomKeyStoreCommandInput | EnableKeyCommandInput | EnableKeyRotationCommandInput | EncryptCommandInput | GenerateDataKeyCommandInput | GenerateDataKeyPairCommandInput | GenerateDataKeyPairWithoutPlaintextCommandInput | GenerateDataKeyWithoutPlaintextCommandInput | GenerateMacCommandInput | GenerateRandomCommandInput | GetKeyPolicyCommandInput | GetKeyRotationStatusCommandInput | GetParametersForImportCommandInput | GetPublicKeyCommandInput | ImportKeyMaterialCommandInput | ListAliasesCommandInput | ListGrantsCommandInput | ListKeyPoliciesCommandInput | ListKeysCommandInput | ListResourceTagsCommandInput | ListRetirableGrantsCommandInput | PutKeyPolicyCommandInput | ReEncryptCommandInput | ReplicateKeyCommandInput | RetireGrantCommandInput | RevokeGrantCommandInput | ScheduleKeyDeletionCommandInput | SignCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateCustomKeyStoreCommandInput | UpdateKeyDescriptionCommandInput | UpdatePrimaryRegionCommandInput | VerifyCommandInput | VerifyMacCommandInput;
62
- export declare type ServiceOutputTypes = CancelKeyDeletionCommandOutput | ConnectCustomKeyStoreCommandOutput | CreateAliasCommandOutput | CreateCustomKeyStoreCommandOutput | CreateGrantCommandOutput | CreateKeyCommandOutput | DecryptCommandOutput | DeleteAliasCommandOutput | DeleteCustomKeyStoreCommandOutput | DeleteImportedKeyMaterialCommandOutput | DescribeCustomKeyStoresCommandOutput | DescribeKeyCommandOutput | DisableKeyCommandOutput | DisableKeyRotationCommandOutput | DisconnectCustomKeyStoreCommandOutput | EnableKeyCommandOutput | EnableKeyRotationCommandOutput | EncryptCommandOutput | GenerateDataKeyCommandOutput | GenerateDataKeyPairCommandOutput | GenerateDataKeyPairWithoutPlaintextCommandOutput | GenerateDataKeyWithoutPlaintextCommandOutput | GenerateMacCommandOutput | GenerateRandomCommandOutput | GetKeyPolicyCommandOutput | GetKeyRotationStatusCommandOutput | GetParametersForImportCommandOutput | GetPublicKeyCommandOutput | ImportKeyMaterialCommandOutput | ListAliasesCommandOutput | ListGrantsCommandOutput | ListKeyPoliciesCommandOutput | ListKeysCommandOutput | ListResourceTagsCommandOutput | ListRetirableGrantsCommandOutput | PutKeyPolicyCommandOutput | ReEncryptCommandOutput | ReplicateKeyCommandOutput | RetireGrantCommandOutput | RevokeGrantCommandOutput | ScheduleKeyDeletionCommandOutput | SignCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateCustomKeyStoreCommandOutput | UpdateKeyDescriptionCommandOutput | UpdatePrimaryRegionCommandOutput | VerifyCommandOutput | VerifyMacCommandOutput;
61
+ export type ServiceInputTypes = CancelKeyDeletionCommandInput | ConnectCustomKeyStoreCommandInput | CreateAliasCommandInput | CreateCustomKeyStoreCommandInput | CreateGrantCommandInput | CreateKeyCommandInput | DecryptCommandInput | DeleteAliasCommandInput | DeleteCustomKeyStoreCommandInput | DeleteImportedKeyMaterialCommandInput | DescribeCustomKeyStoresCommandInput | DescribeKeyCommandInput | DisableKeyCommandInput | DisableKeyRotationCommandInput | DisconnectCustomKeyStoreCommandInput | EnableKeyCommandInput | EnableKeyRotationCommandInput | EncryptCommandInput | GenerateDataKeyCommandInput | GenerateDataKeyPairCommandInput | GenerateDataKeyPairWithoutPlaintextCommandInput | GenerateDataKeyWithoutPlaintextCommandInput | GenerateMacCommandInput | GenerateRandomCommandInput | GetKeyPolicyCommandInput | GetKeyRotationStatusCommandInput | GetParametersForImportCommandInput | GetPublicKeyCommandInput | ImportKeyMaterialCommandInput | ListAliasesCommandInput | ListGrantsCommandInput | ListKeyPoliciesCommandInput | ListKeysCommandInput | ListResourceTagsCommandInput | ListRetirableGrantsCommandInput | PutKeyPolicyCommandInput | ReEncryptCommandInput | ReplicateKeyCommandInput | RetireGrantCommandInput | RevokeGrantCommandInput | ScheduleKeyDeletionCommandInput | SignCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateCustomKeyStoreCommandInput | UpdateKeyDescriptionCommandInput | UpdatePrimaryRegionCommandInput | VerifyCommandInput | VerifyMacCommandInput;
62
+ export type ServiceOutputTypes = CancelKeyDeletionCommandOutput | ConnectCustomKeyStoreCommandOutput | CreateAliasCommandOutput | CreateCustomKeyStoreCommandOutput | CreateGrantCommandOutput | CreateKeyCommandOutput | DecryptCommandOutput | DeleteAliasCommandOutput | DeleteCustomKeyStoreCommandOutput | DeleteImportedKeyMaterialCommandOutput | DescribeCustomKeyStoresCommandOutput | DescribeKeyCommandOutput | DisableKeyCommandOutput | DisableKeyRotationCommandOutput | DisconnectCustomKeyStoreCommandOutput | EnableKeyCommandOutput | EnableKeyRotationCommandOutput | EncryptCommandOutput | GenerateDataKeyCommandOutput | GenerateDataKeyPairCommandOutput | GenerateDataKeyPairWithoutPlaintextCommandOutput | GenerateDataKeyWithoutPlaintextCommandOutput | GenerateMacCommandOutput | GenerateRandomCommandOutput | GetKeyPolicyCommandOutput | GetKeyRotationStatusCommandOutput | GetParametersForImportCommandOutput | GetPublicKeyCommandOutput | ImportKeyMaterialCommandOutput | ListAliasesCommandOutput | ListGrantsCommandOutput | ListKeyPoliciesCommandOutput | ListKeysCommandOutput | ListResourceTagsCommandOutput | ListRetirableGrantsCommandOutput | PutKeyPolicyCommandOutput | ReEncryptCommandOutput | ReplicateKeyCommandOutput | RetireGrantCommandOutput | RevokeGrantCommandOutput | ScheduleKeyDeletionCommandOutput | SignCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateCustomKeyStoreCommandOutput | UpdateKeyDescriptionCommandOutput | UpdatePrimaryRegionCommandOutput | VerifyCommandOutput | VerifyMacCommandOutput;
63
63
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
64
64
  /**
65
65
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -160,13 +160,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
160
160
  */
161
161
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
162
162
  }
163
- declare type KMSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
163
+ type KMSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
164
164
  /**
165
165
  * The configuration interface of KMSClient class constructor that set the region, credentials and other options.
166
166
  */
167
167
  export interface KMSClientConfig extends KMSClientConfigType {
168
168
  }
169
- declare type KMSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
169
+ type KMSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
170
170
  /**
171
171
  * The resolved configuration interface of KMSClient class. This is resolved and normalized from the {@link KMSClientConfig | constructor configuration interface}.
172
172
  */
@@ -5,7 +5,7 @@ export interface ClientInputEndpointParameters {
5
5
  useFipsEndpoint?: boolean | Provider<boolean>;
6
6
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
7
  }
8
- export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
8
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
9
  defaultSigningName: string;
10
10
  };
11
11
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
@@ -246,7 +246,7 @@ import {
246
246
  ClientResolvedEndpointParameters,
247
247
  EndpointParameters,
248
248
  } from "./endpoint/EndpointParameters";
249
- export declare type ServiceInputTypes =
249
+ export type ServiceInputTypes =
250
250
  | CancelKeyDeletionCommandInput
251
251
  | ConnectCustomKeyStoreCommandInput
252
252
  | CreateAliasCommandInput
@@ -297,7 +297,7 @@ export declare type ServiceInputTypes =
297
297
  | UpdatePrimaryRegionCommandInput
298
298
  | VerifyCommandInput
299
299
  | VerifyMacCommandInput;
300
- export declare type ServiceOutputTypes =
300
+ export type ServiceOutputTypes =
301
301
  | CancelKeyDeletionCommandOutput
302
302
  | ConnectCustomKeyStoreCommandOutput
303
303
  | CreateAliasCommandOutput
@@ -372,7 +372,7 @@ export interface ClientDefaults
372
372
  logger?: __Logger;
373
373
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
374
374
  }
375
- declare type KMSClientConfigType = Partial<
375
+ type KMSClientConfigType = Partial<
376
376
  __SmithyConfiguration<__HttpHandlerOptions>
377
377
  > &
378
378
  ClientDefaults &
@@ -384,7 +384,7 @@ declare type KMSClientConfigType = Partial<
384
384
  UserAgentInputConfig &
385
385
  ClientInputEndpointParameters;
386
386
  export interface KMSClientConfig extends KMSClientConfigType {}
387
- declare type KMSClientResolvedConfigType =
387
+ type KMSClientResolvedConfigType =
388
388
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
389
389
  Required<ClientDefaults> &
390
390
  RegionResolvedConfig &
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export declare type ClientResolvedEndpointParameters =
20
- ClientInputEndpointParameters & {
21
- defaultSigningName: string;
22
- };
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
23
22
  export declare const resolveClientEndpointParameters: <T>(
24
23
  options: T & ClientInputEndpointParameters
25
24
  ) => T &
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kms",
3
3
  "description": "AWS SDK for JavaScript Kms Client for Node.js, Browser and React Native",
4
- "version": "3.294.0",
4
+ "version": "3.295.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,49 +20,49 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.294.0",
24
- "@aws-sdk/config-resolver": "3.292.0",
25
- "@aws-sdk/credential-provider-node": "3.294.0",
26
- "@aws-sdk/fetch-http-handler": "3.292.0",
27
- "@aws-sdk/hash-node": "3.292.0",
28
- "@aws-sdk/invalid-dependency": "3.292.0",
29
- "@aws-sdk/middleware-content-length": "3.292.0",
30
- "@aws-sdk/middleware-endpoint": "3.292.0",
31
- "@aws-sdk/middleware-host-header": "3.292.0",
32
- "@aws-sdk/middleware-logger": "3.292.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
- "@aws-sdk/middleware-retry": "3.293.0",
35
- "@aws-sdk/middleware-serde": "3.292.0",
36
- "@aws-sdk/middleware-signing": "3.292.0",
37
- "@aws-sdk/middleware-stack": "3.292.0",
38
- "@aws-sdk/middleware-user-agent": "3.293.0",
39
- "@aws-sdk/node-config-provider": "3.292.0",
40
- "@aws-sdk/node-http-handler": "3.292.0",
41
- "@aws-sdk/protocol-http": "3.292.0",
42
- "@aws-sdk/smithy-client": "3.292.0",
43
- "@aws-sdk/types": "3.292.0",
44
- "@aws-sdk/url-parser": "3.292.0",
45
- "@aws-sdk/util-base64": "3.292.0",
46
- "@aws-sdk/util-body-length-browser": "3.292.0",
47
- "@aws-sdk/util-body-length-node": "3.292.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
- "@aws-sdk/util-endpoints": "3.293.0",
51
- "@aws-sdk/util-retry": "3.292.0",
52
- "@aws-sdk/util-user-agent-browser": "3.292.0",
53
- "@aws-sdk/util-user-agent-node": "3.292.0",
54
- "@aws-sdk/util-utf8": "3.292.0",
55
- "tslib": "^2.3.1"
23
+ "@aws-sdk/client-sts": "3.295.0",
24
+ "@aws-sdk/config-resolver": "3.295.0",
25
+ "@aws-sdk/credential-provider-node": "3.295.0",
26
+ "@aws-sdk/fetch-http-handler": "3.295.0",
27
+ "@aws-sdk/hash-node": "3.295.0",
28
+ "@aws-sdk/invalid-dependency": "3.295.0",
29
+ "@aws-sdk/middleware-content-length": "3.295.0",
30
+ "@aws-sdk/middleware-endpoint": "3.295.0",
31
+ "@aws-sdk/middleware-host-header": "3.295.0",
32
+ "@aws-sdk/middleware-logger": "3.295.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.295.0",
34
+ "@aws-sdk/middleware-retry": "3.295.0",
35
+ "@aws-sdk/middleware-serde": "3.295.0",
36
+ "@aws-sdk/middleware-signing": "3.295.0",
37
+ "@aws-sdk/middleware-stack": "3.295.0",
38
+ "@aws-sdk/middleware-user-agent": "3.295.0",
39
+ "@aws-sdk/node-config-provider": "3.295.0",
40
+ "@aws-sdk/node-http-handler": "3.295.0",
41
+ "@aws-sdk/protocol-http": "3.295.0",
42
+ "@aws-sdk/smithy-client": "3.295.0",
43
+ "@aws-sdk/types": "3.295.0",
44
+ "@aws-sdk/url-parser": "3.295.0",
45
+ "@aws-sdk/util-base64": "3.295.0",
46
+ "@aws-sdk/util-body-length-browser": "3.295.0",
47
+ "@aws-sdk/util-body-length-node": "3.295.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.295.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.295.0",
50
+ "@aws-sdk/util-endpoints": "3.295.0",
51
+ "@aws-sdk/util-retry": "3.295.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.295.0",
53
+ "@aws-sdk/util-user-agent-node": "3.295.0",
54
+ "@aws-sdk/util-utf8": "3.295.0",
55
+ "tslib": "^2.5.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.293.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
59
  "@tsconfig/node14": "1.0.3",
60
60
  "@types/node": "^14.14.31",
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "rimraf": "3.0.2",
64
64
  "typedoc": "0.23.23",
65
- "typescript": "~4.6.2"
65
+ "typescript": "~4.9.5"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=14.0.0"