@aws-sdk/client-kms 3.218.0 → 3.220.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/README.md +12 -11
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +206 -3
- package/dist-cjs/protocols/Aws_json1_1.js +284 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +187 -0
- package/dist-es/protocols/Aws_json1_1.js +285 -1
- package/dist-types/KMS.d.ts +457 -312
- package/dist-types/KMSClient.d.ts +12 -11
- package/dist-types/commands/CancelKeyDeletionCommand.d.ts +1 -2
- package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +43 -17
- package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +51 -13
- package/dist-types/commands/CreateGrantCommand.d.ts +1 -2
- package/dist-types/commands/CreateKeyCommand.d.ts +76 -35
- package/dist-types/commands/DecryptCommand.d.ts +16 -17
- package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +21 -16
- package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +22 -17
- package/dist-types/commands/DescribeKeyCommand.d.ts +7 -3
- package/dist-types/commands/DisableKeyCommand.d.ts +3 -2
- package/dist-types/commands/DisableKeyRotationCommand.d.ts +4 -6
- package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +12 -12
- package/dist-types/commands/EnableKeyCommand.d.ts +1 -2
- package/dist-types/commands/EnableKeyRotationCommand.d.ts +6 -8
- package/dist-types/commands/EncryptCommand.d.ts +11 -9
- package/dist-types/commands/GenerateDataKeyCommand.d.ts +1 -2
- package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +8 -10
- package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +4 -6
- package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +9 -2
- package/dist-types/commands/GenerateMacCommand.d.ts +14 -14
- package/dist-types/commands/GenerateRandomCommand.d.ts +6 -3
- package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +3 -3
- package/dist-types/commands/GetParametersForImportCommand.d.ts +3 -3
- package/dist-types/commands/GetPublicKeyCommand.d.ts +5 -4
- package/dist-types/commands/ImportKeyMaterialCommand.d.ts +8 -8
- package/dist-types/commands/ReEncryptCommand.d.ts +5 -5
- package/dist-types/commands/ReplicateKeyCommand.d.ts +5 -4
- package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +11 -8
- package/dist-types/commands/SignCommand.d.ts +8 -6
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAliasCommand.d.ts +6 -6
- package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +58 -38
- package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +1 -2
- package/dist-types/commands/VerifyCommand.d.ts +5 -6
- package/dist-types/commands/VerifyMacCommand.d.ts +6 -6
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +925 -224
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +166 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ see the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/">
|
|
|
17
17
|
<i>Key Management Service Developer Guide</i>
|
|
18
18
|
</a>.</p>
|
|
19
19
|
<note>
|
|
20
|
-
<p>KMS
|
|
20
|
+
<p>KMS has replaced the term <i>customer master key (CMK)</i> with <i>KMS key</i> and <i>KMS key</i>. The concept has not changed. To prevent breaking changes, KMS is keeping some variations of this term.</p>
|
|
21
21
|
<p>Amazon Web Services provides SDKs that consist of libraries and sample code for various programming
|
|
22
22
|
languages and platforms (Java, Ruby, .Net, macOS, Android, etc.). The SDKs provide a
|
|
23
23
|
convenient way to create programmatic access to KMS and other Amazon Web Services services. For example,
|
|
@@ -26,23 +26,24 @@ retrying requests automatically. For more information about the Amazon Web Servi
|
|
|
26
26
|
download and install them, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web
|
|
27
27
|
Services</a>.</p>
|
|
28
28
|
</note>
|
|
29
|
-
<p>We recommend that you use the Amazon Web Services SDKs to make programmatic API calls to KMS
|
|
29
|
+
<p>We recommend that you use the Amazon Web Services SDKs to make programmatic API calls to KMS.</p>
|
|
30
30
|
<p>If you need to use FIPS 140-2 validated cryptographic modules when communicating with
|
|
31
31
|
Amazon Web Services, use the FIPS endpoint in your preferred Amazon Web Services Region. For more information about the
|
|
32
|
-
available FIPS endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/kms.html#kms_region">Service endpoints</a> in the Key Management Service topic of
|
|
33
|
-
<
|
|
34
|
-
KMS
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
available FIPS endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/kms.html#kms_region">Service endpoints</a> in the Key Management Service topic of
|
|
33
|
+
the <i>Amazon Web Services General Reference</i>.</p>
|
|
34
|
+
<p>All KMS API calls must be signed and be transmitted using Transport Layer Security
|
|
35
|
+
(TLS). KMS recommends you always use the latest supported TLS version. Clients must also
|
|
36
|
+
support cipher suites with Perfect Forward Secrecy (PFS) such as Ephemeral Diffie-Hellman
|
|
37
|
+
(DHE) or Elliptic Curve Ephemeral Diffie-Hellman (ECDHE). Most modern systems such as Java 7
|
|
38
|
+
and later support these modes.</p>
|
|
38
39
|
<p>
|
|
39
40
|
<b>Signing Requests</b>
|
|
40
41
|
</p>
|
|
41
42
|
<p>Requests must be signed by using an access key ID and a secret access key. We strongly
|
|
42
43
|
recommend that you <i>do not</i> use your Amazon Web Services account (root) access key ID and
|
|
43
|
-
secret key for everyday work with KMS. Instead, use the access key ID and secret
|
|
44
|
-
for an IAM user. You can also use the Amazon Web Services Security Token Service to generate
|
|
45
|
-
security credentials that you can use to sign requests.</p>
|
|
44
|
+
secret access key for everyday work with KMS. Instead, use the access key ID and secret
|
|
45
|
+
access key for an IAM user. You can also use the Amazon Web Services Security Token Service to generate
|
|
46
|
+
temporary security credentials that you can use to sign requests.</p>
|
|
46
47
|
<p>All KMS operations require <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
|
|
47
48
|
<p>
|
|
48
49
|
<b>Logging API Requests</b>
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
3
|
+
exports.XksKeyInvalidConfigurationException = exports.XksKeyAlreadyInUseException = exports.UnsupportedOperationException = exports.TagException = exports.MalformedPolicyDocumentException = exports.SigningAlgorithmSpec = exports.MultiRegionKeyType = exports.MacAlgorithmSpec = exports.KeyState = exports.KeyManagerType = exports.ExpirationModelType = exports.EncryptionAlgorithmSpec = exports.OriginType = exports.KeyUsageType = exports.KeySpec = exports.CustomerMasterKeySpec = exports.InvalidGrantTokenException = exports.DisabledException = exports.GrantOperation = exports.XksProxyVpcEndpointServiceNotFoundException = exports.XksProxyVpcEndpointServiceInvalidConfigurationException = exports.XksProxyVpcEndpointServiceInUseException = exports.XksProxyUriUnreachableException = exports.XksProxyUriInUseException = exports.XksProxyUriEndpointInUseException = exports.XksProxyInvalidResponseException = exports.XksProxyInvalidConfigurationException = exports.XksProxyIncorrectAuthenticationCredentialException = exports.IncorrectTrustAnchorException = exports.CustomKeyStoreNameInUseException = exports.XksProxyConnectivityType = exports.CustomKeyStoreType = exports.LimitExceededException = exports.InvalidAliasNameException = exports.ConnectionStateType = exports.ConnectionErrorCodeType = exports.CustomKeyStoreNotFoundException = exports.CustomKeyStoreInvalidStateException = exports.CloudHsmClusterNotRelatedException = exports.CloudHsmClusterNotFoundException = exports.CloudHsmClusterNotActiveException = exports.CloudHsmClusterInvalidConfigurationException = exports.CloudHsmClusterInUseException = exports.NotFoundException = exports.KMSInvalidStateException = exports.KMSInternalException = exports.InvalidArnException = exports.DependencyTimeoutException = exports.AlreadyExistsException = exports.AlgorithmSpec = void 0;
|
|
4
|
+
exports.DisableKeyRotationRequestFilterSensitiveLog = exports.DisableKeyRequestFilterSensitiveLog = exports.DescribeKeyResponseFilterSensitiveLog = exports.DescribeKeyRequestFilterSensitiveLog = exports.DescribeCustomKeyStoresResponseFilterSensitiveLog = exports.DescribeCustomKeyStoresRequestFilterSensitiveLog = exports.DeleteImportedKeyMaterialRequestFilterSensitiveLog = exports.DeleteCustomKeyStoreResponseFilterSensitiveLog = exports.DeleteCustomKeyStoreRequestFilterSensitiveLog = exports.DeleteAliasRequestFilterSensitiveLog = exports.DecryptResponseFilterSensitiveLog = exports.DecryptRequestFilterSensitiveLog = exports.CustomKeyStoresListEntryFilterSensitiveLog = exports.XksProxyConfigurationTypeFilterSensitiveLog = exports.CreateKeyResponseFilterSensitiveLog = exports.KeyMetadataFilterSensitiveLog = exports.XksKeyConfigurationTypeFilterSensitiveLog = exports.MultiRegionConfigurationFilterSensitiveLog = exports.MultiRegionKeyFilterSensitiveLog = exports.CreateKeyRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.CreateGrantResponseFilterSensitiveLog = exports.CreateGrantRequestFilterSensitiveLog = exports.GrantConstraintsFilterSensitiveLog = exports.CreateCustomKeyStoreResponseFilterSensitiveLog = exports.CreateCustomKeyStoreRequestFilterSensitiveLog = exports.XksProxyAuthenticationCredentialTypeFilterSensitiveLog = exports.CreateAliasRequestFilterSensitiveLog = exports.ConnectCustomKeyStoreResponseFilterSensitiveLog = exports.ConnectCustomKeyStoreRequestFilterSensitiveLog = exports.CancelKeyDeletionResponseFilterSensitiveLog = exports.CancelKeyDeletionRequestFilterSensitiveLog = exports.AliasListEntryFilterSensitiveLog = exports.MessageType = exports.KMSInvalidSignatureException = exports.KMSInvalidMacException = exports.InvalidGrantIdException = exports.InvalidImportTokenException = exports.IncorrectKeyMaterialException = exports.WrappingKeySpec = exports.ExpiredImportTokenException = exports.InvalidMarkerException = exports.KeyUnavailableException = exports.InvalidKeyUsageException = exports.InvalidCiphertextException = exports.IncorrectKeyException = exports.DataKeySpec = exports.DataKeyPairSpec = exports.CustomKeyStoreHasCMKsException = exports.XksKeyNotFoundException = void 0;
|
|
5
|
+
exports.ScheduleKeyDeletionResponseFilterSensitiveLog = exports.ScheduleKeyDeletionRequestFilterSensitiveLog = exports.RevokeGrantRequestFilterSensitiveLog = exports.RetireGrantRequestFilterSensitiveLog = exports.ReplicateKeyResponseFilterSensitiveLog = exports.ReplicateKeyRequestFilterSensitiveLog = exports.ReEncryptResponseFilterSensitiveLog = exports.ReEncryptRequestFilterSensitiveLog = exports.PutKeyPolicyRequestFilterSensitiveLog = exports.ListRetirableGrantsRequestFilterSensitiveLog = exports.ListResourceTagsResponseFilterSensitiveLog = exports.ListResourceTagsRequestFilterSensitiveLog = exports.ListKeysResponseFilterSensitiveLog = exports.ListKeysRequestFilterSensitiveLog = exports.ListKeyPoliciesResponseFilterSensitiveLog = exports.ListKeyPoliciesRequestFilterSensitiveLog = exports.ListGrantsResponseFilterSensitiveLog = exports.ListGrantsRequestFilterSensitiveLog = exports.ListAliasesResponseFilterSensitiveLog = exports.ListAliasesRequestFilterSensitiveLog = exports.KeyListEntryFilterSensitiveLog = exports.ImportKeyMaterialResponseFilterSensitiveLog = exports.ImportKeyMaterialRequestFilterSensitiveLog = exports.GrantListEntryFilterSensitiveLog = exports.GetPublicKeyResponseFilterSensitiveLog = exports.GetPublicKeyRequestFilterSensitiveLog = exports.GetParametersForImportResponseFilterSensitiveLog = exports.GetParametersForImportRequestFilterSensitiveLog = exports.GetKeyRotationStatusResponseFilterSensitiveLog = exports.GetKeyRotationStatusRequestFilterSensitiveLog = exports.GetKeyPolicyResponseFilterSensitiveLog = exports.GetKeyPolicyRequestFilterSensitiveLog = exports.GenerateRandomResponseFilterSensitiveLog = exports.GenerateRandomRequestFilterSensitiveLog = exports.GenerateMacResponseFilterSensitiveLog = exports.GenerateMacRequestFilterSensitiveLog = exports.GenerateDataKeyWithoutPlaintextResponseFilterSensitiveLog = exports.GenerateDataKeyWithoutPlaintextRequestFilterSensitiveLog = exports.GenerateDataKeyPairWithoutPlaintextResponseFilterSensitiveLog = exports.GenerateDataKeyPairWithoutPlaintextRequestFilterSensitiveLog = exports.GenerateDataKeyPairResponseFilterSensitiveLog = exports.GenerateDataKeyPairRequestFilterSensitiveLog = exports.GenerateDataKeyResponseFilterSensitiveLog = exports.GenerateDataKeyRequestFilterSensitiveLog = exports.EncryptResponseFilterSensitiveLog = exports.EncryptRequestFilterSensitiveLog = exports.EnableKeyRotationRequestFilterSensitiveLog = exports.EnableKeyRequestFilterSensitiveLog = exports.DisconnectCustomKeyStoreResponseFilterSensitiveLog = exports.DisconnectCustomKeyStoreRequestFilterSensitiveLog = void 0;
|
|
6
|
+
exports.VerifyMacResponseFilterSensitiveLog = exports.VerifyMacRequestFilterSensitiveLog = exports.VerifyResponseFilterSensitiveLog = exports.VerifyRequestFilterSensitiveLog = exports.UpdatePrimaryRegionRequestFilterSensitiveLog = exports.UpdateKeyDescriptionRequestFilterSensitiveLog = exports.UpdateCustomKeyStoreResponseFilterSensitiveLog = exports.UpdateCustomKeyStoreRequestFilterSensitiveLog = exports.UpdateAliasRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SignResponseFilterSensitiveLog = exports.SignRequestFilterSensitiveLog = void 0;
|
|
6
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
8
|
const KMSServiceException_1 = require("./KMSServiceException");
|
|
8
9
|
var AlgorithmSpec;
|
|
@@ -192,6 +193,14 @@ var ConnectionErrorCodeType;
|
|
|
192
193
|
ConnectionErrorCodeType["USER_LOCKED_OUT"] = "USER_LOCKED_OUT";
|
|
193
194
|
ConnectionErrorCodeType["USER_LOGGED_IN"] = "USER_LOGGED_IN";
|
|
194
195
|
ConnectionErrorCodeType["USER_NOT_FOUND"] = "USER_NOT_FOUND";
|
|
196
|
+
ConnectionErrorCodeType["XKS_PROXY_ACCESS_DENIED"] = "XKS_PROXY_ACCESS_DENIED";
|
|
197
|
+
ConnectionErrorCodeType["XKS_PROXY_INVALID_CONFIGURATION"] = "XKS_PROXY_INVALID_CONFIGURATION";
|
|
198
|
+
ConnectionErrorCodeType["XKS_PROXY_INVALID_RESPONSE"] = "XKS_PROXY_INVALID_RESPONSE";
|
|
199
|
+
ConnectionErrorCodeType["XKS_PROXY_INVALID_TLS_CONFIGURATION"] = "XKS_PROXY_INVALID_TLS_CONFIGURATION";
|
|
200
|
+
ConnectionErrorCodeType["XKS_PROXY_NOT_REACHABLE"] = "XKS_PROXY_NOT_REACHABLE";
|
|
201
|
+
ConnectionErrorCodeType["XKS_PROXY_TIMED_OUT"] = "XKS_PROXY_TIMED_OUT";
|
|
202
|
+
ConnectionErrorCodeType["XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION"] = "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION";
|
|
203
|
+
ConnectionErrorCodeType["XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND"] = "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND";
|
|
195
204
|
})(ConnectionErrorCodeType = exports.ConnectionErrorCodeType || (exports.ConnectionErrorCodeType = {}));
|
|
196
205
|
var ConnectionStateType;
|
|
197
206
|
(function (ConnectionStateType) {
|
|
@@ -227,6 +236,16 @@ class LimitExceededException extends KMSServiceException_1.KMSServiceException {
|
|
|
227
236
|
}
|
|
228
237
|
}
|
|
229
238
|
exports.LimitExceededException = LimitExceededException;
|
|
239
|
+
var CustomKeyStoreType;
|
|
240
|
+
(function (CustomKeyStoreType) {
|
|
241
|
+
CustomKeyStoreType["AWS_CLOUDHSM"] = "AWS_CLOUDHSM";
|
|
242
|
+
CustomKeyStoreType["EXTERNAL_KEY_STORE"] = "EXTERNAL_KEY_STORE";
|
|
243
|
+
})(CustomKeyStoreType = exports.CustomKeyStoreType || (exports.CustomKeyStoreType = {}));
|
|
244
|
+
var XksProxyConnectivityType;
|
|
245
|
+
(function (XksProxyConnectivityType) {
|
|
246
|
+
XksProxyConnectivityType["PUBLIC_ENDPOINT"] = "PUBLIC_ENDPOINT";
|
|
247
|
+
XksProxyConnectivityType["VPC_ENDPOINT_SERVICE"] = "VPC_ENDPOINT_SERVICE";
|
|
248
|
+
})(XksProxyConnectivityType = exports.XksProxyConnectivityType || (exports.XksProxyConnectivityType = {}));
|
|
230
249
|
class CustomKeyStoreNameInUseException extends KMSServiceException_1.KMSServiceException {
|
|
231
250
|
constructor(opts) {
|
|
232
251
|
super({
|
|
@@ -253,6 +272,123 @@ class IncorrectTrustAnchorException extends KMSServiceException_1.KMSServiceExce
|
|
|
253
272
|
}
|
|
254
273
|
}
|
|
255
274
|
exports.IncorrectTrustAnchorException = IncorrectTrustAnchorException;
|
|
275
|
+
class XksProxyIncorrectAuthenticationCredentialException extends KMSServiceException_1.KMSServiceException {
|
|
276
|
+
constructor(opts) {
|
|
277
|
+
super({
|
|
278
|
+
name: "XksProxyIncorrectAuthenticationCredentialException",
|
|
279
|
+
$fault: "client",
|
|
280
|
+
...opts,
|
|
281
|
+
});
|
|
282
|
+
this.name = "XksProxyIncorrectAuthenticationCredentialException";
|
|
283
|
+
this.$fault = "client";
|
|
284
|
+
Object.setPrototypeOf(this, XksProxyIncorrectAuthenticationCredentialException.prototype);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
exports.XksProxyIncorrectAuthenticationCredentialException = XksProxyIncorrectAuthenticationCredentialException;
|
|
288
|
+
class XksProxyInvalidConfigurationException extends KMSServiceException_1.KMSServiceException {
|
|
289
|
+
constructor(opts) {
|
|
290
|
+
super({
|
|
291
|
+
name: "XksProxyInvalidConfigurationException",
|
|
292
|
+
$fault: "client",
|
|
293
|
+
...opts,
|
|
294
|
+
});
|
|
295
|
+
this.name = "XksProxyInvalidConfigurationException";
|
|
296
|
+
this.$fault = "client";
|
|
297
|
+
Object.setPrototypeOf(this, XksProxyInvalidConfigurationException.prototype);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
exports.XksProxyInvalidConfigurationException = XksProxyInvalidConfigurationException;
|
|
301
|
+
class XksProxyInvalidResponseException extends KMSServiceException_1.KMSServiceException {
|
|
302
|
+
constructor(opts) {
|
|
303
|
+
super({
|
|
304
|
+
name: "XksProxyInvalidResponseException",
|
|
305
|
+
$fault: "client",
|
|
306
|
+
...opts,
|
|
307
|
+
});
|
|
308
|
+
this.name = "XksProxyInvalidResponseException";
|
|
309
|
+
this.$fault = "client";
|
|
310
|
+
Object.setPrototypeOf(this, XksProxyInvalidResponseException.prototype);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
exports.XksProxyInvalidResponseException = XksProxyInvalidResponseException;
|
|
314
|
+
class XksProxyUriEndpointInUseException extends KMSServiceException_1.KMSServiceException {
|
|
315
|
+
constructor(opts) {
|
|
316
|
+
super({
|
|
317
|
+
name: "XksProxyUriEndpointInUseException",
|
|
318
|
+
$fault: "client",
|
|
319
|
+
...opts,
|
|
320
|
+
});
|
|
321
|
+
this.name = "XksProxyUriEndpointInUseException";
|
|
322
|
+
this.$fault = "client";
|
|
323
|
+
Object.setPrototypeOf(this, XksProxyUriEndpointInUseException.prototype);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
exports.XksProxyUriEndpointInUseException = XksProxyUriEndpointInUseException;
|
|
327
|
+
class XksProxyUriInUseException extends KMSServiceException_1.KMSServiceException {
|
|
328
|
+
constructor(opts) {
|
|
329
|
+
super({
|
|
330
|
+
name: "XksProxyUriInUseException",
|
|
331
|
+
$fault: "client",
|
|
332
|
+
...opts,
|
|
333
|
+
});
|
|
334
|
+
this.name = "XksProxyUriInUseException";
|
|
335
|
+
this.$fault = "client";
|
|
336
|
+
Object.setPrototypeOf(this, XksProxyUriInUseException.prototype);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
exports.XksProxyUriInUseException = XksProxyUriInUseException;
|
|
340
|
+
class XksProxyUriUnreachableException extends KMSServiceException_1.KMSServiceException {
|
|
341
|
+
constructor(opts) {
|
|
342
|
+
super({
|
|
343
|
+
name: "XksProxyUriUnreachableException",
|
|
344
|
+
$fault: "client",
|
|
345
|
+
...opts,
|
|
346
|
+
});
|
|
347
|
+
this.name = "XksProxyUriUnreachableException";
|
|
348
|
+
this.$fault = "client";
|
|
349
|
+
Object.setPrototypeOf(this, XksProxyUriUnreachableException.prototype);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
exports.XksProxyUriUnreachableException = XksProxyUriUnreachableException;
|
|
353
|
+
class XksProxyVpcEndpointServiceInUseException extends KMSServiceException_1.KMSServiceException {
|
|
354
|
+
constructor(opts) {
|
|
355
|
+
super({
|
|
356
|
+
name: "XksProxyVpcEndpointServiceInUseException",
|
|
357
|
+
$fault: "client",
|
|
358
|
+
...opts,
|
|
359
|
+
});
|
|
360
|
+
this.name = "XksProxyVpcEndpointServiceInUseException";
|
|
361
|
+
this.$fault = "client";
|
|
362
|
+
Object.setPrototypeOf(this, XksProxyVpcEndpointServiceInUseException.prototype);
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
exports.XksProxyVpcEndpointServiceInUseException = XksProxyVpcEndpointServiceInUseException;
|
|
366
|
+
class XksProxyVpcEndpointServiceInvalidConfigurationException extends KMSServiceException_1.KMSServiceException {
|
|
367
|
+
constructor(opts) {
|
|
368
|
+
super({
|
|
369
|
+
name: "XksProxyVpcEndpointServiceInvalidConfigurationException",
|
|
370
|
+
$fault: "client",
|
|
371
|
+
...opts,
|
|
372
|
+
});
|
|
373
|
+
this.name = "XksProxyVpcEndpointServiceInvalidConfigurationException";
|
|
374
|
+
this.$fault = "client";
|
|
375
|
+
Object.setPrototypeOf(this, XksProxyVpcEndpointServiceInvalidConfigurationException.prototype);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
exports.XksProxyVpcEndpointServiceInvalidConfigurationException = XksProxyVpcEndpointServiceInvalidConfigurationException;
|
|
379
|
+
class XksProxyVpcEndpointServiceNotFoundException extends KMSServiceException_1.KMSServiceException {
|
|
380
|
+
constructor(opts) {
|
|
381
|
+
super({
|
|
382
|
+
name: "XksProxyVpcEndpointServiceNotFoundException",
|
|
383
|
+
$fault: "client",
|
|
384
|
+
...opts,
|
|
385
|
+
});
|
|
386
|
+
this.name = "XksProxyVpcEndpointServiceNotFoundException";
|
|
387
|
+
this.$fault = "client";
|
|
388
|
+
Object.setPrototypeOf(this, XksProxyVpcEndpointServiceNotFoundException.prototype);
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
exports.XksProxyVpcEndpointServiceNotFoundException = XksProxyVpcEndpointServiceNotFoundException;
|
|
256
392
|
var GrantOperation;
|
|
257
393
|
(function (GrantOperation) {
|
|
258
394
|
GrantOperation["CreateGrant"] = "CreateGrant";
|
|
@@ -341,6 +477,7 @@ var OriginType;
|
|
|
341
477
|
OriginType["AWS_CLOUDHSM"] = "AWS_CLOUDHSM";
|
|
342
478
|
OriginType["AWS_KMS"] = "AWS_KMS";
|
|
343
479
|
OriginType["EXTERNAL"] = "EXTERNAL";
|
|
480
|
+
OriginType["EXTERNAL_KEY_STORE"] = "EXTERNAL_KEY_STORE";
|
|
344
481
|
})(OriginType = exports.OriginType || (exports.OriginType = {}));
|
|
345
482
|
var EncryptionAlgorithmSpec;
|
|
346
483
|
(function (EncryptionAlgorithmSpec) {
|
|
@@ -434,6 +571,45 @@ class UnsupportedOperationException extends KMSServiceException_1.KMSServiceExce
|
|
|
434
571
|
}
|
|
435
572
|
}
|
|
436
573
|
exports.UnsupportedOperationException = UnsupportedOperationException;
|
|
574
|
+
class XksKeyAlreadyInUseException extends KMSServiceException_1.KMSServiceException {
|
|
575
|
+
constructor(opts) {
|
|
576
|
+
super({
|
|
577
|
+
name: "XksKeyAlreadyInUseException",
|
|
578
|
+
$fault: "client",
|
|
579
|
+
...opts,
|
|
580
|
+
});
|
|
581
|
+
this.name = "XksKeyAlreadyInUseException";
|
|
582
|
+
this.$fault = "client";
|
|
583
|
+
Object.setPrototypeOf(this, XksKeyAlreadyInUseException.prototype);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
exports.XksKeyAlreadyInUseException = XksKeyAlreadyInUseException;
|
|
587
|
+
class XksKeyInvalidConfigurationException extends KMSServiceException_1.KMSServiceException {
|
|
588
|
+
constructor(opts) {
|
|
589
|
+
super({
|
|
590
|
+
name: "XksKeyInvalidConfigurationException",
|
|
591
|
+
$fault: "client",
|
|
592
|
+
...opts,
|
|
593
|
+
});
|
|
594
|
+
this.name = "XksKeyInvalidConfigurationException";
|
|
595
|
+
this.$fault = "client";
|
|
596
|
+
Object.setPrototypeOf(this, XksKeyInvalidConfigurationException.prototype);
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
exports.XksKeyInvalidConfigurationException = XksKeyInvalidConfigurationException;
|
|
600
|
+
class XksKeyNotFoundException extends KMSServiceException_1.KMSServiceException {
|
|
601
|
+
constructor(opts) {
|
|
602
|
+
super({
|
|
603
|
+
name: "XksKeyNotFoundException",
|
|
604
|
+
$fault: "client",
|
|
605
|
+
...opts,
|
|
606
|
+
});
|
|
607
|
+
this.name = "XksKeyNotFoundException";
|
|
608
|
+
this.$fault = "client";
|
|
609
|
+
Object.setPrototypeOf(this, XksKeyNotFoundException.prototype);
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
exports.XksKeyNotFoundException = XksKeyNotFoundException;
|
|
437
613
|
class CustomKeyStoreHasCMKsException extends KMSServiceException_1.KMSServiceException {
|
|
438
614
|
constructor(opts) {
|
|
439
615
|
super({
|
|
@@ -639,9 +815,18 @@ const CreateAliasRequestFilterSensitiveLog = (obj) => ({
|
|
|
639
815
|
...obj,
|
|
640
816
|
});
|
|
641
817
|
exports.CreateAliasRequestFilterSensitiveLog = CreateAliasRequestFilterSensitiveLog;
|
|
818
|
+
const XksProxyAuthenticationCredentialTypeFilterSensitiveLog = (obj) => ({
|
|
819
|
+
...obj,
|
|
820
|
+
...(obj.AccessKeyId && { AccessKeyId: smithy_client_1.SENSITIVE_STRING }),
|
|
821
|
+
...(obj.RawSecretAccessKey && { RawSecretAccessKey: smithy_client_1.SENSITIVE_STRING }),
|
|
822
|
+
});
|
|
823
|
+
exports.XksProxyAuthenticationCredentialTypeFilterSensitiveLog = XksProxyAuthenticationCredentialTypeFilterSensitiveLog;
|
|
642
824
|
const CreateCustomKeyStoreRequestFilterSensitiveLog = (obj) => ({
|
|
643
825
|
...obj,
|
|
644
826
|
...(obj.KeyStorePassword && { KeyStorePassword: smithy_client_1.SENSITIVE_STRING }),
|
|
827
|
+
...(obj.XksProxyAuthenticationCredential && {
|
|
828
|
+
XksProxyAuthenticationCredential: (0, exports.XksProxyAuthenticationCredentialTypeFilterSensitiveLog)(obj.XksProxyAuthenticationCredential),
|
|
829
|
+
}),
|
|
645
830
|
});
|
|
646
831
|
exports.CreateCustomKeyStoreRequestFilterSensitiveLog = CreateCustomKeyStoreRequestFilterSensitiveLog;
|
|
647
832
|
const CreateCustomKeyStoreResponseFilterSensitiveLog = (obj) => ({
|
|
@@ -676,6 +861,10 @@ const MultiRegionConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
676
861
|
...obj,
|
|
677
862
|
});
|
|
678
863
|
exports.MultiRegionConfigurationFilterSensitiveLog = MultiRegionConfigurationFilterSensitiveLog;
|
|
864
|
+
const XksKeyConfigurationTypeFilterSensitiveLog = (obj) => ({
|
|
865
|
+
...obj,
|
|
866
|
+
});
|
|
867
|
+
exports.XksKeyConfigurationTypeFilterSensitiveLog = XksKeyConfigurationTypeFilterSensitiveLog;
|
|
679
868
|
const KeyMetadataFilterSensitiveLog = (obj) => ({
|
|
680
869
|
...obj,
|
|
681
870
|
});
|
|
@@ -684,8 +873,16 @@ const CreateKeyResponseFilterSensitiveLog = (obj) => ({
|
|
|
684
873
|
...obj,
|
|
685
874
|
});
|
|
686
875
|
exports.CreateKeyResponseFilterSensitiveLog = CreateKeyResponseFilterSensitiveLog;
|
|
876
|
+
const XksProxyConfigurationTypeFilterSensitiveLog = (obj) => ({
|
|
877
|
+
...obj,
|
|
878
|
+
...(obj.AccessKeyId && { AccessKeyId: smithy_client_1.SENSITIVE_STRING }),
|
|
879
|
+
});
|
|
880
|
+
exports.XksProxyConfigurationTypeFilterSensitiveLog = XksProxyConfigurationTypeFilterSensitiveLog;
|
|
687
881
|
const CustomKeyStoresListEntryFilterSensitiveLog = (obj) => ({
|
|
688
882
|
...obj,
|
|
883
|
+
...(obj.XksProxyConfiguration && {
|
|
884
|
+
XksProxyConfiguration: (0, exports.XksProxyConfigurationTypeFilterSensitiveLog)(obj.XksProxyConfiguration),
|
|
885
|
+
}),
|
|
689
886
|
});
|
|
690
887
|
exports.CustomKeyStoresListEntryFilterSensitiveLog = CustomKeyStoresListEntryFilterSensitiveLog;
|
|
691
888
|
const DecryptRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -719,6 +916,9 @@ const DescribeCustomKeyStoresRequestFilterSensitiveLog = (obj) => ({
|
|
|
719
916
|
exports.DescribeCustomKeyStoresRequestFilterSensitiveLog = DescribeCustomKeyStoresRequestFilterSensitiveLog;
|
|
720
917
|
const DescribeCustomKeyStoresResponseFilterSensitiveLog = (obj) => ({
|
|
721
918
|
...obj,
|
|
919
|
+
...(obj.CustomKeyStores && {
|
|
920
|
+
CustomKeyStores: obj.CustomKeyStores.map((item) => (0, exports.CustomKeyStoresListEntryFilterSensitiveLog)(item)),
|
|
921
|
+
}),
|
|
722
922
|
});
|
|
723
923
|
exports.DescribeCustomKeyStoresResponseFilterSensitiveLog = DescribeCustomKeyStoresResponseFilterSensitiveLog;
|
|
724
924
|
const DescribeKeyRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -967,6 +1167,9 @@ exports.UpdateAliasRequestFilterSensitiveLog = UpdateAliasRequestFilterSensitive
|
|
|
967
1167
|
const UpdateCustomKeyStoreRequestFilterSensitiveLog = (obj) => ({
|
|
968
1168
|
...obj,
|
|
969
1169
|
...(obj.KeyStorePassword && { KeyStorePassword: smithy_client_1.SENSITIVE_STRING }),
|
|
1170
|
+
...(obj.XksProxyAuthenticationCredential && {
|
|
1171
|
+
XksProxyAuthenticationCredential: (0, exports.XksProxyAuthenticationCredentialTypeFilterSensitiveLog)(obj.XksProxyAuthenticationCredential),
|
|
1172
|
+
}),
|
|
970
1173
|
});
|
|
971
1174
|
exports.UpdateCustomKeyStoreRequestFilterSensitiveLog = UpdateCustomKeyStoreRequestFilterSensitiveLog;
|
|
972
1175
|
const UpdateCustomKeyStoreResponseFilterSensitiveLog = (obj) => ({
|