@aws-sdk/client-kms 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/KMSServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +433 -3
- package/dist-cjs/protocols/Aws_json1_1.js +624 -2521
- package/dist-es/index.js +1 -0
- package/dist-es/models/KMSServiceException.js +12 -0
- package/dist-es/models/models_0.js +398 -1
- package/dist-es/protocols/Aws_json1_1.js +1320 -2648
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/KMSServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +233 -133
- package/dist-types/ts3.4/KMS.d.ts +245 -0
- package/dist-types/ts3.4/KMSClient.d.ts +121 -0
- package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DecryptCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EncryptCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SignCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/VerifyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +48 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/KMSServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1484 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGrantsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListKeyPoliciesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +146 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from KMS service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class KMSServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { KMSServiceException as __BaseException } from "./KMSServiceException";
|
|
2
3
|
export declare enum AlgorithmSpec {
|
|
3
4
|
RSAES_OAEP_SHA_1 = "RSAES_OAEP_SHA_1",
|
|
4
5
|
RSAES_OAEP_SHA_256 = "RSAES_OAEP_SHA_256",
|
|
@@ -41,10 +42,13 @@ export declare namespace AliasListEntry {
|
|
|
41
42
|
* <p>The request was rejected because it attempted to create a resource that already
|
|
42
43
|
* exists.</p>
|
|
43
44
|
*/
|
|
44
|
-
export
|
|
45
|
-
name: "AlreadyExistsException";
|
|
46
|
-
$fault: "client";
|
|
47
|
-
|
|
45
|
+
export declare class AlreadyExistsException extends __BaseException {
|
|
46
|
+
readonly name: "AlreadyExistsException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
|
|
48
52
|
}
|
|
49
53
|
export interface CancelKeyDeletionRequest {
|
|
50
54
|
/**
|
|
@@ -88,28 +92,37 @@ export declare namespace CancelKeyDeletionResponse {
|
|
|
88
92
|
* <p>The system timed out while trying to fulfill the request. The request can be
|
|
89
93
|
* retried.</p>
|
|
90
94
|
*/
|
|
91
|
-
export
|
|
92
|
-
name: "DependencyTimeoutException";
|
|
93
|
-
$fault: "server";
|
|
94
|
-
|
|
95
|
+
export declare class DependencyTimeoutException extends __BaseException {
|
|
96
|
+
readonly name: "DependencyTimeoutException";
|
|
97
|
+
readonly $fault: "server";
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
constructor(opts: __ExceptionOptionType<DependencyTimeoutException, __BaseException>);
|
|
95
102
|
}
|
|
96
103
|
/**
|
|
97
104
|
* <p>The request was rejected because a specified ARN, or an ARN in a key policy, is not
|
|
98
105
|
* valid.</p>
|
|
99
106
|
*/
|
|
100
|
-
export
|
|
101
|
-
name: "InvalidArnException";
|
|
102
|
-
$fault: "client";
|
|
103
|
-
|
|
107
|
+
export declare class InvalidArnException extends __BaseException {
|
|
108
|
+
readonly name: "InvalidArnException";
|
|
109
|
+
readonly $fault: "client";
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
constructor(opts: __ExceptionOptionType<InvalidArnException, __BaseException>);
|
|
104
114
|
}
|
|
105
115
|
/**
|
|
106
116
|
* <p>The request was rejected because an internal exception occurred. The request can be
|
|
107
117
|
* retried.</p>
|
|
108
118
|
*/
|
|
109
|
-
export
|
|
110
|
-
name: "KMSInternalException";
|
|
111
|
-
$fault: "server";
|
|
112
|
-
|
|
119
|
+
export declare class KMSInternalException extends __BaseException {
|
|
120
|
+
readonly name: "KMSInternalException";
|
|
121
|
+
readonly $fault: "server";
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
constructor(opts: __ExceptionOptionType<KMSInternalException, __BaseException>);
|
|
113
126
|
}
|
|
114
127
|
/**
|
|
115
128
|
* <p>The request was rejected because the state of the specified resource is not valid for this
|
|
@@ -119,19 +132,25 @@ export interface KMSInternalException extends __SmithyException, $MetadataBearer
|
|
|
119
132
|
* <i>Key Management Service Developer Guide</i>
|
|
120
133
|
* </i>.</p>
|
|
121
134
|
*/
|
|
122
|
-
export
|
|
123
|
-
name: "KMSInvalidStateException";
|
|
124
|
-
$fault: "client";
|
|
125
|
-
|
|
135
|
+
export declare class KMSInvalidStateException extends __BaseException {
|
|
136
|
+
readonly name: "KMSInvalidStateException";
|
|
137
|
+
readonly $fault: "client";
|
|
138
|
+
/**
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
141
|
+
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
126
142
|
}
|
|
127
143
|
/**
|
|
128
144
|
* <p>The request was rejected because the specified entity or resource could not be
|
|
129
145
|
* found.</p>
|
|
130
146
|
*/
|
|
131
|
-
export
|
|
132
|
-
name: "NotFoundException";
|
|
133
|
-
$fault: "client";
|
|
134
|
-
|
|
147
|
+
export declare class NotFoundException extends __BaseException {
|
|
148
|
+
readonly name: "NotFoundException";
|
|
149
|
+
readonly $fault: "client";
|
|
150
|
+
/**
|
|
151
|
+
* @internal
|
|
152
|
+
*/
|
|
153
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
135
154
|
}
|
|
136
155
|
/**
|
|
137
156
|
* <p>The request was rejected because the specified CloudHSM cluster is already associated with a
|
|
@@ -140,10 +159,13 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
|
140
159
|
* <p>Clusters that share a backup history have the same cluster certificate. To view the
|
|
141
160
|
* cluster certificate of a cluster, use the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html">DescribeClusters</a> operation.</p>
|
|
142
161
|
*/
|
|
143
|
-
export
|
|
144
|
-
name: "CloudHsmClusterInUseException";
|
|
145
|
-
$fault: "client";
|
|
146
|
-
|
|
162
|
+
export declare class CloudHsmClusterInUseException extends __BaseException {
|
|
163
|
+
readonly name: "CloudHsmClusterInUseException";
|
|
164
|
+
readonly $fault: "client";
|
|
165
|
+
/**
|
|
166
|
+
* @internal
|
|
167
|
+
*/
|
|
168
|
+
constructor(opts: __ExceptionOptionType<CloudHsmClusterInUseException, __BaseException>);
|
|
147
169
|
}
|
|
148
170
|
/**
|
|
149
171
|
* <p>The request was rejected because the associated CloudHSM cluster did not meet the
|
|
@@ -180,29 +202,38 @@ export interface CloudHsmClusterInUseException extends __SmithyException, $Metad
|
|
|
180
202
|
* <i>CloudHSM User Guide</i>
|
|
181
203
|
* </i>. </p>
|
|
182
204
|
*/
|
|
183
|
-
export
|
|
184
|
-
name: "CloudHsmClusterInvalidConfigurationException";
|
|
185
|
-
$fault: "client";
|
|
186
|
-
|
|
205
|
+
export declare class CloudHsmClusterInvalidConfigurationException extends __BaseException {
|
|
206
|
+
readonly name: "CloudHsmClusterInvalidConfigurationException";
|
|
207
|
+
readonly $fault: "client";
|
|
208
|
+
/**
|
|
209
|
+
* @internal
|
|
210
|
+
*/
|
|
211
|
+
constructor(opts: __ExceptionOptionType<CloudHsmClusterInvalidConfigurationException, __BaseException>);
|
|
187
212
|
}
|
|
188
213
|
/**
|
|
189
214
|
* <p>The request was rejected because the CloudHSM cluster that is associated with the custom key
|
|
190
215
|
* store is not active. Initialize and activate the cluster and try the command again. For
|
|
191
216
|
* detailed instructions, see <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html">Getting Started</a> in the <i>CloudHSM User Guide</i>.</p>
|
|
192
217
|
*/
|
|
193
|
-
export
|
|
194
|
-
name: "CloudHsmClusterNotActiveException";
|
|
195
|
-
$fault: "client";
|
|
196
|
-
|
|
218
|
+
export declare class CloudHsmClusterNotActiveException extends __BaseException {
|
|
219
|
+
readonly name: "CloudHsmClusterNotActiveException";
|
|
220
|
+
readonly $fault: "client";
|
|
221
|
+
/**
|
|
222
|
+
* @internal
|
|
223
|
+
*/
|
|
224
|
+
constructor(opts: __ExceptionOptionType<CloudHsmClusterNotActiveException, __BaseException>);
|
|
197
225
|
}
|
|
198
226
|
/**
|
|
199
227
|
* <p>The request was rejected because KMS cannot find the CloudHSM cluster with the specified
|
|
200
228
|
* cluster ID. Retry the request with a different cluster ID.</p>
|
|
201
229
|
*/
|
|
202
|
-
export
|
|
203
|
-
name: "CloudHsmClusterNotFoundException";
|
|
204
|
-
$fault: "client";
|
|
205
|
-
|
|
230
|
+
export declare class CloudHsmClusterNotFoundException extends __BaseException {
|
|
231
|
+
readonly name: "CloudHsmClusterNotFoundException";
|
|
232
|
+
readonly $fault: "client";
|
|
233
|
+
/**
|
|
234
|
+
* @internal
|
|
235
|
+
*/
|
|
236
|
+
constructor(opts: __ExceptionOptionType<CloudHsmClusterNotFoundException, __BaseException>);
|
|
206
237
|
}
|
|
207
238
|
/**
|
|
208
239
|
* <p>The request was rejected because the specified CloudHSM cluster has a different cluster
|
|
@@ -214,10 +245,13 @@ export interface CloudHsmClusterNotFoundException extends __SmithyException, $Me
|
|
|
214
245
|
* <p>Clusters that share a backup history have the same cluster certificate. To view the
|
|
215
246
|
* cluster certificate of a cluster, use the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html">DescribeClusters</a> operation.</p>
|
|
216
247
|
*/
|
|
217
|
-
export
|
|
218
|
-
name: "CloudHsmClusterNotRelatedException";
|
|
219
|
-
$fault: "client";
|
|
220
|
-
|
|
248
|
+
export declare class CloudHsmClusterNotRelatedException extends __BaseException {
|
|
249
|
+
readonly name: "CloudHsmClusterNotRelatedException";
|
|
250
|
+
readonly $fault: "client";
|
|
251
|
+
/**
|
|
252
|
+
* @internal
|
|
253
|
+
*/
|
|
254
|
+
constructor(opts: __ExceptionOptionType<CloudHsmClusterNotRelatedException, __BaseException>);
|
|
221
255
|
}
|
|
222
256
|
export interface ConnectCustomKeyStoreRequest {
|
|
223
257
|
/**
|
|
@@ -263,19 +297,25 @@ export declare namespace ConnectCustomKeyStoreResponse {
|
|
|
263
297
|
* </li>
|
|
264
298
|
* </ul>
|
|
265
299
|
*/
|
|
266
|
-
export
|
|
267
|
-
name: "CustomKeyStoreInvalidStateException";
|
|
268
|
-
$fault: "client";
|
|
269
|
-
|
|
300
|
+
export declare class CustomKeyStoreInvalidStateException extends __BaseException {
|
|
301
|
+
readonly name: "CustomKeyStoreInvalidStateException";
|
|
302
|
+
readonly $fault: "client";
|
|
303
|
+
/**
|
|
304
|
+
* @internal
|
|
305
|
+
*/
|
|
306
|
+
constructor(opts: __ExceptionOptionType<CustomKeyStoreInvalidStateException, __BaseException>);
|
|
270
307
|
}
|
|
271
308
|
/**
|
|
272
309
|
* <p>The request was rejected because KMS cannot find a custom key store with the specified
|
|
273
310
|
* key store name or ID.</p>
|
|
274
311
|
*/
|
|
275
|
-
export
|
|
276
|
-
name: "CustomKeyStoreNotFoundException";
|
|
277
|
-
$fault: "client";
|
|
278
|
-
|
|
312
|
+
export declare class CustomKeyStoreNotFoundException extends __BaseException {
|
|
313
|
+
readonly name: "CustomKeyStoreNotFoundException";
|
|
314
|
+
readonly $fault: "client";
|
|
315
|
+
/**
|
|
316
|
+
* @internal
|
|
317
|
+
*/
|
|
318
|
+
constructor(opts: __ExceptionOptionType<CustomKeyStoreNotFoundException, __BaseException>);
|
|
279
319
|
}
|
|
280
320
|
export declare enum ConnectionErrorCodeType {
|
|
281
321
|
CLUSTER_NOT_FOUND = "CLUSTER_NOT_FOUND",
|
|
@@ -340,19 +380,25 @@ export declare namespace CreateAliasRequest {
|
|
|
340
380
|
/**
|
|
341
381
|
* <p>The request was rejected because the specified alias name is not valid.</p>
|
|
342
382
|
*/
|
|
343
|
-
export
|
|
344
|
-
name: "InvalidAliasNameException";
|
|
345
|
-
$fault: "client";
|
|
346
|
-
|
|
383
|
+
export declare class InvalidAliasNameException extends __BaseException {
|
|
384
|
+
readonly name: "InvalidAliasNameException";
|
|
385
|
+
readonly $fault: "client";
|
|
386
|
+
/**
|
|
387
|
+
* @internal
|
|
388
|
+
*/
|
|
389
|
+
constructor(opts: __ExceptionOptionType<InvalidAliasNameException, __BaseException>);
|
|
347
390
|
}
|
|
348
391
|
/**
|
|
349
392
|
* <p>The request was rejected because a quota was exceeded. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html">Quotas</a> in the
|
|
350
393
|
* <i>Key Management Service Developer Guide</i>.</p>
|
|
351
394
|
*/
|
|
352
|
-
export
|
|
353
|
-
name: "LimitExceededException";
|
|
354
|
-
$fault: "client";
|
|
355
|
-
|
|
395
|
+
export declare class LimitExceededException extends __BaseException {
|
|
396
|
+
readonly name: "LimitExceededException";
|
|
397
|
+
readonly $fault: "client";
|
|
398
|
+
/**
|
|
399
|
+
* @internal
|
|
400
|
+
*/
|
|
401
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
356
402
|
}
|
|
357
403
|
export interface CreateCustomKeyStoreRequest {
|
|
358
404
|
/**
|
|
@@ -405,10 +451,13 @@ export declare namespace CreateCustomKeyStoreResponse {
|
|
|
405
451
|
* to another custom key store in the account. Try again with a custom key store name that is
|
|
406
452
|
* unique in the account.</p>
|
|
407
453
|
*/
|
|
408
|
-
export
|
|
409
|
-
name: "CustomKeyStoreNameInUseException";
|
|
410
|
-
$fault: "client";
|
|
411
|
-
|
|
454
|
+
export declare class CustomKeyStoreNameInUseException extends __BaseException {
|
|
455
|
+
readonly name: "CustomKeyStoreNameInUseException";
|
|
456
|
+
readonly $fault: "client";
|
|
457
|
+
/**
|
|
458
|
+
* @internal
|
|
459
|
+
*/
|
|
460
|
+
constructor(opts: __ExceptionOptionType<CustomKeyStoreNameInUseException, __BaseException>);
|
|
412
461
|
}
|
|
413
462
|
/**
|
|
414
463
|
* <p>The request was rejected because the trust anchor certificate in the request is not the
|
|
@@ -416,10 +465,13 @@ export interface CustomKeyStoreNameInUseException extends __SmithyException, $Me
|
|
|
416
465
|
* <p>When you <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/initialize-cluster.html#sign-csr">initialize the cluster</a>, you create the trust anchor certificate and save it in the
|
|
417
466
|
* <code>customerCA.crt</code> file.</p>
|
|
418
467
|
*/
|
|
419
|
-
export
|
|
420
|
-
name: "IncorrectTrustAnchorException";
|
|
421
|
-
$fault: "client";
|
|
422
|
-
|
|
468
|
+
export declare class IncorrectTrustAnchorException extends __BaseException {
|
|
469
|
+
readonly name: "IncorrectTrustAnchorException";
|
|
470
|
+
readonly $fault: "client";
|
|
471
|
+
/**
|
|
472
|
+
* @internal
|
|
473
|
+
*/
|
|
474
|
+
constructor(opts: __ExceptionOptionType<IncorrectTrustAnchorException, __BaseException>);
|
|
423
475
|
}
|
|
424
476
|
/**
|
|
425
477
|
* <p>Use this structure to allow <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations">cryptographic operations</a> in the grant only when the operation request
|
|
@@ -605,18 +657,24 @@ export declare namespace CreateGrantResponse {
|
|
|
605
657
|
/**
|
|
606
658
|
* <p>The request was rejected because the specified KMS key is not enabled.</p>
|
|
607
659
|
*/
|
|
608
|
-
export
|
|
609
|
-
name: "DisabledException";
|
|
610
|
-
$fault: "client";
|
|
611
|
-
|
|
660
|
+
export declare class DisabledException extends __BaseException {
|
|
661
|
+
readonly name: "DisabledException";
|
|
662
|
+
readonly $fault: "client";
|
|
663
|
+
/**
|
|
664
|
+
* @internal
|
|
665
|
+
*/
|
|
666
|
+
constructor(opts: __ExceptionOptionType<DisabledException, __BaseException>);
|
|
612
667
|
}
|
|
613
668
|
/**
|
|
614
669
|
* <p>The request was rejected because the specified grant token is not valid.</p>
|
|
615
670
|
*/
|
|
616
|
-
export
|
|
617
|
-
name: "InvalidGrantTokenException";
|
|
618
|
-
$fault: "client";
|
|
619
|
-
|
|
671
|
+
export declare class InvalidGrantTokenException extends __BaseException {
|
|
672
|
+
readonly name: "InvalidGrantTokenException";
|
|
673
|
+
readonly $fault: "client";
|
|
674
|
+
/**
|
|
675
|
+
* @internal
|
|
676
|
+
*/
|
|
677
|
+
constructor(opts: __ExceptionOptionType<InvalidGrantTokenException, __BaseException>);
|
|
620
678
|
}
|
|
621
679
|
export declare enum CustomerMasterKeySpec {
|
|
622
680
|
ECC_NIST_P256 = "ECC_NIST_P256",
|
|
@@ -1174,27 +1232,36 @@ export declare namespace CreateKeyResponse {
|
|
|
1174
1232
|
* <p>The request was rejected because the specified policy is not syntactically or semantically
|
|
1175
1233
|
* correct.</p>
|
|
1176
1234
|
*/
|
|
1177
|
-
export
|
|
1178
|
-
name: "MalformedPolicyDocumentException";
|
|
1179
|
-
$fault: "client";
|
|
1180
|
-
|
|
1235
|
+
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
1236
|
+
readonly name: "MalformedPolicyDocumentException";
|
|
1237
|
+
readonly $fault: "client";
|
|
1238
|
+
/**
|
|
1239
|
+
* @internal
|
|
1240
|
+
*/
|
|
1241
|
+
constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
|
|
1181
1242
|
}
|
|
1182
1243
|
/**
|
|
1183
1244
|
* <p>The request was rejected because one or more tags are not valid.</p>
|
|
1184
1245
|
*/
|
|
1185
|
-
export
|
|
1186
|
-
name: "TagException";
|
|
1187
|
-
$fault: "client";
|
|
1188
|
-
|
|
1246
|
+
export declare class TagException extends __BaseException {
|
|
1247
|
+
readonly name: "TagException";
|
|
1248
|
+
readonly $fault: "client";
|
|
1249
|
+
/**
|
|
1250
|
+
* @internal
|
|
1251
|
+
*/
|
|
1252
|
+
constructor(opts: __ExceptionOptionType<TagException, __BaseException>);
|
|
1189
1253
|
}
|
|
1190
1254
|
/**
|
|
1191
1255
|
* <p>The request was rejected because a specified parameter is not supported or a specified
|
|
1192
1256
|
* resource is not valid for this operation.</p>
|
|
1193
1257
|
*/
|
|
1194
|
-
export
|
|
1195
|
-
name: "UnsupportedOperationException";
|
|
1196
|
-
$fault: "client";
|
|
1197
|
-
|
|
1258
|
+
export declare class UnsupportedOperationException extends __BaseException {
|
|
1259
|
+
readonly name: "UnsupportedOperationException";
|
|
1260
|
+
readonly $fault: "client";
|
|
1261
|
+
/**
|
|
1262
|
+
* @internal
|
|
1263
|
+
*/
|
|
1264
|
+
constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
|
|
1198
1265
|
}
|
|
1199
1266
|
/**
|
|
1200
1267
|
* <p>The request was rejected because the custom key store contains KMS keys. After verifying
|
|
@@ -1202,10 +1269,13 @@ export interface UnsupportedOperationException extends __SmithyException, $Metad
|
|
|
1202
1269
|
* operation to delete the KMS keys. After they are deleted, you can delete the custom key
|
|
1203
1270
|
* store.</p>
|
|
1204
1271
|
*/
|
|
1205
|
-
export
|
|
1206
|
-
name: "CustomKeyStoreHasCMKsException";
|
|
1207
|
-
$fault: "client";
|
|
1208
|
-
|
|
1272
|
+
export declare class CustomKeyStoreHasCMKsException extends __BaseException {
|
|
1273
|
+
readonly name: "CustomKeyStoreHasCMKsException";
|
|
1274
|
+
readonly $fault: "client";
|
|
1275
|
+
/**
|
|
1276
|
+
* @internal
|
|
1277
|
+
*/
|
|
1278
|
+
constructor(opts: __ExceptionOptionType<CustomKeyStoreHasCMKsException, __BaseException>);
|
|
1209
1279
|
}
|
|
1210
1280
|
/**
|
|
1211
1281
|
* <p>Contains information about each custom key store in the custom key store list.</p>
|
|
@@ -1438,10 +1508,13 @@ export declare namespace DecryptResponse {
|
|
|
1438
1508
|
* in a <a>ReEncrypt</a> request must identify the same KMS key that was used to
|
|
1439
1509
|
* encrypt the ciphertext.</p>
|
|
1440
1510
|
*/
|
|
1441
|
-
export
|
|
1442
|
-
name: "IncorrectKeyException";
|
|
1443
|
-
$fault: "client";
|
|
1444
|
-
|
|
1511
|
+
export declare class IncorrectKeyException extends __BaseException {
|
|
1512
|
+
readonly name: "IncorrectKeyException";
|
|
1513
|
+
readonly $fault: "client";
|
|
1514
|
+
/**
|
|
1515
|
+
* @internal
|
|
1516
|
+
*/
|
|
1517
|
+
constructor(opts: __ExceptionOptionType<IncorrectKeyException, __BaseException>);
|
|
1445
1518
|
}
|
|
1446
1519
|
/**
|
|
1447
1520
|
* <p>From the <a>Decrypt</a> or <a>ReEncrypt</a> operation, the request
|
|
@@ -1451,10 +1524,13 @@ export interface IncorrectKeyException extends __SmithyException, $MetadataBeare
|
|
|
1451
1524
|
* <p>From the <a>ImportKeyMaterial</a> operation, the request was rejected because
|
|
1452
1525
|
* KMS could not decrypt the encrypted (wrapped) key material. </p>
|
|
1453
1526
|
*/
|
|
1454
|
-
export
|
|
1455
|
-
name: "InvalidCiphertextException";
|
|
1456
|
-
$fault: "client";
|
|
1457
|
-
|
|
1527
|
+
export declare class InvalidCiphertextException extends __BaseException {
|
|
1528
|
+
readonly name: "InvalidCiphertextException";
|
|
1529
|
+
readonly $fault: "client";
|
|
1530
|
+
/**
|
|
1531
|
+
* @internal
|
|
1532
|
+
*/
|
|
1533
|
+
constructor(opts: __ExceptionOptionType<InvalidCiphertextException, __BaseException>);
|
|
1458
1534
|
}
|
|
1459
1535
|
/**
|
|
1460
1536
|
* <p>The request was rejected for one of the following reasons: </p>
|
|
@@ -1475,19 +1551,25 @@ export interface InvalidCiphertextException extends __SmithyException, $Metadata
|
|
|
1475
1551
|
* <p>To find the encryption or signing algorithms supported for a particular KMS key, use the
|
|
1476
1552
|
* <a>DescribeKey</a> operation.</p>
|
|
1477
1553
|
*/
|
|
1478
|
-
export
|
|
1479
|
-
name: "InvalidKeyUsageException";
|
|
1480
|
-
$fault: "client";
|
|
1481
|
-
|
|
1554
|
+
export declare class InvalidKeyUsageException extends __BaseException {
|
|
1555
|
+
readonly name: "InvalidKeyUsageException";
|
|
1556
|
+
readonly $fault: "client";
|
|
1557
|
+
/**
|
|
1558
|
+
* @internal
|
|
1559
|
+
*/
|
|
1560
|
+
constructor(opts: __ExceptionOptionType<InvalidKeyUsageException, __BaseException>);
|
|
1482
1561
|
}
|
|
1483
1562
|
/**
|
|
1484
1563
|
* <p>The request was rejected because the specified KMS key was not available. You can retry
|
|
1485
1564
|
* the request.</p>
|
|
1486
1565
|
*/
|
|
1487
|
-
export
|
|
1488
|
-
name: "KeyUnavailableException";
|
|
1489
|
-
$fault: "server";
|
|
1490
|
-
|
|
1566
|
+
export declare class KeyUnavailableException extends __BaseException {
|
|
1567
|
+
readonly name: "KeyUnavailableException";
|
|
1568
|
+
readonly $fault: "server";
|
|
1569
|
+
/**
|
|
1570
|
+
* @internal
|
|
1571
|
+
*/
|
|
1572
|
+
constructor(opts: __ExceptionOptionType<KeyUnavailableException, __BaseException>);
|
|
1491
1573
|
}
|
|
1492
1574
|
export interface DeleteAliasRequest {
|
|
1493
1575
|
/**
|
|
@@ -1614,10 +1696,13 @@ export declare namespace DescribeCustomKeyStoresResponse {
|
|
|
1614
1696
|
* <p>The request was rejected because the marker that specifies where pagination should next
|
|
1615
1697
|
* begin is not valid.</p>
|
|
1616
1698
|
*/
|
|
1617
|
-
export
|
|
1618
|
-
name: "InvalidMarkerException";
|
|
1619
|
-
$fault: "client";
|
|
1620
|
-
|
|
1699
|
+
export declare class InvalidMarkerException extends __BaseException {
|
|
1700
|
+
readonly name: "InvalidMarkerException";
|
|
1701
|
+
readonly $fault: "client";
|
|
1702
|
+
/**
|
|
1703
|
+
* @internal
|
|
1704
|
+
*/
|
|
1705
|
+
constructor(opts: __ExceptionOptionType<InvalidMarkerException, __BaseException>);
|
|
1621
1706
|
}
|
|
1622
1707
|
export interface DescribeKeyRequest {
|
|
1623
1708
|
/**
|
|
@@ -1883,10 +1968,13 @@ export declare namespace EncryptResponse {
|
|
|
1883
1968
|
* <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
|
|
1884
1969
|
* public key to encrypt the key material, and then try the request again.</p>
|
|
1885
1970
|
*/
|
|
1886
|
-
export
|
|
1887
|
-
name: "ExpiredImportTokenException";
|
|
1888
|
-
$fault: "client";
|
|
1889
|
-
|
|
1971
|
+
export declare class ExpiredImportTokenException extends __BaseException {
|
|
1972
|
+
readonly name: "ExpiredImportTokenException";
|
|
1973
|
+
readonly $fault: "client";
|
|
1974
|
+
/**
|
|
1975
|
+
* @internal
|
|
1976
|
+
*/
|
|
1977
|
+
constructor(opts: __ExceptionOptionType<ExpiredImportTokenException, __BaseException>);
|
|
1890
1978
|
}
|
|
1891
1979
|
export interface GenerateDataKeyRequest {
|
|
1892
1980
|
/**
|
|
@@ -2609,27 +2697,36 @@ export declare namespace ImportKeyMaterialResponse {
|
|
|
2609
2697
|
* <p>The request was rejected because the key material in the request is, expired, invalid, or
|
|
2610
2698
|
* is not the same key material that was previously imported into this KMS key.</p>
|
|
2611
2699
|
*/
|
|
2612
|
-
export
|
|
2613
|
-
name: "IncorrectKeyMaterialException";
|
|
2614
|
-
$fault: "client";
|
|
2615
|
-
|
|
2700
|
+
export declare class IncorrectKeyMaterialException extends __BaseException {
|
|
2701
|
+
readonly name: "IncorrectKeyMaterialException";
|
|
2702
|
+
readonly $fault: "client";
|
|
2703
|
+
/**
|
|
2704
|
+
* @internal
|
|
2705
|
+
*/
|
|
2706
|
+
constructor(opts: __ExceptionOptionType<IncorrectKeyMaterialException, __BaseException>);
|
|
2616
2707
|
}
|
|
2617
2708
|
/**
|
|
2618
2709
|
* <p>The request was rejected because the provided import token is invalid or is associated
|
|
2619
2710
|
* with a different KMS key.</p>
|
|
2620
2711
|
*/
|
|
2621
|
-
export
|
|
2622
|
-
name: "InvalidImportTokenException";
|
|
2623
|
-
$fault: "client";
|
|
2624
|
-
|
|
2712
|
+
export declare class InvalidImportTokenException extends __BaseException {
|
|
2713
|
+
readonly name: "InvalidImportTokenException";
|
|
2714
|
+
readonly $fault: "client";
|
|
2715
|
+
/**
|
|
2716
|
+
* @internal
|
|
2717
|
+
*/
|
|
2718
|
+
constructor(opts: __ExceptionOptionType<InvalidImportTokenException, __BaseException>);
|
|
2625
2719
|
}
|
|
2626
2720
|
/**
|
|
2627
2721
|
* <p>The request was rejected because the specified <code>GrantId</code> is not valid.</p>
|
|
2628
2722
|
*/
|
|
2629
|
-
export
|
|
2630
|
-
name: "InvalidGrantIdException";
|
|
2631
|
-
$fault: "client";
|
|
2632
|
-
|
|
2723
|
+
export declare class InvalidGrantIdException extends __BaseException {
|
|
2724
|
+
readonly name: "InvalidGrantIdException";
|
|
2725
|
+
readonly $fault: "client";
|
|
2726
|
+
/**
|
|
2727
|
+
* @internal
|
|
2728
|
+
*/
|
|
2729
|
+
constructor(opts: __ExceptionOptionType<InvalidGrantIdException, __BaseException>);
|
|
2633
2730
|
}
|
|
2634
2731
|
/**
|
|
2635
2732
|
* <p>Contains information about each entry in the key list.</p>
|
|
@@ -2655,10 +2752,13 @@ export declare namespace KeyListEntry {
|
|
|
2655
2752
|
* fails when it cannot confirm that signature was produced by signing the specified message with
|
|
2656
2753
|
* the specified KMS key and signing algorithm.</p>
|
|
2657
2754
|
*/
|
|
2658
|
-
export
|
|
2659
|
-
name: "KMSInvalidSignatureException";
|
|
2660
|
-
$fault: "client";
|
|
2661
|
-
|
|
2755
|
+
export declare class KMSInvalidSignatureException extends __BaseException {
|
|
2756
|
+
readonly name: "KMSInvalidSignatureException";
|
|
2757
|
+
readonly $fault: "client";
|
|
2758
|
+
/**
|
|
2759
|
+
* @internal
|
|
2760
|
+
*/
|
|
2761
|
+
constructor(opts: __ExceptionOptionType<KMSInvalidSignatureException, __BaseException>);
|
|
2662
2762
|
}
|
|
2663
2763
|
export interface ListAliasesRequest {
|
|
2664
2764
|
/**
|