@aws-sdk/client-kms 3.36.0 → 3.39.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 (131) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/KMS.js +0 -92
  3. package/dist-cjs/KMSClient.js +0 -97
  4. package/dist-cjs/commands/CancelKeyDeletionCommand.js +0 -37
  5. package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +0 -85
  6. package/dist-cjs/commands/CreateAliasCommand.js +0 -81
  7. package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +0 -73
  8. package/dist-cjs/commands/CreateGrantCommand.js +0 -86
  9. package/dist-cjs/commands/CreateKeyCommand.js +0 -148
  10. package/dist-cjs/commands/DecryptCommand.js +0 -112
  11. package/dist-cjs/commands/DeleteAliasCommand.js +0 -71
  12. package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +0 -78
  13. package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +0 -53
  14. package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +0 -77
  15. package/dist-cjs/commands/DescribeKeyCommand.js +0 -103
  16. package/dist-cjs/commands/DisableKeyCommand.js +0 -39
  17. package/dist-cjs/commands/DisableKeyRotationCommand.js +0 -49
  18. package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +0 -76
  19. package/dist-cjs/commands/EnableKeyCommand.js +0 -36
  20. package/dist-cjs/commands/EnableKeyRotationCommand.js +0 -49
  21. package/dist-cjs/commands/EncryptCommand.js +0 -148
  22. package/dist-cjs/commands/GenerateDataKeyCommand.js +0 -121
  23. package/dist-cjs/commands/GenerateDataKeyPairCommand.js +0 -100
  24. package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +0 -90
  25. package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +0 -95
  26. package/dist-cjs/commands/GenerateRandomCommand.js +0 -33
  27. package/dist-cjs/commands/GetKeyPolicyCommand.js +0 -32
  28. package/dist-cjs/commands/GetKeyRotationStatusCommand.js +0 -61
  29. package/dist-cjs/commands/GetParametersForImportCommand.js +0 -58
  30. package/dist-cjs/commands/GetPublicKeyCommand.js +0 -70
  31. package/dist-cjs/commands/ImportKeyMaterialCommand.js +0 -87
  32. package/dist-cjs/commands/ListAliasesCommand.js +0 -66
  33. package/dist-cjs/commands/ListGrantsCommand.js +0 -69
  34. package/dist-cjs/commands/ListKeyPoliciesCommand.js +0 -46
  35. package/dist-cjs/commands/ListKeysCommand.js +0 -54
  36. package/dist-cjs/commands/ListResourceTagsCommand.js +0 -58
  37. package/dist-cjs/commands/ListRetirableGrantsCommand.js +0 -67
  38. package/dist-cjs/commands/PutKeyPolicyCommand.js +0 -37
  39. package/dist-cjs/commands/ReEncryptCommand.js +0 -122
  40. package/dist-cjs/commands/ReplicateKeyCommand.js +0 -101
  41. package/dist-cjs/commands/RetireGrantCommand.js +0 -70
  42. package/dist-cjs/commands/RevokeGrantCommand.js +0 -67
  43. package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +0 -78
  44. package/dist-cjs/commands/SignCommand.js +0 -69
  45. package/dist-cjs/commands/TagResourceCommand.js +0 -71
  46. package/dist-cjs/commands/UntagResourceCommand.js +0 -67
  47. package/dist-cjs/commands/UpdateAliasCommand.js +0 -86
  48. package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +0 -96
  49. package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +0 -47
  50. package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +0 -89
  51. package/dist-cjs/commands/VerifyCommand.js +0 -54
  52. package/dist-cjs/commands/index.js +51 -0
  53. package/dist-cjs/endpoints.js +6 -1
  54. package/dist-cjs/index.js +4 -55
  55. package/dist-cjs/models/models_0.js +0 -366
  56. package/dist-cjs/pagination/ListAliasesPaginator.js +0 -10
  57. package/dist-cjs/pagination/ListGrantsPaginator.js +0 -10
  58. package/dist-cjs/pagination/ListKeyPoliciesPaginator.js +0 -10
  59. package/dist-cjs/pagination/ListKeysPaginator.js +0 -10
  60. package/dist-cjs/pagination/index.js +8 -0
  61. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  62. package/dist-cjs/runtimeConfig.browser.js +1 -5
  63. package/dist-cjs/runtimeConfig.js +1 -5
  64. package/dist-cjs/runtimeConfig.native.js +0 -3
  65. package/dist-cjs/runtimeConfig.shared.js +0 -3
  66. package/dist-es/commands/index.js +48 -0
  67. package/dist-es/endpoints.js +6 -1
  68. package/dist-es/index.js +4 -55
  69. package/dist-es/pagination/index.js +5 -0
  70. package/dist-types/commands/index.d.ts +48 -0
  71. package/dist-types/index.d.ts +4 -55
  72. package/dist-types/pagination/index.d.ts +5 -0
  73. package/dist-types/ts3.4/KMS.d.ts +49 -2646
  74. package/dist-types/ts3.4/KMSClient.d.ts +24 -178
  75. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +2 -33
  76. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +2 -81
  77. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +2 -77
  78. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +2 -69
  79. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +2 -82
  80. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +2 -144
  81. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +2 -108
  82. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +2 -67
  83. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +2 -74
  84. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +2 -49
  85. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +2 -73
  86. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +2 -99
  87. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +2 -35
  88. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +2 -45
  89. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +2 -72
  90. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +2 -32
  91. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +2 -45
  92. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +2 -144
  93. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +2 -117
  94. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +2 -96
  95. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +2 -86
  96. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +2 -91
  97. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +2 -29
  98. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +2 -28
  99. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +2 -57
  100. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +2 -54
  101. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +2 -66
  102. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +2 -83
  103. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +2 -62
  104. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +2 -65
  105. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +2 -42
  106. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +2 -50
  107. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +2 -54
  108. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +2 -63
  109. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +2 -33
  110. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +2 -118
  111. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +2 -97
  112. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +2 -66
  113. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +2 -63
  114. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +2 -74
  115. package/dist-types/ts3.4/commands/SignCommand.d.ts +2 -65
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -67
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -63
  118. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +2 -82
  119. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +2 -92
  120. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +2 -43
  121. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +2 -85
  122. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +2 -50
  123. package/dist-types/ts3.4/commands/index.d.ts +48 -0
  124. package/dist-types/ts3.4/index.d.ts +4 -55
  125. package/dist-types/ts3.4/models/models_0.d.ts +445 -2963
  126. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  127. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  128. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  129. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  130. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  131. package/package.json +32 -32
@@ -12,162 +12,108 @@ var AlgorithmSpec;
12
12
  })(AlgorithmSpec = exports.AlgorithmSpec || (exports.AlgorithmSpec = {}));
13
13
  var AliasListEntry;
14
14
  (function (AliasListEntry) {
15
- /**
16
- * @internal
17
- */
18
15
  AliasListEntry.filterSensitiveLog = (obj) => ({
19
16
  ...obj,
20
17
  });
21
18
  })(AliasListEntry = exports.AliasListEntry || (exports.AliasListEntry = {}));
22
19
  var AlreadyExistsException;
23
20
  (function (AlreadyExistsException) {
24
- /**
25
- * @internal
26
- */
27
21
  AlreadyExistsException.filterSensitiveLog = (obj) => ({
28
22
  ...obj,
29
23
  });
30
24
  })(AlreadyExistsException = exports.AlreadyExistsException || (exports.AlreadyExistsException = {}));
31
25
  var CancelKeyDeletionRequest;
32
26
  (function (CancelKeyDeletionRequest) {
33
- /**
34
- * @internal
35
- */
36
27
  CancelKeyDeletionRequest.filterSensitiveLog = (obj) => ({
37
28
  ...obj,
38
29
  });
39
30
  })(CancelKeyDeletionRequest = exports.CancelKeyDeletionRequest || (exports.CancelKeyDeletionRequest = {}));
40
31
  var CancelKeyDeletionResponse;
41
32
  (function (CancelKeyDeletionResponse) {
42
- /**
43
- * @internal
44
- */
45
33
  CancelKeyDeletionResponse.filterSensitiveLog = (obj) => ({
46
34
  ...obj,
47
35
  });
48
36
  })(CancelKeyDeletionResponse = exports.CancelKeyDeletionResponse || (exports.CancelKeyDeletionResponse = {}));
49
37
  var DependencyTimeoutException;
50
38
  (function (DependencyTimeoutException) {
51
- /**
52
- * @internal
53
- */
54
39
  DependencyTimeoutException.filterSensitiveLog = (obj) => ({
55
40
  ...obj,
56
41
  });
57
42
  })(DependencyTimeoutException = exports.DependencyTimeoutException || (exports.DependencyTimeoutException = {}));
58
43
  var InvalidArnException;
59
44
  (function (InvalidArnException) {
60
- /**
61
- * @internal
62
- */
63
45
  InvalidArnException.filterSensitiveLog = (obj) => ({
64
46
  ...obj,
65
47
  });
66
48
  })(InvalidArnException = exports.InvalidArnException || (exports.InvalidArnException = {}));
67
49
  var KMSInternalException;
68
50
  (function (KMSInternalException) {
69
- /**
70
- * @internal
71
- */
72
51
  KMSInternalException.filterSensitiveLog = (obj) => ({
73
52
  ...obj,
74
53
  });
75
54
  })(KMSInternalException = exports.KMSInternalException || (exports.KMSInternalException = {}));
76
55
  var KMSInvalidStateException;
77
56
  (function (KMSInvalidStateException) {
78
- /**
79
- * @internal
80
- */
81
57
  KMSInvalidStateException.filterSensitiveLog = (obj) => ({
82
58
  ...obj,
83
59
  });
84
60
  })(KMSInvalidStateException = exports.KMSInvalidStateException || (exports.KMSInvalidStateException = {}));
85
61
  var NotFoundException;
86
62
  (function (NotFoundException) {
87
- /**
88
- * @internal
89
- */
90
63
  NotFoundException.filterSensitiveLog = (obj) => ({
91
64
  ...obj,
92
65
  });
93
66
  })(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
94
67
  var CloudHsmClusterInUseException;
95
68
  (function (CloudHsmClusterInUseException) {
96
- /**
97
- * @internal
98
- */
99
69
  CloudHsmClusterInUseException.filterSensitiveLog = (obj) => ({
100
70
  ...obj,
101
71
  });
102
72
  })(CloudHsmClusterInUseException = exports.CloudHsmClusterInUseException || (exports.CloudHsmClusterInUseException = {}));
103
73
  var CloudHsmClusterInvalidConfigurationException;
104
74
  (function (CloudHsmClusterInvalidConfigurationException) {
105
- /**
106
- * @internal
107
- */
108
75
  CloudHsmClusterInvalidConfigurationException.filterSensitiveLog = (obj) => ({
109
76
  ...obj,
110
77
  });
111
78
  })(CloudHsmClusterInvalidConfigurationException = exports.CloudHsmClusterInvalidConfigurationException || (exports.CloudHsmClusterInvalidConfigurationException = {}));
112
79
  var CloudHsmClusterNotActiveException;
113
80
  (function (CloudHsmClusterNotActiveException) {
114
- /**
115
- * @internal
116
- */
117
81
  CloudHsmClusterNotActiveException.filterSensitiveLog = (obj) => ({
118
82
  ...obj,
119
83
  });
120
84
  })(CloudHsmClusterNotActiveException = exports.CloudHsmClusterNotActiveException || (exports.CloudHsmClusterNotActiveException = {}));
121
85
  var CloudHsmClusterNotFoundException;
122
86
  (function (CloudHsmClusterNotFoundException) {
123
- /**
124
- * @internal
125
- */
126
87
  CloudHsmClusterNotFoundException.filterSensitiveLog = (obj) => ({
127
88
  ...obj,
128
89
  });
129
90
  })(CloudHsmClusterNotFoundException = exports.CloudHsmClusterNotFoundException || (exports.CloudHsmClusterNotFoundException = {}));
130
91
  var CloudHsmClusterNotRelatedException;
131
92
  (function (CloudHsmClusterNotRelatedException) {
132
- /**
133
- * @internal
134
- */
135
93
  CloudHsmClusterNotRelatedException.filterSensitiveLog = (obj) => ({
136
94
  ...obj,
137
95
  });
138
96
  })(CloudHsmClusterNotRelatedException = exports.CloudHsmClusterNotRelatedException || (exports.CloudHsmClusterNotRelatedException = {}));
139
97
  var ConnectCustomKeyStoreRequest;
140
98
  (function (ConnectCustomKeyStoreRequest) {
141
- /**
142
- * @internal
143
- */
144
99
  ConnectCustomKeyStoreRequest.filterSensitiveLog = (obj) => ({
145
100
  ...obj,
146
101
  });
147
102
  })(ConnectCustomKeyStoreRequest = exports.ConnectCustomKeyStoreRequest || (exports.ConnectCustomKeyStoreRequest = {}));
148
103
  var ConnectCustomKeyStoreResponse;
149
104
  (function (ConnectCustomKeyStoreResponse) {
150
- /**
151
- * @internal
152
- */
153
105
  ConnectCustomKeyStoreResponse.filterSensitiveLog = (obj) => ({
154
106
  ...obj,
155
107
  });
156
108
  })(ConnectCustomKeyStoreResponse = exports.ConnectCustomKeyStoreResponse || (exports.ConnectCustomKeyStoreResponse = {}));
157
109
  var CustomKeyStoreInvalidStateException;
158
110
  (function (CustomKeyStoreInvalidStateException) {
159
- /**
160
- * @internal
161
- */
162
111
  CustomKeyStoreInvalidStateException.filterSensitiveLog = (obj) => ({
163
112
  ...obj,
164
113
  });
165
114
  })(CustomKeyStoreInvalidStateException = exports.CustomKeyStoreInvalidStateException || (exports.CustomKeyStoreInvalidStateException = {}));
166
115
  var CustomKeyStoreNotFoundException;
167
116
  (function (CustomKeyStoreNotFoundException) {
168
- /**
169
- * @internal
170
- */
171
117
  CustomKeyStoreNotFoundException.filterSensitiveLog = (obj) => ({
172
118
  ...obj,
173
119
  });
@@ -194,36 +140,24 @@ var ConnectionStateType;
194
140
  })(ConnectionStateType = exports.ConnectionStateType || (exports.ConnectionStateType = {}));
195
141
  var CreateAliasRequest;
196
142
  (function (CreateAliasRequest) {
197
- /**
198
- * @internal
199
- */
200
143
  CreateAliasRequest.filterSensitiveLog = (obj) => ({
201
144
  ...obj,
202
145
  });
203
146
  })(CreateAliasRequest = exports.CreateAliasRequest || (exports.CreateAliasRequest = {}));
204
147
  var InvalidAliasNameException;
205
148
  (function (InvalidAliasNameException) {
206
- /**
207
- * @internal
208
- */
209
149
  InvalidAliasNameException.filterSensitiveLog = (obj) => ({
210
150
  ...obj,
211
151
  });
212
152
  })(InvalidAliasNameException = exports.InvalidAliasNameException || (exports.InvalidAliasNameException = {}));
213
153
  var LimitExceededException;
214
154
  (function (LimitExceededException) {
215
- /**
216
- * @internal
217
- */
218
155
  LimitExceededException.filterSensitiveLog = (obj) => ({
219
156
  ...obj,
220
157
  });
221
158
  })(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
222
159
  var CreateCustomKeyStoreRequest;
223
160
  (function (CreateCustomKeyStoreRequest) {
224
- /**
225
- * @internal
226
- */
227
161
  CreateCustomKeyStoreRequest.filterSensitiveLog = (obj) => ({
228
162
  ...obj,
229
163
  ...(obj.KeyStorePassword && { KeyStorePassword: smithy_client_1.SENSITIVE_STRING }),
@@ -231,36 +165,24 @@ var CreateCustomKeyStoreRequest;
231
165
  })(CreateCustomKeyStoreRequest = exports.CreateCustomKeyStoreRequest || (exports.CreateCustomKeyStoreRequest = {}));
232
166
  var CreateCustomKeyStoreResponse;
233
167
  (function (CreateCustomKeyStoreResponse) {
234
- /**
235
- * @internal
236
- */
237
168
  CreateCustomKeyStoreResponse.filterSensitiveLog = (obj) => ({
238
169
  ...obj,
239
170
  });
240
171
  })(CreateCustomKeyStoreResponse = exports.CreateCustomKeyStoreResponse || (exports.CreateCustomKeyStoreResponse = {}));
241
172
  var CustomKeyStoreNameInUseException;
242
173
  (function (CustomKeyStoreNameInUseException) {
243
- /**
244
- * @internal
245
- */
246
174
  CustomKeyStoreNameInUseException.filterSensitiveLog = (obj) => ({
247
175
  ...obj,
248
176
  });
249
177
  })(CustomKeyStoreNameInUseException = exports.CustomKeyStoreNameInUseException || (exports.CustomKeyStoreNameInUseException = {}));
250
178
  var IncorrectTrustAnchorException;
251
179
  (function (IncorrectTrustAnchorException) {
252
- /**
253
- * @internal
254
- */
255
180
  IncorrectTrustAnchorException.filterSensitiveLog = (obj) => ({
256
181
  ...obj,
257
182
  });
258
183
  })(IncorrectTrustAnchorException = exports.IncorrectTrustAnchorException || (exports.IncorrectTrustAnchorException = {}));
259
184
  var GrantConstraints;
260
185
  (function (GrantConstraints) {
261
- /**
262
- * @internal
263
- */
264
186
  GrantConstraints.filterSensitiveLog = (obj) => ({
265
187
  ...obj,
266
188
  });
@@ -284,36 +206,24 @@ var GrantOperation;
284
206
  })(GrantOperation = exports.GrantOperation || (exports.GrantOperation = {}));
285
207
  var CreateGrantRequest;
286
208
  (function (CreateGrantRequest) {
287
- /**
288
- * @internal
289
- */
290
209
  CreateGrantRequest.filterSensitiveLog = (obj) => ({
291
210
  ...obj,
292
211
  });
293
212
  })(CreateGrantRequest = exports.CreateGrantRequest || (exports.CreateGrantRequest = {}));
294
213
  var CreateGrantResponse;
295
214
  (function (CreateGrantResponse) {
296
- /**
297
- * @internal
298
- */
299
215
  CreateGrantResponse.filterSensitiveLog = (obj) => ({
300
216
  ...obj,
301
217
  });
302
218
  })(CreateGrantResponse = exports.CreateGrantResponse || (exports.CreateGrantResponse = {}));
303
219
  var DisabledException;
304
220
  (function (DisabledException) {
305
- /**
306
- * @internal
307
- */
308
221
  DisabledException.filterSensitiveLog = (obj) => ({
309
222
  ...obj,
310
223
  });
311
224
  })(DisabledException = exports.DisabledException || (exports.DisabledException = {}));
312
225
  var InvalidGrantTokenException;
313
226
  (function (InvalidGrantTokenException) {
314
- /**
315
- * @internal
316
- */
317
227
  InvalidGrantTokenException.filterSensitiveLog = (obj) => ({
318
228
  ...obj,
319
229
  });
@@ -353,18 +263,12 @@ var OriginType;
353
263
  })(OriginType = exports.OriginType || (exports.OriginType = {}));
354
264
  var Tag;
355
265
  (function (Tag) {
356
- /**
357
- * @internal
358
- */
359
266
  Tag.filterSensitiveLog = (obj) => ({
360
267
  ...obj,
361
268
  });
362
269
  })(Tag = exports.Tag || (exports.Tag = {}));
363
270
  var CreateKeyRequest;
364
271
  (function (CreateKeyRequest) {
365
- /**
366
- * @internal
367
- */
368
272
  CreateKeyRequest.filterSensitiveLog = (obj) => ({
369
273
  ...obj,
370
274
  });
@@ -403,18 +307,12 @@ var MultiRegionKeyType;
403
307
  })(MultiRegionKeyType = exports.MultiRegionKeyType || (exports.MultiRegionKeyType = {}));
404
308
  var MultiRegionKey;
405
309
  (function (MultiRegionKey) {
406
- /**
407
- * @internal
408
- */
409
310
  MultiRegionKey.filterSensitiveLog = (obj) => ({
410
311
  ...obj,
411
312
  });
412
313
  })(MultiRegionKey = exports.MultiRegionKey || (exports.MultiRegionKey = {}));
413
314
  var MultiRegionConfiguration;
414
315
  (function (MultiRegionConfiguration) {
415
- /**
416
- * @internal
417
- */
418
316
  MultiRegionConfiguration.filterSensitiveLog = (obj) => ({
419
317
  ...obj,
420
318
  });
@@ -433,63 +331,42 @@ var SigningAlgorithmSpec;
433
331
  })(SigningAlgorithmSpec = exports.SigningAlgorithmSpec || (exports.SigningAlgorithmSpec = {}));
434
332
  var KeyMetadata;
435
333
  (function (KeyMetadata) {
436
- /**
437
- * @internal
438
- */
439
334
  KeyMetadata.filterSensitiveLog = (obj) => ({
440
335
  ...obj,
441
336
  });
442
337
  })(KeyMetadata = exports.KeyMetadata || (exports.KeyMetadata = {}));
443
338
  var CreateKeyResponse;
444
339
  (function (CreateKeyResponse) {
445
- /**
446
- * @internal
447
- */
448
340
  CreateKeyResponse.filterSensitiveLog = (obj) => ({
449
341
  ...obj,
450
342
  });
451
343
  })(CreateKeyResponse = exports.CreateKeyResponse || (exports.CreateKeyResponse = {}));
452
344
  var MalformedPolicyDocumentException;
453
345
  (function (MalformedPolicyDocumentException) {
454
- /**
455
- * @internal
456
- */
457
346
  MalformedPolicyDocumentException.filterSensitiveLog = (obj) => ({
458
347
  ...obj,
459
348
  });
460
349
  })(MalformedPolicyDocumentException = exports.MalformedPolicyDocumentException || (exports.MalformedPolicyDocumentException = {}));
461
350
  var TagException;
462
351
  (function (TagException) {
463
- /**
464
- * @internal
465
- */
466
352
  TagException.filterSensitiveLog = (obj) => ({
467
353
  ...obj,
468
354
  });
469
355
  })(TagException = exports.TagException || (exports.TagException = {}));
470
356
  var UnsupportedOperationException;
471
357
  (function (UnsupportedOperationException) {
472
- /**
473
- * @internal
474
- */
475
358
  UnsupportedOperationException.filterSensitiveLog = (obj) => ({
476
359
  ...obj,
477
360
  });
478
361
  })(UnsupportedOperationException = exports.UnsupportedOperationException || (exports.UnsupportedOperationException = {}));
479
362
  var CustomKeyStoreHasCMKsException;
480
363
  (function (CustomKeyStoreHasCMKsException) {
481
- /**
482
- * @internal
483
- */
484
364
  CustomKeyStoreHasCMKsException.filterSensitiveLog = (obj) => ({
485
365
  ...obj,
486
366
  });
487
367
  })(CustomKeyStoreHasCMKsException = exports.CustomKeyStoreHasCMKsException || (exports.CustomKeyStoreHasCMKsException = {}));
488
368
  var CustomKeyStoresListEntry;
489
369
  (function (CustomKeyStoresListEntry) {
490
- /**
491
- * @internal
492
- */
493
370
  CustomKeyStoresListEntry.filterSensitiveLog = (obj) => ({
494
371
  ...obj,
495
372
  });
@@ -511,18 +388,12 @@ var DataKeySpec;
511
388
  })(DataKeySpec = exports.DataKeySpec || (exports.DataKeySpec = {}));
512
389
  var DecryptRequest;
513
390
  (function (DecryptRequest) {
514
- /**
515
- * @internal
516
- */
517
391
  DecryptRequest.filterSensitiveLog = (obj) => ({
518
392
  ...obj,
519
393
  });
520
394
  })(DecryptRequest = exports.DecryptRequest || (exports.DecryptRequest = {}));
521
395
  var DecryptResponse;
522
396
  (function (DecryptResponse) {
523
- /**
524
- * @internal
525
- */
526
397
  DecryptResponse.filterSensitiveLog = (obj) => ({
527
398
  ...obj,
528
399
  ...(obj.Plaintext && { Plaintext: smithy_client_1.SENSITIVE_STRING }),
@@ -530,180 +401,120 @@ var DecryptResponse;
530
401
  })(DecryptResponse = exports.DecryptResponse || (exports.DecryptResponse = {}));
531
402
  var IncorrectKeyException;
532
403
  (function (IncorrectKeyException) {
533
- /**
534
- * @internal
535
- */
536
404
  IncorrectKeyException.filterSensitiveLog = (obj) => ({
537
405
  ...obj,
538
406
  });
539
407
  })(IncorrectKeyException = exports.IncorrectKeyException || (exports.IncorrectKeyException = {}));
540
408
  var InvalidCiphertextException;
541
409
  (function (InvalidCiphertextException) {
542
- /**
543
- * @internal
544
- */
545
410
  InvalidCiphertextException.filterSensitiveLog = (obj) => ({
546
411
  ...obj,
547
412
  });
548
413
  })(InvalidCiphertextException = exports.InvalidCiphertextException || (exports.InvalidCiphertextException = {}));
549
414
  var InvalidKeyUsageException;
550
415
  (function (InvalidKeyUsageException) {
551
- /**
552
- * @internal
553
- */
554
416
  InvalidKeyUsageException.filterSensitiveLog = (obj) => ({
555
417
  ...obj,
556
418
  });
557
419
  })(InvalidKeyUsageException = exports.InvalidKeyUsageException || (exports.InvalidKeyUsageException = {}));
558
420
  var KeyUnavailableException;
559
421
  (function (KeyUnavailableException) {
560
- /**
561
- * @internal
562
- */
563
422
  KeyUnavailableException.filterSensitiveLog = (obj) => ({
564
423
  ...obj,
565
424
  });
566
425
  })(KeyUnavailableException = exports.KeyUnavailableException || (exports.KeyUnavailableException = {}));
567
426
  var DeleteAliasRequest;
568
427
  (function (DeleteAliasRequest) {
569
- /**
570
- * @internal
571
- */
572
428
  DeleteAliasRequest.filterSensitiveLog = (obj) => ({
573
429
  ...obj,
574
430
  });
575
431
  })(DeleteAliasRequest = exports.DeleteAliasRequest || (exports.DeleteAliasRequest = {}));
576
432
  var DeleteCustomKeyStoreRequest;
577
433
  (function (DeleteCustomKeyStoreRequest) {
578
- /**
579
- * @internal
580
- */
581
434
  DeleteCustomKeyStoreRequest.filterSensitiveLog = (obj) => ({
582
435
  ...obj,
583
436
  });
584
437
  })(DeleteCustomKeyStoreRequest = exports.DeleteCustomKeyStoreRequest || (exports.DeleteCustomKeyStoreRequest = {}));
585
438
  var DeleteCustomKeyStoreResponse;
586
439
  (function (DeleteCustomKeyStoreResponse) {
587
- /**
588
- * @internal
589
- */
590
440
  DeleteCustomKeyStoreResponse.filterSensitiveLog = (obj) => ({
591
441
  ...obj,
592
442
  });
593
443
  })(DeleteCustomKeyStoreResponse = exports.DeleteCustomKeyStoreResponse || (exports.DeleteCustomKeyStoreResponse = {}));
594
444
  var DeleteImportedKeyMaterialRequest;
595
445
  (function (DeleteImportedKeyMaterialRequest) {
596
- /**
597
- * @internal
598
- */
599
446
  DeleteImportedKeyMaterialRequest.filterSensitiveLog = (obj) => ({
600
447
  ...obj,
601
448
  });
602
449
  })(DeleteImportedKeyMaterialRequest = exports.DeleteImportedKeyMaterialRequest || (exports.DeleteImportedKeyMaterialRequest = {}));
603
450
  var DescribeCustomKeyStoresRequest;
604
451
  (function (DescribeCustomKeyStoresRequest) {
605
- /**
606
- * @internal
607
- */
608
452
  DescribeCustomKeyStoresRequest.filterSensitiveLog = (obj) => ({
609
453
  ...obj,
610
454
  });
611
455
  })(DescribeCustomKeyStoresRequest = exports.DescribeCustomKeyStoresRequest || (exports.DescribeCustomKeyStoresRequest = {}));
612
456
  var DescribeCustomKeyStoresResponse;
613
457
  (function (DescribeCustomKeyStoresResponse) {
614
- /**
615
- * @internal
616
- */
617
458
  DescribeCustomKeyStoresResponse.filterSensitiveLog = (obj) => ({
618
459
  ...obj,
619
460
  });
620
461
  })(DescribeCustomKeyStoresResponse = exports.DescribeCustomKeyStoresResponse || (exports.DescribeCustomKeyStoresResponse = {}));
621
462
  var InvalidMarkerException;
622
463
  (function (InvalidMarkerException) {
623
- /**
624
- * @internal
625
- */
626
464
  InvalidMarkerException.filterSensitiveLog = (obj) => ({
627
465
  ...obj,
628
466
  });
629
467
  })(InvalidMarkerException = exports.InvalidMarkerException || (exports.InvalidMarkerException = {}));
630
468
  var DescribeKeyRequest;
631
469
  (function (DescribeKeyRequest) {
632
- /**
633
- * @internal
634
- */
635
470
  DescribeKeyRequest.filterSensitiveLog = (obj) => ({
636
471
  ...obj,
637
472
  });
638
473
  })(DescribeKeyRequest = exports.DescribeKeyRequest || (exports.DescribeKeyRequest = {}));
639
474
  var DescribeKeyResponse;
640
475
  (function (DescribeKeyResponse) {
641
- /**
642
- * @internal
643
- */
644
476
  DescribeKeyResponse.filterSensitiveLog = (obj) => ({
645
477
  ...obj,
646
478
  });
647
479
  })(DescribeKeyResponse = exports.DescribeKeyResponse || (exports.DescribeKeyResponse = {}));
648
480
  var DisableKeyRequest;
649
481
  (function (DisableKeyRequest) {
650
- /**
651
- * @internal
652
- */
653
482
  DisableKeyRequest.filterSensitiveLog = (obj) => ({
654
483
  ...obj,
655
484
  });
656
485
  })(DisableKeyRequest = exports.DisableKeyRequest || (exports.DisableKeyRequest = {}));
657
486
  var DisableKeyRotationRequest;
658
487
  (function (DisableKeyRotationRequest) {
659
- /**
660
- * @internal
661
- */
662
488
  DisableKeyRotationRequest.filterSensitiveLog = (obj) => ({
663
489
  ...obj,
664
490
  });
665
491
  })(DisableKeyRotationRequest = exports.DisableKeyRotationRequest || (exports.DisableKeyRotationRequest = {}));
666
492
  var DisconnectCustomKeyStoreRequest;
667
493
  (function (DisconnectCustomKeyStoreRequest) {
668
- /**
669
- * @internal
670
- */
671
494
  DisconnectCustomKeyStoreRequest.filterSensitiveLog = (obj) => ({
672
495
  ...obj,
673
496
  });
674
497
  })(DisconnectCustomKeyStoreRequest = exports.DisconnectCustomKeyStoreRequest || (exports.DisconnectCustomKeyStoreRequest = {}));
675
498
  var DisconnectCustomKeyStoreResponse;
676
499
  (function (DisconnectCustomKeyStoreResponse) {
677
- /**
678
- * @internal
679
- */
680
500
  DisconnectCustomKeyStoreResponse.filterSensitiveLog = (obj) => ({
681
501
  ...obj,
682
502
  });
683
503
  })(DisconnectCustomKeyStoreResponse = exports.DisconnectCustomKeyStoreResponse || (exports.DisconnectCustomKeyStoreResponse = {}));
684
504
  var EnableKeyRequest;
685
505
  (function (EnableKeyRequest) {
686
- /**
687
- * @internal
688
- */
689
506
  EnableKeyRequest.filterSensitiveLog = (obj) => ({
690
507
  ...obj,
691
508
  });
692
509
  })(EnableKeyRequest = exports.EnableKeyRequest || (exports.EnableKeyRequest = {}));
693
510
  var EnableKeyRotationRequest;
694
511
  (function (EnableKeyRotationRequest) {
695
- /**
696
- * @internal
697
- */
698
512
  EnableKeyRotationRequest.filterSensitiveLog = (obj) => ({
699
513
  ...obj,
700
514
  });
701
515
  })(EnableKeyRotationRequest = exports.EnableKeyRotationRequest || (exports.EnableKeyRotationRequest = {}));
702
516
  var EncryptRequest;
703
517
  (function (EncryptRequest) {
704
- /**
705
- * @internal
706
- */
707
518
  EncryptRequest.filterSensitiveLog = (obj) => ({
708
519
  ...obj,
709
520
  ...(obj.Plaintext && { Plaintext: smithy_client_1.SENSITIVE_STRING }),
@@ -711,36 +522,24 @@ var EncryptRequest;
711
522
  })(EncryptRequest = exports.EncryptRequest || (exports.EncryptRequest = {}));
712
523
  var EncryptResponse;
713
524
  (function (EncryptResponse) {
714
- /**
715
- * @internal
716
- */
717
525
  EncryptResponse.filterSensitiveLog = (obj) => ({
718
526
  ...obj,
719
527
  });
720
528
  })(EncryptResponse = exports.EncryptResponse || (exports.EncryptResponse = {}));
721
529
  var ExpiredImportTokenException;
722
530
  (function (ExpiredImportTokenException) {
723
- /**
724
- * @internal
725
- */
726
531
  ExpiredImportTokenException.filterSensitiveLog = (obj) => ({
727
532
  ...obj,
728
533
  });
729
534
  })(ExpiredImportTokenException = exports.ExpiredImportTokenException || (exports.ExpiredImportTokenException = {}));
730
535
  var GenerateDataKeyRequest;
731
536
  (function (GenerateDataKeyRequest) {
732
- /**
733
- * @internal
734
- */
735
537
  GenerateDataKeyRequest.filterSensitiveLog = (obj) => ({
736
538
  ...obj,
737
539
  });
738
540
  })(GenerateDataKeyRequest = exports.GenerateDataKeyRequest || (exports.GenerateDataKeyRequest = {}));
739
541
  var GenerateDataKeyResponse;
740
542
  (function (GenerateDataKeyResponse) {
741
- /**
742
- * @internal
743
- */
744
543
  GenerateDataKeyResponse.filterSensitiveLog = (obj) => ({
745
544
  ...obj,
746
545
  ...(obj.Plaintext && { Plaintext: smithy_client_1.SENSITIVE_STRING }),
@@ -748,18 +547,12 @@ var GenerateDataKeyResponse;
748
547
  })(GenerateDataKeyResponse = exports.GenerateDataKeyResponse || (exports.GenerateDataKeyResponse = {}));
749
548
  var GenerateDataKeyPairRequest;
750
549
  (function (GenerateDataKeyPairRequest) {
751
- /**
752
- * @internal
753
- */
754
550
  GenerateDataKeyPairRequest.filterSensitiveLog = (obj) => ({
755
551
  ...obj,
756
552
  });
757
553
  })(GenerateDataKeyPairRequest = exports.GenerateDataKeyPairRequest || (exports.GenerateDataKeyPairRequest = {}));
758
554
  var GenerateDataKeyPairResponse;
759
555
  (function (GenerateDataKeyPairResponse) {
760
- /**
761
- * @internal
762
- */
763
556
  GenerateDataKeyPairResponse.filterSensitiveLog = (obj) => ({
764
557
  ...obj,
765
558
  ...(obj.PrivateKeyPlaintext && { PrivateKeyPlaintext: smithy_client_1.SENSITIVE_STRING }),
@@ -767,54 +560,36 @@ var GenerateDataKeyPairResponse;
767
560
  })(GenerateDataKeyPairResponse = exports.GenerateDataKeyPairResponse || (exports.GenerateDataKeyPairResponse = {}));
768
561
  var GenerateDataKeyPairWithoutPlaintextRequest;
769
562
  (function (GenerateDataKeyPairWithoutPlaintextRequest) {
770
- /**
771
- * @internal
772
- */
773
563
  GenerateDataKeyPairWithoutPlaintextRequest.filterSensitiveLog = (obj) => ({
774
564
  ...obj,
775
565
  });
776
566
  })(GenerateDataKeyPairWithoutPlaintextRequest = exports.GenerateDataKeyPairWithoutPlaintextRequest || (exports.GenerateDataKeyPairWithoutPlaintextRequest = {}));
777
567
  var GenerateDataKeyPairWithoutPlaintextResponse;
778
568
  (function (GenerateDataKeyPairWithoutPlaintextResponse) {
779
- /**
780
- * @internal
781
- */
782
569
  GenerateDataKeyPairWithoutPlaintextResponse.filterSensitiveLog = (obj) => ({
783
570
  ...obj,
784
571
  });
785
572
  })(GenerateDataKeyPairWithoutPlaintextResponse = exports.GenerateDataKeyPairWithoutPlaintextResponse || (exports.GenerateDataKeyPairWithoutPlaintextResponse = {}));
786
573
  var GenerateDataKeyWithoutPlaintextRequest;
787
574
  (function (GenerateDataKeyWithoutPlaintextRequest) {
788
- /**
789
- * @internal
790
- */
791
575
  GenerateDataKeyWithoutPlaintextRequest.filterSensitiveLog = (obj) => ({
792
576
  ...obj,
793
577
  });
794
578
  })(GenerateDataKeyWithoutPlaintextRequest = exports.GenerateDataKeyWithoutPlaintextRequest || (exports.GenerateDataKeyWithoutPlaintextRequest = {}));
795
579
  var GenerateDataKeyWithoutPlaintextResponse;
796
580
  (function (GenerateDataKeyWithoutPlaintextResponse) {
797
- /**
798
- * @internal
799
- */
800
581
  GenerateDataKeyWithoutPlaintextResponse.filterSensitiveLog = (obj) => ({
801
582
  ...obj,
802
583
  });
803
584
  })(GenerateDataKeyWithoutPlaintextResponse = exports.GenerateDataKeyWithoutPlaintextResponse || (exports.GenerateDataKeyWithoutPlaintextResponse = {}));
804
585
  var GenerateRandomRequest;
805
586
  (function (GenerateRandomRequest) {
806
- /**
807
- * @internal
808
- */
809
587
  GenerateRandomRequest.filterSensitiveLog = (obj) => ({
810
588
  ...obj,
811
589
  });
812
590
  })(GenerateRandomRequest = exports.GenerateRandomRequest || (exports.GenerateRandomRequest = {}));
813
591
  var GenerateRandomResponse;
814
592
  (function (GenerateRandomResponse) {
815
- /**
816
- * @internal
817
- */
818
593
  GenerateRandomResponse.filterSensitiveLog = (obj) => ({
819
594
  ...obj,
820
595
  ...(obj.Plaintext && { Plaintext: smithy_client_1.SENSITIVE_STRING }),
@@ -822,36 +597,24 @@ var GenerateRandomResponse;
822
597
  })(GenerateRandomResponse = exports.GenerateRandomResponse || (exports.GenerateRandomResponse = {}));
823
598
  var GetKeyPolicyRequest;
824
599
  (function (GetKeyPolicyRequest) {
825
- /**
826
- * @internal
827
- */
828
600
  GetKeyPolicyRequest.filterSensitiveLog = (obj) => ({
829
601
  ...obj,
830
602
  });
831
603
  })(GetKeyPolicyRequest = exports.GetKeyPolicyRequest || (exports.GetKeyPolicyRequest = {}));
832
604
  var GetKeyPolicyResponse;
833
605
  (function (GetKeyPolicyResponse) {
834
- /**
835
- * @internal
836
- */
837
606
  GetKeyPolicyResponse.filterSensitiveLog = (obj) => ({
838
607
  ...obj,
839
608
  });
840
609
  })(GetKeyPolicyResponse = exports.GetKeyPolicyResponse || (exports.GetKeyPolicyResponse = {}));
841
610
  var GetKeyRotationStatusRequest;
842
611
  (function (GetKeyRotationStatusRequest) {
843
- /**
844
- * @internal
845
- */
846
612
  GetKeyRotationStatusRequest.filterSensitiveLog = (obj) => ({
847
613
  ...obj,
848
614
  });
849
615
  })(GetKeyRotationStatusRequest = exports.GetKeyRotationStatusRequest || (exports.GetKeyRotationStatusRequest = {}));
850
616
  var GetKeyRotationStatusResponse;
851
617
  (function (GetKeyRotationStatusResponse) {
852
- /**
853
- * @internal
854
- */
855
618
  GetKeyRotationStatusResponse.filterSensitiveLog = (obj) => ({
856
619
  ...obj,
857
620
  });
@@ -862,18 +625,12 @@ var WrappingKeySpec;
862
625
  })(WrappingKeySpec = exports.WrappingKeySpec || (exports.WrappingKeySpec = {}));
863
626
  var GetParametersForImportRequest;
864
627
  (function (GetParametersForImportRequest) {
865
- /**
866
- * @internal
867
- */
868
628
  GetParametersForImportRequest.filterSensitiveLog = (obj) => ({
869
629
  ...obj,
870
630
  });
871
631
  })(GetParametersForImportRequest = exports.GetParametersForImportRequest || (exports.GetParametersForImportRequest = {}));
872
632
  var GetParametersForImportResponse;
873
633
  (function (GetParametersForImportResponse) {
874
- /**
875
- * @internal
876
- */
877
634
  GetParametersForImportResponse.filterSensitiveLog = (obj) => ({
878
635
  ...obj,
879
636
  ...(obj.PublicKey && { PublicKey: smithy_client_1.SENSITIVE_STRING }),
@@ -881,189 +638,126 @@ var GetParametersForImportResponse;
881
638
  })(GetParametersForImportResponse = exports.GetParametersForImportResponse || (exports.GetParametersForImportResponse = {}));
882
639
  var GetPublicKeyRequest;
883
640
  (function (GetPublicKeyRequest) {
884
- /**
885
- * @internal
886
- */
887
641
  GetPublicKeyRequest.filterSensitiveLog = (obj) => ({
888
642
  ...obj,
889
643
  });
890
644
  })(GetPublicKeyRequest = exports.GetPublicKeyRequest || (exports.GetPublicKeyRequest = {}));
891
645
  var GetPublicKeyResponse;
892
646
  (function (GetPublicKeyResponse) {
893
- /**
894
- * @internal
895
- */
896
647
  GetPublicKeyResponse.filterSensitiveLog = (obj) => ({
897
648
  ...obj,
898
649
  });
899
650
  })(GetPublicKeyResponse = exports.GetPublicKeyResponse || (exports.GetPublicKeyResponse = {}));
900
651
  var GrantListEntry;
901
652
  (function (GrantListEntry) {
902
- /**
903
- * @internal
904
- */
905
653
  GrantListEntry.filterSensitiveLog = (obj) => ({
906
654
  ...obj,
907
655
  });
908
656
  })(GrantListEntry = exports.GrantListEntry || (exports.GrantListEntry = {}));
909
657
  var ImportKeyMaterialRequest;
910
658
  (function (ImportKeyMaterialRequest) {
911
- /**
912
- * @internal
913
- */
914
659
  ImportKeyMaterialRequest.filterSensitiveLog = (obj) => ({
915
660
  ...obj,
916
661
  });
917
662
  })(ImportKeyMaterialRequest = exports.ImportKeyMaterialRequest || (exports.ImportKeyMaterialRequest = {}));
918
663
  var ImportKeyMaterialResponse;
919
664
  (function (ImportKeyMaterialResponse) {
920
- /**
921
- * @internal
922
- */
923
665
  ImportKeyMaterialResponse.filterSensitiveLog = (obj) => ({
924
666
  ...obj,
925
667
  });
926
668
  })(ImportKeyMaterialResponse = exports.ImportKeyMaterialResponse || (exports.ImportKeyMaterialResponse = {}));
927
669
  var IncorrectKeyMaterialException;
928
670
  (function (IncorrectKeyMaterialException) {
929
- /**
930
- * @internal
931
- */
932
671
  IncorrectKeyMaterialException.filterSensitiveLog = (obj) => ({
933
672
  ...obj,
934
673
  });
935
674
  })(IncorrectKeyMaterialException = exports.IncorrectKeyMaterialException || (exports.IncorrectKeyMaterialException = {}));
936
675
  var InvalidImportTokenException;
937
676
  (function (InvalidImportTokenException) {
938
- /**
939
- * @internal
940
- */
941
677
  InvalidImportTokenException.filterSensitiveLog = (obj) => ({
942
678
  ...obj,
943
679
  });
944
680
  })(InvalidImportTokenException = exports.InvalidImportTokenException || (exports.InvalidImportTokenException = {}));
945
681
  var InvalidGrantIdException;
946
682
  (function (InvalidGrantIdException) {
947
- /**
948
- * @internal
949
- */
950
683
  InvalidGrantIdException.filterSensitiveLog = (obj) => ({
951
684
  ...obj,
952
685
  });
953
686
  })(InvalidGrantIdException = exports.InvalidGrantIdException || (exports.InvalidGrantIdException = {}));
954
687
  var KeyListEntry;
955
688
  (function (KeyListEntry) {
956
- /**
957
- * @internal
958
- */
959
689
  KeyListEntry.filterSensitiveLog = (obj) => ({
960
690
  ...obj,
961
691
  });
962
692
  })(KeyListEntry = exports.KeyListEntry || (exports.KeyListEntry = {}));
963
693
  var KMSInvalidSignatureException;
964
694
  (function (KMSInvalidSignatureException) {
965
- /**
966
- * @internal
967
- */
968
695
  KMSInvalidSignatureException.filterSensitiveLog = (obj) => ({
969
696
  ...obj,
970
697
  });
971
698
  })(KMSInvalidSignatureException = exports.KMSInvalidSignatureException || (exports.KMSInvalidSignatureException = {}));
972
699
  var ListAliasesRequest;
973
700
  (function (ListAliasesRequest) {
974
- /**
975
- * @internal
976
- */
977
701
  ListAliasesRequest.filterSensitiveLog = (obj) => ({
978
702
  ...obj,
979
703
  });
980
704
  })(ListAliasesRequest = exports.ListAliasesRequest || (exports.ListAliasesRequest = {}));
981
705
  var ListAliasesResponse;
982
706
  (function (ListAliasesResponse) {
983
- /**
984
- * @internal
985
- */
986
707
  ListAliasesResponse.filterSensitiveLog = (obj) => ({
987
708
  ...obj,
988
709
  });
989
710
  })(ListAliasesResponse = exports.ListAliasesResponse || (exports.ListAliasesResponse = {}));
990
711
  var ListGrantsRequest;
991
712
  (function (ListGrantsRequest) {
992
- /**
993
- * @internal
994
- */
995
713
  ListGrantsRequest.filterSensitiveLog = (obj) => ({
996
714
  ...obj,
997
715
  });
998
716
  })(ListGrantsRequest = exports.ListGrantsRequest || (exports.ListGrantsRequest = {}));
999
717
  var ListGrantsResponse;
1000
718
  (function (ListGrantsResponse) {
1001
- /**
1002
- * @internal
1003
- */
1004
719
  ListGrantsResponse.filterSensitiveLog = (obj) => ({
1005
720
  ...obj,
1006
721
  });
1007
722
  })(ListGrantsResponse = exports.ListGrantsResponse || (exports.ListGrantsResponse = {}));
1008
723
  var ListKeyPoliciesRequest;
1009
724
  (function (ListKeyPoliciesRequest) {
1010
- /**
1011
- * @internal
1012
- */
1013
725
  ListKeyPoliciesRequest.filterSensitiveLog = (obj) => ({
1014
726
  ...obj,
1015
727
  });
1016
728
  })(ListKeyPoliciesRequest = exports.ListKeyPoliciesRequest || (exports.ListKeyPoliciesRequest = {}));
1017
729
  var ListKeyPoliciesResponse;
1018
730
  (function (ListKeyPoliciesResponse) {
1019
- /**
1020
- * @internal
1021
- */
1022
731
  ListKeyPoliciesResponse.filterSensitiveLog = (obj) => ({
1023
732
  ...obj,
1024
733
  });
1025
734
  })(ListKeyPoliciesResponse = exports.ListKeyPoliciesResponse || (exports.ListKeyPoliciesResponse = {}));
1026
735
  var ListKeysRequest;
1027
736
  (function (ListKeysRequest) {
1028
- /**
1029
- * @internal
1030
- */
1031
737
  ListKeysRequest.filterSensitiveLog = (obj) => ({
1032
738
  ...obj,
1033
739
  });
1034
740
  })(ListKeysRequest = exports.ListKeysRequest || (exports.ListKeysRequest = {}));
1035
741
  var ListKeysResponse;
1036
742
  (function (ListKeysResponse) {
1037
- /**
1038
- * @internal
1039
- */
1040
743
  ListKeysResponse.filterSensitiveLog = (obj) => ({
1041
744
  ...obj,
1042
745
  });
1043
746
  })(ListKeysResponse = exports.ListKeysResponse || (exports.ListKeysResponse = {}));
1044
747
  var ListResourceTagsRequest;
1045
748
  (function (ListResourceTagsRequest) {
1046
- /**
1047
- * @internal
1048
- */
1049
749
  ListResourceTagsRequest.filterSensitiveLog = (obj) => ({
1050
750
  ...obj,
1051
751
  });
1052
752
  })(ListResourceTagsRequest = exports.ListResourceTagsRequest || (exports.ListResourceTagsRequest = {}));
1053
753
  var ListResourceTagsResponse;
1054
754
  (function (ListResourceTagsResponse) {
1055
- /**
1056
- * @internal
1057
- */
1058
755
  ListResourceTagsResponse.filterSensitiveLog = (obj) => ({
1059
756
  ...obj,
1060
757
  });
1061
758
  })(ListResourceTagsResponse = exports.ListResourceTagsResponse || (exports.ListResourceTagsResponse = {}));
1062
759
  var ListRetirableGrantsRequest;
1063
760
  (function (ListRetirableGrantsRequest) {
1064
- /**
1065
- * @internal
1066
- */
1067
761
  ListRetirableGrantsRequest.filterSensitiveLog = (obj) => ({
1068
762
  ...obj,
1069
763
  });
@@ -1075,90 +769,60 @@ var MessageType;
1075
769
  })(MessageType = exports.MessageType || (exports.MessageType = {}));
1076
770
  var PutKeyPolicyRequest;
1077
771
  (function (PutKeyPolicyRequest) {
1078
- /**
1079
- * @internal
1080
- */
1081
772
  PutKeyPolicyRequest.filterSensitiveLog = (obj) => ({
1082
773
  ...obj,
1083
774
  });
1084
775
  })(PutKeyPolicyRequest = exports.PutKeyPolicyRequest || (exports.PutKeyPolicyRequest = {}));
1085
776
  var ReEncryptRequest;
1086
777
  (function (ReEncryptRequest) {
1087
- /**
1088
- * @internal
1089
- */
1090
778
  ReEncryptRequest.filterSensitiveLog = (obj) => ({
1091
779
  ...obj,
1092
780
  });
1093
781
  })(ReEncryptRequest = exports.ReEncryptRequest || (exports.ReEncryptRequest = {}));
1094
782
  var ReEncryptResponse;
1095
783
  (function (ReEncryptResponse) {
1096
- /**
1097
- * @internal
1098
- */
1099
784
  ReEncryptResponse.filterSensitiveLog = (obj) => ({
1100
785
  ...obj,
1101
786
  });
1102
787
  })(ReEncryptResponse = exports.ReEncryptResponse || (exports.ReEncryptResponse = {}));
1103
788
  var ReplicateKeyRequest;
1104
789
  (function (ReplicateKeyRequest) {
1105
- /**
1106
- * @internal
1107
- */
1108
790
  ReplicateKeyRequest.filterSensitiveLog = (obj) => ({
1109
791
  ...obj,
1110
792
  });
1111
793
  })(ReplicateKeyRequest = exports.ReplicateKeyRequest || (exports.ReplicateKeyRequest = {}));
1112
794
  var ReplicateKeyResponse;
1113
795
  (function (ReplicateKeyResponse) {
1114
- /**
1115
- * @internal
1116
- */
1117
796
  ReplicateKeyResponse.filterSensitiveLog = (obj) => ({
1118
797
  ...obj,
1119
798
  });
1120
799
  })(ReplicateKeyResponse = exports.ReplicateKeyResponse || (exports.ReplicateKeyResponse = {}));
1121
800
  var RetireGrantRequest;
1122
801
  (function (RetireGrantRequest) {
1123
- /**
1124
- * @internal
1125
- */
1126
802
  RetireGrantRequest.filterSensitiveLog = (obj) => ({
1127
803
  ...obj,
1128
804
  });
1129
805
  })(RetireGrantRequest = exports.RetireGrantRequest || (exports.RetireGrantRequest = {}));
1130
806
  var RevokeGrantRequest;
1131
807
  (function (RevokeGrantRequest) {
1132
- /**
1133
- * @internal
1134
- */
1135
808
  RevokeGrantRequest.filterSensitiveLog = (obj) => ({
1136
809
  ...obj,
1137
810
  });
1138
811
  })(RevokeGrantRequest = exports.RevokeGrantRequest || (exports.RevokeGrantRequest = {}));
1139
812
  var ScheduleKeyDeletionRequest;
1140
813
  (function (ScheduleKeyDeletionRequest) {
1141
- /**
1142
- * @internal
1143
- */
1144
814
  ScheduleKeyDeletionRequest.filterSensitiveLog = (obj) => ({
1145
815
  ...obj,
1146
816
  });
1147
817
  })(ScheduleKeyDeletionRequest = exports.ScheduleKeyDeletionRequest || (exports.ScheduleKeyDeletionRequest = {}));
1148
818
  var ScheduleKeyDeletionResponse;
1149
819
  (function (ScheduleKeyDeletionResponse) {
1150
- /**
1151
- * @internal
1152
- */
1153
820
  ScheduleKeyDeletionResponse.filterSensitiveLog = (obj) => ({
1154
821
  ...obj,
1155
822
  });
1156
823
  })(ScheduleKeyDeletionResponse = exports.ScheduleKeyDeletionResponse || (exports.ScheduleKeyDeletionResponse = {}));
1157
824
  var SignRequest;
1158
825
  (function (SignRequest) {
1159
- /**
1160
- * @internal
1161
- */
1162
826
  SignRequest.filterSensitiveLog = (obj) => ({
1163
827
  ...obj,
1164
828
  ...(obj.Message && { Message: smithy_client_1.SENSITIVE_STRING }),
@@ -1166,45 +830,30 @@ var SignRequest;
1166
830
  })(SignRequest = exports.SignRequest || (exports.SignRequest = {}));
1167
831
  var SignResponse;
1168
832
  (function (SignResponse) {
1169
- /**
1170
- * @internal
1171
- */
1172
833
  SignResponse.filterSensitiveLog = (obj) => ({
1173
834
  ...obj,
1174
835
  });
1175
836
  })(SignResponse = exports.SignResponse || (exports.SignResponse = {}));
1176
837
  var TagResourceRequest;
1177
838
  (function (TagResourceRequest) {
1178
- /**
1179
- * @internal
1180
- */
1181
839
  TagResourceRequest.filterSensitiveLog = (obj) => ({
1182
840
  ...obj,
1183
841
  });
1184
842
  })(TagResourceRequest = exports.TagResourceRequest || (exports.TagResourceRequest = {}));
1185
843
  var UntagResourceRequest;
1186
844
  (function (UntagResourceRequest) {
1187
- /**
1188
- * @internal
1189
- */
1190
845
  UntagResourceRequest.filterSensitiveLog = (obj) => ({
1191
846
  ...obj,
1192
847
  });
1193
848
  })(UntagResourceRequest = exports.UntagResourceRequest || (exports.UntagResourceRequest = {}));
1194
849
  var UpdateAliasRequest;
1195
850
  (function (UpdateAliasRequest) {
1196
- /**
1197
- * @internal
1198
- */
1199
851
  UpdateAliasRequest.filterSensitiveLog = (obj) => ({
1200
852
  ...obj,
1201
853
  });
1202
854
  })(UpdateAliasRequest = exports.UpdateAliasRequest || (exports.UpdateAliasRequest = {}));
1203
855
  var UpdateCustomKeyStoreRequest;
1204
856
  (function (UpdateCustomKeyStoreRequest) {
1205
- /**
1206
- * @internal
1207
- */
1208
857
  UpdateCustomKeyStoreRequest.filterSensitiveLog = (obj) => ({
1209
858
  ...obj,
1210
859
  ...(obj.KeyStorePassword && { KeyStorePassword: smithy_client_1.SENSITIVE_STRING }),
@@ -1212,36 +861,24 @@ var UpdateCustomKeyStoreRequest;
1212
861
  })(UpdateCustomKeyStoreRequest = exports.UpdateCustomKeyStoreRequest || (exports.UpdateCustomKeyStoreRequest = {}));
1213
862
  var UpdateCustomKeyStoreResponse;
1214
863
  (function (UpdateCustomKeyStoreResponse) {
1215
- /**
1216
- * @internal
1217
- */
1218
864
  UpdateCustomKeyStoreResponse.filterSensitiveLog = (obj) => ({
1219
865
  ...obj,
1220
866
  });
1221
867
  })(UpdateCustomKeyStoreResponse = exports.UpdateCustomKeyStoreResponse || (exports.UpdateCustomKeyStoreResponse = {}));
1222
868
  var UpdateKeyDescriptionRequest;
1223
869
  (function (UpdateKeyDescriptionRequest) {
1224
- /**
1225
- * @internal
1226
- */
1227
870
  UpdateKeyDescriptionRequest.filterSensitiveLog = (obj) => ({
1228
871
  ...obj,
1229
872
  });
1230
873
  })(UpdateKeyDescriptionRequest = exports.UpdateKeyDescriptionRequest || (exports.UpdateKeyDescriptionRequest = {}));
1231
874
  var UpdatePrimaryRegionRequest;
1232
875
  (function (UpdatePrimaryRegionRequest) {
1233
- /**
1234
- * @internal
1235
- */
1236
876
  UpdatePrimaryRegionRequest.filterSensitiveLog = (obj) => ({
1237
877
  ...obj,
1238
878
  });
1239
879
  })(UpdatePrimaryRegionRequest = exports.UpdatePrimaryRegionRequest || (exports.UpdatePrimaryRegionRequest = {}));
1240
880
  var VerifyRequest;
1241
881
  (function (VerifyRequest) {
1242
- /**
1243
- * @internal
1244
- */
1245
882
  VerifyRequest.filterSensitiveLog = (obj) => ({
1246
883
  ...obj,
1247
884
  ...(obj.Message && { Message: smithy_client_1.SENSITIVE_STRING }),
@@ -1249,9 +886,6 @@ var VerifyRequest;
1249
886
  })(VerifyRequest = exports.VerifyRequest || (exports.VerifyRequest = {}));
1250
887
  var VerifyResponse;
1251
888
  (function (VerifyResponse) {
1252
- /**
1253
- * @internal
1254
- */
1255
889
  VerifyResponse.filterSensitiveLog = (obj) => ({
1256
890
  ...obj,
1257
891
  });