@aws-sdk/client-kms 3.46.0 → 3.48.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 +36 -0
- package/dist-cjs/endpoints.js +0 -108
- package/dist-cjs/models/models_0.js +3 -201
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -108
- package/dist-es/models/models_0.js +0 -132
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/KMSClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -198
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/KMSClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -132
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +35 -35
|
@@ -46,12 +46,6 @@ export interface AlreadyExistsException extends __SmithyException, $MetadataBear
|
|
|
46
46
|
$fault: "client";
|
|
47
47
|
message?: string;
|
|
48
48
|
}
|
|
49
|
-
export declare namespace AlreadyExistsException {
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
|
-
const filterSensitiveLog: (obj: AlreadyExistsException) => any;
|
|
54
|
-
}
|
|
55
49
|
export interface CancelKeyDeletionRequest {
|
|
56
50
|
/**
|
|
57
51
|
* <p>Identifies the KMS key whose deletion is being canceled.</p>
|
|
@@ -99,12 +93,6 @@ export interface DependencyTimeoutException extends __SmithyException, $Metadata
|
|
|
99
93
|
$fault: "server";
|
|
100
94
|
message?: string;
|
|
101
95
|
}
|
|
102
|
-
export declare namespace DependencyTimeoutException {
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
const filterSensitiveLog: (obj: DependencyTimeoutException) => any;
|
|
107
|
-
}
|
|
108
96
|
/**
|
|
109
97
|
* <p>The request was rejected because a specified ARN, or an ARN in a key policy, is not
|
|
110
98
|
* valid.</p>
|
|
@@ -114,12 +102,6 @@ export interface InvalidArnException extends __SmithyException, $MetadataBearer
|
|
|
114
102
|
$fault: "client";
|
|
115
103
|
message?: string;
|
|
116
104
|
}
|
|
117
|
-
export declare namespace InvalidArnException {
|
|
118
|
-
/**
|
|
119
|
-
* @internal
|
|
120
|
-
*/
|
|
121
|
-
const filterSensitiveLog: (obj: InvalidArnException) => any;
|
|
122
|
-
}
|
|
123
105
|
/**
|
|
124
106
|
* <p>The request was rejected because an internal exception occurred. The request can be
|
|
125
107
|
* retried.</p>
|
|
@@ -129,12 +111,6 @@ export interface KMSInternalException extends __SmithyException, $MetadataBearer
|
|
|
129
111
|
$fault: "server";
|
|
130
112
|
message?: string;
|
|
131
113
|
}
|
|
132
|
-
export declare namespace KMSInternalException {
|
|
133
|
-
/**
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
136
|
-
const filterSensitiveLog: (obj: KMSInternalException) => any;
|
|
137
|
-
}
|
|
138
114
|
/**
|
|
139
115
|
* <p>The request was rejected because the state of the specified resource is not valid for this
|
|
140
116
|
* request.</p>
|
|
@@ -148,12 +124,6 @@ export interface KMSInvalidStateException extends __SmithyException, $MetadataBe
|
|
|
148
124
|
$fault: "client";
|
|
149
125
|
message?: string;
|
|
150
126
|
}
|
|
151
|
-
export declare namespace KMSInvalidStateException {
|
|
152
|
-
/**
|
|
153
|
-
* @internal
|
|
154
|
-
*/
|
|
155
|
-
const filterSensitiveLog: (obj: KMSInvalidStateException) => any;
|
|
156
|
-
}
|
|
157
127
|
/**
|
|
158
128
|
* <p>The request was rejected because the specified entity or resource could not be
|
|
159
129
|
* found.</p>
|
|
@@ -163,12 +133,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
|
163
133
|
$fault: "client";
|
|
164
134
|
message?: string;
|
|
165
135
|
}
|
|
166
|
-
export declare namespace NotFoundException {
|
|
167
|
-
/**
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
170
|
-
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
171
|
-
}
|
|
172
136
|
/**
|
|
173
137
|
* <p>The request was rejected because the specified CloudHSM cluster is already associated with a
|
|
174
138
|
* custom key store or it shares a backup history with a cluster that is associated with a custom
|
|
@@ -181,12 +145,6 @@ export interface CloudHsmClusterInUseException extends __SmithyException, $Metad
|
|
|
181
145
|
$fault: "client";
|
|
182
146
|
message?: string;
|
|
183
147
|
}
|
|
184
|
-
export declare namespace CloudHsmClusterInUseException {
|
|
185
|
-
/**
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
|
-
const filterSensitiveLog: (obj: CloudHsmClusterInUseException) => any;
|
|
189
|
-
}
|
|
190
148
|
/**
|
|
191
149
|
* <p>The request was rejected because the associated CloudHSM cluster did not meet the
|
|
192
150
|
* configuration requirements for a custom key store.</p>
|
|
@@ -227,12 +185,6 @@ export interface CloudHsmClusterInvalidConfigurationException extends __SmithyEx
|
|
|
227
185
|
$fault: "client";
|
|
228
186
|
message?: string;
|
|
229
187
|
}
|
|
230
|
-
export declare namespace CloudHsmClusterInvalidConfigurationException {
|
|
231
|
-
/**
|
|
232
|
-
* @internal
|
|
233
|
-
*/
|
|
234
|
-
const filterSensitiveLog: (obj: CloudHsmClusterInvalidConfigurationException) => any;
|
|
235
|
-
}
|
|
236
188
|
/**
|
|
237
189
|
* <p>The request was rejected because the CloudHSM cluster that is associated with the custom key
|
|
238
190
|
* store is not active. Initialize and activate the cluster and try the command again. For
|
|
@@ -243,12 +195,6 @@ export interface CloudHsmClusterNotActiveException extends __SmithyException, $M
|
|
|
243
195
|
$fault: "client";
|
|
244
196
|
message?: string;
|
|
245
197
|
}
|
|
246
|
-
export declare namespace CloudHsmClusterNotActiveException {
|
|
247
|
-
/**
|
|
248
|
-
* @internal
|
|
249
|
-
*/
|
|
250
|
-
const filterSensitiveLog: (obj: CloudHsmClusterNotActiveException) => any;
|
|
251
|
-
}
|
|
252
198
|
/**
|
|
253
199
|
* <p>The request was rejected because KMS cannot find the CloudHSM cluster with the specified
|
|
254
200
|
* cluster ID. Retry the request with a different cluster ID.</p>
|
|
@@ -258,12 +204,6 @@ export interface CloudHsmClusterNotFoundException extends __SmithyException, $Me
|
|
|
258
204
|
$fault: "client";
|
|
259
205
|
message?: string;
|
|
260
206
|
}
|
|
261
|
-
export declare namespace CloudHsmClusterNotFoundException {
|
|
262
|
-
/**
|
|
263
|
-
* @internal
|
|
264
|
-
*/
|
|
265
|
-
const filterSensitiveLog: (obj: CloudHsmClusterNotFoundException) => any;
|
|
266
|
-
}
|
|
267
207
|
/**
|
|
268
208
|
* <p>The request was rejected because the specified CloudHSM cluster has a different cluster
|
|
269
209
|
* certificate than the original cluster. You cannot use the operation to specify an unrelated
|
|
@@ -279,12 +219,6 @@ export interface CloudHsmClusterNotRelatedException extends __SmithyException, $
|
|
|
279
219
|
$fault: "client";
|
|
280
220
|
message?: string;
|
|
281
221
|
}
|
|
282
|
-
export declare namespace CloudHsmClusterNotRelatedException {
|
|
283
|
-
/**
|
|
284
|
-
* @internal
|
|
285
|
-
*/
|
|
286
|
-
const filterSensitiveLog: (obj: CloudHsmClusterNotRelatedException) => any;
|
|
287
|
-
}
|
|
288
222
|
export interface ConnectCustomKeyStoreRequest {
|
|
289
223
|
/**
|
|
290
224
|
* <p>Enter the key store ID of the custom key store that you want to connect.
|
|
@@ -334,12 +268,6 @@ export interface CustomKeyStoreInvalidStateException extends __SmithyException,
|
|
|
334
268
|
$fault: "client";
|
|
335
269
|
message?: string;
|
|
336
270
|
}
|
|
337
|
-
export declare namespace CustomKeyStoreInvalidStateException {
|
|
338
|
-
/**
|
|
339
|
-
* @internal
|
|
340
|
-
*/
|
|
341
|
-
const filterSensitiveLog: (obj: CustomKeyStoreInvalidStateException) => any;
|
|
342
|
-
}
|
|
343
271
|
/**
|
|
344
272
|
* <p>The request was rejected because KMS cannot find a custom key store with the specified
|
|
345
273
|
* key store name or ID.</p>
|
|
@@ -349,12 +277,6 @@ export interface CustomKeyStoreNotFoundException extends __SmithyException, $Met
|
|
|
349
277
|
$fault: "client";
|
|
350
278
|
message?: string;
|
|
351
279
|
}
|
|
352
|
-
export declare namespace CustomKeyStoreNotFoundException {
|
|
353
|
-
/**
|
|
354
|
-
* @internal
|
|
355
|
-
*/
|
|
356
|
-
const filterSensitiveLog: (obj: CustomKeyStoreNotFoundException) => any;
|
|
357
|
-
}
|
|
358
280
|
export declare enum ConnectionErrorCodeType {
|
|
359
281
|
CLUSTER_NOT_FOUND = "CLUSTER_NOT_FOUND",
|
|
360
282
|
INSUFFICIENT_CLOUDHSM_HSMS = "INSUFFICIENT_CLOUDHSM_HSMS",
|
|
@@ -423,12 +345,6 @@ export interface InvalidAliasNameException extends __SmithyException, $MetadataB
|
|
|
423
345
|
$fault: "client";
|
|
424
346
|
message?: string;
|
|
425
347
|
}
|
|
426
|
-
export declare namespace InvalidAliasNameException {
|
|
427
|
-
/**
|
|
428
|
-
* @internal
|
|
429
|
-
*/
|
|
430
|
-
const filterSensitiveLog: (obj: InvalidAliasNameException) => any;
|
|
431
|
-
}
|
|
432
348
|
/**
|
|
433
349
|
* <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
|
|
434
350
|
* <i>Key Management Service Developer Guide</i>.</p>
|
|
@@ -438,12 +354,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
438
354
|
$fault: "client";
|
|
439
355
|
message?: string;
|
|
440
356
|
}
|
|
441
|
-
export declare namespace LimitExceededException {
|
|
442
|
-
/**
|
|
443
|
-
* @internal
|
|
444
|
-
*/
|
|
445
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
446
|
-
}
|
|
447
357
|
export interface CreateCustomKeyStoreRequest {
|
|
448
358
|
/**
|
|
449
359
|
* <p>Specifies a friendly name for the custom key store. The name must be unique in your
|
|
@@ -500,12 +410,6 @@ export interface CustomKeyStoreNameInUseException extends __SmithyException, $Me
|
|
|
500
410
|
$fault: "client";
|
|
501
411
|
message?: string;
|
|
502
412
|
}
|
|
503
|
-
export declare namespace CustomKeyStoreNameInUseException {
|
|
504
|
-
/**
|
|
505
|
-
* @internal
|
|
506
|
-
*/
|
|
507
|
-
const filterSensitiveLog: (obj: CustomKeyStoreNameInUseException) => any;
|
|
508
|
-
}
|
|
509
413
|
/**
|
|
510
414
|
* <p>The request was rejected because the trust anchor certificate in the request is not the
|
|
511
415
|
* trust anchor certificate for the specified CloudHSM cluster.</p>
|
|
@@ -517,12 +421,6 @@ export interface IncorrectTrustAnchorException extends __SmithyException, $Metad
|
|
|
517
421
|
$fault: "client";
|
|
518
422
|
message?: string;
|
|
519
423
|
}
|
|
520
|
-
export declare namespace IncorrectTrustAnchorException {
|
|
521
|
-
/**
|
|
522
|
-
* @internal
|
|
523
|
-
*/
|
|
524
|
-
const filterSensitiveLog: (obj: IncorrectTrustAnchorException) => any;
|
|
525
|
-
}
|
|
526
424
|
/**
|
|
527
425
|
* <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
|
|
528
426
|
* includes the specified <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context">encryption context</a>. </p>
|
|
@@ -712,12 +610,6 @@ export interface DisabledException extends __SmithyException, $MetadataBearer {
|
|
|
712
610
|
$fault: "client";
|
|
713
611
|
message?: string;
|
|
714
612
|
}
|
|
715
|
-
export declare namespace DisabledException {
|
|
716
|
-
/**
|
|
717
|
-
* @internal
|
|
718
|
-
*/
|
|
719
|
-
const filterSensitiveLog: (obj: DisabledException) => any;
|
|
720
|
-
}
|
|
721
613
|
/**
|
|
722
614
|
* <p>The request was rejected because the specified grant token is not valid.</p>
|
|
723
615
|
*/
|
|
@@ -726,12 +618,6 @@ export interface InvalidGrantTokenException extends __SmithyException, $Metadata
|
|
|
726
618
|
$fault: "client";
|
|
727
619
|
message?: string;
|
|
728
620
|
}
|
|
729
|
-
export declare namespace InvalidGrantTokenException {
|
|
730
|
-
/**
|
|
731
|
-
* @internal
|
|
732
|
-
*/
|
|
733
|
-
const filterSensitiveLog: (obj: InvalidGrantTokenException) => any;
|
|
734
|
-
}
|
|
735
621
|
export declare enum CustomerMasterKeySpec {
|
|
736
622
|
ECC_NIST_P256 = "ECC_NIST_P256",
|
|
737
623
|
ECC_NIST_P384 = "ECC_NIST_P384",
|
|
@@ -1293,12 +1179,6 @@ export interface MalformedPolicyDocumentException extends __SmithyException, $Me
|
|
|
1293
1179
|
$fault: "client";
|
|
1294
1180
|
message?: string;
|
|
1295
1181
|
}
|
|
1296
|
-
export declare namespace MalformedPolicyDocumentException {
|
|
1297
|
-
/**
|
|
1298
|
-
* @internal
|
|
1299
|
-
*/
|
|
1300
|
-
const filterSensitiveLog: (obj: MalformedPolicyDocumentException) => any;
|
|
1301
|
-
}
|
|
1302
1182
|
/**
|
|
1303
1183
|
* <p>The request was rejected because one or more tags are not valid.</p>
|
|
1304
1184
|
*/
|
|
@@ -1307,12 +1187,6 @@ export interface TagException extends __SmithyException, $MetadataBearer {
|
|
|
1307
1187
|
$fault: "client";
|
|
1308
1188
|
message?: string;
|
|
1309
1189
|
}
|
|
1310
|
-
export declare namespace TagException {
|
|
1311
|
-
/**
|
|
1312
|
-
* @internal
|
|
1313
|
-
*/
|
|
1314
|
-
const filterSensitiveLog: (obj: TagException) => any;
|
|
1315
|
-
}
|
|
1316
1190
|
/**
|
|
1317
1191
|
* <p>The request was rejected because a specified parameter is not supported or a specified
|
|
1318
1192
|
* resource is not valid for this operation.</p>
|
|
@@ -1322,12 +1196,6 @@ export interface UnsupportedOperationException extends __SmithyException, $Metad
|
|
|
1322
1196
|
$fault: "client";
|
|
1323
1197
|
message?: string;
|
|
1324
1198
|
}
|
|
1325
|
-
export declare namespace UnsupportedOperationException {
|
|
1326
|
-
/**
|
|
1327
|
-
* @internal
|
|
1328
|
-
*/
|
|
1329
|
-
const filterSensitiveLog: (obj: UnsupportedOperationException) => any;
|
|
1330
|
-
}
|
|
1331
1199
|
/**
|
|
1332
1200
|
* <p>The request was rejected because the custom key store contains KMS keys. After verifying
|
|
1333
1201
|
* that you do not need to use the KMS keys, use the <a>ScheduleKeyDeletion</a>
|
|
@@ -1339,12 +1207,6 @@ export interface CustomKeyStoreHasCMKsException extends __SmithyException, $Meta
|
|
|
1339
1207
|
$fault: "client";
|
|
1340
1208
|
message?: string;
|
|
1341
1209
|
}
|
|
1342
|
-
export declare namespace CustomKeyStoreHasCMKsException {
|
|
1343
|
-
/**
|
|
1344
|
-
* @internal
|
|
1345
|
-
*/
|
|
1346
|
-
const filterSensitiveLog: (obj: CustomKeyStoreHasCMKsException) => any;
|
|
1347
|
-
}
|
|
1348
1210
|
/**
|
|
1349
1211
|
* <p>Contains information about each custom key store in the custom key store list.</p>
|
|
1350
1212
|
*/
|
|
@@ -1581,12 +1443,6 @@ export interface IncorrectKeyException extends __SmithyException, $MetadataBeare
|
|
|
1581
1443
|
$fault: "client";
|
|
1582
1444
|
message?: string;
|
|
1583
1445
|
}
|
|
1584
|
-
export declare namespace IncorrectKeyException {
|
|
1585
|
-
/**
|
|
1586
|
-
* @internal
|
|
1587
|
-
*/
|
|
1588
|
-
const filterSensitiveLog: (obj: IncorrectKeyException) => any;
|
|
1589
|
-
}
|
|
1590
1446
|
/**
|
|
1591
1447
|
* <p>From the <a>Decrypt</a> or <a>ReEncrypt</a> operation, the request
|
|
1592
1448
|
* was rejected because the specified ciphertext, or additional authenticated data incorporated
|
|
@@ -1600,12 +1456,6 @@ export interface InvalidCiphertextException extends __SmithyException, $Metadata
|
|
|
1600
1456
|
$fault: "client";
|
|
1601
1457
|
message?: string;
|
|
1602
1458
|
}
|
|
1603
|
-
export declare namespace InvalidCiphertextException {
|
|
1604
|
-
/**
|
|
1605
|
-
* @internal
|
|
1606
|
-
*/
|
|
1607
|
-
const filterSensitiveLog: (obj: InvalidCiphertextException) => any;
|
|
1608
|
-
}
|
|
1609
1459
|
/**
|
|
1610
1460
|
* <p>The request was rejected for one of the following reasons: </p>
|
|
1611
1461
|
* <ul>
|
|
@@ -1630,12 +1480,6 @@ export interface InvalidKeyUsageException extends __SmithyException, $MetadataBe
|
|
|
1630
1480
|
$fault: "client";
|
|
1631
1481
|
message?: string;
|
|
1632
1482
|
}
|
|
1633
|
-
export declare namespace InvalidKeyUsageException {
|
|
1634
|
-
/**
|
|
1635
|
-
* @internal
|
|
1636
|
-
*/
|
|
1637
|
-
const filterSensitiveLog: (obj: InvalidKeyUsageException) => any;
|
|
1638
|
-
}
|
|
1639
1483
|
/**
|
|
1640
1484
|
* <p>The request was rejected because the specified KMS key was not available. You can retry
|
|
1641
1485
|
* the request.</p>
|
|
@@ -1645,12 +1489,6 @@ export interface KeyUnavailableException extends __SmithyException, $MetadataBea
|
|
|
1645
1489
|
$fault: "server";
|
|
1646
1490
|
message?: string;
|
|
1647
1491
|
}
|
|
1648
|
-
export declare namespace KeyUnavailableException {
|
|
1649
|
-
/**
|
|
1650
|
-
* @internal
|
|
1651
|
-
*/
|
|
1652
|
-
const filterSensitiveLog: (obj: KeyUnavailableException) => any;
|
|
1653
|
-
}
|
|
1654
1492
|
export interface DeleteAliasRequest {
|
|
1655
1493
|
/**
|
|
1656
1494
|
* <p>The alias to be deleted. The alias name must begin with <code>alias/</code> followed by
|
|
@@ -1781,12 +1619,6 @@ export interface InvalidMarkerException extends __SmithyException, $MetadataBear
|
|
|
1781
1619
|
$fault: "client";
|
|
1782
1620
|
message?: string;
|
|
1783
1621
|
}
|
|
1784
|
-
export declare namespace InvalidMarkerException {
|
|
1785
|
-
/**
|
|
1786
|
-
* @internal
|
|
1787
|
-
*/
|
|
1788
|
-
const filterSensitiveLog: (obj: InvalidMarkerException) => any;
|
|
1789
|
-
}
|
|
1790
1622
|
export interface DescribeKeyRequest {
|
|
1791
1623
|
/**
|
|
1792
1624
|
* <p>Describes the specified KMS key. </p>
|
|
@@ -2056,12 +1888,6 @@ export interface ExpiredImportTokenException extends __SmithyException, $Metadat
|
|
|
2056
1888
|
$fault: "client";
|
|
2057
1889
|
message?: string;
|
|
2058
1890
|
}
|
|
2059
|
-
export declare namespace ExpiredImportTokenException {
|
|
2060
|
-
/**
|
|
2061
|
-
* @internal
|
|
2062
|
-
*/
|
|
2063
|
-
const filterSensitiveLog: (obj: ExpiredImportTokenException) => any;
|
|
2064
|
-
}
|
|
2065
1891
|
export interface GenerateDataKeyRequest {
|
|
2066
1892
|
/**
|
|
2067
1893
|
* <p>Identifies the symmetric KMS key that encrypts the data key.</p>
|
|
@@ -2788,12 +2614,6 @@ export interface IncorrectKeyMaterialException extends __SmithyException, $Metad
|
|
|
2788
2614
|
$fault: "client";
|
|
2789
2615
|
message?: string;
|
|
2790
2616
|
}
|
|
2791
|
-
export declare namespace IncorrectKeyMaterialException {
|
|
2792
|
-
/**
|
|
2793
|
-
* @internal
|
|
2794
|
-
*/
|
|
2795
|
-
const filterSensitiveLog: (obj: IncorrectKeyMaterialException) => any;
|
|
2796
|
-
}
|
|
2797
2617
|
/**
|
|
2798
2618
|
* <p>The request was rejected because the provided import token is invalid or is associated
|
|
2799
2619
|
* with a different KMS key.</p>
|
|
@@ -2803,12 +2623,6 @@ export interface InvalidImportTokenException extends __SmithyException, $Metadat
|
|
|
2803
2623
|
$fault: "client";
|
|
2804
2624
|
message?: string;
|
|
2805
2625
|
}
|
|
2806
|
-
export declare namespace InvalidImportTokenException {
|
|
2807
|
-
/**
|
|
2808
|
-
* @internal
|
|
2809
|
-
*/
|
|
2810
|
-
const filterSensitiveLog: (obj: InvalidImportTokenException) => any;
|
|
2811
|
-
}
|
|
2812
2626
|
/**
|
|
2813
2627
|
* <p>The request was rejected because the specified <code>GrantId</code> is not valid.</p>
|
|
2814
2628
|
*/
|
|
@@ -2817,12 +2631,6 @@ export interface InvalidGrantIdException extends __SmithyException, $MetadataBea
|
|
|
2817
2631
|
$fault: "client";
|
|
2818
2632
|
message?: string;
|
|
2819
2633
|
}
|
|
2820
|
-
export declare namespace InvalidGrantIdException {
|
|
2821
|
-
/**
|
|
2822
|
-
* @internal
|
|
2823
|
-
*/
|
|
2824
|
-
const filterSensitiveLog: (obj: InvalidGrantIdException) => any;
|
|
2825
|
-
}
|
|
2826
2634
|
/**
|
|
2827
2635
|
* <p>Contains information about each entry in the key list.</p>
|
|
2828
2636
|
*/
|
|
@@ -2852,12 +2660,6 @@ export interface KMSInvalidSignatureException extends __SmithyException, $Metada
|
|
|
2852
2660
|
$fault: "client";
|
|
2853
2661
|
message?: string;
|
|
2854
2662
|
}
|
|
2855
|
-
export declare namespace KMSInvalidSignatureException {
|
|
2856
|
-
/**
|
|
2857
|
-
* @internal
|
|
2858
|
-
*/
|
|
2859
|
-
const filterSensitiveLog: (obj: KMSInvalidSignatureException) => any;
|
|
2860
|
-
}
|
|
2861
2663
|
export interface ListAliasesRequest {
|
|
2862
2664
|
/**
|
|
2863
2665
|
* <p>Lists only aliases that are associated with the specified KMS key. Enter a KMS key in your
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { KMSClientConfig } from "./KMSClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { KMSClientConfig } from "./KMSClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput } from "./commands/CancelKeyDeletionCommand";
|
|
10
10
|
import { ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput } from "./commands/ConnectCustomKeyStoreCommand";
|
|
@@ -99,6 +99,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
99
99
|
regionInfoProvider?: RegionInfoProvider;
|
|
100
100
|
|
|
101
101
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
102
|
+
|
|
103
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
102
104
|
}
|
|
103
105
|
declare type KMSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
104
106
|
|