@aws-sdk/client-kms 3.1074.0 → 3.1076.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/dist-cjs/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultKMSHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CancelKeyDeletion$, ConnectCustomKeyStore$, CreateAlias$, CreateCustomKeyStore$, CreateGrant$, CreateKey$, Decrypt$, DeleteAlias$, DeleteCustomKeyStore$, DeleteImportedKeyMaterial$, DeriveSharedSecret$, DescribeCustomKeyStores$, DescribeKey$, DisableKey$, DisableKeyRotation$, DisconnectCustomKeyStore$, EnableKey$, EnableKeyRotation$, Encrypt$, GenerateDataKey$, GenerateDataKeyPair$, GenerateDataKeyPairWithoutPlaintext$, GenerateDataKeyWithoutPlaintext$, GenerateMac$, GenerateRandom$, GetKeyLastUsage$, GetKeyPolicy$, GetKeyRotationStatus$, GetParametersForImport$, GetPublicKey$, ImportKeyMaterial$, ListAliases$, ListGrants$, ListKeyPolicies$, ListKeyRotations$, ListKeys$, ListResourceTags$, ListRetirableGrants$, PutKeyPolicy$, ReEncrypt$, ReplicateKey$, RetireGrant$, RevokeGrant$, RotateKeyOnDemand$, ScheduleKeyDeletion$, Sign$, TagResource$, UntagResource$, UpdateAlias$, UpdateCustomKeyStore$, UpdateKeyDescription$, UpdatePrimaryRegion$, Verify$, VerifyMac$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { KMSServiceException } = require("./models/KMSServiceException");
18
- exports.KMSServiceException = KMSServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultKMSHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "kms",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultKMSHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,2126 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://kms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://kms-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://kms.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://kms.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class KMSServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, KMSServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AlreadyExistsException extends KMSServiceException {
140
+ name = "AlreadyExistsException";
141
+ $fault = "client";
142
+ constructor(opts) {
143
+ super({
144
+ name: "AlreadyExistsException",
145
+ $fault: "client",
146
+ ...opts,
147
+ });
148
+ Object.setPrototypeOf(this, AlreadyExistsException.prototype);
149
+ }
150
+ }
151
+ class DependencyTimeoutException extends KMSServiceException {
152
+ name = "DependencyTimeoutException";
153
+ $fault = "server";
154
+ constructor(opts) {
155
+ super({
156
+ name: "DependencyTimeoutException",
157
+ $fault: "server",
158
+ ...opts,
159
+ });
160
+ Object.setPrototypeOf(this, DependencyTimeoutException.prototype);
161
+ }
162
+ }
163
+ class InvalidArnException extends KMSServiceException {
164
+ name = "InvalidArnException";
165
+ $fault = "client";
166
+ constructor(opts) {
167
+ super({
168
+ name: "InvalidArnException",
169
+ $fault: "client",
170
+ ...opts,
171
+ });
172
+ Object.setPrototypeOf(this, InvalidArnException.prototype);
173
+ }
174
+ }
175
+ class KMSInternalException extends KMSServiceException {
176
+ name = "KMSInternalException";
177
+ $fault = "server";
178
+ constructor(opts) {
179
+ super({
180
+ name: "KMSInternalException",
181
+ $fault: "server",
182
+ ...opts,
183
+ });
184
+ Object.setPrototypeOf(this, KMSInternalException.prototype);
185
+ }
186
+ }
187
+ class KMSInvalidStateException extends KMSServiceException {
188
+ name = "KMSInvalidStateException";
189
+ $fault = "client";
190
+ constructor(opts) {
191
+ super({
192
+ name: "KMSInvalidStateException",
193
+ $fault: "client",
194
+ ...opts,
195
+ });
196
+ Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
197
+ }
198
+ }
199
+ class NotFoundException extends KMSServiceException {
200
+ name = "NotFoundException";
201
+ $fault = "client";
202
+ constructor(opts) {
203
+ super({
204
+ name: "NotFoundException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ Object.setPrototypeOf(this, NotFoundException.prototype);
209
+ }
210
+ }
211
+ class CloudHsmClusterInUseException extends KMSServiceException {
212
+ name = "CloudHsmClusterInUseException";
213
+ $fault = "client";
214
+ constructor(opts) {
215
+ super({
216
+ name: "CloudHsmClusterInUseException",
217
+ $fault: "client",
218
+ ...opts,
219
+ });
220
+ Object.setPrototypeOf(this, CloudHsmClusterInUseException.prototype);
221
+ }
222
+ }
223
+ class CloudHsmClusterInvalidConfigurationException extends KMSServiceException {
224
+ name = "CloudHsmClusterInvalidConfigurationException";
225
+ $fault = "client";
226
+ constructor(opts) {
227
+ super({
228
+ name: "CloudHsmClusterInvalidConfigurationException",
229
+ $fault: "client",
230
+ ...opts,
231
+ });
232
+ Object.setPrototypeOf(this, CloudHsmClusterInvalidConfigurationException.prototype);
233
+ }
234
+ }
235
+ class CloudHsmClusterNotActiveException extends KMSServiceException {
236
+ name = "CloudHsmClusterNotActiveException";
237
+ $fault = "client";
238
+ constructor(opts) {
239
+ super({
240
+ name: "CloudHsmClusterNotActiveException",
241
+ $fault: "client",
242
+ ...opts,
243
+ });
244
+ Object.setPrototypeOf(this, CloudHsmClusterNotActiveException.prototype);
245
+ }
246
+ }
247
+ class CloudHsmClusterNotFoundException extends KMSServiceException {
248
+ name = "CloudHsmClusterNotFoundException";
249
+ $fault = "client";
250
+ constructor(opts) {
251
+ super({
252
+ name: "CloudHsmClusterNotFoundException",
253
+ $fault: "client",
254
+ ...opts,
255
+ });
256
+ Object.setPrototypeOf(this, CloudHsmClusterNotFoundException.prototype);
257
+ }
258
+ }
259
+ class CloudHsmClusterNotRelatedException extends KMSServiceException {
260
+ name = "CloudHsmClusterNotRelatedException";
261
+ $fault = "client";
262
+ constructor(opts) {
263
+ super({
264
+ name: "CloudHsmClusterNotRelatedException",
265
+ $fault: "client",
266
+ ...opts,
267
+ });
268
+ Object.setPrototypeOf(this, CloudHsmClusterNotRelatedException.prototype);
269
+ }
270
+ }
271
+ class ConflictException extends KMSServiceException {
272
+ name = "ConflictException";
273
+ $fault = "client";
274
+ constructor(opts) {
275
+ super({
276
+ name: "ConflictException",
277
+ $fault: "client",
278
+ ...opts,
279
+ });
280
+ Object.setPrototypeOf(this, ConflictException.prototype);
281
+ }
282
+ }
283
+ class CustomKeyStoreInvalidStateException extends KMSServiceException {
284
+ name = "CustomKeyStoreInvalidStateException";
285
+ $fault = "client";
286
+ constructor(opts) {
287
+ super({
288
+ name: "CustomKeyStoreInvalidStateException",
289
+ $fault: "client",
290
+ ...opts,
291
+ });
292
+ Object.setPrototypeOf(this, CustomKeyStoreInvalidStateException.prototype);
293
+ }
294
+ }
295
+ class CustomKeyStoreNotFoundException extends KMSServiceException {
296
+ name = "CustomKeyStoreNotFoundException";
297
+ $fault = "client";
298
+ constructor(opts) {
299
+ super({
300
+ name: "CustomKeyStoreNotFoundException",
301
+ $fault: "client",
302
+ ...opts,
303
+ });
304
+ Object.setPrototypeOf(this, CustomKeyStoreNotFoundException.prototype);
305
+ }
306
+ }
307
+ class InvalidAliasNameException extends KMSServiceException {
308
+ name = "InvalidAliasNameException";
309
+ $fault = "client";
310
+ constructor(opts) {
311
+ super({
312
+ name: "InvalidAliasNameException",
313
+ $fault: "client",
314
+ ...opts,
315
+ });
316
+ Object.setPrototypeOf(this, InvalidAliasNameException.prototype);
317
+ }
318
+ }
319
+ class LimitExceededException extends KMSServiceException {
320
+ name = "LimitExceededException";
321
+ $fault = "client";
322
+ constructor(opts) {
323
+ super({
324
+ name: "LimitExceededException",
325
+ $fault: "client",
326
+ ...opts,
327
+ });
328
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
329
+ }
330
+ }
331
+ class CustomKeyStoreNameInUseException extends KMSServiceException {
332
+ name = "CustomKeyStoreNameInUseException";
333
+ $fault = "client";
334
+ constructor(opts) {
335
+ super({
336
+ name: "CustomKeyStoreNameInUseException",
337
+ $fault: "client",
338
+ ...opts,
339
+ });
340
+ Object.setPrototypeOf(this, CustomKeyStoreNameInUseException.prototype);
341
+ }
342
+ }
343
+ class IncorrectTrustAnchorException extends KMSServiceException {
344
+ name = "IncorrectTrustAnchorException";
345
+ $fault = "client";
346
+ constructor(opts) {
347
+ super({
348
+ name: "IncorrectTrustAnchorException",
349
+ $fault: "client",
350
+ ...opts,
351
+ });
352
+ Object.setPrototypeOf(this, IncorrectTrustAnchorException.prototype);
353
+ }
354
+ }
355
+ class XksProxyIncorrectAuthenticationCredentialException extends KMSServiceException {
356
+ name = "XksProxyIncorrectAuthenticationCredentialException";
357
+ $fault = "client";
358
+ constructor(opts) {
359
+ super({
360
+ name: "XksProxyIncorrectAuthenticationCredentialException",
361
+ $fault: "client",
362
+ ...opts,
363
+ });
364
+ Object.setPrototypeOf(this, XksProxyIncorrectAuthenticationCredentialException.prototype);
365
+ }
366
+ }
367
+ class XksProxyInvalidConfigurationException extends KMSServiceException {
368
+ name = "XksProxyInvalidConfigurationException";
369
+ $fault = "client";
370
+ constructor(opts) {
371
+ super({
372
+ name: "XksProxyInvalidConfigurationException",
373
+ $fault: "client",
374
+ ...opts,
375
+ });
376
+ Object.setPrototypeOf(this, XksProxyInvalidConfigurationException.prototype);
377
+ }
378
+ }
379
+ class XksProxyInvalidResponseException extends KMSServiceException {
380
+ name = "XksProxyInvalidResponseException";
381
+ $fault = "client";
382
+ constructor(opts) {
383
+ super({
384
+ name: "XksProxyInvalidResponseException",
385
+ $fault: "client",
386
+ ...opts,
387
+ });
388
+ Object.setPrototypeOf(this, XksProxyInvalidResponseException.prototype);
389
+ }
390
+ }
391
+ class XksProxyUriEndpointInUseException extends KMSServiceException {
392
+ name = "XksProxyUriEndpointInUseException";
393
+ $fault = "client";
394
+ constructor(opts) {
395
+ super({
396
+ name: "XksProxyUriEndpointInUseException",
397
+ $fault: "client",
398
+ ...opts,
399
+ });
400
+ Object.setPrototypeOf(this, XksProxyUriEndpointInUseException.prototype);
401
+ }
402
+ }
403
+ class XksProxyUriInUseException extends KMSServiceException {
404
+ name = "XksProxyUriInUseException";
405
+ $fault = "client";
406
+ constructor(opts) {
407
+ super({
408
+ name: "XksProxyUriInUseException",
409
+ $fault: "client",
410
+ ...opts,
411
+ });
412
+ Object.setPrototypeOf(this, XksProxyUriInUseException.prototype);
413
+ }
414
+ }
415
+ class XksProxyUriUnreachableException extends KMSServiceException {
416
+ name = "XksProxyUriUnreachableException";
417
+ $fault = "client";
418
+ constructor(opts) {
419
+ super({
420
+ name: "XksProxyUriUnreachableException",
421
+ $fault: "client",
422
+ ...opts,
423
+ });
424
+ Object.setPrototypeOf(this, XksProxyUriUnreachableException.prototype);
425
+ }
426
+ }
427
+ class XksProxyVpcEndpointServiceInUseException extends KMSServiceException {
428
+ name = "XksProxyVpcEndpointServiceInUseException";
429
+ $fault = "client";
430
+ constructor(opts) {
431
+ super({
432
+ name: "XksProxyVpcEndpointServiceInUseException",
433
+ $fault: "client",
434
+ ...opts,
435
+ });
436
+ Object.setPrototypeOf(this, XksProxyVpcEndpointServiceInUseException.prototype);
437
+ }
438
+ }
439
+ class XksProxyVpcEndpointServiceInvalidConfigurationException extends KMSServiceException {
440
+ name = "XksProxyVpcEndpointServiceInvalidConfigurationException";
441
+ $fault = "client";
442
+ constructor(opts) {
443
+ super({
444
+ name: "XksProxyVpcEndpointServiceInvalidConfigurationException",
445
+ $fault: "client",
446
+ ...opts,
447
+ });
448
+ Object.setPrototypeOf(this, XksProxyVpcEndpointServiceInvalidConfigurationException.prototype);
449
+ }
450
+ }
451
+ class XksProxyVpcEndpointServiceNotFoundException extends KMSServiceException {
452
+ name = "XksProxyVpcEndpointServiceNotFoundException";
453
+ $fault = "client";
454
+ constructor(opts) {
455
+ super({
456
+ name: "XksProxyVpcEndpointServiceNotFoundException",
457
+ $fault: "client",
458
+ ...opts,
459
+ });
460
+ Object.setPrototypeOf(this, XksProxyVpcEndpointServiceNotFoundException.prototype);
461
+ }
462
+ }
463
+ class DisabledException extends KMSServiceException {
464
+ name = "DisabledException";
465
+ $fault = "client";
466
+ constructor(opts) {
467
+ super({
468
+ name: "DisabledException",
469
+ $fault: "client",
470
+ ...opts,
471
+ });
472
+ Object.setPrototypeOf(this, DisabledException.prototype);
473
+ }
474
+ }
475
+ class DryRunOperationException extends KMSServiceException {
476
+ name = "DryRunOperationException";
477
+ $fault = "client";
478
+ constructor(opts) {
479
+ super({
480
+ name: "DryRunOperationException",
481
+ $fault: "client",
482
+ ...opts,
483
+ });
484
+ Object.setPrototypeOf(this, DryRunOperationException.prototype);
485
+ }
486
+ }
487
+ class InvalidGrantTokenException extends KMSServiceException {
488
+ name = "InvalidGrantTokenException";
489
+ $fault = "client";
490
+ constructor(opts) {
491
+ super({
492
+ name: "InvalidGrantTokenException",
493
+ $fault: "client",
494
+ ...opts,
495
+ });
496
+ Object.setPrototypeOf(this, InvalidGrantTokenException.prototype);
497
+ }
498
+ }
499
+ class MalformedPolicyDocumentException extends KMSServiceException {
500
+ name = "MalformedPolicyDocumentException";
501
+ $fault = "client";
502
+ constructor(opts) {
503
+ super({
504
+ name: "MalformedPolicyDocumentException",
505
+ $fault: "client",
506
+ ...opts,
507
+ });
508
+ Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
509
+ }
510
+ }
511
+ class TagException extends KMSServiceException {
512
+ name = "TagException";
513
+ $fault = "client";
514
+ constructor(opts) {
515
+ super({
516
+ name: "TagException",
517
+ $fault: "client",
518
+ ...opts,
519
+ });
520
+ Object.setPrototypeOf(this, TagException.prototype);
521
+ }
522
+ }
523
+ class UnsupportedOperationException extends KMSServiceException {
524
+ name = "UnsupportedOperationException";
525
+ $fault = "client";
526
+ constructor(opts) {
527
+ super({
528
+ name: "UnsupportedOperationException",
529
+ $fault: "client",
530
+ ...opts,
531
+ });
532
+ Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
533
+ }
534
+ }
535
+ class XksKeyAlreadyInUseException extends KMSServiceException {
536
+ name = "XksKeyAlreadyInUseException";
537
+ $fault = "client";
538
+ constructor(opts) {
539
+ super({
540
+ name: "XksKeyAlreadyInUseException",
541
+ $fault: "client",
542
+ ...opts,
543
+ });
544
+ Object.setPrototypeOf(this, XksKeyAlreadyInUseException.prototype);
545
+ }
546
+ }
547
+ class XksKeyInvalidConfigurationException extends KMSServiceException {
548
+ name = "XksKeyInvalidConfigurationException";
549
+ $fault = "client";
550
+ constructor(opts) {
551
+ super({
552
+ name: "XksKeyInvalidConfigurationException",
553
+ $fault: "client",
554
+ ...opts,
555
+ });
556
+ Object.setPrototypeOf(this, XksKeyInvalidConfigurationException.prototype);
557
+ }
558
+ }
559
+ class XksKeyNotFoundException extends KMSServiceException {
560
+ name = "XksKeyNotFoundException";
561
+ $fault = "client";
562
+ constructor(opts) {
563
+ super({
564
+ name: "XksKeyNotFoundException",
565
+ $fault: "client",
566
+ ...opts,
567
+ });
568
+ Object.setPrototypeOf(this, XksKeyNotFoundException.prototype);
569
+ }
570
+ }
571
+ class CustomKeyStoreHasCMKsException extends KMSServiceException {
572
+ name = "CustomKeyStoreHasCMKsException";
573
+ $fault = "client";
574
+ constructor(opts) {
575
+ super({
576
+ name: "CustomKeyStoreHasCMKsException",
577
+ $fault: "client",
578
+ ...opts,
579
+ });
580
+ Object.setPrototypeOf(this, CustomKeyStoreHasCMKsException.prototype);
581
+ }
582
+ }
583
+ class IncorrectKeyException extends KMSServiceException {
584
+ name = "IncorrectKeyException";
585
+ $fault = "client";
586
+ constructor(opts) {
587
+ super({
588
+ name: "IncorrectKeyException",
589
+ $fault: "client",
590
+ ...opts,
591
+ });
592
+ Object.setPrototypeOf(this, IncorrectKeyException.prototype);
593
+ }
594
+ }
595
+ class InvalidCiphertextException extends KMSServiceException {
596
+ name = "InvalidCiphertextException";
597
+ $fault = "client";
598
+ constructor(opts) {
599
+ super({
600
+ name: "InvalidCiphertextException",
601
+ $fault: "client",
602
+ ...opts,
603
+ });
604
+ Object.setPrototypeOf(this, InvalidCiphertextException.prototype);
605
+ }
606
+ }
607
+ class InvalidKeyUsageException extends KMSServiceException {
608
+ name = "InvalidKeyUsageException";
609
+ $fault = "client";
610
+ constructor(opts) {
611
+ super({
612
+ name: "InvalidKeyUsageException",
613
+ $fault: "client",
614
+ ...opts,
615
+ });
616
+ Object.setPrototypeOf(this, InvalidKeyUsageException.prototype);
617
+ }
618
+ }
619
+ class KeyUnavailableException extends KMSServiceException {
620
+ name = "KeyUnavailableException";
621
+ $fault = "server";
622
+ constructor(opts) {
623
+ super({
624
+ name: "KeyUnavailableException",
625
+ $fault: "server",
626
+ ...opts,
627
+ });
628
+ Object.setPrototypeOf(this, KeyUnavailableException.prototype);
629
+ }
630
+ }
631
+ class InvalidMarkerException extends KMSServiceException {
632
+ name = "InvalidMarkerException";
633
+ $fault = "client";
634
+ constructor(opts) {
635
+ super({
636
+ name: "InvalidMarkerException",
637
+ $fault: "client",
638
+ ...opts,
639
+ });
640
+ Object.setPrototypeOf(this, InvalidMarkerException.prototype);
641
+ }
642
+ }
643
+ class ExpiredImportTokenException extends KMSServiceException {
644
+ name = "ExpiredImportTokenException";
645
+ $fault = "client";
646
+ constructor(opts) {
647
+ super({
648
+ name: "ExpiredImportTokenException",
649
+ $fault: "client",
650
+ ...opts,
651
+ });
652
+ Object.setPrototypeOf(this, ExpiredImportTokenException.prototype);
653
+ }
654
+ }
655
+ class IncorrectKeyMaterialException extends KMSServiceException {
656
+ name = "IncorrectKeyMaterialException";
657
+ $fault = "client";
658
+ constructor(opts) {
659
+ super({
660
+ name: "IncorrectKeyMaterialException",
661
+ $fault: "client",
662
+ ...opts,
663
+ });
664
+ Object.setPrototypeOf(this, IncorrectKeyMaterialException.prototype);
665
+ }
666
+ }
667
+ class InvalidImportTokenException extends KMSServiceException {
668
+ name = "InvalidImportTokenException";
669
+ $fault = "client";
670
+ constructor(opts) {
671
+ super({
672
+ name: "InvalidImportTokenException",
673
+ $fault: "client",
674
+ ...opts,
675
+ });
676
+ Object.setPrototypeOf(this, InvalidImportTokenException.prototype);
677
+ }
678
+ }
679
+ class InvalidGrantIdException extends KMSServiceException {
680
+ name = "InvalidGrantIdException";
681
+ $fault = "client";
682
+ constructor(opts) {
683
+ super({
684
+ name: "InvalidGrantIdException",
685
+ $fault: "client",
686
+ ...opts,
687
+ });
688
+ Object.setPrototypeOf(this, InvalidGrantIdException.prototype);
689
+ }
690
+ }
691
+ class KMSInvalidMacException extends KMSServiceException {
692
+ name = "KMSInvalidMacException";
693
+ $fault = "client";
694
+ constructor(opts) {
695
+ super({
696
+ name: "KMSInvalidMacException",
697
+ $fault: "client",
698
+ ...opts,
699
+ });
700
+ Object.setPrototypeOf(this, KMSInvalidMacException.prototype);
701
+ }
702
+ }
703
+ class KMSInvalidSignatureException extends KMSServiceException {
704
+ name = "KMSInvalidSignatureException";
705
+ $fault = "client";
706
+ constructor(opts) {
707
+ super({
708
+ name: "KMSInvalidSignatureException",
709
+ $fault: "client",
710
+ ...opts,
711
+ });
712
+ Object.setPrototypeOf(this, KMSInvalidSignatureException.prototype);
713
+ }
714
+ }
715
+
716
+ const _A = "Arn";
717
+ const _AA = "AliasArn";
718
+ const _AD = "AttestationDocument";
719
+ const _AEE = "AlreadyExistsException";
720
+ const _AKI = "AccessKeyId";
721
+ const _AL = "AliasList";
722
+ const _ALE = "AliasListEntry";
723
+ const _AN = "AliasName";
724
+ const _AWSAI = "AWSAccountId";
725
+ const _Al = "Aliases";
726
+ const _BPLSC = "BypassPolicyLockoutSafetyCheck";
727
+ const _C = "Constraints";
728
+ const _CA = "CreateAlias";
729
+ const _CAR = "CreateAliasRequest";
730
+ const _CB = "CiphertextBlob";
731
+ const _CCKS = "ConnectCustomKeyStore";
732
+ const _CCKSR = "ConnectCustomKeyStoreRequest";
733
+ const _CCKSRo = "ConnectCustomKeyStoreResponse";
734
+ const _CCKSRr = "CreateCustomKeyStoreRequest";
735
+ const _CCKSRre = "CreateCustomKeyStoreResponse";
736
+ const _CCKSr = "CreateCustomKeyStore";
737
+ const _CD = "CreationDate";
738
+ const _CE = "ConflictException";
739
+ const _CEC = "ConnectionErrorCode";
740
+ const _CFR = "CiphertextForRecipient";
741
+ const _CG = "CreateGrant";
742
+ const _CGR = "CreateGrantRequest";
743
+ const _CGRr = "CreateGrantResponse";
744
+ const _CHCI = "CloudHsmClusterId";
745
+ const _CHCICE = "CloudHsmClusterInvalidConfigurationException";
746
+ const _CHCIUE = "CloudHsmClusterInUseException";
747
+ const _CHCNAE = "CloudHsmClusterNotActiveException";
748
+ const _CHCNFE = "CloudHsmClusterNotFoundException";
749
+ const _CHCNRE = "CloudHsmClusterNotRelatedException";
750
+ const _CK = "CreateKey";
751
+ const _CKD = "CancelKeyDeletion";
752
+ const _CKDR = "CancelKeyDeletionRequest";
753
+ const _CKDRa = "CancelKeyDeletionResponse";
754
+ const _CKMI = "CurrentKeyMaterialId";
755
+ const _CKR = "CreateKeyRequest";
756
+ const _CKRr = "CreateKeyResponse";
757
+ const _CKS = "CustomKeyStores";
758
+ const _CKSHCMKE = "CustomKeyStoreHasCMKsException";
759
+ const _CKSI = "CustomKeyStoreId";
760
+ const _CKSISE = "CustomKeyStoreInvalidStateException";
761
+ const _CKSL = "CustomKeyStoresList";
762
+ const _CKSLE = "CustomKeyStoresListEntry";
763
+ const _CKSN = "CustomKeyStoreName";
764
+ const _CKSNFE = "CustomKeyStoreNotFoundException";
765
+ const _CKSNIUE = "CustomKeyStoreNameInUseException";
766
+ const _CKST = "CustomKeyStoreType";
767
+ const _CMKS = "CustomerMasterKeySpec";
768
+ const _CS = "ConnectionState";
769
+ const _CTEI = "CloudTrailEventId";
770
+ const _Co = "Connectivity";
771
+ const _D = "Description";
772
+ const _DA = "DeleteAlias";
773
+ const _DAR = "DeleteAliasRequest";
774
+ const _DCKS = "DeleteCustomKeyStore";
775
+ const _DCKSR = "DeleteCustomKeyStoreRequest";
776
+ const _DCKSRe = "DeleteCustomKeyStoreResponse";
777
+ const _DCKSRes = "DescribeCustomKeyStoresRequest";
778
+ const _DCKSResc = "DescribeCustomKeyStoresResponse";
779
+ const _DCKSRi = "DisconnectCustomKeyStoreRequest";
780
+ const _DCKSRis = "DisconnectCustomKeyStoreResponse";
781
+ const _DCKSe = "DescribeCustomKeyStores";
782
+ const _DCKSi = "DisconnectCustomKeyStore";
783
+ const _DD = "DeletionDate";
784
+ const _DE = "DisabledException";
785
+ const _DEA = "DestinationEncryptionAlgorithm";
786
+ const _DEC = "DestinationEncryptionContext";
787
+ const _DIKM = "DeleteImportedKeyMaterial";
788
+ const _DIKMR = "DeleteImportedKeyMaterialRequest";
789
+ const _DIKMRe = "DeleteImportedKeyMaterialResponse";
790
+ const _DK = "DescribeKey";
791
+ const _DKI = "DestinationKeyId";
792
+ const _DKMI = "DestinationKeyMaterialId";
793
+ const _DKR = "DescribeKeyRequest";
794
+ const _DKRR = "DisableKeyRotationRequest";
795
+ const _DKRe = "DescribeKeyResponse";
796
+ const _DKRi = "DisableKeyRequest";
797
+ const _DKRis = "DisableKeyRotation";
798
+ const _DKi = "DisableKey";
799
+ const _DR = "DryRun";
800
+ const _DRM = "DryRunModifiers";
801
+ const _DROE = "DryRunOperationException";
802
+ const _DRe = "DecryptRequest";
803
+ const _DRec = "DecryptResponse";
804
+ const _DSS = "DeriveSharedSecret";
805
+ const _DSSR = "DeriveSharedSecretRequest";
806
+ const _DSSRe = "DeriveSharedSecretResponse";
807
+ const _DTE = "DependencyTimeoutException";
808
+ const _De = "Decrypt";
809
+ const _E = "Enabled";
810
+ const _EA = "EncryptionAlgorithm";
811
+ const _EAn = "EncryptionAlgorithms";
812
+ const _EC = "EncryptionContext";
813
+ const _ECE = "EncryptionContextEquals";
814
+ const _ECS = "EncryptionContextSubset";
815
+ const _EITE = "ExpiredImportTokenException";
816
+ const _EK = "EnableKey";
817
+ const _EKM = "EncryptedKeyMaterial";
818
+ const _EKR = "EnableKeyRequest";
819
+ const _EKRR = "EnableKeyRotationRequest";
820
+ const _EKRn = "EnableKeyRotation";
821
+ const _EM = "ExpirationModel";
822
+ const _ER = "EncryptRequest";
823
+ const _ERn = "EncryptResponse";
824
+ const _En = "Encrypt";
825
+ const _G = "Grants";
826
+ const _GC = "GrantConstraints";
827
+ const _GDK = "GenerateDataKey";
828
+ const _GDKP = "GenerateDataKeyPair";
829
+ const _GDKPR = "GenerateDataKeyPairRequest";
830
+ const _GDKPRe = "GenerateDataKeyPairResponse";
831
+ const _GDKPWP = "GenerateDataKeyPairWithoutPlaintext";
832
+ const _GDKPWPR = "GenerateDataKeyPairWithoutPlaintextRequest";
833
+ const _GDKPWPRe = "GenerateDataKeyPairWithoutPlaintextResponse";
834
+ const _GDKR = "GenerateDataKeyRequest";
835
+ const _GDKRe = "GenerateDataKeyResponse";
836
+ const _GDKWP = "GenerateDataKeyWithoutPlaintext";
837
+ const _GDKWPR = "GenerateDataKeyWithoutPlaintextRequest";
838
+ const _GDKWPRe = "GenerateDataKeyWithoutPlaintextResponse";
839
+ const _GI = "GrantId";
840
+ const _GKLU = "GetKeyLastUsage";
841
+ const _GKLUR = "GetKeyLastUsageRequest";
842
+ const _GKLURe = "GetKeyLastUsageResponse";
843
+ const _GKP = "GetKeyPolicy";
844
+ const _GKPR = "GetKeyPolicyRequest";
845
+ const _GKPRe = "GetKeyPolicyResponse";
846
+ const _GKRS = "GetKeyRotationStatus";
847
+ const _GKRSR = "GetKeyRotationStatusRequest";
848
+ const _GKRSRe = "GetKeyRotationStatusResponse";
849
+ const _GL = "GrantList";
850
+ const _GLE = "GrantListEntry";
851
+ const _GM = "GenerateMac";
852
+ const _GMR = "GenerateMacRequest";
853
+ const _GMRe = "GenerateMacResponse";
854
+ const _GP = "GranteePrincipal";
855
+ const _GPFI = "GetParametersForImport";
856
+ const _GPFIR = "GetParametersForImportRequest";
857
+ const _GPFIRe = "GetParametersForImportResponse";
858
+ const _GPK = "GetPublicKey";
859
+ const _GPKR = "GetPublicKeyRequest";
860
+ const _GPKRe = "GetPublicKeyResponse";
861
+ const _GR = "GenerateRandom";
862
+ const _GRR = "GenerateRandomRequest";
863
+ const _GRRe = "GenerateRandomResponse";
864
+ const _GSP = "GranteeServicePrincipal";
865
+ const _GT = "GrantTokens";
866
+ const _GTr = "GrantToken";
867
+ const _I = "Id";
868
+ const _IA = "IssuingAccount";
869
+ const _IAE = "InvalidArnException";
870
+ const _IANE = "InvalidAliasNameException";
871
+ const _ICE = "InvalidCiphertextException";
872
+ const _IGIE = "InvalidGrantIdException";
873
+ const _IGTE = "InvalidGrantTokenException";
874
+ const _IITE = "InvalidImportTokenException";
875
+ const _IKE = "IncorrectKeyException";
876
+ const _IKM = "IncludeKeyMaterial";
877
+ const _IKME = "IncorrectKeyMaterialException";
878
+ const _IKMR = "ImportKeyMaterialRequest";
879
+ const _IKMRm = "ImportKeyMaterialResponse";
880
+ const _IKMm = "ImportKeyMaterial";
881
+ const _IKUE = "InvalidKeyUsageException";
882
+ const _IME = "InvalidMarkerException";
883
+ const _IS = "ImportState";
884
+ const _IT = "ImportToken";
885
+ const _ITAE = "IncorrectTrustAnchorException";
886
+ const _ITm = "ImportType";
887
+ const _K = "Keys";
888
+ const _KA = "KeyArn";
889
+ const _KAA = "KeyAgreementAlgorithm";
890
+ const _KAAe = "KeyAgreementAlgorithms";
891
+ const _KCD = "KeyCreationDate";
892
+ const _KEA = "KeyEncryptionAlgorithm";
893
+ const _KI = "KeyId";
894
+ const _KL = "KeyList";
895
+ const _KLE = "KeyListEntry";
896
+ const _KLU = "KeyLastUsage";
897
+ const _KLUD = "KeyLastUsageData";
898
+ const _KM = "KeyMetadata";
899
+ const _KMD = "KeyMaterialDescription";
900
+ const _KMI = "KeyMaterialId";
901
+ const _KMS = "KeyMaterialState";
902
+ const _KMSIE = "KMSInternalException";
903
+ const _KMSIME = "KMSInvalidMacException";
904
+ const _KMSISE = "KMSInvalidSignatureException";
905
+ const _KMSISEn = "KMSInvalidStateException";
906
+ const _KMe = "KeyManager";
907
+ const _KO = "KeyOrigin";
908
+ const _KPS = "KeyPairSpec";
909
+ const _KRE = "KeyRotationEnabled";
910
+ const _KRI = "KmsRequestId";
911
+ const _KS = "KeySpec";
912
+ const _KSP = "KeyStorePassword";
913
+ const _KSPT = "KeyStorePasswordType";
914
+ const _KSe = "KeyState";
915
+ const _KU = "KeyUsage";
916
+ const _KUE = "KeyUnavailableException";
917
+ const _L = "Limit";
918
+ const _LA = "ListAliases";
919
+ const _LAR = "ListAliasesRequest";
920
+ const _LARi = "ListAliasesResponse";
921
+ const _LEE = "LimitExceededException";
922
+ const _LG = "ListGrants";
923
+ const _LGR = "ListGrantsRequest";
924
+ const _LGRi = "ListGrantsResponse";
925
+ const _LK = "ListKeys";
926
+ const _LKP = "ListKeyPolicies";
927
+ const _LKPR = "ListKeyPoliciesRequest";
928
+ const _LKPRi = "ListKeyPoliciesResponse";
929
+ const _LKR = "ListKeysRequest";
930
+ const _LKRR = "ListKeyRotationsRequest";
931
+ const _LKRRi = "ListKeyRotationsResponse";
932
+ const _LKRi = "ListKeysResponse";
933
+ const _LKRis = "ListKeyRotations";
934
+ const _LRG = "ListRetirableGrants";
935
+ const _LRGR = "ListRetirableGrantsRequest";
936
+ const _LRT = "ListResourceTags";
937
+ const _LRTR = "ListResourceTagsRequest";
938
+ const _LRTRi = "ListResourceTagsResponse";
939
+ const _LUD = "LastUpdatedDate";
940
+ const _M = "Marker";
941
+ const _MA = "MacAlgorithm";
942
+ const _MAa = "MacAlgorithms";
943
+ const _MPDE = "MalformedPolicyDocumentException";
944
+ const _MR = "MultiRegion";
945
+ const _MRC = "MultiRegionConfiguration";
946
+ const _MRK = "MultiRegionKey";
947
+ const _MRKL = "MultiRegionKeyList";
948
+ const _MRKT = "MultiRegionKeyType";
949
+ const _MT = "MessageType";
950
+ const _MV = "MacValid";
951
+ const _Ma = "Mac";
952
+ const _Me = "Message";
953
+ const _N = "Name";
954
+ const _NCKSN = "NewCustomKeyStoreName";
955
+ const _NFE = "NotFoundException";
956
+ const _NM = "NextMarker";
957
+ const _NOB = "NumberOfBytes";
958
+ const _NRD = "NextRotationDate";
959
+ const _O = "Operations";
960
+ const _ODRSD = "OnDemandRotationStartDate";
961
+ const _Op = "Operation";
962
+ const _Or = "Origin";
963
+ const _P = "Policy";
964
+ const _PDWID = "PendingDeletionWindowInDays";
965
+ const _PK = "PublicKey";
966
+ const _PKCB = "PrivateKeyCiphertextBlob";
967
+ const _PKP = "PrivateKeyPlaintext";
968
+ const _PKPR = "PutKeyPolicyRequest";
969
+ const _PKPu = "PutKeyPolicy";
970
+ const _PKr = "PrimaryKey";
971
+ const _PN = "PolicyName";
972
+ const _PNo = "PolicyNames";
973
+ const _PR = "PrimaryRegion";
974
+ const _PT = "PlaintextType";
975
+ const _PVT = "ParametersValidTo";
976
+ const _PWID = "PendingWindowInDays";
977
+ const _Pl = "Plaintext";
978
+ const _R = "Recipient";
979
+ const _RD = "RotationDate";
980
+ const _RE = "ReEncrypt";
981
+ const _RER = "ReEncryptRequest";
982
+ const _RERe = "ReEncryptResponse";
983
+ const _RG = "RetireGrant";
984
+ const _RGR = "RetireGrantRequest";
985
+ const _RGRe = "RevokeGrantRequest";
986
+ const _RGe = "RevokeGrant";
987
+ const _RI = "RecipientInfo";
988
+ const _RK = "ReplicaKeys";
989
+ const _RKM = "ReplicaKeyMetadata";
990
+ const _RKOD = "RotateKeyOnDemand";
991
+ const _RKODR = "RotateKeyOnDemandRequest";
992
+ const _RKODRo = "RotateKeyOnDemandResponse";
993
+ const _RKR = "ReplicateKeyRequest";
994
+ const _RKRe = "ReplicateKeyResponse";
995
+ const _RKe = "ReplicateKey";
996
+ const _RL = "RotationsList";
997
+ const _RLE = "RotationsListEntry";
998
+ const _RP = "RetiringPrincipal";
999
+ const _RPID = "RotationPeriodInDays";
1000
+ const _RPe = "ReplicaPolicy";
1001
+ const _RR = "ReplicaRegion";
1002
+ const _RSAK = "RawSecretAccessKey";
1003
+ const _RSP = "RetiringServicePrincipal";
1004
+ const _RT = "ReplicaTags";
1005
+ const _RTo = "RotationType";
1006
+ const _Re = "Region";
1007
+ const _Ro = "Rotations";
1008
+ const _S = "Signature";
1009
+ const _SA = "SigningAlgorithms";
1010
+ const _SAi = "SigningAlgorithm";
1011
+ const _SAo = "SourceArn";
1012
+ const _SEA = "SourceEncryptionAlgorithm";
1013
+ const _SEC = "SourceEncryptionContext";
1014
+ const _SKD = "ScheduleKeyDeletion";
1015
+ const _SKDR = "ScheduleKeyDeletionRequest";
1016
+ const _SKDRc = "ScheduleKeyDeletionResponse";
1017
+ const _SKI = "SourceKeyId";
1018
+ const _SKMI = "SourceKeyMaterialId";
1019
+ const _SR = "SignRequest";
1020
+ const _SRi = "SignResponse";
1021
+ const _SS = "SharedSecret";
1022
+ const _SV = "SignatureValid";
1023
+ const _Si = "Sign";
1024
+ const _T = "Tags";
1025
+ const _TAC = "TrustAnchorCertificate";
1026
+ const _TE = "TagException";
1027
+ const _TK = "TagKey";
1028
+ const _TKI = "TargetKeyId";
1029
+ const _TKa = "TagKeys";
1030
+ const _TL = "TagList";
1031
+ const _TR = "TagResource";
1032
+ const _TRR = "TagResourceRequest";
1033
+ const _TSD = "TrackingStartDate";
1034
+ const _TV = "TagValue";
1035
+ const _Ta = "Tag";
1036
+ const _Ti = "Timestamp";
1037
+ const _Tr = "Truncated";
1038
+ const _UA = "UpdateAlias";
1039
+ const _UAR = "UpdateAliasRequest";
1040
+ const _UCKS = "UpdateCustomKeyStore";
1041
+ const _UCKSR = "UpdateCustomKeyStoreRequest";
1042
+ const _UCKSRp = "UpdateCustomKeyStoreResponse";
1043
+ const _UE = "UriEndpoint";
1044
+ const _UKD = "UpdateKeyDescription";
1045
+ const _UKDR = "UpdateKeyDescriptionRequest";
1046
+ const _UOE = "UnsupportedOperationException";
1047
+ const _UP = "UriPath";
1048
+ const _UPR = "UpdatePrimaryRegion";
1049
+ const _UPRR = "UpdatePrimaryRegionRequest";
1050
+ const _UR = "UntagResource";
1051
+ const _URR = "UntagResourceRequest";
1052
+ const _V = "Verify";
1053
+ const _VESN = "VpcEndpointServiceName";
1054
+ const _VESO = "VpcEndpointServiceOwner";
1055
+ const _VM = "VerifyMac";
1056
+ const _VMR = "VerifyMacRequest";
1057
+ const _VMRe = "VerifyMacResponse";
1058
+ const _VR = "VerifyRequest";
1059
+ const _VRe = "VerifyResponse";
1060
+ const _VT = "ValidTo";
1061
+ const _WA = "WrappingAlgorithm";
1062
+ const _WKS = "WrappingKeySpec";
1063
+ const _XKAIUE = "XksKeyAlreadyInUseException";
1064
+ const _XKC = "XksKeyConfiguration";
1065
+ const _XKCT = "XksKeyConfigurationType";
1066
+ const _XKI = "XksKeyId";
1067
+ const _XKICE = "XksKeyInvalidConfigurationException";
1068
+ const _XKNFE = "XksKeyNotFoundException";
1069
+ const _XPAAKIT = "XksProxyAuthenticationAccessKeyIdType";
1070
+ const _XPAC = "XksProxyAuthenticationCredential";
1071
+ const _XPACT = "XksProxyAuthenticationCredentialType";
1072
+ const _XPARSAKT = "XksProxyAuthenticationRawSecretAccessKeyType";
1073
+ const _XPC = "XksProxyConnectivity";
1074
+ const _XPCT = "XksProxyConfigurationType";
1075
+ const _XPCk = "XksProxyConfiguration";
1076
+ const _XPIACE = "XksProxyIncorrectAuthenticationCredentialException";
1077
+ const _XPICE = "XksProxyInvalidConfigurationException";
1078
+ const _XPIRE = "XksProxyInvalidResponseException";
1079
+ const _XPUE = "XksProxyUriEndpoint";
1080
+ const _XPUEIUE = "XksProxyUriEndpointInUseException";
1081
+ const _XPUIUE = "XksProxyUriInUseException";
1082
+ const _XPUP = "XksProxyUriPath";
1083
+ const _XPUUE = "XksProxyUriUnreachableException";
1084
+ const _XPVESICE = "XksProxyVpcEndpointServiceInvalidConfigurationException";
1085
+ const _XPVESIUE = "XksProxyVpcEndpointServiceInUseException";
1086
+ const _XPVESN = "XksProxyVpcEndpointServiceName";
1087
+ const _XPVESNFE = "XksProxyVpcEndpointServiceNotFoundException";
1088
+ const _XPVESO = "XksProxyVpcEndpointServiceOwner";
1089
+ const _aQE = "awsQueryError";
1090
+ const _c = "client";
1091
+ const _e = "error";
1092
+ const _hE = "httpError";
1093
+ const _m = "message";
1094
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.kms";
1095
+ const _se = "server";
1096
+ const n0 = "com.amazonaws.kms";
1097
+ const _s_registry = TypeRegistry.for(_s);
1098
+ var KMSServiceException$ = [-3, _s, "KMSServiceException", 0, [], []];
1099
+ _s_registry.registerError(KMSServiceException$, KMSServiceException);
1100
+ const n0_registry = TypeRegistry.for(n0);
1101
+ var AlreadyExistsException$ = [-3, n0, _AEE,
1102
+ { [_aQE]: [`AlreadyExists`, 409], [_e]: _c, [_hE]: 409 },
1103
+ [_m],
1104
+ [0]
1105
+ ];
1106
+ n0_registry.registerError(AlreadyExistsException$, AlreadyExistsException);
1107
+ var CloudHsmClusterInUseException$ = [-3, n0, _CHCIUE,
1108
+ { [_aQE]: [`CloudHsmClusterInUseException`, 400], [_e]: _c, [_hE]: 400 },
1109
+ [_m],
1110
+ [0]
1111
+ ];
1112
+ n0_registry.registerError(CloudHsmClusterInUseException$, CloudHsmClusterInUseException);
1113
+ var CloudHsmClusterInvalidConfigurationException$ = [-3, n0, _CHCICE,
1114
+ { [_aQE]: [`CloudHsmClusterInvalidConfigurationException`, 400], [_e]: _c, [_hE]: 400 },
1115
+ [_m],
1116
+ [0]
1117
+ ];
1118
+ n0_registry.registerError(CloudHsmClusterInvalidConfigurationException$, CloudHsmClusterInvalidConfigurationException);
1119
+ var CloudHsmClusterNotActiveException$ = [-3, n0, _CHCNAE,
1120
+ { [_aQE]: [`CloudHsmClusterNotActiveException`, 400], [_e]: _c, [_hE]: 400 },
1121
+ [_m],
1122
+ [0]
1123
+ ];
1124
+ n0_registry.registerError(CloudHsmClusterNotActiveException$, CloudHsmClusterNotActiveException);
1125
+ var CloudHsmClusterNotFoundException$ = [-3, n0, _CHCNFE,
1126
+ { [_aQE]: [`CloudHsmClusterNotFoundException`, 400], [_e]: _c, [_hE]: 400 },
1127
+ [_m],
1128
+ [0]
1129
+ ];
1130
+ n0_registry.registerError(CloudHsmClusterNotFoundException$, CloudHsmClusterNotFoundException);
1131
+ var CloudHsmClusterNotRelatedException$ = [-3, n0, _CHCNRE,
1132
+ { [_aQE]: [`CloudHsmClusterNotRelatedException`, 400], [_e]: _c, [_hE]: 400 },
1133
+ [_m],
1134
+ [0]
1135
+ ];
1136
+ n0_registry.registerError(CloudHsmClusterNotRelatedException$, CloudHsmClusterNotRelatedException);
1137
+ var ConflictException$ = [-3, n0, _CE,
1138
+ { [_aQE]: [`ConflictException`, 409], [_e]: _c, [_hE]: 409 },
1139
+ [_m],
1140
+ [0]
1141
+ ];
1142
+ n0_registry.registerError(ConflictException$, ConflictException);
1143
+ var CustomKeyStoreHasCMKsException$ = [-3, n0, _CKSHCMKE,
1144
+ { [_aQE]: [`CustomKeyStoreHasCMKsException`, 400], [_e]: _c, [_hE]: 400 },
1145
+ [_m],
1146
+ [0]
1147
+ ];
1148
+ n0_registry.registerError(CustomKeyStoreHasCMKsException$, CustomKeyStoreHasCMKsException);
1149
+ var CustomKeyStoreInvalidStateException$ = [-3, n0, _CKSISE,
1150
+ { [_aQE]: [`CustomKeyStoreInvalidStateException`, 400], [_e]: _c, [_hE]: 400 },
1151
+ [_m],
1152
+ [0]
1153
+ ];
1154
+ n0_registry.registerError(CustomKeyStoreInvalidStateException$, CustomKeyStoreInvalidStateException);
1155
+ var CustomKeyStoreNameInUseException$ = [-3, n0, _CKSNIUE,
1156
+ { [_aQE]: [`CustomKeyStoreNameInUseException`, 400], [_e]: _c, [_hE]: 400 },
1157
+ [_m],
1158
+ [0]
1159
+ ];
1160
+ n0_registry.registerError(CustomKeyStoreNameInUseException$, CustomKeyStoreNameInUseException);
1161
+ var CustomKeyStoreNotFoundException$ = [-3, n0, _CKSNFE,
1162
+ { [_aQE]: [`CustomKeyStoreNotFoundException`, 400], [_e]: _c, [_hE]: 400 },
1163
+ [_m],
1164
+ [0]
1165
+ ];
1166
+ n0_registry.registerError(CustomKeyStoreNotFoundException$, CustomKeyStoreNotFoundException);
1167
+ var DependencyTimeoutException$ = [-3, n0, _DTE,
1168
+ { [_aQE]: [`DependencyTimeout`, 503], [_e]: _se, [_hE]: 503 },
1169
+ [_m],
1170
+ [0]
1171
+ ];
1172
+ n0_registry.registerError(DependencyTimeoutException$, DependencyTimeoutException);
1173
+ var DisabledException$ = [-3, n0, _DE,
1174
+ { [_aQE]: [`Disabled`, 409], [_e]: _c, [_hE]: 409 },
1175
+ [_m],
1176
+ [0]
1177
+ ];
1178
+ n0_registry.registerError(DisabledException$, DisabledException);
1179
+ var DryRunOperationException$ = [-3, n0, _DROE,
1180
+ { [_aQE]: [`DryRunOperation`, 412], [_e]: _c, [_hE]: 412 },
1181
+ [_m],
1182
+ [0]
1183
+ ];
1184
+ n0_registry.registerError(DryRunOperationException$, DryRunOperationException);
1185
+ var ExpiredImportTokenException$ = [-3, n0, _EITE,
1186
+ { [_aQE]: [`ExpiredImportTokenException`, 400], [_e]: _c, [_hE]: 400 },
1187
+ [_m],
1188
+ [0]
1189
+ ];
1190
+ n0_registry.registerError(ExpiredImportTokenException$, ExpiredImportTokenException);
1191
+ var IncorrectKeyException$ = [-3, n0, _IKE,
1192
+ { [_aQE]: [`IncorrectKeyException`, 400], [_e]: _c, [_hE]: 400 },
1193
+ [_m],
1194
+ [0]
1195
+ ];
1196
+ n0_registry.registerError(IncorrectKeyException$, IncorrectKeyException);
1197
+ var IncorrectKeyMaterialException$ = [-3, n0, _IKME,
1198
+ { [_aQE]: [`IncorrectKeyMaterialException`, 400], [_e]: _c, [_hE]: 400 },
1199
+ [_m],
1200
+ [0]
1201
+ ];
1202
+ n0_registry.registerError(IncorrectKeyMaterialException$, IncorrectKeyMaterialException);
1203
+ var IncorrectTrustAnchorException$ = [-3, n0, _ITAE,
1204
+ { [_aQE]: [`IncorrectTrustAnchorException`, 400], [_e]: _c, [_hE]: 400 },
1205
+ [_m],
1206
+ [0]
1207
+ ];
1208
+ n0_registry.registerError(IncorrectTrustAnchorException$, IncorrectTrustAnchorException);
1209
+ var InvalidAliasNameException$ = [-3, n0, _IANE,
1210
+ { [_aQE]: [`InvalidAliasName`, 400], [_e]: _c, [_hE]: 400 },
1211
+ [_m],
1212
+ [0]
1213
+ ];
1214
+ n0_registry.registerError(InvalidAliasNameException$, InvalidAliasNameException);
1215
+ var InvalidArnException$ = [-3, n0, _IAE,
1216
+ { [_aQE]: [`InvalidArn`, 400], [_e]: _c, [_hE]: 400 },
1217
+ [_m],
1218
+ [0]
1219
+ ];
1220
+ n0_registry.registerError(InvalidArnException$, InvalidArnException);
1221
+ var InvalidCiphertextException$ = [-3, n0, _ICE,
1222
+ { [_aQE]: [`InvalidCiphertext`, 400], [_e]: _c, [_hE]: 400 },
1223
+ [_m],
1224
+ [0]
1225
+ ];
1226
+ n0_registry.registerError(InvalidCiphertextException$, InvalidCiphertextException);
1227
+ var InvalidGrantIdException$ = [-3, n0, _IGIE,
1228
+ { [_aQE]: [`InvalidGrantId`, 400], [_e]: _c, [_hE]: 400 },
1229
+ [_m],
1230
+ [0]
1231
+ ];
1232
+ n0_registry.registerError(InvalidGrantIdException$, InvalidGrantIdException);
1233
+ var InvalidGrantTokenException$ = [-3, n0, _IGTE,
1234
+ { [_aQE]: [`InvalidGrantToken`, 400], [_e]: _c, [_hE]: 400 },
1235
+ [_m],
1236
+ [0]
1237
+ ];
1238
+ n0_registry.registerError(InvalidGrantTokenException$, InvalidGrantTokenException);
1239
+ var InvalidImportTokenException$ = [-3, n0, _IITE,
1240
+ { [_aQE]: [`InvalidImportTokenException`, 400], [_e]: _c, [_hE]: 400 },
1241
+ [_m],
1242
+ [0]
1243
+ ];
1244
+ n0_registry.registerError(InvalidImportTokenException$, InvalidImportTokenException);
1245
+ var InvalidKeyUsageException$ = [-3, n0, _IKUE,
1246
+ { [_aQE]: [`InvalidKeyUsage`, 400], [_e]: _c, [_hE]: 400 },
1247
+ [_m],
1248
+ [0]
1249
+ ];
1250
+ n0_registry.registerError(InvalidKeyUsageException$, InvalidKeyUsageException);
1251
+ var InvalidMarkerException$ = [-3, n0, _IME,
1252
+ { [_aQE]: [`InvalidMarker`, 400], [_e]: _c, [_hE]: 400 },
1253
+ [_m],
1254
+ [0]
1255
+ ];
1256
+ n0_registry.registerError(InvalidMarkerException$, InvalidMarkerException);
1257
+ var KeyUnavailableException$ = [-3, n0, _KUE,
1258
+ { [_aQE]: [`KeyUnavailable`, 500], [_e]: _se, [_hE]: 500 },
1259
+ [_m],
1260
+ [0]
1261
+ ];
1262
+ n0_registry.registerError(KeyUnavailableException$, KeyUnavailableException);
1263
+ var KMSInternalException$ = [-3, n0, _KMSIE,
1264
+ { [_aQE]: [`KMSInternal`, 500], [_e]: _se, [_hE]: 500 },
1265
+ [_m],
1266
+ [0]
1267
+ ];
1268
+ n0_registry.registerError(KMSInternalException$, KMSInternalException);
1269
+ var KMSInvalidMacException$ = [-3, n0, _KMSIME,
1270
+ { [_aQE]: [`KMSInvalidMac`, 400], [_e]: _c, [_hE]: 400 },
1271
+ [_m],
1272
+ [0]
1273
+ ];
1274
+ n0_registry.registerError(KMSInvalidMacException$, KMSInvalidMacException);
1275
+ var KMSInvalidSignatureException$ = [-3, n0, _KMSISE,
1276
+ { [_aQE]: [`KMSInvalidSignature`, 400], [_e]: _c, [_hE]: 400 },
1277
+ [_m],
1278
+ [0]
1279
+ ];
1280
+ n0_registry.registerError(KMSInvalidSignatureException$, KMSInvalidSignatureException);
1281
+ var KMSInvalidStateException$ = [-3, n0, _KMSISEn,
1282
+ { [_aQE]: [`KMSInvalidStateException`, 409], [_e]: _c, [_hE]: 409 },
1283
+ [_m],
1284
+ [0]
1285
+ ];
1286
+ n0_registry.registerError(KMSInvalidStateException$, KMSInvalidStateException);
1287
+ var LimitExceededException$ = [-3, n0, _LEE,
1288
+ { [_aQE]: [`LimitExceeded`, 400], [_e]: _c, [_hE]: 400 },
1289
+ [_m],
1290
+ [0]
1291
+ ];
1292
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
1293
+ var MalformedPolicyDocumentException$ = [-3, n0, _MPDE,
1294
+ { [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 },
1295
+ [_m],
1296
+ [0]
1297
+ ];
1298
+ n0_registry.registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
1299
+ var NotFoundException$ = [-3, n0, _NFE,
1300
+ { [_aQE]: [`NotFound`, 404], [_e]: _c, [_hE]: 404 },
1301
+ [_m],
1302
+ [0]
1303
+ ];
1304
+ n0_registry.registerError(NotFoundException$, NotFoundException);
1305
+ var TagException$ = [-3, n0, _TE,
1306
+ { [_aQE]: [`TagException`, 400], [_e]: _c, [_hE]: 400 },
1307
+ [_m],
1308
+ [0]
1309
+ ];
1310
+ n0_registry.registerError(TagException$, TagException);
1311
+ var UnsupportedOperationException$ = [-3, n0, _UOE,
1312
+ { [_aQE]: [`UnsupportedOperation`, 400], [_e]: _c, [_hE]: 400 },
1313
+ [_m],
1314
+ [0]
1315
+ ];
1316
+ n0_registry.registerError(UnsupportedOperationException$, UnsupportedOperationException);
1317
+ var XksKeyAlreadyInUseException$ = [-3, n0, _XKAIUE,
1318
+ { [_aQE]: [`XksKeyAlreadyInUse`, 400], [_e]: _c, [_hE]: 400 },
1319
+ [_m],
1320
+ [0]
1321
+ ];
1322
+ n0_registry.registerError(XksKeyAlreadyInUseException$, XksKeyAlreadyInUseException);
1323
+ var XksKeyInvalidConfigurationException$ = [-3, n0, _XKICE,
1324
+ { [_aQE]: [`XksKeyInvalidConfiguration`, 400], [_e]: _c, [_hE]: 400 },
1325
+ [_m],
1326
+ [0]
1327
+ ];
1328
+ n0_registry.registerError(XksKeyInvalidConfigurationException$, XksKeyInvalidConfigurationException);
1329
+ var XksKeyNotFoundException$ = [-3, n0, _XKNFE,
1330
+ { [_aQE]: [`XksKeyNotFoundException`, 400], [_e]: _c, [_hE]: 400 },
1331
+ [_m],
1332
+ [0]
1333
+ ];
1334
+ n0_registry.registerError(XksKeyNotFoundException$, XksKeyNotFoundException);
1335
+ var XksProxyIncorrectAuthenticationCredentialException$ = [-3, n0, _XPIACE,
1336
+ { [_aQE]: [`XksProxyIncorrectAuthenticationCredentialException`, 400], [_e]: _c, [_hE]: 400 },
1337
+ [_m],
1338
+ [0]
1339
+ ];
1340
+ n0_registry.registerError(XksProxyIncorrectAuthenticationCredentialException$, XksProxyIncorrectAuthenticationCredentialException);
1341
+ var XksProxyInvalidConfigurationException$ = [-3, n0, _XPICE,
1342
+ { [_aQE]: [`XksProxyInvalidConfigurationException`, 400], [_e]: _c, [_hE]: 400 },
1343
+ [_m],
1344
+ [0]
1345
+ ];
1346
+ n0_registry.registerError(XksProxyInvalidConfigurationException$, XksProxyInvalidConfigurationException);
1347
+ var XksProxyInvalidResponseException$ = [-3, n0, _XPIRE,
1348
+ { [_aQE]: [`XksProxyInvalidResponseException`, 400], [_e]: _c, [_hE]: 400 },
1349
+ [_m],
1350
+ [0]
1351
+ ];
1352
+ n0_registry.registerError(XksProxyInvalidResponseException$, XksProxyInvalidResponseException);
1353
+ var XksProxyUriEndpointInUseException$ = [-3, n0, _XPUEIUE,
1354
+ { [_aQE]: [`XksProxyUriEndpointInUseException`, 400], [_e]: _c, [_hE]: 400 },
1355
+ [_m],
1356
+ [0]
1357
+ ];
1358
+ n0_registry.registerError(XksProxyUriEndpointInUseException$, XksProxyUriEndpointInUseException);
1359
+ var XksProxyUriInUseException$ = [-3, n0, _XPUIUE,
1360
+ { [_aQE]: [`XksProxyUriInUseException`, 400], [_e]: _c, [_hE]: 400 },
1361
+ [_m],
1362
+ [0]
1363
+ ];
1364
+ n0_registry.registerError(XksProxyUriInUseException$, XksProxyUriInUseException);
1365
+ var XksProxyUriUnreachableException$ = [-3, n0, _XPUUE,
1366
+ { [_aQE]: [`XksProxyUriUnreachableException`, 400], [_e]: _c, [_hE]: 400 },
1367
+ [_m],
1368
+ [0]
1369
+ ];
1370
+ n0_registry.registerError(XksProxyUriUnreachableException$, XksProxyUriUnreachableException);
1371
+ var XksProxyVpcEndpointServiceInUseException$ = [-3, n0, _XPVESIUE,
1372
+ { [_aQE]: [`XksProxyVpcEndpointServiceInUseException`, 400], [_e]: _c, [_hE]: 400 },
1373
+ [_m],
1374
+ [0]
1375
+ ];
1376
+ n0_registry.registerError(XksProxyVpcEndpointServiceInUseException$, XksProxyVpcEndpointServiceInUseException);
1377
+ var XksProxyVpcEndpointServiceInvalidConfigurationException$ = [-3, n0, _XPVESICE,
1378
+ { [_aQE]: [`XksProxyVpcEndpointServiceInvalidConfigurationException`, 400], [_e]: _c, [_hE]: 400 },
1379
+ [_m],
1380
+ [0]
1381
+ ];
1382
+ n0_registry.registerError(XksProxyVpcEndpointServiceInvalidConfigurationException$, XksProxyVpcEndpointServiceInvalidConfigurationException);
1383
+ var XksProxyVpcEndpointServiceNotFoundException$ = [-3, n0, _XPVESNFE,
1384
+ { [_aQE]: [`XksProxyVpcEndpointServiceNotFoundException`, 400], [_e]: _c, [_hE]: 400 },
1385
+ [_m],
1386
+ [0]
1387
+ ];
1388
+ n0_registry.registerError(XksProxyVpcEndpointServiceNotFoundException$, XksProxyVpcEndpointServiceNotFoundException);
1389
+ const errorTypeRegistries = [
1390
+ _s_registry,
1391
+ n0_registry,
1392
+ ];
1393
+ var KeyStorePasswordType = [0, n0, _KSPT, 8, 0];
1394
+ var PlaintextType = [0, n0, _PT, 8, 21];
1395
+ var XksProxyAuthenticationAccessKeyIdType = [0, n0, _XPAAKIT, 8, 0];
1396
+ var XksProxyAuthenticationRawSecretAccessKeyType = [0, n0, _XPARSAKT, 8, 0];
1397
+ var AliasListEntry$ = [3, n0, _ALE,
1398
+ 0,
1399
+ [_AN, _AA, _TKI, _CD, _LUD],
1400
+ [0, 0, 0, 4, 4]
1401
+ ];
1402
+ var CancelKeyDeletionRequest$ = [3, n0, _CKDR,
1403
+ 0,
1404
+ [_KI],
1405
+ [0], 1
1406
+ ];
1407
+ var CancelKeyDeletionResponse$ = [3, n0, _CKDRa,
1408
+ 0,
1409
+ [_KI],
1410
+ [0]
1411
+ ];
1412
+ var ConnectCustomKeyStoreRequest$ = [3, n0, _CCKSR,
1413
+ 0,
1414
+ [_CKSI],
1415
+ [0], 1
1416
+ ];
1417
+ var ConnectCustomKeyStoreResponse$ = [3, n0, _CCKSRo,
1418
+ 0,
1419
+ [],
1420
+ []
1421
+ ];
1422
+ var CreateAliasRequest$ = [3, n0, _CAR,
1423
+ 0,
1424
+ [_AN, _TKI],
1425
+ [0, 0], 2
1426
+ ];
1427
+ var CreateCustomKeyStoreRequest$ = [3, n0, _CCKSRr,
1428
+ 0,
1429
+ [_CKSN, _CHCI, _TAC, _KSP, _CKST, _XPUE, _XPUP, _XPVESN, _XPVESO, _XPAC, _XPC],
1430
+ [0, 0, 0, [() => KeyStorePasswordType, 0], 0, 0, 0, 0, 0, [() => XksProxyAuthenticationCredentialType$, 0], 0], 1
1431
+ ];
1432
+ var CreateCustomKeyStoreResponse$ = [3, n0, _CCKSRre,
1433
+ 0,
1434
+ [_CKSI],
1435
+ [0]
1436
+ ];
1437
+ var CreateGrantRequest$ = [3, n0, _CGR,
1438
+ 0,
1439
+ [_KI, _O, _GP, _RP, _C, _GT, _N, _DR, _GSP, _RSP],
1440
+ [0, 64 | 0, 0, 0, () => GrantConstraints$, 64 | 0, 0, 2, 0, 0], 2
1441
+ ];
1442
+ var CreateGrantResponse$ = [3, n0, _CGRr,
1443
+ 0,
1444
+ [_GTr, _GI],
1445
+ [0, 0]
1446
+ ];
1447
+ var CreateKeyRequest$ = [3, n0, _CKR,
1448
+ 0,
1449
+ [_P, _D, _KU, _CMKS, _KS, _Or, _CKSI, _BPLSC, _T, _MR, _XKI],
1450
+ [0, 0, 0, 0, 0, 0, 0, 2, () => TagList, 2, 0]
1451
+ ];
1452
+ var CreateKeyResponse$ = [3, n0, _CKRr,
1453
+ 0,
1454
+ [_KM],
1455
+ [() => KeyMetadata$]
1456
+ ];
1457
+ var CustomKeyStoresListEntry$ = [3, n0, _CKSLE,
1458
+ 0,
1459
+ [_CKSI, _CKSN, _CHCI, _TAC, _CS, _CEC, _CD, _CKST, _XPCk],
1460
+ [0, 0, 0, 0, 0, 0, 4, 0, [() => XksProxyConfigurationType$, 0]]
1461
+ ];
1462
+ var DecryptRequest$ = [3, n0, _DRe,
1463
+ 0,
1464
+ [_CB, _EC, _GT, _KI, _EA, _R, _DR, _DRM],
1465
+ [21, 128 | 0, 64 | 0, 0, 0, () => RecipientInfo$, 2, 64 | 0]
1466
+ ];
1467
+ var DecryptResponse$ = [3, n0, _DRec,
1468
+ 0,
1469
+ [_KI, _Pl, _EA, _CFR, _KMI],
1470
+ [0, [() => PlaintextType, 0], 0, 21, 0]
1471
+ ];
1472
+ var DeleteAliasRequest$ = [3, n0, _DAR,
1473
+ 0,
1474
+ [_AN],
1475
+ [0], 1
1476
+ ];
1477
+ var DeleteCustomKeyStoreRequest$ = [3, n0, _DCKSR,
1478
+ 0,
1479
+ [_CKSI],
1480
+ [0], 1
1481
+ ];
1482
+ var DeleteCustomKeyStoreResponse$ = [3, n0, _DCKSRe,
1483
+ 0,
1484
+ [],
1485
+ []
1486
+ ];
1487
+ var DeleteImportedKeyMaterialRequest$ = [3, n0, _DIKMR,
1488
+ 0,
1489
+ [_KI, _KMI],
1490
+ [0, 0], 1
1491
+ ];
1492
+ var DeleteImportedKeyMaterialResponse$ = [3, n0, _DIKMRe,
1493
+ 0,
1494
+ [_KI, _KMI],
1495
+ [0, 0]
1496
+ ];
1497
+ var DeriveSharedSecretRequest$ = [3, n0, _DSSR,
1498
+ 0,
1499
+ [_KI, _KAA, _PK, _GT, _DR, _R],
1500
+ [0, 0, 21, 64 | 0, 2, () => RecipientInfo$], 3
1501
+ ];
1502
+ var DeriveSharedSecretResponse$ = [3, n0, _DSSRe,
1503
+ 0,
1504
+ [_KI, _SS, _CFR, _KAA, _KO],
1505
+ [0, [() => PlaintextType, 0], 21, 0, 0]
1506
+ ];
1507
+ var DescribeCustomKeyStoresRequest$ = [3, n0, _DCKSRes,
1508
+ 0,
1509
+ [_CKSI, _CKSN, _L, _M],
1510
+ [0, 0, 1, 0]
1511
+ ];
1512
+ var DescribeCustomKeyStoresResponse$ = [3, n0, _DCKSResc,
1513
+ 0,
1514
+ [_CKS, _NM, _Tr],
1515
+ [[() => CustomKeyStoresList, 0], 0, 2]
1516
+ ];
1517
+ var DescribeKeyRequest$ = [3, n0, _DKR,
1518
+ 0,
1519
+ [_KI, _GT],
1520
+ [0, 64 | 0], 1
1521
+ ];
1522
+ var DescribeKeyResponse$ = [3, n0, _DKRe,
1523
+ 0,
1524
+ [_KM],
1525
+ [() => KeyMetadata$]
1526
+ ];
1527
+ var DisableKeyRequest$ = [3, n0, _DKRi,
1528
+ 0,
1529
+ [_KI],
1530
+ [0], 1
1531
+ ];
1532
+ var DisableKeyRotationRequest$ = [3, n0, _DKRR,
1533
+ 0,
1534
+ [_KI],
1535
+ [0], 1
1536
+ ];
1537
+ var DisconnectCustomKeyStoreRequest$ = [3, n0, _DCKSRi,
1538
+ 0,
1539
+ [_CKSI],
1540
+ [0], 1
1541
+ ];
1542
+ var DisconnectCustomKeyStoreResponse$ = [3, n0, _DCKSRis,
1543
+ 0,
1544
+ [],
1545
+ []
1546
+ ];
1547
+ var EnableKeyRequest$ = [3, n0, _EKR,
1548
+ 0,
1549
+ [_KI],
1550
+ [0], 1
1551
+ ];
1552
+ var EnableKeyRotationRequest$ = [3, n0, _EKRR,
1553
+ 0,
1554
+ [_KI, _RPID],
1555
+ [0, 1], 1
1556
+ ];
1557
+ var EncryptRequest$ = [3, n0, _ER,
1558
+ 0,
1559
+ [_KI, _Pl, _EC, _GT, _EA, _DR],
1560
+ [0, [() => PlaintextType, 0], 128 | 0, 64 | 0, 0, 2], 2
1561
+ ];
1562
+ var EncryptResponse$ = [3, n0, _ERn,
1563
+ 0,
1564
+ [_CB, _KI, _EA],
1565
+ [21, 0, 0]
1566
+ ];
1567
+ var GenerateDataKeyPairRequest$ = [3, n0, _GDKPR,
1568
+ 0,
1569
+ [_KI, _KPS, _EC, _GT, _R, _DR],
1570
+ [0, 0, 128 | 0, 64 | 0, () => RecipientInfo$, 2], 2
1571
+ ];
1572
+ var GenerateDataKeyPairResponse$ = [3, n0, _GDKPRe,
1573
+ 0,
1574
+ [_PKCB, _PKP, _PK, _KI, _KPS, _CFR, _KMI],
1575
+ [21, [() => PlaintextType, 0], 21, 0, 0, 21, 0]
1576
+ ];
1577
+ var GenerateDataKeyPairWithoutPlaintextRequest$ = [3, n0, _GDKPWPR,
1578
+ 0,
1579
+ [_KI, _KPS, _EC, _GT, _DR],
1580
+ [0, 0, 128 | 0, 64 | 0, 2], 2
1581
+ ];
1582
+ var GenerateDataKeyPairWithoutPlaintextResponse$ = [3, n0, _GDKPWPRe,
1583
+ 0,
1584
+ [_PKCB, _PK, _KI, _KPS, _KMI],
1585
+ [21, 21, 0, 0, 0]
1586
+ ];
1587
+ var GenerateDataKeyRequest$ = [3, n0, _GDKR,
1588
+ 0,
1589
+ [_KI, _EC, _NOB, _KS, _GT, _R, _DR],
1590
+ [0, 128 | 0, 1, 0, 64 | 0, () => RecipientInfo$, 2], 1
1591
+ ];
1592
+ var GenerateDataKeyResponse$ = [3, n0, _GDKRe,
1593
+ 0,
1594
+ [_CB, _Pl, _KI, _CFR, _KMI],
1595
+ [21, [() => PlaintextType, 0], 0, 21, 0]
1596
+ ];
1597
+ var GenerateDataKeyWithoutPlaintextRequest$ = [3, n0, _GDKWPR,
1598
+ 0,
1599
+ [_KI, _EC, _KS, _NOB, _GT, _DR],
1600
+ [0, 128 | 0, 0, 1, 64 | 0, 2], 1
1601
+ ];
1602
+ var GenerateDataKeyWithoutPlaintextResponse$ = [3, n0, _GDKWPRe,
1603
+ 0,
1604
+ [_CB, _KI, _KMI],
1605
+ [21, 0, 0]
1606
+ ];
1607
+ var GenerateMacRequest$ = [3, n0, _GMR,
1608
+ 0,
1609
+ [_Me, _KI, _MA, _GT, _DR],
1610
+ [[() => PlaintextType, 0], 0, 0, 64 | 0, 2], 3
1611
+ ];
1612
+ var GenerateMacResponse$ = [3, n0, _GMRe,
1613
+ 0,
1614
+ [_Ma, _MA, _KI],
1615
+ [21, 0, 0]
1616
+ ];
1617
+ var GenerateRandomRequest$ = [3, n0, _GRR,
1618
+ 0,
1619
+ [_NOB, _CKSI, _R],
1620
+ [1, 0, () => RecipientInfo$]
1621
+ ];
1622
+ var GenerateRandomResponse$ = [3, n0, _GRRe,
1623
+ 0,
1624
+ [_Pl, _CFR],
1625
+ [[() => PlaintextType, 0], 21]
1626
+ ];
1627
+ var GetKeyLastUsageRequest$ = [3, n0, _GKLUR,
1628
+ 0,
1629
+ [_KI],
1630
+ [0], 1
1631
+ ];
1632
+ var GetKeyLastUsageResponse$ = [3, n0, _GKLURe,
1633
+ 0,
1634
+ [_KI, _KLU, _TSD, _KCD],
1635
+ [0, () => KeyLastUsageData$, 4, 4]
1636
+ ];
1637
+ var GetKeyPolicyRequest$ = [3, n0, _GKPR,
1638
+ 0,
1639
+ [_KI, _PN],
1640
+ [0, 0], 1
1641
+ ];
1642
+ var GetKeyPolicyResponse$ = [3, n0, _GKPRe,
1643
+ 0,
1644
+ [_P, _PN],
1645
+ [0, 0]
1646
+ ];
1647
+ var GetKeyRotationStatusRequest$ = [3, n0, _GKRSR,
1648
+ 0,
1649
+ [_KI],
1650
+ [0], 1
1651
+ ];
1652
+ var GetKeyRotationStatusResponse$ = [3, n0, _GKRSRe,
1653
+ 0,
1654
+ [_KRE, _KI, _RPID, _NRD, _ODRSD],
1655
+ [2, 0, 1, 4, 4]
1656
+ ];
1657
+ var GetParametersForImportRequest$ = [3, n0, _GPFIR,
1658
+ 0,
1659
+ [_KI, _WA, _WKS],
1660
+ [0, 0, 0], 3
1661
+ ];
1662
+ var GetParametersForImportResponse$ = [3, n0, _GPFIRe,
1663
+ 0,
1664
+ [_KI, _IT, _PK, _PVT],
1665
+ [0, 21, [() => PlaintextType, 0], 4]
1666
+ ];
1667
+ var GetPublicKeyRequest$ = [3, n0, _GPKR,
1668
+ 0,
1669
+ [_KI, _GT],
1670
+ [0, 64 | 0], 1
1671
+ ];
1672
+ var GetPublicKeyResponse$ = [3, n0, _GPKRe,
1673
+ 0,
1674
+ [_KI, _PK, _CMKS, _KS, _KU, _EAn, _SA, _KAAe],
1675
+ [0, 21, 0, 0, 0, 64 | 0, 64 | 0, 64 | 0]
1676
+ ];
1677
+ var GrantConstraints$ = [3, n0, _GC,
1678
+ 0,
1679
+ [_ECS, _ECE, _SAo],
1680
+ [128 | 0, 128 | 0, 0]
1681
+ ];
1682
+ var GrantListEntry$ = [3, n0, _GLE,
1683
+ 0,
1684
+ [_KI, _GI, _N, _CD, _GP, _RP, _IA, _O, _C, _GSP, _RSP],
1685
+ [0, 0, 0, 4, 0, 0, 0, 64 | 0, () => GrantConstraints$, 0, 0]
1686
+ ];
1687
+ var ImportKeyMaterialRequest$ = [3, n0, _IKMR,
1688
+ 0,
1689
+ [_KI, _IT, _EKM, _VT, _EM, _ITm, _KMD, _KMI],
1690
+ [0, 21, 21, 4, 0, 0, 0, 0], 3
1691
+ ];
1692
+ var ImportKeyMaterialResponse$ = [3, n0, _IKMRm,
1693
+ 0,
1694
+ [_KI, _KMI],
1695
+ [0, 0]
1696
+ ];
1697
+ var KeyLastUsageData$ = [3, n0, _KLUD,
1698
+ 0,
1699
+ [_Op, _Ti, _CTEI, _KRI],
1700
+ [0, 4, 0, 0]
1701
+ ];
1702
+ var KeyListEntry$ = [3, n0, _KLE,
1703
+ 0,
1704
+ [_KI, _KA],
1705
+ [0, 0]
1706
+ ];
1707
+ var KeyMetadata$ = [3, n0, _KM,
1708
+ 0,
1709
+ [_KI, _AWSAI, _A, _CD, _E, _D, _KU, _KSe, _DD, _VT, _Or, _CKSI, _CHCI, _EM, _KMe, _CMKS, _KS, _EAn, _SA, _KAAe, _MR, _MRC, _PDWID, _MAa, _XKC, _CKMI],
1710
+ [0, 0, 0, 4, 2, 0, 0, 0, 4, 4, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 64 | 0, 64 | 0, 2, () => MultiRegionConfiguration$, 1, 64 | 0, () => XksKeyConfigurationType$, 0], 1
1711
+ ];
1712
+ var ListAliasesRequest$ = [3, n0, _LAR,
1713
+ 0,
1714
+ [_KI, _L, _M],
1715
+ [0, 1, 0]
1716
+ ];
1717
+ var ListAliasesResponse$ = [3, n0, _LARi,
1718
+ 0,
1719
+ [_Al, _NM, _Tr],
1720
+ [() => AliasList, 0, 2]
1721
+ ];
1722
+ var ListGrantsRequest$ = [3, n0, _LGR,
1723
+ 0,
1724
+ [_KI, _L, _M, _GI, _GP, _GSP],
1725
+ [0, 1, 0, 0, 0, 0], 1
1726
+ ];
1727
+ var ListGrantsResponse$ = [3, n0, _LGRi,
1728
+ 0,
1729
+ [_G, _NM, _Tr],
1730
+ [() => GrantList, 0, 2]
1731
+ ];
1732
+ var ListKeyPoliciesRequest$ = [3, n0, _LKPR,
1733
+ 0,
1734
+ [_KI, _L, _M],
1735
+ [0, 1, 0], 1
1736
+ ];
1737
+ var ListKeyPoliciesResponse$ = [3, n0, _LKPRi,
1738
+ 0,
1739
+ [_PNo, _NM, _Tr],
1740
+ [64 | 0, 0, 2]
1741
+ ];
1742
+ var ListKeyRotationsRequest$ = [3, n0, _LKRR,
1743
+ 0,
1744
+ [_KI, _IKM, _L, _M],
1745
+ [0, 0, 1, 0], 1
1746
+ ];
1747
+ var ListKeyRotationsResponse$ = [3, n0, _LKRRi,
1748
+ 0,
1749
+ [_Ro, _NM, _Tr],
1750
+ [() => RotationsList, 0, 2]
1751
+ ];
1752
+ var ListKeysRequest$ = [3, n0, _LKR,
1753
+ 0,
1754
+ [_L, _M],
1755
+ [1, 0]
1756
+ ];
1757
+ var ListKeysResponse$ = [3, n0, _LKRi,
1758
+ 0,
1759
+ [_K, _NM, _Tr],
1760
+ [() => KeyList, 0, 2]
1761
+ ];
1762
+ var ListResourceTagsRequest$ = [3, n0, _LRTR,
1763
+ 0,
1764
+ [_KI, _L, _M],
1765
+ [0, 1, 0], 1
1766
+ ];
1767
+ var ListResourceTagsResponse$ = [3, n0, _LRTRi,
1768
+ 0,
1769
+ [_T, _NM, _Tr],
1770
+ [() => TagList, 0, 2]
1771
+ ];
1772
+ var ListRetirableGrantsRequest$ = [3, n0, _LRGR,
1773
+ 0,
1774
+ [_L, _M, _RP, _RSP],
1775
+ [1, 0, 0, 0]
1776
+ ];
1777
+ var MultiRegionConfiguration$ = [3, n0, _MRC,
1778
+ 0,
1779
+ [_MRKT, _PKr, _RK],
1780
+ [0, () => MultiRegionKey$, () => MultiRegionKeyList]
1781
+ ];
1782
+ var MultiRegionKey$ = [3, n0, _MRK,
1783
+ 0,
1784
+ [_A, _Re],
1785
+ [0, 0]
1786
+ ];
1787
+ var PutKeyPolicyRequest$ = [3, n0, _PKPR,
1788
+ 0,
1789
+ [_KI, _P, _PN, _BPLSC],
1790
+ [0, 0, 0, 2], 2
1791
+ ];
1792
+ var RecipientInfo$ = [3, n0, _RI,
1793
+ 0,
1794
+ [_KEA, _AD],
1795
+ [0, 21]
1796
+ ];
1797
+ var ReEncryptRequest$ = [3, n0, _RER,
1798
+ 0,
1799
+ [_DKI, _CB, _SEC, _SKI, _DEC, _SEA, _DEA, _GT, _DR, _DRM],
1800
+ [0, 21, 128 | 0, 0, 128 | 0, 0, 0, 64 | 0, 2, 64 | 0], 1
1801
+ ];
1802
+ var ReEncryptResponse$ = [3, n0, _RERe,
1803
+ 0,
1804
+ [_CB, _SKI, _KI, _SEA, _DEA, _SKMI, _DKMI],
1805
+ [21, 0, 0, 0, 0, 0, 0]
1806
+ ];
1807
+ var ReplicateKeyRequest$ = [3, n0, _RKR,
1808
+ 0,
1809
+ [_KI, _RR, _P, _BPLSC, _D, _T],
1810
+ [0, 0, 0, 2, 0, () => TagList], 2
1811
+ ];
1812
+ var ReplicateKeyResponse$ = [3, n0, _RKRe,
1813
+ 0,
1814
+ [_RKM, _RPe, _RT],
1815
+ [() => KeyMetadata$, 0, () => TagList]
1816
+ ];
1817
+ var RetireGrantRequest$ = [3, n0, _RGR,
1818
+ 0,
1819
+ [_GTr, _KI, _GI, _DR],
1820
+ [0, 0, 0, 2]
1821
+ ];
1822
+ var RevokeGrantRequest$ = [3, n0, _RGRe,
1823
+ 0,
1824
+ [_KI, _GI, _DR],
1825
+ [0, 0, 2], 2
1826
+ ];
1827
+ var RotateKeyOnDemandRequest$ = [3, n0, _RKODR,
1828
+ 0,
1829
+ [_KI],
1830
+ [0], 1
1831
+ ];
1832
+ var RotateKeyOnDemandResponse$ = [3, n0, _RKODRo,
1833
+ 0,
1834
+ [_KI],
1835
+ [0]
1836
+ ];
1837
+ var RotationsListEntry$ = [3, n0, _RLE,
1838
+ 0,
1839
+ [_KI, _KMI, _KMD, _IS, _KMS, _EM, _VT, _RD, _RTo],
1840
+ [0, 0, 0, 0, 0, 0, 4, 4, 0]
1841
+ ];
1842
+ var ScheduleKeyDeletionRequest$ = [3, n0, _SKDR,
1843
+ 0,
1844
+ [_KI, _PWID],
1845
+ [0, 1], 1
1846
+ ];
1847
+ var ScheduleKeyDeletionResponse$ = [3, n0, _SKDRc,
1848
+ 0,
1849
+ [_KI, _DD, _KSe, _PWID],
1850
+ [0, 4, 0, 1]
1851
+ ];
1852
+ var SignRequest$ = [3, n0, _SR,
1853
+ 0,
1854
+ [_KI, _Me, _SAi, _MT, _GT, _DR],
1855
+ [0, [() => PlaintextType, 0], 0, 0, 64 | 0, 2], 3
1856
+ ];
1857
+ var SignResponse$ = [3, n0, _SRi,
1858
+ 0,
1859
+ [_KI, _S, _SAi],
1860
+ [0, 21, 0]
1861
+ ];
1862
+ var Tag$ = [3, n0, _Ta,
1863
+ 0,
1864
+ [_TK, _TV],
1865
+ [0, 0], 2
1866
+ ];
1867
+ var TagResourceRequest$ = [3, n0, _TRR,
1868
+ 0,
1869
+ [_KI, _T],
1870
+ [0, () => TagList], 2
1871
+ ];
1872
+ var UntagResourceRequest$ = [3, n0, _URR,
1873
+ 0,
1874
+ [_KI, _TKa],
1875
+ [0, 64 | 0], 2
1876
+ ];
1877
+ var UpdateAliasRequest$ = [3, n0, _UAR,
1878
+ 0,
1879
+ [_AN, _TKI],
1880
+ [0, 0], 2
1881
+ ];
1882
+ var UpdateCustomKeyStoreRequest$ = [3, n0, _UCKSR,
1883
+ 0,
1884
+ [_CKSI, _NCKSN, _KSP, _CHCI, _XPUE, _XPUP, _XPVESN, _XPVESO, _XPAC, _XPC],
1885
+ [0, 0, [() => KeyStorePasswordType, 0], 0, 0, 0, 0, 0, [() => XksProxyAuthenticationCredentialType$, 0], 0], 1
1886
+ ];
1887
+ var UpdateCustomKeyStoreResponse$ = [3, n0, _UCKSRp,
1888
+ 0,
1889
+ [],
1890
+ []
1891
+ ];
1892
+ var UpdateKeyDescriptionRequest$ = [3, n0, _UKDR,
1893
+ 0,
1894
+ [_KI, _D],
1895
+ [0, 0], 2
1896
+ ];
1897
+ var UpdatePrimaryRegionRequest$ = [3, n0, _UPRR,
1898
+ 0,
1899
+ [_KI, _PR],
1900
+ [0, 0], 2
1901
+ ];
1902
+ var VerifyMacRequest$ = [3, n0, _VMR,
1903
+ 0,
1904
+ [_Me, _KI, _MA, _Ma, _GT, _DR],
1905
+ [[() => PlaintextType, 0], 0, 0, 21, 64 | 0, 2], 4
1906
+ ];
1907
+ var VerifyMacResponse$ = [3, n0, _VMRe,
1908
+ 0,
1909
+ [_KI, _MV, _MA],
1910
+ [0, 2, 0]
1911
+ ];
1912
+ var VerifyRequest$ = [3, n0, _VR,
1913
+ 0,
1914
+ [_KI, _Me, _S, _SAi, _MT, _GT, _DR],
1915
+ [0, [() => PlaintextType, 0], 21, 0, 0, 64 | 0, 2], 4
1916
+ ];
1917
+ var VerifyResponse$ = [3, n0, _VRe,
1918
+ 0,
1919
+ [_KI, _SV, _SAi],
1920
+ [0, 2, 0]
1921
+ ];
1922
+ var XksKeyConfigurationType$ = [3, n0, _XKCT,
1923
+ 0,
1924
+ [_I],
1925
+ [0]
1926
+ ];
1927
+ var XksProxyAuthenticationCredentialType$ = [3, n0, _XPACT,
1928
+ 0,
1929
+ [_AKI, _RSAK],
1930
+ [[() => XksProxyAuthenticationAccessKeyIdType, 0], [() => XksProxyAuthenticationRawSecretAccessKeyType, 0]], 2
1931
+ ];
1932
+ var XksProxyConfigurationType$ = [3, n0, _XPCT,
1933
+ 0,
1934
+ [_Co, _AKI, _UE, _UP, _VESN, _VESO],
1935
+ [0, [() => XksProxyAuthenticationAccessKeyIdType, 0], 0, 0, 0, 0]
1936
+ ];
1937
+ var __Unit = "unit";
1938
+ var AliasList = [1, n0, _AL,
1939
+ 0, () => AliasListEntry$
1940
+ ];
1941
+ var CustomKeyStoresList = [1, n0, _CKSL,
1942
+ 0, [() => CustomKeyStoresListEntry$,
1943
+ 0]
1944
+ ];
1945
+ var GrantList = [1, n0, _GL,
1946
+ 0, () => GrantListEntry$
1947
+ ];
1948
+ var KeyList = [1, n0, _KL,
1949
+ 0, () => KeyListEntry$
1950
+ ];
1951
+ var MultiRegionKeyList = [1, n0, _MRKL,
1952
+ 0, () => MultiRegionKey$
1953
+ ];
1954
+ var RotationsList = [1, n0, _RL,
1955
+ 0, () => RotationsListEntry$
1956
+ ];
1957
+ var TagList = [1, n0, _TL,
1958
+ 0, () => Tag$
1959
+ ];
1960
+ var CancelKeyDeletion$ = [9, n0, _CKD,
1961
+ 0, () => CancelKeyDeletionRequest$, () => CancelKeyDeletionResponse$
1962
+ ];
1963
+ var ConnectCustomKeyStore$ = [9, n0, _CCKS,
1964
+ 0, () => ConnectCustomKeyStoreRequest$, () => ConnectCustomKeyStoreResponse$
1965
+ ];
1966
+ var CreateAlias$ = [9, n0, _CA,
1967
+ 0, () => CreateAliasRequest$, () => __Unit
1968
+ ];
1969
+ var CreateCustomKeyStore$ = [9, n0, _CCKSr,
1970
+ 0, () => CreateCustomKeyStoreRequest$, () => CreateCustomKeyStoreResponse$
1971
+ ];
1972
+ var CreateGrant$ = [9, n0, _CG,
1973
+ 0, () => CreateGrantRequest$, () => CreateGrantResponse$
1974
+ ];
1975
+ var CreateKey$ = [9, n0, _CK,
1976
+ 0, () => CreateKeyRequest$, () => CreateKeyResponse$
1977
+ ];
1978
+ var Decrypt$ = [9, n0, _De,
1979
+ 0, () => DecryptRequest$, () => DecryptResponse$
1980
+ ];
1981
+ var DeleteAlias$ = [9, n0, _DA,
1982
+ 0, () => DeleteAliasRequest$, () => __Unit
1983
+ ];
1984
+ var DeleteCustomKeyStore$ = [9, n0, _DCKS,
1985
+ 0, () => DeleteCustomKeyStoreRequest$, () => DeleteCustomKeyStoreResponse$
1986
+ ];
1987
+ var DeleteImportedKeyMaterial$ = [9, n0, _DIKM,
1988
+ 0, () => DeleteImportedKeyMaterialRequest$, () => DeleteImportedKeyMaterialResponse$
1989
+ ];
1990
+ var DeriveSharedSecret$ = [9, n0, _DSS,
1991
+ 0, () => DeriveSharedSecretRequest$, () => DeriveSharedSecretResponse$
1992
+ ];
1993
+ var DescribeCustomKeyStores$ = [9, n0, _DCKSe,
1994
+ 0, () => DescribeCustomKeyStoresRequest$, () => DescribeCustomKeyStoresResponse$
1995
+ ];
1996
+ var DescribeKey$ = [9, n0, _DK,
1997
+ 0, () => DescribeKeyRequest$, () => DescribeKeyResponse$
1998
+ ];
1999
+ var DisableKey$ = [9, n0, _DKi,
2000
+ 0, () => DisableKeyRequest$, () => __Unit
2001
+ ];
2002
+ var DisableKeyRotation$ = [9, n0, _DKRis,
2003
+ 0, () => DisableKeyRotationRequest$, () => __Unit
2004
+ ];
2005
+ var DisconnectCustomKeyStore$ = [9, n0, _DCKSi,
2006
+ 0, () => DisconnectCustomKeyStoreRequest$, () => DisconnectCustomKeyStoreResponse$
2007
+ ];
2008
+ var EnableKey$ = [9, n0, _EK,
2009
+ 0, () => EnableKeyRequest$, () => __Unit
2010
+ ];
2011
+ var EnableKeyRotation$ = [9, n0, _EKRn,
2012
+ 0, () => EnableKeyRotationRequest$, () => __Unit
2013
+ ];
2014
+ var Encrypt$ = [9, n0, _En,
2015
+ 0, () => EncryptRequest$, () => EncryptResponse$
2016
+ ];
2017
+ var GenerateDataKey$ = [9, n0, _GDK,
2018
+ 0, () => GenerateDataKeyRequest$, () => GenerateDataKeyResponse$
2019
+ ];
2020
+ var GenerateDataKeyPair$ = [9, n0, _GDKP,
2021
+ 0, () => GenerateDataKeyPairRequest$, () => GenerateDataKeyPairResponse$
2022
+ ];
2023
+ var GenerateDataKeyPairWithoutPlaintext$ = [9, n0, _GDKPWP,
2024
+ 0, () => GenerateDataKeyPairWithoutPlaintextRequest$, () => GenerateDataKeyPairWithoutPlaintextResponse$
2025
+ ];
2026
+ var GenerateDataKeyWithoutPlaintext$ = [9, n0, _GDKWP,
2027
+ 0, () => GenerateDataKeyWithoutPlaintextRequest$, () => GenerateDataKeyWithoutPlaintextResponse$
2028
+ ];
2029
+ var GenerateMac$ = [9, n0, _GM,
2030
+ 0, () => GenerateMacRequest$, () => GenerateMacResponse$
2031
+ ];
2032
+ var GenerateRandom$ = [9, n0, _GR,
2033
+ 0, () => GenerateRandomRequest$, () => GenerateRandomResponse$
2034
+ ];
2035
+ var GetKeyLastUsage$ = [9, n0, _GKLU,
2036
+ 0, () => GetKeyLastUsageRequest$, () => GetKeyLastUsageResponse$
2037
+ ];
2038
+ var GetKeyPolicy$ = [9, n0, _GKP,
2039
+ 0, () => GetKeyPolicyRequest$, () => GetKeyPolicyResponse$
2040
+ ];
2041
+ var GetKeyRotationStatus$ = [9, n0, _GKRS,
2042
+ 0, () => GetKeyRotationStatusRequest$, () => GetKeyRotationStatusResponse$
2043
+ ];
2044
+ var GetParametersForImport$ = [9, n0, _GPFI,
2045
+ 0, () => GetParametersForImportRequest$, () => GetParametersForImportResponse$
2046
+ ];
2047
+ var GetPublicKey$ = [9, n0, _GPK,
2048
+ 0, () => GetPublicKeyRequest$, () => GetPublicKeyResponse$
2049
+ ];
2050
+ var ImportKeyMaterial$ = [9, n0, _IKMm,
2051
+ 0, () => ImportKeyMaterialRequest$, () => ImportKeyMaterialResponse$
2052
+ ];
2053
+ var ListAliases$ = [9, n0, _LA,
2054
+ 0, () => ListAliasesRequest$, () => ListAliasesResponse$
2055
+ ];
2056
+ var ListGrants$ = [9, n0, _LG,
2057
+ 0, () => ListGrantsRequest$, () => ListGrantsResponse$
2058
+ ];
2059
+ var ListKeyPolicies$ = [9, n0, _LKP,
2060
+ 0, () => ListKeyPoliciesRequest$, () => ListKeyPoliciesResponse$
2061
+ ];
2062
+ var ListKeyRotations$ = [9, n0, _LKRis,
2063
+ 0, () => ListKeyRotationsRequest$, () => ListKeyRotationsResponse$
2064
+ ];
2065
+ var ListKeys$ = [9, n0, _LK,
2066
+ 0, () => ListKeysRequest$, () => ListKeysResponse$
2067
+ ];
2068
+ var ListResourceTags$ = [9, n0, _LRT,
2069
+ 0, () => ListResourceTagsRequest$, () => ListResourceTagsResponse$
2070
+ ];
2071
+ var ListRetirableGrants$ = [9, n0, _LRG,
2072
+ 0, () => ListRetirableGrantsRequest$, () => ListGrantsResponse$
2073
+ ];
2074
+ var PutKeyPolicy$ = [9, n0, _PKPu,
2075
+ 0, () => PutKeyPolicyRequest$, () => __Unit
2076
+ ];
2077
+ var ReEncrypt$ = [9, n0, _RE,
2078
+ 0, () => ReEncryptRequest$, () => ReEncryptResponse$
2079
+ ];
2080
+ var ReplicateKey$ = [9, n0, _RKe,
2081
+ 0, () => ReplicateKeyRequest$, () => ReplicateKeyResponse$
2082
+ ];
2083
+ var RetireGrant$ = [9, n0, _RG,
2084
+ 0, () => RetireGrantRequest$, () => __Unit
2085
+ ];
2086
+ var RevokeGrant$ = [9, n0, _RGe,
2087
+ 0, () => RevokeGrantRequest$, () => __Unit
2088
+ ];
2089
+ var RotateKeyOnDemand$ = [9, n0, _RKOD,
2090
+ 0, () => RotateKeyOnDemandRequest$, () => RotateKeyOnDemandResponse$
2091
+ ];
2092
+ var ScheduleKeyDeletion$ = [9, n0, _SKD,
2093
+ 0, () => ScheduleKeyDeletionRequest$, () => ScheduleKeyDeletionResponse$
2094
+ ];
2095
+ var Sign$ = [9, n0, _Si,
2096
+ 0, () => SignRequest$, () => SignResponse$
2097
+ ];
2098
+ var TagResource$ = [9, n0, _TR,
2099
+ 0, () => TagResourceRequest$, () => __Unit
2100
+ ];
2101
+ var UntagResource$ = [9, n0, _UR,
2102
+ 0, () => UntagResourceRequest$, () => __Unit
2103
+ ];
2104
+ var UpdateAlias$ = [9, n0, _UA,
2105
+ 0, () => UpdateAliasRequest$, () => __Unit
2106
+ ];
2107
+ var UpdateCustomKeyStore$ = [9, n0, _UCKS,
2108
+ 0, () => UpdateCustomKeyStoreRequest$, () => UpdateCustomKeyStoreResponse$
2109
+ ];
2110
+ var UpdateKeyDescription$ = [9, n0, _UKD,
2111
+ 0, () => UpdateKeyDescriptionRequest$, () => __Unit
2112
+ ];
2113
+ var UpdatePrimaryRegion$ = [9, n0, _UPR,
2114
+ 0, () => UpdatePrimaryRegionRequest$, () => __Unit
2115
+ ];
2116
+ var Verify$ = [9, n0, _V,
2117
+ 0, () => VerifyRequest$, () => VerifyResponse$
2118
+ ];
2119
+ var VerifyMac$ = [9, n0, _VM,
2120
+ 0, () => VerifyMacRequest$, () => VerifyMacResponse$
2121
+ ];
2122
+
2123
+ const getRuntimeConfig$1 = (config) => {
2124
+ return {
2125
+ apiVersion: "2014-11-01",
2126
+ base64Decoder: config?.base64Decoder ?? fromBase64,
2127
+ base64Encoder: config?.base64Encoder ?? toBase64,
2128
+ disableHostPrefix: config?.disableHostPrefix ?? false,
2129
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
2130
+ extensions: config?.extensions ?? [],
2131
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultKMSHttpAuthSchemeProvider,
2132
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
2133
+ {
2134
+ schemeId: "aws.auth#sigv4",
2135
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
2136
+ signer: new AwsSdkSigV4Signer(),
2137
+ },
2138
+ ],
2139
+ logger: config?.logger ?? new NoOpLogger(),
2140
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
2141
+ protocolSettings: config?.protocolSettings ?? {
2142
+ defaultNamespace: "com.amazonaws.kms",
2143
+ errorTypeRegistries,
2144
+ xmlNamespace: "https://trent.amazonaws.com/doc/2014-11-01/",
2145
+ version: "2014-11-01",
2146
+ serviceTarget: "TrentService",
2147
+ },
2148
+ serviceId: config?.serviceId ?? "KMS",
2149
+ urlParser: config?.urlParser ?? parseUrl,
2150
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
2151
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
2152
+ };
2153
+ };
2154
+
2155
+ const getRuntimeConfig = (config) => {
2156
+ emitWarningIfUnsupportedVersion(process.version);
2157
+ const defaultsMode = resolveDefaultsModeConfig(config);
2158
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
2159
+ const clientSharedValues = getRuntimeConfig$1(config);
2160
+ emitWarningIfUnsupportedVersion$1(process.version);
2161
+ const loaderConfig = {
2162
+ profile: config?.profile,
2163
+ logger: clientSharedValues.logger,
2164
+ };
2165
+ return {
2166
+ ...clientSharedValues,
2167
+ ...config,
2168
+ runtime: "node",
2169
+ defaultsMode,
2170
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
2171
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
2172
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
2173
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
2174
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
2175
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
2176
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
2177
+ retryMode: config?.retryMode ??
2178
+ loadConfig({
2179
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
2180
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
2181
+ }, config),
2182
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
2183
+ streamCollector: config?.streamCollector ?? streamCollector,
2184
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
2185
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
2186
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
2187
+ };
2188
+ };
2189
+
34
2190
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
2191
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
2192
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -1075,91 +3231,352 @@ const MessageType = {
1075
3231
  };
1076
3232
 
1077
3233
  exports.AlgorithmSpec = AlgorithmSpec;
3234
+ exports.AliasListEntry$ = AliasListEntry$;
3235
+ exports.AlreadyExistsException = AlreadyExistsException;
3236
+ exports.AlreadyExistsException$ = AlreadyExistsException$;
3237
+ exports.CancelKeyDeletion$ = CancelKeyDeletion$;
1078
3238
  exports.CancelKeyDeletionCommand = CancelKeyDeletionCommand;
3239
+ exports.CancelKeyDeletionRequest$ = CancelKeyDeletionRequest$;
3240
+ exports.CancelKeyDeletionResponse$ = CancelKeyDeletionResponse$;
3241
+ exports.CloudHsmClusterInUseException = CloudHsmClusterInUseException;
3242
+ exports.CloudHsmClusterInUseException$ = CloudHsmClusterInUseException$;
3243
+ exports.CloudHsmClusterInvalidConfigurationException = CloudHsmClusterInvalidConfigurationException;
3244
+ exports.CloudHsmClusterInvalidConfigurationException$ = CloudHsmClusterInvalidConfigurationException$;
3245
+ exports.CloudHsmClusterNotActiveException = CloudHsmClusterNotActiveException;
3246
+ exports.CloudHsmClusterNotActiveException$ = CloudHsmClusterNotActiveException$;
3247
+ exports.CloudHsmClusterNotFoundException = CloudHsmClusterNotFoundException;
3248
+ exports.CloudHsmClusterNotFoundException$ = CloudHsmClusterNotFoundException$;
3249
+ exports.CloudHsmClusterNotRelatedException = CloudHsmClusterNotRelatedException;
3250
+ exports.CloudHsmClusterNotRelatedException$ = CloudHsmClusterNotRelatedException$;
3251
+ exports.ConflictException = ConflictException;
3252
+ exports.ConflictException$ = ConflictException$;
3253
+ exports.ConnectCustomKeyStore$ = ConnectCustomKeyStore$;
1079
3254
  exports.ConnectCustomKeyStoreCommand = ConnectCustomKeyStoreCommand;
3255
+ exports.ConnectCustomKeyStoreRequest$ = ConnectCustomKeyStoreRequest$;
3256
+ exports.ConnectCustomKeyStoreResponse$ = ConnectCustomKeyStoreResponse$;
1080
3257
  exports.ConnectionErrorCodeType = ConnectionErrorCodeType;
1081
3258
  exports.ConnectionStateType = ConnectionStateType;
3259
+ exports.CreateAlias$ = CreateAlias$;
1082
3260
  exports.CreateAliasCommand = CreateAliasCommand;
3261
+ exports.CreateAliasRequest$ = CreateAliasRequest$;
3262
+ exports.CreateCustomKeyStore$ = CreateCustomKeyStore$;
1083
3263
  exports.CreateCustomKeyStoreCommand = CreateCustomKeyStoreCommand;
3264
+ exports.CreateCustomKeyStoreRequest$ = CreateCustomKeyStoreRequest$;
3265
+ exports.CreateCustomKeyStoreResponse$ = CreateCustomKeyStoreResponse$;
3266
+ exports.CreateGrant$ = CreateGrant$;
1084
3267
  exports.CreateGrantCommand = CreateGrantCommand;
3268
+ exports.CreateGrantRequest$ = CreateGrantRequest$;
3269
+ exports.CreateGrantResponse$ = CreateGrantResponse$;
3270
+ exports.CreateKey$ = CreateKey$;
1085
3271
  exports.CreateKeyCommand = CreateKeyCommand;
3272
+ exports.CreateKeyRequest$ = CreateKeyRequest$;
3273
+ exports.CreateKeyResponse$ = CreateKeyResponse$;
3274
+ exports.CustomKeyStoreHasCMKsException = CustomKeyStoreHasCMKsException;
3275
+ exports.CustomKeyStoreHasCMKsException$ = CustomKeyStoreHasCMKsException$;
3276
+ exports.CustomKeyStoreInvalidStateException = CustomKeyStoreInvalidStateException;
3277
+ exports.CustomKeyStoreInvalidStateException$ = CustomKeyStoreInvalidStateException$;
3278
+ exports.CustomKeyStoreNameInUseException = CustomKeyStoreNameInUseException;
3279
+ exports.CustomKeyStoreNameInUseException$ = CustomKeyStoreNameInUseException$;
3280
+ exports.CustomKeyStoreNotFoundException = CustomKeyStoreNotFoundException;
3281
+ exports.CustomKeyStoreNotFoundException$ = CustomKeyStoreNotFoundException$;
1086
3282
  exports.CustomKeyStoreType = CustomKeyStoreType;
3283
+ exports.CustomKeyStoresListEntry$ = CustomKeyStoresListEntry$;
1087
3284
  exports.CustomerMasterKeySpec = CustomerMasterKeySpec;
1088
3285
  exports.DataKeyPairSpec = DataKeyPairSpec;
1089
3286
  exports.DataKeySpec = DataKeySpec;
3287
+ exports.Decrypt$ = Decrypt$;
1090
3288
  exports.DecryptCommand = DecryptCommand;
3289
+ exports.DecryptRequest$ = DecryptRequest$;
3290
+ exports.DecryptResponse$ = DecryptResponse$;
3291
+ exports.DeleteAlias$ = DeleteAlias$;
1091
3292
  exports.DeleteAliasCommand = DeleteAliasCommand;
3293
+ exports.DeleteAliasRequest$ = DeleteAliasRequest$;
3294
+ exports.DeleteCustomKeyStore$ = DeleteCustomKeyStore$;
1092
3295
  exports.DeleteCustomKeyStoreCommand = DeleteCustomKeyStoreCommand;
3296
+ exports.DeleteCustomKeyStoreRequest$ = DeleteCustomKeyStoreRequest$;
3297
+ exports.DeleteCustomKeyStoreResponse$ = DeleteCustomKeyStoreResponse$;
3298
+ exports.DeleteImportedKeyMaterial$ = DeleteImportedKeyMaterial$;
1093
3299
  exports.DeleteImportedKeyMaterialCommand = DeleteImportedKeyMaterialCommand;
3300
+ exports.DeleteImportedKeyMaterialRequest$ = DeleteImportedKeyMaterialRequest$;
3301
+ exports.DeleteImportedKeyMaterialResponse$ = DeleteImportedKeyMaterialResponse$;
3302
+ exports.DependencyTimeoutException = DependencyTimeoutException;
3303
+ exports.DependencyTimeoutException$ = DependencyTimeoutException$;
3304
+ exports.DeriveSharedSecret$ = DeriveSharedSecret$;
1094
3305
  exports.DeriveSharedSecretCommand = DeriveSharedSecretCommand;
3306
+ exports.DeriveSharedSecretRequest$ = DeriveSharedSecretRequest$;
3307
+ exports.DeriveSharedSecretResponse$ = DeriveSharedSecretResponse$;
3308
+ exports.DescribeCustomKeyStores$ = DescribeCustomKeyStores$;
1095
3309
  exports.DescribeCustomKeyStoresCommand = DescribeCustomKeyStoresCommand;
3310
+ exports.DescribeCustomKeyStoresRequest$ = DescribeCustomKeyStoresRequest$;
3311
+ exports.DescribeCustomKeyStoresResponse$ = DescribeCustomKeyStoresResponse$;
3312
+ exports.DescribeKey$ = DescribeKey$;
1096
3313
  exports.DescribeKeyCommand = DescribeKeyCommand;
3314
+ exports.DescribeKeyRequest$ = DescribeKeyRequest$;
3315
+ exports.DescribeKeyResponse$ = DescribeKeyResponse$;
3316
+ exports.DisableKey$ = DisableKey$;
1097
3317
  exports.DisableKeyCommand = DisableKeyCommand;
3318
+ exports.DisableKeyRequest$ = DisableKeyRequest$;
3319
+ exports.DisableKeyRotation$ = DisableKeyRotation$;
1098
3320
  exports.DisableKeyRotationCommand = DisableKeyRotationCommand;
3321
+ exports.DisableKeyRotationRequest$ = DisableKeyRotationRequest$;
3322
+ exports.DisabledException = DisabledException;
3323
+ exports.DisabledException$ = DisabledException$;
3324
+ exports.DisconnectCustomKeyStore$ = DisconnectCustomKeyStore$;
1099
3325
  exports.DisconnectCustomKeyStoreCommand = DisconnectCustomKeyStoreCommand;
3326
+ exports.DisconnectCustomKeyStoreRequest$ = DisconnectCustomKeyStoreRequest$;
3327
+ exports.DisconnectCustomKeyStoreResponse$ = DisconnectCustomKeyStoreResponse$;
1100
3328
  exports.DryRunModifierType = DryRunModifierType;
3329
+ exports.DryRunOperationException = DryRunOperationException;
3330
+ exports.DryRunOperationException$ = DryRunOperationException$;
3331
+ exports.EnableKey$ = EnableKey$;
1101
3332
  exports.EnableKeyCommand = EnableKeyCommand;
3333
+ exports.EnableKeyRequest$ = EnableKeyRequest$;
3334
+ exports.EnableKeyRotation$ = EnableKeyRotation$;
1102
3335
  exports.EnableKeyRotationCommand = EnableKeyRotationCommand;
3336
+ exports.EnableKeyRotationRequest$ = EnableKeyRotationRequest$;
3337
+ exports.Encrypt$ = Encrypt$;
1103
3338
  exports.EncryptCommand = EncryptCommand;
3339
+ exports.EncryptRequest$ = EncryptRequest$;
3340
+ exports.EncryptResponse$ = EncryptResponse$;
1104
3341
  exports.EncryptionAlgorithmSpec = EncryptionAlgorithmSpec;
1105
3342
  exports.ExpirationModelType = ExpirationModelType;
3343
+ exports.ExpiredImportTokenException = ExpiredImportTokenException;
3344
+ exports.ExpiredImportTokenException$ = ExpiredImportTokenException$;
3345
+ exports.GenerateDataKey$ = GenerateDataKey$;
1106
3346
  exports.GenerateDataKeyCommand = GenerateDataKeyCommand;
3347
+ exports.GenerateDataKeyPair$ = GenerateDataKeyPair$;
1107
3348
  exports.GenerateDataKeyPairCommand = GenerateDataKeyPairCommand;
3349
+ exports.GenerateDataKeyPairRequest$ = GenerateDataKeyPairRequest$;
3350
+ exports.GenerateDataKeyPairResponse$ = GenerateDataKeyPairResponse$;
3351
+ exports.GenerateDataKeyPairWithoutPlaintext$ = GenerateDataKeyPairWithoutPlaintext$;
1108
3352
  exports.GenerateDataKeyPairWithoutPlaintextCommand = GenerateDataKeyPairWithoutPlaintextCommand;
3353
+ exports.GenerateDataKeyPairWithoutPlaintextRequest$ = GenerateDataKeyPairWithoutPlaintextRequest$;
3354
+ exports.GenerateDataKeyPairWithoutPlaintextResponse$ = GenerateDataKeyPairWithoutPlaintextResponse$;
3355
+ exports.GenerateDataKeyRequest$ = GenerateDataKeyRequest$;
3356
+ exports.GenerateDataKeyResponse$ = GenerateDataKeyResponse$;
3357
+ exports.GenerateDataKeyWithoutPlaintext$ = GenerateDataKeyWithoutPlaintext$;
1109
3358
  exports.GenerateDataKeyWithoutPlaintextCommand = GenerateDataKeyWithoutPlaintextCommand;
3359
+ exports.GenerateDataKeyWithoutPlaintextRequest$ = GenerateDataKeyWithoutPlaintextRequest$;
3360
+ exports.GenerateDataKeyWithoutPlaintextResponse$ = GenerateDataKeyWithoutPlaintextResponse$;
3361
+ exports.GenerateMac$ = GenerateMac$;
1110
3362
  exports.GenerateMacCommand = GenerateMacCommand;
3363
+ exports.GenerateMacRequest$ = GenerateMacRequest$;
3364
+ exports.GenerateMacResponse$ = GenerateMacResponse$;
3365
+ exports.GenerateRandom$ = GenerateRandom$;
1111
3366
  exports.GenerateRandomCommand = GenerateRandomCommand;
3367
+ exports.GenerateRandomRequest$ = GenerateRandomRequest$;
3368
+ exports.GenerateRandomResponse$ = GenerateRandomResponse$;
3369
+ exports.GetKeyLastUsage$ = GetKeyLastUsage$;
1112
3370
  exports.GetKeyLastUsageCommand = GetKeyLastUsageCommand;
3371
+ exports.GetKeyLastUsageRequest$ = GetKeyLastUsageRequest$;
3372
+ exports.GetKeyLastUsageResponse$ = GetKeyLastUsageResponse$;
3373
+ exports.GetKeyPolicy$ = GetKeyPolicy$;
1113
3374
  exports.GetKeyPolicyCommand = GetKeyPolicyCommand;
3375
+ exports.GetKeyPolicyRequest$ = GetKeyPolicyRequest$;
3376
+ exports.GetKeyPolicyResponse$ = GetKeyPolicyResponse$;
3377
+ exports.GetKeyRotationStatus$ = GetKeyRotationStatus$;
1114
3378
  exports.GetKeyRotationStatusCommand = GetKeyRotationStatusCommand;
3379
+ exports.GetKeyRotationStatusRequest$ = GetKeyRotationStatusRequest$;
3380
+ exports.GetKeyRotationStatusResponse$ = GetKeyRotationStatusResponse$;
3381
+ exports.GetParametersForImport$ = GetParametersForImport$;
1115
3382
  exports.GetParametersForImportCommand = GetParametersForImportCommand;
3383
+ exports.GetParametersForImportRequest$ = GetParametersForImportRequest$;
3384
+ exports.GetParametersForImportResponse$ = GetParametersForImportResponse$;
3385
+ exports.GetPublicKey$ = GetPublicKey$;
1116
3386
  exports.GetPublicKeyCommand = GetPublicKeyCommand;
3387
+ exports.GetPublicKeyRequest$ = GetPublicKeyRequest$;
3388
+ exports.GetPublicKeyResponse$ = GetPublicKeyResponse$;
3389
+ exports.GrantConstraints$ = GrantConstraints$;
3390
+ exports.GrantListEntry$ = GrantListEntry$;
1117
3391
  exports.GrantOperation = GrantOperation;
3392
+ exports.ImportKeyMaterial$ = ImportKeyMaterial$;
1118
3393
  exports.ImportKeyMaterialCommand = ImportKeyMaterialCommand;
3394
+ exports.ImportKeyMaterialRequest$ = ImportKeyMaterialRequest$;
3395
+ exports.ImportKeyMaterialResponse$ = ImportKeyMaterialResponse$;
1119
3396
  exports.ImportState = ImportState;
1120
3397
  exports.ImportType = ImportType;
1121
3398
  exports.IncludeKeyMaterial = IncludeKeyMaterial;
3399
+ exports.IncorrectKeyException = IncorrectKeyException;
3400
+ exports.IncorrectKeyException$ = IncorrectKeyException$;
3401
+ exports.IncorrectKeyMaterialException = IncorrectKeyMaterialException;
3402
+ exports.IncorrectKeyMaterialException$ = IncorrectKeyMaterialException$;
3403
+ exports.IncorrectTrustAnchorException = IncorrectTrustAnchorException;
3404
+ exports.IncorrectTrustAnchorException$ = IncorrectTrustAnchorException$;
3405
+ exports.InvalidAliasNameException = InvalidAliasNameException;
3406
+ exports.InvalidAliasNameException$ = InvalidAliasNameException$;
3407
+ exports.InvalidArnException = InvalidArnException;
3408
+ exports.InvalidArnException$ = InvalidArnException$;
3409
+ exports.InvalidCiphertextException = InvalidCiphertextException;
3410
+ exports.InvalidCiphertextException$ = InvalidCiphertextException$;
3411
+ exports.InvalidGrantIdException = InvalidGrantIdException;
3412
+ exports.InvalidGrantIdException$ = InvalidGrantIdException$;
3413
+ exports.InvalidGrantTokenException = InvalidGrantTokenException;
3414
+ exports.InvalidGrantTokenException$ = InvalidGrantTokenException$;
3415
+ exports.InvalidImportTokenException = InvalidImportTokenException;
3416
+ exports.InvalidImportTokenException$ = InvalidImportTokenException$;
3417
+ exports.InvalidKeyUsageException = InvalidKeyUsageException;
3418
+ exports.InvalidKeyUsageException$ = InvalidKeyUsageException$;
3419
+ exports.InvalidMarkerException = InvalidMarkerException;
3420
+ exports.InvalidMarkerException$ = InvalidMarkerException$;
1122
3421
  exports.KMS = KMS;
1123
3422
  exports.KMSClient = KMSClient;
3423
+ exports.KMSInternalException = KMSInternalException;
3424
+ exports.KMSInternalException$ = KMSInternalException$;
3425
+ exports.KMSInvalidMacException = KMSInvalidMacException;
3426
+ exports.KMSInvalidMacException$ = KMSInvalidMacException$;
3427
+ exports.KMSInvalidSignatureException = KMSInvalidSignatureException;
3428
+ exports.KMSInvalidSignatureException$ = KMSInvalidSignatureException$;
3429
+ exports.KMSInvalidStateException = KMSInvalidStateException;
3430
+ exports.KMSInvalidStateException$ = KMSInvalidStateException$;
3431
+ exports.KMSServiceException = KMSServiceException;
3432
+ exports.KMSServiceException$ = KMSServiceException$;
1124
3433
  exports.KeyAgreementAlgorithmSpec = KeyAgreementAlgorithmSpec;
1125
3434
  exports.KeyEncryptionMechanism = KeyEncryptionMechanism;
3435
+ exports.KeyLastUsageData$ = KeyLastUsageData$;
1126
3436
  exports.KeyLastUsageTrackingOperation = KeyLastUsageTrackingOperation;
3437
+ exports.KeyListEntry$ = KeyListEntry$;
1127
3438
  exports.KeyManagerType = KeyManagerType;
1128
3439
  exports.KeyMaterialState = KeyMaterialState;
3440
+ exports.KeyMetadata$ = KeyMetadata$;
1129
3441
  exports.KeySpec = KeySpec;
1130
3442
  exports.KeyState = KeyState;
3443
+ exports.KeyUnavailableException = KeyUnavailableException;
3444
+ exports.KeyUnavailableException$ = KeyUnavailableException$;
1131
3445
  exports.KeyUsageType = KeyUsageType;
3446
+ exports.LimitExceededException = LimitExceededException;
3447
+ exports.LimitExceededException$ = LimitExceededException$;
3448
+ exports.ListAliases$ = ListAliases$;
1132
3449
  exports.ListAliasesCommand = ListAliasesCommand;
3450
+ exports.ListAliasesRequest$ = ListAliasesRequest$;
3451
+ exports.ListAliasesResponse$ = ListAliasesResponse$;
3452
+ exports.ListGrants$ = ListGrants$;
1133
3453
  exports.ListGrantsCommand = ListGrantsCommand;
3454
+ exports.ListGrantsRequest$ = ListGrantsRequest$;
3455
+ exports.ListGrantsResponse$ = ListGrantsResponse$;
3456
+ exports.ListKeyPolicies$ = ListKeyPolicies$;
1134
3457
  exports.ListKeyPoliciesCommand = ListKeyPoliciesCommand;
3458
+ exports.ListKeyPoliciesRequest$ = ListKeyPoliciesRequest$;
3459
+ exports.ListKeyPoliciesResponse$ = ListKeyPoliciesResponse$;
3460
+ exports.ListKeyRotations$ = ListKeyRotations$;
1135
3461
  exports.ListKeyRotationsCommand = ListKeyRotationsCommand;
3462
+ exports.ListKeyRotationsRequest$ = ListKeyRotationsRequest$;
3463
+ exports.ListKeyRotationsResponse$ = ListKeyRotationsResponse$;
3464
+ exports.ListKeys$ = ListKeys$;
1136
3465
  exports.ListKeysCommand = ListKeysCommand;
3466
+ exports.ListKeysRequest$ = ListKeysRequest$;
3467
+ exports.ListKeysResponse$ = ListKeysResponse$;
3468
+ exports.ListResourceTags$ = ListResourceTags$;
1137
3469
  exports.ListResourceTagsCommand = ListResourceTagsCommand;
3470
+ exports.ListResourceTagsRequest$ = ListResourceTagsRequest$;
3471
+ exports.ListResourceTagsResponse$ = ListResourceTagsResponse$;
3472
+ exports.ListRetirableGrants$ = ListRetirableGrants$;
1138
3473
  exports.ListRetirableGrantsCommand = ListRetirableGrantsCommand;
3474
+ exports.ListRetirableGrantsRequest$ = ListRetirableGrantsRequest$;
1139
3475
  exports.MacAlgorithmSpec = MacAlgorithmSpec;
3476
+ exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
3477
+ exports.MalformedPolicyDocumentException$ = MalformedPolicyDocumentException$;
1140
3478
  exports.MessageType = MessageType;
3479
+ exports.MultiRegionConfiguration$ = MultiRegionConfiguration$;
3480
+ exports.MultiRegionKey$ = MultiRegionKey$;
1141
3481
  exports.MultiRegionKeyType = MultiRegionKeyType;
3482
+ exports.NotFoundException = NotFoundException;
3483
+ exports.NotFoundException$ = NotFoundException$;
1142
3484
  exports.OriginType = OriginType;
3485
+ exports.PutKeyPolicy$ = PutKeyPolicy$;
1143
3486
  exports.PutKeyPolicyCommand = PutKeyPolicyCommand;
3487
+ exports.PutKeyPolicyRequest$ = PutKeyPolicyRequest$;
3488
+ exports.ReEncrypt$ = ReEncrypt$;
1144
3489
  exports.ReEncryptCommand = ReEncryptCommand;
3490
+ exports.ReEncryptRequest$ = ReEncryptRequest$;
3491
+ exports.ReEncryptResponse$ = ReEncryptResponse$;
3492
+ exports.RecipientInfo$ = RecipientInfo$;
3493
+ exports.ReplicateKey$ = ReplicateKey$;
1145
3494
  exports.ReplicateKeyCommand = ReplicateKeyCommand;
3495
+ exports.ReplicateKeyRequest$ = ReplicateKeyRequest$;
3496
+ exports.ReplicateKeyResponse$ = ReplicateKeyResponse$;
3497
+ exports.RetireGrant$ = RetireGrant$;
1146
3498
  exports.RetireGrantCommand = RetireGrantCommand;
3499
+ exports.RetireGrantRequest$ = RetireGrantRequest$;
3500
+ exports.RevokeGrant$ = RevokeGrant$;
1147
3501
  exports.RevokeGrantCommand = RevokeGrantCommand;
3502
+ exports.RevokeGrantRequest$ = RevokeGrantRequest$;
3503
+ exports.RotateKeyOnDemand$ = RotateKeyOnDemand$;
1148
3504
  exports.RotateKeyOnDemandCommand = RotateKeyOnDemandCommand;
3505
+ exports.RotateKeyOnDemandRequest$ = RotateKeyOnDemandRequest$;
3506
+ exports.RotateKeyOnDemandResponse$ = RotateKeyOnDemandResponse$;
1149
3507
  exports.RotationType = RotationType;
3508
+ exports.RotationsListEntry$ = RotationsListEntry$;
3509
+ exports.ScheduleKeyDeletion$ = ScheduleKeyDeletion$;
1150
3510
  exports.ScheduleKeyDeletionCommand = ScheduleKeyDeletionCommand;
3511
+ exports.ScheduleKeyDeletionRequest$ = ScheduleKeyDeletionRequest$;
3512
+ exports.ScheduleKeyDeletionResponse$ = ScheduleKeyDeletionResponse$;
3513
+ exports.Sign$ = Sign$;
1151
3514
  exports.SignCommand = SignCommand;
3515
+ exports.SignRequest$ = SignRequest$;
3516
+ exports.SignResponse$ = SignResponse$;
1152
3517
  exports.SigningAlgorithmSpec = SigningAlgorithmSpec;
3518
+ exports.Tag$ = Tag$;
3519
+ exports.TagException = TagException;
3520
+ exports.TagException$ = TagException$;
3521
+ exports.TagResource$ = TagResource$;
1153
3522
  exports.TagResourceCommand = TagResourceCommand;
3523
+ exports.TagResourceRequest$ = TagResourceRequest$;
3524
+ exports.UnsupportedOperationException = UnsupportedOperationException;
3525
+ exports.UnsupportedOperationException$ = UnsupportedOperationException$;
3526
+ exports.UntagResource$ = UntagResource$;
1154
3527
  exports.UntagResourceCommand = UntagResourceCommand;
3528
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
3529
+ exports.UpdateAlias$ = UpdateAlias$;
1155
3530
  exports.UpdateAliasCommand = UpdateAliasCommand;
3531
+ exports.UpdateAliasRequest$ = UpdateAliasRequest$;
3532
+ exports.UpdateCustomKeyStore$ = UpdateCustomKeyStore$;
1156
3533
  exports.UpdateCustomKeyStoreCommand = UpdateCustomKeyStoreCommand;
3534
+ exports.UpdateCustomKeyStoreRequest$ = UpdateCustomKeyStoreRequest$;
3535
+ exports.UpdateCustomKeyStoreResponse$ = UpdateCustomKeyStoreResponse$;
3536
+ exports.UpdateKeyDescription$ = UpdateKeyDescription$;
1157
3537
  exports.UpdateKeyDescriptionCommand = UpdateKeyDescriptionCommand;
3538
+ exports.UpdateKeyDescriptionRequest$ = UpdateKeyDescriptionRequest$;
3539
+ exports.UpdatePrimaryRegion$ = UpdatePrimaryRegion$;
1158
3540
  exports.UpdatePrimaryRegionCommand = UpdatePrimaryRegionCommand;
3541
+ exports.UpdatePrimaryRegionRequest$ = UpdatePrimaryRegionRequest$;
3542
+ exports.Verify$ = Verify$;
1159
3543
  exports.VerifyCommand = VerifyCommand;
3544
+ exports.VerifyMac$ = VerifyMac$;
1160
3545
  exports.VerifyMacCommand = VerifyMacCommand;
3546
+ exports.VerifyMacRequest$ = VerifyMacRequest$;
3547
+ exports.VerifyMacResponse$ = VerifyMacResponse$;
3548
+ exports.VerifyRequest$ = VerifyRequest$;
3549
+ exports.VerifyResponse$ = VerifyResponse$;
1161
3550
  exports.WrappingKeySpec = WrappingKeySpec;
3551
+ exports.XksKeyAlreadyInUseException = XksKeyAlreadyInUseException;
3552
+ exports.XksKeyAlreadyInUseException$ = XksKeyAlreadyInUseException$;
3553
+ exports.XksKeyConfigurationType$ = XksKeyConfigurationType$;
3554
+ exports.XksKeyInvalidConfigurationException = XksKeyInvalidConfigurationException;
3555
+ exports.XksKeyInvalidConfigurationException$ = XksKeyInvalidConfigurationException$;
3556
+ exports.XksKeyNotFoundException = XksKeyNotFoundException;
3557
+ exports.XksKeyNotFoundException$ = XksKeyNotFoundException$;
3558
+ exports.XksProxyAuthenticationCredentialType$ = XksProxyAuthenticationCredentialType$;
3559
+ exports.XksProxyConfigurationType$ = XksProxyConfigurationType$;
1162
3560
  exports.XksProxyConnectivityType = XksProxyConnectivityType;
3561
+ exports.XksProxyIncorrectAuthenticationCredentialException = XksProxyIncorrectAuthenticationCredentialException;
3562
+ exports.XksProxyIncorrectAuthenticationCredentialException$ = XksProxyIncorrectAuthenticationCredentialException$;
3563
+ exports.XksProxyInvalidConfigurationException = XksProxyInvalidConfigurationException;
3564
+ exports.XksProxyInvalidConfigurationException$ = XksProxyInvalidConfigurationException$;
3565
+ exports.XksProxyInvalidResponseException = XksProxyInvalidResponseException;
3566
+ exports.XksProxyInvalidResponseException$ = XksProxyInvalidResponseException$;
3567
+ exports.XksProxyUriEndpointInUseException = XksProxyUriEndpointInUseException;
3568
+ exports.XksProxyUriEndpointInUseException$ = XksProxyUriEndpointInUseException$;
3569
+ exports.XksProxyUriInUseException = XksProxyUriInUseException;
3570
+ exports.XksProxyUriInUseException$ = XksProxyUriInUseException$;
3571
+ exports.XksProxyUriUnreachableException = XksProxyUriUnreachableException;
3572
+ exports.XksProxyUriUnreachableException$ = XksProxyUriUnreachableException$;
3573
+ exports.XksProxyVpcEndpointServiceInUseException = XksProxyVpcEndpointServiceInUseException;
3574
+ exports.XksProxyVpcEndpointServiceInUseException$ = XksProxyVpcEndpointServiceInUseException$;
3575
+ exports.XksProxyVpcEndpointServiceInvalidConfigurationException = XksProxyVpcEndpointServiceInvalidConfigurationException;
3576
+ exports.XksProxyVpcEndpointServiceInvalidConfigurationException$ = XksProxyVpcEndpointServiceInvalidConfigurationException$;
3577
+ exports.XksProxyVpcEndpointServiceNotFoundException = XksProxyVpcEndpointServiceNotFoundException;
3578
+ exports.XksProxyVpcEndpointServiceNotFoundException$ = XksProxyVpcEndpointServiceNotFoundException$;
3579
+ exports.errorTypeRegistries = errorTypeRegistries;
1163
3580
  exports.paginateDescribeCustomKeyStores = paginateDescribeCustomKeyStores;
1164
3581
  exports.paginateListAliases = paginateListAliases;
1165
3582
  exports.paginateListGrants = paginateListGrants;