@aws-sdk/client-kms 3.533.0 → 3.535.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-types/KMS.d.ts +7 -1
- package/dist-types/KMSClient.d.ts +1 -1
- package/dist-types/commands/CancelKeyDeletionCommand.d.ts +2 -1
- package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +2 -1
- package/dist-types/commands/CreateAliasCommand.d.ts +2 -1
- package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +2 -1
- package/dist-types/commands/CreateGrantCommand.d.ts +2 -1
- package/dist-types/commands/CreateKeyCommand.d.ts +2 -1
- package/dist-types/commands/DecryptCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAliasCommand.d.ts +2 -1
- package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +2 -1
- package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +2 -1
- package/dist-types/commands/DescribeKeyCommand.d.ts +2 -1
- package/dist-types/commands/DisableKeyCommand.d.ts +2 -1
- package/dist-types/commands/DisableKeyRotationCommand.d.ts +2 -1
- package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +2 -1
- package/dist-types/commands/EnableKeyCommand.d.ts +2 -1
- package/dist-types/commands/EnableKeyRotationCommand.d.ts +2 -1
- package/dist-types/commands/EncryptCommand.d.ts +2 -1
- package/dist-types/commands/GenerateDataKeyCommand.d.ts +2 -1
- package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +2 -1
- package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +2 -1
- package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +2 -1
- package/dist-types/commands/GenerateMacCommand.d.ts +2 -1
- package/dist-types/commands/GenerateRandomCommand.d.ts +2 -1
- package/dist-types/commands/GetKeyPolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +2 -1
- package/dist-types/commands/GetParametersForImportCommand.d.ts +2 -1
- package/dist-types/commands/GetPublicKeyCommand.d.ts +2 -1
- package/dist-types/commands/ImportKeyMaterialCommand.d.ts +2 -1
- package/dist-types/commands/ListAliasesCommand.d.ts +2 -1
- package/dist-types/commands/ListGrantsCommand.d.ts +2 -1
- package/dist-types/commands/ListKeyPoliciesCommand.d.ts +2 -1
- package/dist-types/commands/ListKeysCommand.d.ts +2 -1
- package/dist-types/commands/ListResourceTagsCommand.d.ts +2 -1
- package/dist-types/commands/ListRetirableGrantsCommand.d.ts +2 -1
- package/dist-types/commands/PutKeyPolicyCommand.d.ts +2 -1
- package/dist-types/commands/ReEncryptCommand.d.ts +2 -1
- package/dist-types/commands/ReplicateKeyCommand.d.ts +2 -1
- package/dist-types/commands/RetireGrantCommand.d.ts +2 -1
- package/dist-types/commands/RevokeGrantCommand.d.ts +2 -1
- package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +2 -1
- package/dist-types/commands/SignCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAliasCommand.d.ts +2 -1
- package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +2 -1
- package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +2 -1
- package/dist-types/commands/VerifyCommand.d.ts +2 -1
- package/dist-types/commands/VerifyMacCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +404 -404
- package/dist-types/ts3.4/KMS.d.ts +6 -0
- package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DecryptCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/EncryptCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SignCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/VerifyCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +9 -0
- package/package.json +40 -40
|
@@ -22,10 +22,10 @@ export interface GetKeyRotationStatusCommandOutput extends GetKeyRotationStatusR
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetKeyRotationStatusCommand_base: {
|
|
24
24
|
new (input: GetKeyRotationStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetKeyRotationStatusCommandInput, GetKeyRotationStatusCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetKeyRotationStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetKeyRotationStatusCommandInput, GetKeyRotationStatusCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets a Boolean value that indicates whether <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html">automatic rotation of the key material</a> is
|
|
30
30
|
* enabled for the specified KMS key.</p>
|
|
31
31
|
* <p>When you enable automatic rotation for <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed KMS keys</a>, KMS
|
|
@@ -148,6 +148,7 @@ declare const GetKeyRotationStatusCommand_base: {
|
|
|
148
148
|
* @throws {@link KMSServiceException}
|
|
149
149
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
150
150
|
*
|
|
151
|
+
* @public
|
|
151
152
|
* @example To retrieve the rotation status for a KMS key
|
|
152
153
|
* ```javascript
|
|
153
154
|
* // The following example retrieves the status of automatic annual rotation of the key material for the specified KMS key.
|
|
@@ -22,10 +22,10 @@ export interface GetParametersForImportCommandOutput extends GetParametersForImp
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetParametersForImportCommand_base: {
|
|
24
24
|
new (input: GetParametersForImportCommandInput): import("@smithy/smithy-client").CommandImpl<GetParametersForImportCommandInput, GetParametersForImportCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetParametersForImportCommandInput): import("@smithy/smithy-client").CommandImpl<GetParametersForImportCommandInput, GetParametersForImportCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns the public key and an import token you need to import or reimport key material for
|
|
30
30
|
* a KMS key. </p>
|
|
31
31
|
* <p>By default, KMS keys are created with key material that KMS generates. This operation
|
|
@@ -174,6 +174,7 @@ declare const GetParametersForImportCommand_base: {
|
|
|
174
174
|
* @throws {@link KMSServiceException}
|
|
175
175
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
176
176
|
*
|
|
177
|
+
* @public
|
|
177
178
|
* @example To download the public key and import token for a symmetric encryption KMS key
|
|
178
179
|
* ```javascript
|
|
179
180
|
* // The following example downloads a public key and import token to import symmetric encryption key material. It uses the default wrapping key spec and the RSAES_OAEP_SHA_256 wrapping algorithm.
|
|
@@ -22,10 +22,10 @@ export interface GetPublicKeyCommandOutput extends GetPublicKeyResponse, __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetPublicKeyCommand_base: {
|
|
24
24
|
new (input: GetPublicKeyCommandInput): import("@smithy/smithy-client").CommandImpl<GetPublicKeyCommandInput, GetPublicKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetPublicKeyCommandInput): import("@smithy/smithy-client").CommandImpl<GetPublicKeyCommandInput, GetPublicKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns the public key of an asymmetric KMS key. Unlike the private key of a asymmetric
|
|
30
30
|
* KMS key, which never leaves KMS unencrypted, callers with <code>kms:GetPublicKey</code>
|
|
31
31
|
* permission can download the public key of an asymmetric KMS key. You can share the public key
|
|
@@ -187,6 +187,7 @@ declare const GetPublicKeyCommand_base: {
|
|
|
187
187
|
* @throws {@link KMSServiceException}
|
|
188
188
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
189
189
|
*
|
|
190
|
+
* @public
|
|
190
191
|
* @example To download the public key of an asymmetric KMS key
|
|
191
192
|
* ```javascript
|
|
192
193
|
* // This example gets the public key of an asymmetric RSA KMS key used for encryption and decryption. The operation returns the key spec, key usage, and encryption or signing algorithms to help you use the public key correctly outside of AWS KMS.
|
|
@@ -22,10 +22,10 @@ export interface ImportKeyMaterialCommandOutput extends ImportKeyMaterialRespons
|
|
|
22
22
|
}
|
|
23
23
|
declare const ImportKeyMaterialCommand_base: {
|
|
24
24
|
new (input: ImportKeyMaterialCommandInput): import("@smithy/smithy-client").CommandImpl<ImportKeyMaterialCommandInput, ImportKeyMaterialCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ImportKeyMaterialCommandInput): import("@smithy/smithy-client").CommandImpl<ImportKeyMaterialCommandInput, ImportKeyMaterialCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Imports or reimports key material into an existing KMS key that was created without key
|
|
30
30
|
* material. <code>ImportKeyMaterial</code> also sets the expiration model and expiration date of
|
|
31
31
|
* the imported key material.</p>
|
|
@@ -219,6 +219,7 @@ declare const ImportKeyMaterialCommand_base: {
|
|
|
219
219
|
* @throws {@link KMSServiceException}
|
|
220
220
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
221
221
|
*
|
|
222
|
+
* @public
|
|
222
223
|
* @example To import key material into a KMS key
|
|
223
224
|
* ```javascript
|
|
224
225
|
* // The following example imports key material into the specified KMS key.
|
|
@@ -22,10 +22,10 @@ export interface ListAliasesCommandOutput extends ListAliasesResponse, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListAliasesCommand_base: {
|
|
24
24
|
new (input: ListAliasesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAliasesCommandInput, ListAliasesCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListAliasesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAliasesCommandInput, ListAliasesCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets a list of aliases in the caller's Amazon Web Services account and region. For more information
|
|
30
30
|
* about aliases, see <a>CreateAlias</a>.</p>
|
|
31
31
|
* <p>By default, the <code>ListAliases</code> operation returns all aliases in the account and
|
|
@@ -128,6 +128,7 @@ declare const ListAliasesCommand_base: {
|
|
|
128
128
|
* @throws {@link KMSServiceException}
|
|
129
129
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
130
130
|
*
|
|
131
|
+
* @public
|
|
131
132
|
* @example To list aliases
|
|
132
133
|
* ```javascript
|
|
133
134
|
* // The following example lists aliases.
|
|
@@ -22,10 +22,10 @@ export interface ListGrantsCommandOutput extends ListGrantsResponse, __MetadataB
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListGrantsCommand_base: {
|
|
24
24
|
new (input: ListGrantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListGrantsCommandInput, ListGrantsCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListGrantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListGrantsCommandInput, ListGrantsCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets a list of all grants for the specified KMS key. </p>
|
|
30
30
|
* <p>You must specify the KMS key in all requests. You can filter the grant list by grant ID or
|
|
31
31
|
* grantee principal.</p>
|
|
@@ -170,6 +170,7 @@ declare const ListGrantsCommand_base: {
|
|
|
170
170
|
* @throws {@link KMSServiceException}
|
|
171
171
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
172
172
|
*
|
|
173
|
+
* @public
|
|
173
174
|
* @example To list grants for a KMS key
|
|
174
175
|
* ```javascript
|
|
175
176
|
* // The following example lists grants for the specified KMS key.
|
|
@@ -22,10 +22,10 @@ export interface ListKeyPoliciesCommandOutput extends ListKeyPoliciesResponse, _
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListKeyPoliciesCommand_base: {
|
|
24
24
|
new (input: ListKeyPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl<ListKeyPoliciesCommandInput, ListKeyPoliciesCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListKeyPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl<ListKeyPoliciesCommandInput, ListKeyPoliciesCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets the names of the key policies that are attached to a KMS key. This operation is
|
|
30
30
|
* designed to get policy names that you can use in a <a>GetKeyPolicy</a> operation.
|
|
31
31
|
* However, the only valid policy name is <code>default</code>. </p>
|
|
@@ -119,6 +119,7 @@ declare const ListKeyPoliciesCommand_base: {
|
|
|
119
119
|
* @throws {@link KMSServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
121
121
|
*
|
|
122
|
+
* @public
|
|
122
123
|
* @example To list key policies for a KMS key
|
|
123
124
|
* ```javascript
|
|
124
125
|
* // The following example lists key policies for the specified KMS key.
|
|
@@ -22,10 +22,10 @@ export interface ListKeysCommandOutput extends ListKeysResponse, __MetadataBeare
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListKeysCommand_base: {
|
|
24
24
|
new (input: ListKeysCommandInput): import("@smithy/smithy-client").CommandImpl<ListKeysCommandInput, ListKeysCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListKeysCommandInput]): import("@smithy/smithy-client").CommandImpl<ListKeysCommandInput, ListKeysCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets a list of all KMS keys in the caller's Amazon Web Services account and Region.</p>
|
|
30
30
|
* <p>
|
|
31
31
|
* <b>Cross-account use</b>: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.</p>
|
|
@@ -105,6 +105,7 @@ declare const ListKeysCommand_base: {
|
|
|
105
105
|
* @throws {@link KMSServiceException}
|
|
106
106
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
107
107
|
*
|
|
108
|
+
* @public
|
|
108
109
|
* @example To list KMS keys
|
|
109
110
|
* ```javascript
|
|
110
111
|
* // The following example lists KMS keys.
|
|
@@ -22,10 +22,10 @@ export interface ListResourceTagsCommandOutput extends ListResourceTagsResponse,
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListResourceTagsCommand_base: {
|
|
24
24
|
new (input: ListResourceTagsCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceTagsCommandInput, ListResourceTagsCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListResourceTagsCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceTagsCommandInput, ListResourceTagsCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns all tags on the specified KMS key.</p>
|
|
30
30
|
* <p>For general information about tags, including the format and syntax, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in
|
|
31
31
|
* the <i>Amazon Web Services General Reference</i>. For information about using
|
|
@@ -114,6 +114,7 @@ declare const ListResourceTagsCommand_base: {
|
|
|
114
114
|
* @throws {@link KMSServiceException}
|
|
115
115
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
116
116
|
*
|
|
117
|
+
* @public
|
|
117
118
|
* @example To list tags for a KMS key
|
|
118
119
|
* ```javascript
|
|
119
120
|
* // The following example lists tags for a KMS key.
|
|
@@ -22,10 +22,10 @@ export interface ListRetirableGrantsCommandOutput extends ListGrantsResponse, __
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListRetirableGrantsCommand_base: {
|
|
24
24
|
new (input: ListRetirableGrantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRetirableGrantsCommandInput, ListRetirableGrantsCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListRetirableGrantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRetirableGrantsCommandInput, ListRetirableGrantsCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns information about all grants in the Amazon Web Services account and Region that have the
|
|
30
30
|
* specified retiring principal. </p>
|
|
31
31
|
* <p>You can specify any principal in your Amazon Web Services account. The grants that are returned include
|
|
@@ -152,6 +152,7 @@ declare const ListRetirableGrantsCommand_base: {
|
|
|
152
152
|
* @throws {@link KMSServiceException}
|
|
153
153
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
154
154
|
*
|
|
155
|
+
* @public
|
|
155
156
|
* @example To list grants that the specified principal can retire
|
|
156
157
|
* ```javascript
|
|
157
158
|
* // The following example lists the grants that the specified principal (identity) can retire.
|
|
@@ -22,10 +22,10 @@ export interface PutKeyPolicyCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const PutKeyPolicyCommand_base: {
|
|
24
24
|
new (input: PutKeyPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutKeyPolicyCommandInput, PutKeyPolicyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: PutKeyPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutKeyPolicyCommandInput, PutKeyPolicyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Attaches a key policy to the specified KMS key. </p>
|
|
30
30
|
* <p>For more information about key policies, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Key Policies</a> in the <i>Key Management Service Developer Guide</i>.
|
|
31
31
|
* 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>
|
|
@@ -117,6 +117,7 @@ declare const PutKeyPolicyCommand_base: {
|
|
|
117
117
|
* @throws {@link KMSServiceException}
|
|
118
118
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
119
119
|
*
|
|
120
|
+
* @public
|
|
120
121
|
* @example To attach a key policy to a KMS key
|
|
121
122
|
* ```javascript
|
|
122
123
|
* // The following example attaches a key policy to the specified KMS key.
|
|
@@ -22,10 +22,10 @@ export interface ReEncryptCommandOutput extends ReEncryptResponse, __MetadataBea
|
|
|
22
22
|
}
|
|
23
23
|
declare const ReEncryptCommand_base: {
|
|
24
24
|
new (input: ReEncryptCommandInput): import("@smithy/smithy-client").CommandImpl<ReEncryptCommandInput, ReEncryptCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ReEncryptCommandInput): import("@smithy/smithy-client").CommandImpl<ReEncryptCommandInput, ReEncryptCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Decrypts ciphertext and then reencrypts it entirely within KMS. You can use this
|
|
30
30
|
* operation to change the KMS key under which data is encrypted, such as when you <a href="https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html#rotate-keys-manually">manually
|
|
31
31
|
* rotate</a> a KMS key or change the KMS key that protects a ciphertext. You can also use
|
|
@@ -248,6 +248,7 @@ declare const ReEncryptCommand_base: {
|
|
|
248
248
|
* @throws {@link KMSServiceException}
|
|
249
249
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
250
250
|
*
|
|
251
|
+
* @public
|
|
251
252
|
* @example To reencrypt data
|
|
252
253
|
* ```javascript
|
|
253
254
|
* // The following example reencrypts data with the specified KMS key.
|
|
@@ -22,10 +22,10 @@ export interface ReplicateKeyCommandOutput extends ReplicateKeyResponse, __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const ReplicateKeyCommand_base: {
|
|
24
24
|
new (input: ReplicateKeyCommandInput): import("@smithy/smithy-client").CommandImpl<ReplicateKeyCommandInput, ReplicateKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ReplicateKeyCommandInput): import("@smithy/smithy-client").CommandImpl<ReplicateKeyCommandInput, ReplicateKeyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Replicates a multi-Region key into the specified Region. This operation creates a
|
|
30
30
|
* multi-Region replica key based on a multi-Region primary key in a different Region of the same
|
|
31
31
|
* Amazon Web Services partition. You can create multiple replicas of a primary key, but each must be in a
|
|
@@ -255,6 +255,7 @@ declare const ReplicateKeyCommand_base: {
|
|
|
255
255
|
* @throws {@link KMSServiceException}
|
|
256
256
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
257
257
|
*
|
|
258
|
+
* @public
|
|
258
259
|
* @example To replicate a multi-Region key in a different AWS Region
|
|
259
260
|
* ```javascript
|
|
260
261
|
* // This example creates a multi-Region replica key in us-west-2 of a multi-Region primary key in us-east-1.
|
|
@@ -22,10 +22,10 @@ export interface RetireGrantCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const RetireGrantCommand_base: {
|
|
24
24
|
new (input: RetireGrantCommandInput): import("@smithy/smithy-client").CommandImpl<RetireGrantCommandInput, RetireGrantCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [RetireGrantCommandInput]): import("@smithy/smithy-client").CommandImpl<RetireGrantCommandInput, RetireGrantCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes a grant. Typically, you retire a grant when you no longer need its permissions. To
|
|
30
30
|
* identify the grant to retire, use a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token">grant token</a>, or both the grant ID and a
|
|
31
31
|
* key identifier (key ID or key ARN) of the KMS key. The <a>CreateGrant</a> operation
|
|
@@ -147,6 +147,7 @@ declare const RetireGrantCommand_base: {
|
|
|
147
147
|
* @throws {@link KMSServiceException}
|
|
148
148
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
149
149
|
*
|
|
150
|
+
* @public
|
|
150
151
|
* @example To retire a grant
|
|
151
152
|
* ```javascript
|
|
152
153
|
* // The following example retires a grant.
|
|
@@ -22,10 +22,10 @@ export interface RevokeGrantCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const RevokeGrantCommand_base: {
|
|
24
24
|
new (input: RevokeGrantCommandInput): import("@smithy/smithy-client").CommandImpl<RevokeGrantCommandInput, RevokeGrantCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: RevokeGrantCommandInput): import("@smithy/smithy-client").CommandImpl<RevokeGrantCommandInput, RevokeGrantCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes the specified grant. You revoke a grant to terminate the permissions that the
|
|
30
30
|
* grant allows. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/managing-grants.html#grant-delete">Retiring and revoking grants</a> in
|
|
31
31
|
* the <i>
|
|
@@ -141,6 +141,7 @@ declare const RevokeGrantCommand_base: {
|
|
|
141
141
|
* @throws {@link KMSServiceException}
|
|
142
142
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
143
143
|
*
|
|
144
|
+
* @public
|
|
144
145
|
* @example To revoke a grant
|
|
145
146
|
* ```javascript
|
|
146
147
|
* // The following example revokes a grant.
|
|
@@ -22,10 +22,10 @@ export interface ScheduleKeyDeletionCommandOutput extends ScheduleKeyDeletionRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const ScheduleKeyDeletionCommand_base: {
|
|
24
24
|
new (input: ScheduleKeyDeletionCommandInput): import("@smithy/smithy-client").CommandImpl<ScheduleKeyDeletionCommandInput, ScheduleKeyDeletionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ScheduleKeyDeletionCommandInput): import("@smithy/smithy-client").CommandImpl<ScheduleKeyDeletionCommandInput, ScheduleKeyDeletionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Schedules the deletion of a KMS key. By default, KMS applies a waiting period of 30
|
|
30
30
|
* days, but you can specify a waiting period of 7-30 days. When this operation is successful,
|
|
31
31
|
* the key state of the KMS key changes to <code>PendingDeletion</code> and the key can't be used
|
|
@@ -152,6 +152,7 @@ declare const ScheduleKeyDeletionCommand_base: {
|
|
|
152
152
|
* @throws {@link KMSServiceException}
|
|
153
153
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
154
154
|
*
|
|
155
|
+
* @public
|
|
155
156
|
* @example To schedule a KMS key for deletion
|
|
156
157
|
* ```javascript
|
|
157
158
|
* // The following example schedules the specified KMS key for deletion.
|
|
@@ -22,10 +22,10 @@ export interface SignCommandOutput extends SignResponse, __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const SignCommand_base: {
|
|
24
24
|
new (input: SignCommandInput): import("@smithy/smithy-client").CommandImpl<SignCommandInput, SignCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: SignCommandInput): import("@smithy/smithy-client").CommandImpl<SignCommandInput, SignCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates a <a href="https://en.wikipedia.org/wiki/Digital_signature">digital
|
|
30
30
|
* signature</a> for a message or message digest by using the private key in an asymmetric
|
|
31
31
|
* signing KMS key. To verify the signature, use the <a>Verify</a> operation, or use
|
|
@@ -182,6 +182,7 @@ declare const SignCommand_base: {
|
|
|
182
182
|
* @throws {@link KMSServiceException}
|
|
183
183
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
184
184
|
*
|
|
185
|
+
* @public
|
|
185
186
|
* @example To digitally sign a message with an asymmetric KMS key.
|
|
186
187
|
* ```javascript
|
|
187
188
|
* // This operation uses the private key in an asymmetric elliptic curve (ECC) KMS key to generate a digital signature for a given message.
|
|
@@ -22,10 +22,10 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const TagResourceCommand_base: {
|
|
24
24
|
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Adds or edits tags on a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a>.</p>
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/abac.html">ABAC for KMS</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
@@ -145,6 +145,7 @@ declare const TagResourceCommand_base: {
|
|
|
145
145
|
* @throws {@link KMSServiceException}
|
|
146
146
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
147
147
|
*
|
|
148
|
+
* @public
|
|
148
149
|
* @example To tag a KMS key
|
|
149
150
|
* ```javascript
|
|
150
151
|
* // The following example tags a KMS key.
|
|
@@ -22,10 +22,10 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const UntagResourceCommand_base: {
|
|
24
24
|
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes tags from a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a>. To delete a tag,
|
|
30
30
|
* specify the tag key and the KMS key.</p>
|
|
31
31
|
* <note>
|
|
@@ -133,6 +133,7 @@ declare const UntagResourceCommand_base: {
|
|
|
133
133
|
* @throws {@link KMSServiceException}
|
|
134
134
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
135
135
|
*
|
|
136
|
+
* @public
|
|
136
137
|
* @example To remove tags from a KMS key
|
|
137
138
|
* ```javascript
|
|
138
139
|
* // The following example removes tags from a KMS key.
|
|
@@ -22,10 +22,10 @@ export interface UpdateAliasCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const UpdateAliasCommand_base: {
|
|
24
24
|
new (input: UpdateAliasCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAliasCommandInput, UpdateAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateAliasCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAliasCommandInput, UpdateAliasCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Associates an existing KMS alias with a different KMS key. Each alias is associated with
|
|
30
30
|
* only one KMS key at a time, although a KMS key can have multiple aliases. The alias and the
|
|
31
31
|
* KMS key must be in the same Amazon Web Services account and Region.</p>
|
|
@@ -153,6 +153,7 @@ declare const UpdateAliasCommand_base: {
|
|
|
153
153
|
* @throws {@link KMSServiceException}
|
|
154
154
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
155
155
|
*
|
|
156
|
+
* @public
|
|
156
157
|
* @example To update an alias
|
|
157
158
|
* ```javascript
|
|
158
159
|
* // The following example updates the specified alias to refer to the specified KMS key.
|
|
@@ -22,10 +22,10 @@ export interface UpdateCustomKeyStoreCommandOutput extends UpdateCustomKeyStoreR
|
|
|
22
22
|
}
|
|
23
23
|
declare const UpdateCustomKeyStoreCommand_base: {
|
|
24
24
|
new (input: UpdateCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCustomKeyStoreCommandInput, UpdateCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateCustomKeyStoreCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCustomKeyStoreCommandInput, UpdateCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Changes the properties of a custom key store. You can use this operation to change the
|
|
30
30
|
* properties of an CloudHSM key store or an external key store.</p>
|
|
31
31
|
* <p>Use the required <code>CustomKeyStoreId</code> parameter to identify the custom key store.
|
|
@@ -313,6 +313,7 @@ declare const UpdateCustomKeyStoreCommand_base: {
|
|
|
313
313
|
* @throws {@link KMSServiceException}
|
|
314
314
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
315
315
|
*
|
|
316
|
+
* @public
|
|
316
317
|
* @example To edit the friendly name of a custom key store
|
|
317
318
|
* ```javascript
|
|
318
319
|
* // This example changes the friendly name of the AWS KMS custom key store to the name that you specify. This operation does not return any data. To verify that the operation worked, use the DescribeCustomKeyStores operation.
|
|
@@ -22,10 +22,10 @@ export interface UpdateKeyDescriptionCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const UpdateKeyDescriptionCommand_base: {
|
|
24
24
|
new (input: UpdateKeyDescriptionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateKeyDescriptionCommandInput, UpdateKeyDescriptionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateKeyDescriptionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateKeyDescriptionCommandInput, UpdateKeyDescriptionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Updates the description of a KMS key. To see the description of a KMS key, use <a>DescribeKey</a>. </p>
|
|
30
30
|
* <p>The KMS key that you use for this operation must be in a compatible key state. For
|
|
31
31
|
* 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>
|
|
@@ -112,6 +112,7 @@ declare const UpdateKeyDescriptionCommand_base: {
|
|
|
112
112
|
* @throws {@link KMSServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
114
114
|
*
|
|
115
|
+
* @public
|
|
115
116
|
* @example To update the description of a KMS key
|
|
116
117
|
* ```javascript
|
|
117
118
|
* // The following example updates the description of the specified KMS key.
|
|
@@ -22,10 +22,10 @@ export interface UpdatePrimaryRegionCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const UpdatePrimaryRegionCommand_base: {
|
|
24
24
|
new (input: UpdatePrimaryRegionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePrimaryRegionCommandInput, UpdatePrimaryRegionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdatePrimaryRegionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePrimaryRegionCommandInput, UpdatePrimaryRegionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Changes the primary key of a multi-Region key. </p>
|
|
30
30
|
* <p>This operation changes the replica key in the specified Region to a primary key and
|
|
31
31
|
* changes the former primary key to a replica key. For example, suppose you have a primary key
|
|
@@ -158,6 +158,7 @@ declare const UpdatePrimaryRegionCommand_base: {
|
|
|
158
158
|
* @throws {@link KMSServiceException}
|
|
159
159
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
160
160
|
*
|
|
161
|
+
* @public
|
|
161
162
|
* @example To update the primary Region of a multi-Region KMS key
|
|
162
163
|
* ```javascript
|
|
163
164
|
* // The following UpdatePrimaryRegion example changes the multi-Region replica key in the eu-central-1 Region to the primary key. The current primary key in the us-west-1 Region becomes a replica key.
|
|
@@ -22,10 +22,10 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const VerifyCommand_base: {
|
|
24
24
|
new (input: VerifyCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyCommandInput, VerifyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: VerifyCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyCommandInput, VerifyCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Verifies a digital signature that was generated by the <a>Sign</a> operation. </p>
|
|
30
30
|
* <p></p>
|
|
31
31
|
* <p>Verification confirms that an authorized user signed the message with the specified KMS
|
|
@@ -171,6 +171,7 @@ declare const VerifyCommand_base: {
|
|
|
171
171
|
* @throws {@link KMSServiceException}
|
|
172
172
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
173
173
|
*
|
|
174
|
+
* @public
|
|
174
175
|
* @example To use an asymmetric KMS key to verify a digital signature
|
|
175
176
|
* ```javascript
|
|
176
177
|
* // This operation uses the public key in an elliptic curve (ECC) asymmetric key to verify a digital signature within AWS KMS.
|
|
@@ -22,10 +22,10 @@ export interface VerifyMacCommandOutput extends VerifyMacResponse, __MetadataBea
|
|
|
22
22
|
}
|
|
23
23
|
declare const VerifyMacCommand_base: {
|
|
24
24
|
new (input: VerifyMacCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyMacCommandInput, VerifyMacCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: VerifyMacCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyMacCommandInput, VerifyMacCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Verifies the hash-based message authentication code (HMAC) for a specified message, HMAC
|
|
30
30
|
* KMS key, and MAC algorithm. To verify the HMAC, <code>VerifyMac</code> computes an HMAC using
|
|
31
31
|
* the message, HMAC KMS key, and MAC algorithm that you specify, and compares the computed HMAC
|
|
@@ -152,6 +152,7 @@ declare const VerifyMacCommand_base: {
|
|
|
152
152
|
* @throws {@link KMSServiceException}
|
|
153
153
|
* <p>Base exception class for all service exceptions from KMS service.</p>
|
|
154
154
|
*
|
|
155
|
+
* @public
|
|
155
156
|
* @example To verify an HMAC
|
|
156
157
|
* ```javascript
|
|
157
158
|
* // This example verifies an HMAC for a particular message, HMAC KMS keys, and MAC algorithm. A value of 'true' in the MacValid value in the response indicates that the HMAC is valid.
|