@aws-sdk/client-kms 3.50.0 → 3.53.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 (80) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/KMSServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +433 -3
  5. package/dist-cjs/protocols/Aws_json1_1.js +624 -2521
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/KMSServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +398 -1
  9. package/dist-es/protocols/Aws_json1_1.js +1320 -2648
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/KMSServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +233 -133
  13. package/dist-types/ts3.4/KMS.d.ts +245 -0
  14. package/dist-types/ts3.4/KMSClient.d.ts +121 -0
  15. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/SignCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/index.d.ts +48 -0
  64. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  65. package/dist-types/ts3.4/index.d.ts +6 -0
  66. package/dist-types/ts3.4/models/KMSServiceException.d.ts +6 -0
  67. package/dist-types/ts3.4/models/index.d.ts +1 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +1484 -0
  69. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  70. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +4 -0
  71. package/dist-types/ts3.4/pagination/ListGrantsPaginator.d.ts +4 -0
  72. package/dist-types/ts3.4/pagination/ListKeyPoliciesPaginator.d.ts +4 -0
  73. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +4 -0
  74. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  75. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +146 -0
  76. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  77. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  78. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  79. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  80. package/package.json +33 -33
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./KMSClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { KMSServiceException } from "./models/KMSServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var KMSServiceException = (function (_super) {
4
+ __extends(KMSServiceException, _super);
5
+ function KMSServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, KMSServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return KMSServiceException;
11
+ }(__ServiceException));
12
+ export { KMSServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { KMSServiceException as __BaseException } from "./KMSServiceException";
3
4
  export var AlgorithmSpec;
4
5
  (function (AlgorithmSpec) {
5
6
  AlgorithmSpec["RSAES_OAEP_SHA_1"] = "RSAES_OAEP_SHA_1";
@@ -10,6 +11,18 @@ export var AliasListEntry;
10
11
  (function (AliasListEntry) {
11
12
  AliasListEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
12
13
  })(AliasListEntry || (AliasListEntry = {}));
14
+ var AlreadyExistsException = (function (_super) {
15
+ __extends(AlreadyExistsException, _super);
16
+ function AlreadyExistsException(opts) {
17
+ var _this = _super.call(this, __assign({ name: "AlreadyExistsException", $fault: "client" }, opts)) || this;
18
+ _this.name = "AlreadyExistsException";
19
+ _this.$fault = "client";
20
+ Object.setPrototypeOf(_this, AlreadyExistsException.prototype);
21
+ return _this;
22
+ }
23
+ return AlreadyExistsException;
24
+ }(__BaseException));
25
+ export { AlreadyExistsException };
13
26
  export var CancelKeyDeletionRequest;
14
27
  (function (CancelKeyDeletionRequest) {
15
28
  CancelKeyDeletionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -18,6 +31,126 @@ export var CancelKeyDeletionResponse;
18
31
  (function (CancelKeyDeletionResponse) {
19
32
  CancelKeyDeletionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
20
33
  })(CancelKeyDeletionResponse || (CancelKeyDeletionResponse = {}));
34
+ var DependencyTimeoutException = (function (_super) {
35
+ __extends(DependencyTimeoutException, _super);
36
+ function DependencyTimeoutException(opts) {
37
+ var _this = _super.call(this, __assign({ name: "DependencyTimeoutException", $fault: "server" }, opts)) || this;
38
+ _this.name = "DependencyTimeoutException";
39
+ _this.$fault = "server";
40
+ Object.setPrototypeOf(_this, DependencyTimeoutException.prototype);
41
+ return _this;
42
+ }
43
+ return DependencyTimeoutException;
44
+ }(__BaseException));
45
+ export { DependencyTimeoutException };
46
+ var InvalidArnException = (function (_super) {
47
+ __extends(InvalidArnException, _super);
48
+ function InvalidArnException(opts) {
49
+ var _this = _super.call(this, __assign({ name: "InvalidArnException", $fault: "client" }, opts)) || this;
50
+ _this.name = "InvalidArnException";
51
+ _this.$fault = "client";
52
+ Object.setPrototypeOf(_this, InvalidArnException.prototype);
53
+ return _this;
54
+ }
55
+ return InvalidArnException;
56
+ }(__BaseException));
57
+ export { InvalidArnException };
58
+ var KMSInternalException = (function (_super) {
59
+ __extends(KMSInternalException, _super);
60
+ function KMSInternalException(opts) {
61
+ var _this = _super.call(this, __assign({ name: "KMSInternalException", $fault: "server" }, opts)) || this;
62
+ _this.name = "KMSInternalException";
63
+ _this.$fault = "server";
64
+ Object.setPrototypeOf(_this, KMSInternalException.prototype);
65
+ return _this;
66
+ }
67
+ return KMSInternalException;
68
+ }(__BaseException));
69
+ export { KMSInternalException };
70
+ var KMSInvalidStateException = (function (_super) {
71
+ __extends(KMSInvalidStateException, _super);
72
+ function KMSInvalidStateException(opts) {
73
+ var _this = _super.call(this, __assign({ name: "KMSInvalidStateException", $fault: "client" }, opts)) || this;
74
+ _this.name = "KMSInvalidStateException";
75
+ _this.$fault = "client";
76
+ Object.setPrototypeOf(_this, KMSInvalidStateException.prototype);
77
+ return _this;
78
+ }
79
+ return KMSInvalidStateException;
80
+ }(__BaseException));
81
+ export { KMSInvalidStateException };
82
+ var NotFoundException = (function (_super) {
83
+ __extends(NotFoundException, _super);
84
+ function NotFoundException(opts) {
85
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
86
+ _this.name = "NotFoundException";
87
+ _this.$fault = "client";
88
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
89
+ return _this;
90
+ }
91
+ return NotFoundException;
92
+ }(__BaseException));
93
+ export { NotFoundException };
94
+ var CloudHsmClusterInUseException = (function (_super) {
95
+ __extends(CloudHsmClusterInUseException, _super);
96
+ function CloudHsmClusterInUseException(opts) {
97
+ var _this = _super.call(this, __assign({ name: "CloudHsmClusterInUseException", $fault: "client" }, opts)) || this;
98
+ _this.name = "CloudHsmClusterInUseException";
99
+ _this.$fault = "client";
100
+ Object.setPrototypeOf(_this, CloudHsmClusterInUseException.prototype);
101
+ return _this;
102
+ }
103
+ return CloudHsmClusterInUseException;
104
+ }(__BaseException));
105
+ export { CloudHsmClusterInUseException };
106
+ var CloudHsmClusterInvalidConfigurationException = (function (_super) {
107
+ __extends(CloudHsmClusterInvalidConfigurationException, _super);
108
+ function CloudHsmClusterInvalidConfigurationException(opts) {
109
+ var _this = _super.call(this, __assign({ name: "CloudHsmClusterInvalidConfigurationException", $fault: "client" }, opts)) || this;
110
+ _this.name = "CloudHsmClusterInvalidConfigurationException";
111
+ _this.$fault = "client";
112
+ Object.setPrototypeOf(_this, CloudHsmClusterInvalidConfigurationException.prototype);
113
+ return _this;
114
+ }
115
+ return CloudHsmClusterInvalidConfigurationException;
116
+ }(__BaseException));
117
+ export { CloudHsmClusterInvalidConfigurationException };
118
+ var CloudHsmClusterNotActiveException = (function (_super) {
119
+ __extends(CloudHsmClusterNotActiveException, _super);
120
+ function CloudHsmClusterNotActiveException(opts) {
121
+ var _this = _super.call(this, __assign({ name: "CloudHsmClusterNotActiveException", $fault: "client" }, opts)) || this;
122
+ _this.name = "CloudHsmClusterNotActiveException";
123
+ _this.$fault = "client";
124
+ Object.setPrototypeOf(_this, CloudHsmClusterNotActiveException.prototype);
125
+ return _this;
126
+ }
127
+ return CloudHsmClusterNotActiveException;
128
+ }(__BaseException));
129
+ export { CloudHsmClusterNotActiveException };
130
+ var CloudHsmClusterNotFoundException = (function (_super) {
131
+ __extends(CloudHsmClusterNotFoundException, _super);
132
+ function CloudHsmClusterNotFoundException(opts) {
133
+ var _this = _super.call(this, __assign({ name: "CloudHsmClusterNotFoundException", $fault: "client" }, opts)) || this;
134
+ _this.name = "CloudHsmClusterNotFoundException";
135
+ _this.$fault = "client";
136
+ Object.setPrototypeOf(_this, CloudHsmClusterNotFoundException.prototype);
137
+ return _this;
138
+ }
139
+ return CloudHsmClusterNotFoundException;
140
+ }(__BaseException));
141
+ export { CloudHsmClusterNotFoundException };
142
+ var CloudHsmClusterNotRelatedException = (function (_super) {
143
+ __extends(CloudHsmClusterNotRelatedException, _super);
144
+ function CloudHsmClusterNotRelatedException(opts) {
145
+ var _this = _super.call(this, __assign({ name: "CloudHsmClusterNotRelatedException", $fault: "client" }, opts)) || this;
146
+ _this.name = "CloudHsmClusterNotRelatedException";
147
+ _this.$fault = "client";
148
+ Object.setPrototypeOf(_this, CloudHsmClusterNotRelatedException.prototype);
149
+ return _this;
150
+ }
151
+ return CloudHsmClusterNotRelatedException;
152
+ }(__BaseException));
153
+ export { CloudHsmClusterNotRelatedException };
21
154
  export var ConnectCustomKeyStoreRequest;
22
155
  (function (ConnectCustomKeyStoreRequest) {
23
156
  ConnectCustomKeyStoreRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -26,6 +159,30 @@ export var ConnectCustomKeyStoreResponse;
26
159
  (function (ConnectCustomKeyStoreResponse) {
27
160
  ConnectCustomKeyStoreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
28
161
  })(ConnectCustomKeyStoreResponse || (ConnectCustomKeyStoreResponse = {}));
162
+ var CustomKeyStoreInvalidStateException = (function (_super) {
163
+ __extends(CustomKeyStoreInvalidStateException, _super);
164
+ function CustomKeyStoreInvalidStateException(opts) {
165
+ var _this = _super.call(this, __assign({ name: "CustomKeyStoreInvalidStateException", $fault: "client" }, opts)) || this;
166
+ _this.name = "CustomKeyStoreInvalidStateException";
167
+ _this.$fault = "client";
168
+ Object.setPrototypeOf(_this, CustomKeyStoreInvalidStateException.prototype);
169
+ return _this;
170
+ }
171
+ return CustomKeyStoreInvalidStateException;
172
+ }(__BaseException));
173
+ export { CustomKeyStoreInvalidStateException };
174
+ var CustomKeyStoreNotFoundException = (function (_super) {
175
+ __extends(CustomKeyStoreNotFoundException, _super);
176
+ function CustomKeyStoreNotFoundException(opts) {
177
+ var _this = _super.call(this, __assign({ name: "CustomKeyStoreNotFoundException", $fault: "client" }, opts)) || this;
178
+ _this.name = "CustomKeyStoreNotFoundException";
179
+ _this.$fault = "client";
180
+ Object.setPrototypeOf(_this, CustomKeyStoreNotFoundException.prototype);
181
+ return _this;
182
+ }
183
+ return CustomKeyStoreNotFoundException;
184
+ }(__BaseException));
185
+ export { CustomKeyStoreNotFoundException };
29
186
  export var ConnectionErrorCodeType;
30
187
  (function (ConnectionErrorCodeType) {
31
188
  ConnectionErrorCodeType["CLUSTER_NOT_FOUND"] = "CLUSTER_NOT_FOUND";
@@ -50,6 +207,30 @@ export var CreateAliasRequest;
50
207
  (function (CreateAliasRequest) {
51
208
  CreateAliasRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
52
209
  })(CreateAliasRequest || (CreateAliasRequest = {}));
210
+ var InvalidAliasNameException = (function (_super) {
211
+ __extends(InvalidAliasNameException, _super);
212
+ function InvalidAliasNameException(opts) {
213
+ var _this = _super.call(this, __assign({ name: "InvalidAliasNameException", $fault: "client" }, opts)) || this;
214
+ _this.name = "InvalidAliasNameException";
215
+ _this.$fault = "client";
216
+ Object.setPrototypeOf(_this, InvalidAliasNameException.prototype);
217
+ return _this;
218
+ }
219
+ return InvalidAliasNameException;
220
+ }(__BaseException));
221
+ export { InvalidAliasNameException };
222
+ var LimitExceededException = (function (_super) {
223
+ __extends(LimitExceededException, _super);
224
+ function LimitExceededException(opts) {
225
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
226
+ _this.name = "LimitExceededException";
227
+ _this.$fault = "client";
228
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
229
+ return _this;
230
+ }
231
+ return LimitExceededException;
232
+ }(__BaseException));
233
+ export { LimitExceededException };
53
234
  export var CreateCustomKeyStoreRequest;
54
235
  (function (CreateCustomKeyStoreRequest) {
55
236
  CreateCustomKeyStoreRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.KeyStorePassword && { KeyStorePassword: SENSITIVE_STRING }))); };
@@ -58,6 +239,30 @@ export var CreateCustomKeyStoreResponse;
58
239
  (function (CreateCustomKeyStoreResponse) {
59
240
  CreateCustomKeyStoreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
60
241
  })(CreateCustomKeyStoreResponse || (CreateCustomKeyStoreResponse = {}));
242
+ var CustomKeyStoreNameInUseException = (function (_super) {
243
+ __extends(CustomKeyStoreNameInUseException, _super);
244
+ function CustomKeyStoreNameInUseException(opts) {
245
+ var _this = _super.call(this, __assign({ name: "CustomKeyStoreNameInUseException", $fault: "client" }, opts)) || this;
246
+ _this.name = "CustomKeyStoreNameInUseException";
247
+ _this.$fault = "client";
248
+ Object.setPrototypeOf(_this, CustomKeyStoreNameInUseException.prototype);
249
+ return _this;
250
+ }
251
+ return CustomKeyStoreNameInUseException;
252
+ }(__BaseException));
253
+ export { CustomKeyStoreNameInUseException };
254
+ var IncorrectTrustAnchorException = (function (_super) {
255
+ __extends(IncorrectTrustAnchorException, _super);
256
+ function IncorrectTrustAnchorException(opts) {
257
+ var _this = _super.call(this, __assign({ name: "IncorrectTrustAnchorException", $fault: "client" }, opts)) || this;
258
+ _this.name = "IncorrectTrustAnchorException";
259
+ _this.$fault = "client";
260
+ Object.setPrototypeOf(_this, IncorrectTrustAnchorException.prototype);
261
+ return _this;
262
+ }
263
+ return IncorrectTrustAnchorException;
264
+ }(__BaseException));
265
+ export { IncorrectTrustAnchorException };
61
266
  export var GrantConstraints;
62
267
  (function (GrantConstraints) {
63
268
  GrantConstraints.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -87,6 +292,30 @@ export var CreateGrantResponse;
87
292
  (function (CreateGrantResponse) {
88
293
  CreateGrantResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
89
294
  })(CreateGrantResponse || (CreateGrantResponse = {}));
295
+ var DisabledException = (function (_super) {
296
+ __extends(DisabledException, _super);
297
+ function DisabledException(opts) {
298
+ var _this = _super.call(this, __assign({ name: "DisabledException", $fault: "client" }, opts)) || this;
299
+ _this.name = "DisabledException";
300
+ _this.$fault = "client";
301
+ Object.setPrototypeOf(_this, DisabledException.prototype);
302
+ return _this;
303
+ }
304
+ return DisabledException;
305
+ }(__BaseException));
306
+ export { DisabledException };
307
+ var InvalidGrantTokenException = (function (_super) {
308
+ __extends(InvalidGrantTokenException, _super);
309
+ function InvalidGrantTokenException(opts) {
310
+ var _this = _super.call(this, __assign({ name: "InvalidGrantTokenException", $fault: "client" }, opts)) || this;
311
+ _this.name = "InvalidGrantTokenException";
312
+ _this.$fault = "client";
313
+ Object.setPrototypeOf(_this, InvalidGrantTokenException.prototype);
314
+ return _this;
315
+ }
316
+ return InvalidGrantTokenException;
317
+ }(__BaseException));
318
+ export { InvalidGrantTokenException };
90
319
  export var CustomerMasterKeySpec;
91
320
  (function (CustomerMasterKeySpec) {
92
321
  CustomerMasterKeySpec["ECC_NIST_P256"] = "ECC_NIST_P256";
@@ -188,6 +417,54 @@ export var CreateKeyResponse;
188
417
  (function (CreateKeyResponse) {
189
418
  CreateKeyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
190
419
  })(CreateKeyResponse || (CreateKeyResponse = {}));
420
+ var MalformedPolicyDocumentException = (function (_super) {
421
+ __extends(MalformedPolicyDocumentException, _super);
422
+ function MalformedPolicyDocumentException(opts) {
423
+ var _this = _super.call(this, __assign({ name: "MalformedPolicyDocumentException", $fault: "client" }, opts)) || this;
424
+ _this.name = "MalformedPolicyDocumentException";
425
+ _this.$fault = "client";
426
+ Object.setPrototypeOf(_this, MalformedPolicyDocumentException.prototype);
427
+ return _this;
428
+ }
429
+ return MalformedPolicyDocumentException;
430
+ }(__BaseException));
431
+ export { MalformedPolicyDocumentException };
432
+ var TagException = (function (_super) {
433
+ __extends(TagException, _super);
434
+ function TagException(opts) {
435
+ var _this = _super.call(this, __assign({ name: "TagException", $fault: "client" }, opts)) || this;
436
+ _this.name = "TagException";
437
+ _this.$fault = "client";
438
+ Object.setPrototypeOf(_this, TagException.prototype);
439
+ return _this;
440
+ }
441
+ return TagException;
442
+ }(__BaseException));
443
+ export { TagException };
444
+ var UnsupportedOperationException = (function (_super) {
445
+ __extends(UnsupportedOperationException, _super);
446
+ function UnsupportedOperationException(opts) {
447
+ var _this = _super.call(this, __assign({ name: "UnsupportedOperationException", $fault: "client" }, opts)) || this;
448
+ _this.name = "UnsupportedOperationException";
449
+ _this.$fault = "client";
450
+ Object.setPrototypeOf(_this, UnsupportedOperationException.prototype);
451
+ return _this;
452
+ }
453
+ return UnsupportedOperationException;
454
+ }(__BaseException));
455
+ export { UnsupportedOperationException };
456
+ var CustomKeyStoreHasCMKsException = (function (_super) {
457
+ __extends(CustomKeyStoreHasCMKsException, _super);
458
+ function CustomKeyStoreHasCMKsException(opts) {
459
+ var _this = _super.call(this, __assign({ name: "CustomKeyStoreHasCMKsException", $fault: "client" }, opts)) || this;
460
+ _this.name = "CustomKeyStoreHasCMKsException";
461
+ _this.$fault = "client";
462
+ Object.setPrototypeOf(_this, CustomKeyStoreHasCMKsException.prototype);
463
+ return _this;
464
+ }
465
+ return CustomKeyStoreHasCMKsException;
466
+ }(__BaseException));
467
+ export { CustomKeyStoreHasCMKsException };
191
468
  export var CustomKeyStoresListEntry;
192
469
  (function (CustomKeyStoresListEntry) {
193
470
  CustomKeyStoresListEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -215,6 +492,54 @@ export var DecryptResponse;
215
492
  (function (DecryptResponse) {
216
493
  DecryptResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Plaintext && { Plaintext: SENSITIVE_STRING }))); };
217
494
  })(DecryptResponse || (DecryptResponse = {}));
495
+ var IncorrectKeyException = (function (_super) {
496
+ __extends(IncorrectKeyException, _super);
497
+ function IncorrectKeyException(opts) {
498
+ var _this = _super.call(this, __assign({ name: "IncorrectKeyException", $fault: "client" }, opts)) || this;
499
+ _this.name = "IncorrectKeyException";
500
+ _this.$fault = "client";
501
+ Object.setPrototypeOf(_this, IncorrectKeyException.prototype);
502
+ return _this;
503
+ }
504
+ return IncorrectKeyException;
505
+ }(__BaseException));
506
+ export { IncorrectKeyException };
507
+ var InvalidCiphertextException = (function (_super) {
508
+ __extends(InvalidCiphertextException, _super);
509
+ function InvalidCiphertextException(opts) {
510
+ var _this = _super.call(this, __assign({ name: "InvalidCiphertextException", $fault: "client" }, opts)) || this;
511
+ _this.name = "InvalidCiphertextException";
512
+ _this.$fault = "client";
513
+ Object.setPrototypeOf(_this, InvalidCiphertextException.prototype);
514
+ return _this;
515
+ }
516
+ return InvalidCiphertextException;
517
+ }(__BaseException));
518
+ export { InvalidCiphertextException };
519
+ var InvalidKeyUsageException = (function (_super) {
520
+ __extends(InvalidKeyUsageException, _super);
521
+ function InvalidKeyUsageException(opts) {
522
+ var _this = _super.call(this, __assign({ name: "InvalidKeyUsageException", $fault: "client" }, opts)) || this;
523
+ _this.name = "InvalidKeyUsageException";
524
+ _this.$fault = "client";
525
+ Object.setPrototypeOf(_this, InvalidKeyUsageException.prototype);
526
+ return _this;
527
+ }
528
+ return InvalidKeyUsageException;
529
+ }(__BaseException));
530
+ export { InvalidKeyUsageException };
531
+ var KeyUnavailableException = (function (_super) {
532
+ __extends(KeyUnavailableException, _super);
533
+ function KeyUnavailableException(opts) {
534
+ var _this = _super.call(this, __assign({ name: "KeyUnavailableException", $fault: "server" }, opts)) || this;
535
+ _this.name = "KeyUnavailableException";
536
+ _this.$fault = "server";
537
+ Object.setPrototypeOf(_this, KeyUnavailableException.prototype);
538
+ return _this;
539
+ }
540
+ return KeyUnavailableException;
541
+ }(__BaseException));
542
+ export { KeyUnavailableException };
218
543
  export var DeleteAliasRequest;
219
544
  (function (DeleteAliasRequest) {
220
545
  DeleteAliasRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -239,6 +564,18 @@ export var DescribeCustomKeyStoresResponse;
239
564
  (function (DescribeCustomKeyStoresResponse) {
240
565
  DescribeCustomKeyStoresResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
241
566
  })(DescribeCustomKeyStoresResponse || (DescribeCustomKeyStoresResponse = {}));
567
+ var InvalidMarkerException = (function (_super) {
568
+ __extends(InvalidMarkerException, _super);
569
+ function InvalidMarkerException(opts) {
570
+ var _this = _super.call(this, __assign({ name: "InvalidMarkerException", $fault: "client" }, opts)) || this;
571
+ _this.name = "InvalidMarkerException";
572
+ _this.$fault = "client";
573
+ Object.setPrototypeOf(_this, InvalidMarkerException.prototype);
574
+ return _this;
575
+ }
576
+ return InvalidMarkerException;
577
+ }(__BaseException));
578
+ export { InvalidMarkerException };
242
579
  export var DescribeKeyRequest;
243
580
  (function (DescribeKeyRequest) {
244
581
  DescribeKeyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -279,6 +616,18 @@ export var EncryptResponse;
279
616
  (function (EncryptResponse) {
280
617
  EncryptResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
281
618
  })(EncryptResponse || (EncryptResponse = {}));
619
+ var ExpiredImportTokenException = (function (_super) {
620
+ __extends(ExpiredImportTokenException, _super);
621
+ function ExpiredImportTokenException(opts) {
622
+ var _this = _super.call(this, __assign({ name: "ExpiredImportTokenException", $fault: "client" }, opts)) || this;
623
+ _this.name = "ExpiredImportTokenException";
624
+ _this.$fault = "client";
625
+ Object.setPrototypeOf(_this, ExpiredImportTokenException.prototype);
626
+ return _this;
627
+ }
628
+ return ExpiredImportTokenException;
629
+ }(__BaseException));
630
+ export { ExpiredImportTokenException };
282
631
  export var GenerateDataKeyRequest;
283
632
  (function (GenerateDataKeyRequest) {
284
633
  GenerateDataKeyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -367,10 +716,58 @@ export var ImportKeyMaterialResponse;
367
716
  (function (ImportKeyMaterialResponse) {
368
717
  ImportKeyMaterialResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
369
718
  })(ImportKeyMaterialResponse || (ImportKeyMaterialResponse = {}));
719
+ var IncorrectKeyMaterialException = (function (_super) {
720
+ __extends(IncorrectKeyMaterialException, _super);
721
+ function IncorrectKeyMaterialException(opts) {
722
+ var _this = _super.call(this, __assign({ name: "IncorrectKeyMaterialException", $fault: "client" }, opts)) || this;
723
+ _this.name = "IncorrectKeyMaterialException";
724
+ _this.$fault = "client";
725
+ Object.setPrototypeOf(_this, IncorrectKeyMaterialException.prototype);
726
+ return _this;
727
+ }
728
+ return IncorrectKeyMaterialException;
729
+ }(__BaseException));
730
+ export { IncorrectKeyMaterialException };
731
+ var InvalidImportTokenException = (function (_super) {
732
+ __extends(InvalidImportTokenException, _super);
733
+ function InvalidImportTokenException(opts) {
734
+ var _this = _super.call(this, __assign({ name: "InvalidImportTokenException", $fault: "client" }, opts)) || this;
735
+ _this.name = "InvalidImportTokenException";
736
+ _this.$fault = "client";
737
+ Object.setPrototypeOf(_this, InvalidImportTokenException.prototype);
738
+ return _this;
739
+ }
740
+ return InvalidImportTokenException;
741
+ }(__BaseException));
742
+ export { InvalidImportTokenException };
743
+ var InvalidGrantIdException = (function (_super) {
744
+ __extends(InvalidGrantIdException, _super);
745
+ function InvalidGrantIdException(opts) {
746
+ var _this = _super.call(this, __assign({ name: "InvalidGrantIdException", $fault: "client" }, opts)) || this;
747
+ _this.name = "InvalidGrantIdException";
748
+ _this.$fault = "client";
749
+ Object.setPrototypeOf(_this, InvalidGrantIdException.prototype);
750
+ return _this;
751
+ }
752
+ return InvalidGrantIdException;
753
+ }(__BaseException));
754
+ export { InvalidGrantIdException };
370
755
  export var KeyListEntry;
371
756
  (function (KeyListEntry) {
372
757
  KeyListEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
373
758
  })(KeyListEntry || (KeyListEntry = {}));
759
+ var KMSInvalidSignatureException = (function (_super) {
760
+ __extends(KMSInvalidSignatureException, _super);
761
+ function KMSInvalidSignatureException(opts) {
762
+ var _this = _super.call(this, __assign({ name: "KMSInvalidSignatureException", $fault: "client" }, opts)) || this;
763
+ _this.name = "KMSInvalidSignatureException";
764
+ _this.$fault = "client";
765
+ Object.setPrototypeOf(_this, KMSInvalidSignatureException.prototype);
766
+ return _this;
767
+ }
768
+ return KMSInvalidSignatureException;
769
+ }(__BaseException));
770
+ export { KMSInvalidSignatureException };
374
771
  export var ListAliasesRequest;
375
772
  (function (ListAliasesRequest) {
376
773
  ListAliasesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };