@aws-sdk/client-kms 3.131.0 → 3.141.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/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/CancelKeyDeletionCommand.js +2 -2
- package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +2 -2
- package/dist-cjs/commands/CreateAliasCommand.js +1 -1
- package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +2 -2
- package/dist-cjs/commands/CreateGrantCommand.js +2 -2
- package/dist-cjs/commands/CreateKeyCommand.js +2 -2
- package/dist-cjs/commands/DecryptCommand.js +2 -2
- package/dist-cjs/commands/DeleteAliasCommand.js +1 -1
- package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +2 -2
- package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +1 -1
- package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +2 -2
- package/dist-cjs/commands/DescribeKeyCommand.js +2 -2
- package/dist-cjs/commands/DisableKeyCommand.js +1 -1
- package/dist-cjs/commands/DisableKeyRotationCommand.js +1 -1
- package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +2 -2
- package/dist-cjs/commands/EnableKeyCommand.js +1 -1
- package/dist-cjs/commands/EnableKeyRotationCommand.js +1 -1
- package/dist-cjs/commands/EncryptCommand.js +2 -2
- package/dist-cjs/commands/GenerateDataKeyCommand.js +2 -2
- package/dist-cjs/commands/GenerateDataKeyPairCommand.js +2 -2
- package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +2 -2
- package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +2 -2
- package/dist-cjs/commands/GenerateMacCommand.js +2 -2
- package/dist-cjs/commands/GenerateRandomCommand.js +2 -2
- package/dist-cjs/commands/GetKeyPolicyCommand.js +2 -2
- package/dist-cjs/commands/GetKeyRotationStatusCommand.js +2 -2
- package/dist-cjs/commands/GetParametersForImportCommand.js +2 -2
- package/dist-cjs/commands/GetPublicKeyCommand.js +2 -2
- package/dist-cjs/commands/ImportKeyMaterialCommand.js +2 -2
- package/dist-cjs/commands/ListAliasesCommand.js +2 -2
- package/dist-cjs/commands/ListGrantsCommand.js +2 -2
- package/dist-cjs/commands/ListKeyPoliciesCommand.js +2 -2
- package/dist-cjs/commands/ListKeysCommand.js +2 -2
- package/dist-cjs/commands/ListResourceTagsCommand.js +2 -2
- package/dist-cjs/commands/ListRetirableGrantsCommand.js +2 -2
- package/dist-cjs/commands/PutKeyPolicyCommand.js +1 -1
- package/dist-cjs/commands/ReEncryptCommand.js +2 -2
- package/dist-cjs/commands/ReplicateKeyCommand.js +2 -2
- package/dist-cjs/commands/RetireGrantCommand.js +1 -1
- package/dist-cjs/commands/RevokeGrantCommand.js +1 -1
- package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +2 -2
- package/dist-cjs/commands/SignCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +1 -1
- package/dist-cjs/commands/UntagResourceCommand.js +1 -1
- package/dist-cjs/commands/UpdateAliasCommand.js +1 -1
- package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +2 -2
- package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +1 -1
- package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +1 -1
- package/dist-cjs/commands/VerifyCommand.js +2 -2
- package/dist-cjs/commands/VerifyMacCommand.js +2 -2
- package/dist-cjs/models/models_0.js +393 -573
- package/dist-cjs/pagination/DescribeCustomKeyStoresPaginator.js +36 -0
- package/dist-cjs/pagination/ListResourceTagsPaginator.js +36 -0
- package/dist-cjs/pagination/ListRetirableGrantsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-es/commands/CancelKeyDeletionCommand.js +3 -3
- package/dist-es/commands/ConnectCustomKeyStoreCommand.js +3 -3
- package/dist-es/commands/CreateAliasCommand.js +2 -2
- package/dist-es/commands/CreateCustomKeyStoreCommand.js +3 -3
- package/dist-es/commands/CreateGrantCommand.js +3 -3
- package/dist-es/commands/CreateKeyCommand.js +3 -3
- package/dist-es/commands/DecryptCommand.js +3 -3
- package/dist-es/commands/DeleteAliasCommand.js +2 -2
- package/dist-es/commands/DeleteCustomKeyStoreCommand.js +3 -3
- package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +2 -2
- package/dist-es/commands/DescribeCustomKeyStoresCommand.js +3 -3
- package/dist-es/commands/DescribeKeyCommand.js +3 -3
- package/dist-es/commands/DisableKeyCommand.js +2 -2
- package/dist-es/commands/DisableKeyRotationCommand.js +2 -2
- package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +3 -3
- package/dist-es/commands/EnableKeyCommand.js +2 -2
- package/dist-es/commands/EnableKeyRotationCommand.js +2 -2
- package/dist-es/commands/EncryptCommand.js +3 -3
- package/dist-es/commands/GenerateDataKeyCommand.js +3 -3
- package/dist-es/commands/GenerateDataKeyPairCommand.js +3 -3
- package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +3 -3
- package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +3 -3
- package/dist-es/commands/GenerateMacCommand.js +3 -3
- package/dist-es/commands/GenerateRandomCommand.js +3 -3
- package/dist-es/commands/GetKeyPolicyCommand.js +3 -3
- package/dist-es/commands/GetKeyRotationStatusCommand.js +3 -3
- package/dist-es/commands/GetParametersForImportCommand.js +3 -3
- package/dist-es/commands/GetPublicKeyCommand.js +3 -3
- package/dist-es/commands/ImportKeyMaterialCommand.js +3 -3
- package/dist-es/commands/ListAliasesCommand.js +3 -3
- package/dist-es/commands/ListGrantsCommand.js +3 -3
- package/dist-es/commands/ListKeyPoliciesCommand.js +3 -3
- package/dist-es/commands/ListKeysCommand.js +3 -3
- package/dist-es/commands/ListResourceTagsCommand.js +3 -3
- package/dist-es/commands/ListRetirableGrantsCommand.js +3 -3
- package/dist-es/commands/PutKeyPolicyCommand.js +2 -2
- package/dist-es/commands/ReEncryptCommand.js +3 -3
- package/dist-es/commands/ReplicateKeyCommand.js +3 -3
- package/dist-es/commands/RetireGrantCommand.js +2 -2
- package/dist-es/commands/RevokeGrantCommand.js +2 -2
- package/dist-es/commands/ScheduleKeyDeletionCommand.js +3 -3
- package/dist-es/commands/SignCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAliasCommand.js +2 -2
- package/dist-es/commands/UpdateCustomKeyStoreCommand.js +3 -3
- package/dist-es/commands/UpdateKeyDescriptionCommand.js +2 -2
- package/dist-es/commands/UpdatePrimaryRegionCommand.js +2 -2
- package/dist-es/commands/VerifyCommand.js +3 -3
- package/dist-es/commands/VerifyMacCommand.js +3 -3
- package/dist-es/models/models_0.js +99 -372
- package/dist-es/pagination/DescribeCustomKeyStoresPaginator.js +75 -0
- package/dist-es/pagination/ListResourceTagsPaginator.js +75 -0
- package/dist-es/pagination/ListRetirableGrantsPaginator.js +75 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-types/KMS.d.ts +49 -27
- package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +1 -1
- package/dist-types/commands/CreateKeyCommand.d.ts +5 -3
- package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +1 -1
- package/dist-types/commands/DescribeKeyCommand.d.ts +1 -1
- package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +1 -1
- package/dist-types/commands/EncryptCommand.d.ts +5 -1
- package/dist-types/commands/GenerateDataKeyCommand.d.ts +12 -6
- package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +3 -3
- package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +3 -3
- package/dist-types/commands/GenerateRandomCommand.d.ts +4 -1
- package/dist-types/commands/GetPublicKeyCommand.d.ts +5 -2
- package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +1 -1
- package/dist-types/commands/VerifyCommand.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +428 -596
- package/dist-types/pagination/DescribeCustomKeyStoresPaginator.d.ts +4 -0
- package/dist-types/pagination/ListResourceTagsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRetirableGrantsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +197 -377
- package/dist-types/ts3.4/pagination/DescribeCustomKeyStoresPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListResourceTagsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRetirableGrantsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/package.json +6 -6
|
@@ -32,12 +32,6 @@ export interface AliasListEntry {
|
|
|
32
32
|
*/
|
|
33
33
|
LastUpdatedDate?: Date;
|
|
34
34
|
}
|
|
35
|
-
export declare namespace AliasListEntry {
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
const filterSensitiveLog: (obj: AliasListEntry) => any;
|
|
40
|
-
}
|
|
41
35
|
/**
|
|
42
36
|
* <p>The request was rejected because it attempted to create a resource that already
|
|
43
37
|
* exists.</p>
|
|
@@ -70,24 +64,12 @@ export interface CancelKeyDeletionRequest {
|
|
|
70
64
|
*/
|
|
71
65
|
KeyId: string | undefined;
|
|
72
66
|
}
|
|
73
|
-
export declare namespace CancelKeyDeletionRequest {
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
const filterSensitiveLog: (obj: CancelKeyDeletionRequest) => any;
|
|
78
|
-
}
|
|
79
67
|
export interface CancelKeyDeletionResponse {
|
|
80
68
|
/**
|
|
81
69
|
* <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">key ARN</a>) of the KMS key whose deletion is canceled.</p>
|
|
82
70
|
*/
|
|
83
71
|
KeyId?: string;
|
|
84
72
|
}
|
|
85
|
-
export declare namespace CancelKeyDeletionResponse {
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
const filterSensitiveLog: (obj: CancelKeyDeletionResponse) => any;
|
|
90
|
-
}
|
|
91
73
|
/**
|
|
92
74
|
* <p>The system timed out while trying to fulfill the request. The request can be
|
|
93
75
|
* retried.</p>
|
|
@@ -259,20 +241,8 @@ export interface ConnectCustomKeyStoreRequest {
|
|
|
259
241
|
*/
|
|
260
242
|
CustomKeyStoreId: string | undefined;
|
|
261
243
|
}
|
|
262
|
-
export declare namespace ConnectCustomKeyStoreRequest {
|
|
263
|
-
/**
|
|
264
|
-
* @internal
|
|
265
|
-
*/
|
|
266
|
-
const filterSensitiveLog: (obj: ConnectCustomKeyStoreRequest) => any;
|
|
267
|
-
}
|
|
268
244
|
export interface ConnectCustomKeyStoreResponse {
|
|
269
245
|
}
|
|
270
|
-
export declare namespace ConnectCustomKeyStoreResponse {
|
|
271
|
-
/**
|
|
272
|
-
* @internal
|
|
273
|
-
*/
|
|
274
|
-
const filterSensitiveLog: (obj: ConnectCustomKeyStoreResponse) => any;
|
|
275
|
-
}
|
|
276
246
|
/**
|
|
277
247
|
* <p>The request was rejected because of the <code>ConnectionState</code> of the custom key
|
|
278
248
|
* store. To get the <code>ConnectionState</code> of a custom key store, use the <a>DescribeCustomKeyStores</a> operation.</p>
|
|
@@ -319,6 +289,7 @@ export declare class CustomKeyStoreNotFoundException extends __BaseException {
|
|
|
319
289
|
export declare enum ConnectionErrorCodeType {
|
|
320
290
|
CLUSTER_NOT_FOUND = "CLUSTER_NOT_FOUND",
|
|
321
291
|
INSUFFICIENT_CLOUDHSM_HSMS = "INSUFFICIENT_CLOUDHSM_HSMS",
|
|
292
|
+
INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET = "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET",
|
|
322
293
|
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
323
294
|
INVALID_CREDENTIALS = "INVALID_CREDENTIALS",
|
|
324
295
|
NETWORK_ERRORS = "NETWORK_ERRORS",
|
|
@@ -370,12 +341,6 @@ export interface CreateAliasRequest {
|
|
|
370
341
|
*/
|
|
371
342
|
TargetKeyId: string | undefined;
|
|
372
343
|
}
|
|
373
|
-
export declare namespace CreateAliasRequest {
|
|
374
|
-
/**
|
|
375
|
-
* @internal
|
|
376
|
-
*/
|
|
377
|
-
const filterSensitiveLog: (obj: CreateAliasRequest) => any;
|
|
378
|
-
}
|
|
379
344
|
/**
|
|
380
345
|
* <p>The request was rejected because the specified alias name is not valid.</p>
|
|
381
346
|
*/
|
|
@@ -410,12 +375,12 @@ export interface CreateCustomKeyStoreRequest {
|
|
|
410
375
|
* CloudHSM cluster that is not already associated with a custom key store. To find the cluster ID,
|
|
411
376
|
* use the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html">DescribeClusters</a> operation.</p>
|
|
412
377
|
*/
|
|
413
|
-
CloudHsmClusterId
|
|
378
|
+
CloudHsmClusterId?: string;
|
|
414
379
|
/**
|
|
415
380
|
* <p>Enter the content of the trust anchor certificate for the cluster. This is the content of
|
|
416
381
|
* the <code>customerCA.crt</code> file that you created when you <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/initialize-cluster.html">initialized the cluster</a>.</p>
|
|
417
382
|
*/
|
|
418
|
-
TrustAnchorCertificate
|
|
383
|
+
TrustAnchorCertificate?: string;
|
|
419
384
|
/**
|
|
420
385
|
* <p>Enter the password of the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-store-concepts.html#concept-kmsuser">
|
|
421
386
|
* <code>kmsuser</code> crypto user
|
|
@@ -425,13 +390,7 @@ export interface CreateCustomKeyStoreRequest {
|
|
|
425
390
|
* <p>This parameter tells KMS the <code>kmsuser</code> account password; it does not change
|
|
426
391
|
* the password in the CloudHSM cluster.</p>
|
|
427
392
|
*/
|
|
428
|
-
KeyStorePassword
|
|
429
|
-
}
|
|
430
|
-
export declare namespace CreateCustomKeyStoreRequest {
|
|
431
|
-
/**
|
|
432
|
-
* @internal
|
|
433
|
-
*/
|
|
434
|
-
const filterSensitiveLog: (obj: CreateCustomKeyStoreRequest) => any;
|
|
393
|
+
KeyStorePassword?: string;
|
|
435
394
|
}
|
|
436
395
|
export interface CreateCustomKeyStoreResponse {
|
|
437
396
|
/**
|
|
@@ -439,12 +398,6 @@ export interface CreateCustomKeyStoreResponse {
|
|
|
439
398
|
*/
|
|
440
399
|
CustomKeyStoreId?: string;
|
|
441
400
|
}
|
|
442
|
-
export declare namespace CreateCustomKeyStoreResponse {
|
|
443
|
-
/**
|
|
444
|
-
* @internal
|
|
445
|
-
*/
|
|
446
|
-
const filterSensitiveLog: (obj: CreateCustomKeyStoreResponse) => any;
|
|
447
|
-
}
|
|
448
401
|
/**
|
|
449
402
|
* <p>The request was rejected because the specified custom key store name is already assigned
|
|
450
403
|
* to another custom key store in the account. Try again with a custom key store name that is
|
|
@@ -508,12 +461,6 @@ export interface GrantConstraints {
|
|
|
508
461
|
*/
|
|
509
462
|
EncryptionContextEquals?: Record<string, string>;
|
|
510
463
|
}
|
|
511
|
-
export declare namespace GrantConstraints {
|
|
512
|
-
/**
|
|
513
|
-
* @internal
|
|
514
|
-
*/
|
|
515
|
-
const filterSensitiveLog: (obj: GrantConstraints) => any;
|
|
516
|
-
}
|
|
517
464
|
export declare enum GrantOperation {
|
|
518
465
|
CreateGrant = "CreateGrant",
|
|
519
466
|
Decrypt = "Decrypt",
|
|
@@ -632,12 +579,6 @@ export interface CreateGrantRequest {
|
|
|
632
579
|
*/
|
|
633
580
|
Name?: string;
|
|
634
581
|
}
|
|
635
|
-
export declare namespace CreateGrantRequest {
|
|
636
|
-
/**
|
|
637
|
-
* @internal
|
|
638
|
-
*/
|
|
639
|
-
const filterSensitiveLog: (obj: CreateGrantRequest) => any;
|
|
640
|
-
}
|
|
641
582
|
export interface CreateGrantResponse {
|
|
642
583
|
/**
|
|
643
584
|
* <p>The grant token.</p>
|
|
@@ -651,12 +592,6 @@ export interface CreateGrantResponse {
|
|
|
651
592
|
*/
|
|
652
593
|
GrantId?: string;
|
|
653
594
|
}
|
|
654
|
-
export declare namespace CreateGrantResponse {
|
|
655
|
-
/**
|
|
656
|
-
* @internal
|
|
657
|
-
*/
|
|
658
|
-
const filterSensitiveLog: (obj: CreateGrantResponse) => any;
|
|
659
|
-
}
|
|
660
595
|
/**
|
|
661
596
|
* <p>The request was rejected because the specified KMS key is not enabled.</p>
|
|
662
597
|
*/
|
|
@@ -691,6 +626,7 @@ export declare enum CustomerMasterKeySpec {
|
|
|
691
626
|
RSA_2048 = "RSA_2048",
|
|
692
627
|
RSA_3072 = "RSA_3072",
|
|
693
628
|
RSA_4096 = "RSA_4096",
|
|
629
|
+
SM2 = "SM2",
|
|
694
630
|
SYMMETRIC_DEFAULT = "SYMMETRIC_DEFAULT"
|
|
695
631
|
}
|
|
696
632
|
export declare enum KeySpec {
|
|
@@ -705,6 +641,7 @@ export declare enum KeySpec {
|
|
|
705
641
|
RSA_2048 = "RSA_2048",
|
|
706
642
|
RSA_3072 = "RSA_3072",
|
|
707
643
|
RSA_4096 = "RSA_4096",
|
|
644
|
+
SM2 = "SM2",
|
|
708
645
|
SYMMETRIC_DEFAULT = "SYMMETRIC_DEFAULT"
|
|
709
646
|
}
|
|
710
647
|
export declare enum KeyUsageType {
|
|
@@ -733,12 +670,6 @@ export interface Tag {
|
|
|
733
670
|
*/
|
|
734
671
|
TagValue: string | undefined;
|
|
735
672
|
}
|
|
736
|
-
export declare namespace Tag {
|
|
737
|
-
/**
|
|
738
|
-
* @internal
|
|
739
|
-
*/
|
|
740
|
-
const filterSensitiveLog: (obj: Tag) => any;
|
|
741
|
-
}
|
|
742
673
|
export interface CreateKeyRequest {
|
|
743
674
|
/**
|
|
744
675
|
* <p>The key policy to attach to the KMS key. If you do not specify a key policy, KMS attaches a default key policy to the KMS key.
|
|
@@ -765,23 +696,20 @@ export interface CreateKeyRequest {
|
|
|
765
696
|
* </li>
|
|
766
697
|
* </ul>
|
|
767
698
|
*
|
|
768
|
-
* <p>A key policy document
|
|
699
|
+
* <p>A key policy document can include only the following characters:</p>
|
|
769
700
|
* <ul>
|
|
770
701
|
* <li>
|
|
771
|
-
* <p>
|
|
772
|
-
* </li>
|
|
773
|
-
* <li>
|
|
774
|
-
* <p>Must be UTF-8 encoded</p>
|
|
702
|
+
* <p>Printable ASCII characters from the space character (<code>\u0020</code>) through the end of the ASCII character range.</p>
|
|
775
703
|
* </li>
|
|
776
704
|
* <li>
|
|
777
|
-
* <p>
|
|
705
|
+
* <p>Printable characters in the Basic Latin and Latin-1 Supplement character set (through <code>\u00FF</code>).</p>
|
|
778
706
|
* </li>
|
|
779
707
|
* <li>
|
|
780
|
-
* <p>The <code
|
|
781
|
-
* prohibited in the <code>Sid</code> element of an IAM policy document.)</p>
|
|
708
|
+
* <p>The tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and carriage return (<code>\u000D</code>) special characters</p>
|
|
782
709
|
* </li>
|
|
783
710
|
* </ul>
|
|
784
|
-
* <p>For
|
|
711
|
+
* <p>For information about key policies, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Key policies in KMS</a> in the
|
|
712
|
+
* <i>Key Management Service Developer Guide</i>. For help writing and formatting a JSON policy document, see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html">IAM JSON Policy Reference</a> in the <i>
|
|
785
713
|
* <i>Identity and Access Management User Guide</i>
|
|
786
714
|
* </i>.</p>
|
|
787
715
|
*/
|
|
@@ -815,6 +743,10 @@ export interface CreateKeyRequest {
|
|
|
815
743
|
* <p>For asymmetric KMS keys with ECC key material, specify
|
|
816
744
|
* <code>SIGN_VERIFY</code>.</p>
|
|
817
745
|
* </li>
|
|
746
|
+
* <li>
|
|
747
|
+
* <p>For asymmetric KMS keys with SM2 key material (China Regions only), specify <code>ENCRYPT_DECRYPT</code> or
|
|
748
|
+
* <code>SIGN_VERIFY</code>.</p>
|
|
749
|
+
* </li>
|
|
818
750
|
* </ul>
|
|
819
751
|
*/
|
|
820
752
|
KeyUsage?: KeyUsageType | string;
|
|
@@ -829,8 +761,8 @@ export interface CreateKeyRequest {
|
|
|
829
761
|
CustomerMasterKeySpec?: CustomerMasterKeySpec | string;
|
|
830
762
|
/**
|
|
831
763
|
* <p>Specifies the type of KMS key to create. The default value,
|
|
832
|
-
* <code>SYMMETRIC_DEFAULT</code>, creates a KMS key with a 256-bit
|
|
833
|
-
*
|
|
764
|
+
* <code>SYMMETRIC_DEFAULT</code>, creates a KMS key with a 256-bit AES-GCM key that is used for encryption and decryption, except in China Regions,
|
|
765
|
+
* where it creates a 128-bit symmetric key that uses SM4 encryption. For help choosing a key spec for your KMS key, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-types.html#symm-asymm-choose">Choosing a KMS key type</a> in the <i>
|
|
834
766
|
* <i>Key Management Service Developer Guide</i>
|
|
835
767
|
* </i>.</p>
|
|
836
768
|
* <p>The <code>KeySpec</code> determines whether the KMS key contains a symmetric key or an
|
|
@@ -853,7 +785,8 @@ export interface CreateKeyRequest {
|
|
|
853
785
|
* <ul>
|
|
854
786
|
* <li>
|
|
855
787
|
* <p>
|
|
856
|
-
* <code>SYMMETRIC_DEFAULT</code>
|
|
788
|
+
* <code>SYMMETRIC_DEFAULT</code>
|
|
789
|
+
* </p>
|
|
857
790
|
* </li>
|
|
858
791
|
* </ul>
|
|
859
792
|
* </li>
|
|
@@ -929,6 +862,16 @@ export interface CreateKeyRequest {
|
|
|
929
862
|
* </li>
|
|
930
863
|
* </ul>
|
|
931
864
|
* </li>
|
|
865
|
+
* <li>
|
|
866
|
+
* <p>SM2 key pairs (China Regions only)</p>
|
|
867
|
+
* <ul>
|
|
868
|
+
* <li>
|
|
869
|
+
* <p>
|
|
870
|
+
* <code>SM2</code>
|
|
871
|
+
* </p>
|
|
872
|
+
* </li>
|
|
873
|
+
* </ul>
|
|
874
|
+
* </li>
|
|
932
875
|
* </ul>
|
|
933
876
|
*/
|
|
934
877
|
KeySpec?: KeySpec | string;
|
|
@@ -956,7 +899,7 @@ export interface CreateKeyRequest {
|
|
|
956
899
|
* cannot create any other type of KMS key in a custom key store.</p>
|
|
957
900
|
* <p>To find the ID of a custom key store, use the <a>DescribeCustomKeyStores</a> operation.</p>
|
|
958
901
|
* <p>The response includes the custom key store ID and the ID of the CloudHSM cluster.</p>
|
|
959
|
-
* <p>This operation is part of the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">
|
|
902
|
+
* <p>This operation is part of the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store feature</a> feature in KMS, which
|
|
960
903
|
* combines the convenience and extensive integration of KMS with the isolation and control of a
|
|
961
904
|
* single-tenant key store.</p>
|
|
962
905
|
*/
|
|
@@ -1009,15 +952,10 @@ export interface CreateKeyRequest {
|
|
|
1009
952
|
*/
|
|
1010
953
|
MultiRegion?: boolean;
|
|
1011
954
|
}
|
|
1012
|
-
export declare namespace CreateKeyRequest {
|
|
1013
|
-
/**
|
|
1014
|
-
* @internal
|
|
1015
|
-
*/
|
|
1016
|
-
const filterSensitiveLog: (obj: CreateKeyRequest) => any;
|
|
1017
|
-
}
|
|
1018
955
|
export declare enum EncryptionAlgorithmSpec {
|
|
1019
956
|
RSAES_OAEP_SHA_1 = "RSAES_OAEP_SHA_1",
|
|
1020
957
|
RSAES_OAEP_SHA_256 = "RSAES_OAEP_SHA_256",
|
|
958
|
+
SM2PKE = "SM2PKE",
|
|
1021
959
|
SYMMETRIC_DEFAULT = "SYMMETRIC_DEFAULT"
|
|
1022
960
|
}
|
|
1023
961
|
export declare enum ExpirationModelType {
|
|
@@ -1061,12 +999,6 @@ export interface MultiRegionKey {
|
|
|
1061
999
|
*/
|
|
1062
1000
|
Region?: string;
|
|
1063
1001
|
}
|
|
1064
|
-
export declare namespace MultiRegionKey {
|
|
1065
|
-
/**
|
|
1066
|
-
* @internal
|
|
1067
|
-
*/
|
|
1068
|
-
const filterSensitiveLog: (obj: MultiRegionKey) => any;
|
|
1069
|
-
}
|
|
1070
1002
|
/**
|
|
1071
1003
|
* <p>Describes the configuration of this multi-Region key. This field appears only when the KMS
|
|
1072
1004
|
* key is a primary or replica of a multi-Region key.</p>
|
|
@@ -1090,12 +1022,6 @@ export interface MultiRegionConfiguration {
|
|
|
1090
1022
|
*/
|
|
1091
1023
|
ReplicaKeys?: MultiRegionKey[];
|
|
1092
1024
|
}
|
|
1093
|
-
export declare namespace MultiRegionConfiguration {
|
|
1094
|
-
/**
|
|
1095
|
-
* @internal
|
|
1096
|
-
*/
|
|
1097
|
-
const filterSensitiveLog: (obj: MultiRegionConfiguration) => any;
|
|
1098
|
-
}
|
|
1099
1025
|
export declare enum SigningAlgorithmSpec {
|
|
1100
1026
|
ECDSA_SHA_256 = "ECDSA_SHA_256",
|
|
1101
1027
|
ECDSA_SHA_384 = "ECDSA_SHA_384",
|
|
@@ -1105,7 +1031,8 @@ export declare enum SigningAlgorithmSpec {
|
|
|
1105
1031
|
RSASSA_PKCS1_V1_5_SHA_512 = "RSASSA_PKCS1_V1_5_SHA_512",
|
|
1106
1032
|
RSASSA_PSS_SHA_256 = "RSASSA_PSS_SHA_256",
|
|
1107
1033
|
RSASSA_PSS_SHA_384 = "RSASSA_PSS_SHA_384",
|
|
1108
|
-
RSASSA_PSS_SHA_512 = "RSASSA_PSS_SHA_512"
|
|
1034
|
+
RSASSA_PSS_SHA_512 = "RSASSA_PSS_SHA_512",
|
|
1035
|
+
SM2DSA = "SM2DSA"
|
|
1109
1036
|
}
|
|
1110
1037
|
/**
|
|
1111
1038
|
* <p>Contains metadata about a KMS key.</p>
|
|
@@ -1273,24 +1200,12 @@ export interface KeyMetadata {
|
|
|
1273
1200
|
*/
|
|
1274
1201
|
MacAlgorithms?: (MacAlgorithmSpec | string)[];
|
|
1275
1202
|
}
|
|
1276
|
-
export declare namespace KeyMetadata {
|
|
1277
|
-
/**
|
|
1278
|
-
* @internal
|
|
1279
|
-
*/
|
|
1280
|
-
const filterSensitiveLog: (obj: KeyMetadata) => any;
|
|
1281
|
-
}
|
|
1282
1203
|
export interface CreateKeyResponse {
|
|
1283
1204
|
/**
|
|
1284
1205
|
* <p>Metadata associated with the KMS key.</p>
|
|
1285
1206
|
*/
|
|
1286
1207
|
KeyMetadata?: KeyMetadata;
|
|
1287
1208
|
}
|
|
1288
|
-
export declare namespace CreateKeyResponse {
|
|
1289
|
-
/**
|
|
1290
|
-
* @internal
|
|
1291
|
-
*/
|
|
1292
|
-
const filterSensitiveLog: (obj: CreateKeyResponse) => any;
|
|
1293
|
-
}
|
|
1294
1209
|
/**
|
|
1295
1210
|
* <p>The request was rejected because the specified policy is not syntactically or semantically
|
|
1296
1211
|
* correct.</p>
|
|
@@ -1456,12 +1371,6 @@ export interface CustomKeyStoresListEntry {
|
|
|
1456
1371
|
*/
|
|
1457
1372
|
CreationDate?: Date;
|
|
1458
1373
|
}
|
|
1459
|
-
export declare namespace CustomKeyStoresListEntry {
|
|
1460
|
-
/**
|
|
1461
|
-
* @internal
|
|
1462
|
-
*/
|
|
1463
|
-
const filterSensitiveLog: (obj: CustomKeyStoresListEntry) => any;
|
|
1464
|
-
}
|
|
1465
1374
|
export declare enum DataKeyPairSpec {
|
|
1466
1375
|
ECC_NIST_P256 = "ECC_NIST_P256",
|
|
1467
1376
|
ECC_NIST_P384 = "ECC_NIST_P384",
|
|
@@ -1469,7 +1378,8 @@ export declare enum DataKeyPairSpec {
|
|
|
1469
1378
|
ECC_SECG_P256K1 = "ECC_SECG_P256K1",
|
|
1470
1379
|
RSA_2048 = "RSA_2048",
|
|
1471
1380
|
RSA_3072 = "RSA_3072",
|
|
1472
|
-
RSA_4096 = "RSA_4096"
|
|
1381
|
+
RSA_4096 = "RSA_4096",
|
|
1382
|
+
SM2 = "SM2"
|
|
1473
1383
|
}
|
|
1474
1384
|
export declare enum DataKeySpec {
|
|
1475
1385
|
AES_128 = "AES_128",
|
|
@@ -1538,12 +1448,6 @@ export interface DecryptRequest {
|
|
|
1538
1448
|
*/
|
|
1539
1449
|
EncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
|
|
1540
1450
|
}
|
|
1541
|
-
export declare namespace DecryptRequest {
|
|
1542
|
-
/**
|
|
1543
|
-
* @internal
|
|
1544
|
-
*/
|
|
1545
|
-
const filterSensitiveLog: (obj: DecryptRequest) => any;
|
|
1546
|
-
}
|
|
1547
1451
|
export interface DecryptResponse {
|
|
1548
1452
|
/**
|
|
1549
1453
|
* <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">key ARN</a>) of the KMS key that was used to decrypt the ciphertext.</p>
|
|
@@ -1558,12 +1462,6 @@ export interface DecryptResponse {
|
|
|
1558
1462
|
*/
|
|
1559
1463
|
EncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
|
|
1560
1464
|
}
|
|
1561
|
-
export declare namespace DecryptResponse {
|
|
1562
|
-
/**
|
|
1563
|
-
* @internal
|
|
1564
|
-
*/
|
|
1565
|
-
const filterSensitiveLog: (obj: DecryptResponse) => any;
|
|
1566
|
-
}
|
|
1567
1465
|
/**
|
|
1568
1466
|
* <p>The request was rejected because the specified KMS key cannot decrypt the data. The
|
|
1569
1467
|
* <code>KeyId</code> in a <a>Decrypt</a> request and the <code>SourceKeyId</code>
|
|
@@ -1642,32 +1540,14 @@ export interface DeleteAliasRequest {
|
|
|
1642
1540
|
*/
|
|
1643
1541
|
AliasName: string | undefined;
|
|
1644
1542
|
}
|
|
1645
|
-
export declare namespace DeleteAliasRequest {
|
|
1646
|
-
/**
|
|
1647
|
-
* @internal
|
|
1648
|
-
*/
|
|
1649
|
-
const filterSensitiveLog: (obj: DeleteAliasRequest) => any;
|
|
1650
|
-
}
|
|
1651
1543
|
export interface DeleteCustomKeyStoreRequest {
|
|
1652
1544
|
/**
|
|
1653
1545
|
* <p>Enter the ID of the custom key store you want to delete. To find the ID of a custom key store, use the <a>DescribeCustomKeyStores</a> operation.</p>
|
|
1654
1546
|
*/
|
|
1655
1547
|
CustomKeyStoreId: string | undefined;
|
|
1656
1548
|
}
|
|
1657
|
-
export declare namespace DeleteCustomKeyStoreRequest {
|
|
1658
|
-
/**
|
|
1659
|
-
* @internal
|
|
1660
|
-
*/
|
|
1661
|
-
const filterSensitiveLog: (obj: DeleteCustomKeyStoreRequest) => any;
|
|
1662
|
-
}
|
|
1663
1549
|
export interface DeleteCustomKeyStoreResponse {
|
|
1664
1550
|
}
|
|
1665
|
-
export declare namespace DeleteCustomKeyStoreResponse {
|
|
1666
|
-
/**
|
|
1667
|
-
* @internal
|
|
1668
|
-
*/
|
|
1669
|
-
const filterSensitiveLog: (obj: DeleteCustomKeyStoreResponse) => any;
|
|
1670
|
-
}
|
|
1671
1551
|
export interface DeleteImportedKeyMaterialRequest {
|
|
1672
1552
|
/**
|
|
1673
1553
|
* <p>Identifies the KMS key from which you are deleting imported key material. The
|
|
@@ -1689,12 +1569,6 @@ export interface DeleteImportedKeyMaterialRequest {
|
|
|
1689
1569
|
*/
|
|
1690
1570
|
KeyId: string | undefined;
|
|
1691
1571
|
}
|
|
1692
|
-
export declare namespace DeleteImportedKeyMaterialRequest {
|
|
1693
|
-
/**
|
|
1694
|
-
* @internal
|
|
1695
|
-
*/
|
|
1696
|
-
const filterSensitiveLog: (obj: DeleteImportedKeyMaterialRequest) => any;
|
|
1697
|
-
}
|
|
1698
1572
|
export interface DescribeCustomKeyStoresRequest {
|
|
1699
1573
|
/**
|
|
1700
1574
|
* <p>Gets only information about the specified custom key store. Enter the key store ID.</p>
|
|
@@ -1726,12 +1600,6 @@ export interface DescribeCustomKeyStoresRequest {
|
|
|
1726
1600
|
*/
|
|
1727
1601
|
Marker?: string;
|
|
1728
1602
|
}
|
|
1729
|
-
export declare namespace DescribeCustomKeyStoresRequest {
|
|
1730
|
-
/**
|
|
1731
|
-
* @internal
|
|
1732
|
-
*/
|
|
1733
|
-
const filterSensitiveLog: (obj: DescribeCustomKeyStoresRequest) => any;
|
|
1734
|
-
}
|
|
1735
1603
|
export interface DescribeCustomKeyStoresResponse {
|
|
1736
1604
|
/**
|
|
1737
1605
|
* <p>Contains metadata about each custom key store.</p>
|
|
@@ -1750,12 +1618,6 @@ export interface DescribeCustomKeyStoresResponse {
|
|
|
1750
1618
|
*/
|
|
1751
1619
|
Truncated?: boolean;
|
|
1752
1620
|
}
|
|
1753
|
-
export declare namespace DescribeCustomKeyStoresResponse {
|
|
1754
|
-
/**
|
|
1755
|
-
* @internal
|
|
1756
|
-
*/
|
|
1757
|
-
const filterSensitiveLog: (obj: DescribeCustomKeyStoresResponse) => any;
|
|
1758
|
-
}
|
|
1759
1621
|
/**
|
|
1760
1622
|
* <p>The request was rejected because the marker that specifies where pagination should next
|
|
1761
1623
|
* begin is not valid.</p>
|
|
@@ -1805,24 +1667,12 @@ export interface DescribeKeyRequest {
|
|
|
1805
1667
|
*/
|
|
1806
1668
|
GrantTokens?: string[];
|
|
1807
1669
|
}
|
|
1808
|
-
export declare namespace DescribeKeyRequest {
|
|
1809
|
-
/**
|
|
1810
|
-
* @internal
|
|
1811
|
-
*/
|
|
1812
|
-
const filterSensitiveLog: (obj: DescribeKeyRequest) => any;
|
|
1813
|
-
}
|
|
1814
1670
|
export interface DescribeKeyResponse {
|
|
1815
1671
|
/**
|
|
1816
1672
|
* <p>Metadata associated with the key.</p>
|
|
1817
1673
|
*/
|
|
1818
1674
|
KeyMetadata?: KeyMetadata;
|
|
1819
1675
|
}
|
|
1820
|
-
export declare namespace DescribeKeyResponse {
|
|
1821
|
-
/**
|
|
1822
|
-
* @internal
|
|
1823
|
-
*/
|
|
1824
|
-
const filterSensitiveLog: (obj: DescribeKeyResponse) => any;
|
|
1825
|
-
}
|
|
1826
1676
|
export interface DisableKeyRequest {
|
|
1827
1677
|
/**
|
|
1828
1678
|
* <p>Identifies the KMS key to disable.</p>
|
|
@@ -1842,12 +1692,6 @@ export interface DisableKeyRequest {
|
|
|
1842
1692
|
*/
|
|
1843
1693
|
KeyId: string | undefined;
|
|
1844
1694
|
}
|
|
1845
|
-
export declare namespace DisableKeyRequest {
|
|
1846
|
-
/**
|
|
1847
|
-
* @internal
|
|
1848
|
-
*/
|
|
1849
|
-
const filterSensitiveLog: (obj: DisableKeyRequest) => any;
|
|
1850
|
-
}
|
|
1851
1695
|
export interface DisableKeyRotationRequest {
|
|
1852
1696
|
/**
|
|
1853
1697
|
* <p>Identifies a symmetric encryption KMS key. You cannot enable or disable automatic rotation of <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html#asymmetric-cmks">asymmetric
|
|
@@ -1869,32 +1713,14 @@ export interface DisableKeyRotationRequest {
|
|
|
1869
1713
|
*/
|
|
1870
1714
|
KeyId: string | undefined;
|
|
1871
1715
|
}
|
|
1872
|
-
export declare namespace DisableKeyRotationRequest {
|
|
1873
|
-
/**
|
|
1874
|
-
* @internal
|
|
1875
|
-
*/
|
|
1876
|
-
const filterSensitiveLog: (obj: DisableKeyRotationRequest) => any;
|
|
1877
|
-
}
|
|
1878
1716
|
export interface DisconnectCustomKeyStoreRequest {
|
|
1879
1717
|
/**
|
|
1880
1718
|
* <p>Enter the ID of the custom key store you want to disconnect. To find the ID of a custom key store, use the <a>DescribeCustomKeyStores</a> operation.</p>
|
|
1881
1719
|
*/
|
|
1882
1720
|
CustomKeyStoreId: string | undefined;
|
|
1883
1721
|
}
|
|
1884
|
-
export declare namespace DisconnectCustomKeyStoreRequest {
|
|
1885
|
-
/**
|
|
1886
|
-
* @internal
|
|
1887
|
-
*/
|
|
1888
|
-
const filterSensitiveLog: (obj: DisconnectCustomKeyStoreRequest) => any;
|
|
1889
|
-
}
|
|
1890
1722
|
export interface DisconnectCustomKeyStoreResponse {
|
|
1891
1723
|
}
|
|
1892
|
-
export declare namespace DisconnectCustomKeyStoreResponse {
|
|
1893
|
-
/**
|
|
1894
|
-
* @internal
|
|
1895
|
-
*/
|
|
1896
|
-
const filterSensitiveLog: (obj: DisconnectCustomKeyStoreResponse) => any;
|
|
1897
|
-
}
|
|
1898
1724
|
export interface EnableKeyRequest {
|
|
1899
1725
|
/**
|
|
1900
1726
|
* <p>Identifies the KMS key to enable.</p>
|
|
@@ -1914,12 +1740,6 @@ export interface EnableKeyRequest {
|
|
|
1914
1740
|
*/
|
|
1915
1741
|
KeyId: string | undefined;
|
|
1916
1742
|
}
|
|
1917
|
-
export declare namespace EnableKeyRequest {
|
|
1918
|
-
/**
|
|
1919
|
-
* @internal
|
|
1920
|
-
*/
|
|
1921
|
-
const filterSensitiveLog: (obj: EnableKeyRequest) => any;
|
|
1922
|
-
}
|
|
1923
1743
|
export interface EnableKeyRotationRequest {
|
|
1924
1744
|
/**
|
|
1925
1745
|
* <p>Identifies a symmetric encryption KMS key. You cannot enable or disable automatic rotation of <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">asymmetric KMS keys</a>, <a href="https://docs.aws.amazon.com/kms/latest/developerguide/hmac.html">HMAC KMS keys</a>, KMS keys with <a href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">imported key material</a>, or KMS keys in a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a>. The key rotation status of these KMS keys is always <code>false</code>.
|
|
@@ -1941,12 +1761,6 @@ export interface EnableKeyRotationRequest {
|
|
|
1941
1761
|
*/
|
|
1942
1762
|
KeyId: string | undefined;
|
|
1943
1763
|
}
|
|
1944
|
-
export declare namespace EnableKeyRotationRequest {
|
|
1945
|
-
/**
|
|
1946
|
-
* @internal
|
|
1947
|
-
*/
|
|
1948
|
-
const filterSensitiveLog: (obj: EnableKeyRotationRequest) => any;
|
|
1949
|
-
}
|
|
1950
1764
|
export interface EncryptRequest {
|
|
1951
1765
|
/**
|
|
1952
1766
|
* <p>Identifies the KMS key to use in the encryption operation. The KMS key must have a
|
|
@@ -2005,12 +1819,6 @@ export interface EncryptRequest {
|
|
|
2005
1819
|
*/
|
|
2006
1820
|
EncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
|
|
2007
1821
|
}
|
|
2008
|
-
export declare namespace EncryptRequest {
|
|
2009
|
-
/**
|
|
2010
|
-
* @internal
|
|
2011
|
-
*/
|
|
2012
|
-
const filterSensitiveLog: (obj: EncryptRequest) => any;
|
|
2013
|
-
}
|
|
2014
1822
|
export interface EncryptResponse {
|
|
2015
1823
|
/**
|
|
2016
1824
|
* <p>The encrypted plaintext. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.</p>
|
|
@@ -2025,12 +1833,6 @@ export interface EncryptResponse {
|
|
|
2025
1833
|
*/
|
|
2026
1834
|
EncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
|
|
2027
1835
|
}
|
|
2028
|
-
export declare namespace EncryptResponse {
|
|
2029
|
-
/**
|
|
2030
|
-
* @internal
|
|
2031
|
-
*/
|
|
2032
|
-
const filterSensitiveLog: (obj: EncryptResponse) => any;
|
|
2033
|
-
}
|
|
2034
1836
|
/**
|
|
2035
1837
|
* <p>The request was rejected because the specified import token is expired. Use <a>GetParametersForImport</a> to get a new import token and public key, use the new
|
|
2036
1838
|
* public key to encrypt the key material, and then try the request again.</p>
|
|
@@ -2103,12 +1905,6 @@ export interface GenerateDataKeyRequest {
|
|
|
2103
1905
|
*/
|
|
2104
1906
|
GrantTokens?: string[];
|
|
2105
1907
|
}
|
|
2106
|
-
export declare namespace GenerateDataKeyRequest {
|
|
2107
|
-
/**
|
|
2108
|
-
* @internal
|
|
2109
|
-
*/
|
|
2110
|
-
const filterSensitiveLog: (obj: GenerateDataKeyRequest) => any;
|
|
2111
|
-
}
|
|
2112
1908
|
export interface GenerateDataKeyResponse {
|
|
2113
1909
|
/**
|
|
2114
1910
|
* <p>The encrypted copy of the data key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.</p>
|
|
@@ -2124,12 +1920,6 @@ export interface GenerateDataKeyResponse {
|
|
|
2124
1920
|
*/
|
|
2125
1921
|
KeyId?: string;
|
|
2126
1922
|
}
|
|
2127
|
-
export declare namespace GenerateDataKeyResponse {
|
|
2128
|
-
/**
|
|
2129
|
-
* @internal
|
|
2130
|
-
*/
|
|
2131
|
-
const filterSensitiveLog: (obj: GenerateDataKeyResponse) => any;
|
|
2132
|
-
}
|
|
2133
1923
|
export interface GenerateDataKeyPairRequest {
|
|
2134
1924
|
/**
|
|
2135
1925
|
* <p>Specifies the encryption context that will be used when encrypting the private key in the
|
|
@@ -2171,7 +1961,7 @@ export interface GenerateDataKeyPairRequest {
|
|
|
2171
1961
|
KeyId: string | undefined;
|
|
2172
1962
|
/**
|
|
2173
1963
|
* <p>Determines the type of data key pair that is generated. </p>
|
|
2174
|
-
* <p>The KMS rule that restricts the use of asymmetric RSA KMS keys to encrypt and decrypt or to sign and verify (but not both), and the rule that permits you to use ECC KMS keys only to sign and verify, are not effective on data key pairs, which are used outside of KMS.</p>
|
|
1964
|
+
* <p>The KMS rule that restricts the use of asymmetric RSA and SM2 KMS keys to encrypt and decrypt or to sign and verify (but not both), and the rule that permits you to use ECC KMS keys only to sign and verify, are not effective on data key pairs, which are used outside of KMS. The SM2 key spec is only available in China Regions. RSA and ECC asymmetric key pairs are also available in China Regions.</p>
|
|
2175
1965
|
*/
|
|
2176
1966
|
KeyPairSpec: DataKeyPairSpec | string | undefined;
|
|
2177
1967
|
/**
|
|
@@ -2181,12 +1971,6 @@ export interface GenerateDataKeyPairRequest {
|
|
|
2181
1971
|
*/
|
|
2182
1972
|
GrantTokens?: string[];
|
|
2183
1973
|
}
|
|
2184
|
-
export declare namespace GenerateDataKeyPairRequest {
|
|
2185
|
-
/**
|
|
2186
|
-
* @internal
|
|
2187
|
-
*/
|
|
2188
|
-
const filterSensitiveLog: (obj: GenerateDataKeyPairRequest) => any;
|
|
2189
|
-
}
|
|
2190
1974
|
export interface GenerateDataKeyPairResponse {
|
|
2191
1975
|
/**
|
|
2192
1976
|
* <p>The encrypted copy of the private key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.</p>
|
|
@@ -2209,12 +1993,6 @@ export interface GenerateDataKeyPairResponse {
|
|
|
2209
1993
|
*/
|
|
2210
1994
|
KeyPairSpec?: DataKeyPairSpec | string;
|
|
2211
1995
|
}
|
|
2212
|
-
export declare namespace GenerateDataKeyPairResponse {
|
|
2213
|
-
/**
|
|
2214
|
-
* @internal
|
|
2215
|
-
*/
|
|
2216
|
-
const filterSensitiveLog: (obj: GenerateDataKeyPairResponse) => any;
|
|
2217
|
-
}
|
|
2218
1996
|
export interface GenerateDataKeyPairWithoutPlaintextRequest {
|
|
2219
1997
|
/**
|
|
2220
1998
|
* <p>Specifies the encryption context that will be used when encrypting the private key in the
|
|
@@ -2256,7 +2034,7 @@ export interface GenerateDataKeyPairWithoutPlaintextRequest {
|
|
|
2256
2034
|
KeyId: string | undefined;
|
|
2257
2035
|
/**
|
|
2258
2036
|
* <p>Determines the type of data key pair that is generated.</p>
|
|
2259
|
-
* <p>The KMS rule that restricts the use of asymmetric RSA KMS keys to encrypt and decrypt or to sign and verify (but not both), and the rule that permits you to use ECC KMS keys only to sign and verify, are not effective on data key pairs, which are used outside of KMS.</p>
|
|
2037
|
+
* <p>The KMS rule that restricts the use of asymmetric RSA and SM2 KMS keys to encrypt and decrypt or to sign and verify (but not both), and the rule that permits you to use ECC KMS keys only to sign and verify, are not effective on data key pairs, which are used outside of KMS. The SM2 key spec is only available in China Regions. RSA and ECC asymmetric key pairs are also available in China Regions.</p>
|
|
2260
2038
|
*/
|
|
2261
2039
|
KeyPairSpec: DataKeyPairSpec | string | undefined;
|
|
2262
2040
|
/**
|
|
@@ -2266,12 +2044,6 @@ export interface GenerateDataKeyPairWithoutPlaintextRequest {
|
|
|
2266
2044
|
*/
|
|
2267
2045
|
GrantTokens?: string[];
|
|
2268
2046
|
}
|
|
2269
|
-
export declare namespace GenerateDataKeyPairWithoutPlaintextRequest {
|
|
2270
|
-
/**
|
|
2271
|
-
* @internal
|
|
2272
|
-
*/
|
|
2273
|
-
const filterSensitiveLog: (obj: GenerateDataKeyPairWithoutPlaintextRequest) => any;
|
|
2274
|
-
}
|
|
2275
2047
|
export interface GenerateDataKeyPairWithoutPlaintextResponse {
|
|
2276
2048
|
/**
|
|
2277
2049
|
* <p>The encrypted copy of the private key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.</p>
|
|
@@ -2290,12 +2062,6 @@ export interface GenerateDataKeyPairWithoutPlaintextResponse {
|
|
|
2290
2062
|
*/
|
|
2291
2063
|
KeyPairSpec?: DataKeyPairSpec | string;
|
|
2292
2064
|
}
|
|
2293
|
-
export declare namespace GenerateDataKeyPairWithoutPlaintextResponse {
|
|
2294
|
-
/**
|
|
2295
|
-
* @internal
|
|
2296
|
-
*/
|
|
2297
|
-
const filterSensitiveLog: (obj: GenerateDataKeyPairWithoutPlaintextResponse) => any;
|
|
2298
|
-
}
|
|
2299
2065
|
export interface GenerateDataKeyWithoutPlaintextRequest {
|
|
2300
2066
|
/**
|
|
2301
2067
|
* <p>Specifies the symmetric encryption KMS key that encrypts the data key. You cannot specify
|
|
@@ -2352,12 +2118,6 @@ export interface GenerateDataKeyWithoutPlaintextRequest {
|
|
|
2352
2118
|
*/
|
|
2353
2119
|
GrantTokens?: string[];
|
|
2354
2120
|
}
|
|
2355
|
-
export declare namespace GenerateDataKeyWithoutPlaintextRequest {
|
|
2356
|
-
/**
|
|
2357
|
-
* @internal
|
|
2358
|
-
*/
|
|
2359
|
-
const filterSensitiveLog: (obj: GenerateDataKeyWithoutPlaintextRequest) => any;
|
|
2360
|
-
}
|
|
2361
2121
|
export interface GenerateDataKeyWithoutPlaintextResponse {
|
|
2362
2122
|
/**
|
|
2363
2123
|
* <p>The encrypted data key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.</p>
|
|
@@ -2368,12 +2128,6 @@ export interface GenerateDataKeyWithoutPlaintextResponse {
|
|
|
2368
2128
|
*/
|
|
2369
2129
|
KeyId?: string;
|
|
2370
2130
|
}
|
|
2371
|
-
export declare namespace GenerateDataKeyWithoutPlaintextResponse {
|
|
2372
|
-
/**
|
|
2373
|
-
* @internal
|
|
2374
|
-
*/
|
|
2375
|
-
const filterSensitiveLog: (obj: GenerateDataKeyWithoutPlaintextResponse) => any;
|
|
2376
|
-
}
|
|
2377
2131
|
export interface GenerateMacRequest {
|
|
2378
2132
|
/**
|
|
2379
2133
|
* <p>The message to be hashed. Specify a message of up to 4,096 bytes. </p>
|
|
@@ -2403,12 +2157,6 @@ export interface GenerateMacRequest {
|
|
|
2403
2157
|
*/
|
|
2404
2158
|
GrantTokens?: string[];
|
|
2405
2159
|
}
|
|
2406
|
-
export declare namespace GenerateMacRequest {
|
|
2407
|
-
/**
|
|
2408
|
-
* @internal
|
|
2409
|
-
*/
|
|
2410
|
-
const filterSensitiveLog: (obj: GenerateMacRequest) => any;
|
|
2411
|
-
}
|
|
2412
2160
|
export interface GenerateMacResponse {
|
|
2413
2161
|
/**
|
|
2414
2162
|
* <p>The hash-based message authentication code (HMAC) for the given message, key, and MAC
|
|
@@ -2424,15 +2172,9 @@ export interface GenerateMacResponse {
|
|
|
2424
2172
|
*/
|
|
2425
2173
|
KeyId?: string;
|
|
2426
2174
|
}
|
|
2427
|
-
export declare namespace GenerateMacResponse {
|
|
2428
|
-
/**
|
|
2429
|
-
* @internal
|
|
2430
|
-
*/
|
|
2431
|
-
const filterSensitiveLog: (obj: GenerateMacResponse) => any;
|
|
2432
|
-
}
|
|
2433
2175
|
export interface GenerateRandomRequest {
|
|
2434
2176
|
/**
|
|
2435
|
-
* <p>The length of the byte string.</p>
|
|
2177
|
+
* <p>The length of the random byte string. This parameter is required.</p>
|
|
2436
2178
|
*/
|
|
2437
2179
|
NumberOfBytes?: number;
|
|
2438
2180
|
/**
|
|
@@ -2441,24 +2183,12 @@ export interface GenerateRandomRequest {
|
|
|
2441
2183
|
*/
|
|
2442
2184
|
CustomKeyStoreId?: string;
|
|
2443
2185
|
}
|
|
2444
|
-
export declare namespace GenerateRandomRequest {
|
|
2445
|
-
/**
|
|
2446
|
-
* @internal
|
|
2447
|
-
*/
|
|
2448
|
-
const filterSensitiveLog: (obj: GenerateRandomRequest) => any;
|
|
2449
|
-
}
|
|
2450
2186
|
export interface GenerateRandomResponse {
|
|
2451
2187
|
/**
|
|
2452
2188
|
* <p>The random byte string. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.</p>
|
|
2453
2189
|
*/
|
|
2454
2190
|
Plaintext?: Uint8Array;
|
|
2455
2191
|
}
|
|
2456
|
-
export declare namespace GenerateRandomResponse {
|
|
2457
|
-
/**
|
|
2458
|
-
* @internal
|
|
2459
|
-
*/
|
|
2460
|
-
const filterSensitiveLog: (obj: GenerateRandomResponse) => any;
|
|
2461
|
-
}
|
|
2462
2192
|
export interface GetKeyPolicyRequest {
|
|
2463
2193
|
/**
|
|
2464
2194
|
* <p>Gets the key policy for the specified KMS key.</p>
|
|
@@ -2483,24 +2213,12 @@ export interface GetKeyPolicyRequest {
|
|
|
2483
2213
|
*/
|
|
2484
2214
|
PolicyName: string | undefined;
|
|
2485
2215
|
}
|
|
2486
|
-
export declare namespace GetKeyPolicyRequest {
|
|
2487
|
-
/**
|
|
2488
|
-
* @internal
|
|
2489
|
-
*/
|
|
2490
|
-
const filterSensitiveLog: (obj: GetKeyPolicyRequest) => any;
|
|
2491
|
-
}
|
|
2492
2216
|
export interface GetKeyPolicyResponse {
|
|
2493
2217
|
/**
|
|
2494
2218
|
* <p>A key policy document in JSON format.</p>
|
|
2495
2219
|
*/
|
|
2496
2220
|
Policy?: string;
|
|
2497
2221
|
}
|
|
2498
|
-
export declare namespace GetKeyPolicyResponse {
|
|
2499
|
-
/**
|
|
2500
|
-
* @internal
|
|
2501
|
-
*/
|
|
2502
|
-
const filterSensitiveLog: (obj: GetKeyPolicyResponse) => any;
|
|
2503
|
-
}
|
|
2504
2222
|
export interface GetKeyRotationStatusRequest {
|
|
2505
2223
|
/**
|
|
2506
2224
|
* <p>Gets the rotation status for the specified KMS key.</p>
|
|
@@ -2522,24 +2240,12 @@ export interface GetKeyRotationStatusRequest {
|
|
|
2522
2240
|
*/
|
|
2523
2241
|
KeyId: string | undefined;
|
|
2524
2242
|
}
|
|
2525
|
-
export declare namespace GetKeyRotationStatusRequest {
|
|
2526
|
-
/**
|
|
2527
|
-
* @internal
|
|
2528
|
-
*/
|
|
2529
|
-
const filterSensitiveLog: (obj: GetKeyRotationStatusRequest) => any;
|
|
2530
|
-
}
|
|
2531
2243
|
export interface GetKeyRotationStatusResponse {
|
|
2532
2244
|
/**
|
|
2533
2245
|
* <p>A Boolean value that specifies whether key rotation is enabled.</p>
|
|
2534
2246
|
*/
|
|
2535
2247
|
KeyRotationEnabled?: boolean;
|
|
2536
2248
|
}
|
|
2537
|
-
export declare namespace GetKeyRotationStatusResponse {
|
|
2538
|
-
/**
|
|
2539
|
-
* @internal
|
|
2540
|
-
*/
|
|
2541
|
-
const filterSensitiveLog: (obj: GetKeyRotationStatusResponse) => any;
|
|
2542
|
-
}
|
|
2543
2249
|
export declare enum WrappingKeySpec {
|
|
2544
2250
|
RSA_2048 = "RSA_2048"
|
|
2545
2251
|
}
|
|
@@ -2574,12 +2280,6 @@ export interface GetParametersForImportRequest {
|
|
|
2574
2280
|
*/
|
|
2575
2281
|
WrappingKeySpec: WrappingKeySpec | string | undefined;
|
|
2576
2282
|
}
|
|
2577
|
-
export declare namespace GetParametersForImportRequest {
|
|
2578
|
-
/**
|
|
2579
|
-
* @internal
|
|
2580
|
-
*/
|
|
2581
|
-
const filterSensitiveLog: (obj: GetParametersForImportRequest) => any;
|
|
2582
|
-
}
|
|
2583
2283
|
export interface GetParametersForImportResponse {
|
|
2584
2284
|
/**
|
|
2585
2285
|
* <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">key ARN</a>) of the KMS key to use in a subsequent <a>ImportKeyMaterial</a> request. This is the same KMS key specified in the <code>GetParametersForImport</code>
|
|
@@ -2602,12 +2302,6 @@ export interface GetParametersForImportResponse {
|
|
|
2602
2302
|
*/
|
|
2603
2303
|
ParametersValidTo?: Date;
|
|
2604
2304
|
}
|
|
2605
|
-
export declare namespace GetParametersForImportResponse {
|
|
2606
|
-
/**
|
|
2607
|
-
* @internal
|
|
2608
|
-
*/
|
|
2609
|
-
const filterSensitiveLog: (obj: GetParametersForImportResponse) => any;
|
|
2610
|
-
}
|
|
2611
2305
|
export interface GetPublicKeyRequest {
|
|
2612
2306
|
/**
|
|
2613
2307
|
* <p>Identifies the asymmetric KMS key that includes the public key.</p>
|
|
@@ -2642,12 +2336,6 @@ export interface GetPublicKeyRequest {
|
|
|
2642
2336
|
*/
|
|
2643
2337
|
GrantTokens?: string[];
|
|
2644
2338
|
}
|
|
2645
|
-
export declare namespace GetPublicKeyRequest {
|
|
2646
|
-
/**
|
|
2647
|
-
* @internal
|
|
2648
|
-
*/
|
|
2649
|
-
const filterSensitiveLog: (obj: GetPublicKeyRequest) => any;
|
|
2650
|
-
}
|
|
2651
2339
|
export interface GetPublicKeyResponse {
|
|
2652
2340
|
/**
|
|
2653
2341
|
* <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">key ARN</a>) of the asymmetric KMS key from which the public key was
|
|
@@ -2697,12 +2385,6 @@ export interface GetPublicKeyResponse {
|
|
|
2697
2385
|
*/
|
|
2698
2386
|
SigningAlgorithms?: (SigningAlgorithmSpec | string)[];
|
|
2699
2387
|
}
|
|
2700
|
-
export declare namespace GetPublicKeyResponse {
|
|
2701
|
-
/**
|
|
2702
|
-
* @internal
|
|
2703
|
-
*/
|
|
2704
|
-
const filterSensitiveLog: (obj: GetPublicKeyResponse) => any;
|
|
2705
|
-
}
|
|
2706
2388
|
/**
|
|
2707
2389
|
* <p>Contains information about a grant.</p>
|
|
2708
2390
|
*/
|
|
@@ -2750,12 +2432,6 @@ export interface GrantListEntry {
|
|
|
2750
2432
|
*/
|
|
2751
2433
|
Constraints?: GrantConstraints;
|
|
2752
2434
|
}
|
|
2753
|
-
export declare namespace GrantListEntry {
|
|
2754
|
-
/**
|
|
2755
|
-
* @internal
|
|
2756
|
-
*/
|
|
2757
|
-
const filterSensitiveLog: (obj: GrantListEntry) => any;
|
|
2758
|
-
}
|
|
2759
2435
|
export interface ImportKeyMaterialRequest {
|
|
2760
2436
|
/**
|
|
2761
2437
|
* <p>The identifier of the symmetric encryption KMS key that receives the imported key
|
|
@@ -2804,20 +2480,8 @@ export interface ImportKeyMaterialRequest {
|
|
|
2804
2480
|
*/
|
|
2805
2481
|
ExpirationModel?: ExpirationModelType | string;
|
|
2806
2482
|
}
|
|
2807
|
-
export declare namespace ImportKeyMaterialRequest {
|
|
2808
|
-
/**
|
|
2809
|
-
* @internal
|
|
2810
|
-
*/
|
|
2811
|
-
const filterSensitiveLog: (obj: ImportKeyMaterialRequest) => any;
|
|
2812
|
-
}
|
|
2813
2483
|
export interface ImportKeyMaterialResponse {
|
|
2814
2484
|
}
|
|
2815
|
-
export declare namespace ImportKeyMaterialResponse {
|
|
2816
|
-
/**
|
|
2817
|
-
* @internal
|
|
2818
|
-
*/
|
|
2819
|
-
const filterSensitiveLog: (obj: ImportKeyMaterialResponse) => any;
|
|
2820
|
-
}
|
|
2821
2485
|
/**
|
|
2822
2486
|
* <p>The request was rejected because the key material in the request is, expired, invalid, or
|
|
2823
2487
|
* is not the same key material that was previously imported into this KMS key.</p>
|
|
@@ -2866,12 +2530,6 @@ export interface KeyListEntry {
|
|
|
2866
2530
|
*/
|
|
2867
2531
|
KeyArn?: string;
|
|
2868
2532
|
}
|
|
2869
|
-
export declare namespace KeyListEntry {
|
|
2870
|
-
/**
|
|
2871
|
-
* @internal
|
|
2872
|
-
*/
|
|
2873
|
-
const filterSensitiveLog: (obj: KeyListEntry) => any;
|
|
2874
|
-
}
|
|
2875
2533
|
/**
|
|
2876
2534
|
* <p>The request was rejected because the HMAC verification failed. HMAC verification
|
|
2877
2535
|
* fails when the HMAC computed by using the specified message, HMAC KMS key, and MAC algorithm does not match the HMAC specified in the request.</p>
|
|
@@ -2933,12 +2591,6 @@ export interface ListAliasesRequest {
|
|
|
2933
2591
|
*/
|
|
2934
2592
|
Marker?: string;
|
|
2935
2593
|
}
|
|
2936
|
-
export declare namespace ListAliasesRequest {
|
|
2937
|
-
/**
|
|
2938
|
-
* @internal
|
|
2939
|
-
*/
|
|
2940
|
-
const filterSensitiveLog: (obj: ListAliasesRequest) => any;
|
|
2941
|
-
}
|
|
2942
2594
|
export interface ListAliasesResponse {
|
|
2943
2595
|
/**
|
|
2944
2596
|
* <p>A list of aliases.</p>
|
|
@@ -2957,12 +2609,6 @@ export interface ListAliasesResponse {
|
|
|
2957
2609
|
*/
|
|
2958
2610
|
Truncated?: boolean;
|
|
2959
2611
|
}
|
|
2960
|
-
export declare namespace ListAliasesResponse {
|
|
2961
|
-
/**
|
|
2962
|
-
* @internal
|
|
2963
|
-
*/
|
|
2964
|
-
const filterSensitiveLog: (obj: ListAliasesResponse) => any;
|
|
2965
|
-
}
|
|
2966
2612
|
export interface ListGrantsRequest {
|
|
2967
2613
|
/**
|
|
2968
2614
|
* <p>Use this parameter to specify the maximum number of items to return. When this
|
|
@@ -3008,12 +2654,6 @@ export interface ListGrantsRequest {
|
|
|
3008
2654
|
*/
|
|
3009
2655
|
GranteePrincipal?: string;
|
|
3010
2656
|
}
|
|
3011
|
-
export declare namespace ListGrantsRequest {
|
|
3012
|
-
/**
|
|
3013
|
-
* @internal
|
|
3014
|
-
*/
|
|
3015
|
-
const filterSensitiveLog: (obj: ListGrantsRequest) => any;
|
|
3016
|
-
}
|
|
3017
2657
|
export interface ListGrantsResponse {
|
|
3018
2658
|
/**
|
|
3019
2659
|
* <p>A list of grants.</p>
|
|
@@ -3032,12 +2672,6 @@ export interface ListGrantsResponse {
|
|
|
3032
2672
|
*/
|
|
3033
2673
|
Truncated?: boolean;
|
|
3034
2674
|
}
|
|
3035
|
-
export declare namespace ListGrantsResponse {
|
|
3036
|
-
/**
|
|
3037
|
-
* @internal
|
|
3038
|
-
*/
|
|
3039
|
-
const filterSensitiveLog: (obj: ListGrantsResponse) => any;
|
|
3040
|
-
}
|
|
3041
2675
|
export interface ListKeyPoliciesRequest {
|
|
3042
2676
|
/**
|
|
3043
2677
|
* <p>Gets the names of key policies for the specified KMS key.</p>
|
|
@@ -3072,12 +2706,6 @@ export interface ListKeyPoliciesRequest {
|
|
|
3072
2706
|
*/
|
|
3073
2707
|
Marker?: string;
|
|
3074
2708
|
}
|
|
3075
|
-
export declare namespace ListKeyPoliciesRequest {
|
|
3076
|
-
/**
|
|
3077
|
-
* @internal
|
|
3078
|
-
*/
|
|
3079
|
-
const filterSensitiveLog: (obj: ListKeyPoliciesRequest) => any;
|
|
3080
|
-
}
|
|
3081
2709
|
export interface ListKeyPoliciesResponse {
|
|
3082
2710
|
/**
|
|
3083
2711
|
* <p>A list of key policy names. The only valid value is <code>default</code>.</p>
|
|
@@ -3096,12 +2724,6 @@ export interface ListKeyPoliciesResponse {
|
|
|
3096
2724
|
*/
|
|
3097
2725
|
Truncated?: boolean;
|
|
3098
2726
|
}
|
|
3099
|
-
export declare namespace ListKeyPoliciesResponse {
|
|
3100
|
-
/**
|
|
3101
|
-
* @internal
|
|
3102
|
-
*/
|
|
3103
|
-
const filterSensitiveLog: (obj: ListKeyPoliciesResponse) => any;
|
|
3104
|
-
}
|
|
3105
2727
|
export interface ListKeysRequest {
|
|
3106
2728
|
/**
|
|
3107
2729
|
* <p>Use this parameter to specify the maximum number of items to return. When this
|
|
@@ -3118,12 +2740,6 @@ export interface ListKeysRequest {
|
|
|
3118
2740
|
*/
|
|
3119
2741
|
Marker?: string;
|
|
3120
2742
|
}
|
|
3121
|
-
export declare namespace ListKeysRequest {
|
|
3122
|
-
/**
|
|
3123
|
-
* @internal
|
|
3124
|
-
*/
|
|
3125
|
-
const filterSensitiveLog: (obj: ListKeysRequest) => any;
|
|
3126
|
-
}
|
|
3127
2743
|
export interface ListKeysResponse {
|
|
3128
2744
|
/**
|
|
3129
2745
|
* <p>A list of KMS keys.</p>
|
|
@@ -3142,12 +2758,6 @@ export interface ListKeysResponse {
|
|
|
3142
2758
|
*/
|
|
3143
2759
|
Truncated?: boolean;
|
|
3144
2760
|
}
|
|
3145
|
-
export declare namespace ListKeysResponse {
|
|
3146
|
-
/**
|
|
3147
|
-
* @internal
|
|
3148
|
-
*/
|
|
3149
|
-
const filterSensitiveLog: (obj: ListKeysResponse) => any;
|
|
3150
|
-
}
|
|
3151
2761
|
export interface ListResourceTagsRequest {
|
|
3152
2762
|
/**
|
|
3153
2763
|
* <p>Gets tags on the specified KMS key.</p>
|
|
@@ -3183,12 +2793,6 @@ export interface ListResourceTagsRequest {
|
|
|
3183
2793
|
*/
|
|
3184
2794
|
Marker?: string;
|
|
3185
2795
|
}
|
|
3186
|
-
export declare namespace ListResourceTagsRequest {
|
|
3187
|
-
/**
|
|
3188
|
-
* @internal
|
|
3189
|
-
*/
|
|
3190
|
-
const filterSensitiveLog: (obj: ListResourceTagsRequest) => any;
|
|
3191
|
-
}
|
|
3192
2796
|
export interface ListResourceTagsResponse {
|
|
3193
2797
|
/**
|
|
3194
2798
|
* <p>A list of tags. Each tag consists of a tag key and a tag value.</p>
|
|
@@ -3211,12 +2815,6 @@ export interface ListResourceTagsResponse {
|
|
|
3211
2815
|
*/
|
|
3212
2816
|
Truncated?: boolean;
|
|
3213
2817
|
}
|
|
3214
|
-
export declare namespace ListResourceTagsResponse {
|
|
3215
|
-
/**
|
|
3216
|
-
* @internal
|
|
3217
|
-
*/
|
|
3218
|
-
const filterSensitiveLog: (obj: ListResourceTagsResponse) => any;
|
|
3219
|
-
}
|
|
3220
2818
|
export interface ListRetirableGrantsRequest {
|
|
3221
2819
|
/**
|
|
3222
2820
|
* <p>Use this parameter to specify the maximum number of items to return. When this
|
|
@@ -3243,12 +2841,6 @@ export interface ListRetirableGrantsRequest {
|
|
|
3243
2841
|
*/
|
|
3244
2842
|
RetiringPrincipal: string | undefined;
|
|
3245
2843
|
}
|
|
3246
|
-
export declare namespace ListRetirableGrantsRequest {
|
|
3247
|
-
/**
|
|
3248
|
-
* @internal
|
|
3249
|
-
*/
|
|
3250
|
-
const filterSensitiveLog: (obj: ListRetirableGrantsRequest) => any;
|
|
3251
|
-
}
|
|
3252
2844
|
export declare enum MessageType {
|
|
3253
2845
|
DIGEST = "DIGEST",
|
|
3254
2846
|
RAW = "RAW"
|
|
@@ -3296,22 +2888,22 @@ export interface PutKeyPolicyRequest {
|
|
|
3296
2888
|
* </li>
|
|
3297
2889
|
* </ul>
|
|
3298
2890
|
*
|
|
3299
|
-
* <p>A key policy document
|
|
2891
|
+
* <p>A key policy document can include only the following characters:</p>
|
|
3300
2892
|
* <ul>
|
|
3301
2893
|
* <li>
|
|
3302
|
-
* <p>
|
|
2894
|
+
* <p>Printable ASCII characters from the space character (<code>\u0020</code>) through the end of the ASCII character range.</p>
|
|
3303
2895
|
* </li>
|
|
3304
2896
|
* <li>
|
|
3305
|
-
* <p>
|
|
2897
|
+
* <p>Printable characters in the Basic Latin and Latin-1 Supplement character set (through <code>\u00FF</code>).</p>
|
|
3306
2898
|
* </li>
|
|
3307
2899
|
* <li>
|
|
3308
|
-
* <p>The
|
|
3309
|
-
* </li>
|
|
3310
|
-
* <li>
|
|
3311
|
-
* <p>The <code>Sid</code> element in a key policy statement can include spaces. (Spaces are
|
|
3312
|
-
* prohibited in the <code>Sid</code> element of an IAM policy document.)</p>
|
|
2900
|
+
* <p>The tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and carriage return (<code>\u000D</code>) special characters</p>
|
|
3313
2901
|
* </li>
|
|
3314
2902
|
* </ul>
|
|
2903
|
+
* <p>For information about key policies, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Key policies in KMS</a> in the
|
|
2904
|
+
* <i>Key Management Service Developer Guide</i>. For help writing and formatting a JSON policy document, see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html">IAM JSON Policy Reference</a> in the <i>
|
|
2905
|
+
* <i>Identity and Access Management User Guide</i>
|
|
2906
|
+
* </i>.</p>
|
|
3315
2907
|
*/
|
|
3316
2908
|
Policy: string | undefined;
|
|
3317
2909
|
/**
|
|
@@ -3327,12 +2919,6 @@ export interface PutKeyPolicyRequest {
|
|
|
3327
2919
|
*/
|
|
3328
2920
|
BypassPolicyLockoutSafetyCheck?: boolean;
|
|
3329
2921
|
}
|
|
3330
|
-
export declare namespace PutKeyPolicyRequest {
|
|
3331
|
-
/**
|
|
3332
|
-
* @internal
|
|
3333
|
-
*/
|
|
3334
|
-
const filterSensitiveLog: (obj: PutKeyPolicyRequest) => any;
|
|
3335
|
-
}
|
|
3336
2922
|
export interface ReEncryptRequest {
|
|
3337
2923
|
/**
|
|
3338
2924
|
* <p>Ciphertext of the data to reencrypt.</p>
|
|
@@ -3444,12 +3030,6 @@ export interface ReEncryptRequest {
|
|
|
3444
3030
|
*/
|
|
3445
3031
|
GrantTokens?: string[];
|
|
3446
3032
|
}
|
|
3447
|
-
export declare namespace ReEncryptRequest {
|
|
3448
|
-
/**
|
|
3449
|
-
* @internal
|
|
3450
|
-
*/
|
|
3451
|
-
const filterSensitiveLog: (obj: ReEncryptRequest) => any;
|
|
3452
|
-
}
|
|
3453
3033
|
export interface ReEncryptResponse {
|
|
3454
3034
|
/**
|
|
3455
3035
|
* <p>The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.</p>
|
|
@@ -3473,12 +3053,6 @@ export interface ReEncryptResponse {
|
|
|
3473
3053
|
*/
|
|
3474
3054
|
DestinationEncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
|
|
3475
3055
|
}
|
|
3476
|
-
export declare namespace ReEncryptResponse {
|
|
3477
|
-
/**
|
|
3478
|
-
* @internal
|
|
3479
|
-
*/
|
|
3480
|
-
const filterSensitiveLog: (obj: ReEncryptResponse) => any;
|
|
3481
|
-
}
|
|
3482
3056
|
export interface ReplicateKeyRequest {
|
|
3483
3057
|
/**
|
|
3484
3058
|
* <p>Identifies the multi-Region primary key that is being replicated. To determine whether a
|
|
@@ -3550,22 +3124,22 @@ export interface ReplicateKeyRequest {
|
|
|
3550
3124
|
* </ul>
|
|
3551
3125
|
*
|
|
3552
3126
|
*
|
|
3553
|
-
* <p>A key policy document
|
|
3127
|
+
* <p>A key policy document can include only the following characters:</p>
|
|
3554
3128
|
* <ul>
|
|
3555
3129
|
* <li>
|
|
3556
|
-
* <p>
|
|
3130
|
+
* <p>Printable ASCII characters from the space character (<code>\u0020</code>) through the end of the ASCII character range.</p>
|
|
3557
3131
|
* </li>
|
|
3558
3132
|
* <li>
|
|
3559
|
-
* <p>
|
|
3133
|
+
* <p>Printable characters in the Basic Latin and Latin-1 Supplement character set (through <code>\u00FF</code>).</p>
|
|
3560
3134
|
* </li>
|
|
3561
3135
|
* <li>
|
|
3562
|
-
* <p>The
|
|
3563
|
-
* </li>
|
|
3564
|
-
* <li>
|
|
3565
|
-
* <p>The <code>Sid</code> element in a key policy statement can include spaces. (Spaces are
|
|
3566
|
-
* prohibited in the <code>Sid</code> element of an IAM policy document.)</p>
|
|
3136
|
+
* <p>The tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and carriage return (<code>\u000D</code>) special characters</p>
|
|
3567
3137
|
* </li>
|
|
3568
3138
|
* </ul>
|
|
3139
|
+
* <p>For information about key policies, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Key policies in KMS</a> in the
|
|
3140
|
+
* <i>Key Management Service Developer Guide</i>. For help writing and formatting a JSON policy document, see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html">IAM JSON Policy Reference</a> in the <i>
|
|
3141
|
+
* <i>Identity and Access Management User Guide</i>
|
|
3142
|
+
* </i>.</p>
|
|
3569
3143
|
*/
|
|
3570
3144
|
Policy?: string;
|
|
3571
3145
|
/**
|
|
@@ -3609,12 +3183,6 @@ export interface ReplicateKeyRequest {
|
|
|
3609
3183
|
*/
|
|
3610
3184
|
Tags?: Tag[];
|
|
3611
3185
|
}
|
|
3612
|
-
export declare namespace ReplicateKeyRequest {
|
|
3613
|
-
/**
|
|
3614
|
-
* @internal
|
|
3615
|
-
*/
|
|
3616
|
-
const filterSensitiveLog: (obj: ReplicateKeyRequest) => any;
|
|
3617
|
-
}
|
|
3618
3186
|
export interface ReplicateKeyResponse {
|
|
3619
3187
|
/**
|
|
3620
3188
|
* <p>Displays details about the new replica key, including its Amazon Resource Name (<a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">key ARN</a>) and
|
|
@@ -3633,12 +3201,6 @@ export interface ReplicateKeyResponse {
|
|
|
3633
3201
|
*/
|
|
3634
3202
|
ReplicaTags?: Tag[];
|
|
3635
3203
|
}
|
|
3636
|
-
export declare namespace ReplicateKeyResponse {
|
|
3637
|
-
/**
|
|
3638
|
-
* @internal
|
|
3639
|
-
*/
|
|
3640
|
-
const filterSensitiveLog: (obj: ReplicateKeyResponse) => any;
|
|
3641
|
-
}
|
|
3642
3204
|
export interface RetireGrantRequest {
|
|
3643
3205
|
/**
|
|
3644
3206
|
* <p>Identifies the grant to be retired. You can use a grant token to identify a new grant even
|
|
@@ -3666,12 +3228,6 @@ export interface RetireGrantRequest {
|
|
|
3666
3228
|
*/
|
|
3667
3229
|
GrantId?: string;
|
|
3668
3230
|
}
|
|
3669
|
-
export declare namespace RetireGrantRequest {
|
|
3670
|
-
/**
|
|
3671
|
-
* @internal
|
|
3672
|
-
*/
|
|
3673
|
-
const filterSensitiveLog: (obj: RetireGrantRequest) => any;
|
|
3674
|
-
}
|
|
3675
3231
|
export interface RevokeGrantRequest {
|
|
3676
3232
|
/**
|
|
3677
3233
|
* <p>A unique identifier for the KMS key associated with the grant. To get the key ID and key
|
|
@@ -3699,12 +3255,6 @@ export interface RevokeGrantRequest {
|
|
|
3699
3255
|
*/
|
|
3700
3256
|
GrantId: string | undefined;
|
|
3701
3257
|
}
|
|
3702
|
-
export declare namespace RevokeGrantRequest {
|
|
3703
|
-
/**
|
|
3704
|
-
* @internal
|
|
3705
|
-
*/
|
|
3706
|
-
const filterSensitiveLog: (obj: RevokeGrantRequest) => any;
|
|
3707
|
-
}
|
|
3708
3258
|
export interface ScheduleKeyDeletionRequest {
|
|
3709
3259
|
/**
|
|
3710
3260
|
* <p>The unique identifier of the KMS key to delete.</p>
|
|
@@ -3734,12 +3284,6 @@ export interface ScheduleKeyDeletionRequest {
|
|
|
3734
3284
|
*/
|
|
3735
3285
|
PendingWindowInDays?: number;
|
|
3736
3286
|
}
|
|
3737
|
-
export declare namespace ScheduleKeyDeletionRequest {
|
|
3738
|
-
/**
|
|
3739
|
-
* @internal
|
|
3740
|
-
*/
|
|
3741
|
-
const filterSensitiveLog: (obj: ScheduleKeyDeletionRequest) => any;
|
|
3742
|
-
}
|
|
3743
3287
|
export interface ScheduleKeyDeletionResponse {
|
|
3744
3288
|
/**
|
|
3745
3289
|
* <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">key ARN</a>) of the KMS key whose deletion is scheduled.</p>
|
|
@@ -3765,12 +3309,6 @@ export interface ScheduleKeyDeletionResponse {
|
|
|
3765
3309
|
*/
|
|
3766
3310
|
PendingWindowInDays?: number;
|
|
3767
3311
|
}
|
|
3768
|
-
export declare namespace ScheduleKeyDeletionResponse {
|
|
3769
|
-
/**
|
|
3770
|
-
* @internal
|
|
3771
|
-
*/
|
|
3772
|
-
const filterSensitiveLog: (obj: ScheduleKeyDeletionResponse) => any;
|
|
3773
|
-
}
|
|
3774
3312
|
export interface SignRequest {
|
|
3775
3313
|
/**
|
|
3776
3314
|
* <p>Identifies an asymmetric KMS key. KMS uses the private key in the asymmetric KMS key to
|
|
@@ -3825,12 +3363,6 @@ export interface SignRequest {
|
|
|
3825
3363
|
*/
|
|
3826
3364
|
SigningAlgorithm: SigningAlgorithmSpec | string | undefined;
|
|
3827
3365
|
}
|
|
3828
|
-
export declare namespace SignRequest {
|
|
3829
|
-
/**
|
|
3830
|
-
* @internal
|
|
3831
|
-
*/
|
|
3832
|
-
const filterSensitiveLog: (obj: SignRequest) => any;
|
|
3833
|
-
}
|
|
3834
3366
|
export interface SignResponse {
|
|
3835
3367
|
/**
|
|
3836
3368
|
* <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">key ARN</a>) of the asymmetric KMS key that was used to sign the message.</p>
|
|
@@ -3860,12 +3392,6 @@ export interface SignResponse {
|
|
|
3860
3392
|
*/
|
|
3861
3393
|
SigningAlgorithm?: SigningAlgorithmSpec | string;
|
|
3862
3394
|
}
|
|
3863
|
-
export declare namespace SignResponse {
|
|
3864
|
-
/**
|
|
3865
|
-
* @internal
|
|
3866
|
-
*/
|
|
3867
|
-
const filterSensitiveLog: (obj: SignResponse) => any;
|
|
3868
|
-
}
|
|
3869
3395
|
export interface TagResourceRequest {
|
|
3870
3396
|
/**
|
|
3871
3397
|
* <p>Identifies a customer managed key in the account and Region.</p>
|
|
@@ -3895,12 +3421,6 @@ export interface TagResourceRequest {
|
|
|
3895
3421
|
*/
|
|
3896
3422
|
Tags: Tag[] | undefined;
|
|
3897
3423
|
}
|
|
3898
|
-
export declare namespace TagResourceRequest {
|
|
3899
|
-
/**
|
|
3900
|
-
* @internal
|
|
3901
|
-
*/
|
|
3902
|
-
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
3903
|
-
}
|
|
3904
3424
|
export interface UntagResourceRequest {
|
|
3905
3425
|
/**
|
|
3906
3426
|
* <p>Identifies the KMS key from which you are removing tags.</p>
|
|
@@ -3925,17 +3445,11 @@ export interface UntagResourceRequest {
|
|
|
3925
3445
|
*/
|
|
3926
3446
|
TagKeys: string[] | undefined;
|
|
3927
3447
|
}
|
|
3928
|
-
export declare namespace UntagResourceRequest {
|
|
3929
|
-
/**
|
|
3930
|
-
* @internal
|
|
3931
|
-
*/
|
|
3932
|
-
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
3933
|
-
}
|
|
3934
3448
|
export interface UpdateAliasRequest {
|
|
3935
3449
|
/**
|
|
3936
3450
|
* <p>Identifies the alias that is changing its KMS key. This value must begin with
|
|
3937
3451
|
* <code>alias/</code> followed by the alias name, such as <code>alias/ExampleAlias</code>. You
|
|
3938
|
-
* cannot use UpdateAlias to change the alias name.</p>
|
|
3452
|
+
* cannot use <code>UpdateAlias</code> to change the alias name.</p>
|
|
3939
3453
|
*/
|
|
3940
3454
|
AliasName: string | undefined;
|
|
3941
3455
|
/**
|
|
@@ -3962,12 +3476,6 @@ export interface UpdateAliasRequest {
|
|
|
3962
3476
|
*/
|
|
3963
3477
|
TargetKeyId: string | undefined;
|
|
3964
3478
|
}
|
|
3965
|
-
export declare namespace UpdateAliasRequest {
|
|
3966
|
-
/**
|
|
3967
|
-
* @internal
|
|
3968
|
-
*/
|
|
3969
|
-
const filterSensitiveLog: (obj: UpdateAliasRequest) => any;
|
|
3970
|
-
}
|
|
3971
3479
|
export interface UpdateCustomKeyStoreRequest {
|
|
3972
3480
|
/**
|
|
3973
3481
|
* <p>Identifies the custom key store that you want to update. Enter the ID of the custom key
|
|
@@ -3997,20 +3505,8 @@ export interface UpdateCustomKeyStoreRequest {
|
|
|
3997
3505
|
*/
|
|
3998
3506
|
CloudHsmClusterId?: string;
|
|
3999
3507
|
}
|
|
4000
|
-
export declare namespace UpdateCustomKeyStoreRequest {
|
|
4001
|
-
/**
|
|
4002
|
-
* @internal
|
|
4003
|
-
*/
|
|
4004
|
-
const filterSensitiveLog: (obj: UpdateCustomKeyStoreRequest) => any;
|
|
4005
|
-
}
|
|
4006
3508
|
export interface UpdateCustomKeyStoreResponse {
|
|
4007
3509
|
}
|
|
4008
|
-
export declare namespace UpdateCustomKeyStoreResponse {
|
|
4009
|
-
/**
|
|
4010
|
-
* @internal
|
|
4011
|
-
*/
|
|
4012
|
-
const filterSensitiveLog: (obj: UpdateCustomKeyStoreResponse) => any;
|
|
4013
|
-
}
|
|
4014
3510
|
export interface UpdateKeyDescriptionRequest {
|
|
4015
3511
|
/**
|
|
4016
3512
|
* <p>Updates the description of the specified KMS key.</p>
|
|
@@ -4035,12 +3531,6 @@ export interface UpdateKeyDescriptionRequest {
|
|
|
4035
3531
|
*/
|
|
4036
3532
|
Description: string | undefined;
|
|
4037
3533
|
}
|
|
4038
|
-
export declare namespace UpdateKeyDescriptionRequest {
|
|
4039
|
-
/**
|
|
4040
|
-
* @internal
|
|
4041
|
-
*/
|
|
4042
|
-
const filterSensitiveLog: (obj: UpdateKeyDescriptionRequest) => any;
|
|
4043
|
-
}
|
|
4044
3534
|
export interface UpdatePrimaryRegionRequest {
|
|
4045
3535
|
/**
|
|
4046
3536
|
* <p>Identifies the current primary key. When the operation completes, this KMS key will be a
|
|
@@ -4069,12 +3559,6 @@ export interface UpdatePrimaryRegionRequest {
|
|
|
4069
3559
|
*/
|
|
4070
3560
|
PrimaryRegion: string | undefined;
|
|
4071
3561
|
}
|
|
4072
|
-
export declare namespace UpdatePrimaryRegionRequest {
|
|
4073
|
-
/**
|
|
4074
|
-
* @internal
|
|
4075
|
-
*/
|
|
4076
|
-
const filterSensitiveLog: (obj: UpdatePrimaryRegionRequest) => any;
|
|
4077
|
-
}
|
|
4078
3562
|
export interface VerifyRequest {
|
|
4079
3563
|
/**
|
|
4080
3564
|
* <p>Identifies the asymmetric KMS key that will be used to verify the signature. This must be
|
|
@@ -4139,12 +3623,6 @@ export interface VerifyRequest {
|
|
|
4139
3623
|
*/
|
|
4140
3624
|
GrantTokens?: string[];
|
|
4141
3625
|
}
|
|
4142
|
-
export declare namespace VerifyRequest {
|
|
4143
|
-
/**
|
|
4144
|
-
* @internal
|
|
4145
|
-
*/
|
|
4146
|
-
const filterSensitiveLog: (obj: VerifyRequest) => any;
|
|
4147
|
-
}
|
|
4148
3626
|
export interface VerifyResponse {
|
|
4149
3627
|
/**
|
|
4150
3628
|
* <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">key ARN</a>) of the asymmetric KMS key that was used to verify the signature.</p>
|
|
@@ -4163,12 +3641,6 @@ export interface VerifyResponse {
|
|
|
4163
3641
|
*/
|
|
4164
3642
|
SigningAlgorithm?: SigningAlgorithmSpec | string;
|
|
4165
3643
|
}
|
|
4166
|
-
export declare namespace VerifyResponse {
|
|
4167
|
-
/**
|
|
4168
|
-
* @internal
|
|
4169
|
-
*/
|
|
4170
|
-
const filterSensitiveLog: (obj: VerifyResponse) => any;
|
|
4171
|
-
}
|
|
4172
3644
|
export interface VerifyMacRequest {
|
|
4173
3645
|
/**
|
|
4174
3646
|
* <p>The message that will be used in the verification. Enter the same message that was used to
|
|
@@ -4201,12 +3673,6 @@ export interface VerifyMacRequest {
|
|
|
4201
3673
|
*/
|
|
4202
3674
|
GrantTokens?: string[];
|
|
4203
3675
|
}
|
|
4204
|
-
export declare namespace VerifyMacRequest {
|
|
4205
|
-
/**
|
|
4206
|
-
* @internal
|
|
4207
|
-
*/
|
|
4208
|
-
const filterSensitiveLog: (obj: VerifyMacRequest) => any;
|
|
4209
|
-
}
|
|
4210
3676
|
export interface VerifyMacResponse {
|
|
4211
3677
|
/**
|
|
4212
3678
|
* <p>The HMAC KMS key used in the verification.</p>
|
|
@@ -4227,9 +3693,375 @@ export interface VerifyMacResponse {
|
|
|
4227
3693
|
*/
|
|
4228
3694
|
MacAlgorithm?: MacAlgorithmSpec | string;
|
|
4229
3695
|
}
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
3696
|
+
/**
|
|
3697
|
+
* @internal
|
|
3698
|
+
*/
|
|
3699
|
+
export declare const AliasListEntryFilterSensitiveLog: (obj: AliasListEntry) => any;
|
|
3700
|
+
/**
|
|
3701
|
+
* @internal
|
|
3702
|
+
*/
|
|
3703
|
+
export declare const CancelKeyDeletionRequestFilterSensitiveLog: (obj: CancelKeyDeletionRequest) => any;
|
|
3704
|
+
/**
|
|
3705
|
+
* @internal
|
|
3706
|
+
*/
|
|
3707
|
+
export declare const CancelKeyDeletionResponseFilterSensitiveLog: (obj: CancelKeyDeletionResponse) => any;
|
|
3708
|
+
/**
|
|
3709
|
+
* @internal
|
|
3710
|
+
*/
|
|
3711
|
+
export declare const ConnectCustomKeyStoreRequestFilterSensitiveLog: (obj: ConnectCustomKeyStoreRequest) => any;
|
|
3712
|
+
/**
|
|
3713
|
+
* @internal
|
|
3714
|
+
*/
|
|
3715
|
+
export declare const ConnectCustomKeyStoreResponseFilterSensitiveLog: (obj: ConnectCustomKeyStoreResponse) => any;
|
|
3716
|
+
/**
|
|
3717
|
+
* @internal
|
|
3718
|
+
*/
|
|
3719
|
+
export declare const CreateAliasRequestFilterSensitiveLog: (obj: CreateAliasRequest) => any;
|
|
3720
|
+
/**
|
|
3721
|
+
* @internal
|
|
3722
|
+
*/
|
|
3723
|
+
export declare const CreateCustomKeyStoreRequestFilterSensitiveLog: (obj: CreateCustomKeyStoreRequest) => any;
|
|
3724
|
+
/**
|
|
3725
|
+
* @internal
|
|
3726
|
+
*/
|
|
3727
|
+
export declare const CreateCustomKeyStoreResponseFilterSensitiveLog: (obj: CreateCustomKeyStoreResponse) => any;
|
|
3728
|
+
/**
|
|
3729
|
+
* @internal
|
|
3730
|
+
*/
|
|
3731
|
+
export declare const GrantConstraintsFilterSensitiveLog: (obj: GrantConstraints) => any;
|
|
3732
|
+
/**
|
|
3733
|
+
* @internal
|
|
3734
|
+
*/
|
|
3735
|
+
export declare const CreateGrantRequestFilterSensitiveLog: (obj: CreateGrantRequest) => any;
|
|
3736
|
+
/**
|
|
3737
|
+
* @internal
|
|
3738
|
+
*/
|
|
3739
|
+
export declare const CreateGrantResponseFilterSensitiveLog: (obj: CreateGrantResponse) => any;
|
|
3740
|
+
/**
|
|
3741
|
+
* @internal
|
|
3742
|
+
*/
|
|
3743
|
+
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
3744
|
+
/**
|
|
3745
|
+
* @internal
|
|
3746
|
+
*/
|
|
3747
|
+
export declare const CreateKeyRequestFilterSensitiveLog: (obj: CreateKeyRequest) => any;
|
|
3748
|
+
/**
|
|
3749
|
+
* @internal
|
|
3750
|
+
*/
|
|
3751
|
+
export declare const MultiRegionKeyFilterSensitiveLog: (obj: MultiRegionKey) => any;
|
|
3752
|
+
/**
|
|
3753
|
+
* @internal
|
|
3754
|
+
*/
|
|
3755
|
+
export declare const MultiRegionConfigurationFilterSensitiveLog: (obj: MultiRegionConfiguration) => any;
|
|
3756
|
+
/**
|
|
3757
|
+
* @internal
|
|
3758
|
+
*/
|
|
3759
|
+
export declare const KeyMetadataFilterSensitiveLog: (obj: KeyMetadata) => any;
|
|
3760
|
+
/**
|
|
3761
|
+
* @internal
|
|
3762
|
+
*/
|
|
3763
|
+
export declare const CreateKeyResponseFilterSensitiveLog: (obj: CreateKeyResponse) => any;
|
|
3764
|
+
/**
|
|
3765
|
+
* @internal
|
|
3766
|
+
*/
|
|
3767
|
+
export declare const CustomKeyStoresListEntryFilterSensitiveLog: (obj: CustomKeyStoresListEntry) => any;
|
|
3768
|
+
/**
|
|
3769
|
+
* @internal
|
|
3770
|
+
*/
|
|
3771
|
+
export declare const DecryptRequestFilterSensitiveLog: (obj: DecryptRequest) => any;
|
|
3772
|
+
/**
|
|
3773
|
+
* @internal
|
|
3774
|
+
*/
|
|
3775
|
+
export declare const DecryptResponseFilterSensitiveLog: (obj: DecryptResponse) => any;
|
|
3776
|
+
/**
|
|
3777
|
+
* @internal
|
|
3778
|
+
*/
|
|
3779
|
+
export declare const DeleteAliasRequestFilterSensitiveLog: (obj: DeleteAliasRequest) => any;
|
|
3780
|
+
/**
|
|
3781
|
+
* @internal
|
|
3782
|
+
*/
|
|
3783
|
+
export declare const DeleteCustomKeyStoreRequestFilterSensitiveLog: (obj: DeleteCustomKeyStoreRequest) => any;
|
|
3784
|
+
/**
|
|
3785
|
+
* @internal
|
|
3786
|
+
*/
|
|
3787
|
+
export declare const DeleteCustomKeyStoreResponseFilterSensitiveLog: (obj: DeleteCustomKeyStoreResponse) => any;
|
|
3788
|
+
/**
|
|
3789
|
+
* @internal
|
|
3790
|
+
*/
|
|
3791
|
+
export declare const DeleteImportedKeyMaterialRequestFilterSensitiveLog: (obj: DeleteImportedKeyMaterialRequest) => any;
|
|
3792
|
+
/**
|
|
3793
|
+
* @internal
|
|
3794
|
+
*/
|
|
3795
|
+
export declare const DescribeCustomKeyStoresRequestFilterSensitiveLog: (obj: DescribeCustomKeyStoresRequest) => any;
|
|
3796
|
+
/**
|
|
3797
|
+
* @internal
|
|
3798
|
+
*/
|
|
3799
|
+
export declare const DescribeCustomKeyStoresResponseFilterSensitiveLog: (obj: DescribeCustomKeyStoresResponse) => any;
|
|
3800
|
+
/**
|
|
3801
|
+
* @internal
|
|
3802
|
+
*/
|
|
3803
|
+
export declare const DescribeKeyRequestFilterSensitiveLog: (obj: DescribeKeyRequest) => any;
|
|
3804
|
+
/**
|
|
3805
|
+
* @internal
|
|
3806
|
+
*/
|
|
3807
|
+
export declare const DescribeKeyResponseFilterSensitiveLog: (obj: DescribeKeyResponse) => any;
|
|
3808
|
+
/**
|
|
3809
|
+
* @internal
|
|
3810
|
+
*/
|
|
3811
|
+
export declare const DisableKeyRequestFilterSensitiveLog: (obj: DisableKeyRequest) => any;
|
|
3812
|
+
/**
|
|
3813
|
+
* @internal
|
|
3814
|
+
*/
|
|
3815
|
+
export declare const DisableKeyRotationRequestFilterSensitiveLog: (obj: DisableKeyRotationRequest) => any;
|
|
3816
|
+
/**
|
|
3817
|
+
* @internal
|
|
3818
|
+
*/
|
|
3819
|
+
export declare const DisconnectCustomKeyStoreRequestFilterSensitiveLog: (obj: DisconnectCustomKeyStoreRequest) => any;
|
|
3820
|
+
/**
|
|
3821
|
+
* @internal
|
|
3822
|
+
*/
|
|
3823
|
+
export declare const DisconnectCustomKeyStoreResponseFilterSensitiveLog: (obj: DisconnectCustomKeyStoreResponse) => any;
|
|
3824
|
+
/**
|
|
3825
|
+
* @internal
|
|
3826
|
+
*/
|
|
3827
|
+
export declare const EnableKeyRequestFilterSensitiveLog: (obj: EnableKeyRequest) => any;
|
|
3828
|
+
/**
|
|
3829
|
+
* @internal
|
|
3830
|
+
*/
|
|
3831
|
+
export declare const EnableKeyRotationRequestFilterSensitiveLog: (obj: EnableKeyRotationRequest) => any;
|
|
3832
|
+
/**
|
|
3833
|
+
* @internal
|
|
3834
|
+
*/
|
|
3835
|
+
export declare const EncryptRequestFilterSensitiveLog: (obj: EncryptRequest) => any;
|
|
3836
|
+
/**
|
|
3837
|
+
* @internal
|
|
3838
|
+
*/
|
|
3839
|
+
export declare const EncryptResponseFilterSensitiveLog: (obj: EncryptResponse) => any;
|
|
3840
|
+
/**
|
|
3841
|
+
* @internal
|
|
3842
|
+
*/
|
|
3843
|
+
export declare const GenerateDataKeyRequestFilterSensitiveLog: (obj: GenerateDataKeyRequest) => any;
|
|
3844
|
+
/**
|
|
3845
|
+
* @internal
|
|
3846
|
+
*/
|
|
3847
|
+
export declare const GenerateDataKeyResponseFilterSensitiveLog: (obj: GenerateDataKeyResponse) => any;
|
|
3848
|
+
/**
|
|
3849
|
+
* @internal
|
|
3850
|
+
*/
|
|
3851
|
+
export declare const GenerateDataKeyPairRequestFilterSensitiveLog: (obj: GenerateDataKeyPairRequest) => any;
|
|
3852
|
+
/**
|
|
3853
|
+
* @internal
|
|
3854
|
+
*/
|
|
3855
|
+
export declare const GenerateDataKeyPairResponseFilterSensitiveLog: (obj: GenerateDataKeyPairResponse) => any;
|
|
3856
|
+
/**
|
|
3857
|
+
* @internal
|
|
3858
|
+
*/
|
|
3859
|
+
export declare const GenerateDataKeyPairWithoutPlaintextRequestFilterSensitiveLog: (obj: GenerateDataKeyPairWithoutPlaintextRequest) => any;
|
|
3860
|
+
/**
|
|
3861
|
+
* @internal
|
|
3862
|
+
*/
|
|
3863
|
+
export declare const GenerateDataKeyPairWithoutPlaintextResponseFilterSensitiveLog: (obj: GenerateDataKeyPairWithoutPlaintextResponse) => any;
|
|
3864
|
+
/**
|
|
3865
|
+
* @internal
|
|
3866
|
+
*/
|
|
3867
|
+
export declare const GenerateDataKeyWithoutPlaintextRequestFilterSensitiveLog: (obj: GenerateDataKeyWithoutPlaintextRequest) => any;
|
|
3868
|
+
/**
|
|
3869
|
+
* @internal
|
|
3870
|
+
*/
|
|
3871
|
+
export declare const GenerateDataKeyWithoutPlaintextResponseFilterSensitiveLog: (obj: GenerateDataKeyWithoutPlaintextResponse) => any;
|
|
3872
|
+
/**
|
|
3873
|
+
* @internal
|
|
3874
|
+
*/
|
|
3875
|
+
export declare const GenerateMacRequestFilterSensitiveLog: (obj: GenerateMacRequest) => any;
|
|
3876
|
+
/**
|
|
3877
|
+
* @internal
|
|
3878
|
+
*/
|
|
3879
|
+
export declare const GenerateMacResponseFilterSensitiveLog: (obj: GenerateMacResponse) => any;
|
|
3880
|
+
/**
|
|
3881
|
+
* @internal
|
|
3882
|
+
*/
|
|
3883
|
+
export declare const GenerateRandomRequestFilterSensitiveLog: (obj: GenerateRandomRequest) => any;
|
|
3884
|
+
/**
|
|
3885
|
+
* @internal
|
|
3886
|
+
*/
|
|
3887
|
+
export declare const GenerateRandomResponseFilterSensitiveLog: (obj: GenerateRandomResponse) => any;
|
|
3888
|
+
/**
|
|
3889
|
+
* @internal
|
|
3890
|
+
*/
|
|
3891
|
+
export declare const GetKeyPolicyRequestFilterSensitiveLog: (obj: GetKeyPolicyRequest) => any;
|
|
3892
|
+
/**
|
|
3893
|
+
* @internal
|
|
3894
|
+
*/
|
|
3895
|
+
export declare const GetKeyPolicyResponseFilterSensitiveLog: (obj: GetKeyPolicyResponse) => any;
|
|
3896
|
+
/**
|
|
3897
|
+
* @internal
|
|
3898
|
+
*/
|
|
3899
|
+
export declare const GetKeyRotationStatusRequestFilterSensitiveLog: (obj: GetKeyRotationStatusRequest) => any;
|
|
3900
|
+
/**
|
|
3901
|
+
* @internal
|
|
3902
|
+
*/
|
|
3903
|
+
export declare const GetKeyRotationStatusResponseFilterSensitiveLog: (obj: GetKeyRotationStatusResponse) => any;
|
|
3904
|
+
/**
|
|
3905
|
+
* @internal
|
|
3906
|
+
*/
|
|
3907
|
+
export declare const GetParametersForImportRequestFilterSensitiveLog: (obj: GetParametersForImportRequest) => any;
|
|
3908
|
+
/**
|
|
3909
|
+
* @internal
|
|
3910
|
+
*/
|
|
3911
|
+
export declare const GetParametersForImportResponseFilterSensitiveLog: (obj: GetParametersForImportResponse) => any;
|
|
3912
|
+
/**
|
|
3913
|
+
* @internal
|
|
3914
|
+
*/
|
|
3915
|
+
export declare const GetPublicKeyRequestFilterSensitiveLog: (obj: GetPublicKeyRequest) => any;
|
|
3916
|
+
/**
|
|
3917
|
+
* @internal
|
|
3918
|
+
*/
|
|
3919
|
+
export declare const GetPublicKeyResponseFilterSensitiveLog: (obj: GetPublicKeyResponse) => any;
|
|
3920
|
+
/**
|
|
3921
|
+
* @internal
|
|
3922
|
+
*/
|
|
3923
|
+
export declare const GrantListEntryFilterSensitiveLog: (obj: GrantListEntry) => any;
|
|
3924
|
+
/**
|
|
3925
|
+
* @internal
|
|
3926
|
+
*/
|
|
3927
|
+
export declare const ImportKeyMaterialRequestFilterSensitiveLog: (obj: ImportKeyMaterialRequest) => any;
|
|
3928
|
+
/**
|
|
3929
|
+
* @internal
|
|
3930
|
+
*/
|
|
3931
|
+
export declare const ImportKeyMaterialResponseFilterSensitiveLog: (obj: ImportKeyMaterialResponse) => any;
|
|
3932
|
+
/**
|
|
3933
|
+
* @internal
|
|
3934
|
+
*/
|
|
3935
|
+
export declare const KeyListEntryFilterSensitiveLog: (obj: KeyListEntry) => any;
|
|
3936
|
+
/**
|
|
3937
|
+
* @internal
|
|
3938
|
+
*/
|
|
3939
|
+
export declare const ListAliasesRequestFilterSensitiveLog: (obj: ListAliasesRequest) => any;
|
|
3940
|
+
/**
|
|
3941
|
+
* @internal
|
|
3942
|
+
*/
|
|
3943
|
+
export declare const ListAliasesResponseFilterSensitiveLog: (obj: ListAliasesResponse) => any;
|
|
3944
|
+
/**
|
|
3945
|
+
* @internal
|
|
3946
|
+
*/
|
|
3947
|
+
export declare const ListGrantsRequestFilterSensitiveLog: (obj: ListGrantsRequest) => any;
|
|
3948
|
+
/**
|
|
3949
|
+
* @internal
|
|
3950
|
+
*/
|
|
3951
|
+
export declare const ListGrantsResponseFilterSensitiveLog: (obj: ListGrantsResponse) => any;
|
|
3952
|
+
/**
|
|
3953
|
+
* @internal
|
|
3954
|
+
*/
|
|
3955
|
+
export declare const ListKeyPoliciesRequestFilterSensitiveLog: (obj: ListKeyPoliciesRequest) => any;
|
|
3956
|
+
/**
|
|
3957
|
+
* @internal
|
|
3958
|
+
*/
|
|
3959
|
+
export declare const ListKeyPoliciesResponseFilterSensitiveLog: (obj: ListKeyPoliciesResponse) => any;
|
|
3960
|
+
/**
|
|
3961
|
+
* @internal
|
|
3962
|
+
*/
|
|
3963
|
+
export declare const ListKeysRequestFilterSensitiveLog: (obj: ListKeysRequest) => any;
|
|
3964
|
+
/**
|
|
3965
|
+
* @internal
|
|
3966
|
+
*/
|
|
3967
|
+
export declare const ListKeysResponseFilterSensitiveLog: (obj: ListKeysResponse) => any;
|
|
3968
|
+
/**
|
|
3969
|
+
* @internal
|
|
3970
|
+
*/
|
|
3971
|
+
export declare const ListResourceTagsRequestFilterSensitiveLog: (obj: ListResourceTagsRequest) => any;
|
|
3972
|
+
/**
|
|
3973
|
+
* @internal
|
|
3974
|
+
*/
|
|
3975
|
+
export declare const ListResourceTagsResponseFilterSensitiveLog: (obj: ListResourceTagsResponse) => any;
|
|
3976
|
+
/**
|
|
3977
|
+
* @internal
|
|
3978
|
+
*/
|
|
3979
|
+
export declare const ListRetirableGrantsRequestFilterSensitiveLog: (obj: ListRetirableGrantsRequest) => any;
|
|
3980
|
+
/**
|
|
3981
|
+
* @internal
|
|
3982
|
+
*/
|
|
3983
|
+
export declare const PutKeyPolicyRequestFilterSensitiveLog: (obj: PutKeyPolicyRequest) => any;
|
|
3984
|
+
/**
|
|
3985
|
+
* @internal
|
|
3986
|
+
*/
|
|
3987
|
+
export declare const ReEncryptRequestFilterSensitiveLog: (obj: ReEncryptRequest) => any;
|
|
3988
|
+
/**
|
|
3989
|
+
* @internal
|
|
3990
|
+
*/
|
|
3991
|
+
export declare const ReEncryptResponseFilterSensitiveLog: (obj: ReEncryptResponse) => any;
|
|
3992
|
+
/**
|
|
3993
|
+
* @internal
|
|
3994
|
+
*/
|
|
3995
|
+
export declare const ReplicateKeyRequestFilterSensitiveLog: (obj: ReplicateKeyRequest) => any;
|
|
3996
|
+
/**
|
|
3997
|
+
* @internal
|
|
3998
|
+
*/
|
|
3999
|
+
export declare const ReplicateKeyResponseFilterSensitiveLog: (obj: ReplicateKeyResponse) => any;
|
|
4000
|
+
/**
|
|
4001
|
+
* @internal
|
|
4002
|
+
*/
|
|
4003
|
+
export declare const RetireGrantRequestFilterSensitiveLog: (obj: RetireGrantRequest) => any;
|
|
4004
|
+
/**
|
|
4005
|
+
* @internal
|
|
4006
|
+
*/
|
|
4007
|
+
export declare const RevokeGrantRequestFilterSensitiveLog: (obj: RevokeGrantRequest) => any;
|
|
4008
|
+
/**
|
|
4009
|
+
* @internal
|
|
4010
|
+
*/
|
|
4011
|
+
export declare const ScheduleKeyDeletionRequestFilterSensitiveLog: (obj: ScheduleKeyDeletionRequest) => any;
|
|
4012
|
+
/**
|
|
4013
|
+
* @internal
|
|
4014
|
+
*/
|
|
4015
|
+
export declare const ScheduleKeyDeletionResponseFilterSensitiveLog: (obj: ScheduleKeyDeletionResponse) => any;
|
|
4016
|
+
/**
|
|
4017
|
+
* @internal
|
|
4018
|
+
*/
|
|
4019
|
+
export declare const SignRequestFilterSensitiveLog: (obj: SignRequest) => any;
|
|
4020
|
+
/**
|
|
4021
|
+
* @internal
|
|
4022
|
+
*/
|
|
4023
|
+
export declare const SignResponseFilterSensitiveLog: (obj: SignResponse) => any;
|
|
4024
|
+
/**
|
|
4025
|
+
* @internal
|
|
4026
|
+
*/
|
|
4027
|
+
export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
4028
|
+
/**
|
|
4029
|
+
* @internal
|
|
4030
|
+
*/
|
|
4031
|
+
export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
4032
|
+
/**
|
|
4033
|
+
* @internal
|
|
4034
|
+
*/
|
|
4035
|
+
export declare const UpdateAliasRequestFilterSensitiveLog: (obj: UpdateAliasRequest) => any;
|
|
4036
|
+
/**
|
|
4037
|
+
* @internal
|
|
4038
|
+
*/
|
|
4039
|
+
export declare const UpdateCustomKeyStoreRequestFilterSensitiveLog: (obj: UpdateCustomKeyStoreRequest) => any;
|
|
4040
|
+
/**
|
|
4041
|
+
* @internal
|
|
4042
|
+
*/
|
|
4043
|
+
export declare const UpdateCustomKeyStoreResponseFilterSensitiveLog: (obj: UpdateCustomKeyStoreResponse) => any;
|
|
4044
|
+
/**
|
|
4045
|
+
* @internal
|
|
4046
|
+
*/
|
|
4047
|
+
export declare const UpdateKeyDescriptionRequestFilterSensitiveLog: (obj: UpdateKeyDescriptionRequest) => any;
|
|
4048
|
+
/**
|
|
4049
|
+
* @internal
|
|
4050
|
+
*/
|
|
4051
|
+
export declare const UpdatePrimaryRegionRequestFilterSensitiveLog: (obj: UpdatePrimaryRegionRequest) => any;
|
|
4052
|
+
/**
|
|
4053
|
+
* @internal
|
|
4054
|
+
*/
|
|
4055
|
+
export declare const VerifyRequestFilterSensitiveLog: (obj: VerifyRequest) => any;
|
|
4056
|
+
/**
|
|
4057
|
+
* @internal
|
|
4058
|
+
*/
|
|
4059
|
+
export declare const VerifyResponseFilterSensitiveLog: (obj: VerifyResponse) => any;
|
|
4060
|
+
/**
|
|
4061
|
+
* @internal
|
|
4062
|
+
*/
|
|
4063
|
+
export declare const VerifyMacRequestFilterSensitiveLog: (obj: VerifyMacRequest) => any;
|
|
4064
|
+
/**
|
|
4065
|
+
* @internal
|
|
4066
|
+
*/
|
|
4067
|
+
export declare const VerifyMacResponseFilterSensitiveLog: (obj: VerifyMacResponse) => any;
|