@aws-sdk/client-kms 3.183.0 → 3.185.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 (70) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/KMS.js +209 -202
  4. package/dist-es/KMSClient.js +28 -22
  5. package/dist-es/commands/CancelKeyDeletionCommand.js +28 -21
  6. package/dist-es/commands/ConnectCustomKeyStoreCommand.js +28 -21
  7. package/dist-es/commands/CreateAliasCommand.js +29 -22
  8. package/dist-es/commands/CreateCustomKeyStoreCommand.js +28 -21
  9. package/dist-es/commands/CreateGrantCommand.js +28 -21
  10. package/dist-es/commands/CreateKeyCommand.js +28 -21
  11. package/dist-es/commands/DecryptCommand.js +28 -21
  12. package/dist-es/commands/DeleteAliasCommand.js +29 -22
  13. package/dist-es/commands/DeleteCustomKeyStoreCommand.js +28 -21
  14. package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +29 -22
  15. package/dist-es/commands/DescribeCustomKeyStoresCommand.js +28 -21
  16. package/dist-es/commands/DescribeKeyCommand.js +28 -21
  17. package/dist-es/commands/DisableKeyCommand.js +29 -22
  18. package/dist-es/commands/DisableKeyRotationCommand.js +29 -22
  19. package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +28 -21
  20. package/dist-es/commands/EnableKeyCommand.js +29 -22
  21. package/dist-es/commands/EnableKeyRotationCommand.js +29 -22
  22. package/dist-es/commands/EncryptCommand.js +28 -21
  23. package/dist-es/commands/GenerateDataKeyCommand.js +28 -21
  24. package/dist-es/commands/GenerateDataKeyPairCommand.js +28 -21
  25. package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +28 -21
  26. package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +28 -21
  27. package/dist-es/commands/GenerateMacCommand.js +28 -21
  28. package/dist-es/commands/GenerateRandomCommand.js +28 -21
  29. package/dist-es/commands/GetKeyPolicyCommand.js +28 -21
  30. package/dist-es/commands/GetKeyRotationStatusCommand.js +28 -21
  31. package/dist-es/commands/GetParametersForImportCommand.js +28 -21
  32. package/dist-es/commands/GetPublicKeyCommand.js +28 -21
  33. package/dist-es/commands/ImportKeyMaterialCommand.js +28 -21
  34. package/dist-es/commands/ListAliasesCommand.js +28 -21
  35. package/dist-es/commands/ListGrantsCommand.js +28 -21
  36. package/dist-es/commands/ListKeyPoliciesCommand.js +28 -21
  37. package/dist-es/commands/ListKeysCommand.js +28 -21
  38. package/dist-es/commands/ListResourceTagsCommand.js +28 -21
  39. package/dist-es/commands/ListRetirableGrantsCommand.js +28 -21
  40. package/dist-es/commands/PutKeyPolicyCommand.js +29 -22
  41. package/dist-es/commands/ReEncryptCommand.js +28 -21
  42. package/dist-es/commands/ReplicateKeyCommand.js +28 -21
  43. package/dist-es/commands/RetireGrantCommand.js +29 -22
  44. package/dist-es/commands/RevokeGrantCommand.js +29 -22
  45. package/dist-es/commands/ScheduleKeyDeletionCommand.js +28 -21
  46. package/dist-es/commands/SignCommand.js +28 -21
  47. package/dist-es/commands/TagResourceCommand.js +29 -22
  48. package/dist-es/commands/UntagResourceCommand.js +29 -22
  49. package/dist-es/commands/UpdateAliasCommand.js +29 -22
  50. package/dist-es/commands/UpdateCustomKeyStoreCommand.js +28 -21
  51. package/dist-es/commands/UpdateKeyDescriptionCommand.js +29 -22
  52. package/dist-es/commands/UpdatePrimaryRegionCommand.js +29 -22
  53. package/dist-es/commands/VerifyCommand.js +28 -21
  54. package/dist-es/commands/VerifyMacCommand.js +28 -21
  55. package/dist-es/endpoints.js +8 -8
  56. package/dist-es/models/KMSServiceException.js +10 -5
  57. package/dist-es/models/models_0.js +502 -699
  58. package/dist-es/pagination/DescribeCustomKeyStoresPaginator.js +68 -25
  59. package/dist-es/pagination/ListAliasesPaginator.js +68 -25
  60. package/dist-es/pagination/ListGrantsPaginator.js +68 -25
  61. package/dist-es/pagination/ListKeyPoliciesPaginator.js +68 -25
  62. package/dist-es/pagination/ListKeysPaginator.js +68 -25
  63. package/dist-es/pagination/ListResourceTagsPaginator.js +68 -25
  64. package/dist-es/pagination/ListRetirableGrantsPaginator.js +68 -25
  65. package/dist-es/protocols/Aws_json1_1.js +4852 -3725
  66. package/dist-es/runtimeConfig.browser.js +12 -26
  67. package/dist-es/runtimeConfig.js +12 -30
  68. package/dist-es/runtimeConfig.native.js +5 -8
  69. package/dist-es/runtimeConfig.shared.js +11 -8
  70. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __assign, __extends } from "tslib";
1
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
3
  import { KMSServiceException as __BaseException } from "./KMSServiceException";
3
4
  export var AlgorithmSpec;
@@ -6,162 +7,162 @@ export var AlgorithmSpec;
6
7
  AlgorithmSpec["RSAES_OAEP_SHA_256"] = "RSAES_OAEP_SHA_256";
7
8
  AlgorithmSpec["RSAES_PKCS1_V1_5"] = "RSAES_PKCS1_V1_5";
8
9
  })(AlgorithmSpec || (AlgorithmSpec = {}));
9
- export class AlreadyExistsException extends __BaseException {
10
- constructor(opts) {
11
- super({
12
- name: "AlreadyExistsException",
13
- $fault: "client",
14
- ...opts,
15
- });
16
- this.name = "AlreadyExistsException";
17
- this.$fault = "client";
18
- Object.setPrototypeOf(this, AlreadyExistsException.prototype);
19
- }
20
- }
21
- export class DependencyTimeoutException extends __BaseException {
22
- constructor(opts) {
23
- super({
24
- name: "DependencyTimeoutException",
25
- $fault: "server",
26
- ...opts,
27
- });
28
- this.name = "DependencyTimeoutException";
29
- this.$fault = "server";
30
- Object.setPrototypeOf(this, DependencyTimeoutException.prototype);
31
- }
32
- }
33
- export class InvalidArnException extends __BaseException {
34
- constructor(opts) {
35
- super({
36
- name: "InvalidArnException",
37
- $fault: "client",
38
- ...opts,
39
- });
40
- this.name = "InvalidArnException";
41
- this.$fault = "client";
42
- Object.setPrototypeOf(this, InvalidArnException.prototype);
43
- }
44
- }
45
- export class KMSInternalException extends __BaseException {
46
- constructor(opts) {
47
- super({
48
- name: "KMSInternalException",
49
- $fault: "server",
50
- ...opts,
51
- });
52
- this.name = "KMSInternalException";
53
- this.$fault = "server";
54
- Object.setPrototypeOf(this, KMSInternalException.prototype);
55
- }
56
- }
57
- export class KMSInvalidStateException extends __BaseException {
58
- constructor(opts) {
59
- super({
60
- name: "KMSInvalidStateException",
61
- $fault: "client",
62
- ...opts,
63
- });
64
- this.name = "KMSInvalidStateException";
65
- this.$fault = "client";
66
- Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
67
- }
68
- }
69
- export class NotFoundException extends __BaseException {
70
- constructor(opts) {
71
- super({
72
- name: "NotFoundException",
73
- $fault: "client",
74
- ...opts,
75
- });
76
- this.name = "NotFoundException";
77
- this.$fault = "client";
78
- Object.setPrototypeOf(this, NotFoundException.prototype);
79
- }
80
- }
81
- export class CloudHsmClusterInUseException extends __BaseException {
82
- constructor(opts) {
83
- super({
84
- name: "CloudHsmClusterInUseException",
85
- $fault: "client",
86
- ...opts,
87
- });
88
- this.name = "CloudHsmClusterInUseException";
89
- this.$fault = "client";
90
- Object.setPrototypeOf(this, CloudHsmClusterInUseException.prototype);
91
- }
92
- }
93
- export class CloudHsmClusterInvalidConfigurationException extends __BaseException {
94
- constructor(opts) {
95
- super({
96
- name: "CloudHsmClusterInvalidConfigurationException",
97
- $fault: "client",
98
- ...opts,
99
- });
100
- this.name = "CloudHsmClusterInvalidConfigurationException";
101
- this.$fault = "client";
102
- Object.setPrototypeOf(this, CloudHsmClusterInvalidConfigurationException.prototype);
103
- }
104
- }
105
- export class CloudHsmClusterNotActiveException extends __BaseException {
106
- constructor(opts) {
107
- super({
108
- name: "CloudHsmClusterNotActiveException",
109
- $fault: "client",
110
- ...opts,
111
- });
112
- this.name = "CloudHsmClusterNotActiveException";
113
- this.$fault = "client";
114
- Object.setPrototypeOf(this, CloudHsmClusterNotActiveException.prototype);
115
- }
116
- }
117
- export class CloudHsmClusterNotFoundException extends __BaseException {
118
- constructor(opts) {
119
- super({
120
- name: "CloudHsmClusterNotFoundException",
121
- $fault: "client",
122
- ...opts,
123
- });
124
- this.name = "CloudHsmClusterNotFoundException";
125
- this.$fault = "client";
126
- Object.setPrototypeOf(this, CloudHsmClusterNotFoundException.prototype);
127
- }
128
- }
129
- export class CloudHsmClusterNotRelatedException extends __BaseException {
130
- constructor(opts) {
131
- super({
132
- name: "CloudHsmClusterNotRelatedException",
133
- $fault: "client",
134
- ...opts,
135
- });
136
- this.name = "CloudHsmClusterNotRelatedException";
137
- this.$fault = "client";
138
- Object.setPrototypeOf(this, CloudHsmClusterNotRelatedException.prototype);
139
- }
140
- }
141
- export class CustomKeyStoreInvalidStateException extends __BaseException {
142
- constructor(opts) {
143
- super({
144
- name: "CustomKeyStoreInvalidStateException",
145
- $fault: "client",
146
- ...opts,
147
- });
148
- this.name = "CustomKeyStoreInvalidStateException";
149
- this.$fault = "client";
150
- Object.setPrototypeOf(this, CustomKeyStoreInvalidStateException.prototype);
151
- }
152
- }
153
- export class CustomKeyStoreNotFoundException extends __BaseException {
154
- constructor(opts) {
155
- super({
156
- name: "CustomKeyStoreNotFoundException",
157
- $fault: "client",
158
- ...opts,
159
- });
160
- this.name = "CustomKeyStoreNotFoundException";
161
- this.$fault = "client";
162
- Object.setPrototypeOf(this, CustomKeyStoreNotFoundException.prototype);
163
- }
164
- }
10
+ var AlreadyExistsException = (function (_super) {
11
+ __extends(AlreadyExistsException, _super);
12
+ function AlreadyExistsException(opts) {
13
+ var _this = _super.call(this, __assign({ name: "AlreadyExistsException", $fault: "client" }, opts)) || this;
14
+ _this.name = "AlreadyExistsException";
15
+ _this.$fault = "client";
16
+ Object.setPrototypeOf(_this, AlreadyExistsException.prototype);
17
+ return _this;
18
+ }
19
+ return AlreadyExistsException;
20
+ }(__BaseException));
21
+ export { AlreadyExistsException };
22
+ var DependencyTimeoutException = (function (_super) {
23
+ __extends(DependencyTimeoutException, _super);
24
+ function DependencyTimeoutException(opts) {
25
+ var _this = _super.call(this, __assign({ name: "DependencyTimeoutException", $fault: "server" }, opts)) || this;
26
+ _this.name = "DependencyTimeoutException";
27
+ _this.$fault = "server";
28
+ Object.setPrototypeOf(_this, DependencyTimeoutException.prototype);
29
+ return _this;
30
+ }
31
+ return DependencyTimeoutException;
32
+ }(__BaseException));
33
+ export { DependencyTimeoutException };
34
+ var InvalidArnException = (function (_super) {
35
+ __extends(InvalidArnException, _super);
36
+ function InvalidArnException(opts) {
37
+ var _this = _super.call(this, __assign({ name: "InvalidArnException", $fault: "client" }, opts)) || this;
38
+ _this.name = "InvalidArnException";
39
+ _this.$fault = "client";
40
+ Object.setPrototypeOf(_this, InvalidArnException.prototype);
41
+ return _this;
42
+ }
43
+ return InvalidArnException;
44
+ }(__BaseException));
45
+ export { InvalidArnException };
46
+ var KMSInternalException = (function (_super) {
47
+ __extends(KMSInternalException, _super);
48
+ function KMSInternalException(opts) {
49
+ var _this = _super.call(this, __assign({ name: "KMSInternalException", $fault: "server" }, opts)) || this;
50
+ _this.name = "KMSInternalException";
51
+ _this.$fault = "server";
52
+ Object.setPrototypeOf(_this, KMSInternalException.prototype);
53
+ return _this;
54
+ }
55
+ return KMSInternalException;
56
+ }(__BaseException));
57
+ export { KMSInternalException };
58
+ var KMSInvalidStateException = (function (_super) {
59
+ __extends(KMSInvalidStateException, _super);
60
+ function KMSInvalidStateException(opts) {
61
+ var _this = _super.call(this, __assign({ name: "KMSInvalidStateException", $fault: "client" }, opts)) || this;
62
+ _this.name = "KMSInvalidStateException";
63
+ _this.$fault = "client";
64
+ Object.setPrototypeOf(_this, KMSInvalidStateException.prototype);
65
+ return _this;
66
+ }
67
+ return KMSInvalidStateException;
68
+ }(__BaseException));
69
+ export { KMSInvalidStateException };
70
+ var NotFoundException = (function (_super) {
71
+ __extends(NotFoundException, _super);
72
+ function NotFoundException(opts) {
73
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
74
+ _this.name = "NotFoundException";
75
+ _this.$fault = "client";
76
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
77
+ return _this;
78
+ }
79
+ return NotFoundException;
80
+ }(__BaseException));
81
+ export { NotFoundException };
82
+ var CloudHsmClusterInUseException = (function (_super) {
83
+ __extends(CloudHsmClusterInUseException, _super);
84
+ function CloudHsmClusterInUseException(opts) {
85
+ var _this = _super.call(this, __assign({ name: "CloudHsmClusterInUseException", $fault: "client" }, opts)) || this;
86
+ _this.name = "CloudHsmClusterInUseException";
87
+ _this.$fault = "client";
88
+ Object.setPrototypeOf(_this, CloudHsmClusterInUseException.prototype);
89
+ return _this;
90
+ }
91
+ return CloudHsmClusterInUseException;
92
+ }(__BaseException));
93
+ export { CloudHsmClusterInUseException };
94
+ var CloudHsmClusterInvalidConfigurationException = (function (_super) {
95
+ __extends(CloudHsmClusterInvalidConfigurationException, _super);
96
+ function CloudHsmClusterInvalidConfigurationException(opts) {
97
+ var _this = _super.call(this, __assign({ name: "CloudHsmClusterInvalidConfigurationException", $fault: "client" }, opts)) || this;
98
+ _this.name = "CloudHsmClusterInvalidConfigurationException";
99
+ _this.$fault = "client";
100
+ Object.setPrototypeOf(_this, CloudHsmClusterInvalidConfigurationException.prototype);
101
+ return _this;
102
+ }
103
+ return CloudHsmClusterInvalidConfigurationException;
104
+ }(__BaseException));
105
+ export { CloudHsmClusterInvalidConfigurationException };
106
+ var CloudHsmClusterNotActiveException = (function (_super) {
107
+ __extends(CloudHsmClusterNotActiveException, _super);
108
+ function CloudHsmClusterNotActiveException(opts) {
109
+ var _this = _super.call(this, __assign({ name: "CloudHsmClusterNotActiveException", $fault: "client" }, opts)) || this;
110
+ _this.name = "CloudHsmClusterNotActiveException";
111
+ _this.$fault = "client";
112
+ Object.setPrototypeOf(_this, CloudHsmClusterNotActiveException.prototype);
113
+ return _this;
114
+ }
115
+ return CloudHsmClusterNotActiveException;
116
+ }(__BaseException));
117
+ export { CloudHsmClusterNotActiveException };
118
+ var CloudHsmClusterNotFoundException = (function (_super) {
119
+ __extends(CloudHsmClusterNotFoundException, _super);
120
+ function CloudHsmClusterNotFoundException(opts) {
121
+ var _this = _super.call(this, __assign({ name: "CloudHsmClusterNotFoundException", $fault: "client" }, opts)) || this;
122
+ _this.name = "CloudHsmClusterNotFoundException";
123
+ _this.$fault = "client";
124
+ Object.setPrototypeOf(_this, CloudHsmClusterNotFoundException.prototype);
125
+ return _this;
126
+ }
127
+ return CloudHsmClusterNotFoundException;
128
+ }(__BaseException));
129
+ export { CloudHsmClusterNotFoundException };
130
+ var CloudHsmClusterNotRelatedException = (function (_super) {
131
+ __extends(CloudHsmClusterNotRelatedException, _super);
132
+ function CloudHsmClusterNotRelatedException(opts) {
133
+ var _this = _super.call(this, __assign({ name: "CloudHsmClusterNotRelatedException", $fault: "client" }, opts)) || this;
134
+ _this.name = "CloudHsmClusterNotRelatedException";
135
+ _this.$fault = "client";
136
+ Object.setPrototypeOf(_this, CloudHsmClusterNotRelatedException.prototype);
137
+ return _this;
138
+ }
139
+ return CloudHsmClusterNotRelatedException;
140
+ }(__BaseException));
141
+ export { CloudHsmClusterNotRelatedException };
142
+ var CustomKeyStoreInvalidStateException = (function (_super) {
143
+ __extends(CustomKeyStoreInvalidStateException, _super);
144
+ function CustomKeyStoreInvalidStateException(opts) {
145
+ var _this = _super.call(this, __assign({ name: "CustomKeyStoreInvalidStateException", $fault: "client" }, opts)) || this;
146
+ _this.name = "CustomKeyStoreInvalidStateException";
147
+ _this.$fault = "client";
148
+ Object.setPrototypeOf(_this, CustomKeyStoreInvalidStateException.prototype);
149
+ return _this;
150
+ }
151
+ return CustomKeyStoreInvalidStateException;
152
+ }(__BaseException));
153
+ export { CustomKeyStoreInvalidStateException };
154
+ var CustomKeyStoreNotFoundException = (function (_super) {
155
+ __extends(CustomKeyStoreNotFoundException, _super);
156
+ function CustomKeyStoreNotFoundException(opts) {
157
+ var _this = _super.call(this, __assign({ name: "CustomKeyStoreNotFoundException", $fault: "client" }, opts)) || this;
158
+ _this.name = "CustomKeyStoreNotFoundException";
159
+ _this.$fault = "client";
160
+ Object.setPrototypeOf(_this, CustomKeyStoreNotFoundException.prototype);
161
+ return _this;
162
+ }
163
+ return CustomKeyStoreNotFoundException;
164
+ }(__BaseException));
165
+ export { CustomKeyStoreNotFoundException };
165
166
  export var ConnectionErrorCodeType;
166
167
  (function (ConnectionErrorCodeType) {
167
168
  ConnectionErrorCodeType["CLUSTER_NOT_FOUND"] = "CLUSTER_NOT_FOUND";
@@ -183,54 +184,54 @@ export var ConnectionStateType;
183
184
  ConnectionStateType["DISCONNECTING"] = "DISCONNECTING";
184
185
  ConnectionStateType["FAILED"] = "FAILED";
185
186
  })(ConnectionStateType || (ConnectionStateType = {}));
186
- export class InvalidAliasNameException extends __BaseException {
187
- constructor(opts) {
188
- super({
189
- name: "InvalidAliasNameException",
190
- $fault: "client",
191
- ...opts,
192
- });
193
- this.name = "InvalidAliasNameException";
194
- this.$fault = "client";
195
- Object.setPrototypeOf(this, InvalidAliasNameException.prototype);
196
- }
197
- }
198
- export class LimitExceededException extends __BaseException {
199
- constructor(opts) {
200
- super({
201
- name: "LimitExceededException",
202
- $fault: "client",
203
- ...opts,
204
- });
205
- this.name = "LimitExceededException";
206
- this.$fault = "client";
207
- Object.setPrototypeOf(this, LimitExceededException.prototype);
208
- }
209
- }
210
- export class CustomKeyStoreNameInUseException extends __BaseException {
211
- constructor(opts) {
212
- super({
213
- name: "CustomKeyStoreNameInUseException",
214
- $fault: "client",
215
- ...opts,
216
- });
217
- this.name = "CustomKeyStoreNameInUseException";
218
- this.$fault = "client";
219
- Object.setPrototypeOf(this, CustomKeyStoreNameInUseException.prototype);
220
- }
221
- }
222
- export class IncorrectTrustAnchorException extends __BaseException {
223
- constructor(opts) {
224
- super({
225
- name: "IncorrectTrustAnchorException",
226
- $fault: "client",
227
- ...opts,
228
- });
229
- this.name = "IncorrectTrustAnchorException";
230
- this.$fault = "client";
231
- Object.setPrototypeOf(this, IncorrectTrustAnchorException.prototype);
232
- }
233
- }
187
+ var InvalidAliasNameException = (function (_super) {
188
+ __extends(InvalidAliasNameException, _super);
189
+ function InvalidAliasNameException(opts) {
190
+ var _this = _super.call(this, __assign({ name: "InvalidAliasNameException", $fault: "client" }, opts)) || this;
191
+ _this.name = "InvalidAliasNameException";
192
+ _this.$fault = "client";
193
+ Object.setPrototypeOf(_this, InvalidAliasNameException.prototype);
194
+ return _this;
195
+ }
196
+ return InvalidAliasNameException;
197
+ }(__BaseException));
198
+ export { InvalidAliasNameException };
199
+ var LimitExceededException = (function (_super) {
200
+ __extends(LimitExceededException, _super);
201
+ function LimitExceededException(opts) {
202
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
203
+ _this.name = "LimitExceededException";
204
+ _this.$fault = "client";
205
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
206
+ return _this;
207
+ }
208
+ return LimitExceededException;
209
+ }(__BaseException));
210
+ export { LimitExceededException };
211
+ var CustomKeyStoreNameInUseException = (function (_super) {
212
+ __extends(CustomKeyStoreNameInUseException, _super);
213
+ function CustomKeyStoreNameInUseException(opts) {
214
+ var _this = _super.call(this, __assign({ name: "CustomKeyStoreNameInUseException", $fault: "client" }, opts)) || this;
215
+ _this.name = "CustomKeyStoreNameInUseException";
216
+ _this.$fault = "client";
217
+ Object.setPrototypeOf(_this, CustomKeyStoreNameInUseException.prototype);
218
+ return _this;
219
+ }
220
+ return CustomKeyStoreNameInUseException;
221
+ }(__BaseException));
222
+ export { CustomKeyStoreNameInUseException };
223
+ var IncorrectTrustAnchorException = (function (_super) {
224
+ __extends(IncorrectTrustAnchorException, _super);
225
+ function IncorrectTrustAnchorException(opts) {
226
+ var _this = _super.call(this, __assign({ name: "IncorrectTrustAnchorException", $fault: "client" }, opts)) || this;
227
+ _this.name = "IncorrectTrustAnchorException";
228
+ _this.$fault = "client";
229
+ Object.setPrototypeOf(_this, IncorrectTrustAnchorException.prototype);
230
+ return _this;
231
+ }
232
+ return IncorrectTrustAnchorException;
233
+ }(__BaseException));
234
+ export { IncorrectTrustAnchorException };
234
235
  export var GrantOperation;
235
236
  (function (GrantOperation) {
236
237
  GrantOperation["CreateGrant"] = "CreateGrant";
@@ -250,30 +251,30 @@ export var GrantOperation;
250
251
  GrantOperation["Verify"] = "Verify";
251
252
  GrantOperation["VerifyMac"] = "VerifyMac";
252
253
  })(GrantOperation || (GrantOperation = {}));
253
- export class DisabledException extends __BaseException {
254
- constructor(opts) {
255
- super({
256
- name: "DisabledException",
257
- $fault: "client",
258
- ...opts,
259
- });
260
- this.name = "DisabledException";
261
- this.$fault = "client";
262
- Object.setPrototypeOf(this, DisabledException.prototype);
263
- }
264
- }
265
- export class InvalidGrantTokenException extends __BaseException {
266
- constructor(opts) {
267
- super({
268
- name: "InvalidGrantTokenException",
269
- $fault: "client",
270
- ...opts,
271
- });
272
- this.name = "InvalidGrantTokenException";
273
- this.$fault = "client";
274
- Object.setPrototypeOf(this, InvalidGrantTokenException.prototype);
275
- }
276
- }
254
+ var DisabledException = (function (_super) {
255
+ __extends(DisabledException, _super);
256
+ function DisabledException(opts) {
257
+ var _this = _super.call(this, __assign({ name: "DisabledException", $fault: "client" }, opts)) || this;
258
+ _this.name = "DisabledException";
259
+ _this.$fault = "client";
260
+ Object.setPrototypeOf(_this, DisabledException.prototype);
261
+ return _this;
262
+ }
263
+ return DisabledException;
264
+ }(__BaseException));
265
+ export { DisabledException };
266
+ var InvalidGrantTokenException = (function (_super) {
267
+ __extends(InvalidGrantTokenException, _super);
268
+ function InvalidGrantTokenException(opts) {
269
+ var _this = _super.call(this, __assign({ name: "InvalidGrantTokenException", $fault: "client" }, opts)) || this;
270
+ _this.name = "InvalidGrantTokenException";
271
+ _this.$fault = "client";
272
+ Object.setPrototypeOf(_this, InvalidGrantTokenException.prototype);
273
+ return _this;
274
+ }
275
+ return InvalidGrantTokenException;
276
+ }(__BaseException));
277
+ export { InvalidGrantTokenException };
277
278
  export var CustomerMasterKeySpec;
278
279
  (function (CustomerMasterKeySpec) {
279
280
  CustomerMasterKeySpec["ECC_NIST_P256"] = "ECC_NIST_P256";
@@ -371,54 +372,54 @@ export var SigningAlgorithmSpec;
371
372
  SigningAlgorithmSpec["RSASSA_PSS_SHA_512"] = "RSASSA_PSS_SHA_512";
372
373
  SigningAlgorithmSpec["SM2DSA"] = "SM2DSA";
373
374
  })(SigningAlgorithmSpec || (SigningAlgorithmSpec = {}));
374
- export class MalformedPolicyDocumentException extends __BaseException {
375
- constructor(opts) {
376
- super({
377
- name: "MalformedPolicyDocumentException",
378
- $fault: "client",
379
- ...opts,
380
- });
381
- this.name = "MalformedPolicyDocumentException";
382
- this.$fault = "client";
383
- Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
384
- }
385
- }
386
- export class TagException extends __BaseException {
387
- constructor(opts) {
388
- super({
389
- name: "TagException",
390
- $fault: "client",
391
- ...opts,
392
- });
393
- this.name = "TagException";
394
- this.$fault = "client";
395
- Object.setPrototypeOf(this, TagException.prototype);
396
- }
397
- }
398
- export class UnsupportedOperationException extends __BaseException {
399
- constructor(opts) {
400
- super({
401
- name: "UnsupportedOperationException",
402
- $fault: "client",
403
- ...opts,
404
- });
405
- this.name = "UnsupportedOperationException";
406
- this.$fault = "client";
407
- Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
408
- }
409
- }
410
- export class CustomKeyStoreHasCMKsException extends __BaseException {
411
- constructor(opts) {
412
- super({
413
- name: "CustomKeyStoreHasCMKsException",
414
- $fault: "client",
415
- ...opts,
416
- });
417
- this.name = "CustomKeyStoreHasCMKsException";
418
- this.$fault = "client";
419
- Object.setPrototypeOf(this, CustomKeyStoreHasCMKsException.prototype);
420
- }
421
- }
375
+ var MalformedPolicyDocumentException = (function (_super) {
376
+ __extends(MalformedPolicyDocumentException, _super);
377
+ function MalformedPolicyDocumentException(opts) {
378
+ var _this = _super.call(this, __assign({ name: "MalformedPolicyDocumentException", $fault: "client" }, opts)) || this;
379
+ _this.name = "MalformedPolicyDocumentException";
380
+ _this.$fault = "client";
381
+ Object.setPrototypeOf(_this, MalformedPolicyDocumentException.prototype);
382
+ return _this;
383
+ }
384
+ return MalformedPolicyDocumentException;
385
+ }(__BaseException));
386
+ export { MalformedPolicyDocumentException };
387
+ var TagException = (function (_super) {
388
+ __extends(TagException, _super);
389
+ function TagException(opts) {
390
+ var _this = _super.call(this, __assign({ name: "TagException", $fault: "client" }, opts)) || this;
391
+ _this.name = "TagException";
392
+ _this.$fault = "client";
393
+ Object.setPrototypeOf(_this, TagException.prototype);
394
+ return _this;
395
+ }
396
+ return TagException;
397
+ }(__BaseException));
398
+ export { TagException };
399
+ var UnsupportedOperationException = (function (_super) {
400
+ __extends(UnsupportedOperationException, _super);
401
+ function UnsupportedOperationException(opts) {
402
+ var _this = _super.call(this, __assign({ name: "UnsupportedOperationException", $fault: "client" }, opts)) || this;
403
+ _this.name = "UnsupportedOperationException";
404
+ _this.$fault = "client";
405
+ Object.setPrototypeOf(_this, UnsupportedOperationException.prototype);
406
+ return _this;
407
+ }
408
+ return UnsupportedOperationException;
409
+ }(__BaseException));
410
+ export { UnsupportedOperationException };
411
+ var CustomKeyStoreHasCMKsException = (function (_super) {
412
+ __extends(CustomKeyStoreHasCMKsException, _super);
413
+ function CustomKeyStoreHasCMKsException(opts) {
414
+ var _this = _super.call(this, __assign({ name: "CustomKeyStoreHasCMKsException", $fault: "client" }, opts)) || this;
415
+ _this.name = "CustomKeyStoreHasCMKsException";
416
+ _this.$fault = "client";
417
+ Object.setPrototypeOf(_this, CustomKeyStoreHasCMKsException.prototype);
418
+ return _this;
419
+ }
420
+ return CustomKeyStoreHasCMKsException;
421
+ }(__BaseException));
422
+ export { CustomKeyStoreHasCMKsException };
422
423
  export var DataKeyPairSpec;
423
424
  (function (DataKeyPairSpec) {
424
425
  DataKeyPairSpec["ECC_NIST_P256"] = "ECC_NIST_P256";
@@ -435,435 +436,237 @@ export var DataKeySpec;
435
436
  DataKeySpec["AES_128"] = "AES_128";
436
437
  DataKeySpec["AES_256"] = "AES_256";
437
438
  })(DataKeySpec || (DataKeySpec = {}));
438
- export class IncorrectKeyException extends __BaseException {
439
- constructor(opts) {
440
- super({
441
- name: "IncorrectKeyException",
442
- $fault: "client",
443
- ...opts,
444
- });
445
- this.name = "IncorrectKeyException";
446
- this.$fault = "client";
447
- Object.setPrototypeOf(this, IncorrectKeyException.prototype);
448
- }
449
- }
450
- export class InvalidCiphertextException extends __BaseException {
451
- constructor(opts) {
452
- super({
453
- name: "InvalidCiphertextException",
454
- $fault: "client",
455
- ...opts,
456
- });
457
- this.name = "InvalidCiphertextException";
458
- this.$fault = "client";
459
- Object.setPrototypeOf(this, InvalidCiphertextException.prototype);
460
- }
461
- }
462
- export class InvalidKeyUsageException extends __BaseException {
463
- constructor(opts) {
464
- super({
465
- name: "InvalidKeyUsageException",
466
- $fault: "client",
467
- ...opts,
468
- });
469
- this.name = "InvalidKeyUsageException";
470
- this.$fault = "client";
471
- Object.setPrototypeOf(this, InvalidKeyUsageException.prototype);
472
- }
473
- }
474
- export class KeyUnavailableException extends __BaseException {
475
- constructor(opts) {
476
- super({
477
- name: "KeyUnavailableException",
478
- $fault: "server",
479
- ...opts,
480
- });
481
- this.name = "KeyUnavailableException";
482
- this.$fault = "server";
483
- Object.setPrototypeOf(this, KeyUnavailableException.prototype);
484
- }
485
- }
486
- export class InvalidMarkerException extends __BaseException {
487
- constructor(opts) {
488
- super({
489
- name: "InvalidMarkerException",
490
- $fault: "client",
491
- ...opts,
492
- });
493
- this.name = "InvalidMarkerException";
494
- this.$fault = "client";
495
- Object.setPrototypeOf(this, InvalidMarkerException.prototype);
496
- }
497
- }
498
- export class ExpiredImportTokenException extends __BaseException {
499
- constructor(opts) {
500
- super({
501
- name: "ExpiredImportTokenException",
502
- $fault: "client",
503
- ...opts,
504
- });
505
- this.name = "ExpiredImportTokenException";
506
- this.$fault = "client";
507
- Object.setPrototypeOf(this, ExpiredImportTokenException.prototype);
508
- }
509
- }
439
+ var IncorrectKeyException = (function (_super) {
440
+ __extends(IncorrectKeyException, _super);
441
+ function IncorrectKeyException(opts) {
442
+ var _this = _super.call(this, __assign({ name: "IncorrectKeyException", $fault: "client" }, opts)) || this;
443
+ _this.name = "IncorrectKeyException";
444
+ _this.$fault = "client";
445
+ Object.setPrototypeOf(_this, IncorrectKeyException.prototype);
446
+ return _this;
447
+ }
448
+ return IncorrectKeyException;
449
+ }(__BaseException));
450
+ export { IncorrectKeyException };
451
+ var InvalidCiphertextException = (function (_super) {
452
+ __extends(InvalidCiphertextException, _super);
453
+ function InvalidCiphertextException(opts) {
454
+ var _this = _super.call(this, __assign({ name: "InvalidCiphertextException", $fault: "client" }, opts)) || this;
455
+ _this.name = "InvalidCiphertextException";
456
+ _this.$fault = "client";
457
+ Object.setPrototypeOf(_this, InvalidCiphertextException.prototype);
458
+ return _this;
459
+ }
460
+ return InvalidCiphertextException;
461
+ }(__BaseException));
462
+ export { InvalidCiphertextException };
463
+ var InvalidKeyUsageException = (function (_super) {
464
+ __extends(InvalidKeyUsageException, _super);
465
+ function InvalidKeyUsageException(opts) {
466
+ var _this = _super.call(this, __assign({ name: "InvalidKeyUsageException", $fault: "client" }, opts)) || this;
467
+ _this.name = "InvalidKeyUsageException";
468
+ _this.$fault = "client";
469
+ Object.setPrototypeOf(_this, InvalidKeyUsageException.prototype);
470
+ return _this;
471
+ }
472
+ return InvalidKeyUsageException;
473
+ }(__BaseException));
474
+ export { InvalidKeyUsageException };
475
+ var KeyUnavailableException = (function (_super) {
476
+ __extends(KeyUnavailableException, _super);
477
+ function KeyUnavailableException(opts) {
478
+ var _this = _super.call(this, __assign({ name: "KeyUnavailableException", $fault: "server" }, opts)) || this;
479
+ _this.name = "KeyUnavailableException";
480
+ _this.$fault = "server";
481
+ Object.setPrototypeOf(_this, KeyUnavailableException.prototype);
482
+ return _this;
483
+ }
484
+ return KeyUnavailableException;
485
+ }(__BaseException));
486
+ export { KeyUnavailableException };
487
+ var InvalidMarkerException = (function (_super) {
488
+ __extends(InvalidMarkerException, _super);
489
+ function InvalidMarkerException(opts) {
490
+ var _this = _super.call(this, __assign({ name: "InvalidMarkerException", $fault: "client" }, opts)) || this;
491
+ _this.name = "InvalidMarkerException";
492
+ _this.$fault = "client";
493
+ Object.setPrototypeOf(_this, InvalidMarkerException.prototype);
494
+ return _this;
495
+ }
496
+ return InvalidMarkerException;
497
+ }(__BaseException));
498
+ export { InvalidMarkerException };
499
+ var ExpiredImportTokenException = (function (_super) {
500
+ __extends(ExpiredImportTokenException, _super);
501
+ function ExpiredImportTokenException(opts) {
502
+ var _this = _super.call(this, __assign({ name: "ExpiredImportTokenException", $fault: "client" }, opts)) || this;
503
+ _this.name = "ExpiredImportTokenException";
504
+ _this.$fault = "client";
505
+ Object.setPrototypeOf(_this, ExpiredImportTokenException.prototype);
506
+ return _this;
507
+ }
508
+ return ExpiredImportTokenException;
509
+ }(__BaseException));
510
+ export { ExpiredImportTokenException };
510
511
  export var WrappingKeySpec;
511
512
  (function (WrappingKeySpec) {
512
513
  WrappingKeySpec["RSA_2048"] = "RSA_2048";
513
514
  })(WrappingKeySpec || (WrappingKeySpec = {}));
514
- export class IncorrectKeyMaterialException extends __BaseException {
515
- constructor(opts) {
516
- super({
517
- name: "IncorrectKeyMaterialException",
518
- $fault: "client",
519
- ...opts,
520
- });
521
- this.name = "IncorrectKeyMaterialException";
522
- this.$fault = "client";
523
- Object.setPrototypeOf(this, IncorrectKeyMaterialException.prototype);
524
- }
525
- }
526
- export class InvalidImportTokenException extends __BaseException {
527
- constructor(opts) {
528
- super({
529
- name: "InvalidImportTokenException",
530
- $fault: "client",
531
- ...opts,
532
- });
533
- this.name = "InvalidImportTokenException";
534
- this.$fault = "client";
535
- Object.setPrototypeOf(this, InvalidImportTokenException.prototype);
536
- }
537
- }
538
- export class InvalidGrantIdException extends __BaseException {
539
- constructor(opts) {
540
- super({
541
- name: "InvalidGrantIdException",
542
- $fault: "client",
543
- ...opts,
544
- });
545
- this.name = "InvalidGrantIdException";
546
- this.$fault = "client";
547
- Object.setPrototypeOf(this, InvalidGrantIdException.prototype);
548
- }
549
- }
550
- export class KMSInvalidMacException extends __BaseException {
551
- constructor(opts) {
552
- super({
553
- name: "KMSInvalidMacException",
554
- $fault: "client",
555
- ...opts,
556
- });
557
- this.name = "KMSInvalidMacException";
558
- this.$fault = "client";
559
- Object.setPrototypeOf(this, KMSInvalidMacException.prototype);
560
- }
561
- }
562
- export class KMSInvalidSignatureException extends __BaseException {
563
- constructor(opts) {
564
- super({
565
- name: "KMSInvalidSignatureException",
566
- $fault: "client",
567
- ...opts,
568
- });
569
- this.name = "KMSInvalidSignatureException";
570
- this.$fault = "client";
571
- Object.setPrototypeOf(this, KMSInvalidSignatureException.prototype);
572
- }
573
- }
515
+ var IncorrectKeyMaterialException = (function (_super) {
516
+ __extends(IncorrectKeyMaterialException, _super);
517
+ function IncorrectKeyMaterialException(opts) {
518
+ var _this = _super.call(this, __assign({ name: "IncorrectKeyMaterialException", $fault: "client" }, opts)) || this;
519
+ _this.name = "IncorrectKeyMaterialException";
520
+ _this.$fault = "client";
521
+ Object.setPrototypeOf(_this, IncorrectKeyMaterialException.prototype);
522
+ return _this;
523
+ }
524
+ return IncorrectKeyMaterialException;
525
+ }(__BaseException));
526
+ export { IncorrectKeyMaterialException };
527
+ var InvalidImportTokenException = (function (_super) {
528
+ __extends(InvalidImportTokenException, _super);
529
+ function InvalidImportTokenException(opts) {
530
+ var _this = _super.call(this, __assign({ name: "InvalidImportTokenException", $fault: "client" }, opts)) || this;
531
+ _this.name = "InvalidImportTokenException";
532
+ _this.$fault = "client";
533
+ Object.setPrototypeOf(_this, InvalidImportTokenException.prototype);
534
+ return _this;
535
+ }
536
+ return InvalidImportTokenException;
537
+ }(__BaseException));
538
+ export { InvalidImportTokenException };
539
+ var InvalidGrantIdException = (function (_super) {
540
+ __extends(InvalidGrantIdException, _super);
541
+ function InvalidGrantIdException(opts) {
542
+ var _this = _super.call(this, __assign({ name: "InvalidGrantIdException", $fault: "client" }, opts)) || this;
543
+ _this.name = "InvalidGrantIdException";
544
+ _this.$fault = "client";
545
+ Object.setPrototypeOf(_this, InvalidGrantIdException.prototype);
546
+ return _this;
547
+ }
548
+ return InvalidGrantIdException;
549
+ }(__BaseException));
550
+ export { InvalidGrantIdException };
551
+ var KMSInvalidMacException = (function (_super) {
552
+ __extends(KMSInvalidMacException, _super);
553
+ function KMSInvalidMacException(opts) {
554
+ var _this = _super.call(this, __assign({ name: "KMSInvalidMacException", $fault: "client" }, opts)) || this;
555
+ _this.name = "KMSInvalidMacException";
556
+ _this.$fault = "client";
557
+ Object.setPrototypeOf(_this, KMSInvalidMacException.prototype);
558
+ return _this;
559
+ }
560
+ return KMSInvalidMacException;
561
+ }(__BaseException));
562
+ export { KMSInvalidMacException };
563
+ var KMSInvalidSignatureException = (function (_super) {
564
+ __extends(KMSInvalidSignatureException, _super);
565
+ function KMSInvalidSignatureException(opts) {
566
+ var _this = _super.call(this, __assign({ name: "KMSInvalidSignatureException", $fault: "client" }, opts)) || this;
567
+ _this.name = "KMSInvalidSignatureException";
568
+ _this.$fault = "client";
569
+ Object.setPrototypeOf(_this, KMSInvalidSignatureException.prototype);
570
+ return _this;
571
+ }
572
+ return KMSInvalidSignatureException;
573
+ }(__BaseException));
574
+ export { KMSInvalidSignatureException };
574
575
  export var MessageType;
575
576
  (function (MessageType) {
576
577
  MessageType["DIGEST"] = "DIGEST";
577
578
  MessageType["RAW"] = "RAW";
578
579
  })(MessageType || (MessageType = {}));
579
- export const AliasListEntryFilterSensitiveLog = (obj) => ({
580
- ...obj,
581
- });
582
- export const CancelKeyDeletionRequestFilterSensitiveLog = (obj) => ({
583
- ...obj,
584
- });
585
- export const CancelKeyDeletionResponseFilterSensitiveLog = (obj) => ({
586
- ...obj,
587
- });
588
- export const ConnectCustomKeyStoreRequestFilterSensitiveLog = (obj) => ({
589
- ...obj,
590
- });
591
- export const ConnectCustomKeyStoreResponseFilterSensitiveLog = (obj) => ({
592
- ...obj,
593
- });
594
- export const CreateAliasRequestFilterSensitiveLog = (obj) => ({
595
- ...obj,
596
- });
597
- export const CreateCustomKeyStoreRequestFilterSensitiveLog = (obj) => ({
598
- ...obj,
599
- ...(obj.KeyStorePassword && { KeyStorePassword: SENSITIVE_STRING }),
600
- });
601
- export const CreateCustomKeyStoreResponseFilterSensitiveLog = (obj) => ({
602
- ...obj,
603
- });
604
- export const GrantConstraintsFilterSensitiveLog = (obj) => ({
605
- ...obj,
606
- });
607
- export const CreateGrantRequestFilterSensitiveLog = (obj) => ({
608
- ...obj,
609
- });
610
- export const CreateGrantResponseFilterSensitiveLog = (obj) => ({
611
- ...obj,
612
- });
613
- export const TagFilterSensitiveLog = (obj) => ({
614
- ...obj,
615
- });
616
- export const CreateKeyRequestFilterSensitiveLog = (obj) => ({
617
- ...obj,
618
- });
619
- export const MultiRegionKeyFilterSensitiveLog = (obj) => ({
620
- ...obj,
621
- });
622
- export const MultiRegionConfigurationFilterSensitiveLog = (obj) => ({
623
- ...obj,
624
- });
625
- export const KeyMetadataFilterSensitiveLog = (obj) => ({
626
- ...obj,
627
- });
628
- export const CreateKeyResponseFilterSensitiveLog = (obj) => ({
629
- ...obj,
630
- });
631
- export const CustomKeyStoresListEntryFilterSensitiveLog = (obj) => ({
632
- ...obj,
633
- });
634
- export const DecryptRequestFilterSensitiveLog = (obj) => ({
635
- ...obj,
636
- });
637
- export const DecryptResponseFilterSensitiveLog = (obj) => ({
638
- ...obj,
639
- ...(obj.Plaintext && { Plaintext: SENSITIVE_STRING }),
640
- });
641
- export const DeleteAliasRequestFilterSensitiveLog = (obj) => ({
642
- ...obj,
643
- });
644
- export const DeleteCustomKeyStoreRequestFilterSensitiveLog = (obj) => ({
645
- ...obj,
646
- });
647
- export const DeleteCustomKeyStoreResponseFilterSensitiveLog = (obj) => ({
648
- ...obj,
649
- });
650
- export const DeleteImportedKeyMaterialRequestFilterSensitiveLog = (obj) => ({
651
- ...obj,
652
- });
653
- export const DescribeCustomKeyStoresRequestFilterSensitiveLog = (obj) => ({
654
- ...obj,
655
- });
656
- export const DescribeCustomKeyStoresResponseFilterSensitiveLog = (obj) => ({
657
- ...obj,
658
- });
659
- export const DescribeKeyRequestFilterSensitiveLog = (obj) => ({
660
- ...obj,
661
- });
662
- export const DescribeKeyResponseFilterSensitiveLog = (obj) => ({
663
- ...obj,
664
- });
665
- export const DisableKeyRequestFilterSensitiveLog = (obj) => ({
666
- ...obj,
667
- });
668
- export const DisableKeyRotationRequestFilterSensitiveLog = (obj) => ({
669
- ...obj,
670
- });
671
- export const DisconnectCustomKeyStoreRequestFilterSensitiveLog = (obj) => ({
672
- ...obj,
673
- });
674
- export const DisconnectCustomKeyStoreResponseFilterSensitiveLog = (obj) => ({
675
- ...obj,
676
- });
677
- export const EnableKeyRequestFilterSensitiveLog = (obj) => ({
678
- ...obj,
679
- });
680
- export const EnableKeyRotationRequestFilterSensitiveLog = (obj) => ({
681
- ...obj,
682
- });
683
- export const EncryptRequestFilterSensitiveLog = (obj) => ({
684
- ...obj,
685
- ...(obj.Plaintext && { Plaintext: SENSITIVE_STRING }),
686
- });
687
- export const EncryptResponseFilterSensitiveLog = (obj) => ({
688
- ...obj,
689
- });
690
- export const GenerateDataKeyRequestFilterSensitiveLog = (obj) => ({
691
- ...obj,
692
- });
693
- export const GenerateDataKeyResponseFilterSensitiveLog = (obj) => ({
694
- ...obj,
695
- ...(obj.Plaintext && { Plaintext: SENSITIVE_STRING }),
696
- });
697
- export const GenerateDataKeyPairRequestFilterSensitiveLog = (obj) => ({
698
- ...obj,
699
- });
700
- export const GenerateDataKeyPairResponseFilterSensitiveLog = (obj) => ({
701
- ...obj,
702
- ...(obj.PrivateKeyPlaintext && { PrivateKeyPlaintext: SENSITIVE_STRING }),
703
- });
704
- export const GenerateDataKeyPairWithoutPlaintextRequestFilterSensitiveLog = (obj) => ({
705
- ...obj,
706
- });
707
- export const GenerateDataKeyPairWithoutPlaintextResponseFilterSensitiveLog = (obj) => ({
708
- ...obj,
709
- });
710
- export const GenerateDataKeyWithoutPlaintextRequestFilterSensitiveLog = (obj) => ({
711
- ...obj,
712
- });
713
- export const GenerateDataKeyWithoutPlaintextResponseFilterSensitiveLog = (obj) => ({
714
- ...obj,
715
- });
716
- export const GenerateMacRequestFilterSensitiveLog = (obj) => ({
717
- ...obj,
718
- ...(obj.Message && { Message: SENSITIVE_STRING }),
719
- });
720
- export const GenerateMacResponseFilterSensitiveLog = (obj) => ({
721
- ...obj,
722
- });
723
- export const GenerateRandomRequestFilterSensitiveLog = (obj) => ({
724
- ...obj,
725
- });
726
- export const GenerateRandomResponseFilterSensitiveLog = (obj) => ({
727
- ...obj,
728
- ...(obj.Plaintext && { Plaintext: SENSITIVE_STRING }),
729
- });
730
- export const GetKeyPolicyRequestFilterSensitiveLog = (obj) => ({
731
- ...obj,
732
- });
733
- export const GetKeyPolicyResponseFilterSensitiveLog = (obj) => ({
734
- ...obj,
735
- });
736
- export const GetKeyRotationStatusRequestFilterSensitiveLog = (obj) => ({
737
- ...obj,
738
- });
739
- export const GetKeyRotationStatusResponseFilterSensitiveLog = (obj) => ({
740
- ...obj,
741
- });
742
- export const GetParametersForImportRequestFilterSensitiveLog = (obj) => ({
743
- ...obj,
744
- });
745
- export const GetParametersForImportResponseFilterSensitiveLog = (obj) => ({
746
- ...obj,
747
- ...(obj.PublicKey && { PublicKey: SENSITIVE_STRING }),
748
- });
749
- export const GetPublicKeyRequestFilterSensitiveLog = (obj) => ({
750
- ...obj,
751
- });
752
- export const GetPublicKeyResponseFilterSensitiveLog = (obj) => ({
753
- ...obj,
754
- });
755
- export const GrantListEntryFilterSensitiveLog = (obj) => ({
756
- ...obj,
757
- });
758
- export const ImportKeyMaterialRequestFilterSensitiveLog = (obj) => ({
759
- ...obj,
760
- });
761
- export const ImportKeyMaterialResponseFilterSensitiveLog = (obj) => ({
762
- ...obj,
763
- });
764
- export const KeyListEntryFilterSensitiveLog = (obj) => ({
765
- ...obj,
766
- });
767
- export const ListAliasesRequestFilterSensitiveLog = (obj) => ({
768
- ...obj,
769
- });
770
- export const ListAliasesResponseFilterSensitiveLog = (obj) => ({
771
- ...obj,
772
- });
773
- export const ListGrantsRequestFilterSensitiveLog = (obj) => ({
774
- ...obj,
775
- });
776
- export const ListGrantsResponseFilterSensitiveLog = (obj) => ({
777
- ...obj,
778
- });
779
- export const ListKeyPoliciesRequestFilterSensitiveLog = (obj) => ({
780
- ...obj,
781
- });
782
- export const ListKeyPoliciesResponseFilterSensitiveLog = (obj) => ({
783
- ...obj,
784
- });
785
- export const ListKeysRequestFilterSensitiveLog = (obj) => ({
786
- ...obj,
787
- });
788
- export const ListKeysResponseFilterSensitiveLog = (obj) => ({
789
- ...obj,
790
- });
791
- export const ListResourceTagsRequestFilterSensitiveLog = (obj) => ({
792
- ...obj,
793
- });
794
- export const ListResourceTagsResponseFilterSensitiveLog = (obj) => ({
795
- ...obj,
796
- });
797
- export const ListRetirableGrantsRequestFilterSensitiveLog = (obj) => ({
798
- ...obj,
799
- });
800
- export const PutKeyPolicyRequestFilterSensitiveLog = (obj) => ({
801
- ...obj,
802
- });
803
- export const ReEncryptRequestFilterSensitiveLog = (obj) => ({
804
- ...obj,
805
- });
806
- export const ReEncryptResponseFilterSensitiveLog = (obj) => ({
807
- ...obj,
808
- });
809
- export const ReplicateKeyRequestFilterSensitiveLog = (obj) => ({
810
- ...obj,
811
- });
812
- export const ReplicateKeyResponseFilterSensitiveLog = (obj) => ({
813
- ...obj,
814
- });
815
- export const RetireGrantRequestFilterSensitiveLog = (obj) => ({
816
- ...obj,
817
- });
818
- export const RevokeGrantRequestFilterSensitiveLog = (obj) => ({
819
- ...obj,
820
- });
821
- export const ScheduleKeyDeletionRequestFilterSensitiveLog = (obj) => ({
822
- ...obj,
823
- });
824
- export const ScheduleKeyDeletionResponseFilterSensitiveLog = (obj) => ({
825
- ...obj,
826
- });
827
- export const SignRequestFilterSensitiveLog = (obj) => ({
828
- ...obj,
829
- ...(obj.Message && { Message: SENSITIVE_STRING }),
830
- });
831
- export const SignResponseFilterSensitiveLog = (obj) => ({
832
- ...obj,
833
- });
834
- export const TagResourceRequestFilterSensitiveLog = (obj) => ({
835
- ...obj,
836
- });
837
- export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
838
- ...obj,
839
- });
840
- export const UpdateAliasRequestFilterSensitiveLog = (obj) => ({
841
- ...obj,
842
- });
843
- export const UpdateCustomKeyStoreRequestFilterSensitiveLog = (obj) => ({
844
- ...obj,
845
- ...(obj.KeyStorePassword && { KeyStorePassword: SENSITIVE_STRING }),
846
- });
847
- export const UpdateCustomKeyStoreResponseFilterSensitiveLog = (obj) => ({
848
- ...obj,
849
- });
850
- export const UpdateKeyDescriptionRequestFilterSensitiveLog = (obj) => ({
851
- ...obj,
852
- });
853
- export const UpdatePrimaryRegionRequestFilterSensitiveLog = (obj) => ({
854
- ...obj,
855
- });
856
- export const VerifyRequestFilterSensitiveLog = (obj) => ({
857
- ...obj,
858
- ...(obj.Message && { Message: SENSITIVE_STRING }),
859
- });
860
- export const VerifyResponseFilterSensitiveLog = (obj) => ({
861
- ...obj,
862
- });
863
- export const VerifyMacRequestFilterSensitiveLog = (obj) => ({
864
- ...obj,
865
- ...(obj.Message && { Message: SENSITIVE_STRING }),
866
- });
867
- export const VerifyMacResponseFilterSensitiveLog = (obj) => ({
868
- ...obj,
869
- });
580
+ export var AliasListEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
581
+ export var CancelKeyDeletionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
582
+ export var CancelKeyDeletionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
583
+ export var ConnectCustomKeyStoreRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
584
+ export var ConnectCustomKeyStoreResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
585
+ export var CreateAliasRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
586
+ export var CreateCustomKeyStoreRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.KeyStorePassword && { KeyStorePassword: SENSITIVE_STRING }))); };
587
+ export var CreateCustomKeyStoreResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
588
+ export var GrantConstraintsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
589
+ export var CreateGrantRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
590
+ export var CreateGrantResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
591
+ export var TagFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
592
+ export var CreateKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
593
+ export var MultiRegionKeyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
594
+ export var MultiRegionConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
595
+ export var KeyMetadataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
596
+ export var CreateKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
597
+ export var CustomKeyStoresListEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
598
+ export var DecryptRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
599
+ export var DecryptResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Plaintext && { Plaintext: SENSITIVE_STRING }))); };
600
+ export var DeleteAliasRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
601
+ export var DeleteCustomKeyStoreRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
602
+ export var DeleteCustomKeyStoreResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
603
+ export var DeleteImportedKeyMaterialRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
604
+ export var DescribeCustomKeyStoresRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
605
+ export var DescribeCustomKeyStoresResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
606
+ export var DescribeKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
607
+ export var DescribeKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
608
+ export var DisableKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
609
+ export var DisableKeyRotationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
610
+ export var DisconnectCustomKeyStoreRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
611
+ export var DisconnectCustomKeyStoreResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
612
+ export var EnableKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
613
+ export var EnableKeyRotationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
614
+ export var EncryptRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Plaintext && { Plaintext: SENSITIVE_STRING }))); };
615
+ export var EncryptResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
616
+ export var GenerateDataKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
617
+ export var GenerateDataKeyResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Plaintext && { Plaintext: SENSITIVE_STRING }))); };
618
+ export var GenerateDataKeyPairRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
619
+ export var GenerateDataKeyPairResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.PrivateKeyPlaintext && { PrivateKeyPlaintext: SENSITIVE_STRING }))); };
620
+ export var GenerateDataKeyPairWithoutPlaintextRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
621
+ export var GenerateDataKeyPairWithoutPlaintextResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
622
+ export var GenerateDataKeyWithoutPlaintextRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
623
+ export var GenerateDataKeyWithoutPlaintextResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
624
+ export var GenerateMacRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Message && { Message: SENSITIVE_STRING }))); };
625
+ export var GenerateMacResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
626
+ export var GenerateRandomRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
627
+ export var GenerateRandomResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Plaintext && { Plaintext: SENSITIVE_STRING }))); };
628
+ export var GetKeyPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
629
+ export var GetKeyPolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
630
+ export var GetKeyRotationStatusRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
631
+ export var GetKeyRotationStatusResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
632
+ export var GetParametersForImportRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
633
+ export var GetParametersForImportResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.PublicKey && { PublicKey: SENSITIVE_STRING }))); };
634
+ export var GetPublicKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
635
+ export var GetPublicKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
636
+ export var GrantListEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
637
+ export var ImportKeyMaterialRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
638
+ export var ImportKeyMaterialResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
639
+ export var KeyListEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
640
+ export var ListAliasesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
641
+ export var ListAliasesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
642
+ export var ListGrantsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
643
+ export var ListGrantsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
644
+ export var ListKeyPoliciesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
645
+ export var ListKeyPoliciesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
646
+ export var ListKeysRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
647
+ export var ListKeysResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
648
+ export var ListResourceTagsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
649
+ export var ListResourceTagsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
650
+ export var ListRetirableGrantsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
651
+ export var PutKeyPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
652
+ export var ReEncryptRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
653
+ export var ReEncryptResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
654
+ export var ReplicateKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
655
+ export var ReplicateKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
656
+ export var RetireGrantRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
657
+ export var RevokeGrantRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
658
+ export var ScheduleKeyDeletionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
659
+ export var ScheduleKeyDeletionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
660
+ export var SignRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Message && { Message: SENSITIVE_STRING }))); };
661
+ export var SignResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
662
+ export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
663
+ export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
664
+ export var UpdateAliasRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
665
+ export var UpdateCustomKeyStoreRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.KeyStorePassword && { KeyStorePassword: SENSITIVE_STRING }))); };
666
+ export var UpdateCustomKeyStoreResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
667
+ export var UpdateKeyDescriptionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
668
+ export var UpdatePrimaryRegionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
669
+ export var VerifyRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Message && { Message: SENSITIVE_STRING }))); };
670
+ export var VerifyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
671
+ export var VerifyMacRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Message && { Message: SENSITIVE_STRING }))); };
672
+ export var VerifyMacResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };