@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 { UpdateCustomKeyStoreRequest, UpdateCustomKeyStoreResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -283,8 +283,9 @@ export interface UpdateCustomKeyStoreCommandOutput extends UpdateCustomKeyStoreR
|
|
|
283
283
|
* @throws {@link XksProxyUriUnreachableException} (client fault)
|
|
284
284
|
* <p>KMS was unable to reach the specified <code>XksProxyUriPath</code>. The path must be
|
|
285
285
|
* reachable before you create the external key store or update its settings.</p>
|
|
286
|
-
* <p>This exception is also thrown when the external key store proxy response to a
|
|
287
|
-
*
|
|
286
|
+
* <p>This exception is also thrown when the external key store proxy response to a
|
|
287
|
+
* <code>GetHealthStatus</code> request indicates that all external key manager instances are
|
|
288
|
+
* unavailable.</p>
|
|
288
289
|
*
|
|
289
290
|
* @throws {@link XksProxyVpcEndpointServiceInUseException} (client fault)
|
|
290
291
|
* <p>The request was rejected because the specified Amazon VPC endpoint service is already
|
|
@@ -294,7 +295,8 @@ export interface UpdateCustomKeyStoreCommandOutput extends UpdateCustomKeyStoreR
|
|
|
294
295
|
* @throws {@link XksProxyVpcEndpointServiceInvalidConfigurationException} (client fault)
|
|
295
296
|
* <p>The request was rejected because the Amazon VPC endpoint service configuration does not fulfill
|
|
296
297
|
* the requirements for an external key store proxy. For details, see the exception message and
|
|
297
|
-
* <a href="kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements">review the
|
|
298
|
+
* <a href="kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements">review the
|
|
299
|
+
* requirements</a> for Amazon VPC endpoint service connectivity for an external key
|
|
298
300
|
* store.</p>
|
|
299
301
|
*
|
|
300
302
|
* @throws {@link XksProxyVpcEndpointServiceNotFoundException} (client fault)
|
|
@@ -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 { UpdateKeyDescriptionRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -93,7 +93,9 @@ export interface UpdateKeyDescriptionCommandOutput extends __MetadataBearer {
|
|
|
93
93
|
* </i>.</p>
|
|
94
94
|
* </li>
|
|
95
95
|
* <li>
|
|
96
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
96
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
97
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
98
|
+
* error message that accompanies the exception.</p>
|
|
97
99
|
* </li>
|
|
98
100
|
* </ul>
|
|
99
101
|
*
|
|
@@ -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 { UpdatePrimaryRegionRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -135,7 +135,9 @@ export interface UpdatePrimaryRegionCommandOutput extends __MetadataBearer {
|
|
|
135
135
|
* </i>.</p>
|
|
136
136
|
* </li>
|
|
137
137
|
* <li>
|
|
138
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
138
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
139
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
140
|
+
* error message that accompanies the exception.</p>
|
|
139
141
|
* </li>
|
|
140
142
|
* </ul>
|
|
141
143
|
*
|
|
@@ -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 { VerifyRequest, VerifyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -33,11 +33,10 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
|
|
|
33
33
|
* <p>A digital signature is generated by using the private key in an asymmetric KMS key. The
|
|
34
34
|
* signature is verified by using the public key in the same asymmetric KMS key.
|
|
35
35
|
* For information about asymmetric KMS keys, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Asymmetric KMS keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
36
|
-
* <p>To use the <code>Verify</code> operation, specify the
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* hashed as part of the verification process.</p>
|
|
36
|
+
* <p>To use the <code>Verify</code> operation, specify the same asymmetric KMS key, message,
|
|
37
|
+
* and signing algorithm that were used to produce the signature. The message type does not need
|
|
38
|
+
* to be the same as the one used for signing, but it must indicate whether the value of the
|
|
39
|
+
* <code>Message</code> parameter should be hashed as part of the verification process.</p>
|
|
41
40
|
* <p>You can also verify the digital signature by using the public key of the KMS key outside
|
|
42
41
|
* of KMS. Use the <a>GetPublicKey</a> operation to download the public key in the
|
|
43
42
|
* asymmetric KMS key and then use the public key to verify the signature outside of KMS. The
|
|
@@ -45,10 +44,10 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
|
|
|
45
44
|
* a result, it's easy to call, the operation is performed within the FIPS boundary, it is logged
|
|
46
45
|
* in CloudTrail, and you can use key policy and IAM policy to determine who is authorized to use
|
|
47
46
|
* the KMS key to verify signatures.</p>
|
|
48
|
-
* <p>To verify a signature outside of KMS with an SM2 public key (China Regions only), you
|
|
49
|
-
* specify the distinguishing ID. By default, KMS uses <code>1234567812345678</code> as
|
|
50
|
-
* 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
|
|
51
|
-
* with SM2 key pairs</a>.</p>
|
|
47
|
+
* <p>To verify a signature outside of KMS with an SM2 public key (China Regions only), you
|
|
48
|
+
* must specify the distinguishing ID. By default, KMS uses <code>1234567812345678</code> as
|
|
49
|
+
* 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
|
|
50
|
+
* verification with SM2 key pairs</a>.</p>
|
|
52
51
|
* <p>The KMS key that you use for this operation must be in a compatible key state. For
|
|
53
52
|
* 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>
|
|
54
53
|
* <p>
|
|
@@ -74,6 +73,7 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
|
|
|
74
73
|
* GrantTokens: [ // GrantTokenList
|
|
75
74
|
* "STRING_VALUE",
|
|
76
75
|
* ],
|
|
76
|
+
* DryRun: true || false,
|
|
77
77
|
* };
|
|
78
78
|
* const command = new VerifyCommand(input);
|
|
79
79
|
* const response = await client.send(command);
|
|
@@ -98,6 +98,11 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
|
|
|
98
98
|
* @throws {@link DisabledException} (client fault)
|
|
99
99
|
* <p>The request was rejected because the specified KMS key is not enabled.</p>
|
|
100
100
|
*
|
|
101
|
+
* @throws {@link DryRunOperationException} (client fault)
|
|
102
|
+
* <p>
|
|
103
|
+
* The request was rejected because the DryRun parameter was specified.
|
|
104
|
+
* </p>
|
|
105
|
+
*
|
|
101
106
|
* @throws {@link InvalidGrantTokenException} (client fault)
|
|
102
107
|
* <p>The request was rejected because the specified grant token is not valid.</p>
|
|
103
108
|
*
|
|
@@ -149,7 +154,9 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
|
|
|
149
154
|
* </i>.</p>
|
|
150
155
|
* </li>
|
|
151
156
|
* <li>
|
|
152
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
157
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
158
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
159
|
+
* error message that accompanies the exception.</p>
|
|
153
160
|
* </li>
|
|
154
161
|
* </ul>
|
|
155
162
|
*
|
|
@@ -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 { VerifyMacRequest, VerifyMacResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -58,6 +58,7 @@ export interface VerifyMacCommandOutput extends VerifyMacResponse, __MetadataBea
|
|
|
58
58
|
* GrantTokens: [ // GrantTokenList
|
|
59
59
|
* "STRING_VALUE",
|
|
60
60
|
* ],
|
|
61
|
+
* DryRun: true || false,
|
|
61
62
|
* };
|
|
62
63
|
* const command = new VerifyMacCommand(input);
|
|
63
64
|
* const response = await client.send(command);
|
|
@@ -78,6 +79,11 @@ export interface VerifyMacCommandOutput extends VerifyMacResponse, __MetadataBea
|
|
|
78
79
|
* @throws {@link DisabledException} (client fault)
|
|
79
80
|
* <p>The request was rejected because the specified KMS key is not enabled.</p>
|
|
80
81
|
*
|
|
82
|
+
* @throws {@link DryRunOperationException} (client fault)
|
|
83
|
+
* <p>
|
|
84
|
+
* The request was rejected because the DryRun parameter was specified.
|
|
85
|
+
* </p>
|
|
86
|
+
*
|
|
81
87
|
* @throws {@link InvalidGrantTokenException} (client fault)
|
|
82
88
|
* <p>The request was rejected because the specified grant token is not valid.</p>
|
|
83
89
|
*
|
|
@@ -129,7 +135,9 @@ export interface VerifyMacCommandOutput extends VerifyMacResponse, __MetadataBea
|
|
|
129
135
|
* </i>.</p>
|
|
130
136
|
* </li>
|
|
131
137
|
* <li>
|
|
132
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
138
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
139
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
140
|
+
* error message that accompanies the exception.</p>
|
|
133
141
|
* </li>
|
|
134
142
|
* </ul>
|
|
135
143
|
*
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@
|
|
2
|
-
import { Endpoint, Provider } from "@smithy/types";
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
3
2
|
export interface ClientInputEndpointParameters {
|
|
4
3
|
region?: string | Provider<string>;
|
|
5
4
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@
|
|
1
|
+
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
2
|
import { EndpointParameters } from "./EndpointParameters";
|
|
3
3
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
4
|
logger?: Logger;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RuleSetObject } from "@
|
|
1
|
+
import { RuleSetObject } from "@smithy/types";
|
|
2
2
|
export declare const ruleSet: RuleSetObject;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
2
|
export { __ServiceException, __ServiceExceptionOptions };
|
|
3
3
|
/**
|
|
4
4
|
* @public
|