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