@aws-sdk/client-kms 3.363.0 → 3.366.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.
Files changed (49) hide show
  1. package/dist-cjs/models/models_0.js +15 -2
  2. package/dist-cjs/protocols/Aws_json1_1.js +60 -0
  3. package/dist-es/models/models_0.js +12 -0
  4. package/dist-es/protocols/Aws_json1_1.js +61 -1
  5. package/dist-types/commands/CancelKeyDeletionCommand.d.ts +3 -1
  6. package/dist-types/commands/CreateAliasCommand.d.ts +3 -1
  7. package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +11 -8
  8. package/dist-types/commands/CreateGrantCommand.d.ts +9 -1
  9. package/dist-types/commands/CreateKeyCommand.d.ts +16 -13
  10. package/dist-types/commands/DecryptCommand.d.ts +10 -2
  11. package/dist-types/commands/DeleteAliasCommand.d.ts +3 -1
  12. package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +3 -1
  13. package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +2 -2
  14. package/dist-types/commands/DisableKeyCommand.d.ts +3 -1
  15. package/dist-types/commands/DisableKeyRotationCommand.d.ts +3 -1
  16. package/dist-types/commands/EnableKeyCommand.d.ts +3 -1
  17. package/dist-types/commands/EnableKeyRotationCommand.d.ts +3 -1
  18. package/dist-types/commands/EncryptCommand.d.ts +10 -3
  19. package/dist-types/commands/GenerateDataKeyCommand.d.ts +17 -8
  20. package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +21 -11
  21. package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +13 -4
  22. package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +13 -4
  23. package/dist-types/commands/GenerateMacCommand.d.ts +12 -3
  24. package/dist-types/commands/GenerateRandomCommand.d.ts +1 -1
  25. package/dist-types/commands/GetKeyPolicyCommand.d.ts +3 -1
  26. package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +3 -1
  27. package/dist-types/commands/GetParametersForImportCommand.d.ts +7 -4
  28. package/dist-types/commands/GetPublicKeyCommand.d.ts +8 -7
  29. package/dist-types/commands/ImportKeyMaterialCommand.d.ts +4 -3
  30. package/dist-types/commands/ListGrantsCommand.d.ts +3 -1
  31. package/dist-types/commands/ListKeyPoliciesCommand.d.ts +3 -1
  32. package/dist-types/commands/PutKeyPolicyCommand.d.ts +3 -1
  33. package/dist-types/commands/ReEncryptCommand.d.ts +9 -1
  34. package/dist-types/commands/ReplicateKeyCommand.d.ts +3 -1
  35. package/dist-types/commands/RetireGrantCommand.d.ts +9 -1
  36. package/dist-types/commands/RevokeGrantCommand.d.ts +9 -1
  37. package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +6 -4
  38. package/dist-types/commands/SignCommand.d.ts +9 -1
  39. package/dist-types/commands/TagResourceCommand.d.ts +3 -1
  40. package/dist-types/commands/UntagResourceCommand.d.ts +3 -1
  41. package/dist-types/commands/UpdateAliasCommand.d.ts +3 -1
  42. package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +5 -3
  43. package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +3 -1
  44. package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +3 -1
  45. package/dist-types/commands/VerifyCommand.d.ts +17 -10
  46. package/dist-types/commands/VerifyMacCommand.d.ts +9 -1
  47. package/dist-types/models/models_0.d.ts +228 -126
  48. package/dist-types/ts3.4/models/models_0.d.ts +21 -0
  49. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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.VerifyMacRequestFilterSensitiveLog = exports.VerifyRequestFilterSensitiveLog = exports.UpdateCustomKeyStoreRequestFilterSensitiveLog = exports.SignRequestFilterSensitiveLog = exports.GetParametersForImportResponseFilterSensitiveLog = exports.GenerateRandomResponseFilterSensitiveLog = exports.GenerateMacRequestFilterSensitiveLog = exports.GenerateDataKeyPairResponseFilterSensitiveLog = exports.GenerateDataKeyResponseFilterSensitiveLog = exports.EncryptRequestFilterSensitiveLog = exports.DescribeCustomKeyStoresResponseFilterSensitiveLog = exports.DecryptResponseFilterSensitiveLog = exports.CustomKeyStoresListEntryFilterSensitiveLog = exports.XksProxyConfigurationTypeFilterSensitiveLog = exports.CreateCustomKeyStoreRequestFilterSensitiveLog = exports.XksProxyAuthenticationCredentialTypeFilterSensitiveLog = 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.KeyEncryptionMechanism = exports.DataKeySpec = exports.DataKeyPairSpec = exports.CustomKeyStoreHasCMKsException = exports.XksKeyNotFoundException = void 0;
3
+ 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.DryRunOperationException = 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.VerifyMacRequestFilterSensitiveLog = exports.VerifyRequestFilterSensitiveLog = exports.UpdateCustomKeyStoreRequestFilterSensitiveLog = exports.SignRequestFilterSensitiveLog = exports.GetParametersForImportResponseFilterSensitiveLog = exports.GenerateRandomResponseFilterSensitiveLog = exports.GenerateMacRequestFilterSensitiveLog = exports.GenerateDataKeyPairResponseFilterSensitiveLog = exports.GenerateDataKeyResponseFilterSensitiveLog = exports.EncryptRequestFilterSensitiveLog = exports.DescribeCustomKeyStoresResponseFilterSensitiveLog = exports.DecryptResponseFilterSensitiveLog = exports.CustomKeyStoresListEntryFilterSensitiveLog = exports.XksProxyConfigurationTypeFilterSensitiveLog = exports.CreateCustomKeyStoreRequestFilterSensitiveLog = exports.XksProxyAuthenticationCredentialTypeFilterSensitiveLog = 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.KeyEncryptionMechanism = exports.DataKeySpec = exports.DataKeyPairSpec = exports.CustomKeyStoreHasCMKsException = exports.XksKeyNotFoundException = exports.XksKeyInvalidConfigurationException = void 0;
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const KMSServiceException_1 = require("./KMSServiceException");
7
7
  exports.AlgorithmSpec = {
@@ -415,6 +415,19 @@ class DisabledException extends KMSServiceException_1.KMSServiceException {
415
415
  }
416
416
  }
417
417
  exports.DisabledException = DisabledException;
418
+ class DryRunOperationException extends KMSServiceException_1.KMSServiceException {
419
+ constructor(opts) {
420
+ super({
421
+ name: "DryRunOperationException",
422
+ $fault: "client",
423
+ ...opts,
424
+ });
425
+ this.name = "DryRunOperationException";
426
+ this.$fault = "client";
427
+ Object.setPrototypeOf(this, DryRunOperationException.prototype);
428
+ }
429
+ }
430
+ exports.DryRunOperationException = DryRunOperationException;
418
431
  class InvalidGrantTokenException extends KMSServiceException_1.KMSServiceException {
419
432
  constructor(opts) {
420
433
  super({
@@ -602,6 +602,9 @@ const de_CreateGrantCommandError = async (output, context) => {
602
602
  case "DisabledException":
603
603
  case "com.amazonaws.kms#DisabledException":
604
604
  throw await de_DisabledExceptionRes(parsedOutput, context);
605
+ case "DryRunOperationException":
606
+ case "com.amazonaws.kms#DryRunOperationException":
607
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
605
608
  case "InvalidArnException":
606
609
  case "com.amazonaws.kms#InvalidArnException":
607
610
  throw await de_InvalidArnExceptionRes(parsedOutput, context);
@@ -725,6 +728,9 @@ const de_DecryptCommandError = async (output, context) => {
725
728
  case "DisabledException":
726
729
  case "com.amazonaws.kms#DisabledException":
727
730
  throw await de_DisabledExceptionRes(parsedOutput, context);
731
+ case "DryRunOperationException":
732
+ case "com.amazonaws.kms#DryRunOperationException":
733
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
728
734
  case "IncorrectKeyException":
729
735
  case "com.amazonaws.kms#IncorrectKeyException":
730
736
  throw await de_IncorrectKeyExceptionRes(parsedOutput, context);
@@ -1214,6 +1220,9 @@ const de_EncryptCommandError = async (output, context) => {
1214
1220
  case "DisabledException":
1215
1221
  case "com.amazonaws.kms#DisabledException":
1216
1222
  throw await de_DisabledExceptionRes(parsedOutput, context);
1223
+ case "DryRunOperationException":
1224
+ case "com.amazonaws.kms#DryRunOperationException":
1225
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1217
1226
  case "InvalidGrantTokenException":
1218
1227
  case "com.amazonaws.kms#InvalidGrantTokenException":
1219
1228
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1268,6 +1277,9 @@ const de_GenerateDataKeyCommandError = async (output, context) => {
1268
1277
  case "DisabledException":
1269
1278
  case "com.amazonaws.kms#DisabledException":
1270
1279
  throw await de_DisabledExceptionRes(parsedOutput, context);
1280
+ case "DryRunOperationException":
1281
+ case "com.amazonaws.kms#DryRunOperationException":
1282
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1271
1283
  case "InvalidGrantTokenException":
1272
1284
  case "com.amazonaws.kms#InvalidGrantTokenException":
1273
1285
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1322,6 +1334,9 @@ const de_GenerateDataKeyPairCommandError = async (output, context) => {
1322
1334
  case "DisabledException":
1323
1335
  case "com.amazonaws.kms#DisabledException":
1324
1336
  throw await de_DisabledExceptionRes(parsedOutput, context);
1337
+ case "DryRunOperationException":
1338
+ case "com.amazonaws.kms#DryRunOperationException":
1339
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1325
1340
  case "InvalidGrantTokenException":
1326
1341
  case "com.amazonaws.kms#InvalidGrantTokenException":
1327
1342
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1379,6 +1394,9 @@ const de_GenerateDataKeyPairWithoutPlaintextCommandError = async (output, contex
1379
1394
  case "DisabledException":
1380
1395
  case "com.amazonaws.kms#DisabledException":
1381
1396
  throw await de_DisabledExceptionRes(parsedOutput, context);
1397
+ case "DryRunOperationException":
1398
+ case "com.amazonaws.kms#DryRunOperationException":
1399
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1382
1400
  case "InvalidGrantTokenException":
1383
1401
  case "com.amazonaws.kms#InvalidGrantTokenException":
1384
1402
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1436,6 +1454,9 @@ const de_GenerateDataKeyWithoutPlaintextCommandError = async (output, context) =
1436
1454
  case "DisabledException":
1437
1455
  case "com.amazonaws.kms#DisabledException":
1438
1456
  throw await de_DisabledExceptionRes(parsedOutput, context);
1457
+ case "DryRunOperationException":
1458
+ case "com.amazonaws.kms#DryRunOperationException":
1459
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1439
1460
  case "InvalidGrantTokenException":
1440
1461
  case "com.amazonaws.kms#InvalidGrantTokenException":
1441
1462
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1487,6 +1508,9 @@ const de_GenerateMacCommandError = async (output, context) => {
1487
1508
  case "DisabledException":
1488
1509
  case "com.amazonaws.kms#DisabledException":
1489
1510
  throw await de_DisabledExceptionRes(parsedOutput, context);
1511
+ case "DryRunOperationException":
1512
+ case "com.amazonaws.kms#DryRunOperationException":
1513
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1490
1514
  case "InvalidGrantTokenException":
1491
1515
  case "com.amazonaws.kms#InvalidGrantTokenException":
1492
1516
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -2165,6 +2189,9 @@ const de_ReEncryptCommandError = async (output, context) => {
2165
2189
  case "DisabledException":
2166
2190
  case "com.amazonaws.kms#DisabledException":
2167
2191
  throw await de_DisabledExceptionRes(parsedOutput, context);
2192
+ case "DryRunOperationException":
2193
+ case "com.amazonaws.kms#DryRunOperationException":
2194
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2168
2195
  case "IncorrectKeyException":
2169
2196
  case "com.amazonaws.kms#IncorrectKeyException":
2170
2197
  throw await de_IncorrectKeyExceptionRes(parsedOutput, context);
@@ -2279,6 +2306,9 @@ const de_RetireGrantCommandError = async (output, context) => {
2279
2306
  case "DependencyTimeoutException":
2280
2307
  case "com.amazonaws.kms#DependencyTimeoutException":
2281
2308
  throw await de_DependencyTimeoutExceptionRes(parsedOutput, context);
2309
+ case "DryRunOperationException":
2310
+ case "com.amazonaws.kms#DryRunOperationException":
2311
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2282
2312
  case "InvalidArnException":
2283
2313
  case "com.amazonaws.kms#InvalidArnException":
2284
2314
  throw await de_InvalidArnExceptionRes(parsedOutput, context);
@@ -2327,6 +2357,9 @@ const de_RevokeGrantCommandError = async (output, context) => {
2327
2357
  case "DependencyTimeoutException":
2328
2358
  case "com.amazonaws.kms#DependencyTimeoutException":
2329
2359
  throw await de_DependencyTimeoutExceptionRes(parsedOutput, context);
2360
+ case "DryRunOperationException":
2361
+ case "com.amazonaws.kms#DryRunOperationException":
2362
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2330
2363
  case "InvalidArnException":
2331
2364
  case "com.amazonaws.kms#InvalidArnException":
2332
2365
  throw await de_InvalidArnExceptionRes(parsedOutput, context);
@@ -2423,6 +2456,9 @@ const de_SignCommandError = async (output, context) => {
2423
2456
  case "DisabledException":
2424
2457
  case "com.amazonaws.kms#DisabledException":
2425
2458
  throw await de_DisabledExceptionRes(parsedOutput, context);
2459
+ case "DryRunOperationException":
2460
+ case "com.amazonaws.kms#DryRunOperationException":
2461
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2426
2462
  case "InvalidGrantTokenException":
2427
2463
  case "com.amazonaws.kms#InvalidGrantTokenException":
2428
2464
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -2774,6 +2810,9 @@ const de_VerifyCommandError = async (output, context) => {
2774
2810
  case "DisabledException":
2775
2811
  case "com.amazonaws.kms#DisabledException":
2776
2812
  throw await de_DisabledExceptionRes(parsedOutput, context);
2813
+ case "DryRunOperationException":
2814
+ case "com.amazonaws.kms#DryRunOperationException":
2815
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2777
2816
  case "InvalidGrantTokenException":
2778
2817
  case "com.amazonaws.kms#InvalidGrantTokenException":
2779
2818
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -2828,6 +2867,9 @@ const de_VerifyMacCommandError = async (output, context) => {
2828
2867
  case "DisabledException":
2829
2868
  case "com.amazonaws.kms#DisabledException":
2830
2869
  throw await de_DisabledExceptionRes(parsedOutput, context);
2870
+ case "DryRunOperationException":
2871
+ case "com.amazonaws.kms#DryRunOperationException":
2872
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2831
2873
  case "InvalidGrantTokenException":
2832
2874
  case "com.amazonaws.kms#InvalidGrantTokenException":
2833
2875
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -2966,6 +3008,15 @@ const de_DisabledExceptionRes = async (parsedOutput, context) => {
2966
3008
  });
2967
3009
  return (0, smithy_client_1.decorateServiceException)(exception, body);
2968
3010
  };
3011
+ const de_DryRunOperationExceptionRes = async (parsedOutput, context) => {
3012
+ const body = parsedOutput.body;
3013
+ const deserialized = (0, smithy_client_1._json)(body);
3014
+ const exception = new models_0_1.DryRunOperationException({
3015
+ $metadata: deserializeMetadata(parsedOutput),
3016
+ ...deserialized,
3017
+ });
3018
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3019
+ };
2969
3020
  const de_ExpiredImportTokenExceptionRes = async (parsedOutput, context) => {
2970
3021
  const body = parsedOutput.body;
2971
3022
  const deserialized = (0, smithy_client_1._json)(body);
@@ -3275,6 +3326,7 @@ const de_XksProxyVpcEndpointServiceNotFoundExceptionRes = async (parsedOutput, c
3275
3326
  const se_DecryptRequest = (input, context) => {
3276
3327
  return (0, smithy_client_1.take)(input, {
3277
3328
  CiphertextBlob: context.base64Encoder,
3329
+ DryRun: [],
3278
3330
  EncryptionAlgorithm: [],
3279
3331
  EncryptionContext: smithy_client_1._json,
3280
3332
  GrantTokens: smithy_client_1._json,
@@ -3284,6 +3336,7 @@ const se_DecryptRequest = (input, context) => {
3284
3336
  };
3285
3337
  const se_EncryptRequest = (input, context) => {
3286
3338
  return (0, smithy_client_1.take)(input, {
3339
+ DryRun: [],
3287
3340
  EncryptionAlgorithm: [],
3288
3341
  EncryptionContext: smithy_client_1._json,
3289
3342
  GrantTokens: smithy_client_1._json,
@@ -3293,6 +3346,7 @@ const se_EncryptRequest = (input, context) => {
3293
3346
  };
3294
3347
  const se_GenerateDataKeyPairRequest = (input, context) => {
3295
3348
  return (0, smithy_client_1.take)(input, {
3349
+ DryRun: [],
3296
3350
  EncryptionContext: smithy_client_1._json,
3297
3351
  GrantTokens: smithy_client_1._json,
3298
3352
  KeyId: [],
@@ -3302,6 +3356,7 @@ const se_GenerateDataKeyPairRequest = (input, context) => {
3302
3356
  };
3303
3357
  const se_GenerateDataKeyRequest = (input, context) => {
3304
3358
  return (0, smithy_client_1.take)(input, {
3359
+ DryRun: [],
3305
3360
  EncryptionContext: smithy_client_1._json,
3306
3361
  GrantTokens: smithy_client_1._json,
3307
3362
  KeyId: [],
@@ -3312,6 +3367,7 @@ const se_GenerateDataKeyRequest = (input, context) => {
3312
3367
  };
3313
3368
  const se_GenerateMacRequest = (input, context) => {
3314
3369
  return (0, smithy_client_1.take)(input, {
3370
+ DryRun: [],
3315
3371
  GrantTokens: smithy_client_1._json,
3316
3372
  KeyId: [],
3317
3373
  MacAlgorithm: [],
@@ -3346,6 +3402,7 @@ const se_ReEncryptRequest = (input, context) => {
3346
3402
  DestinationEncryptionAlgorithm: [],
3347
3403
  DestinationEncryptionContext: smithy_client_1._json,
3348
3404
  DestinationKeyId: [],
3405
+ DryRun: [],
3349
3406
  GrantTokens: smithy_client_1._json,
3350
3407
  SourceEncryptionAlgorithm: [],
3351
3408
  SourceEncryptionContext: smithy_client_1._json,
@@ -3354,6 +3411,7 @@ const se_ReEncryptRequest = (input, context) => {
3354
3411
  };
3355
3412
  const se_SignRequest = (input, context) => {
3356
3413
  return (0, smithy_client_1.take)(input, {
3414
+ DryRun: [],
3357
3415
  GrantTokens: smithy_client_1._json,
3358
3416
  KeyId: [],
3359
3417
  Message: context.base64Encoder,
@@ -3363,6 +3421,7 @@ const se_SignRequest = (input, context) => {
3363
3421
  };
3364
3422
  const se_VerifyMacRequest = (input, context) => {
3365
3423
  return (0, smithy_client_1.take)(input, {
3424
+ DryRun: [],
3366
3425
  GrantTokens: smithy_client_1._json,
3367
3426
  KeyId: [],
3368
3427
  Mac: context.base64Encoder,
@@ -3372,6 +3431,7 @@ const se_VerifyMacRequest = (input, context) => {
3372
3431
  };
3373
3432
  const se_VerifyRequest = (input, context) => {
3374
3433
  return (0, smithy_client_1.take)(input, {
3434
+ DryRun: [],
3375
3435
  GrantTokens: smithy_client_1._json,
3376
3436
  KeyId: [],
3377
3437
  Message: context.base64Encoder,
@@ -384,6 +384,18 @@ export class DisabledException extends __BaseException {
384
384
  Object.setPrototypeOf(this, DisabledException.prototype);
385
385
  }
386
386
  }
387
+ export class DryRunOperationException extends __BaseException {
388
+ constructor(opts) {
389
+ super({
390
+ name: "DryRunOperationException",
391
+ $fault: "client",
392
+ ...opts,
393
+ });
394
+ this.name = "DryRunOperationException";
395
+ this.$fault = "client";
396
+ Object.setPrototypeOf(this, DryRunOperationException.prototype);
397
+ }
398
+ }
387
399
  export class InvalidGrantTokenException extends __BaseException {
388
400
  constructor(opts) {
389
401
  super({
@@ -1,7 +1,7 @@
1
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
2
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { KMSServiceException as __BaseException } from "../models/KMSServiceException";
4
- import { AlreadyExistsException, CloudHsmClusterInUseException, CloudHsmClusterInvalidConfigurationException, CloudHsmClusterNotActiveException, CloudHsmClusterNotFoundException, CloudHsmClusterNotRelatedException, CustomKeyStoreHasCMKsException, CustomKeyStoreInvalidStateException, CustomKeyStoreNameInUseException, CustomKeyStoreNotFoundException, DependencyTimeoutException, DisabledException, ExpiredImportTokenException, IncorrectKeyException, IncorrectKeyMaterialException, IncorrectTrustAnchorException, InvalidAliasNameException, InvalidArnException, InvalidCiphertextException, InvalidGrantIdException, InvalidGrantTokenException, InvalidImportTokenException, InvalidKeyUsageException, InvalidMarkerException, KeyUnavailableException, KMSInternalException, KMSInvalidMacException, KMSInvalidSignatureException, KMSInvalidStateException, LimitExceededException, MalformedPolicyDocumentException, NotFoundException, TagException, UnsupportedOperationException, XksKeyAlreadyInUseException, XksKeyInvalidConfigurationException, XksKeyNotFoundException, XksProxyIncorrectAuthenticationCredentialException, XksProxyInvalidConfigurationException, XksProxyInvalidResponseException, XksProxyUriEndpointInUseException, XksProxyUriInUseException, XksProxyUriUnreachableException, XksProxyVpcEndpointServiceInUseException, XksProxyVpcEndpointServiceInvalidConfigurationException, XksProxyVpcEndpointServiceNotFoundException, } from "../models/models_0";
4
+ import { AlreadyExistsException, CloudHsmClusterInUseException, CloudHsmClusterInvalidConfigurationException, CloudHsmClusterNotActiveException, CloudHsmClusterNotFoundException, CloudHsmClusterNotRelatedException, CustomKeyStoreHasCMKsException, CustomKeyStoreInvalidStateException, CustomKeyStoreNameInUseException, CustomKeyStoreNotFoundException, DependencyTimeoutException, DisabledException, DryRunOperationException, ExpiredImportTokenException, IncorrectKeyException, IncorrectKeyMaterialException, IncorrectTrustAnchorException, InvalidAliasNameException, InvalidArnException, InvalidCiphertextException, InvalidGrantIdException, InvalidGrantTokenException, InvalidImportTokenException, InvalidKeyUsageException, InvalidMarkerException, KeyUnavailableException, KMSInternalException, KMSInvalidMacException, KMSInvalidSignatureException, KMSInvalidStateException, LimitExceededException, MalformedPolicyDocumentException, NotFoundException, TagException, UnsupportedOperationException, XksKeyAlreadyInUseException, XksKeyInvalidConfigurationException, XksKeyNotFoundException, XksProxyIncorrectAuthenticationCredentialException, XksProxyInvalidConfigurationException, XksProxyInvalidResponseException, XksProxyUriEndpointInUseException, XksProxyUriInUseException, XksProxyUriUnreachableException, XksProxyVpcEndpointServiceInUseException, XksProxyVpcEndpointServiceInvalidConfigurationException, XksProxyVpcEndpointServiceNotFoundException, } from "../models/models_0";
5
5
  export const se_CancelKeyDeletionCommand = async (input, context) => {
6
6
  const headers = sharedHeaders("CancelKeyDeletion");
7
7
  let body;
@@ -543,6 +543,9 @@ const de_CreateGrantCommandError = async (output, context) => {
543
543
  case "DisabledException":
544
544
  case "com.amazonaws.kms#DisabledException":
545
545
  throw await de_DisabledExceptionRes(parsedOutput, context);
546
+ case "DryRunOperationException":
547
+ case "com.amazonaws.kms#DryRunOperationException":
548
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
546
549
  case "InvalidArnException":
547
550
  case "com.amazonaws.kms#InvalidArnException":
548
551
  throw await de_InvalidArnExceptionRes(parsedOutput, context);
@@ -664,6 +667,9 @@ const de_DecryptCommandError = async (output, context) => {
664
667
  case "DisabledException":
665
668
  case "com.amazonaws.kms#DisabledException":
666
669
  throw await de_DisabledExceptionRes(parsedOutput, context);
670
+ case "DryRunOperationException":
671
+ case "com.amazonaws.kms#DryRunOperationException":
672
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
667
673
  case "IncorrectKeyException":
668
674
  case "com.amazonaws.kms#IncorrectKeyException":
669
675
  throw await de_IncorrectKeyExceptionRes(parsedOutput, context);
@@ -1142,6 +1148,9 @@ const de_EncryptCommandError = async (output, context) => {
1142
1148
  case "DisabledException":
1143
1149
  case "com.amazonaws.kms#DisabledException":
1144
1150
  throw await de_DisabledExceptionRes(parsedOutput, context);
1151
+ case "DryRunOperationException":
1152
+ case "com.amazonaws.kms#DryRunOperationException":
1153
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1145
1154
  case "InvalidGrantTokenException":
1146
1155
  case "com.amazonaws.kms#InvalidGrantTokenException":
1147
1156
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1195,6 +1204,9 @@ const de_GenerateDataKeyCommandError = async (output, context) => {
1195
1204
  case "DisabledException":
1196
1205
  case "com.amazonaws.kms#DisabledException":
1197
1206
  throw await de_DisabledExceptionRes(parsedOutput, context);
1207
+ case "DryRunOperationException":
1208
+ case "com.amazonaws.kms#DryRunOperationException":
1209
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1198
1210
  case "InvalidGrantTokenException":
1199
1211
  case "com.amazonaws.kms#InvalidGrantTokenException":
1200
1212
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1248,6 +1260,9 @@ const de_GenerateDataKeyPairCommandError = async (output, context) => {
1248
1260
  case "DisabledException":
1249
1261
  case "com.amazonaws.kms#DisabledException":
1250
1262
  throw await de_DisabledExceptionRes(parsedOutput, context);
1263
+ case "DryRunOperationException":
1264
+ case "com.amazonaws.kms#DryRunOperationException":
1265
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1251
1266
  case "InvalidGrantTokenException":
1252
1267
  case "com.amazonaws.kms#InvalidGrantTokenException":
1253
1268
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1304,6 +1319,9 @@ const de_GenerateDataKeyPairWithoutPlaintextCommandError = async (output, contex
1304
1319
  case "DisabledException":
1305
1320
  case "com.amazonaws.kms#DisabledException":
1306
1321
  throw await de_DisabledExceptionRes(parsedOutput, context);
1322
+ case "DryRunOperationException":
1323
+ case "com.amazonaws.kms#DryRunOperationException":
1324
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1307
1325
  case "InvalidGrantTokenException":
1308
1326
  case "com.amazonaws.kms#InvalidGrantTokenException":
1309
1327
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1360,6 +1378,9 @@ const de_GenerateDataKeyWithoutPlaintextCommandError = async (output, context) =
1360
1378
  case "DisabledException":
1361
1379
  case "com.amazonaws.kms#DisabledException":
1362
1380
  throw await de_DisabledExceptionRes(parsedOutput, context);
1381
+ case "DryRunOperationException":
1382
+ case "com.amazonaws.kms#DryRunOperationException":
1383
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1363
1384
  case "InvalidGrantTokenException":
1364
1385
  case "com.amazonaws.kms#InvalidGrantTokenException":
1365
1386
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -1410,6 +1431,9 @@ const de_GenerateMacCommandError = async (output, context) => {
1410
1431
  case "DisabledException":
1411
1432
  case "com.amazonaws.kms#DisabledException":
1412
1433
  throw await de_DisabledExceptionRes(parsedOutput, context);
1434
+ case "DryRunOperationException":
1435
+ case "com.amazonaws.kms#DryRunOperationException":
1436
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
1413
1437
  case "InvalidGrantTokenException":
1414
1438
  case "com.amazonaws.kms#InvalidGrantTokenException":
1415
1439
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -2074,6 +2098,9 @@ const de_ReEncryptCommandError = async (output, context) => {
2074
2098
  case "DisabledException":
2075
2099
  case "com.amazonaws.kms#DisabledException":
2076
2100
  throw await de_DisabledExceptionRes(parsedOutput, context);
2101
+ case "DryRunOperationException":
2102
+ case "com.amazonaws.kms#DryRunOperationException":
2103
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2077
2104
  case "IncorrectKeyException":
2078
2105
  case "com.amazonaws.kms#IncorrectKeyException":
2079
2106
  throw await de_IncorrectKeyExceptionRes(parsedOutput, context);
@@ -2186,6 +2213,9 @@ const de_RetireGrantCommandError = async (output, context) => {
2186
2213
  case "DependencyTimeoutException":
2187
2214
  case "com.amazonaws.kms#DependencyTimeoutException":
2188
2215
  throw await de_DependencyTimeoutExceptionRes(parsedOutput, context);
2216
+ case "DryRunOperationException":
2217
+ case "com.amazonaws.kms#DryRunOperationException":
2218
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2189
2219
  case "InvalidArnException":
2190
2220
  case "com.amazonaws.kms#InvalidArnException":
2191
2221
  throw await de_InvalidArnExceptionRes(parsedOutput, context);
@@ -2233,6 +2263,9 @@ const de_RevokeGrantCommandError = async (output, context) => {
2233
2263
  case "DependencyTimeoutException":
2234
2264
  case "com.amazonaws.kms#DependencyTimeoutException":
2235
2265
  throw await de_DependencyTimeoutExceptionRes(parsedOutput, context);
2266
+ case "DryRunOperationException":
2267
+ case "com.amazonaws.kms#DryRunOperationException":
2268
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2236
2269
  case "InvalidArnException":
2237
2270
  case "com.amazonaws.kms#InvalidArnException":
2238
2271
  throw await de_InvalidArnExceptionRes(parsedOutput, context);
@@ -2327,6 +2360,9 @@ const de_SignCommandError = async (output, context) => {
2327
2360
  case "DisabledException":
2328
2361
  case "com.amazonaws.kms#DisabledException":
2329
2362
  throw await de_DisabledExceptionRes(parsedOutput, context);
2363
+ case "DryRunOperationException":
2364
+ case "com.amazonaws.kms#DryRunOperationException":
2365
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2330
2366
  case "InvalidGrantTokenException":
2331
2367
  case "com.amazonaws.kms#InvalidGrantTokenException":
2332
2368
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -2671,6 +2707,9 @@ const de_VerifyCommandError = async (output, context) => {
2671
2707
  case "DisabledException":
2672
2708
  case "com.amazonaws.kms#DisabledException":
2673
2709
  throw await de_DisabledExceptionRes(parsedOutput, context);
2710
+ case "DryRunOperationException":
2711
+ case "com.amazonaws.kms#DryRunOperationException":
2712
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2674
2713
  case "InvalidGrantTokenException":
2675
2714
  case "com.amazonaws.kms#InvalidGrantTokenException":
2676
2715
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -2724,6 +2763,9 @@ const de_VerifyMacCommandError = async (output, context) => {
2724
2763
  case "DisabledException":
2725
2764
  case "com.amazonaws.kms#DisabledException":
2726
2765
  throw await de_DisabledExceptionRes(parsedOutput, context);
2766
+ case "DryRunOperationException":
2767
+ case "com.amazonaws.kms#DryRunOperationException":
2768
+ throw await de_DryRunOperationExceptionRes(parsedOutput, context);
2727
2769
  case "InvalidGrantTokenException":
2728
2770
  case "com.amazonaws.kms#InvalidGrantTokenException":
2729
2771
  throw await de_InvalidGrantTokenExceptionRes(parsedOutput, context);
@@ -2862,6 +2904,15 @@ const de_DisabledExceptionRes = async (parsedOutput, context) => {
2862
2904
  });
2863
2905
  return __decorateServiceException(exception, body);
2864
2906
  };
2907
+ const de_DryRunOperationExceptionRes = async (parsedOutput, context) => {
2908
+ const body = parsedOutput.body;
2909
+ const deserialized = _json(body);
2910
+ const exception = new DryRunOperationException({
2911
+ $metadata: deserializeMetadata(parsedOutput),
2912
+ ...deserialized,
2913
+ });
2914
+ return __decorateServiceException(exception, body);
2915
+ };
2865
2916
  const de_ExpiredImportTokenExceptionRes = async (parsedOutput, context) => {
2866
2917
  const body = parsedOutput.body;
2867
2918
  const deserialized = _json(body);
@@ -3171,6 +3222,7 @@ const de_XksProxyVpcEndpointServiceNotFoundExceptionRes = async (parsedOutput, c
3171
3222
  const se_DecryptRequest = (input, context) => {
3172
3223
  return take(input, {
3173
3224
  CiphertextBlob: context.base64Encoder,
3225
+ DryRun: [],
3174
3226
  EncryptionAlgorithm: [],
3175
3227
  EncryptionContext: _json,
3176
3228
  GrantTokens: _json,
@@ -3180,6 +3232,7 @@ const se_DecryptRequest = (input, context) => {
3180
3232
  };
3181
3233
  const se_EncryptRequest = (input, context) => {
3182
3234
  return take(input, {
3235
+ DryRun: [],
3183
3236
  EncryptionAlgorithm: [],
3184
3237
  EncryptionContext: _json,
3185
3238
  GrantTokens: _json,
@@ -3189,6 +3242,7 @@ const se_EncryptRequest = (input, context) => {
3189
3242
  };
3190
3243
  const se_GenerateDataKeyPairRequest = (input, context) => {
3191
3244
  return take(input, {
3245
+ DryRun: [],
3192
3246
  EncryptionContext: _json,
3193
3247
  GrantTokens: _json,
3194
3248
  KeyId: [],
@@ -3198,6 +3252,7 @@ const se_GenerateDataKeyPairRequest = (input, context) => {
3198
3252
  };
3199
3253
  const se_GenerateDataKeyRequest = (input, context) => {
3200
3254
  return take(input, {
3255
+ DryRun: [],
3201
3256
  EncryptionContext: _json,
3202
3257
  GrantTokens: _json,
3203
3258
  KeyId: [],
@@ -3208,6 +3263,7 @@ const se_GenerateDataKeyRequest = (input, context) => {
3208
3263
  };
3209
3264
  const se_GenerateMacRequest = (input, context) => {
3210
3265
  return take(input, {
3266
+ DryRun: [],
3211
3267
  GrantTokens: _json,
3212
3268
  KeyId: [],
3213
3269
  MacAlgorithm: [],
@@ -3242,6 +3298,7 @@ const se_ReEncryptRequest = (input, context) => {
3242
3298
  DestinationEncryptionAlgorithm: [],
3243
3299
  DestinationEncryptionContext: _json,
3244
3300
  DestinationKeyId: [],
3301
+ DryRun: [],
3245
3302
  GrantTokens: _json,
3246
3303
  SourceEncryptionAlgorithm: [],
3247
3304
  SourceEncryptionContext: _json,
@@ -3250,6 +3307,7 @@ const se_ReEncryptRequest = (input, context) => {
3250
3307
  };
3251
3308
  const se_SignRequest = (input, context) => {
3252
3309
  return take(input, {
3310
+ DryRun: [],
3253
3311
  GrantTokens: _json,
3254
3312
  KeyId: [],
3255
3313
  Message: context.base64Encoder,
@@ -3259,6 +3317,7 @@ const se_SignRequest = (input, context) => {
3259
3317
  };
3260
3318
  const se_VerifyMacRequest = (input, context) => {
3261
3319
  return take(input, {
3320
+ DryRun: [],
3262
3321
  GrantTokens: _json,
3263
3322
  KeyId: [],
3264
3323
  Mac: context.base64Encoder,
@@ -3268,6 +3327,7 @@ const se_VerifyMacRequest = (input, context) => {
3268
3327
  };
3269
3328
  const se_VerifyRequest = (input, context) => {
3270
3329
  return take(input, {
3330
+ DryRun: [],
3271
3331
  GrantTokens: _json,
3272
3332
  KeyId: [],
3273
3333
  Message: context.base64Encoder,
@@ -85,7 +85,9 @@ export interface CancelKeyDeletionCommandOutput extends CancelKeyDeletionRespons
85
85
  * </i>.</p>
86
86
  * </li>
87
87
  * <li>
88
- * <p>For cryptographic operations on KMS keys in custom key stores, this exception represents a general failure with many possible causes. To identify the cause, see the error message that accompanies the exception.</p>
88
+ * <p>For cryptographic operations on KMS keys in custom key stores, this exception
89
+ * represents a general failure with many possible causes. To identify the cause, see the
90
+ * error message that accompanies the exception.</p>
89
91
  * </li>
90
92
  * </ul>
91
93
  *
@@ -131,7 +131,9 @@ export interface CreateAliasCommandOutput extends __MetadataBearer {
131
131
  * </i>.</p>
132
132
  * </li>
133
133
  * <li>
134
- * <p>For cryptographic operations on KMS keys in custom key stores, this exception represents a general failure with many possible causes. To identify the cause, see the error message that accompanies the exception.</p>
134
+ * <p>For cryptographic operations on KMS keys in custom key stores, this exception
135
+ * represents a general failure with many possible causes. To identify the cause, see the
136
+ * error message that accompanies the exception.</p>
135
137
  * </li>
136
138
  * </ul>
137
139
  *
@@ -27,8 +27,9 @@ export interface CreateCustomKeyStoreCommandOutput extends CreateCustomKeyStoreR
27
27
  * KMS key in a custom key store for a cryptographic operation, the cryptographic operation is
28
28
  * actually performed in your key store using your keys. KMS supports <a href="https://docs.aws.amazon.com/kms/latest/developerguide/keystore-cloudhsm.html">CloudHSM key stores</a>
29
29
  * backed by an <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/clusters.html">CloudHSM cluster</a>
30
- * and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/keystore-external.html">external key stores</a> backed by an external key store proxy and
31
- * external key manager outside of Amazon Web Services.</p>
30
+ * and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/keystore-external.html">external key
31
+ * stores</a> backed by an external key store proxy and external key manager outside of
32
+ * Amazon Web Services.</p>
32
33
  * <p> This operation is part of the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key stores</a> feature in KMS, which
33
34
  * combines the convenience and extensive integration of KMS with the isolation and control of a
34
35
  * key store that you own and manage.</p>
@@ -64,9 +65,9 @@ export interface CreateCustomKeyStoreCommandOutput extends CreateCustomKeyStoreR
64
65
  * <p>Some external key managers provide a simpler method for creating an external key store.
65
66
  * For details, see your external key manager documentation.</p>
66
67
  * <p>When creating an external key store in the KMS console, you can upload a JSON-based
67
- * proxy configuration file with the desired values. You cannot use a proxy configuration
68
- * with the <code>CreateCustomKeyStore</code> operation. However, you can use the values in
69
- * the file to help you determine the correct values for the <code>CreateCustomKeyStore</code>
68
+ * proxy configuration file with the desired values. You cannot use a proxy configuration with
69
+ * the <code>CreateCustomKeyStore</code> operation. However, you can use the values in the file
70
+ * to help you determine the correct values for the <code>CreateCustomKeyStore</code>
70
71
  * parameters.</p>
71
72
  * </note>
72
73
  * <p>When the operation completes successfully, it returns the ID of the new custom key store.
@@ -249,8 +250,9 @@ export interface CreateCustomKeyStoreCommandOutput extends CreateCustomKeyStoreR
249
250
  * @throws {@link XksProxyUriUnreachableException} (client fault)
250
251
  * <p>KMS was unable to reach the specified <code>XksProxyUriPath</code>. The path must be
251
252
  * reachable before you create the external key store or update its settings.</p>
252
- * <p>This exception is also thrown when the external key store proxy response to a <code>GetHealthStatus</code>
253
- * request indicates that all external key manager instances are unavailable.</p>
253
+ * <p>This exception is also thrown when the external key store proxy response to a
254
+ * <code>GetHealthStatus</code> request indicates that all external key manager instances are
255
+ * unavailable.</p>
254
256
  *
255
257
  * @throws {@link XksProxyVpcEndpointServiceInUseException} (client fault)
256
258
  * <p>The request was rejected because the specified Amazon VPC endpoint service is already
@@ -260,7 +262,8 @@ export interface CreateCustomKeyStoreCommandOutput extends CreateCustomKeyStoreR
260
262
  * @throws {@link XksProxyVpcEndpointServiceInvalidConfigurationException} (client fault)
261
263
  * <p>The request was rejected because the Amazon VPC endpoint service configuration does not fulfill
262
264
  * the requirements for an external key store proxy. For details, see the exception message and
263
- * <a href="kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements">review the requirements</a> for Amazon VPC endpoint service connectivity for an external key
265
+ * <a href="kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements">review the
266
+ * requirements</a> for Amazon VPC endpoint service connectivity for an external key
264
267
  * store.</p>
265
268
  *
266
269
  * @throws {@link XksProxyVpcEndpointServiceNotFoundException} (client fault)
@@ -110,6 +110,7 @@ export interface CreateGrantCommandOutput extends CreateGrantResponse, __Metadat
110
110
  * "STRING_VALUE",
111
111
  * ],
112
112
  * Name: "STRING_VALUE",
113
+ * DryRun: true || false,
113
114
  * };
114
115
  * const command = new CreateGrantCommand(input);
115
116
  * const response = await client.send(command);
@@ -133,6 +134,11 @@ export interface CreateGrantCommandOutput extends CreateGrantResponse, __Metadat
133
134
  * @throws {@link DisabledException} (client fault)
134
135
  * <p>The request was rejected because the specified KMS key is not enabled.</p>
135
136
  *
137
+ * @throws {@link DryRunOperationException} (client fault)
138
+ * <p>
139
+ * The request was rejected because the DryRun parameter was specified.
140
+ * </p>
141
+ *
136
142
  * @throws {@link InvalidArnException} (client fault)
137
143
  * <p>The request was rejected because a specified ARN, or an ARN in a key policy, is not
138
144
  * valid.</p>
@@ -158,7 +164,9 @@ export interface CreateGrantCommandOutput extends CreateGrantResponse, __Metadat
158
164
  * </i>.</p>
159
165
  * </li>
160
166
  * <li>
161
- * <p>For cryptographic operations on KMS keys in custom key stores, this exception represents a general failure with many possible causes. To identify the cause, see the error message that accompanies the exception.</p>
167
+ * <p>For cryptographic operations on KMS keys in custom key stores, this exception
168
+ * represents a general failure with many possible causes. To identify the cause, see the
169
+ * error message that accompanies the exception.</p>
162
170
  * </li>
163
171
  * </ul>
164
172
  *