@aws-sdk/client-kms 3.933.0 → 3.935.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +211 -210
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +210 -0
- package/dist-es/models/errors.js +577 -0
- package/dist-es/models/models_0.js +1 -787
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +434 -0
- package/dist-types/models/errors.d.ts +769 -0
- package/dist-types/models/models_0.d.ts +1 -1203
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +256 -0
- package/dist-types/ts3.4/models/errors.d.ts +381 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -637
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { KMSServiceException as __BaseException } from "./KMSServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const AlgorithmSpec: {
|
|
8
|
-
readonly RSAES_OAEP_SHA_1: "RSAES_OAEP_SHA_1";
|
|
9
|
-
readonly RSAES_OAEP_SHA_256: "RSAES_OAEP_SHA_256";
|
|
10
|
-
readonly RSAES_PKCS1_V1_5: "RSAES_PKCS1_V1_5";
|
|
11
|
-
readonly RSA_AES_KEY_WRAP_SHA_1: "RSA_AES_KEY_WRAP_SHA_1";
|
|
12
|
-
readonly RSA_AES_KEY_WRAP_SHA_256: "RSA_AES_KEY_WRAP_SHA_256";
|
|
13
|
-
readonly SM2PKE: "SM2PKE";
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
|
-
export type AlgorithmSpec = (typeof AlgorithmSpec)[keyof typeof AlgorithmSpec];
|
|
1
|
+
import { AlgorithmSpec, ConnectionErrorCodeType, ConnectionStateType, CustomerMasterKeySpec, CustomKeyStoreType, DataKeyPairSpec, DataKeySpec, EncryptionAlgorithmSpec, ExpirationModelType, GrantOperation, ImportState, ImportType, IncludeKeyMaterial, KeyAgreementAlgorithmSpec, KeyEncryptionMechanism, KeyManagerType, KeyMaterialState, KeySpec, KeyState, KeyUsageType, MacAlgorithmSpec, MessageType, MultiRegionKeyType, OriginType, RotationType, SigningAlgorithmSpec, WrappingKeySpec, XksProxyConnectivityType } from "./enums";
|
|
19
2
|
/**
|
|
20
3
|
* <p>Contains information about an alias.</p>
|
|
21
4
|
* @public
|
|
@@ -49,19 +32,6 @@ export interface AliasListEntry {
|
|
|
49
32
|
*/
|
|
50
33
|
LastUpdatedDate?: Date | undefined;
|
|
51
34
|
}
|
|
52
|
-
/**
|
|
53
|
-
* <p>The request was rejected because it attempted to create a resource that already
|
|
54
|
-
* exists.</p>
|
|
55
|
-
* @public
|
|
56
|
-
*/
|
|
57
|
-
export declare class AlreadyExistsException extends __BaseException {
|
|
58
|
-
readonly name: "AlreadyExistsException";
|
|
59
|
-
readonly $fault: "client";
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
|
|
64
|
-
}
|
|
65
35
|
/**
|
|
66
36
|
* @public
|
|
67
37
|
*/
|
|
@@ -95,207 +65,6 @@ export interface CancelKeyDeletionResponse {
|
|
|
95
65
|
*/
|
|
96
66
|
KeyId?: string | undefined;
|
|
97
67
|
}
|
|
98
|
-
/**
|
|
99
|
-
* <p>The system timed out while trying to fulfill the request. You can retry the
|
|
100
|
-
* request.</p>
|
|
101
|
-
* @public
|
|
102
|
-
*/
|
|
103
|
-
export declare class DependencyTimeoutException extends __BaseException {
|
|
104
|
-
readonly name: "DependencyTimeoutException";
|
|
105
|
-
readonly $fault: "server";
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
constructor(opts: __ExceptionOptionType<DependencyTimeoutException, __BaseException>);
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* <p>The request was rejected because a specified ARN, or an ARN in a key policy, is not
|
|
113
|
-
* valid.</p>
|
|
114
|
-
* @public
|
|
115
|
-
*/
|
|
116
|
-
export declare class InvalidArnException extends __BaseException {
|
|
117
|
-
readonly name: "InvalidArnException";
|
|
118
|
-
readonly $fault: "client";
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
|
-
constructor(opts: __ExceptionOptionType<InvalidArnException, __BaseException>);
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* <p>The request was rejected because an internal exception occurred. The request can be
|
|
126
|
-
* retried.</p>
|
|
127
|
-
* @public
|
|
128
|
-
*/
|
|
129
|
-
export declare class KMSInternalException extends __BaseException {
|
|
130
|
-
readonly name: "KMSInternalException";
|
|
131
|
-
readonly $fault: "server";
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
constructor(opts: __ExceptionOptionType<KMSInternalException, __BaseException>);
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* <p>The request was rejected because the state of the specified resource is not valid for this
|
|
139
|
-
* request.</p>
|
|
140
|
-
* <p>This exceptions means one of the following:</p>
|
|
141
|
-
* <ul>
|
|
142
|
-
* <li>
|
|
143
|
-
* <p>The key state of the KMS key is not compatible with the operation. </p>
|
|
144
|
-
* <p>To find the key state, use the <a>DescribeKey</a> operation. For more
|
|
145
|
-
* information about which key states are compatible with each KMS operation, see
|
|
146
|
-
* <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key states of KMS keys</a> in the <i>
|
|
147
|
-
* <i>Key Management Service Developer Guide</i>
|
|
148
|
-
* </i>.</p>
|
|
149
|
-
* </li>
|
|
150
|
-
* <li>
|
|
151
|
-
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
152
|
-
* represents a general failure with many possible causes. To identify the cause, see the
|
|
153
|
-
* error message that accompanies the exception.</p>
|
|
154
|
-
* </li>
|
|
155
|
-
* </ul>
|
|
156
|
-
* @public
|
|
157
|
-
*/
|
|
158
|
-
export declare class KMSInvalidStateException extends __BaseException {
|
|
159
|
-
readonly name: "KMSInvalidStateException";
|
|
160
|
-
readonly $fault: "client";
|
|
161
|
-
/**
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
164
|
-
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
165
|
-
}
|
|
166
|
-
/**
|
|
167
|
-
* <p>The request was rejected because the specified entity or resource could not be
|
|
168
|
-
* found.</p>
|
|
169
|
-
* @public
|
|
170
|
-
*/
|
|
171
|
-
export declare class NotFoundException extends __BaseException {
|
|
172
|
-
readonly name: "NotFoundException";
|
|
173
|
-
readonly $fault: "client";
|
|
174
|
-
/**
|
|
175
|
-
* @internal
|
|
176
|
-
*/
|
|
177
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* <p>The request was rejected because the specified CloudHSM cluster is already associated with an
|
|
181
|
-
* CloudHSM key store in the account, or it shares a backup history with an CloudHSM key store in the
|
|
182
|
-
* account. Each CloudHSM key store in the account must be associated with a different CloudHSM
|
|
183
|
-
* cluster.</p>
|
|
184
|
-
* <p>CloudHSM clusters that share a backup history have the same cluster certificate. To view the
|
|
185
|
-
* cluster certificate of an CloudHSM cluster, use the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html">DescribeClusters</a> operation.</p>
|
|
186
|
-
* @public
|
|
187
|
-
*/
|
|
188
|
-
export declare class CloudHsmClusterInUseException extends __BaseException {
|
|
189
|
-
readonly name: "CloudHsmClusterInUseException";
|
|
190
|
-
readonly $fault: "client";
|
|
191
|
-
/**
|
|
192
|
-
* @internal
|
|
193
|
-
*/
|
|
194
|
-
constructor(opts: __ExceptionOptionType<CloudHsmClusterInUseException, __BaseException>);
|
|
195
|
-
}
|
|
196
|
-
/**
|
|
197
|
-
* <p>The request was rejected because the associated CloudHSM cluster did not meet the
|
|
198
|
-
* configuration requirements for an CloudHSM key store.</p>
|
|
199
|
-
* <ul>
|
|
200
|
-
* <li>
|
|
201
|
-
* <p>The CloudHSM cluster must be configured with private subnets in at least two different
|
|
202
|
-
* Availability Zones in the Region.</p>
|
|
203
|
-
* </li>
|
|
204
|
-
* <li>
|
|
205
|
-
* <p>The <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html">security group for
|
|
206
|
-
* the cluster</a> (cloudhsm-cluster-<i><cluster-id></i>-sg) must
|
|
207
|
-
* include inbound rules and outbound rules that allow TCP traffic on ports 2223-2225. The
|
|
208
|
-
* <b>Source</b> in the inbound rules and the <b>Destination</b> in the outbound rules must match the security group
|
|
209
|
-
* ID. These rules are set by default when you create the CloudHSM cluster. Do not delete or
|
|
210
|
-
* change them. To get information about a particular security group, use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html">DescribeSecurityGroups</a> operation.</p>
|
|
211
|
-
* </li>
|
|
212
|
-
* <li>
|
|
213
|
-
* <p>The CloudHSM cluster must contain at least as many HSMs as the operation requires. To add
|
|
214
|
-
* HSMs, use the CloudHSM <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html">CreateHsm</a> operation.</p>
|
|
215
|
-
* <p>For the <a>CreateCustomKeyStore</a>, <a>UpdateCustomKeyStore</a>, and <a>CreateKey</a> operations, the CloudHSM cluster must have at least two
|
|
216
|
-
* active HSMs, each in a different Availability Zone. For the <a>ConnectCustomKeyStore</a> operation, the CloudHSM must contain at least one active
|
|
217
|
-
* HSM.</p>
|
|
218
|
-
* </li>
|
|
219
|
-
* </ul>
|
|
220
|
-
* <p>For information about the requirements for an CloudHSM cluster that is associated with an
|
|
221
|
-
* CloudHSM key store, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore">Assemble the Prerequisites</a>
|
|
222
|
-
* in the <i>Key Management Service Developer Guide</i>. For information about creating a private subnet for an CloudHSM cluster,
|
|
223
|
-
* see <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-subnets.html">Create a Private
|
|
224
|
-
* Subnet</a> in the <i>CloudHSM User Guide</i>. For information about cluster security groups, see
|
|
225
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html">Configure a Default Security
|
|
226
|
-
* Group</a> in the <i>
|
|
227
|
-
* <i>CloudHSM User Guide</i>
|
|
228
|
-
* </i>. </p>
|
|
229
|
-
* @public
|
|
230
|
-
*/
|
|
231
|
-
export declare class CloudHsmClusterInvalidConfigurationException extends __BaseException {
|
|
232
|
-
readonly name: "CloudHsmClusterInvalidConfigurationException";
|
|
233
|
-
readonly $fault: "client";
|
|
234
|
-
/**
|
|
235
|
-
* @internal
|
|
236
|
-
*/
|
|
237
|
-
constructor(opts: __ExceptionOptionType<CloudHsmClusterInvalidConfigurationException, __BaseException>);
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* <p>The request was rejected because the CloudHSM cluster associated with the CloudHSM key store is
|
|
241
|
-
* not active. Initialize and activate the cluster and try the command again. For detailed
|
|
242
|
-
* instructions, see <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html">Getting
|
|
243
|
-
* Started</a> in the <i>CloudHSM User Guide</i>.</p>
|
|
244
|
-
* @public
|
|
245
|
-
*/
|
|
246
|
-
export declare class CloudHsmClusterNotActiveException extends __BaseException {
|
|
247
|
-
readonly name: "CloudHsmClusterNotActiveException";
|
|
248
|
-
readonly $fault: "client";
|
|
249
|
-
/**
|
|
250
|
-
* @internal
|
|
251
|
-
*/
|
|
252
|
-
constructor(opts: __ExceptionOptionType<CloudHsmClusterNotActiveException, __BaseException>);
|
|
253
|
-
}
|
|
254
|
-
/**
|
|
255
|
-
* <p>The request was rejected because KMS cannot find the CloudHSM cluster with the specified
|
|
256
|
-
* cluster ID. Retry the request with a different cluster ID.</p>
|
|
257
|
-
* @public
|
|
258
|
-
*/
|
|
259
|
-
export declare class CloudHsmClusterNotFoundException extends __BaseException {
|
|
260
|
-
readonly name: "CloudHsmClusterNotFoundException";
|
|
261
|
-
readonly $fault: "client";
|
|
262
|
-
/**
|
|
263
|
-
* @internal
|
|
264
|
-
*/
|
|
265
|
-
constructor(opts: __ExceptionOptionType<CloudHsmClusterNotFoundException, __BaseException>);
|
|
266
|
-
}
|
|
267
|
-
/**
|
|
268
|
-
* <p>The request was rejected because the specified CloudHSM cluster has a different cluster
|
|
269
|
-
* certificate than the original cluster. You cannot use the operation to specify an unrelated
|
|
270
|
-
* cluster for an CloudHSM key store.</p>
|
|
271
|
-
* <p>Specify an CloudHSM cluster that shares a backup history with the original cluster. This
|
|
272
|
-
* includes clusters that were created from a backup of the current cluster, and clusters that
|
|
273
|
-
* were created from the same backup that produced the current cluster.</p>
|
|
274
|
-
* <p>CloudHSM clusters that share a backup history have the same cluster certificate. To view the
|
|
275
|
-
* cluster certificate of an CloudHSM cluster, use the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html">DescribeClusters</a> operation.</p>
|
|
276
|
-
* @public
|
|
277
|
-
*/
|
|
278
|
-
export declare class CloudHsmClusterNotRelatedException extends __BaseException {
|
|
279
|
-
readonly name: "CloudHsmClusterNotRelatedException";
|
|
280
|
-
readonly $fault: "client";
|
|
281
|
-
/**
|
|
282
|
-
* @internal
|
|
283
|
-
*/
|
|
284
|
-
constructor(opts: __ExceptionOptionType<CloudHsmClusterNotRelatedException, __BaseException>);
|
|
285
|
-
}
|
|
286
|
-
/**
|
|
287
|
-
* <p>The request was rejected because an automatic rotation of this key is currently in
|
|
288
|
-
* progress or scheduled to begin within the next 20 minutes. </p>
|
|
289
|
-
* @public
|
|
290
|
-
*/
|
|
291
|
-
export declare class ConflictException extends __BaseException {
|
|
292
|
-
readonly name: "ConflictException";
|
|
293
|
-
readonly $fault: "client";
|
|
294
|
-
/**
|
|
295
|
-
* @internal
|
|
296
|
-
*/
|
|
297
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
298
|
-
}
|
|
299
68
|
/**
|
|
300
69
|
* @public
|
|
301
70
|
*/
|
|
@@ -312,107 +81,6 @@ export interface ConnectCustomKeyStoreRequest {
|
|
|
312
81
|
*/
|
|
313
82
|
export interface ConnectCustomKeyStoreResponse {
|
|
314
83
|
}
|
|
315
|
-
/**
|
|
316
|
-
* <p>The request was rejected because of the <code>ConnectionState</code> of the custom key
|
|
317
|
-
* store. To get the <code>ConnectionState</code> of a custom key store, use the <a>DescribeCustomKeyStores</a> operation.</p>
|
|
318
|
-
* <p>This exception is thrown under the following conditions:</p>
|
|
319
|
-
* <ul>
|
|
320
|
-
* <li>
|
|
321
|
-
* <p>You requested the <a>ConnectCustomKeyStore</a> operation on a custom key
|
|
322
|
-
* store with a <code>ConnectionState</code> of <code>DISCONNECTING</code> or
|
|
323
|
-
* <code>FAILED</code>. This operation is valid for all other <code>ConnectionState</code>
|
|
324
|
-
* values. To reconnect a custom key store in a <code>FAILED</code> state, disconnect it
|
|
325
|
-
* (<a>DisconnectCustomKeyStore</a>), then connect it
|
|
326
|
-
* (<code>ConnectCustomKeyStore</code>).</p>
|
|
327
|
-
* </li>
|
|
328
|
-
* <li>
|
|
329
|
-
* <p>You requested the <a>CreateKey</a> operation in a custom key store that is
|
|
330
|
-
* not connected. This operations is valid only when the custom key store
|
|
331
|
-
* <code>ConnectionState</code> is <code>CONNECTED</code>.</p>
|
|
332
|
-
* </li>
|
|
333
|
-
* <li>
|
|
334
|
-
* <p>You requested the <a>DisconnectCustomKeyStore</a> operation on a custom key
|
|
335
|
-
* store with a <code>ConnectionState</code> of <code>DISCONNECTING</code> or
|
|
336
|
-
* <code>DISCONNECTED</code>. This operation is valid for all other
|
|
337
|
-
* <code>ConnectionState</code> values.</p>
|
|
338
|
-
* </li>
|
|
339
|
-
* <li>
|
|
340
|
-
* <p>You requested the <a>UpdateCustomKeyStore</a> or <a>DeleteCustomKeyStore</a> operation on a custom key store that is not
|
|
341
|
-
* disconnected. This operation is valid only when the custom key store
|
|
342
|
-
* <code>ConnectionState</code> is <code>DISCONNECTED</code>.</p>
|
|
343
|
-
* </li>
|
|
344
|
-
* <li>
|
|
345
|
-
* <p>You requested the <a>GenerateRandom</a> operation in an CloudHSM key store
|
|
346
|
-
* that is not connected. This operation is valid only when the CloudHSM key store
|
|
347
|
-
* <code>ConnectionState</code> is <code>CONNECTED</code>. </p>
|
|
348
|
-
* </li>
|
|
349
|
-
* </ul>
|
|
350
|
-
* @public
|
|
351
|
-
*/
|
|
352
|
-
export declare class CustomKeyStoreInvalidStateException extends __BaseException {
|
|
353
|
-
readonly name: "CustomKeyStoreInvalidStateException";
|
|
354
|
-
readonly $fault: "client";
|
|
355
|
-
/**
|
|
356
|
-
* @internal
|
|
357
|
-
*/
|
|
358
|
-
constructor(opts: __ExceptionOptionType<CustomKeyStoreInvalidStateException, __BaseException>);
|
|
359
|
-
}
|
|
360
|
-
/**
|
|
361
|
-
* <p>The request was rejected because KMS cannot find a custom key store with the specified
|
|
362
|
-
* key store name or ID.</p>
|
|
363
|
-
* @public
|
|
364
|
-
*/
|
|
365
|
-
export declare class CustomKeyStoreNotFoundException extends __BaseException {
|
|
366
|
-
readonly name: "CustomKeyStoreNotFoundException";
|
|
367
|
-
readonly $fault: "client";
|
|
368
|
-
/**
|
|
369
|
-
* @internal
|
|
370
|
-
*/
|
|
371
|
-
constructor(opts: __ExceptionOptionType<CustomKeyStoreNotFoundException, __BaseException>);
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* @public
|
|
375
|
-
* @enum
|
|
376
|
-
*/
|
|
377
|
-
export declare const ConnectionErrorCodeType: {
|
|
378
|
-
readonly CLUSTER_NOT_FOUND: "CLUSTER_NOT_FOUND";
|
|
379
|
-
readonly INSUFFICIENT_CLOUDHSM_HSMS: "INSUFFICIENT_CLOUDHSM_HSMS";
|
|
380
|
-
readonly INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET: "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET";
|
|
381
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
382
|
-
readonly INVALID_CREDENTIALS: "INVALID_CREDENTIALS";
|
|
383
|
-
readonly NETWORK_ERRORS: "NETWORK_ERRORS";
|
|
384
|
-
readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
|
|
385
|
-
readonly USER_LOCKED_OUT: "USER_LOCKED_OUT";
|
|
386
|
-
readonly USER_LOGGED_IN: "USER_LOGGED_IN";
|
|
387
|
-
readonly USER_NOT_FOUND: "USER_NOT_FOUND";
|
|
388
|
-
readonly XKS_PROXY_ACCESS_DENIED: "XKS_PROXY_ACCESS_DENIED";
|
|
389
|
-
readonly XKS_PROXY_INVALID_CONFIGURATION: "XKS_PROXY_INVALID_CONFIGURATION";
|
|
390
|
-
readonly XKS_PROXY_INVALID_RESPONSE: "XKS_PROXY_INVALID_RESPONSE";
|
|
391
|
-
readonly XKS_PROXY_INVALID_TLS_CONFIGURATION: "XKS_PROXY_INVALID_TLS_CONFIGURATION";
|
|
392
|
-
readonly XKS_PROXY_NOT_REACHABLE: "XKS_PROXY_NOT_REACHABLE";
|
|
393
|
-
readonly XKS_PROXY_TIMED_OUT: "XKS_PROXY_TIMED_OUT";
|
|
394
|
-
readonly XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION: "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION";
|
|
395
|
-
readonly XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND: "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND";
|
|
396
|
-
};
|
|
397
|
-
/**
|
|
398
|
-
* @public
|
|
399
|
-
*/
|
|
400
|
-
export type ConnectionErrorCodeType = (typeof ConnectionErrorCodeType)[keyof typeof ConnectionErrorCodeType];
|
|
401
|
-
/**
|
|
402
|
-
* @public
|
|
403
|
-
* @enum
|
|
404
|
-
*/
|
|
405
|
-
export declare const ConnectionStateType: {
|
|
406
|
-
readonly CONNECTED: "CONNECTED";
|
|
407
|
-
readonly CONNECTING: "CONNECTING";
|
|
408
|
-
readonly DISCONNECTED: "DISCONNECTED";
|
|
409
|
-
readonly DISCONNECTING: "DISCONNECTING";
|
|
410
|
-
readonly FAILED: "FAILED";
|
|
411
|
-
};
|
|
412
|
-
/**
|
|
413
|
-
* @public
|
|
414
|
-
*/
|
|
415
|
-
export type ConnectionStateType = (typeof ConnectionStateType)[keyof typeof ConnectionStateType];
|
|
416
84
|
/**
|
|
417
85
|
* @public
|
|
418
86
|
*/
|
|
@@ -457,44 +125,6 @@ export interface CreateAliasRequest {
|
|
|
457
125
|
*/
|
|
458
126
|
TargetKeyId: string | undefined;
|
|
459
127
|
}
|
|
460
|
-
/**
|
|
461
|
-
* <p>The request was rejected because the specified alias name is not valid.</p>
|
|
462
|
-
* @public
|
|
463
|
-
*/
|
|
464
|
-
export declare class InvalidAliasNameException extends __BaseException {
|
|
465
|
-
readonly name: "InvalidAliasNameException";
|
|
466
|
-
readonly $fault: "client";
|
|
467
|
-
/**
|
|
468
|
-
* @internal
|
|
469
|
-
*/
|
|
470
|
-
constructor(opts: __ExceptionOptionType<InvalidAliasNameException, __BaseException>);
|
|
471
|
-
}
|
|
472
|
-
/**
|
|
473
|
-
* <p>The request was rejected because a length constraint or quota was exceeded. For more
|
|
474
|
-
* information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html">Quotas</a> in
|
|
475
|
-
* the <i>Key Management Service Developer Guide</i>.</p>
|
|
476
|
-
* @public
|
|
477
|
-
*/
|
|
478
|
-
export declare class LimitExceededException extends __BaseException {
|
|
479
|
-
readonly name: "LimitExceededException";
|
|
480
|
-
readonly $fault: "client";
|
|
481
|
-
/**
|
|
482
|
-
* @internal
|
|
483
|
-
*/
|
|
484
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
485
|
-
}
|
|
486
|
-
/**
|
|
487
|
-
* @public
|
|
488
|
-
* @enum
|
|
489
|
-
*/
|
|
490
|
-
export declare const CustomKeyStoreType: {
|
|
491
|
-
readonly AWS_CLOUDHSM: "AWS_CLOUDHSM";
|
|
492
|
-
readonly EXTERNAL_KEY_STORE: "EXTERNAL_KEY_STORE";
|
|
493
|
-
};
|
|
494
|
-
/**
|
|
495
|
-
* @public
|
|
496
|
-
*/
|
|
497
|
-
export type CustomKeyStoreType = (typeof CustomKeyStoreType)[keyof typeof CustomKeyStoreType];
|
|
498
128
|
/**
|
|
499
129
|
* <p>KMS uses the authentication credential to sign requests that it sends to the external
|
|
500
130
|
* key store proxy (XKS proxy) on your behalf. You establish these credentials on your external
|
|
@@ -515,18 +145,6 @@ export interface XksProxyAuthenticationCredentialType {
|
|
|
515
145
|
*/
|
|
516
146
|
RawSecretAccessKey: string | undefined;
|
|
517
147
|
}
|
|
518
|
-
/**
|
|
519
|
-
* @public
|
|
520
|
-
* @enum
|
|
521
|
-
*/
|
|
522
|
-
export declare const XksProxyConnectivityType: {
|
|
523
|
-
readonly PUBLIC_ENDPOINT: "PUBLIC_ENDPOINT";
|
|
524
|
-
readonly VPC_ENDPOINT_SERVICE: "VPC_ENDPOINT_SERVICE";
|
|
525
|
-
};
|
|
526
|
-
/**
|
|
527
|
-
* @public
|
|
528
|
-
*/
|
|
529
|
-
export type XksProxyConnectivityType = (typeof XksProxyConnectivityType)[keyof typeof XksProxyConnectivityType];
|
|
530
148
|
/**
|
|
531
149
|
* @public
|
|
532
150
|
*/
|
|
@@ -716,169 +334,6 @@ export interface CreateCustomKeyStoreResponse {
|
|
|
716
334
|
*/
|
|
717
335
|
CustomKeyStoreId?: string | undefined;
|
|
718
336
|
}
|
|
719
|
-
/**
|
|
720
|
-
* <p>The request was rejected because the specified custom key store name is already assigned
|
|
721
|
-
* to another custom key store in the account. Try again with a custom key store name that is
|
|
722
|
-
* unique in the account.</p>
|
|
723
|
-
* @public
|
|
724
|
-
*/
|
|
725
|
-
export declare class CustomKeyStoreNameInUseException extends __BaseException {
|
|
726
|
-
readonly name: "CustomKeyStoreNameInUseException";
|
|
727
|
-
readonly $fault: "client";
|
|
728
|
-
/**
|
|
729
|
-
* @internal
|
|
730
|
-
*/
|
|
731
|
-
constructor(opts: __ExceptionOptionType<CustomKeyStoreNameInUseException, __BaseException>);
|
|
732
|
-
}
|
|
733
|
-
/**
|
|
734
|
-
* <p>The request was rejected because the trust anchor certificate in the request to create an
|
|
735
|
-
* CloudHSM key store is not the trust anchor certificate for the specified CloudHSM cluster.</p>
|
|
736
|
-
* <p>When you <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/initialize-cluster.html#sign-csr">initialize the CloudHSM cluster</a>, you create the trust anchor certificate and save it
|
|
737
|
-
* in the <code>customerCA.crt</code> file.</p>
|
|
738
|
-
* @public
|
|
739
|
-
*/
|
|
740
|
-
export declare class IncorrectTrustAnchorException extends __BaseException {
|
|
741
|
-
readonly name: "IncorrectTrustAnchorException";
|
|
742
|
-
readonly $fault: "client";
|
|
743
|
-
/**
|
|
744
|
-
* @internal
|
|
745
|
-
*/
|
|
746
|
-
constructor(opts: __ExceptionOptionType<IncorrectTrustAnchorException, __BaseException>);
|
|
747
|
-
}
|
|
748
|
-
/**
|
|
749
|
-
* <p>The request was rejected because the proxy credentials failed to authenticate to the
|
|
750
|
-
* specified external key store proxy. The specified external key store proxy rejected a status
|
|
751
|
-
* request from KMS due to invalid credentials. This can indicate an error in the credentials
|
|
752
|
-
* or in the identification of the external key store proxy.</p>
|
|
753
|
-
* @public
|
|
754
|
-
*/
|
|
755
|
-
export declare class XksProxyIncorrectAuthenticationCredentialException extends __BaseException {
|
|
756
|
-
readonly name: "XksProxyIncorrectAuthenticationCredentialException";
|
|
757
|
-
readonly $fault: "client";
|
|
758
|
-
/**
|
|
759
|
-
* @internal
|
|
760
|
-
*/
|
|
761
|
-
constructor(opts: __ExceptionOptionType<XksProxyIncorrectAuthenticationCredentialException, __BaseException>);
|
|
762
|
-
}
|
|
763
|
-
/**
|
|
764
|
-
* <p>The request was rejected because the external key store proxy is not configured correctly.
|
|
765
|
-
* To identify the cause, see the error message that accompanies the exception.</p>
|
|
766
|
-
* @public
|
|
767
|
-
*/
|
|
768
|
-
export declare class XksProxyInvalidConfigurationException extends __BaseException {
|
|
769
|
-
readonly name: "XksProxyInvalidConfigurationException";
|
|
770
|
-
readonly $fault: "client";
|
|
771
|
-
/**
|
|
772
|
-
* @internal
|
|
773
|
-
*/
|
|
774
|
-
constructor(opts: __ExceptionOptionType<XksProxyInvalidConfigurationException, __BaseException>);
|
|
775
|
-
}
|
|
776
|
-
/**
|
|
777
|
-
* <p></p>
|
|
778
|
-
* <p>KMS cannot interpret the response it received from the external key store proxy. The
|
|
779
|
-
* problem might be a poorly constructed response, but it could also be a transient network
|
|
780
|
-
* issue. If you see this error repeatedly, report it to the proxy vendor.</p>
|
|
781
|
-
* @public
|
|
782
|
-
*/
|
|
783
|
-
export declare class XksProxyInvalidResponseException extends __BaseException {
|
|
784
|
-
readonly name: "XksProxyInvalidResponseException";
|
|
785
|
-
readonly $fault: "client";
|
|
786
|
-
/**
|
|
787
|
-
* @internal
|
|
788
|
-
*/
|
|
789
|
-
constructor(opts: __ExceptionOptionType<XksProxyInvalidResponseException, __BaseException>);
|
|
790
|
-
}
|
|
791
|
-
/**
|
|
792
|
-
* <p>The request was rejected because the <code>XksProxyUriEndpoint</code> is already
|
|
793
|
-
* associated with another external key store in this Amazon Web Services Region. To identify the cause, see
|
|
794
|
-
* the error message that accompanies the exception. </p>
|
|
795
|
-
* @public
|
|
796
|
-
*/
|
|
797
|
-
export declare class XksProxyUriEndpointInUseException extends __BaseException {
|
|
798
|
-
readonly name: "XksProxyUriEndpointInUseException";
|
|
799
|
-
readonly $fault: "client";
|
|
800
|
-
/**
|
|
801
|
-
* @internal
|
|
802
|
-
*/
|
|
803
|
-
constructor(opts: __ExceptionOptionType<XksProxyUriEndpointInUseException, __BaseException>);
|
|
804
|
-
}
|
|
805
|
-
/**
|
|
806
|
-
* <p>The request was rejected because the concatenation of the <code>XksProxyUriEndpoint</code>
|
|
807
|
-
* and <code>XksProxyUriPath</code> is already associated with another external key store in this
|
|
808
|
-
* Amazon Web Services Region. Each external key store in a Region must use a unique external key store proxy
|
|
809
|
-
* API address.</p>
|
|
810
|
-
* @public
|
|
811
|
-
*/
|
|
812
|
-
export declare class XksProxyUriInUseException extends __BaseException {
|
|
813
|
-
readonly name: "XksProxyUriInUseException";
|
|
814
|
-
readonly $fault: "client";
|
|
815
|
-
/**
|
|
816
|
-
* @internal
|
|
817
|
-
*/
|
|
818
|
-
constructor(opts: __ExceptionOptionType<XksProxyUriInUseException, __BaseException>);
|
|
819
|
-
}
|
|
820
|
-
/**
|
|
821
|
-
* <p>KMS was unable to reach the specified <code>XksProxyUriPath</code>. The path must be
|
|
822
|
-
* reachable before you create the external key store or update its settings.</p>
|
|
823
|
-
* <p>This exception is also thrown when the external key store proxy response to a
|
|
824
|
-
* <code>GetHealthStatus</code> request indicates that all external key manager instances are
|
|
825
|
-
* unavailable.</p>
|
|
826
|
-
* @public
|
|
827
|
-
*/
|
|
828
|
-
export declare class XksProxyUriUnreachableException extends __BaseException {
|
|
829
|
-
readonly name: "XksProxyUriUnreachableException";
|
|
830
|
-
readonly $fault: "client";
|
|
831
|
-
/**
|
|
832
|
-
* @internal
|
|
833
|
-
*/
|
|
834
|
-
constructor(opts: __ExceptionOptionType<XksProxyUriUnreachableException, __BaseException>);
|
|
835
|
-
}
|
|
836
|
-
/**
|
|
837
|
-
* <p>The request was rejected because the specified Amazon VPC endpoint service is already
|
|
838
|
-
* associated with another external key store in this Amazon Web Services Region. Each external key store in a
|
|
839
|
-
* Region must use a different Amazon VPC endpoint service.</p>
|
|
840
|
-
* @public
|
|
841
|
-
*/
|
|
842
|
-
export declare class XksProxyVpcEndpointServiceInUseException extends __BaseException {
|
|
843
|
-
readonly name: "XksProxyVpcEndpointServiceInUseException";
|
|
844
|
-
readonly $fault: "client";
|
|
845
|
-
/**
|
|
846
|
-
* @internal
|
|
847
|
-
*/
|
|
848
|
-
constructor(opts: __ExceptionOptionType<XksProxyVpcEndpointServiceInUseException, __BaseException>);
|
|
849
|
-
}
|
|
850
|
-
/**
|
|
851
|
-
* <p>The request was rejected because the Amazon VPC endpoint service configuration does not fulfill
|
|
852
|
-
* the requirements for an external key store. To identify the cause, see the error message that
|
|
853
|
-
* accompanies the exception and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements">review the
|
|
854
|
-
* requirements</a> for Amazon VPC endpoint service connectivity for an external key
|
|
855
|
-
* store.</p>
|
|
856
|
-
* @public
|
|
857
|
-
*/
|
|
858
|
-
export declare class XksProxyVpcEndpointServiceInvalidConfigurationException extends __BaseException {
|
|
859
|
-
readonly name: "XksProxyVpcEndpointServiceInvalidConfigurationException";
|
|
860
|
-
readonly $fault: "client";
|
|
861
|
-
/**
|
|
862
|
-
* @internal
|
|
863
|
-
*/
|
|
864
|
-
constructor(opts: __ExceptionOptionType<XksProxyVpcEndpointServiceInvalidConfigurationException, __BaseException>);
|
|
865
|
-
}
|
|
866
|
-
/**
|
|
867
|
-
* <p>The request was rejected because KMS could not find the specified VPC endpoint service.
|
|
868
|
-
* Use <a>DescribeCustomKeyStores</a> to verify the VPC endpoint service name for the
|
|
869
|
-
* external key store. Also, confirm that the <code>Allow principals</code> list for the VPC
|
|
870
|
-
* endpoint service includes the KMS service principal for the Region, such as
|
|
871
|
-
* <code>cks.kms.us-east-1.amazonaws.com</code>.</p>
|
|
872
|
-
* @public
|
|
873
|
-
*/
|
|
874
|
-
export declare class XksProxyVpcEndpointServiceNotFoundException extends __BaseException {
|
|
875
|
-
readonly name: "XksProxyVpcEndpointServiceNotFoundException";
|
|
876
|
-
readonly $fault: "client";
|
|
877
|
-
/**
|
|
878
|
-
* @internal
|
|
879
|
-
*/
|
|
880
|
-
constructor(opts: __ExceptionOptionType<XksProxyVpcEndpointServiceNotFoundException, __BaseException>);
|
|
881
|
-
}
|
|
882
337
|
/**
|
|
883
338
|
* <p>Use this structure to allow <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-cryptography.html#cryptographic-operations">cryptographic operations</a> in the grant only when the operation request
|
|
884
339
|
* includes the specified <a href="https://docs.aws.amazon.com/kms/latest/developerguide/encrypt_context.html">encryption context</a>. </p>
|
|
@@ -919,33 +374,6 @@ export interface GrantConstraints {
|
|
|
919
374
|
*/
|
|
920
375
|
EncryptionContextEquals?: Record<string, string> | undefined;
|
|
921
376
|
}
|
|
922
|
-
/**
|
|
923
|
-
* @public
|
|
924
|
-
* @enum
|
|
925
|
-
*/
|
|
926
|
-
export declare const GrantOperation: {
|
|
927
|
-
readonly CreateGrant: "CreateGrant";
|
|
928
|
-
readonly Decrypt: "Decrypt";
|
|
929
|
-
readonly DeriveSharedSecret: "DeriveSharedSecret";
|
|
930
|
-
readonly DescribeKey: "DescribeKey";
|
|
931
|
-
readonly Encrypt: "Encrypt";
|
|
932
|
-
readonly GenerateDataKey: "GenerateDataKey";
|
|
933
|
-
readonly GenerateDataKeyPair: "GenerateDataKeyPair";
|
|
934
|
-
readonly GenerateDataKeyPairWithoutPlaintext: "GenerateDataKeyPairWithoutPlaintext";
|
|
935
|
-
readonly GenerateDataKeyWithoutPlaintext: "GenerateDataKeyWithoutPlaintext";
|
|
936
|
-
readonly GenerateMac: "GenerateMac";
|
|
937
|
-
readonly GetPublicKey: "GetPublicKey";
|
|
938
|
-
readonly ReEncryptFrom: "ReEncryptFrom";
|
|
939
|
-
readonly ReEncryptTo: "ReEncryptTo";
|
|
940
|
-
readonly RetireGrant: "RetireGrant";
|
|
941
|
-
readonly Sign: "Sign";
|
|
942
|
-
readonly Verify: "Verify";
|
|
943
|
-
readonly VerifyMac: "VerifyMac";
|
|
944
|
-
};
|
|
945
|
-
/**
|
|
946
|
-
* @public
|
|
947
|
-
*/
|
|
948
|
-
export type GrantOperation = (typeof GrantOperation)[keyof typeof GrantOperation];
|
|
949
377
|
/**
|
|
950
378
|
* @public
|
|
951
379
|
*/
|
|
@@ -1087,120 +515,6 @@ export interface CreateGrantResponse {
|
|
|
1087
515
|
*/
|
|
1088
516
|
GrantId?: string | undefined;
|
|
1089
517
|
}
|
|
1090
|
-
/**
|
|
1091
|
-
* <p>The request was rejected because the specified KMS key is not enabled.</p>
|
|
1092
|
-
* @public
|
|
1093
|
-
*/
|
|
1094
|
-
export declare class DisabledException extends __BaseException {
|
|
1095
|
-
readonly name: "DisabledException";
|
|
1096
|
-
readonly $fault: "client";
|
|
1097
|
-
/**
|
|
1098
|
-
* @internal
|
|
1099
|
-
*/
|
|
1100
|
-
constructor(opts: __ExceptionOptionType<DisabledException, __BaseException>);
|
|
1101
|
-
}
|
|
1102
|
-
/**
|
|
1103
|
-
* <p> The request was rejected because the DryRun parameter was specified. </p>
|
|
1104
|
-
* @public
|
|
1105
|
-
*/
|
|
1106
|
-
export declare class DryRunOperationException extends __BaseException {
|
|
1107
|
-
readonly name: "DryRunOperationException";
|
|
1108
|
-
readonly $fault: "client";
|
|
1109
|
-
/**
|
|
1110
|
-
* @internal
|
|
1111
|
-
*/
|
|
1112
|
-
constructor(opts: __ExceptionOptionType<DryRunOperationException, __BaseException>);
|
|
1113
|
-
}
|
|
1114
|
-
/**
|
|
1115
|
-
* <p>The request was rejected because the specified grant token is not valid.</p>
|
|
1116
|
-
* @public
|
|
1117
|
-
*/
|
|
1118
|
-
export declare class InvalidGrantTokenException extends __BaseException {
|
|
1119
|
-
readonly name: "InvalidGrantTokenException";
|
|
1120
|
-
readonly $fault: "client";
|
|
1121
|
-
/**
|
|
1122
|
-
* @internal
|
|
1123
|
-
*/
|
|
1124
|
-
constructor(opts: __ExceptionOptionType<InvalidGrantTokenException, __BaseException>);
|
|
1125
|
-
}
|
|
1126
|
-
/**
|
|
1127
|
-
* @public
|
|
1128
|
-
* @enum
|
|
1129
|
-
*/
|
|
1130
|
-
export declare const CustomerMasterKeySpec: {
|
|
1131
|
-
readonly ECC_NIST_P256: "ECC_NIST_P256";
|
|
1132
|
-
readonly ECC_NIST_P384: "ECC_NIST_P384";
|
|
1133
|
-
readonly ECC_NIST_P521: "ECC_NIST_P521";
|
|
1134
|
-
readonly ECC_SECG_P256K1: "ECC_SECG_P256K1";
|
|
1135
|
-
readonly HMAC_224: "HMAC_224";
|
|
1136
|
-
readonly HMAC_256: "HMAC_256";
|
|
1137
|
-
readonly HMAC_384: "HMAC_384";
|
|
1138
|
-
readonly HMAC_512: "HMAC_512";
|
|
1139
|
-
readonly RSA_2048: "RSA_2048";
|
|
1140
|
-
readonly RSA_3072: "RSA_3072";
|
|
1141
|
-
readonly RSA_4096: "RSA_4096";
|
|
1142
|
-
readonly SM2: "SM2";
|
|
1143
|
-
readonly SYMMETRIC_DEFAULT: "SYMMETRIC_DEFAULT";
|
|
1144
|
-
};
|
|
1145
|
-
/**
|
|
1146
|
-
* @public
|
|
1147
|
-
*/
|
|
1148
|
-
export type CustomerMasterKeySpec = (typeof CustomerMasterKeySpec)[keyof typeof CustomerMasterKeySpec];
|
|
1149
|
-
/**
|
|
1150
|
-
* @public
|
|
1151
|
-
* @enum
|
|
1152
|
-
*/
|
|
1153
|
-
export declare const KeySpec: {
|
|
1154
|
-
readonly ECC_NIST_EDWARDS25519: "ECC_NIST_EDWARDS25519";
|
|
1155
|
-
readonly ECC_NIST_P256: "ECC_NIST_P256";
|
|
1156
|
-
readonly ECC_NIST_P384: "ECC_NIST_P384";
|
|
1157
|
-
readonly ECC_NIST_P521: "ECC_NIST_P521";
|
|
1158
|
-
readonly ECC_SECG_P256K1: "ECC_SECG_P256K1";
|
|
1159
|
-
readonly HMAC_224: "HMAC_224";
|
|
1160
|
-
readonly HMAC_256: "HMAC_256";
|
|
1161
|
-
readonly HMAC_384: "HMAC_384";
|
|
1162
|
-
readonly HMAC_512: "HMAC_512";
|
|
1163
|
-
readonly ML_DSA_44: "ML_DSA_44";
|
|
1164
|
-
readonly ML_DSA_65: "ML_DSA_65";
|
|
1165
|
-
readonly ML_DSA_87: "ML_DSA_87";
|
|
1166
|
-
readonly RSA_2048: "RSA_2048";
|
|
1167
|
-
readonly RSA_3072: "RSA_3072";
|
|
1168
|
-
readonly RSA_4096: "RSA_4096";
|
|
1169
|
-
readonly SM2: "SM2";
|
|
1170
|
-
readonly SYMMETRIC_DEFAULT: "SYMMETRIC_DEFAULT";
|
|
1171
|
-
};
|
|
1172
|
-
/**
|
|
1173
|
-
* @public
|
|
1174
|
-
*/
|
|
1175
|
-
export type KeySpec = (typeof KeySpec)[keyof typeof KeySpec];
|
|
1176
|
-
/**
|
|
1177
|
-
* @public
|
|
1178
|
-
* @enum
|
|
1179
|
-
*/
|
|
1180
|
-
export declare const KeyUsageType: {
|
|
1181
|
-
readonly ENCRYPT_DECRYPT: "ENCRYPT_DECRYPT";
|
|
1182
|
-
readonly GENERATE_VERIFY_MAC: "GENERATE_VERIFY_MAC";
|
|
1183
|
-
readonly KEY_AGREEMENT: "KEY_AGREEMENT";
|
|
1184
|
-
readonly SIGN_VERIFY: "SIGN_VERIFY";
|
|
1185
|
-
};
|
|
1186
|
-
/**
|
|
1187
|
-
* @public
|
|
1188
|
-
*/
|
|
1189
|
-
export type KeyUsageType = (typeof KeyUsageType)[keyof typeof KeyUsageType];
|
|
1190
|
-
/**
|
|
1191
|
-
* @public
|
|
1192
|
-
* @enum
|
|
1193
|
-
*/
|
|
1194
|
-
export declare const OriginType: {
|
|
1195
|
-
readonly AWS_CLOUDHSM: "AWS_CLOUDHSM";
|
|
1196
|
-
readonly AWS_KMS: "AWS_KMS";
|
|
1197
|
-
readonly EXTERNAL: "EXTERNAL";
|
|
1198
|
-
readonly EXTERNAL_KEY_STORE: "EXTERNAL_KEY_STORE";
|
|
1199
|
-
};
|
|
1200
|
-
/**
|
|
1201
|
-
* @public
|
|
1202
|
-
*/
|
|
1203
|
-
export type OriginType = (typeof OriginType)[keyof typeof OriginType];
|
|
1204
518
|
/**
|
|
1205
519
|
* <p>A key-value pair. A tag consists of a tag key and a tag value. Tag keys and tag values are
|
|
1206
520
|
* both required, but tag values can be empty (null) strings.</p>
|
|
@@ -1598,99 +912,6 @@ export interface CreateKeyRequest {
|
|
|
1598
912
|
*/
|
|
1599
913
|
XksKeyId?: string | undefined;
|
|
1600
914
|
}
|
|
1601
|
-
/**
|
|
1602
|
-
* @public
|
|
1603
|
-
* @enum
|
|
1604
|
-
*/
|
|
1605
|
-
export declare const EncryptionAlgorithmSpec: {
|
|
1606
|
-
readonly RSAES_OAEP_SHA_1: "RSAES_OAEP_SHA_1";
|
|
1607
|
-
readonly RSAES_OAEP_SHA_256: "RSAES_OAEP_SHA_256";
|
|
1608
|
-
readonly SM2PKE: "SM2PKE";
|
|
1609
|
-
readonly SYMMETRIC_DEFAULT: "SYMMETRIC_DEFAULT";
|
|
1610
|
-
};
|
|
1611
|
-
/**
|
|
1612
|
-
* @public
|
|
1613
|
-
*/
|
|
1614
|
-
export type EncryptionAlgorithmSpec = (typeof EncryptionAlgorithmSpec)[keyof typeof EncryptionAlgorithmSpec];
|
|
1615
|
-
/**
|
|
1616
|
-
* @public
|
|
1617
|
-
* @enum
|
|
1618
|
-
*/
|
|
1619
|
-
export declare const ExpirationModelType: {
|
|
1620
|
-
readonly KEY_MATERIAL_DOES_NOT_EXPIRE: "KEY_MATERIAL_DOES_NOT_EXPIRE";
|
|
1621
|
-
readonly KEY_MATERIAL_EXPIRES: "KEY_MATERIAL_EXPIRES";
|
|
1622
|
-
};
|
|
1623
|
-
/**
|
|
1624
|
-
* @public
|
|
1625
|
-
*/
|
|
1626
|
-
export type ExpirationModelType = (typeof ExpirationModelType)[keyof typeof ExpirationModelType];
|
|
1627
|
-
/**
|
|
1628
|
-
* @public
|
|
1629
|
-
* @enum
|
|
1630
|
-
*/
|
|
1631
|
-
export declare const KeyAgreementAlgorithmSpec: {
|
|
1632
|
-
readonly ECDH: "ECDH";
|
|
1633
|
-
};
|
|
1634
|
-
/**
|
|
1635
|
-
* @public
|
|
1636
|
-
*/
|
|
1637
|
-
export type KeyAgreementAlgorithmSpec = (typeof KeyAgreementAlgorithmSpec)[keyof typeof KeyAgreementAlgorithmSpec];
|
|
1638
|
-
/**
|
|
1639
|
-
* @public
|
|
1640
|
-
* @enum
|
|
1641
|
-
*/
|
|
1642
|
-
export declare const KeyManagerType: {
|
|
1643
|
-
readonly AWS: "AWS";
|
|
1644
|
-
readonly CUSTOMER: "CUSTOMER";
|
|
1645
|
-
};
|
|
1646
|
-
/**
|
|
1647
|
-
* @public
|
|
1648
|
-
*/
|
|
1649
|
-
export type KeyManagerType = (typeof KeyManagerType)[keyof typeof KeyManagerType];
|
|
1650
|
-
/**
|
|
1651
|
-
* @public
|
|
1652
|
-
* @enum
|
|
1653
|
-
*/
|
|
1654
|
-
export declare const KeyState: {
|
|
1655
|
-
readonly Creating: "Creating";
|
|
1656
|
-
readonly Disabled: "Disabled";
|
|
1657
|
-
readonly Enabled: "Enabled";
|
|
1658
|
-
readonly PendingDeletion: "PendingDeletion";
|
|
1659
|
-
readonly PendingImport: "PendingImport";
|
|
1660
|
-
readonly PendingReplicaDeletion: "PendingReplicaDeletion";
|
|
1661
|
-
readonly Unavailable: "Unavailable";
|
|
1662
|
-
readonly Updating: "Updating";
|
|
1663
|
-
};
|
|
1664
|
-
/**
|
|
1665
|
-
* @public
|
|
1666
|
-
*/
|
|
1667
|
-
export type KeyState = (typeof KeyState)[keyof typeof KeyState];
|
|
1668
|
-
/**
|
|
1669
|
-
* @public
|
|
1670
|
-
* @enum
|
|
1671
|
-
*/
|
|
1672
|
-
export declare const MacAlgorithmSpec: {
|
|
1673
|
-
readonly HMAC_SHA_224: "HMAC_SHA_224";
|
|
1674
|
-
readonly HMAC_SHA_256: "HMAC_SHA_256";
|
|
1675
|
-
readonly HMAC_SHA_384: "HMAC_SHA_384";
|
|
1676
|
-
readonly HMAC_SHA_512: "HMAC_SHA_512";
|
|
1677
|
-
};
|
|
1678
|
-
/**
|
|
1679
|
-
* @public
|
|
1680
|
-
*/
|
|
1681
|
-
export type MacAlgorithmSpec = (typeof MacAlgorithmSpec)[keyof typeof MacAlgorithmSpec];
|
|
1682
|
-
/**
|
|
1683
|
-
* @public
|
|
1684
|
-
* @enum
|
|
1685
|
-
*/
|
|
1686
|
-
export declare const MultiRegionKeyType: {
|
|
1687
|
-
readonly PRIMARY: "PRIMARY";
|
|
1688
|
-
readonly REPLICA: "REPLICA";
|
|
1689
|
-
};
|
|
1690
|
-
/**
|
|
1691
|
-
* @public
|
|
1692
|
-
*/
|
|
1693
|
-
export type MultiRegionKeyType = (typeof MultiRegionKeyType)[keyof typeof MultiRegionKeyType];
|
|
1694
915
|
/**
|
|
1695
916
|
* <p>Describes the primary or replica key in a multi-Region key.</p>
|
|
1696
917
|
* @public
|
|
@@ -1734,29 +955,6 @@ export interface MultiRegionConfiguration {
|
|
|
1734
955
|
*/
|
|
1735
956
|
ReplicaKeys?: MultiRegionKey[] | undefined;
|
|
1736
957
|
}
|
|
1737
|
-
/**
|
|
1738
|
-
* @public
|
|
1739
|
-
* @enum
|
|
1740
|
-
*/
|
|
1741
|
-
export declare const SigningAlgorithmSpec: {
|
|
1742
|
-
readonly ECDSA_SHA_256: "ECDSA_SHA_256";
|
|
1743
|
-
readonly ECDSA_SHA_384: "ECDSA_SHA_384";
|
|
1744
|
-
readonly ECDSA_SHA_512: "ECDSA_SHA_512";
|
|
1745
|
-
readonly ED25519_PH_SHA_512: "ED25519_PH_SHA_512";
|
|
1746
|
-
readonly ED25519_SHA_512: "ED25519_SHA_512";
|
|
1747
|
-
readonly ML_DSA_SHAKE_256: "ML_DSA_SHAKE_256";
|
|
1748
|
-
readonly RSASSA_PKCS1_V1_5_SHA_256: "RSASSA_PKCS1_V1_5_SHA_256";
|
|
1749
|
-
readonly RSASSA_PKCS1_V1_5_SHA_384: "RSASSA_PKCS1_V1_5_SHA_384";
|
|
1750
|
-
readonly RSASSA_PKCS1_V1_5_SHA_512: "RSASSA_PKCS1_V1_5_SHA_512";
|
|
1751
|
-
readonly RSASSA_PSS_SHA_256: "RSASSA_PSS_SHA_256";
|
|
1752
|
-
readonly RSASSA_PSS_SHA_384: "RSASSA_PSS_SHA_384";
|
|
1753
|
-
readonly RSASSA_PSS_SHA_512: "RSASSA_PSS_SHA_512";
|
|
1754
|
-
readonly SM2DSA: "SM2DSA";
|
|
1755
|
-
};
|
|
1756
|
-
/**
|
|
1757
|
-
* @public
|
|
1758
|
-
*/
|
|
1759
|
-
export type SigningAlgorithmSpec = (typeof SigningAlgorithmSpec)[keyof typeof SigningAlgorithmSpec];
|
|
1760
958
|
/**
|
|
1761
959
|
* <p>Information about the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/keystore-external.html#concept-external-key">external key </a>that is
|
|
1762
960
|
* associated with a KMS key in an external key store. </p>
|
|
@@ -2002,106 +1200,6 @@ export interface CreateKeyResponse {
|
|
|
2002
1200
|
*/
|
|
2003
1201
|
KeyMetadata?: KeyMetadata | undefined;
|
|
2004
1202
|
}
|
|
2005
|
-
/**
|
|
2006
|
-
* <p>The request was rejected because the specified policy is not syntactically or semantically
|
|
2007
|
-
* correct.</p>
|
|
2008
|
-
* @public
|
|
2009
|
-
*/
|
|
2010
|
-
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
2011
|
-
readonly name: "MalformedPolicyDocumentException";
|
|
2012
|
-
readonly $fault: "client";
|
|
2013
|
-
/**
|
|
2014
|
-
* @internal
|
|
2015
|
-
*/
|
|
2016
|
-
constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
|
|
2017
|
-
}
|
|
2018
|
-
/**
|
|
2019
|
-
* <p>The request was rejected because one or more tags are not valid.</p>
|
|
2020
|
-
* @public
|
|
2021
|
-
*/
|
|
2022
|
-
export declare class TagException extends __BaseException {
|
|
2023
|
-
readonly name: "TagException";
|
|
2024
|
-
readonly $fault: "client";
|
|
2025
|
-
/**
|
|
2026
|
-
* @internal
|
|
2027
|
-
*/
|
|
2028
|
-
constructor(opts: __ExceptionOptionType<TagException, __BaseException>);
|
|
2029
|
-
}
|
|
2030
|
-
/**
|
|
2031
|
-
* <p>The request was rejected because a specified parameter is not supported or a specified
|
|
2032
|
-
* resource is not valid for this operation.</p>
|
|
2033
|
-
* @public
|
|
2034
|
-
*/
|
|
2035
|
-
export declare class UnsupportedOperationException extends __BaseException {
|
|
2036
|
-
readonly name: "UnsupportedOperationException";
|
|
2037
|
-
readonly $fault: "client";
|
|
2038
|
-
/**
|
|
2039
|
-
* @internal
|
|
2040
|
-
*/
|
|
2041
|
-
constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
|
|
2042
|
-
}
|
|
2043
|
-
/**
|
|
2044
|
-
* <p>The request was rejected because the (<code>XksKeyId</code>) is already associated with
|
|
2045
|
-
* another KMS key in this external key store. Each KMS key in an external key store must be
|
|
2046
|
-
* associated with a different external key.</p>
|
|
2047
|
-
* @public
|
|
2048
|
-
*/
|
|
2049
|
-
export declare class XksKeyAlreadyInUseException extends __BaseException {
|
|
2050
|
-
readonly name: "XksKeyAlreadyInUseException";
|
|
2051
|
-
readonly $fault: "client";
|
|
2052
|
-
/**
|
|
2053
|
-
* @internal
|
|
2054
|
-
*/
|
|
2055
|
-
constructor(opts: __ExceptionOptionType<XksKeyAlreadyInUseException, __BaseException>);
|
|
2056
|
-
}
|
|
2057
|
-
/**
|
|
2058
|
-
* <p>The request was rejected because the external key specified by the <code>XksKeyId</code>
|
|
2059
|
-
* parameter did not meet the configuration requirements for an external key store.</p>
|
|
2060
|
-
* <p>The external key must be an AES-256 symmetric key that is enabled and performs encryption
|
|
2061
|
-
* and decryption.</p>
|
|
2062
|
-
* @public
|
|
2063
|
-
*/
|
|
2064
|
-
export declare class XksKeyInvalidConfigurationException extends __BaseException {
|
|
2065
|
-
readonly name: "XksKeyInvalidConfigurationException";
|
|
2066
|
-
readonly $fault: "client";
|
|
2067
|
-
/**
|
|
2068
|
-
* @internal
|
|
2069
|
-
*/
|
|
2070
|
-
constructor(opts: __ExceptionOptionType<XksKeyInvalidConfigurationException, __BaseException>);
|
|
2071
|
-
}
|
|
2072
|
-
/**
|
|
2073
|
-
* <p>The request was rejected because the external key store proxy could not find the external
|
|
2074
|
-
* key. This exception is thrown when the value of the <code>XksKeyId</code> parameter doesn't
|
|
2075
|
-
* identify a key in the external key manager associated with the external key proxy.</p>
|
|
2076
|
-
* <p>Verify that the <code>XksKeyId</code> represents an existing key in the external key
|
|
2077
|
-
* manager. Use the key identifier that the external key store proxy uses to identify the key.
|
|
2078
|
-
* For details, see the documentation provided with your external key store proxy or key
|
|
2079
|
-
* manager.</p>
|
|
2080
|
-
* @public
|
|
2081
|
-
*/
|
|
2082
|
-
export declare class XksKeyNotFoundException extends __BaseException {
|
|
2083
|
-
readonly name: "XksKeyNotFoundException";
|
|
2084
|
-
readonly $fault: "client";
|
|
2085
|
-
/**
|
|
2086
|
-
* @internal
|
|
2087
|
-
*/
|
|
2088
|
-
constructor(opts: __ExceptionOptionType<XksKeyNotFoundException, __BaseException>);
|
|
2089
|
-
}
|
|
2090
|
-
/**
|
|
2091
|
-
* <p>The request was rejected because the custom key store contains KMS keys. After verifying
|
|
2092
|
-
* that you do not need to use the KMS keys, use the <a>ScheduleKeyDeletion</a>
|
|
2093
|
-
* operation to delete the KMS keys. After they are deleted, you can delete the custom key
|
|
2094
|
-
* store.</p>
|
|
2095
|
-
* @public
|
|
2096
|
-
*/
|
|
2097
|
-
export declare class CustomKeyStoreHasCMKsException extends __BaseException {
|
|
2098
|
-
readonly name: "CustomKeyStoreHasCMKsException";
|
|
2099
|
-
readonly $fault: "client";
|
|
2100
|
-
/**
|
|
2101
|
-
* @internal
|
|
2102
|
-
*/
|
|
2103
|
-
constructor(opts: __ExceptionOptionType<CustomKeyStoreHasCMKsException, __BaseException>);
|
|
2104
|
-
}
|
|
2105
1203
|
/**
|
|
2106
1204
|
* <p>Detailed information about the external key store proxy (XKS proxy). Your external key
|
|
2107
1205
|
* store proxy translates KMS requests into a format that your external key manager can
|
|
@@ -2414,48 +1512,6 @@ export interface CustomKeyStoresListEntry {
|
|
|
2414
1512
|
*/
|
|
2415
1513
|
XksProxyConfiguration?: XksProxyConfigurationType | undefined;
|
|
2416
1514
|
}
|
|
2417
|
-
/**
|
|
2418
|
-
* @public
|
|
2419
|
-
* @enum
|
|
2420
|
-
*/
|
|
2421
|
-
export declare const DataKeyPairSpec: {
|
|
2422
|
-
readonly ECC_NIST_EDWARDS25519: "ECC_NIST_EDWARDS25519";
|
|
2423
|
-
readonly ECC_NIST_P256: "ECC_NIST_P256";
|
|
2424
|
-
readonly ECC_NIST_P384: "ECC_NIST_P384";
|
|
2425
|
-
readonly ECC_NIST_P521: "ECC_NIST_P521";
|
|
2426
|
-
readonly ECC_SECG_P256K1: "ECC_SECG_P256K1";
|
|
2427
|
-
readonly RSA_2048: "RSA_2048";
|
|
2428
|
-
readonly RSA_3072: "RSA_3072";
|
|
2429
|
-
readonly RSA_4096: "RSA_4096";
|
|
2430
|
-
readonly SM2: "SM2";
|
|
2431
|
-
};
|
|
2432
|
-
/**
|
|
2433
|
-
* @public
|
|
2434
|
-
*/
|
|
2435
|
-
export type DataKeyPairSpec = (typeof DataKeyPairSpec)[keyof typeof DataKeyPairSpec];
|
|
2436
|
-
/**
|
|
2437
|
-
* @public
|
|
2438
|
-
* @enum
|
|
2439
|
-
*/
|
|
2440
|
-
export declare const DataKeySpec: {
|
|
2441
|
-
readonly AES_128: "AES_128";
|
|
2442
|
-
readonly AES_256: "AES_256";
|
|
2443
|
-
};
|
|
2444
|
-
/**
|
|
2445
|
-
* @public
|
|
2446
|
-
*/
|
|
2447
|
-
export type DataKeySpec = (typeof DataKeySpec)[keyof typeof DataKeySpec];
|
|
2448
|
-
/**
|
|
2449
|
-
* @public
|
|
2450
|
-
* @enum
|
|
2451
|
-
*/
|
|
2452
|
-
export declare const KeyEncryptionMechanism: {
|
|
2453
|
-
readonly RSAES_OAEP_SHA_256: "RSAES_OAEP_SHA_256";
|
|
2454
|
-
};
|
|
2455
|
-
/**
|
|
2456
|
-
* @public
|
|
2457
|
-
*/
|
|
2458
|
-
export type KeyEncryptionMechanism = (typeof KeyEncryptionMechanism)[keyof typeof KeyEncryptionMechanism];
|
|
2459
1515
|
/**
|
|
2460
1516
|
* <p>Contains information about the party that receives the response from the API
|
|
2461
1517
|
* operation.</p>
|
|
@@ -2609,82 +1665,6 @@ export interface DecryptResponse {
|
|
|
2609
1665
|
*/
|
|
2610
1666
|
KeyMaterialId?: string | undefined;
|
|
2611
1667
|
}
|
|
2612
|
-
/**
|
|
2613
|
-
* <p>The request was rejected because the specified KMS key cannot decrypt the data. The
|
|
2614
|
-
* <code>KeyId</code> in a <a>Decrypt</a> request and the <code>SourceKeyId</code>
|
|
2615
|
-
* in a <a>ReEncrypt</a> request must identify the same KMS key that was used to
|
|
2616
|
-
* encrypt the ciphertext.</p>
|
|
2617
|
-
* @public
|
|
2618
|
-
*/
|
|
2619
|
-
export declare class IncorrectKeyException extends __BaseException {
|
|
2620
|
-
readonly name: "IncorrectKeyException";
|
|
2621
|
-
readonly $fault: "client";
|
|
2622
|
-
/**
|
|
2623
|
-
* @internal
|
|
2624
|
-
*/
|
|
2625
|
-
constructor(opts: __ExceptionOptionType<IncorrectKeyException, __BaseException>);
|
|
2626
|
-
}
|
|
2627
|
-
/**
|
|
2628
|
-
* <p>From the <a>Decrypt</a> or <a>ReEncrypt</a> operation, the request
|
|
2629
|
-
* was rejected because the specified ciphertext, or additional authenticated data incorporated
|
|
2630
|
-
* into the ciphertext, such as the encryption context, is corrupted, missing, or otherwise
|
|
2631
|
-
* invalid.</p>
|
|
2632
|
-
* <p>From the <a>ImportKeyMaterial</a> operation, the request was rejected because
|
|
2633
|
-
* KMS could not decrypt the encrypted (wrapped) key material. </p>
|
|
2634
|
-
* @public
|
|
2635
|
-
*/
|
|
2636
|
-
export declare class InvalidCiphertextException extends __BaseException {
|
|
2637
|
-
readonly name: "InvalidCiphertextException";
|
|
2638
|
-
readonly $fault: "client";
|
|
2639
|
-
/**
|
|
2640
|
-
* @internal
|
|
2641
|
-
*/
|
|
2642
|
-
constructor(opts: __ExceptionOptionType<InvalidCiphertextException, __BaseException>);
|
|
2643
|
-
}
|
|
2644
|
-
/**
|
|
2645
|
-
* <p>The request was rejected for one of the following reasons: </p>
|
|
2646
|
-
* <ul>
|
|
2647
|
-
* <li>
|
|
2648
|
-
* <p>The <code>KeyUsage</code> value of the KMS key is incompatible with the API
|
|
2649
|
-
* operation.</p>
|
|
2650
|
-
* </li>
|
|
2651
|
-
* <li>
|
|
2652
|
-
* <p>The encryption algorithm or signing algorithm specified for the operation is
|
|
2653
|
-
* incompatible with the type of key material in the KMS key <code>(KeySpec</code>).</p>
|
|
2654
|
-
* </li>
|
|
2655
|
-
* </ul>
|
|
2656
|
-
* <p>For encrypting, decrypting, re-encrypting, and generating data keys, the
|
|
2657
|
-
* <code>KeyUsage</code> must be <code>ENCRYPT_DECRYPT</code>. For signing and verifying
|
|
2658
|
-
* messages, the <code>KeyUsage</code> must be <code>SIGN_VERIFY</code>. For generating and
|
|
2659
|
-
* verifying message authentication codes (MACs), the <code>KeyUsage</code> must be
|
|
2660
|
-
* <code>GENERATE_VERIFY_MAC</code>. For deriving key agreement secrets, the
|
|
2661
|
-
* <code>KeyUsage</code> must be <code>KEY_AGREEMENT</code>. To find the <code>KeyUsage</code>
|
|
2662
|
-
* of a KMS key, use the <a>DescribeKey</a> operation.</p>
|
|
2663
|
-
* <p>To find the encryption or signing algorithms supported for a particular KMS key, use the
|
|
2664
|
-
* <a>DescribeKey</a> operation.</p>
|
|
2665
|
-
* @public
|
|
2666
|
-
*/
|
|
2667
|
-
export declare class InvalidKeyUsageException extends __BaseException {
|
|
2668
|
-
readonly name: "InvalidKeyUsageException";
|
|
2669
|
-
readonly $fault: "client";
|
|
2670
|
-
/**
|
|
2671
|
-
* @internal
|
|
2672
|
-
*/
|
|
2673
|
-
constructor(opts: __ExceptionOptionType<InvalidKeyUsageException, __BaseException>);
|
|
2674
|
-
}
|
|
2675
|
-
/**
|
|
2676
|
-
* <p>The request was rejected because the specified KMS key was not available. You can retry
|
|
2677
|
-
* the request.</p>
|
|
2678
|
-
* @public
|
|
2679
|
-
*/
|
|
2680
|
-
export declare class KeyUnavailableException extends __BaseException {
|
|
2681
|
-
readonly name: "KeyUnavailableException";
|
|
2682
|
-
readonly $fault: "server";
|
|
2683
|
-
/**
|
|
2684
|
-
* @internal
|
|
2685
|
-
*/
|
|
2686
|
-
constructor(opts: __ExceptionOptionType<KeyUnavailableException, __BaseException>);
|
|
2687
|
-
}
|
|
2688
1668
|
/**
|
|
2689
1669
|
* @public
|
|
2690
1670
|
*/
|
|
@@ -2958,19 +1938,6 @@ export interface DescribeCustomKeyStoresResponse {
|
|
|
2958
1938
|
*/
|
|
2959
1939
|
Truncated?: boolean | undefined;
|
|
2960
1940
|
}
|
|
2961
|
-
/**
|
|
2962
|
-
* <p>The request was rejected because the marker that specifies where pagination should next
|
|
2963
|
-
* begin is not valid.</p>
|
|
2964
|
-
* @public
|
|
2965
|
-
*/
|
|
2966
|
-
export declare class InvalidMarkerException extends __BaseException {
|
|
2967
|
-
readonly name: "InvalidMarkerException";
|
|
2968
|
-
readonly $fault: "client";
|
|
2969
|
-
/**
|
|
2970
|
-
* @internal
|
|
2971
|
-
*/
|
|
2972
|
-
constructor(opts: __ExceptionOptionType<InvalidMarkerException, __BaseException>);
|
|
2973
|
-
}
|
|
2974
1941
|
/**
|
|
2975
1942
|
* @public
|
|
2976
1943
|
*/
|
|
@@ -3241,19 +2208,6 @@ export interface EncryptResponse {
|
|
|
3241
2208
|
*/
|
|
3242
2209
|
EncryptionAlgorithm?: EncryptionAlgorithmSpec | undefined;
|
|
3243
2210
|
}
|
|
3244
|
-
/**
|
|
3245
|
-
* <p>The request was rejected because the specified import token is expired. Use <a>GetParametersForImport</a> to get a new import token and public key, use the new
|
|
3246
|
-
* public key to encrypt the key material, and then try the request again.</p>
|
|
3247
|
-
* @public
|
|
3248
|
-
*/
|
|
3249
|
-
export declare class ExpiredImportTokenException extends __BaseException {
|
|
3250
|
-
readonly name: "ExpiredImportTokenException";
|
|
3251
|
-
readonly $fault: "client";
|
|
3252
|
-
/**
|
|
3253
|
-
* @internal
|
|
3254
|
-
*/
|
|
3255
|
-
constructor(opts: __ExceptionOptionType<ExpiredImportTokenException, __BaseException>);
|
|
3256
|
-
}
|
|
3257
2211
|
/**
|
|
3258
2212
|
* @public
|
|
3259
2213
|
*/
|
|
@@ -3931,20 +2885,6 @@ export interface GetKeyRotationStatusResponse {
|
|
|
3931
2885
|
*/
|
|
3932
2886
|
OnDemandRotationStartDate?: Date | undefined;
|
|
3933
2887
|
}
|
|
3934
|
-
/**
|
|
3935
|
-
* @public
|
|
3936
|
-
* @enum
|
|
3937
|
-
*/
|
|
3938
|
-
export declare const WrappingKeySpec: {
|
|
3939
|
-
readonly RSA_2048: "RSA_2048";
|
|
3940
|
-
readonly RSA_3072: "RSA_3072";
|
|
3941
|
-
readonly RSA_4096: "RSA_4096";
|
|
3942
|
-
readonly SM2: "SM2";
|
|
3943
|
-
};
|
|
3944
|
-
/**
|
|
3945
|
-
* @public
|
|
3946
|
-
*/
|
|
3947
|
-
export type WrappingKeySpec = (typeof WrappingKeySpec)[keyof typeof WrappingKeySpec];
|
|
3948
2888
|
/**
|
|
3949
2889
|
* @public
|
|
3950
2890
|
*/
|
|
@@ -4211,18 +3151,6 @@ export interface GrantListEntry {
|
|
|
4211
3151
|
*/
|
|
4212
3152
|
Constraints?: GrantConstraints | undefined;
|
|
4213
3153
|
}
|
|
4214
|
-
/**
|
|
4215
|
-
* @public
|
|
4216
|
-
* @enum
|
|
4217
|
-
*/
|
|
4218
|
-
export declare const ImportType: {
|
|
4219
|
-
readonly EXISTING_KEY_MATERIAL: "EXISTING_KEY_MATERIAL";
|
|
4220
|
-
readonly NEW_KEY_MATERIAL: "NEW_KEY_MATERIAL";
|
|
4221
|
-
};
|
|
4222
|
-
/**
|
|
4223
|
-
* @public
|
|
4224
|
-
*/
|
|
4225
|
-
export type ImportType = (typeof ImportType)[keyof typeof ImportType];
|
|
4226
3154
|
/**
|
|
4227
3155
|
* @public
|
|
4228
3156
|
*/
|
|
@@ -4350,70 +3278,6 @@ export interface ImportKeyMaterialResponse {
|
|
|
4350
3278
|
*/
|
|
4351
3279
|
KeyMaterialId?: string | undefined;
|
|
4352
3280
|
}
|
|
4353
|
-
/**
|
|
4354
|
-
* <p>The request was rejected because the key material in the request is, expired, invalid, or
|
|
4355
|
-
* does not meet expectations. For example, it is not the same key material that was previously
|
|
4356
|
-
* imported or KMS expected new key material but the key material being imported is already
|
|
4357
|
-
* associated with the KMS key.</p>
|
|
4358
|
-
* @public
|
|
4359
|
-
*/
|
|
4360
|
-
export declare class IncorrectKeyMaterialException extends __BaseException {
|
|
4361
|
-
readonly name: "IncorrectKeyMaterialException";
|
|
4362
|
-
readonly $fault: "client";
|
|
4363
|
-
/**
|
|
4364
|
-
* @internal
|
|
4365
|
-
*/
|
|
4366
|
-
constructor(opts: __ExceptionOptionType<IncorrectKeyMaterialException, __BaseException>);
|
|
4367
|
-
}
|
|
4368
|
-
/**
|
|
4369
|
-
* <p>The request was rejected because the provided import token is invalid or is associated
|
|
4370
|
-
* with a different KMS key.</p>
|
|
4371
|
-
* @public
|
|
4372
|
-
*/
|
|
4373
|
-
export declare class InvalidImportTokenException extends __BaseException {
|
|
4374
|
-
readonly name: "InvalidImportTokenException";
|
|
4375
|
-
readonly $fault: "client";
|
|
4376
|
-
/**
|
|
4377
|
-
* @internal
|
|
4378
|
-
*/
|
|
4379
|
-
constructor(opts: __ExceptionOptionType<InvalidImportTokenException, __BaseException>);
|
|
4380
|
-
}
|
|
4381
|
-
/**
|
|
4382
|
-
* @public
|
|
4383
|
-
* @enum
|
|
4384
|
-
*/
|
|
4385
|
-
export declare const ImportState: {
|
|
4386
|
-
readonly IMPORTED: "IMPORTED";
|
|
4387
|
-
readonly PENDING_IMPORT: "PENDING_IMPORT";
|
|
4388
|
-
};
|
|
4389
|
-
/**
|
|
4390
|
-
* @public
|
|
4391
|
-
*/
|
|
4392
|
-
export type ImportState = (typeof ImportState)[keyof typeof ImportState];
|
|
4393
|
-
/**
|
|
4394
|
-
* @public
|
|
4395
|
-
* @enum
|
|
4396
|
-
*/
|
|
4397
|
-
export declare const IncludeKeyMaterial: {
|
|
4398
|
-
readonly ALL_KEY_MATERIAL: "ALL_KEY_MATERIAL";
|
|
4399
|
-
readonly ROTATIONS_ONLY: "ROTATIONS_ONLY";
|
|
4400
|
-
};
|
|
4401
|
-
/**
|
|
4402
|
-
* @public
|
|
4403
|
-
*/
|
|
4404
|
-
export type IncludeKeyMaterial = (typeof IncludeKeyMaterial)[keyof typeof IncludeKeyMaterial];
|
|
4405
|
-
/**
|
|
4406
|
-
* <p>The request was rejected because the specified <code>GrantId</code> is not valid.</p>
|
|
4407
|
-
* @public
|
|
4408
|
-
*/
|
|
4409
|
-
export declare class InvalidGrantIdException extends __BaseException {
|
|
4410
|
-
readonly name: "InvalidGrantIdException";
|
|
4411
|
-
readonly $fault: "client";
|
|
4412
|
-
/**
|
|
4413
|
-
* @internal
|
|
4414
|
-
*/
|
|
4415
|
-
constructor(opts: __ExceptionOptionType<InvalidGrantIdException, __BaseException>);
|
|
4416
|
-
}
|
|
4417
3281
|
/**
|
|
4418
3282
|
* <p>Contains information about each entry in the key list.</p>
|
|
4419
3283
|
* @public
|
|
@@ -4430,47 +3294,6 @@ export interface KeyListEntry {
|
|
|
4430
3294
|
*/
|
|
4431
3295
|
KeyArn?: string | undefined;
|
|
4432
3296
|
}
|
|
4433
|
-
/**
|
|
4434
|
-
* @public
|
|
4435
|
-
* @enum
|
|
4436
|
-
*/
|
|
4437
|
-
export declare const KeyMaterialState: {
|
|
4438
|
-
readonly CURRENT: "CURRENT";
|
|
4439
|
-
readonly NON_CURRENT: "NON_CURRENT";
|
|
4440
|
-
readonly PENDING_ROTATION: "PENDING_ROTATION";
|
|
4441
|
-
};
|
|
4442
|
-
/**
|
|
4443
|
-
* @public
|
|
4444
|
-
*/
|
|
4445
|
-
export type KeyMaterialState = (typeof KeyMaterialState)[keyof typeof KeyMaterialState];
|
|
4446
|
-
/**
|
|
4447
|
-
* <p>The request was rejected because the HMAC verification failed. HMAC verification fails
|
|
4448
|
-
* when the HMAC computed by using the specified message, HMAC KMS key, and MAC algorithm does
|
|
4449
|
-
* not match the HMAC specified in the request.</p>
|
|
4450
|
-
* @public
|
|
4451
|
-
*/
|
|
4452
|
-
export declare class KMSInvalidMacException extends __BaseException {
|
|
4453
|
-
readonly name: "KMSInvalidMacException";
|
|
4454
|
-
readonly $fault: "client";
|
|
4455
|
-
/**
|
|
4456
|
-
* @internal
|
|
4457
|
-
*/
|
|
4458
|
-
constructor(opts: __ExceptionOptionType<KMSInvalidMacException, __BaseException>);
|
|
4459
|
-
}
|
|
4460
|
-
/**
|
|
4461
|
-
* <p>The request was rejected because the signature verification failed. Signature verification
|
|
4462
|
-
* fails when it cannot confirm that signature was produced by signing the specified message with
|
|
4463
|
-
* the specified KMS key and signing algorithm.</p>
|
|
4464
|
-
* @public
|
|
4465
|
-
*/
|
|
4466
|
-
export declare class KMSInvalidSignatureException extends __BaseException {
|
|
4467
|
-
readonly name: "KMSInvalidSignatureException";
|
|
4468
|
-
readonly $fault: "client";
|
|
4469
|
-
/**
|
|
4470
|
-
* @internal
|
|
4471
|
-
*/
|
|
4472
|
-
constructor(opts: __ExceptionOptionType<KMSInvalidSignatureException, __BaseException>);
|
|
4473
|
-
}
|
|
4474
3297
|
/**
|
|
4475
3298
|
* @public
|
|
4476
3299
|
*/
|
|
@@ -4727,18 +3550,6 @@ export interface ListKeyRotationsRequest {
|
|
|
4727
3550
|
*/
|
|
4728
3551
|
Marker?: string | undefined;
|
|
4729
3552
|
}
|
|
4730
|
-
/**
|
|
4731
|
-
* @public
|
|
4732
|
-
* @enum
|
|
4733
|
-
*/
|
|
4734
|
-
export declare const RotationType: {
|
|
4735
|
-
readonly AUTOMATIC: "AUTOMATIC";
|
|
4736
|
-
readonly ON_DEMAND: "ON_DEMAND";
|
|
4737
|
-
};
|
|
4738
|
-
/**
|
|
4739
|
-
* @public
|
|
4740
|
-
*/
|
|
4741
|
-
export type RotationType = (typeof RotationType)[keyof typeof RotationType];
|
|
4742
3553
|
/**
|
|
4743
3554
|
* <p>Each entry contains information about one of the key materials associated with a KMS
|
|
4744
3555
|
* key.</p>
|
|
@@ -4987,19 +3798,6 @@ export interface ListRetirableGrantsRequest {
|
|
|
4987
3798
|
*/
|
|
4988
3799
|
RetiringPrincipal: string | undefined;
|
|
4989
3800
|
}
|
|
4990
|
-
/**
|
|
4991
|
-
* @public
|
|
4992
|
-
* @enum
|
|
4993
|
-
*/
|
|
4994
|
-
export declare const MessageType: {
|
|
4995
|
-
readonly DIGEST: "DIGEST";
|
|
4996
|
-
readonly EXTERNAL_MU: "EXTERNAL_MU";
|
|
4997
|
-
readonly RAW: "RAW";
|
|
4998
|
-
};
|
|
4999
|
-
/**
|
|
5000
|
-
* @public
|
|
5001
|
-
*/
|
|
5002
|
-
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
5003
3801
|
/**
|
|
5004
3802
|
* @public
|
|
5005
3803
|
*/
|