@aws-sdk/client-kms 3.1086.0 → 3.1088.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 (76) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/KMS.d.ts +190 -283
  3. package/dist-types/ts3.4/KMSClient.d.ts +33 -100
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
  6. package/dist-types/ts3.4/commandBuilder.d.ts +8 -18
  7. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +5 -10
  8. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +5 -10
  9. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +2 -2
  10. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +5 -10
  11. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +3 -5
  12. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +4 -4
  13. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +4 -4
  14. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +2 -2
  15. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +5 -10
  16. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +4 -6
  17. package/dist-types/ts3.4/commands/DeriveSharedSecretCommand.d.ts +5 -10
  18. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +3 -5
  19. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +3 -5
  20. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +2 -2
  21. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +3 -4
  22. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +4 -6
  23. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +6 -2
  24. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +3 -4
  25. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +7 -5
  26. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +4 -9
  27. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +5 -10
  28. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +4 -6
  29. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +4 -6
  30. package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +3 -5
  31. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +3 -8
  32. package/dist-types/ts3.4/commands/GetKeyLastUsageCommand.d.ts +4 -9
  33. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +3 -5
  34. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +5 -10
  35. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +5 -10
  36. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +3 -5
  37. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +5 -10
  38. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +2 -4
  39. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +3 -5
  40. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +4 -9
  41. package/dist-types/ts3.4/commands/ListKeyRotationsCommand.d.ts +4 -9
  42. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +4 -4
  43. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +4 -9
  44. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +4 -10
  45. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +2 -2
  46. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +7 -5
  47. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +3 -5
  48. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +2 -2
  50. package/dist-types/ts3.4/commands/RotateKeyOnDemandCommand.d.ts +5 -10
  51. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +5 -10
  52. package/dist-types/ts3.4/commands/SignCommand.d.ts +6 -2
  53. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  54. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  55. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +2 -2
  56. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +5 -10
  57. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +3 -4
  58. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +3 -4
  59. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +6 -2
  60. package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +7 -5
  61. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  62. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  63. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  64. package/dist-types/ts3.4/models/enums.d.ts +13 -26
  65. package/dist-types/ts3.4/models/errors.d.ts +44 -167
  66. package/dist-types/ts3.4/models/models_0.d.ts +2 -6
  67. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +1 -4
  68. package/dist-types/ts3.4/pagination/ListGrantsPaginator.d.ts +1 -4
  69. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +1 -4
  70. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  71. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  72. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  73. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  74. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  75. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  76. package/package.json +39 -39
@@ -11,30 +11,15 @@ import {
11
11
  ConnectCustomKeyStoreCommandInput,
12
12
  ConnectCustomKeyStoreCommandOutput,
13
13
  } from "./commands/ConnectCustomKeyStoreCommand";
14
- import {
15
- CreateAliasCommandInput,
16
- CreateAliasCommandOutput,
17
- } from "./commands/CreateAliasCommand";
14
+ import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
18
15
  import {
19
16
  CreateCustomKeyStoreCommandInput,
20
17
  CreateCustomKeyStoreCommandOutput,
21
18
  } from "./commands/CreateCustomKeyStoreCommand";
22
- import {
23
- CreateGrantCommandInput,
24
- CreateGrantCommandOutput,
25
- } from "./commands/CreateGrantCommand";
26
- import {
27
- CreateKeyCommandInput,
28
- CreateKeyCommandOutput,
29
- } from "./commands/CreateKeyCommand";
30
- import {
31
- DecryptCommandInput,
32
- DecryptCommandOutput,
33
- } from "./commands/DecryptCommand";
34
- import {
35
- DeleteAliasCommandInput,
36
- DeleteAliasCommandOutput,
37
- } from "./commands/DeleteAliasCommand";
19
+ import { CreateGrantCommandInput, CreateGrantCommandOutput } from "./commands/CreateGrantCommand";
20
+ import { CreateKeyCommandInput, CreateKeyCommandOutput } from "./commands/CreateKeyCommand";
21
+ import { DecryptCommandInput, DecryptCommandOutput } from "./commands/DecryptCommand";
22
+ import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
38
23
  import {
39
24
  DeleteCustomKeyStoreCommandInput,
40
25
  DeleteCustomKeyStoreCommandOutput,
@@ -51,14 +36,8 @@ import {
51
36
  DescribeCustomKeyStoresCommandInput,
52
37
  DescribeCustomKeyStoresCommandOutput,
53
38
  } from "./commands/DescribeCustomKeyStoresCommand";
54
- import {
55
- DescribeKeyCommandInput,
56
- DescribeKeyCommandOutput,
57
- } from "./commands/DescribeKeyCommand";
58
- import {
59
- DisableKeyCommandInput,
60
- DisableKeyCommandOutput,
61
- } from "./commands/DisableKeyCommand";
39
+ import { DescribeKeyCommandInput, DescribeKeyCommandOutput } from "./commands/DescribeKeyCommand";
40
+ import { DisableKeyCommandInput, DisableKeyCommandOutput } from "./commands/DisableKeyCommand";
62
41
  import {
63
42
  DisableKeyRotationCommandInput,
64
43
  DisableKeyRotationCommandOutput,
@@ -67,18 +46,12 @@ import {
67
46
  DisconnectCustomKeyStoreCommandInput,
68
47
  DisconnectCustomKeyStoreCommandOutput,
69
48
  } from "./commands/DisconnectCustomKeyStoreCommand";
70
- import {
71
- EnableKeyCommandInput,
72
- EnableKeyCommandOutput,
73
- } from "./commands/EnableKeyCommand";
49
+ import { EnableKeyCommandInput, EnableKeyCommandOutput } from "./commands/EnableKeyCommand";
74
50
  import {
75
51
  EnableKeyRotationCommandInput,
76
52
  EnableKeyRotationCommandOutput,
77
53
  } from "./commands/EnableKeyRotationCommand";
78
- import {
79
- EncryptCommandInput,
80
- EncryptCommandOutput,
81
- } from "./commands/EncryptCommand";
54
+ import { EncryptCommandInput, EncryptCommandOutput } from "./commands/EncryptCommand";
82
55
  import {
83
56
  GenerateDataKeyCommandInput,
84
57
  GenerateDataKeyCommandOutput,
@@ -95,10 +68,7 @@ import {
95
68
  GenerateDataKeyWithoutPlaintextCommandInput,
96
69
  GenerateDataKeyWithoutPlaintextCommandOutput,
97
70
  } from "./commands/GenerateDataKeyWithoutPlaintextCommand";
98
- import {
99
- GenerateMacCommandInput,
100
- GenerateMacCommandOutput,
101
- } from "./commands/GenerateMacCommand";
71
+ import { GenerateMacCommandInput, GenerateMacCommandOutput } from "./commands/GenerateMacCommand";
102
72
  import {
103
73
  GenerateRandomCommandInput,
104
74
  GenerateRandomCommandOutput,
@@ -127,14 +97,8 @@ import {
127
97
  ImportKeyMaterialCommandInput,
128
98
  ImportKeyMaterialCommandOutput,
129
99
  } from "./commands/ImportKeyMaterialCommand";
130
- import {
131
- ListAliasesCommandInput,
132
- ListAliasesCommandOutput,
133
- } from "./commands/ListAliasesCommand";
134
- import {
135
- ListGrantsCommandInput,
136
- ListGrantsCommandOutput,
137
- } from "./commands/ListGrantsCommand";
100
+ import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
101
+ import { ListGrantsCommandInput, ListGrantsCommandOutput } from "./commands/ListGrantsCommand";
138
102
  import {
139
103
  ListKeyPoliciesCommandInput,
140
104
  ListKeyPoliciesCommandOutput,
@@ -143,10 +107,7 @@ import {
143
107
  ListKeyRotationsCommandInput,
144
108
  ListKeyRotationsCommandOutput,
145
109
  } from "./commands/ListKeyRotationsCommand";
146
- import {
147
- ListKeysCommandInput,
148
- ListKeysCommandOutput,
149
- } from "./commands/ListKeysCommand";
110
+ import { ListKeysCommandInput, ListKeysCommandOutput } from "./commands/ListKeysCommand";
150
111
  import {
151
112
  ListResourceTagsCommandInput,
152
113
  ListResourceTagsCommandOutput,
@@ -159,22 +120,13 @@ import {
159
120
  PutKeyPolicyCommandInput,
160
121
  PutKeyPolicyCommandOutput,
161
122
  } from "./commands/PutKeyPolicyCommand";
162
- import {
163
- ReEncryptCommandInput,
164
- ReEncryptCommandOutput,
165
- } from "./commands/ReEncryptCommand";
123
+ import { ReEncryptCommandInput, ReEncryptCommandOutput } from "./commands/ReEncryptCommand";
166
124
  import {
167
125
  ReplicateKeyCommandInput,
168
126
  ReplicateKeyCommandOutput,
169
127
  } from "./commands/ReplicateKeyCommand";
170
- import {
171
- RetireGrantCommandInput,
172
- RetireGrantCommandOutput,
173
- } from "./commands/RetireGrantCommand";
174
- import {
175
- RevokeGrantCommandInput,
176
- RevokeGrantCommandOutput,
177
- } from "./commands/RevokeGrantCommand";
128
+ import { RetireGrantCommandInput, RetireGrantCommandOutput } from "./commands/RetireGrantCommand";
129
+ import { RevokeGrantCommandInput, RevokeGrantCommandOutput } from "./commands/RevokeGrantCommand";
178
130
  import {
179
131
  RotateKeyOnDemandCommandInput,
180
132
  RotateKeyOnDemandCommandOutput,
@@ -184,18 +136,12 @@ import {
184
136
  ScheduleKeyDeletionCommandOutput,
185
137
  } from "./commands/ScheduleKeyDeletionCommand";
186
138
  import { SignCommandInput, SignCommandOutput } from "./commands/SignCommand";
187
- import {
188
- TagResourceCommandInput,
189
- TagResourceCommandOutput,
190
- } from "./commands/TagResourceCommand";
139
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
191
140
  import {
192
141
  UntagResourceCommandInput,
193
142
  UntagResourceCommandOutput,
194
143
  } from "./commands/UntagResourceCommand";
195
- import {
196
- UpdateAliasCommandInput,
197
- UpdateAliasCommandOutput,
198
- } from "./commands/UpdateAliasCommand";
144
+ import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand";
199
145
  import {
200
146
  UpdateCustomKeyStoreCommandInput,
201
147
  UpdateCustomKeyStoreCommandOutput,
@@ -208,787 +154,748 @@ import {
208
154
  UpdatePrimaryRegionCommandInput,
209
155
  UpdatePrimaryRegionCommandOutput,
210
156
  } from "./commands/UpdatePrimaryRegionCommand";
211
- import {
212
- VerifyCommandInput,
213
- VerifyCommandOutput,
214
- } from "./commands/VerifyCommand";
215
- import {
216
- VerifyMacCommandInput,
217
- VerifyMacCommandOutput,
218
- } from "./commands/VerifyMacCommand";
157
+ import { VerifyCommandInput, VerifyCommandOutput } from "./commands/VerifyCommand";
158
+ import { VerifyMacCommandInput, VerifyMacCommandOutput } from "./commands/VerifyMacCommand";
219
159
  import { KMSClient } from "./KMSClient";
220
160
  export interface KMS {
221
161
  cancelKeyDeletion(
222
162
  args: CancelKeyDeletionCommandInput,
223
- options?: __HttpHandlerOptions
163
+ options?: __HttpHandlerOptions,
224
164
  ): Promise<CancelKeyDeletionCommandOutput>;
225
165
  cancelKeyDeletion(
226
166
  args: CancelKeyDeletionCommandInput,
227
- cb: (err: any, data?: CancelKeyDeletionCommandOutput) => void
167
+ cb: (err: any, data?: CancelKeyDeletionCommandOutput) => void,
228
168
  ): void;
229
169
  cancelKeyDeletion(
230
170
  args: CancelKeyDeletionCommandInput,
231
171
  options: __HttpHandlerOptions,
232
- cb: (err: any, data?: CancelKeyDeletionCommandOutput) => void
172
+ cb: (err: any, data?: CancelKeyDeletionCommandOutput) => void,
233
173
  ): void;
234
174
  connectCustomKeyStore(
235
175
  args: ConnectCustomKeyStoreCommandInput,
236
- options?: __HttpHandlerOptions
176
+ options?: __HttpHandlerOptions,
237
177
  ): Promise<ConnectCustomKeyStoreCommandOutput>;
238
178
  connectCustomKeyStore(
239
179
  args: ConnectCustomKeyStoreCommandInput,
240
- cb: (err: any, data?: ConnectCustomKeyStoreCommandOutput) => void
180
+ cb: (err: any, data?: ConnectCustomKeyStoreCommandOutput) => void,
241
181
  ): void;
242
182
  connectCustomKeyStore(
243
183
  args: ConnectCustomKeyStoreCommandInput,
244
184
  options: __HttpHandlerOptions,
245
- cb: (err: any, data?: ConnectCustomKeyStoreCommandOutput) => void
185
+ cb: (err: any, data?: ConnectCustomKeyStoreCommandOutput) => void,
246
186
  ): void;
247
187
  createAlias(
248
188
  args: CreateAliasCommandInput,
249
- options?: __HttpHandlerOptions
189
+ options?: __HttpHandlerOptions,
250
190
  ): Promise<CreateAliasCommandOutput>;
251
191
  createAlias(
252
192
  args: CreateAliasCommandInput,
253
- cb: (err: any, data?: CreateAliasCommandOutput) => void
193
+ cb: (err: any, data?: CreateAliasCommandOutput) => void,
254
194
  ): void;
255
195
  createAlias(
256
196
  args: CreateAliasCommandInput,
257
197
  options: __HttpHandlerOptions,
258
- cb: (err: any, data?: CreateAliasCommandOutput) => void
198
+ cb: (err: any, data?: CreateAliasCommandOutput) => void,
259
199
  ): void;
260
200
  createCustomKeyStore(
261
201
  args: CreateCustomKeyStoreCommandInput,
262
- options?: __HttpHandlerOptions
202
+ options?: __HttpHandlerOptions,
263
203
  ): Promise<CreateCustomKeyStoreCommandOutput>;
264
204
  createCustomKeyStore(
265
205
  args: CreateCustomKeyStoreCommandInput,
266
- cb: (err: any, data?: CreateCustomKeyStoreCommandOutput) => void
206
+ cb: (err: any, data?: CreateCustomKeyStoreCommandOutput) => void,
267
207
  ): void;
268
208
  createCustomKeyStore(
269
209
  args: CreateCustomKeyStoreCommandInput,
270
210
  options: __HttpHandlerOptions,
271
- cb: (err: any, data?: CreateCustomKeyStoreCommandOutput) => void
211
+ cb: (err: any, data?: CreateCustomKeyStoreCommandOutput) => void,
272
212
  ): void;
273
213
  createGrant(
274
214
  args: CreateGrantCommandInput,
275
- options?: __HttpHandlerOptions
215
+ options?: __HttpHandlerOptions,
276
216
  ): Promise<CreateGrantCommandOutput>;
277
217
  createGrant(
278
218
  args: CreateGrantCommandInput,
279
- cb: (err: any, data?: CreateGrantCommandOutput) => void
219
+ cb: (err: any, data?: CreateGrantCommandOutput) => void,
280
220
  ): void;
281
221
  createGrant(
282
222
  args: CreateGrantCommandInput,
283
223
  options: __HttpHandlerOptions,
284
- cb: (err: any, data?: CreateGrantCommandOutput) => void
224
+ cb: (err: any, data?: CreateGrantCommandOutput) => void,
285
225
  ): void;
286
226
  createKey(): Promise<CreateKeyCommandOutput>;
287
227
  createKey(
288
228
  args: CreateKeyCommandInput,
289
- options?: __HttpHandlerOptions
229
+ options?: __HttpHandlerOptions,
290
230
  ): Promise<CreateKeyCommandOutput>;
291
231
  createKey(
292
232
  args: CreateKeyCommandInput,
293
- cb: (err: any, data?: CreateKeyCommandOutput) => void
233
+ cb: (err: any, data?: CreateKeyCommandOutput) => void,
294
234
  ): void;
295
235
  createKey(
296
236
  args: CreateKeyCommandInput,
297
237
  options: __HttpHandlerOptions,
298
- cb: (err: any, data?: CreateKeyCommandOutput) => void
238
+ cb: (err: any, data?: CreateKeyCommandOutput) => void,
299
239
  ): void;
300
240
  decrypt(): Promise<DecryptCommandOutput>;
301
- decrypt(
302
- args: DecryptCommandInput,
303
- options?: __HttpHandlerOptions
304
- ): Promise<DecryptCommandOutput>;
305
- decrypt(
306
- args: DecryptCommandInput,
307
- cb: (err: any, data?: DecryptCommandOutput) => void
308
- ): void;
241
+ decrypt(args: DecryptCommandInput, options?: __HttpHandlerOptions): Promise<DecryptCommandOutput>;
242
+ decrypt(args: DecryptCommandInput, cb: (err: any, data?: DecryptCommandOutput) => void): void;
309
243
  decrypt(
310
244
  args: DecryptCommandInput,
311
245
  options: __HttpHandlerOptions,
312
- cb: (err: any, data?: DecryptCommandOutput) => void
246
+ cb: (err: any, data?: DecryptCommandOutput) => void,
313
247
  ): void;
314
248
  deleteAlias(
315
249
  args: DeleteAliasCommandInput,
316
- options?: __HttpHandlerOptions
250
+ options?: __HttpHandlerOptions,
317
251
  ): Promise<DeleteAliasCommandOutput>;
318
252
  deleteAlias(
319
253
  args: DeleteAliasCommandInput,
320
- cb: (err: any, data?: DeleteAliasCommandOutput) => void
254
+ cb: (err: any, data?: DeleteAliasCommandOutput) => void,
321
255
  ): void;
322
256
  deleteAlias(
323
257
  args: DeleteAliasCommandInput,
324
258
  options: __HttpHandlerOptions,
325
- cb: (err: any, data?: DeleteAliasCommandOutput) => void
259
+ cb: (err: any, data?: DeleteAliasCommandOutput) => void,
326
260
  ): void;
327
261
  deleteCustomKeyStore(
328
262
  args: DeleteCustomKeyStoreCommandInput,
329
- options?: __HttpHandlerOptions
263
+ options?: __HttpHandlerOptions,
330
264
  ): Promise<DeleteCustomKeyStoreCommandOutput>;
331
265
  deleteCustomKeyStore(
332
266
  args: DeleteCustomKeyStoreCommandInput,
333
- cb: (err: any, data?: DeleteCustomKeyStoreCommandOutput) => void
267
+ cb: (err: any, data?: DeleteCustomKeyStoreCommandOutput) => void,
334
268
  ): void;
335
269
  deleteCustomKeyStore(
336
270
  args: DeleteCustomKeyStoreCommandInput,
337
271
  options: __HttpHandlerOptions,
338
- cb: (err: any, data?: DeleteCustomKeyStoreCommandOutput) => void
272
+ cb: (err: any, data?: DeleteCustomKeyStoreCommandOutput) => void,
339
273
  ): void;
340
274
  deleteImportedKeyMaterial(
341
275
  args: DeleteImportedKeyMaterialCommandInput,
342
- options?: __HttpHandlerOptions
276
+ options?: __HttpHandlerOptions,
343
277
  ): Promise<DeleteImportedKeyMaterialCommandOutput>;
344
278
  deleteImportedKeyMaterial(
345
279
  args: DeleteImportedKeyMaterialCommandInput,
346
- cb: (err: any, data?: DeleteImportedKeyMaterialCommandOutput) => void
280
+ cb: (err: any, data?: DeleteImportedKeyMaterialCommandOutput) => void,
347
281
  ): void;
348
282
  deleteImportedKeyMaterial(
349
283
  args: DeleteImportedKeyMaterialCommandInput,
350
284
  options: __HttpHandlerOptions,
351
- cb: (err: any, data?: DeleteImportedKeyMaterialCommandOutput) => void
285
+ cb: (err: any, data?: DeleteImportedKeyMaterialCommandOutput) => void,
352
286
  ): void;
353
287
  deriveSharedSecret(
354
288
  args: DeriveSharedSecretCommandInput,
355
- options?: __HttpHandlerOptions
289
+ options?: __HttpHandlerOptions,
356
290
  ): Promise<DeriveSharedSecretCommandOutput>;
357
291
  deriveSharedSecret(
358
292
  args: DeriveSharedSecretCommandInput,
359
- cb: (err: any, data?: DeriveSharedSecretCommandOutput) => void
293
+ cb: (err: any, data?: DeriveSharedSecretCommandOutput) => void,
360
294
  ): void;
361
295
  deriveSharedSecret(
362
296
  args: DeriveSharedSecretCommandInput,
363
297
  options: __HttpHandlerOptions,
364
- cb: (err: any, data?: DeriveSharedSecretCommandOutput) => void
298
+ cb: (err: any, data?: DeriveSharedSecretCommandOutput) => void,
365
299
  ): void;
366
300
  describeCustomKeyStores(): Promise<DescribeCustomKeyStoresCommandOutput>;
367
301
  describeCustomKeyStores(
368
302
  args: DescribeCustomKeyStoresCommandInput,
369
- options?: __HttpHandlerOptions
303
+ options?: __HttpHandlerOptions,
370
304
  ): Promise<DescribeCustomKeyStoresCommandOutput>;
371
305
  describeCustomKeyStores(
372
306
  args: DescribeCustomKeyStoresCommandInput,
373
- cb: (err: any, data?: DescribeCustomKeyStoresCommandOutput) => void
307
+ cb: (err: any, data?: DescribeCustomKeyStoresCommandOutput) => void,
374
308
  ): void;
375
309
  describeCustomKeyStores(
376
310
  args: DescribeCustomKeyStoresCommandInput,
377
311
  options: __HttpHandlerOptions,
378
- cb: (err: any, data?: DescribeCustomKeyStoresCommandOutput) => void
312
+ cb: (err: any, data?: DescribeCustomKeyStoresCommandOutput) => void,
379
313
  ): void;
380
314
  describeKey(
381
315
  args: DescribeKeyCommandInput,
382
- options?: __HttpHandlerOptions
316
+ options?: __HttpHandlerOptions,
383
317
  ): Promise<DescribeKeyCommandOutput>;
384
318
  describeKey(
385
319
  args: DescribeKeyCommandInput,
386
- cb: (err: any, data?: DescribeKeyCommandOutput) => void
320
+ cb: (err: any, data?: DescribeKeyCommandOutput) => void,
387
321
  ): void;
388
322
  describeKey(
389
323
  args: DescribeKeyCommandInput,
390
324
  options: __HttpHandlerOptions,
391
- cb: (err: any, data?: DescribeKeyCommandOutput) => void
325
+ cb: (err: any, data?: DescribeKeyCommandOutput) => void,
392
326
  ): void;
393
327
  disableKey(
394
328
  args: DisableKeyCommandInput,
395
- options?: __HttpHandlerOptions
329
+ options?: __HttpHandlerOptions,
396
330
  ): Promise<DisableKeyCommandOutput>;
397
331
  disableKey(
398
332
  args: DisableKeyCommandInput,
399
- cb: (err: any, data?: DisableKeyCommandOutput) => void
333
+ cb: (err: any, data?: DisableKeyCommandOutput) => void,
400
334
  ): void;
401
335
  disableKey(
402
336
  args: DisableKeyCommandInput,
403
337
  options: __HttpHandlerOptions,
404
- cb: (err: any, data?: DisableKeyCommandOutput) => void
338
+ cb: (err: any, data?: DisableKeyCommandOutput) => void,
405
339
  ): void;
406
340
  disableKeyRotation(
407
341
  args: DisableKeyRotationCommandInput,
408
- options?: __HttpHandlerOptions
342
+ options?: __HttpHandlerOptions,
409
343
  ): Promise<DisableKeyRotationCommandOutput>;
410
344
  disableKeyRotation(
411
345
  args: DisableKeyRotationCommandInput,
412
- cb: (err: any, data?: DisableKeyRotationCommandOutput) => void
346
+ cb: (err: any, data?: DisableKeyRotationCommandOutput) => void,
413
347
  ): void;
414
348
  disableKeyRotation(
415
349
  args: DisableKeyRotationCommandInput,
416
350
  options: __HttpHandlerOptions,
417
- cb: (err: any, data?: DisableKeyRotationCommandOutput) => void
351
+ cb: (err: any, data?: DisableKeyRotationCommandOutput) => void,
418
352
  ): void;
419
353
  disconnectCustomKeyStore(
420
354
  args: DisconnectCustomKeyStoreCommandInput,
421
- options?: __HttpHandlerOptions
355
+ options?: __HttpHandlerOptions,
422
356
  ): Promise<DisconnectCustomKeyStoreCommandOutput>;
423
357
  disconnectCustomKeyStore(
424
358
  args: DisconnectCustomKeyStoreCommandInput,
425
- cb: (err: any, data?: DisconnectCustomKeyStoreCommandOutput) => void
359
+ cb: (err: any, data?: DisconnectCustomKeyStoreCommandOutput) => void,
426
360
  ): void;
427
361
  disconnectCustomKeyStore(
428
362
  args: DisconnectCustomKeyStoreCommandInput,
429
363
  options: __HttpHandlerOptions,
430
- cb: (err: any, data?: DisconnectCustomKeyStoreCommandOutput) => void
364
+ cb: (err: any, data?: DisconnectCustomKeyStoreCommandOutput) => void,
431
365
  ): void;
432
366
  enableKey(
433
367
  args: EnableKeyCommandInput,
434
- options?: __HttpHandlerOptions
368
+ options?: __HttpHandlerOptions,
435
369
  ): Promise<EnableKeyCommandOutput>;
436
370
  enableKey(
437
371
  args: EnableKeyCommandInput,
438
- cb: (err: any, data?: EnableKeyCommandOutput) => void
372
+ cb: (err: any, data?: EnableKeyCommandOutput) => void,
439
373
  ): void;
440
374
  enableKey(
441
375
  args: EnableKeyCommandInput,
442
376
  options: __HttpHandlerOptions,
443
- cb: (err: any, data?: EnableKeyCommandOutput) => void
377
+ cb: (err: any, data?: EnableKeyCommandOutput) => void,
444
378
  ): void;
445
379
  enableKeyRotation(
446
380
  args: EnableKeyRotationCommandInput,
447
- options?: __HttpHandlerOptions
381
+ options?: __HttpHandlerOptions,
448
382
  ): Promise<EnableKeyRotationCommandOutput>;
449
383
  enableKeyRotation(
450
384
  args: EnableKeyRotationCommandInput,
451
- cb: (err: any, data?: EnableKeyRotationCommandOutput) => void
385
+ cb: (err: any, data?: EnableKeyRotationCommandOutput) => void,
452
386
  ): void;
453
387
  enableKeyRotation(
454
388
  args: EnableKeyRotationCommandInput,
455
389
  options: __HttpHandlerOptions,
456
- cb: (err: any, data?: EnableKeyRotationCommandOutput) => void
457
- ): void;
458
- encrypt(
459
- args: EncryptCommandInput,
460
- options?: __HttpHandlerOptions
461
- ): Promise<EncryptCommandOutput>;
462
- encrypt(
463
- args: EncryptCommandInput,
464
- cb: (err: any, data?: EncryptCommandOutput) => void
390
+ cb: (err: any, data?: EnableKeyRotationCommandOutput) => void,
465
391
  ): void;
392
+ encrypt(args: EncryptCommandInput, options?: __HttpHandlerOptions): Promise<EncryptCommandOutput>;
393
+ encrypt(args: EncryptCommandInput, cb: (err: any, data?: EncryptCommandOutput) => void): void;
466
394
  encrypt(
467
395
  args: EncryptCommandInput,
468
396
  options: __HttpHandlerOptions,
469
- cb: (err: any, data?: EncryptCommandOutput) => void
397
+ cb: (err: any, data?: EncryptCommandOutput) => void,
470
398
  ): void;
471
399
  generateDataKey(
472
400
  args: GenerateDataKeyCommandInput,
473
- options?: __HttpHandlerOptions
401
+ options?: __HttpHandlerOptions,
474
402
  ): Promise<GenerateDataKeyCommandOutput>;
475
403
  generateDataKey(
476
404
  args: GenerateDataKeyCommandInput,
477
- cb: (err: any, data?: GenerateDataKeyCommandOutput) => void
405
+ cb: (err: any, data?: GenerateDataKeyCommandOutput) => void,
478
406
  ): void;
479
407
  generateDataKey(
480
408
  args: GenerateDataKeyCommandInput,
481
409
  options: __HttpHandlerOptions,
482
- cb: (err: any, data?: GenerateDataKeyCommandOutput) => void
410
+ cb: (err: any, data?: GenerateDataKeyCommandOutput) => void,
483
411
  ): void;
484
412
  generateDataKeyPair(
485
413
  args: GenerateDataKeyPairCommandInput,
486
- options?: __HttpHandlerOptions
414
+ options?: __HttpHandlerOptions,
487
415
  ): Promise<GenerateDataKeyPairCommandOutput>;
488
416
  generateDataKeyPair(
489
417
  args: GenerateDataKeyPairCommandInput,
490
- cb: (err: any, data?: GenerateDataKeyPairCommandOutput) => void
418
+ cb: (err: any, data?: GenerateDataKeyPairCommandOutput) => void,
491
419
  ): void;
492
420
  generateDataKeyPair(
493
421
  args: GenerateDataKeyPairCommandInput,
494
422
  options: __HttpHandlerOptions,
495
- cb: (err: any, data?: GenerateDataKeyPairCommandOutput) => void
423
+ cb: (err: any, data?: GenerateDataKeyPairCommandOutput) => void,
496
424
  ): void;
497
425
  generateDataKeyPairWithoutPlaintext(
498
426
  args: GenerateDataKeyPairWithoutPlaintextCommandInput,
499
- options?: __HttpHandlerOptions
427
+ options?: __HttpHandlerOptions,
500
428
  ): Promise<GenerateDataKeyPairWithoutPlaintextCommandOutput>;
501
429
  generateDataKeyPairWithoutPlaintext(
502
430
  args: GenerateDataKeyPairWithoutPlaintextCommandInput,
503
- cb: (
504
- err: any,
505
- data?: GenerateDataKeyPairWithoutPlaintextCommandOutput
506
- ) => void
431
+ cb: (err: any, data?: GenerateDataKeyPairWithoutPlaintextCommandOutput) => void,
507
432
  ): void;
508
433
  generateDataKeyPairWithoutPlaintext(
509
434
  args: GenerateDataKeyPairWithoutPlaintextCommandInput,
510
435
  options: __HttpHandlerOptions,
511
- cb: (
512
- err: any,
513
- data?: GenerateDataKeyPairWithoutPlaintextCommandOutput
514
- ) => void
436
+ cb: (err: any, data?: GenerateDataKeyPairWithoutPlaintextCommandOutput) => void,
515
437
  ): void;
516
438
  generateDataKeyWithoutPlaintext(
517
439
  args: GenerateDataKeyWithoutPlaintextCommandInput,
518
- options?: __HttpHandlerOptions
440
+ options?: __HttpHandlerOptions,
519
441
  ): Promise<GenerateDataKeyWithoutPlaintextCommandOutput>;
520
442
  generateDataKeyWithoutPlaintext(
521
443
  args: GenerateDataKeyWithoutPlaintextCommandInput,
522
- cb: (err: any, data?: GenerateDataKeyWithoutPlaintextCommandOutput) => void
444
+ cb: (err: any, data?: GenerateDataKeyWithoutPlaintextCommandOutput) => void,
523
445
  ): void;
524
446
  generateDataKeyWithoutPlaintext(
525
447
  args: GenerateDataKeyWithoutPlaintextCommandInput,
526
448
  options: __HttpHandlerOptions,
527
- cb: (err: any, data?: GenerateDataKeyWithoutPlaintextCommandOutput) => void
449
+ cb: (err: any, data?: GenerateDataKeyWithoutPlaintextCommandOutput) => void,
528
450
  ): void;
529
451
  generateMac(
530
452
  args: GenerateMacCommandInput,
531
- options?: __HttpHandlerOptions
453
+ options?: __HttpHandlerOptions,
532
454
  ): Promise<GenerateMacCommandOutput>;
533
455
  generateMac(
534
456
  args: GenerateMacCommandInput,
535
- cb: (err: any, data?: GenerateMacCommandOutput) => void
457
+ cb: (err: any, data?: GenerateMacCommandOutput) => void,
536
458
  ): void;
537
459
  generateMac(
538
460
  args: GenerateMacCommandInput,
539
461
  options: __HttpHandlerOptions,
540
- cb: (err: any, data?: GenerateMacCommandOutput) => void
462
+ cb: (err: any, data?: GenerateMacCommandOutput) => void,
541
463
  ): void;
542
464
  generateRandom(): Promise<GenerateRandomCommandOutput>;
543
465
  generateRandom(
544
466
  args: GenerateRandomCommandInput,
545
- options?: __HttpHandlerOptions
467
+ options?: __HttpHandlerOptions,
546
468
  ): Promise<GenerateRandomCommandOutput>;
547
469
  generateRandom(
548
470
  args: GenerateRandomCommandInput,
549
- cb: (err: any, data?: GenerateRandomCommandOutput) => void
471
+ cb: (err: any, data?: GenerateRandomCommandOutput) => void,
550
472
  ): void;
551
473
  generateRandom(
552
474
  args: GenerateRandomCommandInput,
553
475
  options: __HttpHandlerOptions,
554
- cb: (err: any, data?: GenerateRandomCommandOutput) => void
476
+ cb: (err: any, data?: GenerateRandomCommandOutput) => void,
555
477
  ): void;
556
478
  getKeyLastUsage(
557
479
  args: GetKeyLastUsageCommandInput,
558
- options?: __HttpHandlerOptions
480
+ options?: __HttpHandlerOptions,
559
481
  ): Promise<GetKeyLastUsageCommandOutput>;
560
482
  getKeyLastUsage(
561
483
  args: GetKeyLastUsageCommandInput,
562
- cb: (err: any, data?: GetKeyLastUsageCommandOutput) => void
484
+ cb: (err: any, data?: GetKeyLastUsageCommandOutput) => void,
563
485
  ): void;
564
486
  getKeyLastUsage(
565
487
  args: GetKeyLastUsageCommandInput,
566
488
  options: __HttpHandlerOptions,
567
- cb: (err: any, data?: GetKeyLastUsageCommandOutput) => void
489
+ cb: (err: any, data?: GetKeyLastUsageCommandOutput) => void,
568
490
  ): void;
569
491
  getKeyPolicy(
570
492
  args: GetKeyPolicyCommandInput,
571
- options?: __HttpHandlerOptions
493
+ options?: __HttpHandlerOptions,
572
494
  ): Promise<GetKeyPolicyCommandOutput>;
573
495
  getKeyPolicy(
574
496
  args: GetKeyPolicyCommandInput,
575
- cb: (err: any, data?: GetKeyPolicyCommandOutput) => void
497
+ cb: (err: any, data?: GetKeyPolicyCommandOutput) => void,
576
498
  ): void;
577
499
  getKeyPolicy(
578
500
  args: GetKeyPolicyCommandInput,
579
501
  options: __HttpHandlerOptions,
580
- cb: (err: any, data?: GetKeyPolicyCommandOutput) => void
502
+ cb: (err: any, data?: GetKeyPolicyCommandOutput) => void,
581
503
  ): void;
582
504
  getKeyRotationStatus(
583
505
  args: GetKeyRotationStatusCommandInput,
584
- options?: __HttpHandlerOptions
506
+ options?: __HttpHandlerOptions,
585
507
  ): Promise<GetKeyRotationStatusCommandOutput>;
586
508
  getKeyRotationStatus(
587
509
  args: GetKeyRotationStatusCommandInput,
588
- cb: (err: any, data?: GetKeyRotationStatusCommandOutput) => void
510
+ cb: (err: any, data?: GetKeyRotationStatusCommandOutput) => void,
589
511
  ): void;
590
512
  getKeyRotationStatus(
591
513
  args: GetKeyRotationStatusCommandInput,
592
514
  options: __HttpHandlerOptions,
593
- cb: (err: any, data?: GetKeyRotationStatusCommandOutput) => void
515
+ cb: (err: any, data?: GetKeyRotationStatusCommandOutput) => void,
594
516
  ): void;
595
517
  getParametersForImport(
596
518
  args: GetParametersForImportCommandInput,
597
- options?: __HttpHandlerOptions
519
+ options?: __HttpHandlerOptions,
598
520
  ): Promise<GetParametersForImportCommandOutput>;
599
521
  getParametersForImport(
600
522
  args: GetParametersForImportCommandInput,
601
- cb: (err: any, data?: GetParametersForImportCommandOutput) => void
523
+ cb: (err: any, data?: GetParametersForImportCommandOutput) => void,
602
524
  ): void;
603
525
  getParametersForImport(
604
526
  args: GetParametersForImportCommandInput,
605
527
  options: __HttpHandlerOptions,
606
- cb: (err: any, data?: GetParametersForImportCommandOutput) => void
528
+ cb: (err: any, data?: GetParametersForImportCommandOutput) => void,
607
529
  ): void;
608
530
  getPublicKey(
609
531
  args: GetPublicKeyCommandInput,
610
- options?: __HttpHandlerOptions
532
+ options?: __HttpHandlerOptions,
611
533
  ): Promise<GetPublicKeyCommandOutput>;
612
534
  getPublicKey(
613
535
  args: GetPublicKeyCommandInput,
614
- cb: (err: any, data?: GetPublicKeyCommandOutput) => void
536
+ cb: (err: any, data?: GetPublicKeyCommandOutput) => void,
615
537
  ): void;
616
538
  getPublicKey(
617
539
  args: GetPublicKeyCommandInput,
618
540
  options: __HttpHandlerOptions,
619
- cb: (err: any, data?: GetPublicKeyCommandOutput) => void
541
+ cb: (err: any, data?: GetPublicKeyCommandOutput) => void,
620
542
  ): void;
621
543
  importKeyMaterial(
622
544
  args: ImportKeyMaterialCommandInput,
623
- options?: __HttpHandlerOptions
545
+ options?: __HttpHandlerOptions,
624
546
  ): Promise<ImportKeyMaterialCommandOutput>;
625
547
  importKeyMaterial(
626
548
  args: ImportKeyMaterialCommandInput,
627
- cb: (err: any, data?: ImportKeyMaterialCommandOutput) => void
549
+ cb: (err: any, data?: ImportKeyMaterialCommandOutput) => void,
628
550
  ): void;
629
551
  importKeyMaterial(
630
552
  args: ImportKeyMaterialCommandInput,
631
553
  options: __HttpHandlerOptions,
632
- cb: (err: any, data?: ImportKeyMaterialCommandOutput) => void
554
+ cb: (err: any, data?: ImportKeyMaterialCommandOutput) => void,
633
555
  ): void;
634
556
  listAliases(): Promise<ListAliasesCommandOutput>;
635
557
  listAliases(
636
558
  args: ListAliasesCommandInput,
637
- options?: __HttpHandlerOptions
559
+ options?: __HttpHandlerOptions,
638
560
  ): Promise<ListAliasesCommandOutput>;
639
561
  listAliases(
640
562
  args: ListAliasesCommandInput,
641
- cb: (err: any, data?: ListAliasesCommandOutput) => void
563
+ cb: (err: any, data?: ListAliasesCommandOutput) => void,
642
564
  ): void;
643
565
  listAliases(
644
566
  args: ListAliasesCommandInput,
645
567
  options: __HttpHandlerOptions,
646
- cb: (err: any, data?: ListAliasesCommandOutput) => void
568
+ cb: (err: any, data?: ListAliasesCommandOutput) => void,
647
569
  ): void;
648
570
  listGrants(
649
571
  args: ListGrantsCommandInput,
650
- options?: __HttpHandlerOptions
572
+ options?: __HttpHandlerOptions,
651
573
  ): Promise<ListGrantsCommandOutput>;
652
574
  listGrants(
653
575
  args: ListGrantsCommandInput,
654
- cb: (err: any, data?: ListGrantsCommandOutput) => void
576
+ cb: (err: any, data?: ListGrantsCommandOutput) => void,
655
577
  ): void;
656
578
  listGrants(
657
579
  args: ListGrantsCommandInput,
658
580
  options: __HttpHandlerOptions,
659
- cb: (err: any, data?: ListGrantsCommandOutput) => void
581
+ cb: (err: any, data?: ListGrantsCommandOutput) => void,
660
582
  ): void;
661
583
  listKeyPolicies(
662
584
  args: ListKeyPoliciesCommandInput,
663
- options?: __HttpHandlerOptions
585
+ options?: __HttpHandlerOptions,
664
586
  ): Promise<ListKeyPoliciesCommandOutput>;
665
587
  listKeyPolicies(
666
588
  args: ListKeyPoliciesCommandInput,
667
- cb: (err: any, data?: ListKeyPoliciesCommandOutput) => void
589
+ cb: (err: any, data?: ListKeyPoliciesCommandOutput) => void,
668
590
  ): void;
669
591
  listKeyPolicies(
670
592
  args: ListKeyPoliciesCommandInput,
671
593
  options: __HttpHandlerOptions,
672
- cb: (err: any, data?: ListKeyPoliciesCommandOutput) => void
594
+ cb: (err: any, data?: ListKeyPoliciesCommandOutput) => void,
673
595
  ): void;
674
596
  listKeyRotations(
675
597
  args: ListKeyRotationsCommandInput,
676
- options?: __HttpHandlerOptions
598
+ options?: __HttpHandlerOptions,
677
599
  ): Promise<ListKeyRotationsCommandOutput>;
678
600
  listKeyRotations(
679
601
  args: ListKeyRotationsCommandInput,
680
- cb: (err: any, data?: ListKeyRotationsCommandOutput) => void
602
+ cb: (err: any, data?: ListKeyRotationsCommandOutput) => void,
681
603
  ): void;
682
604
  listKeyRotations(
683
605
  args: ListKeyRotationsCommandInput,
684
606
  options: __HttpHandlerOptions,
685
- cb: (err: any, data?: ListKeyRotationsCommandOutput) => void
607
+ cb: (err: any, data?: ListKeyRotationsCommandOutput) => void,
686
608
  ): void;
687
609
  listKeys(): Promise<ListKeysCommandOutput>;
688
610
  listKeys(
689
611
  args: ListKeysCommandInput,
690
- options?: __HttpHandlerOptions
612
+ options?: __HttpHandlerOptions,
691
613
  ): Promise<ListKeysCommandOutput>;
692
- listKeys(
693
- args: ListKeysCommandInput,
694
- cb: (err: any, data?: ListKeysCommandOutput) => void
695
- ): void;
614
+ listKeys(args: ListKeysCommandInput, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
696
615
  listKeys(
697
616
  args: ListKeysCommandInput,
698
617
  options: __HttpHandlerOptions,
699
- cb: (err: any, data?: ListKeysCommandOutput) => void
618
+ cb: (err: any, data?: ListKeysCommandOutput) => void,
700
619
  ): void;
701
620
  listResourceTags(
702
621
  args: ListResourceTagsCommandInput,
703
- options?: __HttpHandlerOptions
622
+ options?: __HttpHandlerOptions,
704
623
  ): Promise<ListResourceTagsCommandOutput>;
705
624
  listResourceTags(
706
625
  args: ListResourceTagsCommandInput,
707
- cb: (err: any, data?: ListResourceTagsCommandOutput) => void
626
+ cb: (err: any, data?: ListResourceTagsCommandOutput) => void,
708
627
  ): void;
709
628
  listResourceTags(
710
629
  args: ListResourceTagsCommandInput,
711
630
  options: __HttpHandlerOptions,
712
- cb: (err: any, data?: ListResourceTagsCommandOutput) => void
631
+ cb: (err: any, data?: ListResourceTagsCommandOutput) => void,
713
632
  ): void;
714
633
  listRetirableGrants(): Promise<ListRetirableGrantsCommandOutput>;
715
634
  listRetirableGrants(
716
635
  args: ListRetirableGrantsCommandInput,
717
- options?: __HttpHandlerOptions
636
+ options?: __HttpHandlerOptions,
718
637
  ): Promise<ListRetirableGrantsCommandOutput>;
719
638
  listRetirableGrants(
720
639
  args: ListRetirableGrantsCommandInput,
721
- cb: (err: any, data?: ListRetirableGrantsCommandOutput) => void
640
+ cb: (err: any, data?: ListRetirableGrantsCommandOutput) => void,
722
641
  ): void;
723
642
  listRetirableGrants(
724
643
  args: ListRetirableGrantsCommandInput,
725
644
  options: __HttpHandlerOptions,
726
- cb: (err: any, data?: ListRetirableGrantsCommandOutput) => void
645
+ cb: (err: any, data?: ListRetirableGrantsCommandOutput) => void,
727
646
  ): void;
728
647
  putKeyPolicy(
729
648
  args: PutKeyPolicyCommandInput,
730
- options?: __HttpHandlerOptions
649
+ options?: __HttpHandlerOptions,
731
650
  ): Promise<PutKeyPolicyCommandOutput>;
732
651
  putKeyPolicy(
733
652
  args: PutKeyPolicyCommandInput,
734
- cb: (err: any, data?: PutKeyPolicyCommandOutput) => void
653
+ cb: (err: any, data?: PutKeyPolicyCommandOutput) => void,
735
654
  ): void;
736
655
  putKeyPolicy(
737
656
  args: PutKeyPolicyCommandInput,
738
657
  options: __HttpHandlerOptions,
739
- cb: (err: any, data?: PutKeyPolicyCommandOutput) => void
658
+ cb: (err: any, data?: PutKeyPolicyCommandOutput) => void,
740
659
  ): void;
741
660
  reEncrypt(
742
661
  args: ReEncryptCommandInput,
743
- options?: __HttpHandlerOptions
662
+ options?: __HttpHandlerOptions,
744
663
  ): Promise<ReEncryptCommandOutput>;
745
664
  reEncrypt(
746
665
  args: ReEncryptCommandInput,
747
- cb: (err: any, data?: ReEncryptCommandOutput) => void
666
+ cb: (err: any, data?: ReEncryptCommandOutput) => void,
748
667
  ): void;
749
668
  reEncrypt(
750
669
  args: ReEncryptCommandInput,
751
670
  options: __HttpHandlerOptions,
752
- cb: (err: any, data?: ReEncryptCommandOutput) => void
671
+ cb: (err: any, data?: ReEncryptCommandOutput) => void,
753
672
  ): void;
754
673
  replicateKey(
755
674
  args: ReplicateKeyCommandInput,
756
- options?: __HttpHandlerOptions
675
+ options?: __HttpHandlerOptions,
757
676
  ): Promise<ReplicateKeyCommandOutput>;
758
677
  replicateKey(
759
678
  args: ReplicateKeyCommandInput,
760
- cb: (err: any, data?: ReplicateKeyCommandOutput) => void
679
+ cb: (err: any, data?: ReplicateKeyCommandOutput) => void,
761
680
  ): void;
762
681
  replicateKey(
763
682
  args: ReplicateKeyCommandInput,
764
683
  options: __HttpHandlerOptions,
765
- cb: (err: any, data?: ReplicateKeyCommandOutput) => void
684
+ cb: (err: any, data?: ReplicateKeyCommandOutput) => void,
766
685
  ): void;
767
686
  retireGrant(): Promise<RetireGrantCommandOutput>;
768
687
  retireGrant(
769
688
  args: RetireGrantCommandInput,
770
- options?: __HttpHandlerOptions
689
+ options?: __HttpHandlerOptions,
771
690
  ): Promise<RetireGrantCommandOutput>;
772
691
  retireGrant(
773
692
  args: RetireGrantCommandInput,
774
- cb: (err: any, data?: RetireGrantCommandOutput) => void
693
+ cb: (err: any, data?: RetireGrantCommandOutput) => void,
775
694
  ): void;
776
695
  retireGrant(
777
696
  args: RetireGrantCommandInput,
778
697
  options: __HttpHandlerOptions,
779
- cb: (err: any, data?: RetireGrantCommandOutput) => void
698
+ cb: (err: any, data?: RetireGrantCommandOutput) => void,
780
699
  ): void;
781
700
  revokeGrant(
782
701
  args: RevokeGrantCommandInput,
783
- options?: __HttpHandlerOptions
702
+ options?: __HttpHandlerOptions,
784
703
  ): Promise<RevokeGrantCommandOutput>;
785
704
  revokeGrant(
786
705
  args: RevokeGrantCommandInput,
787
- cb: (err: any, data?: RevokeGrantCommandOutput) => void
706
+ cb: (err: any, data?: RevokeGrantCommandOutput) => void,
788
707
  ): void;
789
708
  revokeGrant(
790
709
  args: RevokeGrantCommandInput,
791
710
  options: __HttpHandlerOptions,
792
- cb: (err: any, data?: RevokeGrantCommandOutput) => void
711
+ cb: (err: any, data?: RevokeGrantCommandOutput) => void,
793
712
  ): void;
794
713
  rotateKeyOnDemand(
795
714
  args: RotateKeyOnDemandCommandInput,
796
- options?: __HttpHandlerOptions
715
+ options?: __HttpHandlerOptions,
797
716
  ): Promise<RotateKeyOnDemandCommandOutput>;
798
717
  rotateKeyOnDemand(
799
718
  args: RotateKeyOnDemandCommandInput,
800
- cb: (err: any, data?: RotateKeyOnDemandCommandOutput) => void
719
+ cb: (err: any, data?: RotateKeyOnDemandCommandOutput) => void,
801
720
  ): void;
802
721
  rotateKeyOnDemand(
803
722
  args: RotateKeyOnDemandCommandInput,
804
723
  options: __HttpHandlerOptions,
805
- cb: (err: any, data?: RotateKeyOnDemandCommandOutput) => void
724
+ cb: (err: any, data?: RotateKeyOnDemandCommandOutput) => void,
806
725
  ): void;
807
726
  scheduleKeyDeletion(
808
727
  args: ScheduleKeyDeletionCommandInput,
809
- options?: __HttpHandlerOptions
728
+ options?: __HttpHandlerOptions,
810
729
  ): Promise<ScheduleKeyDeletionCommandOutput>;
811
730
  scheduleKeyDeletion(
812
731
  args: ScheduleKeyDeletionCommandInput,
813
- cb: (err: any, data?: ScheduleKeyDeletionCommandOutput) => void
732
+ cb: (err: any, data?: ScheduleKeyDeletionCommandOutput) => void,
814
733
  ): void;
815
734
  scheduleKeyDeletion(
816
735
  args: ScheduleKeyDeletionCommandInput,
817
736
  options: __HttpHandlerOptions,
818
- cb: (err: any, data?: ScheduleKeyDeletionCommandOutput) => void
819
- ): void;
820
- sign(
821
- args: SignCommandInput,
822
- options?: __HttpHandlerOptions
823
- ): Promise<SignCommandOutput>;
824
- sign(
825
- args: SignCommandInput,
826
- cb: (err: any, data?: SignCommandOutput) => void
737
+ cb: (err: any, data?: ScheduleKeyDeletionCommandOutput) => void,
827
738
  ): void;
739
+ sign(args: SignCommandInput, options?: __HttpHandlerOptions): Promise<SignCommandOutput>;
740
+ sign(args: SignCommandInput, cb: (err: any, data?: SignCommandOutput) => void): void;
828
741
  sign(
829
742
  args: SignCommandInput,
830
743
  options: __HttpHandlerOptions,
831
- cb: (err: any, data?: SignCommandOutput) => void
744
+ cb: (err: any, data?: SignCommandOutput) => void,
832
745
  ): void;
833
746
  tagResource(
834
747
  args: TagResourceCommandInput,
835
- options?: __HttpHandlerOptions
748
+ options?: __HttpHandlerOptions,
836
749
  ): Promise<TagResourceCommandOutput>;
837
750
  tagResource(
838
751
  args: TagResourceCommandInput,
839
- cb: (err: any, data?: TagResourceCommandOutput) => void
752
+ cb: (err: any, data?: TagResourceCommandOutput) => void,
840
753
  ): void;
841
754
  tagResource(
842
755
  args: TagResourceCommandInput,
843
756
  options: __HttpHandlerOptions,
844
- cb: (err: any, data?: TagResourceCommandOutput) => void
757
+ cb: (err: any, data?: TagResourceCommandOutput) => void,
845
758
  ): void;
846
759
  untagResource(
847
760
  args: UntagResourceCommandInput,
848
- options?: __HttpHandlerOptions
761
+ options?: __HttpHandlerOptions,
849
762
  ): Promise<UntagResourceCommandOutput>;
850
763
  untagResource(
851
764
  args: UntagResourceCommandInput,
852
- cb: (err: any, data?: UntagResourceCommandOutput) => void
765
+ cb: (err: any, data?: UntagResourceCommandOutput) => void,
853
766
  ): void;
854
767
  untagResource(
855
768
  args: UntagResourceCommandInput,
856
769
  options: __HttpHandlerOptions,
857
- cb: (err: any, data?: UntagResourceCommandOutput) => void
770
+ cb: (err: any, data?: UntagResourceCommandOutput) => void,
858
771
  ): void;
859
772
  updateAlias(
860
773
  args: UpdateAliasCommandInput,
861
- options?: __HttpHandlerOptions
774
+ options?: __HttpHandlerOptions,
862
775
  ): Promise<UpdateAliasCommandOutput>;
863
776
  updateAlias(
864
777
  args: UpdateAliasCommandInput,
865
- cb: (err: any, data?: UpdateAliasCommandOutput) => void
778
+ cb: (err: any, data?: UpdateAliasCommandOutput) => void,
866
779
  ): void;
867
780
  updateAlias(
868
781
  args: UpdateAliasCommandInput,
869
782
  options: __HttpHandlerOptions,
870
- cb: (err: any, data?: UpdateAliasCommandOutput) => void
783
+ cb: (err: any, data?: UpdateAliasCommandOutput) => void,
871
784
  ): void;
872
785
  updateCustomKeyStore(
873
786
  args: UpdateCustomKeyStoreCommandInput,
874
- options?: __HttpHandlerOptions
787
+ options?: __HttpHandlerOptions,
875
788
  ): Promise<UpdateCustomKeyStoreCommandOutput>;
876
789
  updateCustomKeyStore(
877
790
  args: UpdateCustomKeyStoreCommandInput,
878
- cb: (err: any, data?: UpdateCustomKeyStoreCommandOutput) => void
791
+ cb: (err: any, data?: UpdateCustomKeyStoreCommandOutput) => void,
879
792
  ): void;
880
793
  updateCustomKeyStore(
881
794
  args: UpdateCustomKeyStoreCommandInput,
882
795
  options: __HttpHandlerOptions,
883
- cb: (err: any, data?: UpdateCustomKeyStoreCommandOutput) => void
796
+ cb: (err: any, data?: UpdateCustomKeyStoreCommandOutput) => void,
884
797
  ): void;
885
798
  updateKeyDescription(
886
799
  args: UpdateKeyDescriptionCommandInput,
887
- options?: __HttpHandlerOptions
800
+ options?: __HttpHandlerOptions,
888
801
  ): Promise<UpdateKeyDescriptionCommandOutput>;
889
802
  updateKeyDescription(
890
803
  args: UpdateKeyDescriptionCommandInput,
891
- cb: (err: any, data?: UpdateKeyDescriptionCommandOutput) => void
804
+ cb: (err: any, data?: UpdateKeyDescriptionCommandOutput) => void,
892
805
  ): void;
893
806
  updateKeyDescription(
894
807
  args: UpdateKeyDescriptionCommandInput,
895
808
  options: __HttpHandlerOptions,
896
- cb: (err: any, data?: UpdateKeyDescriptionCommandOutput) => void
809
+ cb: (err: any, data?: UpdateKeyDescriptionCommandOutput) => void,
897
810
  ): void;
898
811
  updatePrimaryRegion(
899
812
  args: UpdatePrimaryRegionCommandInput,
900
- options?: __HttpHandlerOptions
813
+ options?: __HttpHandlerOptions,
901
814
  ): Promise<UpdatePrimaryRegionCommandOutput>;
902
815
  updatePrimaryRegion(
903
816
  args: UpdatePrimaryRegionCommandInput,
904
- cb: (err: any, data?: UpdatePrimaryRegionCommandOutput) => void
817
+ cb: (err: any, data?: UpdatePrimaryRegionCommandOutput) => void,
905
818
  ): void;
906
819
  updatePrimaryRegion(
907
820
  args: UpdatePrimaryRegionCommandInput,
908
821
  options: __HttpHandlerOptions,
909
- cb: (err: any, data?: UpdatePrimaryRegionCommandOutput) => void
910
- ): void;
911
- verify(
912
- args: VerifyCommandInput,
913
- options?: __HttpHandlerOptions
914
- ): Promise<VerifyCommandOutput>;
915
- verify(
916
- args: VerifyCommandInput,
917
- cb: (err: any, data?: VerifyCommandOutput) => void
822
+ cb: (err: any, data?: UpdatePrimaryRegionCommandOutput) => void,
918
823
  ): void;
824
+ verify(args: VerifyCommandInput, options?: __HttpHandlerOptions): Promise<VerifyCommandOutput>;
825
+ verify(args: VerifyCommandInput, cb: (err: any, data?: VerifyCommandOutput) => void): void;
919
826
  verify(
920
827
  args: VerifyCommandInput,
921
828
  options: __HttpHandlerOptions,
922
- cb: (err: any, data?: VerifyCommandOutput) => void
829
+ cb: (err: any, data?: VerifyCommandOutput) => void,
923
830
  ): void;
924
831
  verifyMac(
925
832
  args: VerifyMacCommandInput,
926
- options?: __HttpHandlerOptions
833
+ options?: __HttpHandlerOptions,
927
834
  ): Promise<VerifyMacCommandOutput>;
928
835
  verifyMac(
929
836
  args: VerifyMacCommandInput,
930
- cb: (err: any, data?: VerifyMacCommandOutput) => void
837
+ cb: (err: any, data?: VerifyMacCommandOutput) => void,
931
838
  ): void;
932
839
  verifyMac(
933
840
  args: VerifyMacCommandInput,
934
841
  options: __HttpHandlerOptions,
935
- cb: (err: any, data?: VerifyMacCommandOutput) => void
842
+ cb: (err: any, data?: VerifyMacCommandOutput) => void,
936
843
  ): void;
937
844
  paginateDescribeCustomKeyStores(
938
845
  args?: DescribeCustomKeyStoresCommandInput,
939
846
  paginationConfig?: Pick<
940
847
  PaginationConfiguration,
941
848
  Exclude<keyof PaginationConfiguration, "client">
942
- >
849
+ >,
943
850
  ): Paginator<DescribeCustomKeyStoresCommandOutput>;
944
851
  paginateListAliases(
945
852
  args?: ListAliasesCommandInput,
946
853
  paginationConfig?: Pick<
947
854
  PaginationConfiguration,
948
855
  Exclude<keyof PaginationConfiguration, "client">
949
- >
856
+ >,
950
857
  ): Paginator<ListAliasesCommandOutput>;
951
858
  paginateListGrants(
952
859
  args: ListGrantsCommandInput,
953
860
  paginationConfig?: Pick<
954
861
  PaginationConfiguration,
955
862
  Exclude<keyof PaginationConfiguration, "client">
956
- >
863
+ >,
957
864
  ): Paginator<ListGrantsCommandOutput>;
958
865
  paginateListKeyPolicies(
959
866
  args: ListKeyPoliciesCommandInput,
960
867
  paginationConfig?: Pick<
961
868
  PaginationConfiguration,
962
869
  Exclude<keyof PaginationConfiguration, "client">
963
- >
870
+ >,
964
871
  ): Paginator<ListKeyPoliciesCommandOutput>;
965
872
  paginateListKeyRotations(
966
873
  args: ListKeyRotationsCommandInput,
967
874
  paginationConfig?: Pick<
968
875
  PaginationConfiguration,
969
876
  Exclude<keyof PaginationConfiguration, "client">
970
- >
877
+ >,
971
878
  ): Paginator<ListKeyRotationsCommandOutput>;
972
879
  paginateListKeys(
973
880
  args?: ListKeysCommandInput,
974
881
  paginationConfig?: Pick<
975
882
  PaginationConfiguration,
976
883
  Exclude<keyof PaginationConfiguration, "client">
977
- >
884
+ >,
978
885
  ): Paginator<ListKeysCommandOutput>;
979
886
  paginateListResourceTags(
980
887
  args: ListResourceTagsCommandInput,
981
888
  paginationConfig?: Pick<
982
889
  PaginationConfiguration,
983
890
  Exclude<keyof PaginationConfiguration, "client">
984
- >
891
+ >,
985
892
  ): Paginator<ListResourceTagsCommandOutput>;
986
893
  paginateListRetirableGrants(
987
894
  args?: ListRetirableGrantsCommandInput,
988
895
  paginationConfig?: Pick<
989
896
  PaginationConfiguration,
990
897
  Exclude<keyof PaginationConfiguration, "client">
991
- >
898
+ >,
992
899
  ): Paginator<ListRetirableGrantsCommandOutput>;
993
900
  }
994
901
  export declare class KMS extends KMSClient implements KMS {}