@aws-sdk/client-kms 3.362.0 → 3.366.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/KMS.js +1 -1
- package/dist-cjs/KMSClient.js +5 -5
- package/dist-cjs/commands/CancelKeyDeletionCommand.js +3 -3
- package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +3 -3
- package/dist-cjs/commands/CreateAliasCommand.js +3 -3
- package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +3 -3
- package/dist-cjs/commands/CreateGrantCommand.js +3 -3
- package/dist-cjs/commands/CreateKeyCommand.js +3 -3
- package/dist-cjs/commands/DecryptCommand.js +3 -3
- package/dist-cjs/commands/DeleteAliasCommand.js +3 -3
- package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +3 -3
- package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +3 -3
- package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +3 -3
- package/dist-cjs/commands/DescribeKeyCommand.js +3 -3
- package/dist-cjs/commands/DisableKeyCommand.js +3 -3
- package/dist-cjs/commands/DisableKeyRotationCommand.js +3 -3
- package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +3 -3
- package/dist-cjs/commands/EnableKeyCommand.js +3 -3
- package/dist-cjs/commands/EnableKeyRotationCommand.js +3 -3
- package/dist-cjs/commands/EncryptCommand.js +3 -3
- package/dist-cjs/commands/GenerateDataKeyCommand.js +3 -3
- package/dist-cjs/commands/GenerateDataKeyPairCommand.js +3 -3
- package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +3 -3
- package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +3 -3
- package/dist-cjs/commands/GenerateMacCommand.js +3 -3
- package/dist-cjs/commands/GenerateRandomCommand.js +3 -3
- package/dist-cjs/commands/GetKeyPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetKeyRotationStatusCommand.js +3 -3
- package/dist-cjs/commands/GetParametersForImportCommand.js +3 -3
- package/dist-cjs/commands/GetPublicKeyCommand.js +3 -3
- package/dist-cjs/commands/ImportKeyMaterialCommand.js +3 -3
- package/dist-cjs/commands/ListAliasesCommand.js +3 -3
- package/dist-cjs/commands/ListGrantsCommand.js +3 -3
- package/dist-cjs/commands/ListKeyPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListKeysCommand.js +3 -3
- package/dist-cjs/commands/ListResourceTagsCommand.js +3 -3
- package/dist-cjs/commands/ListRetirableGrantsCommand.js +3 -3
- package/dist-cjs/commands/PutKeyPolicyCommand.js +3 -3
- package/dist-cjs/commands/ReEncryptCommand.js +3 -3
- package/dist-cjs/commands/ReplicateKeyCommand.js +3 -3
- package/dist-cjs/commands/RetireGrantCommand.js +3 -3
- package/dist-cjs/commands/RevokeGrantCommand.js +3 -3
- package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +3 -3
- package/dist-cjs/commands/SignCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAliasCommand.js +3 -3
- package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +3 -3
- package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +3 -3
- package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +3 -3
- package/dist-cjs/commands/VerifyCommand.js +3 -3
- package/dist-cjs/commands/VerifyMacCommand.js +3 -3
- package/dist-cjs/models/KMSServiceException.js +1 -1
- package/dist-cjs/models/models_0.js +16 -3
- package/dist-cjs/protocols/Aws_json1_1.js +61 -1
- package/dist-cjs/runtimeConfig.browser.js +7 -7
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.shared.js +4 -4
- package/dist-es/KMS.js +1 -1
- package/dist-es/KMSClient.js +5 -5
- package/dist-es/commands/CancelKeyDeletionCommand.js +3 -3
- package/dist-es/commands/ConnectCustomKeyStoreCommand.js +3 -3
- package/dist-es/commands/CreateAliasCommand.js +3 -3
- 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 +3 -3
- package/dist-es/commands/DeleteCustomKeyStoreCommand.js +3 -3
- package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +3 -3
- package/dist-es/commands/DescribeCustomKeyStoresCommand.js +3 -3
- package/dist-es/commands/DescribeKeyCommand.js +3 -3
- package/dist-es/commands/DisableKeyCommand.js +3 -3
- package/dist-es/commands/DisableKeyRotationCommand.js +3 -3
- package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +3 -3
- package/dist-es/commands/EnableKeyCommand.js +3 -3
- package/dist-es/commands/EnableKeyRotationCommand.js +3 -3
- 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 +3 -3
- package/dist-es/commands/ReEncryptCommand.js +3 -3
- package/dist-es/commands/ReplicateKeyCommand.js +3 -3
- package/dist-es/commands/RetireGrantCommand.js +3 -3
- package/dist-es/commands/RevokeGrantCommand.js +3 -3
- package/dist-es/commands/ScheduleKeyDeletionCommand.js +3 -3
- package/dist-es/commands/SignCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateAliasCommand.js +3 -3
- package/dist-es/commands/UpdateCustomKeyStoreCommand.js +3 -3
- package/dist-es/commands/UpdateKeyDescriptionCommand.js +3 -3
- package/dist-es/commands/UpdatePrimaryRegionCommand.js +3 -3
- package/dist-es/commands/VerifyCommand.js +3 -3
- package/dist-es/commands/VerifyMacCommand.js +3 -3
- package/dist-es/models/KMSServiceException.js +1 -1
- package/dist-es/models/models_0.js +13 -1
- package/dist-es/protocols/Aws_json1_1.js +62 -2
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +10 -10
- package/dist-es/runtimeConfig.shared.js +4 -4
- package/dist-types/KMS.d.ts +1 -1
- package/dist-types/KMSClient.d.ts +8 -8
- package/dist-types/commands/CancelKeyDeletionCommand.d.ts +6 -4
- package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +3 -3
- package/dist-types/commands/CreateAliasCommand.d.ts +6 -4
- package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +14 -11
- package/dist-types/commands/CreateGrantCommand.d.ts +12 -4
- package/dist-types/commands/CreateKeyCommand.d.ts +19 -16
- package/dist-types/commands/DecryptCommand.d.ts +13 -5
- package/dist-types/commands/DeleteAliasCommand.d.ts +6 -4
- package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +3 -3
- package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +6 -4
- package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +5 -5
- package/dist-types/commands/DescribeKeyCommand.d.ts +3 -3
- package/dist-types/commands/DisableKeyCommand.d.ts +6 -4
- package/dist-types/commands/DisableKeyRotationCommand.d.ts +6 -4
- package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +3 -3
- package/dist-types/commands/EnableKeyCommand.d.ts +6 -4
- package/dist-types/commands/EnableKeyRotationCommand.d.ts +6 -4
- package/dist-types/commands/EncryptCommand.d.ts +13 -6
- package/dist-types/commands/GenerateDataKeyCommand.d.ts +20 -11
- package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +24 -14
- package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +16 -7
- package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +16 -7
- package/dist-types/commands/GenerateMacCommand.d.ts +15 -6
- package/dist-types/commands/GenerateRandomCommand.d.ts +4 -4
- package/dist-types/commands/GetKeyPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +6 -4
- package/dist-types/commands/GetParametersForImportCommand.d.ts +10 -7
- package/dist-types/commands/GetPublicKeyCommand.d.ts +11 -10
- package/dist-types/commands/ImportKeyMaterialCommand.d.ts +7 -6
- package/dist-types/commands/ListAliasesCommand.d.ts +3 -3
- package/dist-types/commands/ListGrantsCommand.d.ts +6 -4
- package/dist-types/commands/ListKeyPoliciesCommand.d.ts +6 -4
- package/dist-types/commands/ListKeysCommand.d.ts +3 -3
- package/dist-types/commands/ListResourceTagsCommand.d.ts +3 -3
- package/dist-types/commands/ListRetirableGrantsCommand.d.ts +3 -3
- package/dist-types/commands/PutKeyPolicyCommand.d.ts +6 -4
- package/dist-types/commands/ReEncryptCommand.d.ts +12 -4
- package/dist-types/commands/ReplicateKeyCommand.d.ts +6 -4
- package/dist-types/commands/RetireGrantCommand.d.ts +12 -4
- package/dist-types/commands/RevokeGrantCommand.d.ts +12 -4
- package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +9 -7
- package/dist-types/commands/SignCommand.d.ts +12 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAliasCommand.d.ts +6 -4
- package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +8 -6
- package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +6 -4
- package/dist-types/commands/VerifyCommand.d.ts +20 -13
- package/dist-types/commands/VerifyMacCommand.d.ts +12 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/endpoint/ruleset.d.ts +1 -1
- package/dist-types/models/KMSServiceException.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +229 -127
- package/dist-types/pagination/DescribeCustomKeyStoresPaginator.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListAliasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGrantsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListKeyPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListKeysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResourceTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRetirableGrantsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +20 -20
- package/dist-types/runtimeConfig.d.ts +20 -20
- package/dist-types/runtimeConfig.native.d.ts +19 -19
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/KMS.d.ts +1 -1
- package/dist-types/ts3.4/KMSClient.d.ts +19 -21
- package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DecryptCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/EncryptCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/SignCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/VerifyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +3 -3
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
- package/dist-types/ts3.4/models/KMSServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +22 -1
- package/dist-types/ts3.4/pagination/DescribeCustomKeyStoresPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListGrantsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListKeyPoliciesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListResourceTagsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListRetirableGrantsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
- package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +31 -30
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { GenerateRandomRequest, GenerateRandomResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -35,7 +35,7 @@ export interface GenerateRandomCommandOutput extends GenerateRandomResponse, __M
|
|
|
35
35
|
* enclave, use the <a href="https://docs.aws.amazon.com/enclaves/latest/user/developing-applications.html#sdk">Amazon Web Services Nitro Enclaves SDK</a> or any Amazon Web Services SDK. Use the <code>Recipient</code> parameter
|
|
36
36
|
* to provide the attestation document for the enclave. Instead of plaintext bytes, the response
|
|
37
37
|
* includes the plaintext bytes encrypted under the public key from the attestation document
|
|
38
|
-
*
|
|
38
|
+
* (<code>CiphertextForRecipient</code>).For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/services-nitro-enclaves.html">How Amazon Web Services Nitro Enclaves uses KMS</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
39
39
|
* <p>For more information about entropy and random number generation, see
|
|
40
40
|
* <a href="https://docs.aws.amazon.com/kms/latest/cryptographic-details/">Key Management Service Cryptographic Details</a>.</p>
|
|
41
41
|
* <p>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { GetKeyPolicyRequest, GetKeyPolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -81,7 +81,9 @@ export interface GetKeyPolicyCommandOutput extends GetKeyPolicyResponse, __Metad
|
|
|
81
81
|
* </i>.</p>
|
|
82
82
|
* </li>
|
|
83
83
|
* <li>
|
|
84
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
84
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
85
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
86
|
+
* error message that accompanies the exception.</p>
|
|
85
87
|
* </li>
|
|
86
88
|
* </ul>
|
|
87
89
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { GetKeyRotationStatusRequest, GetKeyRotationStatusResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -125,7 +125,9 @@ export interface GetKeyRotationStatusCommandOutput extends GetKeyRotationStatusR
|
|
|
125
125
|
* </i>.</p>
|
|
126
126
|
* </li>
|
|
127
127
|
* <li>
|
|
128
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
128
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
129
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
130
|
+
* error message that accompanies the exception.</p>
|
|
129
131
|
* </li>
|
|
130
132
|
* </ul>
|
|
131
133
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { GetParametersForImportRequest, GetParametersForImportResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -37,8 +37,8 @@ export interface GetParametersForImportCommandOutput extends GetParametersForImp
|
|
|
37
37
|
* asymmetric encryption KMS key, or asymmetric signing KMS key. You can also import key material
|
|
38
38
|
* into a <a href="kms/latest/developerguide/multi-region-keys-overview.html">multi-Region key</a> of
|
|
39
39
|
* any supported type. However, you can't import key material into a KMS key in a <a href="kms/latest/developerguide/custom-key-store-overview.html">custom key store</a>. You can also use
|
|
40
|
-
*
|
|
41
|
-
*
|
|
40
|
+
* <code>GetParametersForImport</code> to get a public key and import token to <a href="kms/latest/developerguide/importing-keys.html#reimport-key-material">reimport the original key
|
|
41
|
+
* material</a> into a KMS key whose key material expired or was deleted.</p>
|
|
42
42
|
* <p>
|
|
43
43
|
* <code>GetParametersForImport</code> returns the items that you need to import your key
|
|
44
44
|
* material.</p>
|
|
@@ -49,7 +49,8 @@ export interface GetParametersForImportCommandOutput extends GetParametersForImp
|
|
|
49
49
|
* transit to KMS. </p>
|
|
50
50
|
* </li>
|
|
51
51
|
* <li>
|
|
52
|
-
* <p>A import token that ensures that KMS can decrypt your key material and associate it
|
|
52
|
+
* <p>A import token that ensures that KMS can decrypt your key material and associate it
|
|
53
|
+
* with the correct KMS key.</p>
|
|
53
54
|
* </li>
|
|
54
55
|
* </ul>
|
|
55
56
|
* <p>The public key and its import token are permanently linked and must be used together. Each
|
|
@@ -150,7 +151,9 @@ export interface GetParametersForImportCommandOutput extends GetParametersForImp
|
|
|
150
151
|
* </i>.</p>
|
|
151
152
|
* </li>
|
|
152
153
|
* <li>
|
|
153
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
154
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
155
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
156
|
+
* error message that accompanies the exception.</p>
|
|
154
157
|
* </li>
|
|
155
158
|
* </ul>
|
|
156
159
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { GetPublicKeyRequest, GetPublicKeyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -57,15 +57,14 @@ export interface GetPublicKeyCommandOutput extends GetPublicKeyResponse, __Metad
|
|
|
57
57
|
* public key from being used with an encryption algorithm that is not supported by KMS. You
|
|
58
58
|
* can also avoid errors, such as using the wrong signing algorithm in a verification
|
|
59
59
|
* operation.</p>
|
|
60
|
-
* <p>To verify a signature outside of KMS with an SM2 public key (China Regions only), you
|
|
61
|
-
* specify the distinguishing ID. By default, KMS uses <code>1234567812345678</code> as
|
|
62
|
-
* distinguishing ID. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html#key-spec-sm-offline-verification">Offline
|
|
63
|
-
* with SM2 key pairs</a>.</p>
|
|
60
|
+
* <p>To verify a signature outside of KMS with an SM2 public key (China Regions only), you
|
|
61
|
+
* must specify the distinguishing ID. By default, KMS uses <code>1234567812345678</code> as
|
|
62
|
+
* the distinguishing ID. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html#key-spec-sm-offline-verification">Offline
|
|
63
|
+
* verification with SM2 key pairs</a>.</p>
|
|
64
64
|
* <p>The KMS key that you use for this operation must be in a compatible key state. For
|
|
65
65
|
* details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key states of KMS keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
66
66
|
* <p>
|
|
67
|
-
* <b>Cross-account use</b>:
|
|
68
|
-
* Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify
|
|
67
|
+
* <b>Cross-account use</b>: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify
|
|
69
68
|
* the key ARN or alias ARN in the value of the <code>KeyId</code> parameter.</p>
|
|
70
69
|
* <p>
|
|
71
70
|
* <b>Required permissions</b>: <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:GetPublicKey</a> (key policy)</p>
|
|
@@ -165,7 +164,9 @@ export interface GetPublicKeyCommandOutput extends GetPublicKeyResponse, __Metad
|
|
|
165
164
|
* </i>.</p>
|
|
166
165
|
* </li>
|
|
167
166
|
* <li>
|
|
168
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
167
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
168
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
169
|
+
* error message that accompanies the exception.</p>
|
|
169
170
|
* </li>
|
|
170
171
|
* </ul>
|
|
171
172
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { ImportKeyMaterialRequest, ImportKeyMaterialResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -40,8 +40,7 @@ export interface ImportKeyMaterialCommandOutput extends ImportKeyMaterialRespons
|
|
|
40
40
|
* <p>Each time you import key material into KMS, you can determine whether
|
|
41
41
|
* (<code>ExpirationModel</code>) and when (<code>ValidTo</code>) the key material expires. To
|
|
42
42
|
* change the expiration of your key material, you must import it again, either by calling
|
|
43
|
-
*
|
|
44
|
-
* KMS console.</p>
|
|
43
|
+
* <code>ImportKeyMaterial</code> or using the <a href="kms/latest/developerguide/importing-keys-import-key-material.html#importing-keys-import-key-material-console">import features</a> of the KMS console.</p>
|
|
45
44
|
* <p>Before calling <code>ImportKeyMaterial</code>:</p>
|
|
46
45
|
* <ul>
|
|
47
46
|
* <li>
|
|
@@ -197,7 +196,9 @@ export interface ImportKeyMaterialCommandOutput extends ImportKeyMaterialRespons
|
|
|
197
196
|
* </i>.</p>
|
|
198
197
|
* </li>
|
|
199
198
|
* <li>
|
|
200
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
199
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
200
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
201
|
+
* error message that accompanies the exception.</p>
|
|
201
202
|
* </li>
|
|
202
203
|
* </ul>
|
|
203
204
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { ListAliasesRequest, ListAliasesResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { ListGrantsRequest, ListGrantsResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -151,7 +151,9 @@ export interface ListGrantsCommandOutput extends ListGrantsResponse, __MetadataB
|
|
|
151
151
|
* </i>.</p>
|
|
152
152
|
* </li>
|
|
153
153
|
* <li>
|
|
154
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
154
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
155
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
156
|
+
* error message that accompanies the exception.</p>
|
|
155
157
|
* </li>
|
|
156
158
|
* </ul>
|
|
157
159
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { ListKeyPoliciesRequest, ListKeyPoliciesResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -100,7 +100,9 @@ export interface ListKeyPoliciesCommandOutput extends ListKeyPoliciesResponse, _
|
|
|
100
100
|
* </i>.</p>
|
|
101
101
|
* </li>
|
|
102
102
|
* <li>
|
|
103
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
103
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
104
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
105
|
+
* error message that accompanies the exception.</p>
|
|
104
106
|
* </li>
|
|
105
107
|
* </ul>
|
|
106
108
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { ListKeysRequest, ListKeysResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { ListResourceTagsRequest, ListResourceTagsResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { ListGrantsResponse, ListRetirableGrantsRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { PutKeyPolicyRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -86,7 +86,9 @@ export interface PutKeyPolicyCommandOutput extends __MetadataBearer {
|
|
|
86
86
|
* </i>.</p>
|
|
87
87
|
* </li>
|
|
88
88
|
* <li>
|
|
89
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
89
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
90
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
91
|
+
* error message that accompanies the exception.</p>
|
|
90
92
|
* </li>
|
|
91
93
|
* </ul>
|
|
92
94
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { ReEncryptRequest, ReEncryptResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -139,6 +139,7 @@ export interface ReEncryptCommandOutput extends ReEncryptResponse, __MetadataBea
|
|
|
139
139
|
* GrantTokens: [ // GrantTokenList
|
|
140
140
|
* "STRING_VALUE",
|
|
141
141
|
* ],
|
|
142
|
+
* DryRun: true || false,
|
|
142
143
|
* };
|
|
143
144
|
* const command = new ReEncryptCommand(input);
|
|
144
145
|
* const response = await client.send(command);
|
|
@@ -165,6 +166,11 @@ export interface ReEncryptCommandOutput extends ReEncryptResponse, __MetadataBea
|
|
|
165
166
|
* @throws {@link DisabledException} (client fault)
|
|
166
167
|
* <p>The request was rejected because the specified KMS key is not enabled.</p>
|
|
167
168
|
*
|
|
169
|
+
* @throws {@link DryRunOperationException} (client fault)
|
|
170
|
+
* <p>
|
|
171
|
+
* The request was rejected because the DryRun parameter was specified.
|
|
172
|
+
* </p>
|
|
173
|
+
*
|
|
168
174
|
* @throws {@link IncorrectKeyException} (client fault)
|
|
169
175
|
* <p>The request was rejected because the specified KMS key cannot decrypt the data. The
|
|
170
176
|
* <code>KeyId</code> in a <a>Decrypt</a> request and the <code>SourceKeyId</code>
|
|
@@ -225,7 +231,9 @@ export interface ReEncryptCommandOutput extends ReEncryptResponse, __MetadataBea
|
|
|
225
231
|
* </i>.</p>
|
|
226
232
|
* </li>
|
|
227
233
|
* <li>
|
|
228
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
234
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
235
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
236
|
+
* error message that accompanies the exception.</p>
|
|
229
237
|
* </li>
|
|
230
238
|
* </ul>
|
|
231
239
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { ReplicateKeyRequest, ReplicateKeyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -220,7 +220,9 @@ export interface ReplicateKeyCommandOutput extends ReplicateKeyResponse, __Metad
|
|
|
220
220
|
* </i>.</p>
|
|
221
221
|
* </li>
|
|
222
222
|
* <li>
|
|
223
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
223
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
224
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
225
|
+
* error message that accompanies the exception.</p>
|
|
224
226
|
* </li>
|
|
225
227
|
* </ul>
|
|
226
228
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { RetireGrantRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -79,6 +79,7 @@ export interface RetireGrantCommandOutput extends __MetadataBearer {
|
|
|
79
79
|
* GrantToken: "STRING_VALUE",
|
|
80
80
|
* KeyId: "STRING_VALUE",
|
|
81
81
|
* GrantId: "STRING_VALUE",
|
|
82
|
+
* DryRun: true || false,
|
|
82
83
|
* };
|
|
83
84
|
* const command = new RetireGrantCommand(input);
|
|
84
85
|
* const response = await client.send(command);
|
|
@@ -96,6 +97,11 @@ export interface RetireGrantCommandOutput extends __MetadataBearer {
|
|
|
96
97
|
* <p>The system timed out while trying to fulfill the request. You can retry the
|
|
97
98
|
* request.</p>
|
|
98
99
|
*
|
|
100
|
+
* @throws {@link DryRunOperationException} (client fault)
|
|
101
|
+
* <p>
|
|
102
|
+
* The request was rejected because the DryRun parameter was specified.
|
|
103
|
+
* </p>
|
|
104
|
+
*
|
|
99
105
|
* @throws {@link InvalidArnException} (client fault)
|
|
100
106
|
* <p>The request was rejected because a specified ARN, or an ARN in a key policy, is not
|
|
101
107
|
* valid.</p>
|
|
@@ -124,7 +130,9 @@ export interface RetireGrantCommandOutput extends __MetadataBearer {
|
|
|
124
130
|
* </i>.</p>
|
|
125
131
|
* </li>
|
|
126
132
|
* <li>
|
|
127
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
133
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
134
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
135
|
+
* error message that accompanies the exception.</p>
|
|
128
136
|
* </li>
|
|
129
137
|
* </ul>
|
|
130
138
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { RevokeGrantRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -76,6 +76,7 @@ export interface RevokeGrantCommandOutput extends __MetadataBearer {
|
|
|
76
76
|
* const input = { // RevokeGrantRequest
|
|
77
77
|
* KeyId: "STRING_VALUE", // required
|
|
78
78
|
* GrantId: "STRING_VALUE", // required
|
|
79
|
+
* DryRun: true || false,
|
|
79
80
|
* };
|
|
80
81
|
* const command = new RevokeGrantCommand(input);
|
|
81
82
|
* const response = await client.send(command);
|
|
@@ -93,6 +94,11 @@ export interface RevokeGrantCommandOutput extends __MetadataBearer {
|
|
|
93
94
|
* <p>The system timed out while trying to fulfill the request. You can retry the
|
|
94
95
|
* request.</p>
|
|
95
96
|
*
|
|
97
|
+
* @throws {@link DryRunOperationException} (client fault)
|
|
98
|
+
* <p>
|
|
99
|
+
* The request was rejected because the DryRun parameter was specified.
|
|
100
|
+
* </p>
|
|
101
|
+
*
|
|
96
102
|
* @throws {@link InvalidArnException} (client fault)
|
|
97
103
|
* <p>The request was rejected because a specified ARN, or an ARN in a key policy, is not
|
|
98
104
|
* valid.</p>
|
|
@@ -118,7 +124,9 @@ export interface RevokeGrantCommandOutput extends __MetadataBearer {
|
|
|
118
124
|
* </i>.</p>
|
|
119
125
|
* </li>
|
|
120
126
|
* <li>
|
|
121
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
127
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
128
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
129
|
+
* error message that accompanies the exception.</p>
|
|
122
130
|
* </li>
|
|
123
131
|
* </ul>
|
|
124
132
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { ScheduleKeyDeletionRequest, ScheduleKeyDeletionResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -35,9 +35,9 @@ export interface ScheduleKeyDeletionCommandOutput extends ScheduleKeyDeletionRes
|
|
|
35
35
|
* <p>Deleting a KMS key is a destructive and potentially dangerous operation. When a KMS key
|
|
36
36
|
* is deleted, all data that was encrypted under the KMS key is unrecoverable. (The only
|
|
37
37
|
* exception is a <a href="kms/latest/developerguide/multi-region-keys-delete.html">multi-Region replica
|
|
38
|
-
* key</a>, or an asymmetric or HMAC KMS
|
|
39
|
-
*
|
|
40
|
-
*
|
|
38
|
+
* key</a>, or an <a href="kms/latest/developerguide/importing-keys-managing.html#import-delete-key">asymmetric or HMAC KMS
|
|
39
|
+
* key with imported key material</a>.) To prevent the use of a KMS key without deleting
|
|
40
|
+
* it, use <a>DisableKey</a>. </p>
|
|
41
41
|
* </important>
|
|
42
42
|
* <p>You can schedule the deletion of a multi-Region primary key and its replica keys at any
|
|
43
43
|
* time. However, KMS will not delete a multi-Region primary key with existing replica keys. If
|
|
@@ -134,7 +134,9 @@ export interface ScheduleKeyDeletionCommandOutput extends ScheduleKeyDeletionRes
|
|
|
134
134
|
* </i>.</p>
|
|
135
135
|
* </li>
|
|
136
136
|
* <li>
|
|
137
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
137
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
138
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
139
|
+
* error message that accompanies the exception.</p>
|
|
138
140
|
* </li>
|
|
139
141
|
* </ul>
|
|
140
142
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { SignRequest, SignResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -89,6 +89,7 @@ export interface SignCommandOutput extends SignResponse, __MetadataBearer {
|
|
|
89
89
|
* "STRING_VALUE",
|
|
90
90
|
* ],
|
|
91
91
|
* SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA", // required
|
|
92
|
+
* DryRun: true || false,
|
|
92
93
|
* };
|
|
93
94
|
* const command = new SignCommand(input);
|
|
94
95
|
* const response = await client.send(command);
|
|
@@ -113,6 +114,11 @@ export interface SignCommandOutput extends SignResponse, __MetadataBearer {
|
|
|
113
114
|
* @throws {@link DisabledException} (client fault)
|
|
114
115
|
* <p>The request was rejected because the specified KMS key is not enabled.</p>
|
|
115
116
|
*
|
|
117
|
+
* @throws {@link DryRunOperationException} (client fault)
|
|
118
|
+
* <p>
|
|
119
|
+
* The request was rejected because the DryRun parameter was specified.
|
|
120
|
+
* </p>
|
|
121
|
+
*
|
|
116
122
|
* @throws {@link InvalidGrantTokenException} (client fault)
|
|
117
123
|
* <p>The request was rejected because the specified grant token is not valid.</p>
|
|
118
124
|
*
|
|
@@ -159,7 +165,9 @@ export interface SignCommandOutput extends SignResponse, __MetadataBearer {
|
|
|
159
165
|
* </i>.</p>
|
|
160
166
|
* </li>
|
|
161
167
|
* <li>
|
|
162
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
168
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
169
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
170
|
+
* error message that accompanies the exception.</p>
|
|
163
171
|
* </li>
|
|
164
172
|
* </ul>
|
|
165
173
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { TagResourceRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -119,7 +119,9 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
119
119
|
* </i>.</p>
|
|
120
120
|
* </li>
|
|
121
121
|
* <li>
|
|
122
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
122
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
123
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
124
|
+
* error message that accompanies the exception.</p>
|
|
123
125
|
* </li>
|
|
124
126
|
* </ul>
|
|
125
127
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { UntagResourceRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -111,7 +111,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
111
111
|
* </i>.</p>
|
|
112
112
|
* </li>
|
|
113
113
|
* <li>
|
|
114
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
114
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
115
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
116
|
+
* error message that accompanies the exception.</p>
|
|
115
117
|
* </li>
|
|
116
118
|
* </ul>
|
|
117
119
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
5
5
|
import { UpdateAliasRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -130,7 +130,9 @@ export interface UpdateAliasCommandOutput extends __MetadataBearer {
|
|
|
130
130
|
* </i>.</p>
|
|
131
131
|
* </li>
|
|
132
132
|
* <li>
|
|
133
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
133
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
134
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
135
|
+
* error message that accompanies the exception.</p>
|
|
134
136
|
* </li>
|
|
135
137
|
* </ul>
|
|
136
138
|
*
|