@aws-sdk/client-kms 3.1137.0 → 3.1139.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.
- package/dist-cjs/index.js +3 -3
- package/dist-es/schemas/schemas_0.js +2 -2
- package/dist-types/KMS.d.ts +115 -109
- package/dist-types/ts3.4/KMS.d.ts +112 -111
- package/package.json +8 -8
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -157,10 +158,13 @@ import {
|
|
|
157
158
|
import { VerifyCommandInput, VerifyCommandOutput } from "./commands/VerifyCommand";
|
|
158
159
|
import { VerifyMacCommandInput, VerifyMacCommandOutput } from "./commands/VerifyMacCommand";
|
|
159
160
|
import { KMSClient } from "./KMSClient";
|
|
161
|
+
export interface KMSRequestOptions extends __HttpHandlerOptions {
|
|
162
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
163
|
+
}
|
|
160
164
|
export interface KMS {
|
|
161
165
|
cancelKeyDeletion(
|
|
162
166
|
args: CancelKeyDeletionCommandInput,
|
|
163
|
-
options?:
|
|
167
|
+
options?: KMSRequestOptions,
|
|
164
168
|
): Promise<CancelKeyDeletionCommandOutput>;
|
|
165
169
|
cancelKeyDeletion(
|
|
166
170
|
args: CancelKeyDeletionCommandInput,
|
|
@@ -168,12 +172,12 @@ export interface KMS {
|
|
|
168
172
|
): void;
|
|
169
173
|
cancelKeyDeletion(
|
|
170
174
|
args: CancelKeyDeletionCommandInput,
|
|
171
|
-
options:
|
|
175
|
+
options: KMSRequestOptions,
|
|
172
176
|
cb: (err: any, data?: CancelKeyDeletionCommandOutput) => void,
|
|
173
177
|
): void;
|
|
174
178
|
connectCustomKeyStore(
|
|
175
179
|
args: ConnectCustomKeyStoreCommandInput,
|
|
176
|
-
options?:
|
|
180
|
+
options?: KMSRequestOptions,
|
|
177
181
|
): Promise<ConnectCustomKeyStoreCommandOutput>;
|
|
178
182
|
connectCustomKeyStore(
|
|
179
183
|
args: ConnectCustomKeyStoreCommandInput,
|
|
@@ -181,12 +185,12 @@ export interface KMS {
|
|
|
181
185
|
): void;
|
|
182
186
|
connectCustomKeyStore(
|
|
183
187
|
args: ConnectCustomKeyStoreCommandInput,
|
|
184
|
-
options:
|
|
188
|
+
options: KMSRequestOptions,
|
|
185
189
|
cb: (err: any, data?: ConnectCustomKeyStoreCommandOutput) => void,
|
|
186
190
|
): void;
|
|
187
191
|
createAlias(
|
|
188
192
|
args: CreateAliasCommandInput,
|
|
189
|
-
options?:
|
|
193
|
+
options?: KMSRequestOptions,
|
|
190
194
|
): Promise<CreateAliasCommandOutput>;
|
|
191
195
|
createAlias(
|
|
192
196
|
args: CreateAliasCommandInput,
|
|
@@ -194,12 +198,12 @@ export interface KMS {
|
|
|
194
198
|
): void;
|
|
195
199
|
createAlias(
|
|
196
200
|
args: CreateAliasCommandInput,
|
|
197
|
-
options:
|
|
201
|
+
options: KMSRequestOptions,
|
|
198
202
|
cb: (err: any, data?: CreateAliasCommandOutput) => void,
|
|
199
203
|
): void;
|
|
200
204
|
createCustomKeyStore(
|
|
201
205
|
args: CreateCustomKeyStoreCommandInput,
|
|
202
|
-
options?:
|
|
206
|
+
options?: KMSRequestOptions,
|
|
203
207
|
): Promise<CreateCustomKeyStoreCommandOutput>;
|
|
204
208
|
createCustomKeyStore(
|
|
205
209
|
args: CreateCustomKeyStoreCommandInput,
|
|
@@ -207,12 +211,12 @@ export interface KMS {
|
|
|
207
211
|
): void;
|
|
208
212
|
createCustomKeyStore(
|
|
209
213
|
args: CreateCustomKeyStoreCommandInput,
|
|
210
|
-
options:
|
|
214
|
+
options: KMSRequestOptions,
|
|
211
215
|
cb: (err: any, data?: CreateCustomKeyStoreCommandOutput) => void,
|
|
212
216
|
): void;
|
|
213
217
|
createGrant(
|
|
214
218
|
args: CreateGrantCommandInput,
|
|
215
|
-
options?:
|
|
219
|
+
options?: KMSRequestOptions,
|
|
216
220
|
): Promise<CreateGrantCommandOutput>;
|
|
217
221
|
createGrant(
|
|
218
222
|
args: CreateGrantCommandInput,
|
|
@@ -220,13 +224,13 @@ export interface KMS {
|
|
|
220
224
|
): void;
|
|
221
225
|
createGrant(
|
|
222
226
|
args: CreateGrantCommandInput,
|
|
223
|
-
options:
|
|
227
|
+
options: KMSRequestOptions,
|
|
224
228
|
cb: (err: any, data?: CreateGrantCommandOutput) => void,
|
|
225
229
|
): void;
|
|
226
230
|
createKey(): Promise<CreateKeyCommandOutput>;
|
|
227
231
|
createKey(
|
|
228
232
|
args: CreateKeyCommandInput,
|
|
229
|
-
options?:
|
|
233
|
+
options?: KMSRequestOptions,
|
|
230
234
|
): Promise<CreateKeyCommandOutput>;
|
|
231
235
|
createKey(
|
|
232
236
|
args: CreateKeyCommandInput,
|
|
@@ -234,20 +238,20 @@ export interface KMS {
|
|
|
234
238
|
): void;
|
|
235
239
|
createKey(
|
|
236
240
|
args: CreateKeyCommandInput,
|
|
237
|
-
options:
|
|
241
|
+
options: KMSRequestOptions,
|
|
238
242
|
cb: (err: any, data?: CreateKeyCommandOutput) => void,
|
|
239
243
|
): void;
|
|
240
244
|
decrypt(): Promise<DecryptCommandOutput>;
|
|
241
|
-
decrypt(args: DecryptCommandInput, options?:
|
|
245
|
+
decrypt(args: DecryptCommandInput, options?: KMSRequestOptions): Promise<DecryptCommandOutput>;
|
|
242
246
|
decrypt(args: DecryptCommandInput, cb: (err: any, data?: DecryptCommandOutput) => void): void;
|
|
243
247
|
decrypt(
|
|
244
248
|
args: DecryptCommandInput,
|
|
245
|
-
options:
|
|
249
|
+
options: KMSRequestOptions,
|
|
246
250
|
cb: (err: any, data?: DecryptCommandOutput) => void,
|
|
247
251
|
): void;
|
|
248
252
|
deleteAlias(
|
|
249
253
|
args: DeleteAliasCommandInput,
|
|
250
|
-
options?:
|
|
254
|
+
options?: KMSRequestOptions,
|
|
251
255
|
): Promise<DeleteAliasCommandOutput>;
|
|
252
256
|
deleteAlias(
|
|
253
257
|
args: DeleteAliasCommandInput,
|
|
@@ -255,12 +259,12 @@ export interface KMS {
|
|
|
255
259
|
): void;
|
|
256
260
|
deleteAlias(
|
|
257
261
|
args: DeleteAliasCommandInput,
|
|
258
|
-
options:
|
|
262
|
+
options: KMSRequestOptions,
|
|
259
263
|
cb: (err: any, data?: DeleteAliasCommandOutput) => void,
|
|
260
264
|
): void;
|
|
261
265
|
deleteCustomKeyStore(
|
|
262
266
|
args: DeleteCustomKeyStoreCommandInput,
|
|
263
|
-
options?:
|
|
267
|
+
options?: KMSRequestOptions,
|
|
264
268
|
): Promise<DeleteCustomKeyStoreCommandOutput>;
|
|
265
269
|
deleteCustomKeyStore(
|
|
266
270
|
args: DeleteCustomKeyStoreCommandInput,
|
|
@@ -268,12 +272,12 @@ export interface KMS {
|
|
|
268
272
|
): void;
|
|
269
273
|
deleteCustomKeyStore(
|
|
270
274
|
args: DeleteCustomKeyStoreCommandInput,
|
|
271
|
-
options:
|
|
275
|
+
options: KMSRequestOptions,
|
|
272
276
|
cb: (err: any, data?: DeleteCustomKeyStoreCommandOutput) => void,
|
|
273
277
|
): void;
|
|
274
278
|
deleteImportedKeyMaterial(
|
|
275
279
|
args: DeleteImportedKeyMaterialCommandInput,
|
|
276
|
-
options?:
|
|
280
|
+
options?: KMSRequestOptions,
|
|
277
281
|
): Promise<DeleteImportedKeyMaterialCommandOutput>;
|
|
278
282
|
deleteImportedKeyMaterial(
|
|
279
283
|
args: DeleteImportedKeyMaterialCommandInput,
|
|
@@ -281,12 +285,12 @@ export interface KMS {
|
|
|
281
285
|
): void;
|
|
282
286
|
deleteImportedKeyMaterial(
|
|
283
287
|
args: DeleteImportedKeyMaterialCommandInput,
|
|
284
|
-
options:
|
|
288
|
+
options: KMSRequestOptions,
|
|
285
289
|
cb: (err: any, data?: DeleteImportedKeyMaterialCommandOutput) => void,
|
|
286
290
|
): void;
|
|
287
291
|
deriveSharedSecret(
|
|
288
292
|
args: DeriveSharedSecretCommandInput,
|
|
289
|
-
options?:
|
|
293
|
+
options?: KMSRequestOptions,
|
|
290
294
|
): Promise<DeriveSharedSecretCommandOutput>;
|
|
291
295
|
deriveSharedSecret(
|
|
292
296
|
args: DeriveSharedSecretCommandInput,
|
|
@@ -294,13 +298,13 @@ export interface KMS {
|
|
|
294
298
|
): void;
|
|
295
299
|
deriveSharedSecret(
|
|
296
300
|
args: DeriveSharedSecretCommandInput,
|
|
297
|
-
options:
|
|
301
|
+
options: KMSRequestOptions,
|
|
298
302
|
cb: (err: any, data?: DeriveSharedSecretCommandOutput) => void,
|
|
299
303
|
): void;
|
|
300
304
|
describeCustomKeyStores(): Promise<DescribeCustomKeyStoresCommandOutput>;
|
|
301
305
|
describeCustomKeyStores(
|
|
302
306
|
args: DescribeCustomKeyStoresCommandInput,
|
|
303
|
-
options?:
|
|
307
|
+
options?: KMSRequestOptions,
|
|
304
308
|
): Promise<DescribeCustomKeyStoresCommandOutput>;
|
|
305
309
|
describeCustomKeyStores(
|
|
306
310
|
args: DescribeCustomKeyStoresCommandInput,
|
|
@@ -308,12 +312,12 @@ export interface KMS {
|
|
|
308
312
|
): void;
|
|
309
313
|
describeCustomKeyStores(
|
|
310
314
|
args: DescribeCustomKeyStoresCommandInput,
|
|
311
|
-
options:
|
|
315
|
+
options: KMSRequestOptions,
|
|
312
316
|
cb: (err: any, data?: DescribeCustomKeyStoresCommandOutput) => void,
|
|
313
317
|
): void;
|
|
314
318
|
describeKey(
|
|
315
319
|
args: DescribeKeyCommandInput,
|
|
316
|
-
options?:
|
|
320
|
+
options?: KMSRequestOptions,
|
|
317
321
|
): Promise<DescribeKeyCommandOutput>;
|
|
318
322
|
describeKey(
|
|
319
323
|
args: DescribeKeyCommandInput,
|
|
@@ -321,12 +325,12 @@ export interface KMS {
|
|
|
321
325
|
): void;
|
|
322
326
|
describeKey(
|
|
323
327
|
args: DescribeKeyCommandInput,
|
|
324
|
-
options:
|
|
328
|
+
options: KMSRequestOptions,
|
|
325
329
|
cb: (err: any, data?: DescribeKeyCommandOutput) => void,
|
|
326
330
|
): void;
|
|
327
331
|
disableKey(
|
|
328
332
|
args: DisableKeyCommandInput,
|
|
329
|
-
options?:
|
|
333
|
+
options?: KMSRequestOptions,
|
|
330
334
|
): Promise<DisableKeyCommandOutput>;
|
|
331
335
|
disableKey(
|
|
332
336
|
args: DisableKeyCommandInput,
|
|
@@ -334,12 +338,12 @@ export interface KMS {
|
|
|
334
338
|
): void;
|
|
335
339
|
disableKey(
|
|
336
340
|
args: DisableKeyCommandInput,
|
|
337
|
-
options:
|
|
341
|
+
options: KMSRequestOptions,
|
|
338
342
|
cb: (err: any, data?: DisableKeyCommandOutput) => void,
|
|
339
343
|
): void;
|
|
340
344
|
disableKeyRotation(
|
|
341
345
|
args: DisableKeyRotationCommandInput,
|
|
342
|
-
options?:
|
|
346
|
+
options?: KMSRequestOptions,
|
|
343
347
|
): Promise<DisableKeyRotationCommandOutput>;
|
|
344
348
|
disableKeyRotation(
|
|
345
349
|
args: DisableKeyRotationCommandInput,
|
|
@@ -347,12 +351,12 @@ export interface KMS {
|
|
|
347
351
|
): void;
|
|
348
352
|
disableKeyRotation(
|
|
349
353
|
args: DisableKeyRotationCommandInput,
|
|
350
|
-
options:
|
|
354
|
+
options: KMSRequestOptions,
|
|
351
355
|
cb: (err: any, data?: DisableKeyRotationCommandOutput) => void,
|
|
352
356
|
): void;
|
|
353
357
|
disconnectCustomKeyStore(
|
|
354
358
|
args: DisconnectCustomKeyStoreCommandInput,
|
|
355
|
-
options?:
|
|
359
|
+
options?: KMSRequestOptions,
|
|
356
360
|
): Promise<DisconnectCustomKeyStoreCommandOutput>;
|
|
357
361
|
disconnectCustomKeyStore(
|
|
358
362
|
args: DisconnectCustomKeyStoreCommandInput,
|
|
@@ -360,12 +364,12 @@ export interface KMS {
|
|
|
360
364
|
): void;
|
|
361
365
|
disconnectCustomKeyStore(
|
|
362
366
|
args: DisconnectCustomKeyStoreCommandInput,
|
|
363
|
-
options:
|
|
367
|
+
options: KMSRequestOptions,
|
|
364
368
|
cb: (err: any, data?: DisconnectCustomKeyStoreCommandOutput) => void,
|
|
365
369
|
): void;
|
|
366
370
|
enableKey(
|
|
367
371
|
args: EnableKeyCommandInput,
|
|
368
|
-
options?:
|
|
372
|
+
options?: KMSRequestOptions,
|
|
369
373
|
): Promise<EnableKeyCommandOutput>;
|
|
370
374
|
enableKey(
|
|
371
375
|
args: EnableKeyCommandInput,
|
|
@@ -373,12 +377,12 @@ export interface KMS {
|
|
|
373
377
|
): void;
|
|
374
378
|
enableKey(
|
|
375
379
|
args: EnableKeyCommandInput,
|
|
376
|
-
options:
|
|
380
|
+
options: KMSRequestOptions,
|
|
377
381
|
cb: (err: any, data?: EnableKeyCommandOutput) => void,
|
|
378
382
|
): void;
|
|
379
383
|
enableKeyRotation(
|
|
380
384
|
args: EnableKeyRotationCommandInput,
|
|
381
|
-
options?:
|
|
385
|
+
options?: KMSRequestOptions,
|
|
382
386
|
): Promise<EnableKeyRotationCommandOutput>;
|
|
383
387
|
enableKeyRotation(
|
|
384
388
|
args: EnableKeyRotationCommandInput,
|
|
@@ -386,19 +390,19 @@ export interface KMS {
|
|
|
386
390
|
): void;
|
|
387
391
|
enableKeyRotation(
|
|
388
392
|
args: EnableKeyRotationCommandInput,
|
|
389
|
-
options:
|
|
393
|
+
options: KMSRequestOptions,
|
|
390
394
|
cb: (err: any, data?: EnableKeyRotationCommandOutput) => void,
|
|
391
395
|
): void;
|
|
392
|
-
encrypt(args: EncryptCommandInput, options?:
|
|
396
|
+
encrypt(args: EncryptCommandInput, options?: KMSRequestOptions): Promise<EncryptCommandOutput>;
|
|
393
397
|
encrypt(args: EncryptCommandInput, cb: (err: any, data?: EncryptCommandOutput) => void): void;
|
|
394
398
|
encrypt(
|
|
395
399
|
args: EncryptCommandInput,
|
|
396
|
-
options:
|
|
400
|
+
options: KMSRequestOptions,
|
|
397
401
|
cb: (err: any, data?: EncryptCommandOutput) => void,
|
|
398
402
|
): void;
|
|
399
403
|
generateDataKey(
|
|
400
404
|
args: GenerateDataKeyCommandInput,
|
|
401
|
-
options?:
|
|
405
|
+
options?: KMSRequestOptions,
|
|
402
406
|
): Promise<GenerateDataKeyCommandOutput>;
|
|
403
407
|
generateDataKey(
|
|
404
408
|
args: GenerateDataKeyCommandInput,
|
|
@@ -406,12 +410,12 @@ export interface KMS {
|
|
|
406
410
|
): void;
|
|
407
411
|
generateDataKey(
|
|
408
412
|
args: GenerateDataKeyCommandInput,
|
|
409
|
-
options:
|
|
413
|
+
options: KMSRequestOptions,
|
|
410
414
|
cb: (err: any, data?: GenerateDataKeyCommandOutput) => void,
|
|
411
415
|
): void;
|
|
412
416
|
generateDataKeyPair(
|
|
413
417
|
args: GenerateDataKeyPairCommandInput,
|
|
414
|
-
options?:
|
|
418
|
+
options?: KMSRequestOptions,
|
|
415
419
|
): Promise<GenerateDataKeyPairCommandOutput>;
|
|
416
420
|
generateDataKeyPair(
|
|
417
421
|
args: GenerateDataKeyPairCommandInput,
|
|
@@ -419,12 +423,12 @@ export interface KMS {
|
|
|
419
423
|
): void;
|
|
420
424
|
generateDataKeyPair(
|
|
421
425
|
args: GenerateDataKeyPairCommandInput,
|
|
422
|
-
options:
|
|
426
|
+
options: KMSRequestOptions,
|
|
423
427
|
cb: (err: any, data?: GenerateDataKeyPairCommandOutput) => void,
|
|
424
428
|
): void;
|
|
425
429
|
generateDataKeyPairWithoutPlaintext(
|
|
426
430
|
args: GenerateDataKeyPairWithoutPlaintextCommandInput,
|
|
427
|
-
options?:
|
|
431
|
+
options?: KMSRequestOptions,
|
|
428
432
|
): Promise<GenerateDataKeyPairWithoutPlaintextCommandOutput>;
|
|
429
433
|
generateDataKeyPairWithoutPlaintext(
|
|
430
434
|
args: GenerateDataKeyPairWithoutPlaintextCommandInput,
|
|
@@ -432,12 +436,12 @@ export interface KMS {
|
|
|
432
436
|
): void;
|
|
433
437
|
generateDataKeyPairWithoutPlaintext(
|
|
434
438
|
args: GenerateDataKeyPairWithoutPlaintextCommandInput,
|
|
435
|
-
options:
|
|
439
|
+
options: KMSRequestOptions,
|
|
436
440
|
cb: (err: any, data?: GenerateDataKeyPairWithoutPlaintextCommandOutput) => void,
|
|
437
441
|
): void;
|
|
438
442
|
generateDataKeyWithoutPlaintext(
|
|
439
443
|
args: GenerateDataKeyWithoutPlaintextCommandInput,
|
|
440
|
-
options?:
|
|
444
|
+
options?: KMSRequestOptions,
|
|
441
445
|
): Promise<GenerateDataKeyWithoutPlaintextCommandOutput>;
|
|
442
446
|
generateDataKeyWithoutPlaintext(
|
|
443
447
|
args: GenerateDataKeyWithoutPlaintextCommandInput,
|
|
@@ -445,12 +449,12 @@ export interface KMS {
|
|
|
445
449
|
): void;
|
|
446
450
|
generateDataKeyWithoutPlaintext(
|
|
447
451
|
args: GenerateDataKeyWithoutPlaintextCommandInput,
|
|
448
|
-
options:
|
|
452
|
+
options: KMSRequestOptions,
|
|
449
453
|
cb: (err: any, data?: GenerateDataKeyWithoutPlaintextCommandOutput) => void,
|
|
450
454
|
): void;
|
|
451
455
|
generateMac(
|
|
452
456
|
args: GenerateMacCommandInput,
|
|
453
|
-
options?:
|
|
457
|
+
options?: KMSRequestOptions,
|
|
454
458
|
): Promise<GenerateMacCommandOutput>;
|
|
455
459
|
generateMac(
|
|
456
460
|
args: GenerateMacCommandInput,
|
|
@@ -458,13 +462,13 @@ export interface KMS {
|
|
|
458
462
|
): void;
|
|
459
463
|
generateMac(
|
|
460
464
|
args: GenerateMacCommandInput,
|
|
461
|
-
options:
|
|
465
|
+
options: KMSRequestOptions,
|
|
462
466
|
cb: (err: any, data?: GenerateMacCommandOutput) => void,
|
|
463
467
|
): void;
|
|
464
468
|
generateRandom(): Promise<GenerateRandomCommandOutput>;
|
|
465
469
|
generateRandom(
|
|
466
470
|
args: GenerateRandomCommandInput,
|
|
467
|
-
options?:
|
|
471
|
+
options?: KMSRequestOptions,
|
|
468
472
|
): Promise<GenerateRandomCommandOutput>;
|
|
469
473
|
generateRandom(
|
|
470
474
|
args: GenerateRandomCommandInput,
|
|
@@ -472,12 +476,12 @@ export interface KMS {
|
|
|
472
476
|
): void;
|
|
473
477
|
generateRandom(
|
|
474
478
|
args: GenerateRandomCommandInput,
|
|
475
|
-
options:
|
|
479
|
+
options: KMSRequestOptions,
|
|
476
480
|
cb: (err: any, data?: GenerateRandomCommandOutput) => void,
|
|
477
481
|
): void;
|
|
478
482
|
getKeyLastUsage(
|
|
479
483
|
args: GetKeyLastUsageCommandInput,
|
|
480
|
-
options?:
|
|
484
|
+
options?: KMSRequestOptions,
|
|
481
485
|
): Promise<GetKeyLastUsageCommandOutput>;
|
|
482
486
|
getKeyLastUsage(
|
|
483
487
|
args: GetKeyLastUsageCommandInput,
|
|
@@ -485,12 +489,12 @@ export interface KMS {
|
|
|
485
489
|
): void;
|
|
486
490
|
getKeyLastUsage(
|
|
487
491
|
args: GetKeyLastUsageCommandInput,
|
|
488
|
-
options:
|
|
492
|
+
options: KMSRequestOptions,
|
|
489
493
|
cb: (err: any, data?: GetKeyLastUsageCommandOutput) => void,
|
|
490
494
|
): void;
|
|
491
495
|
getKeyPolicy(
|
|
492
496
|
args: GetKeyPolicyCommandInput,
|
|
493
|
-
options?:
|
|
497
|
+
options?: KMSRequestOptions,
|
|
494
498
|
): Promise<GetKeyPolicyCommandOutput>;
|
|
495
499
|
getKeyPolicy(
|
|
496
500
|
args: GetKeyPolicyCommandInput,
|
|
@@ -498,12 +502,12 @@ export interface KMS {
|
|
|
498
502
|
): void;
|
|
499
503
|
getKeyPolicy(
|
|
500
504
|
args: GetKeyPolicyCommandInput,
|
|
501
|
-
options:
|
|
505
|
+
options: KMSRequestOptions,
|
|
502
506
|
cb: (err: any, data?: GetKeyPolicyCommandOutput) => void,
|
|
503
507
|
): void;
|
|
504
508
|
getKeyRotationStatus(
|
|
505
509
|
args: GetKeyRotationStatusCommandInput,
|
|
506
|
-
options?:
|
|
510
|
+
options?: KMSRequestOptions,
|
|
507
511
|
): Promise<GetKeyRotationStatusCommandOutput>;
|
|
508
512
|
getKeyRotationStatus(
|
|
509
513
|
args: GetKeyRotationStatusCommandInput,
|
|
@@ -511,12 +515,12 @@ export interface KMS {
|
|
|
511
515
|
): void;
|
|
512
516
|
getKeyRotationStatus(
|
|
513
517
|
args: GetKeyRotationStatusCommandInput,
|
|
514
|
-
options:
|
|
518
|
+
options: KMSRequestOptions,
|
|
515
519
|
cb: (err: any, data?: GetKeyRotationStatusCommandOutput) => void,
|
|
516
520
|
): void;
|
|
517
521
|
getParametersForImport(
|
|
518
522
|
args: GetParametersForImportCommandInput,
|
|
519
|
-
options?:
|
|
523
|
+
options?: KMSRequestOptions,
|
|
520
524
|
): Promise<GetParametersForImportCommandOutput>;
|
|
521
525
|
getParametersForImport(
|
|
522
526
|
args: GetParametersForImportCommandInput,
|
|
@@ -524,12 +528,12 @@ export interface KMS {
|
|
|
524
528
|
): void;
|
|
525
529
|
getParametersForImport(
|
|
526
530
|
args: GetParametersForImportCommandInput,
|
|
527
|
-
options:
|
|
531
|
+
options: KMSRequestOptions,
|
|
528
532
|
cb: (err: any, data?: GetParametersForImportCommandOutput) => void,
|
|
529
533
|
): void;
|
|
530
534
|
getPublicKey(
|
|
531
535
|
args: GetPublicKeyCommandInput,
|
|
532
|
-
options?:
|
|
536
|
+
options?: KMSRequestOptions,
|
|
533
537
|
): Promise<GetPublicKeyCommandOutput>;
|
|
534
538
|
getPublicKey(
|
|
535
539
|
args: GetPublicKeyCommandInput,
|
|
@@ -537,12 +541,12 @@ export interface KMS {
|
|
|
537
541
|
): void;
|
|
538
542
|
getPublicKey(
|
|
539
543
|
args: GetPublicKeyCommandInput,
|
|
540
|
-
options:
|
|
544
|
+
options: KMSRequestOptions,
|
|
541
545
|
cb: (err: any, data?: GetPublicKeyCommandOutput) => void,
|
|
542
546
|
): void;
|
|
543
547
|
importKeyMaterial(
|
|
544
548
|
args: ImportKeyMaterialCommandInput,
|
|
545
|
-
options?:
|
|
549
|
+
options?: KMSRequestOptions,
|
|
546
550
|
): Promise<ImportKeyMaterialCommandOutput>;
|
|
547
551
|
importKeyMaterial(
|
|
548
552
|
args: ImportKeyMaterialCommandInput,
|
|
@@ -550,13 +554,13 @@ export interface KMS {
|
|
|
550
554
|
): void;
|
|
551
555
|
importKeyMaterial(
|
|
552
556
|
args: ImportKeyMaterialCommandInput,
|
|
553
|
-
options:
|
|
557
|
+
options: KMSRequestOptions,
|
|
554
558
|
cb: (err: any, data?: ImportKeyMaterialCommandOutput) => void,
|
|
555
559
|
): void;
|
|
556
560
|
listAliases(): Promise<ListAliasesCommandOutput>;
|
|
557
561
|
listAliases(
|
|
558
562
|
args: ListAliasesCommandInput,
|
|
559
|
-
options?:
|
|
563
|
+
options?: KMSRequestOptions,
|
|
560
564
|
): Promise<ListAliasesCommandOutput>;
|
|
561
565
|
listAliases(
|
|
562
566
|
args: ListAliasesCommandInput,
|
|
@@ -564,12 +568,12 @@ export interface KMS {
|
|
|
564
568
|
): void;
|
|
565
569
|
listAliases(
|
|
566
570
|
args: ListAliasesCommandInput,
|
|
567
|
-
options:
|
|
571
|
+
options: KMSRequestOptions,
|
|
568
572
|
cb: (err: any, data?: ListAliasesCommandOutput) => void,
|
|
569
573
|
): void;
|
|
570
574
|
listGrants(
|
|
571
575
|
args: ListGrantsCommandInput,
|
|
572
|
-
options?:
|
|
576
|
+
options?: KMSRequestOptions,
|
|
573
577
|
): Promise<ListGrantsCommandOutput>;
|
|
574
578
|
listGrants(
|
|
575
579
|
args: ListGrantsCommandInput,
|
|
@@ -577,12 +581,12 @@ export interface KMS {
|
|
|
577
581
|
): void;
|
|
578
582
|
listGrants(
|
|
579
583
|
args: ListGrantsCommandInput,
|
|
580
|
-
options:
|
|
584
|
+
options: KMSRequestOptions,
|
|
581
585
|
cb: (err: any, data?: ListGrantsCommandOutput) => void,
|
|
582
586
|
): void;
|
|
583
587
|
listKeyPolicies(
|
|
584
588
|
args: ListKeyPoliciesCommandInput,
|
|
585
|
-
options?:
|
|
589
|
+
options?: KMSRequestOptions,
|
|
586
590
|
): Promise<ListKeyPoliciesCommandOutput>;
|
|
587
591
|
listKeyPolicies(
|
|
588
592
|
args: ListKeyPoliciesCommandInput,
|
|
@@ -590,12 +594,12 @@ export interface KMS {
|
|
|
590
594
|
): void;
|
|
591
595
|
listKeyPolicies(
|
|
592
596
|
args: ListKeyPoliciesCommandInput,
|
|
593
|
-
options:
|
|
597
|
+
options: KMSRequestOptions,
|
|
594
598
|
cb: (err: any, data?: ListKeyPoliciesCommandOutput) => void,
|
|
595
599
|
): void;
|
|
596
600
|
listKeyRotations(
|
|
597
601
|
args: ListKeyRotationsCommandInput,
|
|
598
|
-
options?:
|
|
602
|
+
options?: KMSRequestOptions,
|
|
599
603
|
): Promise<ListKeyRotationsCommandOutput>;
|
|
600
604
|
listKeyRotations(
|
|
601
605
|
args: ListKeyRotationsCommandInput,
|
|
@@ -603,23 +607,20 @@ export interface KMS {
|
|
|
603
607
|
): void;
|
|
604
608
|
listKeyRotations(
|
|
605
609
|
args: ListKeyRotationsCommandInput,
|
|
606
|
-
options:
|
|
610
|
+
options: KMSRequestOptions,
|
|
607
611
|
cb: (err: any, data?: ListKeyRotationsCommandOutput) => void,
|
|
608
612
|
): void;
|
|
609
613
|
listKeys(): Promise<ListKeysCommandOutput>;
|
|
610
|
-
listKeys(
|
|
611
|
-
args: ListKeysCommandInput,
|
|
612
|
-
options?: __HttpHandlerOptions,
|
|
613
|
-
): Promise<ListKeysCommandOutput>;
|
|
614
|
+
listKeys(args: ListKeysCommandInput, options?: KMSRequestOptions): Promise<ListKeysCommandOutput>;
|
|
614
615
|
listKeys(args: ListKeysCommandInput, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
|
|
615
616
|
listKeys(
|
|
616
617
|
args: ListKeysCommandInput,
|
|
617
|
-
options:
|
|
618
|
+
options: KMSRequestOptions,
|
|
618
619
|
cb: (err: any, data?: ListKeysCommandOutput) => void,
|
|
619
620
|
): void;
|
|
620
621
|
listResourceTags(
|
|
621
622
|
args: ListResourceTagsCommandInput,
|
|
622
|
-
options?:
|
|
623
|
+
options?: KMSRequestOptions,
|
|
623
624
|
): Promise<ListResourceTagsCommandOutput>;
|
|
624
625
|
listResourceTags(
|
|
625
626
|
args: ListResourceTagsCommandInput,
|
|
@@ -627,13 +628,13 @@ export interface KMS {
|
|
|
627
628
|
): void;
|
|
628
629
|
listResourceTags(
|
|
629
630
|
args: ListResourceTagsCommandInput,
|
|
630
|
-
options:
|
|
631
|
+
options: KMSRequestOptions,
|
|
631
632
|
cb: (err: any, data?: ListResourceTagsCommandOutput) => void,
|
|
632
633
|
): void;
|
|
633
634
|
listRetirableGrants(): Promise<ListRetirableGrantsCommandOutput>;
|
|
634
635
|
listRetirableGrants(
|
|
635
636
|
args: ListRetirableGrantsCommandInput,
|
|
636
|
-
options?:
|
|
637
|
+
options?: KMSRequestOptions,
|
|
637
638
|
): Promise<ListRetirableGrantsCommandOutput>;
|
|
638
639
|
listRetirableGrants(
|
|
639
640
|
args: ListRetirableGrantsCommandInput,
|
|
@@ -641,12 +642,12 @@ export interface KMS {
|
|
|
641
642
|
): void;
|
|
642
643
|
listRetirableGrants(
|
|
643
644
|
args: ListRetirableGrantsCommandInput,
|
|
644
|
-
options:
|
|
645
|
+
options: KMSRequestOptions,
|
|
645
646
|
cb: (err: any, data?: ListRetirableGrantsCommandOutput) => void,
|
|
646
647
|
): void;
|
|
647
648
|
putKeyPolicy(
|
|
648
649
|
args: PutKeyPolicyCommandInput,
|
|
649
|
-
options?:
|
|
650
|
+
options?: KMSRequestOptions,
|
|
650
651
|
): Promise<PutKeyPolicyCommandOutput>;
|
|
651
652
|
putKeyPolicy(
|
|
652
653
|
args: PutKeyPolicyCommandInput,
|
|
@@ -654,12 +655,12 @@ export interface KMS {
|
|
|
654
655
|
): void;
|
|
655
656
|
putKeyPolicy(
|
|
656
657
|
args: PutKeyPolicyCommandInput,
|
|
657
|
-
options:
|
|
658
|
+
options: KMSRequestOptions,
|
|
658
659
|
cb: (err: any, data?: PutKeyPolicyCommandOutput) => void,
|
|
659
660
|
): void;
|
|
660
661
|
reEncrypt(
|
|
661
662
|
args: ReEncryptCommandInput,
|
|
662
|
-
options?:
|
|
663
|
+
options?: KMSRequestOptions,
|
|
663
664
|
): Promise<ReEncryptCommandOutput>;
|
|
664
665
|
reEncrypt(
|
|
665
666
|
args: ReEncryptCommandInput,
|
|
@@ -667,12 +668,12 @@ export interface KMS {
|
|
|
667
668
|
): void;
|
|
668
669
|
reEncrypt(
|
|
669
670
|
args: ReEncryptCommandInput,
|
|
670
|
-
options:
|
|
671
|
+
options: KMSRequestOptions,
|
|
671
672
|
cb: (err: any, data?: ReEncryptCommandOutput) => void,
|
|
672
673
|
): void;
|
|
673
674
|
replicateKey(
|
|
674
675
|
args: ReplicateKeyCommandInput,
|
|
675
|
-
options?:
|
|
676
|
+
options?: KMSRequestOptions,
|
|
676
677
|
): Promise<ReplicateKeyCommandOutput>;
|
|
677
678
|
replicateKey(
|
|
678
679
|
args: ReplicateKeyCommandInput,
|
|
@@ -680,13 +681,13 @@ export interface KMS {
|
|
|
680
681
|
): void;
|
|
681
682
|
replicateKey(
|
|
682
683
|
args: ReplicateKeyCommandInput,
|
|
683
|
-
options:
|
|
684
|
+
options: KMSRequestOptions,
|
|
684
685
|
cb: (err: any, data?: ReplicateKeyCommandOutput) => void,
|
|
685
686
|
): void;
|
|
686
687
|
retireGrant(): Promise<RetireGrantCommandOutput>;
|
|
687
688
|
retireGrant(
|
|
688
689
|
args: RetireGrantCommandInput,
|
|
689
|
-
options?:
|
|
690
|
+
options?: KMSRequestOptions,
|
|
690
691
|
): Promise<RetireGrantCommandOutput>;
|
|
691
692
|
retireGrant(
|
|
692
693
|
args: RetireGrantCommandInput,
|
|
@@ -694,12 +695,12 @@ export interface KMS {
|
|
|
694
695
|
): void;
|
|
695
696
|
retireGrant(
|
|
696
697
|
args: RetireGrantCommandInput,
|
|
697
|
-
options:
|
|
698
|
+
options: KMSRequestOptions,
|
|
698
699
|
cb: (err: any, data?: RetireGrantCommandOutput) => void,
|
|
699
700
|
): void;
|
|
700
701
|
revokeGrant(
|
|
701
702
|
args: RevokeGrantCommandInput,
|
|
702
|
-
options?:
|
|
703
|
+
options?: KMSRequestOptions,
|
|
703
704
|
): Promise<RevokeGrantCommandOutput>;
|
|
704
705
|
revokeGrant(
|
|
705
706
|
args: RevokeGrantCommandInput,
|
|
@@ -707,12 +708,12 @@ export interface KMS {
|
|
|
707
708
|
): void;
|
|
708
709
|
revokeGrant(
|
|
709
710
|
args: RevokeGrantCommandInput,
|
|
710
|
-
options:
|
|
711
|
+
options: KMSRequestOptions,
|
|
711
712
|
cb: (err: any, data?: RevokeGrantCommandOutput) => void,
|
|
712
713
|
): void;
|
|
713
714
|
rotateKeyOnDemand(
|
|
714
715
|
args: RotateKeyOnDemandCommandInput,
|
|
715
|
-
options?:
|
|
716
|
+
options?: KMSRequestOptions,
|
|
716
717
|
): Promise<RotateKeyOnDemandCommandOutput>;
|
|
717
718
|
rotateKeyOnDemand(
|
|
718
719
|
args: RotateKeyOnDemandCommandInput,
|
|
@@ -720,12 +721,12 @@ export interface KMS {
|
|
|
720
721
|
): void;
|
|
721
722
|
rotateKeyOnDemand(
|
|
722
723
|
args: RotateKeyOnDemandCommandInput,
|
|
723
|
-
options:
|
|
724
|
+
options: KMSRequestOptions,
|
|
724
725
|
cb: (err: any, data?: RotateKeyOnDemandCommandOutput) => void,
|
|
725
726
|
): void;
|
|
726
727
|
scheduleKeyDeletion(
|
|
727
728
|
args: ScheduleKeyDeletionCommandInput,
|
|
728
|
-
options?:
|
|
729
|
+
options?: KMSRequestOptions,
|
|
729
730
|
): Promise<ScheduleKeyDeletionCommandOutput>;
|
|
730
731
|
scheduleKeyDeletion(
|
|
731
732
|
args: ScheduleKeyDeletionCommandInput,
|
|
@@ -733,19 +734,19 @@ export interface KMS {
|
|
|
733
734
|
): void;
|
|
734
735
|
scheduleKeyDeletion(
|
|
735
736
|
args: ScheduleKeyDeletionCommandInput,
|
|
736
|
-
options:
|
|
737
|
+
options: KMSRequestOptions,
|
|
737
738
|
cb: (err: any, data?: ScheduleKeyDeletionCommandOutput) => void,
|
|
738
739
|
): void;
|
|
739
|
-
sign(args: SignCommandInput, options?:
|
|
740
|
+
sign(args: SignCommandInput, options?: KMSRequestOptions): Promise<SignCommandOutput>;
|
|
740
741
|
sign(args: SignCommandInput, cb: (err: any, data?: SignCommandOutput) => void): void;
|
|
741
742
|
sign(
|
|
742
743
|
args: SignCommandInput,
|
|
743
|
-
options:
|
|
744
|
+
options: KMSRequestOptions,
|
|
744
745
|
cb: (err: any, data?: SignCommandOutput) => void,
|
|
745
746
|
): void;
|
|
746
747
|
tagResource(
|
|
747
748
|
args: TagResourceCommandInput,
|
|
748
|
-
options?:
|
|
749
|
+
options?: KMSRequestOptions,
|
|
749
750
|
): Promise<TagResourceCommandOutput>;
|
|
750
751
|
tagResource(
|
|
751
752
|
args: TagResourceCommandInput,
|
|
@@ -753,12 +754,12 @@ export interface KMS {
|
|
|
753
754
|
): void;
|
|
754
755
|
tagResource(
|
|
755
756
|
args: TagResourceCommandInput,
|
|
756
|
-
options:
|
|
757
|
+
options: KMSRequestOptions,
|
|
757
758
|
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
758
759
|
): void;
|
|
759
760
|
untagResource(
|
|
760
761
|
args: UntagResourceCommandInput,
|
|
761
|
-
options?:
|
|
762
|
+
options?: KMSRequestOptions,
|
|
762
763
|
): Promise<UntagResourceCommandOutput>;
|
|
763
764
|
untagResource(
|
|
764
765
|
args: UntagResourceCommandInput,
|
|
@@ -766,12 +767,12 @@ export interface KMS {
|
|
|
766
767
|
): void;
|
|
767
768
|
untagResource(
|
|
768
769
|
args: UntagResourceCommandInput,
|
|
769
|
-
options:
|
|
770
|
+
options: KMSRequestOptions,
|
|
770
771
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
771
772
|
): void;
|
|
772
773
|
updateAlias(
|
|
773
774
|
args: UpdateAliasCommandInput,
|
|
774
|
-
options?:
|
|
775
|
+
options?: KMSRequestOptions,
|
|
775
776
|
): Promise<UpdateAliasCommandOutput>;
|
|
776
777
|
updateAlias(
|
|
777
778
|
args: UpdateAliasCommandInput,
|
|
@@ -779,12 +780,12 @@ export interface KMS {
|
|
|
779
780
|
): void;
|
|
780
781
|
updateAlias(
|
|
781
782
|
args: UpdateAliasCommandInput,
|
|
782
|
-
options:
|
|
783
|
+
options: KMSRequestOptions,
|
|
783
784
|
cb: (err: any, data?: UpdateAliasCommandOutput) => void,
|
|
784
785
|
): void;
|
|
785
786
|
updateCustomKeyStore(
|
|
786
787
|
args: UpdateCustomKeyStoreCommandInput,
|
|
787
|
-
options?:
|
|
788
|
+
options?: KMSRequestOptions,
|
|
788
789
|
): Promise<UpdateCustomKeyStoreCommandOutput>;
|
|
789
790
|
updateCustomKeyStore(
|
|
790
791
|
args: UpdateCustomKeyStoreCommandInput,
|
|
@@ -792,12 +793,12 @@ export interface KMS {
|
|
|
792
793
|
): void;
|
|
793
794
|
updateCustomKeyStore(
|
|
794
795
|
args: UpdateCustomKeyStoreCommandInput,
|
|
795
|
-
options:
|
|
796
|
+
options: KMSRequestOptions,
|
|
796
797
|
cb: (err: any, data?: UpdateCustomKeyStoreCommandOutput) => void,
|
|
797
798
|
): void;
|
|
798
799
|
updateKeyDescription(
|
|
799
800
|
args: UpdateKeyDescriptionCommandInput,
|
|
800
|
-
options?:
|
|
801
|
+
options?: KMSRequestOptions,
|
|
801
802
|
): Promise<UpdateKeyDescriptionCommandOutput>;
|
|
802
803
|
updateKeyDescription(
|
|
803
804
|
args: UpdateKeyDescriptionCommandInput,
|
|
@@ -805,12 +806,12 @@ export interface KMS {
|
|
|
805
806
|
): void;
|
|
806
807
|
updateKeyDescription(
|
|
807
808
|
args: UpdateKeyDescriptionCommandInput,
|
|
808
|
-
options:
|
|
809
|
+
options: KMSRequestOptions,
|
|
809
810
|
cb: (err: any, data?: UpdateKeyDescriptionCommandOutput) => void,
|
|
810
811
|
): void;
|
|
811
812
|
updatePrimaryRegion(
|
|
812
813
|
args: UpdatePrimaryRegionCommandInput,
|
|
813
|
-
options?:
|
|
814
|
+
options?: KMSRequestOptions,
|
|
814
815
|
): Promise<UpdatePrimaryRegionCommandOutput>;
|
|
815
816
|
updatePrimaryRegion(
|
|
816
817
|
args: UpdatePrimaryRegionCommandInput,
|
|
@@ -818,19 +819,19 @@ export interface KMS {
|
|
|
818
819
|
): void;
|
|
819
820
|
updatePrimaryRegion(
|
|
820
821
|
args: UpdatePrimaryRegionCommandInput,
|
|
821
|
-
options:
|
|
822
|
+
options: KMSRequestOptions,
|
|
822
823
|
cb: (err: any, data?: UpdatePrimaryRegionCommandOutput) => void,
|
|
823
824
|
): void;
|
|
824
|
-
verify(args: VerifyCommandInput, options?:
|
|
825
|
+
verify(args: VerifyCommandInput, options?: KMSRequestOptions): Promise<VerifyCommandOutput>;
|
|
825
826
|
verify(args: VerifyCommandInput, cb: (err: any, data?: VerifyCommandOutput) => void): void;
|
|
826
827
|
verify(
|
|
827
828
|
args: VerifyCommandInput,
|
|
828
|
-
options:
|
|
829
|
+
options: KMSRequestOptions,
|
|
829
830
|
cb: (err: any, data?: VerifyCommandOutput) => void,
|
|
830
831
|
): void;
|
|
831
832
|
verifyMac(
|
|
832
833
|
args: VerifyMacCommandInput,
|
|
833
|
-
options?:
|
|
834
|
+
options?: KMSRequestOptions,
|
|
834
835
|
): Promise<VerifyMacCommandOutput>;
|
|
835
836
|
verifyMac(
|
|
836
837
|
args: VerifyMacCommandInput,
|
|
@@ -838,7 +839,7 @@ export interface KMS {
|
|
|
838
839
|
): void;
|
|
839
840
|
verifyMac(
|
|
840
841
|
args: VerifyMacCommandInput,
|
|
841
|
-
options:
|
|
842
|
+
options: KMSRequestOptions,
|
|
842
843
|
cb: (err: any, data?: VerifyMacCommandOutput) => void,
|
|
843
844
|
): void;
|
|
844
845
|
paginateDescribeCustomKeyStores(
|