@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
|
@@ -689,6 +689,36 @@ const deserializeAws_json1_1CreateCustomKeyStoreCommandError = async (output, co
|
|
|
689
689
|
case "KMSInternalException":
|
|
690
690
|
case "com.amazonaws.kms#KMSInternalException":
|
|
691
691
|
throw await deserializeAws_json1_1KMSInternalExceptionResponse(parsedOutput, context);
|
|
692
|
+
case "LimitExceededException":
|
|
693
|
+
case "com.amazonaws.kms#LimitExceededException":
|
|
694
|
+
throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
|
|
695
|
+
case "XksProxyIncorrectAuthenticationCredentialException":
|
|
696
|
+
case "com.amazonaws.kms#XksProxyIncorrectAuthenticationCredentialException":
|
|
697
|
+
throw await deserializeAws_json1_1XksProxyIncorrectAuthenticationCredentialExceptionResponse(parsedOutput, context);
|
|
698
|
+
case "XksProxyInvalidConfigurationException":
|
|
699
|
+
case "com.amazonaws.kms#XksProxyInvalidConfigurationException":
|
|
700
|
+
throw await deserializeAws_json1_1XksProxyInvalidConfigurationExceptionResponse(parsedOutput, context);
|
|
701
|
+
case "XksProxyInvalidResponseException":
|
|
702
|
+
case "com.amazonaws.kms#XksProxyInvalidResponseException":
|
|
703
|
+
throw await deserializeAws_json1_1XksProxyInvalidResponseExceptionResponse(parsedOutput, context);
|
|
704
|
+
case "XksProxyUriEndpointInUseException":
|
|
705
|
+
case "com.amazonaws.kms#XksProxyUriEndpointInUseException":
|
|
706
|
+
throw await deserializeAws_json1_1XksProxyUriEndpointInUseExceptionResponse(parsedOutput, context);
|
|
707
|
+
case "XksProxyUriInUseException":
|
|
708
|
+
case "com.amazonaws.kms#XksProxyUriInUseException":
|
|
709
|
+
throw await deserializeAws_json1_1XksProxyUriInUseExceptionResponse(parsedOutput, context);
|
|
710
|
+
case "XksProxyUriUnreachableException":
|
|
711
|
+
case "com.amazonaws.kms#XksProxyUriUnreachableException":
|
|
712
|
+
throw await deserializeAws_json1_1XksProxyUriUnreachableExceptionResponse(parsedOutput, context);
|
|
713
|
+
case "XksProxyVpcEndpointServiceInUseException":
|
|
714
|
+
case "com.amazonaws.kms#XksProxyVpcEndpointServiceInUseException":
|
|
715
|
+
throw await deserializeAws_json1_1XksProxyVpcEndpointServiceInUseExceptionResponse(parsedOutput, context);
|
|
716
|
+
case "XksProxyVpcEndpointServiceInvalidConfigurationException":
|
|
717
|
+
case "com.amazonaws.kms#XksProxyVpcEndpointServiceInvalidConfigurationException":
|
|
718
|
+
throw await deserializeAws_json1_1XksProxyVpcEndpointServiceInvalidConfigurationExceptionResponse(parsedOutput, context);
|
|
719
|
+
case "XksProxyVpcEndpointServiceNotFoundException":
|
|
720
|
+
case "com.amazonaws.kms#XksProxyVpcEndpointServiceNotFoundException":
|
|
721
|
+
throw await deserializeAws_json1_1XksProxyVpcEndpointServiceNotFoundExceptionResponse(parsedOutput, context);
|
|
692
722
|
default:
|
|
693
723
|
const parsedBody = parsedOutput.body;
|
|
694
724
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -805,6 +835,15 @@ const deserializeAws_json1_1CreateKeyCommandError = async (output, context) => {
|
|
|
805
835
|
case "UnsupportedOperationException":
|
|
806
836
|
case "com.amazonaws.kms#UnsupportedOperationException":
|
|
807
837
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
838
|
+
case "XksKeyAlreadyInUseException":
|
|
839
|
+
case "com.amazonaws.kms#XksKeyAlreadyInUseException":
|
|
840
|
+
throw await deserializeAws_json1_1XksKeyAlreadyInUseExceptionResponse(parsedOutput, context);
|
|
841
|
+
case "XksKeyInvalidConfigurationException":
|
|
842
|
+
case "com.amazonaws.kms#XksKeyInvalidConfigurationException":
|
|
843
|
+
throw await deserializeAws_json1_1XksKeyInvalidConfigurationExceptionResponse(parsedOutput, context);
|
|
844
|
+
case "XksKeyNotFoundException":
|
|
845
|
+
case "com.amazonaws.kms#XksKeyNotFoundException":
|
|
846
|
+
throw await deserializeAws_json1_1XksKeyNotFoundExceptionResponse(parsedOutput, context);
|
|
808
847
|
default:
|
|
809
848
|
const parsedBody = parsedOutput.body;
|
|
810
849
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1681,6 +1720,9 @@ const deserializeAws_json1_1GenerateRandomCommandError = async (output, context)
|
|
|
1681
1720
|
case "KMSInternalException":
|
|
1682
1721
|
case "com.amazonaws.kms#KMSInternalException":
|
|
1683
1722
|
throw await deserializeAws_json1_1KMSInternalExceptionResponse(parsedOutput, context);
|
|
1723
|
+
case "UnsupportedOperationException":
|
|
1724
|
+
case "com.amazonaws.kms#UnsupportedOperationException":
|
|
1725
|
+
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1684
1726
|
default:
|
|
1685
1727
|
const parsedBody = parsedOutput.body;
|
|
1686
1728
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2777,6 +2819,33 @@ const deserializeAws_json1_1UpdateCustomKeyStoreCommandError = async (output, co
|
|
|
2777
2819
|
case "KMSInternalException":
|
|
2778
2820
|
case "com.amazonaws.kms#KMSInternalException":
|
|
2779
2821
|
throw await deserializeAws_json1_1KMSInternalExceptionResponse(parsedOutput, context);
|
|
2822
|
+
case "XksProxyIncorrectAuthenticationCredentialException":
|
|
2823
|
+
case "com.amazonaws.kms#XksProxyIncorrectAuthenticationCredentialException":
|
|
2824
|
+
throw await deserializeAws_json1_1XksProxyIncorrectAuthenticationCredentialExceptionResponse(parsedOutput, context);
|
|
2825
|
+
case "XksProxyInvalidConfigurationException":
|
|
2826
|
+
case "com.amazonaws.kms#XksProxyInvalidConfigurationException":
|
|
2827
|
+
throw await deserializeAws_json1_1XksProxyInvalidConfigurationExceptionResponse(parsedOutput, context);
|
|
2828
|
+
case "XksProxyInvalidResponseException":
|
|
2829
|
+
case "com.amazonaws.kms#XksProxyInvalidResponseException":
|
|
2830
|
+
throw await deserializeAws_json1_1XksProxyInvalidResponseExceptionResponse(parsedOutput, context);
|
|
2831
|
+
case "XksProxyUriEndpointInUseException":
|
|
2832
|
+
case "com.amazonaws.kms#XksProxyUriEndpointInUseException":
|
|
2833
|
+
throw await deserializeAws_json1_1XksProxyUriEndpointInUseExceptionResponse(parsedOutput, context);
|
|
2834
|
+
case "XksProxyUriInUseException":
|
|
2835
|
+
case "com.amazonaws.kms#XksProxyUriInUseException":
|
|
2836
|
+
throw await deserializeAws_json1_1XksProxyUriInUseExceptionResponse(parsedOutput, context);
|
|
2837
|
+
case "XksProxyUriUnreachableException":
|
|
2838
|
+
case "com.amazonaws.kms#XksProxyUriUnreachableException":
|
|
2839
|
+
throw await deserializeAws_json1_1XksProxyUriUnreachableExceptionResponse(parsedOutput, context);
|
|
2840
|
+
case "XksProxyVpcEndpointServiceInUseException":
|
|
2841
|
+
case "com.amazonaws.kms#XksProxyVpcEndpointServiceInUseException":
|
|
2842
|
+
throw await deserializeAws_json1_1XksProxyVpcEndpointServiceInUseExceptionResponse(parsedOutput, context);
|
|
2843
|
+
case "XksProxyVpcEndpointServiceInvalidConfigurationException":
|
|
2844
|
+
case "com.amazonaws.kms#XksProxyVpcEndpointServiceInvalidConfigurationException":
|
|
2845
|
+
throw await deserializeAws_json1_1XksProxyVpcEndpointServiceInvalidConfigurationExceptionResponse(parsedOutput, context);
|
|
2846
|
+
case "XksProxyVpcEndpointServiceNotFoundException":
|
|
2847
|
+
case "com.amazonaws.kms#XksProxyVpcEndpointServiceNotFoundException":
|
|
2848
|
+
throw await deserializeAws_json1_1XksProxyVpcEndpointServiceNotFoundExceptionResponse(parsedOutput, context);
|
|
2780
2849
|
default:
|
|
2781
2850
|
const parsedBody = parsedOutput.body;
|
|
2782
2851
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -3295,6 +3364,114 @@ const deserializeAws_json1_1UnsupportedOperationExceptionResponse = async (parse
|
|
|
3295
3364
|
});
|
|
3296
3365
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3297
3366
|
};
|
|
3367
|
+
const deserializeAws_json1_1XksKeyAlreadyInUseExceptionResponse = async (parsedOutput, context) => {
|
|
3368
|
+
const body = parsedOutput.body;
|
|
3369
|
+
const deserialized = deserializeAws_json1_1XksKeyAlreadyInUseException(body, context);
|
|
3370
|
+
const exception = new models_0_1.XksKeyAlreadyInUseException({
|
|
3371
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3372
|
+
...deserialized,
|
|
3373
|
+
});
|
|
3374
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3375
|
+
};
|
|
3376
|
+
const deserializeAws_json1_1XksKeyInvalidConfigurationExceptionResponse = async (parsedOutput, context) => {
|
|
3377
|
+
const body = parsedOutput.body;
|
|
3378
|
+
const deserialized = deserializeAws_json1_1XksKeyInvalidConfigurationException(body, context);
|
|
3379
|
+
const exception = new models_0_1.XksKeyInvalidConfigurationException({
|
|
3380
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3381
|
+
...deserialized,
|
|
3382
|
+
});
|
|
3383
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3384
|
+
};
|
|
3385
|
+
const deserializeAws_json1_1XksKeyNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3386
|
+
const body = parsedOutput.body;
|
|
3387
|
+
const deserialized = deserializeAws_json1_1XksKeyNotFoundException(body, context);
|
|
3388
|
+
const exception = new models_0_1.XksKeyNotFoundException({
|
|
3389
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3390
|
+
...deserialized,
|
|
3391
|
+
});
|
|
3392
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3393
|
+
};
|
|
3394
|
+
const deserializeAws_json1_1XksProxyIncorrectAuthenticationCredentialExceptionResponse = async (parsedOutput, context) => {
|
|
3395
|
+
const body = parsedOutput.body;
|
|
3396
|
+
const deserialized = deserializeAws_json1_1XksProxyIncorrectAuthenticationCredentialException(body, context);
|
|
3397
|
+
const exception = new models_0_1.XksProxyIncorrectAuthenticationCredentialException({
|
|
3398
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3399
|
+
...deserialized,
|
|
3400
|
+
});
|
|
3401
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3402
|
+
};
|
|
3403
|
+
const deserializeAws_json1_1XksProxyInvalidConfigurationExceptionResponse = async (parsedOutput, context) => {
|
|
3404
|
+
const body = parsedOutput.body;
|
|
3405
|
+
const deserialized = deserializeAws_json1_1XksProxyInvalidConfigurationException(body, context);
|
|
3406
|
+
const exception = new models_0_1.XksProxyInvalidConfigurationException({
|
|
3407
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3408
|
+
...deserialized,
|
|
3409
|
+
});
|
|
3410
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3411
|
+
};
|
|
3412
|
+
const deserializeAws_json1_1XksProxyInvalidResponseExceptionResponse = async (parsedOutput, context) => {
|
|
3413
|
+
const body = parsedOutput.body;
|
|
3414
|
+
const deserialized = deserializeAws_json1_1XksProxyInvalidResponseException(body, context);
|
|
3415
|
+
const exception = new models_0_1.XksProxyInvalidResponseException({
|
|
3416
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3417
|
+
...deserialized,
|
|
3418
|
+
});
|
|
3419
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3420
|
+
};
|
|
3421
|
+
const deserializeAws_json1_1XksProxyUriEndpointInUseExceptionResponse = async (parsedOutput, context) => {
|
|
3422
|
+
const body = parsedOutput.body;
|
|
3423
|
+
const deserialized = deserializeAws_json1_1XksProxyUriEndpointInUseException(body, context);
|
|
3424
|
+
const exception = new models_0_1.XksProxyUriEndpointInUseException({
|
|
3425
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3426
|
+
...deserialized,
|
|
3427
|
+
});
|
|
3428
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3429
|
+
};
|
|
3430
|
+
const deserializeAws_json1_1XksProxyUriInUseExceptionResponse = async (parsedOutput, context) => {
|
|
3431
|
+
const body = parsedOutput.body;
|
|
3432
|
+
const deserialized = deserializeAws_json1_1XksProxyUriInUseException(body, context);
|
|
3433
|
+
const exception = new models_0_1.XksProxyUriInUseException({
|
|
3434
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3435
|
+
...deserialized,
|
|
3436
|
+
});
|
|
3437
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3438
|
+
};
|
|
3439
|
+
const deserializeAws_json1_1XksProxyUriUnreachableExceptionResponse = async (parsedOutput, context) => {
|
|
3440
|
+
const body = parsedOutput.body;
|
|
3441
|
+
const deserialized = deserializeAws_json1_1XksProxyUriUnreachableException(body, context);
|
|
3442
|
+
const exception = new models_0_1.XksProxyUriUnreachableException({
|
|
3443
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3444
|
+
...deserialized,
|
|
3445
|
+
});
|
|
3446
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3447
|
+
};
|
|
3448
|
+
const deserializeAws_json1_1XksProxyVpcEndpointServiceInUseExceptionResponse = async (parsedOutput, context) => {
|
|
3449
|
+
const body = parsedOutput.body;
|
|
3450
|
+
const deserialized = deserializeAws_json1_1XksProxyVpcEndpointServiceInUseException(body, context);
|
|
3451
|
+
const exception = new models_0_1.XksProxyVpcEndpointServiceInUseException({
|
|
3452
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3453
|
+
...deserialized,
|
|
3454
|
+
});
|
|
3455
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3456
|
+
};
|
|
3457
|
+
const deserializeAws_json1_1XksProxyVpcEndpointServiceInvalidConfigurationExceptionResponse = async (parsedOutput, context) => {
|
|
3458
|
+
const body = parsedOutput.body;
|
|
3459
|
+
const deserialized = deserializeAws_json1_1XksProxyVpcEndpointServiceInvalidConfigurationException(body, context);
|
|
3460
|
+
const exception = new models_0_1.XksProxyVpcEndpointServiceInvalidConfigurationException({
|
|
3461
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3462
|
+
...deserialized,
|
|
3463
|
+
});
|
|
3464
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3465
|
+
};
|
|
3466
|
+
const deserializeAws_json1_1XksProxyVpcEndpointServiceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3467
|
+
const body = parsedOutput.body;
|
|
3468
|
+
const deserialized = deserializeAws_json1_1XksProxyVpcEndpointServiceNotFoundException(body, context);
|
|
3469
|
+
const exception = new models_0_1.XksProxyVpcEndpointServiceNotFoundException({
|
|
3470
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3471
|
+
...deserialized,
|
|
3472
|
+
});
|
|
3473
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3474
|
+
};
|
|
3298
3475
|
const serializeAws_json1_1CancelKeyDeletionRequest = (input, context) => {
|
|
3299
3476
|
return {
|
|
3300
3477
|
...(input.KeyId != null && { KeyId: input.KeyId }),
|
|
@@ -3315,8 +3492,18 @@ const serializeAws_json1_1CreateCustomKeyStoreRequest = (input, context) => {
|
|
|
3315
3492
|
return {
|
|
3316
3493
|
...(input.CloudHsmClusterId != null && { CloudHsmClusterId: input.CloudHsmClusterId }),
|
|
3317
3494
|
...(input.CustomKeyStoreName != null && { CustomKeyStoreName: input.CustomKeyStoreName }),
|
|
3495
|
+
...(input.CustomKeyStoreType != null && { CustomKeyStoreType: input.CustomKeyStoreType }),
|
|
3318
3496
|
...(input.KeyStorePassword != null && { KeyStorePassword: input.KeyStorePassword }),
|
|
3319
3497
|
...(input.TrustAnchorCertificate != null && { TrustAnchorCertificate: input.TrustAnchorCertificate }),
|
|
3498
|
+
...(input.XksProxyAuthenticationCredential != null && {
|
|
3499
|
+
XksProxyAuthenticationCredential: serializeAws_json1_1XksProxyAuthenticationCredentialType(input.XksProxyAuthenticationCredential, context),
|
|
3500
|
+
}),
|
|
3501
|
+
...(input.XksProxyConnectivity != null && { XksProxyConnectivity: input.XksProxyConnectivity }),
|
|
3502
|
+
...(input.XksProxyUriEndpoint != null && { XksProxyUriEndpoint: input.XksProxyUriEndpoint }),
|
|
3503
|
+
...(input.XksProxyUriPath != null && { XksProxyUriPath: input.XksProxyUriPath }),
|
|
3504
|
+
...(input.XksProxyVpcEndpointServiceName != null && {
|
|
3505
|
+
XksProxyVpcEndpointServiceName: input.XksProxyVpcEndpointServiceName,
|
|
3506
|
+
}),
|
|
3320
3507
|
};
|
|
3321
3508
|
};
|
|
3322
3509
|
const serializeAws_json1_1CreateGrantRequest = (input, context) => {
|
|
@@ -3344,6 +3531,7 @@ const serializeAws_json1_1CreateKeyRequest = (input, context) => {
|
|
|
3344
3531
|
...(input.Origin != null && { Origin: input.Origin }),
|
|
3345
3532
|
...(input.Policy != null && { Policy: input.Policy }),
|
|
3346
3533
|
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
3534
|
+
...(input.XksKeyId != null && { XksKeyId: input.XksKeyId }),
|
|
3347
3535
|
};
|
|
3348
3536
|
};
|
|
3349
3537
|
const serializeAws_json1_1DecryptRequest = (input, context) => {
|
|
@@ -3701,6 +3889,15 @@ const serializeAws_json1_1UpdateCustomKeyStoreRequest = (input, context) => {
|
|
|
3701
3889
|
...(input.CustomKeyStoreId != null && { CustomKeyStoreId: input.CustomKeyStoreId }),
|
|
3702
3890
|
...(input.KeyStorePassword != null && { KeyStorePassword: input.KeyStorePassword }),
|
|
3703
3891
|
...(input.NewCustomKeyStoreName != null && { NewCustomKeyStoreName: input.NewCustomKeyStoreName }),
|
|
3892
|
+
...(input.XksProxyAuthenticationCredential != null && {
|
|
3893
|
+
XksProxyAuthenticationCredential: serializeAws_json1_1XksProxyAuthenticationCredentialType(input.XksProxyAuthenticationCredential, context),
|
|
3894
|
+
}),
|
|
3895
|
+
...(input.XksProxyConnectivity != null && { XksProxyConnectivity: input.XksProxyConnectivity }),
|
|
3896
|
+
...(input.XksProxyUriEndpoint != null && { XksProxyUriEndpoint: input.XksProxyUriEndpoint }),
|
|
3897
|
+
...(input.XksProxyUriPath != null && { XksProxyUriPath: input.XksProxyUriPath }),
|
|
3898
|
+
...(input.XksProxyVpcEndpointServiceName != null && {
|
|
3899
|
+
XksProxyVpcEndpointServiceName: input.XksProxyVpcEndpointServiceName,
|
|
3900
|
+
}),
|
|
3704
3901
|
};
|
|
3705
3902
|
};
|
|
3706
3903
|
const serializeAws_json1_1UpdateKeyDescriptionRequest = (input, context) => {
|
|
@@ -3734,6 +3931,12 @@ const serializeAws_json1_1VerifyRequest = (input, context) => {
|
|
|
3734
3931
|
...(input.SigningAlgorithm != null && { SigningAlgorithm: input.SigningAlgorithm }),
|
|
3735
3932
|
};
|
|
3736
3933
|
};
|
|
3934
|
+
const serializeAws_json1_1XksProxyAuthenticationCredentialType = (input, context) => {
|
|
3935
|
+
return {
|
|
3936
|
+
...(input.AccessKeyId != null && { AccessKeyId: input.AccessKeyId }),
|
|
3937
|
+
...(input.RawSecretAccessKey != null && { RawSecretAccessKey: input.RawSecretAccessKey }),
|
|
3938
|
+
};
|
|
3939
|
+
};
|
|
3737
3940
|
const deserializeAws_json1_1AliasList = (output, context) => {
|
|
3738
3941
|
const retVal = (output || [])
|
|
3739
3942
|
.filter((e) => e != null)
|
|
@@ -3853,7 +4056,11 @@ const deserializeAws_json1_1CustomKeyStoresListEntry = (output, context) => {
|
|
|
3853
4056
|
: undefined,
|
|
3854
4057
|
CustomKeyStoreId: (0, smithy_client_1.expectString)(output.CustomKeyStoreId),
|
|
3855
4058
|
CustomKeyStoreName: (0, smithy_client_1.expectString)(output.CustomKeyStoreName),
|
|
4059
|
+
CustomKeyStoreType: (0, smithy_client_1.expectString)(output.CustomKeyStoreType),
|
|
3856
4060
|
TrustAnchorCertificate: (0, smithy_client_1.expectString)(output.TrustAnchorCertificate),
|
|
4061
|
+
XksProxyConfiguration: output.XksProxyConfiguration != null
|
|
4062
|
+
? deserializeAws_json1_1XksProxyConfigurationType(output.XksProxyConfiguration, context)
|
|
4063
|
+
: undefined,
|
|
3857
4064
|
};
|
|
3858
4065
|
};
|
|
3859
4066
|
const deserializeAws_json1_1DecryptResponse = (output, context) => {
|
|
@@ -4161,6 +4368,9 @@ const deserializeAws_json1_1KeyMetadata = (output, context) => {
|
|
|
4161
4368
|
? deserializeAws_json1_1SigningAlgorithmSpecList(output.SigningAlgorithms, context)
|
|
4162
4369
|
: undefined,
|
|
4163
4370
|
ValidTo: output.ValidTo != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ValidTo))) : undefined,
|
|
4371
|
+
XksKeyConfiguration: output.XksKeyConfiguration != null
|
|
4372
|
+
? deserializeAws_json1_1XksKeyConfigurationType(output.XksKeyConfiguration, context)
|
|
4373
|
+
: undefined,
|
|
4164
4374
|
};
|
|
4165
4375
|
};
|
|
4166
4376
|
const deserializeAws_json1_1KeyUnavailableException = (output, context) => {
|
|
@@ -4374,6 +4584,80 @@ const deserializeAws_json1_1VerifyResponse = (output, context) => {
|
|
|
4374
4584
|
SigningAlgorithm: (0, smithy_client_1.expectString)(output.SigningAlgorithm),
|
|
4375
4585
|
};
|
|
4376
4586
|
};
|
|
4587
|
+
const deserializeAws_json1_1XksKeyAlreadyInUseException = (output, context) => {
|
|
4588
|
+
return {
|
|
4589
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4590
|
+
};
|
|
4591
|
+
};
|
|
4592
|
+
const deserializeAws_json1_1XksKeyConfigurationType = (output, context) => {
|
|
4593
|
+
return {
|
|
4594
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4595
|
+
};
|
|
4596
|
+
};
|
|
4597
|
+
const deserializeAws_json1_1XksKeyInvalidConfigurationException = (output, context) => {
|
|
4598
|
+
return {
|
|
4599
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4600
|
+
};
|
|
4601
|
+
};
|
|
4602
|
+
const deserializeAws_json1_1XksKeyNotFoundException = (output, context) => {
|
|
4603
|
+
return {
|
|
4604
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4605
|
+
};
|
|
4606
|
+
};
|
|
4607
|
+
const deserializeAws_json1_1XksProxyConfigurationType = (output, context) => {
|
|
4608
|
+
return {
|
|
4609
|
+
AccessKeyId: (0, smithy_client_1.expectString)(output.AccessKeyId),
|
|
4610
|
+
Connectivity: (0, smithy_client_1.expectString)(output.Connectivity),
|
|
4611
|
+
UriEndpoint: (0, smithy_client_1.expectString)(output.UriEndpoint),
|
|
4612
|
+
UriPath: (0, smithy_client_1.expectString)(output.UriPath),
|
|
4613
|
+
VpcEndpointServiceName: (0, smithy_client_1.expectString)(output.VpcEndpointServiceName),
|
|
4614
|
+
};
|
|
4615
|
+
};
|
|
4616
|
+
const deserializeAws_json1_1XksProxyIncorrectAuthenticationCredentialException = (output, context) => {
|
|
4617
|
+
return {
|
|
4618
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4619
|
+
};
|
|
4620
|
+
};
|
|
4621
|
+
const deserializeAws_json1_1XksProxyInvalidConfigurationException = (output, context) => {
|
|
4622
|
+
return {
|
|
4623
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4624
|
+
};
|
|
4625
|
+
};
|
|
4626
|
+
const deserializeAws_json1_1XksProxyInvalidResponseException = (output, context) => {
|
|
4627
|
+
return {
|
|
4628
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4629
|
+
};
|
|
4630
|
+
};
|
|
4631
|
+
const deserializeAws_json1_1XksProxyUriEndpointInUseException = (output, context) => {
|
|
4632
|
+
return {
|
|
4633
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4634
|
+
};
|
|
4635
|
+
};
|
|
4636
|
+
const deserializeAws_json1_1XksProxyUriInUseException = (output, context) => {
|
|
4637
|
+
return {
|
|
4638
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4639
|
+
};
|
|
4640
|
+
};
|
|
4641
|
+
const deserializeAws_json1_1XksProxyUriUnreachableException = (output, context) => {
|
|
4642
|
+
return {
|
|
4643
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4644
|
+
};
|
|
4645
|
+
};
|
|
4646
|
+
const deserializeAws_json1_1XksProxyVpcEndpointServiceInUseException = (output, context) => {
|
|
4647
|
+
return {
|
|
4648
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4649
|
+
};
|
|
4650
|
+
};
|
|
4651
|
+
const deserializeAws_json1_1XksProxyVpcEndpointServiceInvalidConfigurationException = (output, context) => {
|
|
4652
|
+
return {
|
|
4653
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4654
|
+
};
|
|
4655
|
+
};
|
|
4656
|
+
const deserializeAws_json1_1XksProxyVpcEndpointServiceNotFoundException = (output, context) => {
|
|
4657
|
+
return {
|
|
4658
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4659
|
+
};
|
|
4660
|
+
};
|
|
4377
4661
|
const deserializeMetadata = (output) => ({
|
|
4378
4662
|
httpStatusCode: output.statusCode,
|
|
4379
4663
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -174,6 +174,14 @@ export var ConnectionErrorCodeType;
|
|
|
174
174
|
ConnectionErrorCodeType["USER_LOCKED_OUT"] = "USER_LOCKED_OUT";
|
|
175
175
|
ConnectionErrorCodeType["USER_LOGGED_IN"] = "USER_LOGGED_IN";
|
|
176
176
|
ConnectionErrorCodeType["USER_NOT_FOUND"] = "USER_NOT_FOUND";
|
|
177
|
+
ConnectionErrorCodeType["XKS_PROXY_ACCESS_DENIED"] = "XKS_PROXY_ACCESS_DENIED";
|
|
178
|
+
ConnectionErrorCodeType["XKS_PROXY_INVALID_CONFIGURATION"] = "XKS_PROXY_INVALID_CONFIGURATION";
|
|
179
|
+
ConnectionErrorCodeType["XKS_PROXY_INVALID_RESPONSE"] = "XKS_PROXY_INVALID_RESPONSE";
|
|
180
|
+
ConnectionErrorCodeType["XKS_PROXY_INVALID_TLS_CONFIGURATION"] = "XKS_PROXY_INVALID_TLS_CONFIGURATION";
|
|
181
|
+
ConnectionErrorCodeType["XKS_PROXY_NOT_REACHABLE"] = "XKS_PROXY_NOT_REACHABLE";
|
|
182
|
+
ConnectionErrorCodeType["XKS_PROXY_TIMED_OUT"] = "XKS_PROXY_TIMED_OUT";
|
|
183
|
+
ConnectionErrorCodeType["XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION"] = "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION";
|
|
184
|
+
ConnectionErrorCodeType["XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND"] = "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND";
|
|
177
185
|
})(ConnectionErrorCodeType || (ConnectionErrorCodeType = {}));
|
|
178
186
|
export var ConnectionStateType;
|
|
179
187
|
(function (ConnectionStateType) {
|
|
@@ -207,6 +215,16 @@ export class LimitExceededException extends __BaseException {
|
|
|
207
215
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
208
216
|
}
|
|
209
217
|
}
|
|
218
|
+
export var CustomKeyStoreType;
|
|
219
|
+
(function (CustomKeyStoreType) {
|
|
220
|
+
CustomKeyStoreType["AWS_CLOUDHSM"] = "AWS_CLOUDHSM";
|
|
221
|
+
CustomKeyStoreType["EXTERNAL_KEY_STORE"] = "EXTERNAL_KEY_STORE";
|
|
222
|
+
})(CustomKeyStoreType || (CustomKeyStoreType = {}));
|
|
223
|
+
export var XksProxyConnectivityType;
|
|
224
|
+
(function (XksProxyConnectivityType) {
|
|
225
|
+
XksProxyConnectivityType["PUBLIC_ENDPOINT"] = "PUBLIC_ENDPOINT";
|
|
226
|
+
XksProxyConnectivityType["VPC_ENDPOINT_SERVICE"] = "VPC_ENDPOINT_SERVICE";
|
|
227
|
+
})(XksProxyConnectivityType || (XksProxyConnectivityType = {}));
|
|
210
228
|
export class CustomKeyStoreNameInUseException extends __BaseException {
|
|
211
229
|
constructor(opts) {
|
|
212
230
|
super({
|
|
@@ -231,6 +249,114 @@ export class IncorrectTrustAnchorException extends __BaseException {
|
|
|
231
249
|
Object.setPrototypeOf(this, IncorrectTrustAnchorException.prototype);
|
|
232
250
|
}
|
|
233
251
|
}
|
|
252
|
+
export class XksProxyIncorrectAuthenticationCredentialException extends __BaseException {
|
|
253
|
+
constructor(opts) {
|
|
254
|
+
super({
|
|
255
|
+
name: "XksProxyIncorrectAuthenticationCredentialException",
|
|
256
|
+
$fault: "client",
|
|
257
|
+
...opts,
|
|
258
|
+
});
|
|
259
|
+
this.name = "XksProxyIncorrectAuthenticationCredentialException";
|
|
260
|
+
this.$fault = "client";
|
|
261
|
+
Object.setPrototypeOf(this, XksProxyIncorrectAuthenticationCredentialException.prototype);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
export class XksProxyInvalidConfigurationException extends __BaseException {
|
|
265
|
+
constructor(opts) {
|
|
266
|
+
super({
|
|
267
|
+
name: "XksProxyInvalidConfigurationException",
|
|
268
|
+
$fault: "client",
|
|
269
|
+
...opts,
|
|
270
|
+
});
|
|
271
|
+
this.name = "XksProxyInvalidConfigurationException";
|
|
272
|
+
this.$fault = "client";
|
|
273
|
+
Object.setPrototypeOf(this, XksProxyInvalidConfigurationException.prototype);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
export class XksProxyInvalidResponseException extends __BaseException {
|
|
277
|
+
constructor(opts) {
|
|
278
|
+
super({
|
|
279
|
+
name: "XksProxyInvalidResponseException",
|
|
280
|
+
$fault: "client",
|
|
281
|
+
...opts,
|
|
282
|
+
});
|
|
283
|
+
this.name = "XksProxyInvalidResponseException";
|
|
284
|
+
this.$fault = "client";
|
|
285
|
+
Object.setPrototypeOf(this, XksProxyInvalidResponseException.prototype);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
export class XksProxyUriEndpointInUseException extends __BaseException {
|
|
289
|
+
constructor(opts) {
|
|
290
|
+
super({
|
|
291
|
+
name: "XksProxyUriEndpointInUseException",
|
|
292
|
+
$fault: "client",
|
|
293
|
+
...opts,
|
|
294
|
+
});
|
|
295
|
+
this.name = "XksProxyUriEndpointInUseException";
|
|
296
|
+
this.$fault = "client";
|
|
297
|
+
Object.setPrototypeOf(this, XksProxyUriEndpointInUseException.prototype);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
export class XksProxyUriInUseException extends __BaseException {
|
|
301
|
+
constructor(opts) {
|
|
302
|
+
super({
|
|
303
|
+
name: "XksProxyUriInUseException",
|
|
304
|
+
$fault: "client",
|
|
305
|
+
...opts,
|
|
306
|
+
});
|
|
307
|
+
this.name = "XksProxyUriInUseException";
|
|
308
|
+
this.$fault = "client";
|
|
309
|
+
Object.setPrototypeOf(this, XksProxyUriInUseException.prototype);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
export class XksProxyUriUnreachableException extends __BaseException {
|
|
313
|
+
constructor(opts) {
|
|
314
|
+
super({
|
|
315
|
+
name: "XksProxyUriUnreachableException",
|
|
316
|
+
$fault: "client",
|
|
317
|
+
...opts,
|
|
318
|
+
});
|
|
319
|
+
this.name = "XksProxyUriUnreachableException";
|
|
320
|
+
this.$fault = "client";
|
|
321
|
+
Object.setPrototypeOf(this, XksProxyUriUnreachableException.prototype);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
export class XksProxyVpcEndpointServiceInUseException extends __BaseException {
|
|
325
|
+
constructor(opts) {
|
|
326
|
+
super({
|
|
327
|
+
name: "XksProxyVpcEndpointServiceInUseException",
|
|
328
|
+
$fault: "client",
|
|
329
|
+
...opts,
|
|
330
|
+
});
|
|
331
|
+
this.name = "XksProxyVpcEndpointServiceInUseException";
|
|
332
|
+
this.$fault = "client";
|
|
333
|
+
Object.setPrototypeOf(this, XksProxyVpcEndpointServiceInUseException.prototype);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
export class XksProxyVpcEndpointServiceInvalidConfigurationException extends __BaseException {
|
|
337
|
+
constructor(opts) {
|
|
338
|
+
super({
|
|
339
|
+
name: "XksProxyVpcEndpointServiceInvalidConfigurationException",
|
|
340
|
+
$fault: "client",
|
|
341
|
+
...opts,
|
|
342
|
+
});
|
|
343
|
+
this.name = "XksProxyVpcEndpointServiceInvalidConfigurationException";
|
|
344
|
+
this.$fault = "client";
|
|
345
|
+
Object.setPrototypeOf(this, XksProxyVpcEndpointServiceInvalidConfigurationException.prototype);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
export class XksProxyVpcEndpointServiceNotFoundException extends __BaseException {
|
|
349
|
+
constructor(opts) {
|
|
350
|
+
super({
|
|
351
|
+
name: "XksProxyVpcEndpointServiceNotFoundException",
|
|
352
|
+
$fault: "client",
|
|
353
|
+
...opts,
|
|
354
|
+
});
|
|
355
|
+
this.name = "XksProxyVpcEndpointServiceNotFoundException";
|
|
356
|
+
this.$fault = "client";
|
|
357
|
+
Object.setPrototypeOf(this, XksProxyVpcEndpointServiceNotFoundException.prototype);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
234
360
|
export var GrantOperation;
|
|
235
361
|
(function (GrantOperation) {
|
|
236
362
|
GrantOperation["CreateGrant"] = "CreateGrant";
|
|
@@ -317,6 +443,7 @@ export var OriginType;
|
|
|
317
443
|
OriginType["AWS_CLOUDHSM"] = "AWS_CLOUDHSM";
|
|
318
444
|
OriginType["AWS_KMS"] = "AWS_KMS";
|
|
319
445
|
OriginType["EXTERNAL"] = "EXTERNAL";
|
|
446
|
+
OriginType["EXTERNAL_KEY_STORE"] = "EXTERNAL_KEY_STORE";
|
|
320
447
|
})(OriginType || (OriginType = {}));
|
|
321
448
|
export var EncryptionAlgorithmSpec;
|
|
322
449
|
(function (EncryptionAlgorithmSpec) {
|
|
@@ -407,6 +534,42 @@ export class UnsupportedOperationException extends __BaseException {
|
|
|
407
534
|
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
408
535
|
}
|
|
409
536
|
}
|
|
537
|
+
export class XksKeyAlreadyInUseException extends __BaseException {
|
|
538
|
+
constructor(opts) {
|
|
539
|
+
super({
|
|
540
|
+
name: "XksKeyAlreadyInUseException",
|
|
541
|
+
$fault: "client",
|
|
542
|
+
...opts,
|
|
543
|
+
});
|
|
544
|
+
this.name = "XksKeyAlreadyInUseException";
|
|
545
|
+
this.$fault = "client";
|
|
546
|
+
Object.setPrototypeOf(this, XksKeyAlreadyInUseException.prototype);
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
export class XksKeyInvalidConfigurationException extends __BaseException {
|
|
550
|
+
constructor(opts) {
|
|
551
|
+
super({
|
|
552
|
+
name: "XksKeyInvalidConfigurationException",
|
|
553
|
+
$fault: "client",
|
|
554
|
+
...opts,
|
|
555
|
+
});
|
|
556
|
+
this.name = "XksKeyInvalidConfigurationException";
|
|
557
|
+
this.$fault = "client";
|
|
558
|
+
Object.setPrototypeOf(this, XksKeyInvalidConfigurationException.prototype);
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
export class XksKeyNotFoundException extends __BaseException {
|
|
562
|
+
constructor(opts) {
|
|
563
|
+
super({
|
|
564
|
+
name: "XksKeyNotFoundException",
|
|
565
|
+
$fault: "client",
|
|
566
|
+
...opts,
|
|
567
|
+
});
|
|
568
|
+
this.name = "XksKeyNotFoundException";
|
|
569
|
+
this.$fault = "client";
|
|
570
|
+
Object.setPrototypeOf(this, XksKeyNotFoundException.prototype);
|
|
571
|
+
}
|
|
572
|
+
}
|
|
410
573
|
export class CustomKeyStoreHasCMKsException extends __BaseException {
|
|
411
574
|
constructor(opts) {
|
|
412
575
|
super({
|
|
@@ -594,9 +757,17 @@ export const ConnectCustomKeyStoreResponseFilterSensitiveLog = (obj) => ({
|
|
|
594
757
|
export const CreateAliasRequestFilterSensitiveLog = (obj) => ({
|
|
595
758
|
...obj,
|
|
596
759
|
});
|
|
760
|
+
export const XksProxyAuthenticationCredentialTypeFilterSensitiveLog = (obj) => ({
|
|
761
|
+
...obj,
|
|
762
|
+
...(obj.AccessKeyId && { AccessKeyId: SENSITIVE_STRING }),
|
|
763
|
+
...(obj.RawSecretAccessKey && { RawSecretAccessKey: SENSITIVE_STRING }),
|
|
764
|
+
});
|
|
597
765
|
export const CreateCustomKeyStoreRequestFilterSensitiveLog = (obj) => ({
|
|
598
766
|
...obj,
|
|
599
767
|
...(obj.KeyStorePassword && { KeyStorePassword: SENSITIVE_STRING }),
|
|
768
|
+
...(obj.XksProxyAuthenticationCredential && {
|
|
769
|
+
XksProxyAuthenticationCredential: XksProxyAuthenticationCredentialTypeFilterSensitiveLog(obj.XksProxyAuthenticationCredential),
|
|
770
|
+
}),
|
|
600
771
|
});
|
|
601
772
|
export const CreateCustomKeyStoreResponseFilterSensitiveLog = (obj) => ({
|
|
602
773
|
...obj,
|
|
@@ -622,14 +793,24 @@ export const MultiRegionKeyFilterSensitiveLog = (obj) => ({
|
|
|
622
793
|
export const MultiRegionConfigurationFilterSensitiveLog = (obj) => ({
|
|
623
794
|
...obj,
|
|
624
795
|
});
|
|
796
|
+
export const XksKeyConfigurationTypeFilterSensitiveLog = (obj) => ({
|
|
797
|
+
...obj,
|
|
798
|
+
});
|
|
625
799
|
export const KeyMetadataFilterSensitiveLog = (obj) => ({
|
|
626
800
|
...obj,
|
|
627
801
|
});
|
|
628
802
|
export const CreateKeyResponseFilterSensitiveLog = (obj) => ({
|
|
629
803
|
...obj,
|
|
630
804
|
});
|
|
805
|
+
export const XksProxyConfigurationTypeFilterSensitiveLog = (obj) => ({
|
|
806
|
+
...obj,
|
|
807
|
+
...(obj.AccessKeyId && { AccessKeyId: SENSITIVE_STRING }),
|
|
808
|
+
});
|
|
631
809
|
export const CustomKeyStoresListEntryFilterSensitiveLog = (obj) => ({
|
|
632
810
|
...obj,
|
|
811
|
+
...(obj.XksProxyConfiguration && {
|
|
812
|
+
XksProxyConfiguration: XksProxyConfigurationTypeFilterSensitiveLog(obj.XksProxyConfiguration),
|
|
813
|
+
}),
|
|
633
814
|
});
|
|
634
815
|
export const DecryptRequestFilterSensitiveLog = (obj) => ({
|
|
635
816
|
...obj,
|
|
@@ -655,6 +836,9 @@ export const DescribeCustomKeyStoresRequestFilterSensitiveLog = (obj) => ({
|
|
|
655
836
|
});
|
|
656
837
|
export const DescribeCustomKeyStoresResponseFilterSensitiveLog = (obj) => ({
|
|
657
838
|
...obj,
|
|
839
|
+
...(obj.CustomKeyStores && {
|
|
840
|
+
CustomKeyStores: obj.CustomKeyStores.map((item) => CustomKeyStoresListEntryFilterSensitiveLog(item)),
|
|
841
|
+
}),
|
|
658
842
|
});
|
|
659
843
|
export const DescribeKeyRequestFilterSensitiveLog = (obj) => ({
|
|
660
844
|
...obj,
|
|
@@ -843,6 +1027,9 @@ export const UpdateAliasRequestFilterSensitiveLog = (obj) => ({
|
|
|
843
1027
|
export const UpdateCustomKeyStoreRequestFilterSensitiveLog = (obj) => ({
|
|
844
1028
|
...obj,
|
|
845
1029
|
...(obj.KeyStorePassword && { KeyStorePassword: SENSITIVE_STRING }),
|
|
1030
|
+
...(obj.XksProxyAuthenticationCredential && {
|
|
1031
|
+
XksProxyAuthenticationCredential: XksProxyAuthenticationCredentialTypeFilterSensitiveLog(obj.XksProxyAuthenticationCredential),
|
|
1032
|
+
}),
|
|
846
1033
|
});
|
|
847
1034
|
export const UpdateCustomKeyStoreResponseFilterSensitiveLog = (obj) => ({
|
|
848
1035
|
...obj,
|