@aws-sdk/client-kms 3.934.0 → 3.936.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 +19 -19
- 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
|
@@ -0,0 +1,769 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { KMSServiceException as __BaseException } from "./KMSServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
5
|
+
* exists.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AlreadyExistsException extends __BaseException {
|
|
9
|
+
readonly name: "AlreadyExistsException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The system timed out while trying to fulfill the request. You can retry the
|
|
18
|
+
* request.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class DependencyTimeoutException extends __BaseException {
|
|
22
|
+
readonly name: "DependencyTimeoutException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<DependencyTimeoutException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>The request was rejected because a specified ARN, or an ARN in a key policy, is not
|
|
31
|
+
* valid.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class InvalidArnException extends __BaseException {
|
|
35
|
+
readonly name: "InvalidArnException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<InvalidArnException, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>The request was rejected because an internal exception occurred. The request can be
|
|
44
|
+
* retried.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export declare class KMSInternalException extends __BaseException {
|
|
48
|
+
readonly name: "KMSInternalException";
|
|
49
|
+
readonly $fault: "server";
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<KMSInternalException, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* <p>The request was rejected because the state of the specified resource is not valid for this
|
|
57
|
+
* request.</p>
|
|
58
|
+
* <p>This exceptions means one of the following:</p>
|
|
59
|
+
* <ul>
|
|
60
|
+
* <li>
|
|
61
|
+
* <p>The key state of the KMS key is not compatible with the operation. </p>
|
|
62
|
+
* <p>To find the key state, use the <a>DescribeKey</a> operation. For more
|
|
63
|
+
* information about which key states are compatible with each KMS operation, see
|
|
64
|
+
* <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key states of KMS keys</a> in the <i>
|
|
65
|
+
* <i>Key Management Service Developer Guide</i>
|
|
66
|
+
* </i>.</p>
|
|
67
|
+
* </li>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>For cryptographic operations on KMS keys in custom key stores, this exception
|
|
70
|
+
* represents a general failure with many possible causes. To identify the cause, see the
|
|
71
|
+
* error message that accompanies the exception.</p>
|
|
72
|
+
* </li>
|
|
73
|
+
* </ul>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class KMSInvalidStateException extends __BaseException {
|
|
77
|
+
readonly name: "KMSInvalidStateException";
|
|
78
|
+
readonly $fault: "client";
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* <p>The request was rejected because the specified entity or resource could not be
|
|
86
|
+
* found.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class NotFoundException extends __BaseException {
|
|
90
|
+
readonly name: "NotFoundException";
|
|
91
|
+
readonly $fault: "client";
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* <p>The request was rejected because the specified CloudHSM cluster is already associated with an
|
|
99
|
+
* CloudHSM key store in the account, or it shares a backup history with an CloudHSM key store in the
|
|
100
|
+
* account. Each CloudHSM key store in the account must be associated with a different CloudHSM
|
|
101
|
+
* cluster.</p>
|
|
102
|
+
* <p>CloudHSM clusters that share a backup history have the same cluster certificate. To view the
|
|
103
|
+
* 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>
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export declare class CloudHsmClusterInUseException extends __BaseException {
|
|
107
|
+
readonly name: "CloudHsmClusterInUseException";
|
|
108
|
+
readonly $fault: "client";
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
constructor(opts: __ExceptionOptionType<CloudHsmClusterInUseException, __BaseException>);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* <p>The request was rejected because the associated CloudHSM cluster did not meet the
|
|
116
|
+
* configuration requirements for an CloudHSM key store.</p>
|
|
117
|
+
* <ul>
|
|
118
|
+
* <li>
|
|
119
|
+
* <p>The CloudHSM cluster must be configured with private subnets in at least two different
|
|
120
|
+
* Availability Zones in the Region.</p>
|
|
121
|
+
* </li>
|
|
122
|
+
* <li>
|
|
123
|
+
* <p>The <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html">security group for
|
|
124
|
+
* the cluster</a> (cloudhsm-cluster-<i><cluster-id></i>-sg) must
|
|
125
|
+
* include inbound rules and outbound rules that allow TCP traffic on ports 2223-2225. The
|
|
126
|
+
* <b>Source</b> in the inbound rules and the <b>Destination</b> in the outbound rules must match the security group
|
|
127
|
+
* ID. These rules are set by default when you create the CloudHSM cluster. Do not delete or
|
|
128
|
+
* 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>
|
|
129
|
+
* </li>
|
|
130
|
+
* <li>
|
|
131
|
+
* <p>The CloudHSM cluster must contain at least as many HSMs as the operation requires. To add
|
|
132
|
+
* HSMs, use the CloudHSM <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html">CreateHsm</a> operation.</p>
|
|
133
|
+
* <p>For the <a>CreateCustomKeyStore</a>, <a>UpdateCustomKeyStore</a>, and <a>CreateKey</a> operations, the CloudHSM cluster must have at least two
|
|
134
|
+
* active HSMs, each in a different Availability Zone. For the <a>ConnectCustomKeyStore</a> operation, the CloudHSM must contain at least one active
|
|
135
|
+
* HSM.</p>
|
|
136
|
+
* </li>
|
|
137
|
+
* </ul>
|
|
138
|
+
* <p>For information about the requirements for an CloudHSM cluster that is associated with an
|
|
139
|
+
* CloudHSM key store, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore">Assemble the Prerequisites</a>
|
|
140
|
+
* in the <i>Key Management Service Developer Guide</i>. For information about creating a private subnet for an CloudHSM cluster,
|
|
141
|
+
* see <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-subnets.html">Create a Private
|
|
142
|
+
* Subnet</a> in the <i>CloudHSM User Guide</i>. For information about cluster security groups, see
|
|
143
|
+
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html">Configure a Default Security
|
|
144
|
+
* Group</a> in the <i>
|
|
145
|
+
* <i>CloudHSM User Guide</i>
|
|
146
|
+
* </i>. </p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export declare class CloudHsmClusterInvalidConfigurationException extends __BaseException {
|
|
150
|
+
readonly name: "CloudHsmClusterInvalidConfigurationException";
|
|
151
|
+
readonly $fault: "client";
|
|
152
|
+
/**
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
constructor(opts: __ExceptionOptionType<CloudHsmClusterInvalidConfigurationException, __BaseException>);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* <p>The request was rejected because the CloudHSM cluster associated with the CloudHSM key store is
|
|
159
|
+
* not active. Initialize and activate the cluster and try the command again. For detailed
|
|
160
|
+
* instructions, see <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html">Getting
|
|
161
|
+
* Started</a> in the <i>CloudHSM User Guide</i>.</p>
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
export declare class CloudHsmClusterNotActiveException extends __BaseException {
|
|
165
|
+
readonly name: "CloudHsmClusterNotActiveException";
|
|
166
|
+
readonly $fault: "client";
|
|
167
|
+
/**
|
|
168
|
+
* @internal
|
|
169
|
+
*/
|
|
170
|
+
constructor(opts: __ExceptionOptionType<CloudHsmClusterNotActiveException, __BaseException>);
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* <p>The request was rejected because KMS cannot find the CloudHSM cluster with the specified
|
|
174
|
+
* cluster ID. Retry the request with a different cluster ID.</p>
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export declare class CloudHsmClusterNotFoundException extends __BaseException {
|
|
178
|
+
readonly name: "CloudHsmClusterNotFoundException";
|
|
179
|
+
readonly $fault: "client";
|
|
180
|
+
/**
|
|
181
|
+
* @internal
|
|
182
|
+
*/
|
|
183
|
+
constructor(opts: __ExceptionOptionType<CloudHsmClusterNotFoundException, __BaseException>);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* <p>The request was rejected because the specified CloudHSM cluster has a different cluster
|
|
187
|
+
* certificate than the original cluster. You cannot use the operation to specify an unrelated
|
|
188
|
+
* cluster for an CloudHSM key store.</p>
|
|
189
|
+
* <p>Specify an CloudHSM cluster that shares a backup history with the original cluster. This
|
|
190
|
+
* includes clusters that were created from a backup of the current cluster, and clusters that
|
|
191
|
+
* were created from the same backup that produced the current cluster.</p>
|
|
192
|
+
* <p>CloudHSM clusters that share a backup history have the same cluster certificate. To view the
|
|
193
|
+
* 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>
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
196
|
+
export declare class CloudHsmClusterNotRelatedException extends __BaseException {
|
|
197
|
+
readonly name: "CloudHsmClusterNotRelatedException";
|
|
198
|
+
readonly $fault: "client";
|
|
199
|
+
/**
|
|
200
|
+
* @internal
|
|
201
|
+
*/
|
|
202
|
+
constructor(opts: __ExceptionOptionType<CloudHsmClusterNotRelatedException, __BaseException>);
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* <p>The request was rejected because an automatic rotation of this key is currently in
|
|
206
|
+
* progress or scheduled to begin within the next 20 minutes. </p>
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
export declare class ConflictException extends __BaseException {
|
|
210
|
+
readonly name: "ConflictException";
|
|
211
|
+
readonly $fault: "client";
|
|
212
|
+
/**
|
|
213
|
+
* @internal
|
|
214
|
+
*/
|
|
215
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* <p>The request was rejected because of the <code>ConnectionState</code> of the custom key
|
|
219
|
+
* store. To get the <code>ConnectionState</code> of a custom key store, use the <a>DescribeCustomKeyStores</a> operation.</p>
|
|
220
|
+
* <p>This exception is thrown under the following conditions:</p>
|
|
221
|
+
* <ul>
|
|
222
|
+
* <li>
|
|
223
|
+
* <p>You requested the <a>ConnectCustomKeyStore</a> operation on a custom key
|
|
224
|
+
* store with a <code>ConnectionState</code> of <code>DISCONNECTING</code> or
|
|
225
|
+
* <code>FAILED</code>. This operation is valid for all other <code>ConnectionState</code>
|
|
226
|
+
* values. To reconnect a custom key store in a <code>FAILED</code> state, disconnect it
|
|
227
|
+
* (<a>DisconnectCustomKeyStore</a>), then connect it
|
|
228
|
+
* (<code>ConnectCustomKeyStore</code>).</p>
|
|
229
|
+
* </li>
|
|
230
|
+
* <li>
|
|
231
|
+
* <p>You requested the <a>CreateKey</a> operation in a custom key store that is
|
|
232
|
+
* not connected. This operations is valid only when the custom key store
|
|
233
|
+
* <code>ConnectionState</code> is <code>CONNECTED</code>.</p>
|
|
234
|
+
* </li>
|
|
235
|
+
* <li>
|
|
236
|
+
* <p>You requested the <a>DisconnectCustomKeyStore</a> operation on a custom key
|
|
237
|
+
* store with a <code>ConnectionState</code> of <code>DISCONNECTING</code> or
|
|
238
|
+
* <code>DISCONNECTED</code>. This operation is valid for all other
|
|
239
|
+
* <code>ConnectionState</code> values.</p>
|
|
240
|
+
* </li>
|
|
241
|
+
* <li>
|
|
242
|
+
* <p>You requested the <a>UpdateCustomKeyStore</a> or <a>DeleteCustomKeyStore</a> operation on a custom key store that is not
|
|
243
|
+
* disconnected. This operation is valid only when the custom key store
|
|
244
|
+
* <code>ConnectionState</code> is <code>DISCONNECTED</code>.</p>
|
|
245
|
+
* </li>
|
|
246
|
+
* <li>
|
|
247
|
+
* <p>You requested the <a>GenerateRandom</a> operation in an CloudHSM key store
|
|
248
|
+
* that is not connected. This operation is valid only when the CloudHSM key store
|
|
249
|
+
* <code>ConnectionState</code> is <code>CONNECTED</code>. </p>
|
|
250
|
+
* </li>
|
|
251
|
+
* </ul>
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
export declare class CustomKeyStoreInvalidStateException extends __BaseException {
|
|
255
|
+
readonly name: "CustomKeyStoreInvalidStateException";
|
|
256
|
+
readonly $fault: "client";
|
|
257
|
+
/**
|
|
258
|
+
* @internal
|
|
259
|
+
*/
|
|
260
|
+
constructor(opts: __ExceptionOptionType<CustomKeyStoreInvalidStateException, __BaseException>);
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* <p>The request was rejected because KMS cannot find a custom key store with the specified
|
|
264
|
+
* key store name or ID.</p>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
export declare class CustomKeyStoreNotFoundException extends __BaseException {
|
|
268
|
+
readonly name: "CustomKeyStoreNotFoundException";
|
|
269
|
+
readonly $fault: "client";
|
|
270
|
+
/**
|
|
271
|
+
* @internal
|
|
272
|
+
*/
|
|
273
|
+
constructor(opts: __ExceptionOptionType<CustomKeyStoreNotFoundException, __BaseException>);
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* <p>The request was rejected because the specified alias name is not valid.</p>
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
export declare class InvalidAliasNameException extends __BaseException {
|
|
280
|
+
readonly name: "InvalidAliasNameException";
|
|
281
|
+
readonly $fault: "client";
|
|
282
|
+
/**
|
|
283
|
+
* @internal
|
|
284
|
+
*/
|
|
285
|
+
constructor(opts: __ExceptionOptionType<InvalidAliasNameException, __BaseException>);
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* <p>The request was rejected because a length constraint or quota was exceeded. For more
|
|
289
|
+
* information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html">Quotas</a> in
|
|
290
|
+
* the <i>Key Management Service Developer Guide</i>.</p>
|
|
291
|
+
* @public
|
|
292
|
+
*/
|
|
293
|
+
export declare class LimitExceededException extends __BaseException {
|
|
294
|
+
readonly name: "LimitExceededException";
|
|
295
|
+
readonly $fault: "client";
|
|
296
|
+
/**
|
|
297
|
+
* @internal
|
|
298
|
+
*/
|
|
299
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* <p>The request was rejected because the specified custom key store name is already assigned
|
|
303
|
+
* to another custom key store in the account. Try again with a custom key store name that is
|
|
304
|
+
* unique in the account.</p>
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
export declare class CustomKeyStoreNameInUseException extends __BaseException {
|
|
308
|
+
readonly name: "CustomKeyStoreNameInUseException";
|
|
309
|
+
readonly $fault: "client";
|
|
310
|
+
/**
|
|
311
|
+
* @internal
|
|
312
|
+
*/
|
|
313
|
+
constructor(opts: __ExceptionOptionType<CustomKeyStoreNameInUseException, __BaseException>);
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* <p>The request was rejected because the trust anchor certificate in the request to create an
|
|
317
|
+
* CloudHSM key store is not the trust anchor certificate for the specified CloudHSM cluster.</p>
|
|
318
|
+
* <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
|
|
319
|
+
* in the <code>customerCA.crt</code> file.</p>
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
export declare class IncorrectTrustAnchorException extends __BaseException {
|
|
323
|
+
readonly name: "IncorrectTrustAnchorException";
|
|
324
|
+
readonly $fault: "client";
|
|
325
|
+
/**
|
|
326
|
+
* @internal
|
|
327
|
+
*/
|
|
328
|
+
constructor(opts: __ExceptionOptionType<IncorrectTrustAnchorException, __BaseException>);
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* <p>The request was rejected because the proxy credentials failed to authenticate to the
|
|
332
|
+
* specified external key store proxy. The specified external key store proxy rejected a status
|
|
333
|
+
* request from KMS due to invalid credentials. This can indicate an error in the credentials
|
|
334
|
+
* or in the identification of the external key store proxy.</p>
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
export declare class XksProxyIncorrectAuthenticationCredentialException extends __BaseException {
|
|
338
|
+
readonly name: "XksProxyIncorrectAuthenticationCredentialException";
|
|
339
|
+
readonly $fault: "client";
|
|
340
|
+
/**
|
|
341
|
+
* @internal
|
|
342
|
+
*/
|
|
343
|
+
constructor(opts: __ExceptionOptionType<XksProxyIncorrectAuthenticationCredentialException, __BaseException>);
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* <p>The request was rejected because the external key store proxy is not configured correctly.
|
|
347
|
+
* To identify the cause, see the error message that accompanies the exception.</p>
|
|
348
|
+
* @public
|
|
349
|
+
*/
|
|
350
|
+
export declare class XksProxyInvalidConfigurationException extends __BaseException {
|
|
351
|
+
readonly name: "XksProxyInvalidConfigurationException";
|
|
352
|
+
readonly $fault: "client";
|
|
353
|
+
/**
|
|
354
|
+
* @internal
|
|
355
|
+
*/
|
|
356
|
+
constructor(opts: __ExceptionOptionType<XksProxyInvalidConfigurationException, __BaseException>);
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* <p></p>
|
|
360
|
+
* <p>KMS cannot interpret the response it received from the external key store proxy. The
|
|
361
|
+
* problem might be a poorly constructed response, but it could also be a transient network
|
|
362
|
+
* issue. If you see this error repeatedly, report it to the proxy vendor.</p>
|
|
363
|
+
* @public
|
|
364
|
+
*/
|
|
365
|
+
export declare class XksProxyInvalidResponseException extends __BaseException {
|
|
366
|
+
readonly name: "XksProxyInvalidResponseException";
|
|
367
|
+
readonly $fault: "client";
|
|
368
|
+
/**
|
|
369
|
+
* @internal
|
|
370
|
+
*/
|
|
371
|
+
constructor(opts: __ExceptionOptionType<XksProxyInvalidResponseException, __BaseException>);
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* <p>The request was rejected because the <code>XksProxyUriEndpoint</code> is already
|
|
375
|
+
* associated with another external key store in this Amazon Web Services Region. To identify the cause, see
|
|
376
|
+
* the error message that accompanies the exception. </p>
|
|
377
|
+
* @public
|
|
378
|
+
*/
|
|
379
|
+
export declare class XksProxyUriEndpointInUseException extends __BaseException {
|
|
380
|
+
readonly name: "XksProxyUriEndpointInUseException";
|
|
381
|
+
readonly $fault: "client";
|
|
382
|
+
/**
|
|
383
|
+
* @internal
|
|
384
|
+
*/
|
|
385
|
+
constructor(opts: __ExceptionOptionType<XksProxyUriEndpointInUseException, __BaseException>);
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* <p>The request was rejected because the concatenation of the <code>XksProxyUriEndpoint</code>
|
|
389
|
+
* and <code>XksProxyUriPath</code> is already associated with another external key store in this
|
|
390
|
+
* Amazon Web Services Region. Each external key store in a Region must use a unique external key store proxy
|
|
391
|
+
* API address.</p>
|
|
392
|
+
* @public
|
|
393
|
+
*/
|
|
394
|
+
export declare class XksProxyUriInUseException extends __BaseException {
|
|
395
|
+
readonly name: "XksProxyUriInUseException";
|
|
396
|
+
readonly $fault: "client";
|
|
397
|
+
/**
|
|
398
|
+
* @internal
|
|
399
|
+
*/
|
|
400
|
+
constructor(opts: __ExceptionOptionType<XksProxyUriInUseException, __BaseException>);
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* <p>KMS was unable to reach the specified <code>XksProxyUriPath</code>. The path must be
|
|
404
|
+
* reachable before you create the external key store or update its settings.</p>
|
|
405
|
+
* <p>This exception is also thrown when the external key store proxy response to a
|
|
406
|
+
* <code>GetHealthStatus</code> request indicates that all external key manager instances are
|
|
407
|
+
* unavailable.</p>
|
|
408
|
+
* @public
|
|
409
|
+
*/
|
|
410
|
+
export declare class XksProxyUriUnreachableException extends __BaseException {
|
|
411
|
+
readonly name: "XksProxyUriUnreachableException";
|
|
412
|
+
readonly $fault: "client";
|
|
413
|
+
/**
|
|
414
|
+
* @internal
|
|
415
|
+
*/
|
|
416
|
+
constructor(opts: __ExceptionOptionType<XksProxyUriUnreachableException, __BaseException>);
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* <p>The request was rejected because the specified Amazon VPC endpoint service is already
|
|
420
|
+
* associated with another external key store in this Amazon Web Services Region. Each external key store in a
|
|
421
|
+
* Region must use a different Amazon VPC endpoint service.</p>
|
|
422
|
+
* @public
|
|
423
|
+
*/
|
|
424
|
+
export declare class XksProxyVpcEndpointServiceInUseException extends __BaseException {
|
|
425
|
+
readonly name: "XksProxyVpcEndpointServiceInUseException";
|
|
426
|
+
readonly $fault: "client";
|
|
427
|
+
/**
|
|
428
|
+
* @internal
|
|
429
|
+
*/
|
|
430
|
+
constructor(opts: __ExceptionOptionType<XksProxyVpcEndpointServiceInUseException, __BaseException>);
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* <p>The request was rejected because the Amazon VPC endpoint service configuration does not fulfill
|
|
434
|
+
* the requirements for an external key store. To identify the cause, see the error message that
|
|
435
|
+
* accompanies the exception and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements">review the
|
|
436
|
+
* requirements</a> for Amazon VPC endpoint service connectivity for an external key
|
|
437
|
+
* store.</p>
|
|
438
|
+
* @public
|
|
439
|
+
*/
|
|
440
|
+
export declare class XksProxyVpcEndpointServiceInvalidConfigurationException extends __BaseException {
|
|
441
|
+
readonly name: "XksProxyVpcEndpointServiceInvalidConfigurationException";
|
|
442
|
+
readonly $fault: "client";
|
|
443
|
+
/**
|
|
444
|
+
* @internal
|
|
445
|
+
*/
|
|
446
|
+
constructor(opts: __ExceptionOptionType<XksProxyVpcEndpointServiceInvalidConfigurationException, __BaseException>);
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* <p>The request was rejected because KMS could not find the specified VPC endpoint service.
|
|
450
|
+
* Use <a>DescribeCustomKeyStores</a> to verify the VPC endpoint service name for the
|
|
451
|
+
* external key store. Also, confirm that the <code>Allow principals</code> list for the VPC
|
|
452
|
+
* endpoint service includes the KMS service principal for the Region, such as
|
|
453
|
+
* <code>cks.kms.us-east-1.amazonaws.com</code>.</p>
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
export declare class XksProxyVpcEndpointServiceNotFoundException extends __BaseException {
|
|
457
|
+
readonly name: "XksProxyVpcEndpointServiceNotFoundException";
|
|
458
|
+
readonly $fault: "client";
|
|
459
|
+
/**
|
|
460
|
+
* @internal
|
|
461
|
+
*/
|
|
462
|
+
constructor(opts: __ExceptionOptionType<XksProxyVpcEndpointServiceNotFoundException, __BaseException>);
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* <p>The request was rejected because the specified KMS key is not enabled.</p>
|
|
466
|
+
* @public
|
|
467
|
+
*/
|
|
468
|
+
export declare class DisabledException extends __BaseException {
|
|
469
|
+
readonly name: "DisabledException";
|
|
470
|
+
readonly $fault: "client";
|
|
471
|
+
/**
|
|
472
|
+
* @internal
|
|
473
|
+
*/
|
|
474
|
+
constructor(opts: __ExceptionOptionType<DisabledException, __BaseException>);
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* <p> The request was rejected because the DryRun parameter was specified. </p>
|
|
478
|
+
* @public
|
|
479
|
+
*/
|
|
480
|
+
export declare class DryRunOperationException extends __BaseException {
|
|
481
|
+
readonly name: "DryRunOperationException";
|
|
482
|
+
readonly $fault: "client";
|
|
483
|
+
/**
|
|
484
|
+
* @internal
|
|
485
|
+
*/
|
|
486
|
+
constructor(opts: __ExceptionOptionType<DryRunOperationException, __BaseException>);
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* <p>The request was rejected because the specified grant token is not valid.</p>
|
|
490
|
+
* @public
|
|
491
|
+
*/
|
|
492
|
+
export declare class InvalidGrantTokenException extends __BaseException {
|
|
493
|
+
readonly name: "InvalidGrantTokenException";
|
|
494
|
+
readonly $fault: "client";
|
|
495
|
+
/**
|
|
496
|
+
* @internal
|
|
497
|
+
*/
|
|
498
|
+
constructor(opts: __ExceptionOptionType<InvalidGrantTokenException, __BaseException>);
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* <p>The request was rejected because the specified policy is not syntactically or semantically
|
|
502
|
+
* correct.</p>
|
|
503
|
+
* @public
|
|
504
|
+
*/
|
|
505
|
+
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
506
|
+
readonly name: "MalformedPolicyDocumentException";
|
|
507
|
+
readonly $fault: "client";
|
|
508
|
+
/**
|
|
509
|
+
* @internal
|
|
510
|
+
*/
|
|
511
|
+
constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* <p>The request was rejected because one or more tags are not valid.</p>
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
export declare class TagException extends __BaseException {
|
|
518
|
+
readonly name: "TagException";
|
|
519
|
+
readonly $fault: "client";
|
|
520
|
+
/**
|
|
521
|
+
* @internal
|
|
522
|
+
*/
|
|
523
|
+
constructor(opts: __ExceptionOptionType<TagException, __BaseException>);
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* <p>The request was rejected because a specified parameter is not supported or a specified
|
|
527
|
+
* resource is not valid for this operation.</p>
|
|
528
|
+
* @public
|
|
529
|
+
*/
|
|
530
|
+
export declare class UnsupportedOperationException extends __BaseException {
|
|
531
|
+
readonly name: "UnsupportedOperationException";
|
|
532
|
+
readonly $fault: "client";
|
|
533
|
+
/**
|
|
534
|
+
* @internal
|
|
535
|
+
*/
|
|
536
|
+
constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* <p>The request was rejected because the (<code>XksKeyId</code>) is already associated with
|
|
540
|
+
* another KMS key in this external key store. Each KMS key in an external key store must be
|
|
541
|
+
* associated with a different external key.</p>
|
|
542
|
+
* @public
|
|
543
|
+
*/
|
|
544
|
+
export declare class XksKeyAlreadyInUseException extends __BaseException {
|
|
545
|
+
readonly name: "XksKeyAlreadyInUseException";
|
|
546
|
+
readonly $fault: "client";
|
|
547
|
+
/**
|
|
548
|
+
* @internal
|
|
549
|
+
*/
|
|
550
|
+
constructor(opts: __ExceptionOptionType<XksKeyAlreadyInUseException, __BaseException>);
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* <p>The request was rejected because the external key specified by the <code>XksKeyId</code>
|
|
554
|
+
* parameter did not meet the configuration requirements for an external key store.</p>
|
|
555
|
+
* <p>The external key must be an AES-256 symmetric key that is enabled and performs encryption
|
|
556
|
+
* and decryption.</p>
|
|
557
|
+
* @public
|
|
558
|
+
*/
|
|
559
|
+
export declare class XksKeyInvalidConfigurationException extends __BaseException {
|
|
560
|
+
readonly name: "XksKeyInvalidConfigurationException";
|
|
561
|
+
readonly $fault: "client";
|
|
562
|
+
/**
|
|
563
|
+
* @internal
|
|
564
|
+
*/
|
|
565
|
+
constructor(opts: __ExceptionOptionType<XksKeyInvalidConfigurationException, __BaseException>);
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* <p>The request was rejected because the external key store proxy could not find the external
|
|
569
|
+
* key. This exception is thrown when the value of the <code>XksKeyId</code> parameter doesn't
|
|
570
|
+
* identify a key in the external key manager associated with the external key proxy.</p>
|
|
571
|
+
* <p>Verify that the <code>XksKeyId</code> represents an existing key in the external key
|
|
572
|
+
* manager. Use the key identifier that the external key store proxy uses to identify the key.
|
|
573
|
+
* For details, see the documentation provided with your external key store proxy or key
|
|
574
|
+
* manager.</p>
|
|
575
|
+
* @public
|
|
576
|
+
*/
|
|
577
|
+
export declare class XksKeyNotFoundException extends __BaseException {
|
|
578
|
+
readonly name: "XksKeyNotFoundException";
|
|
579
|
+
readonly $fault: "client";
|
|
580
|
+
/**
|
|
581
|
+
* @internal
|
|
582
|
+
*/
|
|
583
|
+
constructor(opts: __ExceptionOptionType<XksKeyNotFoundException, __BaseException>);
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* <p>The request was rejected because the custom key store contains KMS keys. After verifying
|
|
587
|
+
* that you do not need to use the KMS keys, use the <a>ScheduleKeyDeletion</a>
|
|
588
|
+
* operation to delete the KMS keys. After they are deleted, you can delete the custom key
|
|
589
|
+
* store.</p>
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
export declare class CustomKeyStoreHasCMKsException extends __BaseException {
|
|
593
|
+
readonly name: "CustomKeyStoreHasCMKsException";
|
|
594
|
+
readonly $fault: "client";
|
|
595
|
+
/**
|
|
596
|
+
* @internal
|
|
597
|
+
*/
|
|
598
|
+
constructor(opts: __ExceptionOptionType<CustomKeyStoreHasCMKsException, __BaseException>);
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* <p>The request was rejected because the specified KMS key cannot decrypt the data. The
|
|
602
|
+
* <code>KeyId</code> in a <a>Decrypt</a> request and the <code>SourceKeyId</code>
|
|
603
|
+
* in a <a>ReEncrypt</a> request must identify the same KMS key that was used to
|
|
604
|
+
* encrypt the ciphertext.</p>
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
export declare class IncorrectKeyException extends __BaseException {
|
|
608
|
+
readonly name: "IncorrectKeyException";
|
|
609
|
+
readonly $fault: "client";
|
|
610
|
+
/**
|
|
611
|
+
* @internal
|
|
612
|
+
*/
|
|
613
|
+
constructor(opts: __ExceptionOptionType<IncorrectKeyException, __BaseException>);
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* <p>From the <a>Decrypt</a> or <a>ReEncrypt</a> operation, the request
|
|
617
|
+
* was rejected because the specified ciphertext, or additional authenticated data incorporated
|
|
618
|
+
* into the ciphertext, such as the encryption context, is corrupted, missing, or otherwise
|
|
619
|
+
* invalid.</p>
|
|
620
|
+
* <p>From the <a>ImportKeyMaterial</a> operation, the request was rejected because
|
|
621
|
+
* KMS could not decrypt the encrypted (wrapped) key material. </p>
|
|
622
|
+
* @public
|
|
623
|
+
*/
|
|
624
|
+
export declare class InvalidCiphertextException extends __BaseException {
|
|
625
|
+
readonly name: "InvalidCiphertextException";
|
|
626
|
+
readonly $fault: "client";
|
|
627
|
+
/**
|
|
628
|
+
* @internal
|
|
629
|
+
*/
|
|
630
|
+
constructor(opts: __ExceptionOptionType<InvalidCiphertextException, __BaseException>);
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* <p>The request was rejected for one of the following reasons: </p>
|
|
634
|
+
* <ul>
|
|
635
|
+
* <li>
|
|
636
|
+
* <p>The <code>KeyUsage</code> value of the KMS key is incompatible with the API
|
|
637
|
+
* operation.</p>
|
|
638
|
+
* </li>
|
|
639
|
+
* <li>
|
|
640
|
+
* <p>The encryption algorithm or signing algorithm specified for the operation is
|
|
641
|
+
* incompatible with the type of key material in the KMS key <code>(KeySpec</code>).</p>
|
|
642
|
+
* </li>
|
|
643
|
+
* </ul>
|
|
644
|
+
* <p>For encrypting, decrypting, re-encrypting, and generating data keys, the
|
|
645
|
+
* <code>KeyUsage</code> must be <code>ENCRYPT_DECRYPT</code>. For signing and verifying
|
|
646
|
+
* messages, the <code>KeyUsage</code> must be <code>SIGN_VERIFY</code>. For generating and
|
|
647
|
+
* verifying message authentication codes (MACs), the <code>KeyUsage</code> must be
|
|
648
|
+
* <code>GENERATE_VERIFY_MAC</code>. For deriving key agreement secrets, the
|
|
649
|
+
* <code>KeyUsage</code> must be <code>KEY_AGREEMENT</code>. To find the <code>KeyUsage</code>
|
|
650
|
+
* of a KMS key, use the <a>DescribeKey</a> operation.</p>
|
|
651
|
+
* <p>To find the encryption or signing algorithms supported for a particular KMS key, use the
|
|
652
|
+
* <a>DescribeKey</a> operation.</p>
|
|
653
|
+
* @public
|
|
654
|
+
*/
|
|
655
|
+
export declare class InvalidKeyUsageException extends __BaseException {
|
|
656
|
+
readonly name: "InvalidKeyUsageException";
|
|
657
|
+
readonly $fault: "client";
|
|
658
|
+
/**
|
|
659
|
+
* @internal
|
|
660
|
+
*/
|
|
661
|
+
constructor(opts: __ExceptionOptionType<InvalidKeyUsageException, __BaseException>);
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* <p>The request was rejected because the specified KMS key was not available. You can retry
|
|
665
|
+
* the request.</p>
|
|
666
|
+
* @public
|
|
667
|
+
*/
|
|
668
|
+
export declare class KeyUnavailableException extends __BaseException {
|
|
669
|
+
readonly name: "KeyUnavailableException";
|
|
670
|
+
readonly $fault: "server";
|
|
671
|
+
/**
|
|
672
|
+
* @internal
|
|
673
|
+
*/
|
|
674
|
+
constructor(opts: __ExceptionOptionType<KeyUnavailableException, __BaseException>);
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* <p>The request was rejected because the marker that specifies where pagination should next
|
|
678
|
+
* begin is not valid.</p>
|
|
679
|
+
* @public
|
|
680
|
+
*/
|
|
681
|
+
export declare class InvalidMarkerException extends __BaseException {
|
|
682
|
+
readonly name: "InvalidMarkerException";
|
|
683
|
+
readonly $fault: "client";
|
|
684
|
+
/**
|
|
685
|
+
* @internal
|
|
686
|
+
*/
|
|
687
|
+
constructor(opts: __ExceptionOptionType<InvalidMarkerException, __BaseException>);
|
|
688
|
+
}
|
|
689
|
+
/**
|
|
690
|
+
* <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
|
|
691
|
+
* public key to encrypt the key material, and then try the request again.</p>
|
|
692
|
+
* @public
|
|
693
|
+
*/
|
|
694
|
+
export declare class ExpiredImportTokenException extends __BaseException {
|
|
695
|
+
readonly name: "ExpiredImportTokenException";
|
|
696
|
+
readonly $fault: "client";
|
|
697
|
+
/**
|
|
698
|
+
* @internal
|
|
699
|
+
*/
|
|
700
|
+
constructor(opts: __ExceptionOptionType<ExpiredImportTokenException, __BaseException>);
|
|
701
|
+
}
|
|
702
|
+
/**
|
|
703
|
+
* <p>The request was rejected because the key material in the request is, expired, invalid, or
|
|
704
|
+
* does not meet expectations. For example, it is not the same key material that was previously
|
|
705
|
+
* imported or KMS expected new key material but the key material being imported is already
|
|
706
|
+
* associated with the KMS key.</p>
|
|
707
|
+
* @public
|
|
708
|
+
*/
|
|
709
|
+
export declare class IncorrectKeyMaterialException extends __BaseException {
|
|
710
|
+
readonly name: "IncorrectKeyMaterialException";
|
|
711
|
+
readonly $fault: "client";
|
|
712
|
+
/**
|
|
713
|
+
* @internal
|
|
714
|
+
*/
|
|
715
|
+
constructor(opts: __ExceptionOptionType<IncorrectKeyMaterialException, __BaseException>);
|
|
716
|
+
}
|
|
717
|
+
/**
|
|
718
|
+
* <p>The request was rejected because the provided import token is invalid or is associated
|
|
719
|
+
* with a different KMS key.</p>
|
|
720
|
+
* @public
|
|
721
|
+
*/
|
|
722
|
+
export declare class InvalidImportTokenException extends __BaseException {
|
|
723
|
+
readonly name: "InvalidImportTokenException";
|
|
724
|
+
readonly $fault: "client";
|
|
725
|
+
/**
|
|
726
|
+
* @internal
|
|
727
|
+
*/
|
|
728
|
+
constructor(opts: __ExceptionOptionType<InvalidImportTokenException, __BaseException>);
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* <p>The request was rejected because the specified <code>GrantId</code> is not valid.</p>
|
|
732
|
+
* @public
|
|
733
|
+
*/
|
|
734
|
+
export declare class InvalidGrantIdException extends __BaseException {
|
|
735
|
+
readonly name: "InvalidGrantIdException";
|
|
736
|
+
readonly $fault: "client";
|
|
737
|
+
/**
|
|
738
|
+
* @internal
|
|
739
|
+
*/
|
|
740
|
+
constructor(opts: __ExceptionOptionType<InvalidGrantIdException, __BaseException>);
|
|
741
|
+
}
|
|
742
|
+
/**
|
|
743
|
+
* <p>The request was rejected because the HMAC verification failed. HMAC verification fails
|
|
744
|
+
* when the HMAC computed by using the specified message, HMAC KMS key, and MAC algorithm does
|
|
745
|
+
* not match the HMAC specified in the request.</p>
|
|
746
|
+
* @public
|
|
747
|
+
*/
|
|
748
|
+
export declare class KMSInvalidMacException extends __BaseException {
|
|
749
|
+
readonly name: "KMSInvalidMacException";
|
|
750
|
+
readonly $fault: "client";
|
|
751
|
+
/**
|
|
752
|
+
* @internal
|
|
753
|
+
*/
|
|
754
|
+
constructor(opts: __ExceptionOptionType<KMSInvalidMacException, __BaseException>);
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* <p>The request was rejected because the signature verification failed. Signature verification
|
|
758
|
+
* fails when it cannot confirm that signature was produced by signing the specified message with
|
|
759
|
+
* the specified KMS key and signing algorithm.</p>
|
|
760
|
+
* @public
|
|
761
|
+
*/
|
|
762
|
+
export declare class KMSInvalidSignatureException extends __BaseException {
|
|
763
|
+
readonly name: "KMSInvalidSignatureException";
|
|
764
|
+
readonly $fault: "client";
|
|
765
|
+
/**
|
|
766
|
+
* @internal
|
|
767
|
+
*/
|
|
768
|
+
constructor(opts: __ExceptionOptionType<KMSInvalidSignatureException, __BaseException>);
|
|
769
|
+
}
|