@aws-sdk/client-acm 3.1075.0 → 3.1076.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, 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, defaultACMHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { AddTagsToCertificate$, DeleteCertificate$, DescribeCertificate$, ExportCertificate$, GetAccountConfiguration$, GetCertificate$, ImportCertificate$, ListCertificates$, ListTagsForCertificate$, PutAccountConfiguration$, RemoveTagsFromCertificate$, RenewCertificate$, RequestCertificate$, ResendValidationEmail$, RevokeCertificate$, SearchCertificates$, UpdateCertificateOptions$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { ACMServiceException } = require("./models/ACMServiceException");
18
- exports.ACMServiceException = ACMServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultACMHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "acm",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultACMHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,1033 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
85
+ ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
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://acm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
93
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
94
+ ["https://acm.{Region}.amazonaws.com", i],
95
+ ["https://acm-fips.{Region}.{PartitionResult#dnsSuffix}", i],
96
+ [a, "FIPS is enabled but this partition does not support FIPS"],
97
+ ["https://acm.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
98
+ [a, "DualStack is enabled but this partition does not support DualStack"],
99
+ ["https://acm.{Region}.{PartitionResult#dnsSuffix}", i],
100
+ [a, "Invalid Configuration: Missing Region"]
101
+ ]
102
+ };
103
+ const root = 2;
104
+ const r = 100_000_000;
105
+ const nodes = new Int32Array([
106
+ -1, 1, -1,
107
+ 0, 13, 3,
108
+ 1, 4, r + 12,
109
+ 2, 5, r + 12,
110
+ 3, 8, 6,
111
+ 4, 7, r + 11,
112
+ 5, r + 9, r + 10,
113
+ 4, 11, 9,
114
+ 6, 10, r + 8,
115
+ 7, r + 6, r + 7,
116
+ 5, 12, r + 5,
117
+ 6, r + 4, r + 5,
118
+ 3, r + 1, 14,
119
+ 4, r + 2, r + 3,
120
+ ]);
121
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
122
+
123
+ const cache = new EndpointCache({
124
+ size: 50,
125
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
126
+ });
127
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
128
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
129
+ endpointParams: endpointParams,
130
+ logger: context.logger,
131
+ }));
132
+ };
133
+ customEndpointFunctions.aws = awsEndpointFunctions;
134
+
135
+ class ACMServiceException extends ServiceException {
136
+ constructor(options) {
137
+ super(options);
138
+ Object.setPrototypeOf(this, ACMServiceException.prototype);
139
+ }
140
+ }
141
+
142
+ class AccessDeniedException extends ACMServiceException {
143
+ name = "AccessDeniedException";
144
+ $fault = "client";
145
+ Message;
146
+ constructor(opts) {
147
+ super({
148
+ name: "AccessDeniedException",
149
+ $fault: "client",
150
+ ...opts,
151
+ });
152
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
153
+ this.Message = opts.Message;
154
+ }
155
+ }
156
+ class InvalidArnException extends ACMServiceException {
157
+ name = "InvalidArnException";
158
+ $fault = "client";
159
+ constructor(opts) {
160
+ super({
161
+ name: "InvalidArnException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, InvalidArnException.prototype);
166
+ }
167
+ }
168
+ class InvalidParameterException extends ACMServiceException {
169
+ name = "InvalidParameterException";
170
+ $fault = "client";
171
+ constructor(opts) {
172
+ super({
173
+ name: "InvalidParameterException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
178
+ }
179
+ }
180
+ class InvalidTagException extends ACMServiceException {
181
+ name = "InvalidTagException";
182
+ $fault = "client";
183
+ constructor(opts) {
184
+ super({
185
+ name: "InvalidTagException",
186
+ $fault: "client",
187
+ ...opts,
188
+ });
189
+ Object.setPrototypeOf(this, InvalidTagException.prototype);
190
+ }
191
+ }
192
+ class ResourceNotFoundException extends ACMServiceException {
193
+ name = "ResourceNotFoundException";
194
+ $fault = "client";
195
+ constructor(opts) {
196
+ super({
197
+ name: "ResourceNotFoundException",
198
+ $fault: "client",
199
+ ...opts,
200
+ });
201
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
202
+ }
203
+ }
204
+ class TagPolicyException extends ACMServiceException {
205
+ name = "TagPolicyException";
206
+ $fault = "client";
207
+ constructor(opts) {
208
+ super({
209
+ name: "TagPolicyException",
210
+ $fault: "client",
211
+ ...opts,
212
+ });
213
+ Object.setPrototypeOf(this, TagPolicyException.prototype);
214
+ }
215
+ }
216
+ class ThrottlingException extends ACMServiceException {
217
+ name = "ThrottlingException";
218
+ $fault = "client";
219
+ throttlingReasons;
220
+ constructor(opts) {
221
+ super({
222
+ name: "ThrottlingException",
223
+ $fault: "client",
224
+ ...opts,
225
+ });
226
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
227
+ this.throttlingReasons = opts.throttlingReasons;
228
+ }
229
+ }
230
+ class TooManyTagsException extends ACMServiceException {
231
+ name = "TooManyTagsException";
232
+ $fault = "client";
233
+ constructor(opts) {
234
+ super({
235
+ name: "TooManyTagsException",
236
+ $fault: "client",
237
+ ...opts,
238
+ });
239
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
240
+ }
241
+ }
242
+ class ConflictException extends ACMServiceException {
243
+ name = "ConflictException";
244
+ $fault = "client";
245
+ constructor(opts) {
246
+ super({
247
+ name: "ConflictException",
248
+ $fault: "client",
249
+ ...opts,
250
+ });
251
+ Object.setPrototypeOf(this, ConflictException.prototype);
252
+ }
253
+ }
254
+ class ResourceInUseException extends ACMServiceException {
255
+ name = "ResourceInUseException";
256
+ $fault = "client";
257
+ constructor(opts) {
258
+ super({
259
+ name: "ResourceInUseException",
260
+ $fault: "client",
261
+ ...opts,
262
+ });
263
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
264
+ }
265
+ }
266
+ class RequestInProgressException extends ACMServiceException {
267
+ name = "RequestInProgressException";
268
+ $fault = "client";
269
+ constructor(opts) {
270
+ super({
271
+ name: "RequestInProgressException",
272
+ $fault: "client",
273
+ ...opts,
274
+ });
275
+ Object.setPrototypeOf(this, RequestInProgressException.prototype);
276
+ }
277
+ }
278
+ class LimitExceededException extends ACMServiceException {
279
+ name = "LimitExceededException";
280
+ $fault = "client";
281
+ constructor(opts) {
282
+ super({
283
+ name: "LimitExceededException",
284
+ $fault: "client",
285
+ ...opts,
286
+ });
287
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
288
+ }
289
+ }
290
+ class InvalidArgsException extends ACMServiceException {
291
+ name = "InvalidArgsException";
292
+ $fault = "client";
293
+ constructor(opts) {
294
+ super({
295
+ name: "InvalidArgsException",
296
+ $fault: "client",
297
+ ...opts,
298
+ });
299
+ Object.setPrototypeOf(this, InvalidArgsException.prototype);
300
+ }
301
+ }
302
+ class ValidationException extends ACMServiceException {
303
+ name = "ValidationException";
304
+ $fault = "client";
305
+ constructor(opts) {
306
+ super({
307
+ name: "ValidationException",
308
+ $fault: "client",
309
+ ...opts,
310
+ });
311
+ Object.setPrototypeOf(this, ValidationException.prototype);
312
+ }
313
+ }
314
+ class InvalidDomainValidationOptionsException extends ACMServiceException {
315
+ name = "InvalidDomainValidationOptionsException";
316
+ $fault = "client";
317
+ constructor(opts) {
318
+ super({
319
+ name: "InvalidDomainValidationOptionsException",
320
+ $fault: "client",
321
+ ...opts,
322
+ });
323
+ Object.setPrototypeOf(this, InvalidDomainValidationOptionsException.prototype);
324
+ }
325
+ }
326
+ class InvalidStateException extends ACMServiceException {
327
+ name = "InvalidStateException";
328
+ $fault = "client";
329
+ constructor(opts) {
330
+ super({
331
+ name: "InvalidStateException",
332
+ $fault: "client",
333
+ ...opts,
334
+ });
335
+ Object.setPrototypeOf(this, InvalidStateException.prototype);
336
+ }
337
+ }
338
+
339
+ const _A = "And";
340
+ const _ACM = "AcmCertificateMetadata";
341
+ const _ACMF = "AcmCertificateMetadataFilter";
342
+ const _ADE = "AccessDeniedException";
343
+ const _ATTC = "AddTagsToCertificate";
344
+ const _ATTCR = "AddTagsToCertificateRequest";
345
+ const _C = "Certificate";
346
+ const _CA = "CreatedAt";
347
+ const _CAA = "CertificateAuthorityArn";
348
+ const _CAL = "CustomAttributeList";
349
+ const _CAe = "CertificateArn";
350
+ const _CAu = "CustomAttribute";
351
+ const _CAus = "CustomAttributes";
352
+ const _CC = "CertificateChain";
353
+ const _CD = "CertificateDetail";
354
+ const _CE = "ConflictException";
355
+ const _CF = "CertificateFilter";
356
+ const _CFS = "CertificateFilterStatement";
357
+ const _CFSL = "CertificateFilterStatementList";
358
+ const _CM = "CertificateMetadata";
359
+ const _CN = "CommonName";
360
+ const _CNF = "CommonNameFilter";
361
+ const _CO = "CertificateOptions";
362
+ const _COo = "ComparisonOperator";
363
+ const _CS = "CertificateSummary";
364
+ const _CSL = "CertificateSummaryList";
365
+ const _CSR = "CertificateSearchResult";
366
+ const _CSRL = "CertificateSearchResultList";
367
+ const _CSe = "CertificateStatuses";
368
+ const _CTLP = "CertificateTransparencyLoggingPreference";
369
+ const _Co = "Country";
370
+ const _D = "Domain";
371
+ const _DBE = "DaysBeforeExpiry";
372
+ const _DC = "DomainComponents";
373
+ const _DCR = "DeleteCertificateRequest";
374
+ const _DCRe = "DescribeCertificateRequest";
375
+ const _DCRes = "DescribeCertificateResponse";
376
+ const _DCe = "DeleteCertificate";
377
+ const _DCes = "DescribeCertificate";
378
+ const _DN = "DomainName";
379
+ const _DNF = "DnsNameFilter";
380
+ const _DNQ = "DistinguishedNameQualifier";
381
+ const _DNi = "DistinguishedName";
382
+ const _DNir = "DirectoryName";
383
+ const _DNn = "DnsName";
384
+ const _DV = "DomainValidation";
385
+ const _DVL = "DomainValidationList";
386
+ const _DVO = "DomainValidationOptions";
387
+ const _DVOL = "DomainValidationOptionList";
388
+ const _DVOo = "DomainValidationOption";
389
+ const _E = "Exported";
390
+ const _EC = "ExportCertificate";
391
+ const _ECR = "ExportCertificateRequest";
392
+ const _ECRx = "ExportCertificateResponse";
393
+ const _EE = "ExpiryEvents";
394
+ const _EEC = "ExpiryEventsConfiguration";
395
+ const _EKU = "ExtendedKeyUsages";
396
+ const _EKUL = "ExtendedKeyUsageList";
397
+ const _EKUx = "ExtendedKeyUsage";
398
+ const _EO = "ExportOption";
399
+ const _En = "End";
400
+ const _Ex = "Export";
401
+ const _F = "Filters";
402
+ const _FR = "FailureReason";
403
+ const _FS = "FilterStatement";
404
+ const _Fi = "Filter";
405
+ const _GAC = "GetAccountConfiguration";
406
+ const _GACR = "GetAccountConfigurationResponse";
407
+ const _GC = "GetCertificate";
408
+ const _GCR = "GetCertificateRequest";
409
+ const _GCRe = "GetCertificateResponse";
410
+ const _GN = "GivenName";
411
+ const _GNL = "GeneralNameList";
412
+ const _GNe = "GeneralName";
413
+ const _GQ = "GenerationQualifier";
414
+ const _HASAN = "HasAdditionalSubjectAlternativeNames";
415
+ const _HR = "HttpRedirect";
416
+ const _I = "Issuer";
417
+ const _IA = "ImportedAt";
418
+ const _IAE = "InvalidArgsException";
419
+ const _IAEn = "InvalidArnException";
420
+ const _IAp = "IpAddress";
421
+ const _IAs = "IssuedAt";
422
+ const _IC = "ImportCertificate";
423
+ const _ICR = "ImportCertificateRequest";
424
+ const _ICRm = "ImportCertificateResponse";
425
+ const _IDVOE = "InvalidDomainValidationOptionsException";
426
+ const _IPE = "InvalidParameterException";
427
+ const _ISE = "InvalidStateException";
428
+ const _IT = "IdempotencyToken";
429
+ const _ITE = "InvalidTagException";
430
+ const _IU = "InUse";
431
+ const _IUB = "InUseBy";
432
+ const _In = "Initials";
433
+ const _Inc = "Includes";
434
+ const _K = "Key";
435
+ const _KA = "KeyAlgorithm";
436
+ const _KU = "KeyUsages";
437
+ const _KUL = "KeyUsageList";
438
+ const _KUe = "KeyUsage";
439
+ const _L = "Locality";
440
+ const _LC = "ListCertificates";
441
+ const _LCR = "ListCertificatesRequest";
442
+ const _LCRi = "ListCertificatesResponse";
443
+ const _LEE = "LimitExceededException";
444
+ const _LTFC = "ListTagsForCertificate";
445
+ const _LTFCR = "ListTagsForCertificateRequest";
446
+ const _LTFCRi = "ListTagsForCertificateResponse";
447
+ const _M = "Message";
448
+ const _MB = "ManagedBy";
449
+ const _MI = "MaxItems";
450
+ const _MR = "MaxResults";
451
+ const _N = "Name";
452
+ const _NA = "NotAfter";
453
+ const _NB = "NotBefore";
454
+ const _NT = "NextToken";
455
+ const _No = "Not";
456
+ const _O = "Options";
457
+ const _OI = "ObjectIdentifier";
458
+ const _OID = "OID";
459
+ const _ON = "OtherName";
460
+ const _OU = "OrganizationalUnit";
461
+ const _Or = "Organization";
462
+ const _Or_ = "Or";
463
+ const _P = "Pseudonym";
464
+ const _PAC = "PutAccountConfiguration";
465
+ const _PACR = "PutAccountConfigurationRequest";
466
+ const _PB = "PassphraseBlob";
467
+ const _PK = "PrivateKey";
468
+ const _PKB = "PrivateKeyBlob";
469
+ const _Pa = "Passphrase";
470
+ const _R = "Results";
471
+ const _RA = "RevokedAt";
472
+ const _RC = "RenewCertificate";
473
+ const _RCR = "RenewCertificateRequest";
474
+ const _RCRe = "RequestCertificateRequest";
475
+ const _RCReq = "RequestCertificateResponse";
476
+ const _RCRev = "RevokeCertificateRequest";
477
+ const _RCRevo = "RevokeCertificateResponse";
478
+ const _RCe = "RequestCertificate";
479
+ const _RCev = "RevokeCertificate";
480
+ const _RE = "RenewalEligibility";
481
+ const _RF = "RedirectFrom";
482
+ const _RI = "RegisteredId";
483
+ const _RIPE = "RequestInProgressException";
484
+ const _RIUE = "ResourceInUseException";
485
+ const _RN = "Rfc822Name";
486
+ const _RNFE = "ResourceNotFoundException";
487
+ const _RR = "RevocationReason";
488
+ const _RRe = "ResourceRecord";
489
+ const _RS = "RenewalStatus";
490
+ const _RSR = "RenewalStatusReason";
491
+ const _RSe = "RenewalSummary";
492
+ const _RT = "RedirectTo";
493
+ const _RTFC = "RemoveTagsFromCertificate";
494
+ const _RTFCR = "RemoveTagsFromCertificateRequest";
495
+ const _RVE = "ResendValidationEmail";
496
+ const _RVER = "ResendValidationEmailRequest";
497
+ const _S = "Status";
498
+ const _SA = "SignatureAlgorithm";
499
+ const _SAN = "SubjectAlternativeNames";
500
+ const _SANF = "SubjectAlternativeNameFilter";
501
+ const _SANS = "SubjectAlternativeNameSummaries";
502
+ const _SANu = "SubjectAlternativeName";
503
+ const _SB = "SortBy";
504
+ const _SC = "SearchCertificates";
505
+ const _SCR = "SearchCertificatesRequest";
506
+ const _SCRe = "SearchCertificatesResponse";
507
+ const _SF = "SubjectFilter";
508
+ const _SN = "SerialNumber";
509
+ const _SO = "SortOrder";
510
+ const _Se = "Serial";
511
+ const _St = "State";
512
+ const _Sta = "Start";
513
+ const _Su = "Subject";
514
+ const _Sur = "Surname";
515
+ const _T = "Type";
516
+ const _TE = "ThrottlingException";
517
+ const _TL = "TagList";
518
+ const _TMTE = "TooManyTagsException";
519
+ const _TPE = "TagPolicyException";
520
+ const _TR = "ThrottlingReason";
521
+ const _TRL = "ThrottlingReasonList";
522
+ const _TRi = "TimestampRange";
523
+ const _Ta = "Tags";
524
+ const _Tag = "Tag";
525
+ const _Ti = "Title";
526
+ const _UA = "UpdatedAt";
527
+ const _UCO = "UpdateCertificateOptions";
528
+ const _UCOR = "UpdateCertificateOptionsRequest";
529
+ const _URI = "UniformResourceIdentifier";
530
+ const _V = "Value";
531
+ const _VD = "ValidationDomain";
532
+ const _VE = "ValidationException";
533
+ const _VEa = "ValidationEmails";
534
+ const _VM = "ValidationMethod";
535
+ const _VS = "ValidationStatus";
536
+ const _XA = "X509Attributes";
537
+ const _XAF = "X509AttributeFilter";
538
+ const _aQE = "awsQueryError";
539
+ const _c = "client";
540
+ const _e = "error";
541
+ const _eKU = "extendedKeyUsage";
542
+ const _eO = "exportOption";
543
+ const _hE = "httpError";
544
+ const _kT = "keyTypes";
545
+ const _kU = "keyUsage";
546
+ const _m = "message";
547
+ const _mB = "managedBy";
548
+ const _r = "reason";
549
+ const _re = "resource";
550
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.acm";
551
+ const _tR = "throttlingReasons";
552
+ const n0 = "com.amazonaws.acm";
553
+ const _s_registry = TypeRegistry.for(_s);
554
+ var ACMServiceException$ = [-3, _s, "ACMServiceException", 0, [], []];
555
+ _s_registry.registerError(ACMServiceException$, ACMServiceException);
556
+ const n0_registry = TypeRegistry.for(n0);
557
+ var AccessDeniedException$ = [-3, n0, _ADE,
558
+ { [_aQE]: [`AccessDenied`, 403], [_e]: _c, [_hE]: 403 },
559
+ [_M],
560
+ [0]
561
+ ];
562
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
563
+ var ConflictException$ = [-3, n0, _CE,
564
+ { [_e]: _c },
565
+ [_m],
566
+ [0]
567
+ ];
568
+ n0_registry.registerError(ConflictException$, ConflictException);
569
+ var InvalidArgsException$ = [-3, n0, _IAE,
570
+ { [_e]: _c },
571
+ [_m],
572
+ [0]
573
+ ];
574
+ n0_registry.registerError(InvalidArgsException$, InvalidArgsException);
575
+ var InvalidArnException$ = [-3, n0, _IAEn,
576
+ { [_e]: _c },
577
+ [_m],
578
+ [0]
579
+ ];
580
+ n0_registry.registerError(InvalidArnException$, InvalidArnException);
581
+ var InvalidDomainValidationOptionsException$ = [-3, n0, _IDVOE,
582
+ { [_e]: _c },
583
+ [_m],
584
+ [0]
585
+ ];
586
+ n0_registry.registerError(InvalidDomainValidationOptionsException$, InvalidDomainValidationOptionsException);
587
+ var InvalidParameterException$ = [-3, n0, _IPE,
588
+ { [_e]: _c },
589
+ [_m],
590
+ [0]
591
+ ];
592
+ n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
593
+ var InvalidStateException$ = [-3, n0, _ISE,
594
+ { [_e]: _c },
595
+ [_m],
596
+ [0]
597
+ ];
598
+ n0_registry.registerError(InvalidStateException$, InvalidStateException);
599
+ var InvalidTagException$ = [-3, n0, _ITE,
600
+ { [_e]: _c },
601
+ [_m],
602
+ [0]
603
+ ];
604
+ n0_registry.registerError(InvalidTagException$, InvalidTagException);
605
+ var LimitExceededException$ = [-3, n0, _LEE,
606
+ { [_e]: _c },
607
+ [_m],
608
+ [0]
609
+ ];
610
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
611
+ var RequestInProgressException$ = [-3, n0, _RIPE,
612
+ { [_e]: _c },
613
+ [_m],
614
+ [0]
615
+ ];
616
+ n0_registry.registerError(RequestInProgressException$, RequestInProgressException);
617
+ var ResourceInUseException$ = [-3, n0, _RIUE,
618
+ { [_e]: _c },
619
+ [_m],
620
+ [0]
621
+ ];
622
+ n0_registry.registerError(ResourceInUseException$, ResourceInUseException);
623
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
624
+ { [_e]: _c },
625
+ [_m],
626
+ [0]
627
+ ];
628
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
629
+ var TagPolicyException$ = [-3, n0, _TPE,
630
+ { [_e]: _c },
631
+ [_m],
632
+ [0]
633
+ ];
634
+ n0_registry.registerError(TagPolicyException$, TagPolicyException);
635
+ var ThrottlingException$ = [-3, n0, _TE,
636
+ { [_aQE]: [`Throttling`, 400], [_e]: _c, [_hE]: 400 },
637
+ [_m, _tR],
638
+ [0, () => ThrottlingReasonList]
639
+ ];
640
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
641
+ var TooManyTagsException$ = [-3, n0, _TMTE,
642
+ { [_e]: _c },
643
+ [_m],
644
+ [0]
645
+ ];
646
+ n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
647
+ var ValidationException$ = [-3, n0, _VE,
648
+ { [_aQE]: [`ValidationError`, 400], [_e]: _c, [_hE]: 400 },
649
+ [_m],
650
+ [0]
651
+ ];
652
+ n0_registry.registerError(ValidationException$, ValidationException);
653
+ const errorTypeRegistries = [
654
+ _s_registry,
655
+ n0_registry,
656
+ ];
657
+ var PassphraseBlob = [0, n0, _PB, 8, 21];
658
+ var PrivateKey = [0, n0, _PK, 8, 0];
659
+ var PrivateKeyBlob = [0, n0, _PKB, 8, 21];
660
+ var AcmCertificateMetadata$ = [3, n0, _ACM,
661
+ 0,
662
+ [_CA, _E, _IA, _IU, _IAs, _RE, _RA, _S, _RS, _T, _EO, _MB, _VM],
663
+ [4, 2, 4, 2, 4, 0, 4, 0, 0, 0, 0, 0, 0]
664
+ ];
665
+ var AddTagsToCertificateRequest$ = [3, n0, _ATTCR,
666
+ 0,
667
+ [_CAe, _Ta],
668
+ [0, () => TagList], 2
669
+ ];
670
+ var CertificateDetail$ = [3, n0, _CD,
671
+ 0,
672
+ [_CAe, _DN, _SAN, _MB, _DVO, _Se, _Su, _I, _CA, _IAs, _IA, _S, _RA, _RR, _NB, _NA, _KA, _SA, _IUB, _FR, _T, _RSe, _KU, _EKU, _CAA, _RE, _O],
673
+ [0, 0, 64 | 0, 0, () => DomainValidationList, 0, 0, 0, 4, 4, 4, 0, 4, 0, 4, 4, 0, 0, 64 | 0, 0, 0, () => RenewalSummary$, () => KeyUsageList, () => ExtendedKeyUsageList, 0, 0, () => CertificateOptions$]
674
+ ];
675
+ var CertificateOptions$ = [3, n0, _CO,
676
+ 0,
677
+ [_CTLP, _Ex],
678
+ [0, 0]
679
+ ];
680
+ var CertificateSearchResult$ = [3, n0, _CSR,
681
+ 0,
682
+ [_CAe, _XA, _CM],
683
+ [0, () => X509Attributes$, () => CertificateMetadata$]
684
+ ];
685
+ var CertificateSummary$ = [3, n0, _CS,
686
+ 0,
687
+ [_CAe, _DN, _SANS, _HASAN, _S, _T, _KA, _KU, _EKU, _EO, _IU, _E, _RE, _NB, _NA, _CA, _IAs, _IA, _RA, _MB],
688
+ [0, 0, 64 | 0, 2, 0, 0, 0, 64 | 0, 64 | 0, 0, 2, 2, 0, 4, 4, 4, 4, 4, 4, 0]
689
+ ];
690
+ var CommonNameFilter$ = [3, n0, _CNF,
691
+ 0,
692
+ [_V, _COo],
693
+ [0, 0], 2
694
+ ];
695
+ var CustomAttribute$ = [3, n0, _CAu,
696
+ 0,
697
+ [_OI, _V],
698
+ [0, 0]
699
+ ];
700
+ var DeleteCertificateRequest$ = [3, n0, _DCR,
701
+ 0,
702
+ [_CAe],
703
+ [0], 1
704
+ ];
705
+ var DescribeCertificateRequest$ = [3, n0, _DCRe,
706
+ 0,
707
+ [_CAe],
708
+ [0], 1
709
+ ];
710
+ var DescribeCertificateResponse$ = [3, n0, _DCRes,
711
+ 0,
712
+ [_C],
713
+ [() => CertificateDetail$]
714
+ ];
715
+ var DistinguishedName$ = [3, n0, _DNi,
716
+ 0,
717
+ [_CN, _DC, _Co, _CAus, _DNQ, _GQ, _GN, _In, _L, _Or, _OU, _P, _SN, _St, _Sur, _Ti],
718
+ [0, 64 | 0, 0, () => CustomAttributeList, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
719
+ ];
720
+ var DnsNameFilter$ = [3, n0, _DNF,
721
+ 0,
722
+ [_V, _COo],
723
+ [0, 0], 2
724
+ ];
725
+ var DomainValidation$ = [3, n0, _DV,
726
+ 0,
727
+ [_DN, _VEa, _VD, _VS, _RRe, _HR, _VM],
728
+ [0, 64 | 0, 0, 0, () => ResourceRecord$, () => HttpRedirect$, 0], 1
729
+ ];
730
+ var DomainValidationOption$ = [3, n0, _DVOo,
731
+ 0,
732
+ [_DN, _VD],
733
+ [0, 0], 2
734
+ ];
735
+ var ExpiryEventsConfiguration$ = [3, n0, _EEC,
736
+ 0,
737
+ [_DBE],
738
+ [1]
739
+ ];
740
+ var ExportCertificateRequest$ = [3, n0, _ECR,
741
+ 0,
742
+ [_CAe, _Pa],
743
+ [0, [() => PassphraseBlob, 0]], 2
744
+ ];
745
+ var ExportCertificateResponse$ = [3, n0, _ECRx,
746
+ 0,
747
+ [_C, _CC, _PK],
748
+ [0, 0, [() => PrivateKey, 0]]
749
+ ];
750
+ var ExtendedKeyUsage$ = [3, n0, _EKUx,
751
+ 0,
752
+ [_N, _OID],
753
+ [0, 0]
754
+ ];
755
+ var Filters$ = [3, n0, _F,
756
+ 0,
757
+ [_eKU, _kU, _kT, _eO, _mB],
758
+ [64 | 0, 64 | 0, 64 | 0, 0, 0]
759
+ ];
760
+ var GetAccountConfigurationResponse$ = [3, n0, _GACR,
761
+ 0,
762
+ [_EE],
763
+ [() => ExpiryEventsConfiguration$]
764
+ ];
765
+ var GetCertificateRequest$ = [3, n0, _GCR,
766
+ 0,
767
+ [_CAe],
768
+ [0], 1
769
+ ];
770
+ var GetCertificateResponse$ = [3, n0, _GCRe,
771
+ 0,
772
+ [_C, _CC],
773
+ [0, 0]
774
+ ];
775
+ var HttpRedirect$ = [3, n0, _HR,
776
+ 0,
777
+ [_RF, _RT],
778
+ [0, 0]
779
+ ];
780
+ var ImportCertificateRequest$ = [3, n0, _ICR,
781
+ 0,
782
+ [_C, _PK, _CAe, _CC, _Ta],
783
+ [21, [() => PrivateKeyBlob, 0], 0, 21, () => TagList], 2
784
+ ];
785
+ var ImportCertificateResponse$ = [3, n0, _ICRm,
786
+ 0,
787
+ [_CAe],
788
+ [0]
789
+ ];
790
+ var KeyUsage$ = [3, n0, _KUe,
791
+ 0,
792
+ [_N],
793
+ [0]
794
+ ];
795
+ var ListCertificatesRequest$ = [3, n0, _LCR,
796
+ 0,
797
+ [_CSe, _Inc, _NT, _MI, _SB, _SO],
798
+ [64 | 0, () => Filters$, 0, 1, 0, 0]
799
+ ];
800
+ var ListCertificatesResponse$ = [3, n0, _LCRi,
801
+ 0,
802
+ [_NT, _CSL],
803
+ [0, () => CertificateSummaryList]
804
+ ];
805
+ var ListTagsForCertificateRequest$ = [3, n0, _LTFCR,
806
+ 0,
807
+ [_CAe],
808
+ [0], 1
809
+ ];
810
+ var ListTagsForCertificateResponse$ = [3, n0, _LTFCRi,
811
+ 0,
812
+ [_Ta],
813
+ [() => TagList]
814
+ ];
815
+ var OtherName$ = [3, n0, _ON,
816
+ 0,
817
+ [_OI, _V],
818
+ [0, 0]
819
+ ];
820
+ var PutAccountConfigurationRequest$ = [3, n0, _PACR,
821
+ 0,
822
+ [_IT, _EE],
823
+ [0, () => ExpiryEventsConfiguration$], 1
824
+ ];
825
+ var RemoveTagsFromCertificateRequest$ = [3, n0, _RTFCR,
826
+ 0,
827
+ [_CAe, _Ta],
828
+ [0, () => TagList], 2
829
+ ];
830
+ var RenewalSummary$ = [3, n0, _RSe,
831
+ 0,
832
+ [_RS, _DVO, _UA, _RSR],
833
+ [0, () => DomainValidationList, 4, 0], 3
834
+ ];
835
+ var RenewCertificateRequest$ = [3, n0, _RCR,
836
+ 0,
837
+ [_CAe],
838
+ [0], 1
839
+ ];
840
+ var RequestCertificateRequest$ = [3, n0, _RCRe,
841
+ 0,
842
+ [_DN, _VM, _SAN, _IT, _DVO, _O, _CAA, _Ta, _KA, _MB],
843
+ [0, 0, 64 | 0, 0, () => DomainValidationOptionList, () => CertificateOptions$, 0, () => TagList, 0, 0], 1
844
+ ];
845
+ var RequestCertificateResponse$ = [3, n0, _RCReq,
846
+ 0,
847
+ [_CAe],
848
+ [0]
849
+ ];
850
+ var ResendValidationEmailRequest$ = [3, n0, _RVER,
851
+ 0,
852
+ [_CAe, _D, _VD],
853
+ [0, 0, 0], 3
854
+ ];
855
+ var ResourceRecord$ = [3, n0, _RRe,
856
+ 0,
857
+ [_N, _T, _V],
858
+ [0, 0, 0], 3
859
+ ];
860
+ var RevokeCertificateRequest$ = [3, n0, _RCRev,
861
+ 0,
862
+ [_CAe, _RR],
863
+ [0, 0], 2
864
+ ];
865
+ var RevokeCertificateResponse$ = [3, n0, _RCRevo,
866
+ 0,
867
+ [_CAe],
868
+ [0]
869
+ ];
870
+ var SearchCertificatesRequest$ = [3, n0, _SCR,
871
+ 0,
872
+ [_FS, _MR, _NT, _SB, _SO],
873
+ [() => CertificateFilterStatement$, 1, 0, 0, 0]
874
+ ];
875
+ var SearchCertificatesResponse$ = [3, n0, _SCRe,
876
+ 0,
877
+ [_R, _NT],
878
+ [() => CertificateSearchResultList, 0]
879
+ ];
880
+ var Tag$ = [3, n0, _Tag,
881
+ 0,
882
+ [_K, _V],
883
+ [0, 0], 1
884
+ ];
885
+ var ThrottlingReason$ = [3, n0, _TR,
886
+ 0,
887
+ [_r, _re],
888
+ [0, 0]
889
+ ];
890
+ var TimestampRange$ = [3, n0, _TRi,
891
+ 0,
892
+ [_Sta, _En],
893
+ [4, 4]
894
+ ];
895
+ var UpdateCertificateOptionsRequest$ = [3, n0, _UCOR,
896
+ 0,
897
+ [_CAe, _O],
898
+ [0, () => CertificateOptions$], 2
899
+ ];
900
+ var X509Attributes$ = [3, n0, _XA,
901
+ 0,
902
+ [_I, _Su, _SAN, _EKU, _KA, _KU, _SN, _NA, _NB],
903
+ [() => DistinguishedName$, () => DistinguishedName$, () => GeneralNameList, 64 | 0, 0, 64 | 0, 0, 4, 4]
904
+ ];
905
+ var __Unit = "unit";
906
+ var CertificateFilterStatementList = [1, n0, _CFSL,
907
+ 0, () => CertificateFilterStatement$
908
+ ];
909
+ var CertificateSearchResultList = [1, n0, _CSRL,
910
+ 0, () => CertificateSearchResult$
911
+ ];
912
+ var CertificateSummaryList = [1, n0, _CSL,
913
+ 0, () => CertificateSummary$
914
+ ];
915
+ var CustomAttributeList = [1, n0, _CAL,
916
+ 0, () => CustomAttribute$
917
+ ];
918
+ var DomainValidationList = [1, n0, _DVL,
919
+ 0, () => DomainValidation$
920
+ ];
921
+ var DomainValidationOptionList = [1, n0, _DVOL,
922
+ 0, () => DomainValidationOption$
923
+ ];
924
+ var ExtendedKeyUsageList = [1, n0, _EKUL,
925
+ 0, () => ExtendedKeyUsage$
926
+ ];
927
+ var GeneralNameList = [1, n0, _GNL,
928
+ 0, () => GeneralName$
929
+ ];
930
+ var KeyUsageList = [1, n0, _KUL,
931
+ 0, () => KeyUsage$
932
+ ];
933
+ var TagList = [1, n0, _TL,
934
+ 0, () => Tag$
935
+ ];
936
+ var ThrottlingReasonList = [1, n0, _TRL,
937
+ 0, () => ThrottlingReason$
938
+ ];
939
+ var AcmCertificateMetadataFilter$ = [4, n0, _ACMF,
940
+ 0,
941
+ [_S, _RS, _T, _IU, _E, _EO, _MB, _VM],
942
+ [0, 0, 0, 2, 2, 0, 0, 0]
943
+ ];
944
+ var CertificateFilter$ = [4, n0, _CF,
945
+ 0,
946
+ [_CAe, _XAF, _ACMF],
947
+ [0, () => X509AttributeFilter$, () => AcmCertificateMetadataFilter$]
948
+ ];
949
+ var CertificateFilterStatement$ = [4, n0, _CFS,
950
+ 0,
951
+ [_A, _Or_, _No, _Fi],
952
+ [() => CertificateFilterStatementList, () => CertificateFilterStatementList, () => CertificateFilterStatement$, () => CertificateFilter$]
953
+ ];
954
+ var CertificateMetadata$ = [4, n0, _CM,
955
+ 0,
956
+ [_ACM],
957
+ [() => AcmCertificateMetadata$]
958
+ ];
959
+ var GeneralName$ = [4, n0, _GNe,
960
+ 0,
961
+ [_DNir, _DNn, _IAp, _ON, _RI, _RN, _URI],
962
+ [() => DistinguishedName$, 0, 0, () => OtherName$, 0, 0, 0]
963
+ ];
964
+ var SubjectAlternativeNameFilter$ = [4, n0, _SANF,
965
+ 0,
966
+ [_DNn],
967
+ [() => DnsNameFilter$]
968
+ ];
969
+ var SubjectFilter$ = [4, n0, _SF,
970
+ 0,
971
+ [_CN],
972
+ [() => CommonNameFilter$]
973
+ ];
974
+ var X509AttributeFilter$ = [4, n0, _XAF,
975
+ 0,
976
+ [_Su, _SANu, _EKUx, _KUe, _KA, _SN, _NA, _NB],
977
+ [() => SubjectFilter$, () => SubjectAlternativeNameFilter$, 0, 0, 0, 0, () => TimestampRange$, () => TimestampRange$]
978
+ ];
979
+ var AddTagsToCertificate$ = [9, n0, _ATTC,
980
+ 0, () => AddTagsToCertificateRequest$, () => __Unit
981
+ ];
982
+ var DeleteCertificate$ = [9, n0, _DCe,
983
+ 0, () => DeleteCertificateRequest$, () => __Unit
984
+ ];
985
+ var DescribeCertificate$ = [9, n0, _DCes,
986
+ 0, () => DescribeCertificateRequest$, () => DescribeCertificateResponse$
987
+ ];
988
+ var ExportCertificate$ = [9, n0, _EC,
989
+ 0, () => ExportCertificateRequest$, () => ExportCertificateResponse$
990
+ ];
991
+ var GetAccountConfiguration$ = [9, n0, _GAC,
992
+ 0, () => __Unit, () => GetAccountConfigurationResponse$
993
+ ];
994
+ var GetCertificate$ = [9, n0, _GC,
995
+ 0, () => GetCertificateRequest$, () => GetCertificateResponse$
996
+ ];
997
+ var ImportCertificate$ = [9, n0, _IC,
998
+ 0, () => ImportCertificateRequest$, () => ImportCertificateResponse$
999
+ ];
1000
+ var ListCertificates$ = [9, n0, _LC,
1001
+ 0, () => ListCertificatesRequest$, () => ListCertificatesResponse$
1002
+ ];
1003
+ var ListTagsForCertificate$ = [9, n0, _LTFC,
1004
+ 0, () => ListTagsForCertificateRequest$, () => ListTagsForCertificateResponse$
1005
+ ];
1006
+ var PutAccountConfiguration$ = [9, n0, _PAC,
1007
+ 0, () => PutAccountConfigurationRequest$, () => __Unit
1008
+ ];
1009
+ var RemoveTagsFromCertificate$ = [9, n0, _RTFC,
1010
+ 0, () => RemoveTagsFromCertificateRequest$, () => __Unit
1011
+ ];
1012
+ var RenewCertificate$ = [9, n0, _RC,
1013
+ 0, () => RenewCertificateRequest$, () => __Unit
1014
+ ];
1015
+ var RequestCertificate$ = [9, n0, _RCe,
1016
+ 0, () => RequestCertificateRequest$, () => RequestCertificateResponse$
1017
+ ];
1018
+ var ResendValidationEmail$ = [9, n0, _RVE,
1019
+ 0, () => ResendValidationEmailRequest$, () => __Unit
1020
+ ];
1021
+ var RevokeCertificate$ = [9, n0, _RCev,
1022
+ 0, () => RevokeCertificateRequest$, () => RevokeCertificateResponse$
1023
+ ];
1024
+ var SearchCertificates$ = [9, n0, _SC,
1025
+ 0, () => SearchCertificatesRequest$, () => SearchCertificatesResponse$
1026
+ ];
1027
+ var UpdateCertificateOptions$ = [9, n0, _UCO,
1028
+ 0, () => UpdateCertificateOptionsRequest$, () => __Unit
1029
+ ];
1030
+
1031
+ const getRuntimeConfig$1 = (config) => {
1032
+ return {
1033
+ apiVersion: "2015-12-08",
1034
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1035
+ base64Encoder: config?.base64Encoder ?? toBase64,
1036
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1037
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1038
+ extensions: config?.extensions ?? [],
1039
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultACMHttpAuthSchemeProvider,
1040
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1041
+ {
1042
+ schemeId: "aws.auth#sigv4",
1043
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1044
+ signer: new AwsSdkSigV4Signer(),
1045
+ },
1046
+ ],
1047
+ logger: config?.logger ?? new NoOpLogger(),
1048
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
1049
+ protocolSettings: config?.protocolSettings ?? {
1050
+ defaultNamespace: "com.amazonaws.acm",
1051
+ errorTypeRegistries,
1052
+ version: "2015-12-08",
1053
+ serviceTarget: "CertificateManager",
1054
+ },
1055
+ serviceId: config?.serviceId ?? "ACM",
1056
+ urlParser: config?.urlParser ?? parseUrl,
1057
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1058
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1059
+ };
1060
+ };
1061
+
1062
+ const getRuntimeConfig = (config) => {
1063
+ emitWarningIfUnsupportedVersion(process.version);
1064
+ const defaultsMode = resolveDefaultsModeConfig(config);
1065
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1066
+ const clientSharedValues = getRuntimeConfig$1(config);
1067
+ emitWarningIfUnsupportedVersion$1(process.version);
1068
+ const loaderConfig = {
1069
+ profile: config?.profile,
1070
+ logger: clientSharedValues.logger,
1071
+ };
1072
+ return {
1073
+ ...clientSharedValues,
1074
+ ...config,
1075
+ runtime: "node",
1076
+ defaultsMode,
1077
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1078
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1079
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1080
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1081
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1082
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1083
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1084
+ retryMode: config?.retryMode ??
1085
+ loadConfig({
1086
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1087
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1088
+ }, config),
1089
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1090
+ streamCollector: config?.streamCollector ?? streamCollector,
1091
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1092
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1093
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1094
+ };
1095
+ };
1096
+
34
1097
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1098
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1099
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -568,43 +1631,152 @@ const SearchCertificatesSortOrder = {
568
1631
 
569
1632
  exports.ACM = ACM;
570
1633
  exports.ACMClient = ACMClient;
1634
+ exports.ACMServiceException = ACMServiceException;
1635
+ exports.ACMServiceException$ = ACMServiceException$;
1636
+ exports.AccessDeniedException = AccessDeniedException;
1637
+ exports.AccessDeniedException$ = AccessDeniedException$;
1638
+ exports.AcmCertificateMetadata$ = AcmCertificateMetadata$;
1639
+ exports.AcmCertificateMetadataFilter$ = AcmCertificateMetadataFilter$;
1640
+ exports.AddTagsToCertificate$ = AddTagsToCertificate$;
571
1641
  exports.AddTagsToCertificateCommand = AddTagsToCertificateCommand;
1642
+ exports.AddTagsToCertificateRequest$ = AddTagsToCertificateRequest$;
1643
+ exports.CertificateDetail$ = CertificateDetail$;
572
1644
  exports.CertificateExport = CertificateExport;
1645
+ exports.CertificateFilter$ = CertificateFilter$;
1646
+ exports.CertificateFilterStatement$ = CertificateFilterStatement$;
573
1647
  exports.CertificateManagedBy = CertificateManagedBy;
1648
+ exports.CertificateMetadata$ = CertificateMetadata$;
1649
+ exports.CertificateOptions$ = CertificateOptions$;
1650
+ exports.CertificateSearchResult$ = CertificateSearchResult$;
574
1651
  exports.CertificateStatus = CertificateStatus;
1652
+ exports.CertificateSummary$ = CertificateSummary$;
575
1653
  exports.CertificateTransparencyLoggingPreference = CertificateTransparencyLoggingPreference;
576
1654
  exports.CertificateType = CertificateType;
1655
+ exports.CommonNameFilter$ = CommonNameFilter$;
577
1656
  exports.ComparisonOperator = ComparisonOperator;
1657
+ exports.ConflictException = ConflictException;
1658
+ exports.ConflictException$ = ConflictException$;
1659
+ exports.CustomAttribute$ = CustomAttribute$;
1660
+ exports.DeleteCertificate$ = DeleteCertificate$;
578
1661
  exports.DeleteCertificateCommand = DeleteCertificateCommand;
1662
+ exports.DeleteCertificateRequest$ = DeleteCertificateRequest$;
1663
+ exports.DescribeCertificate$ = DescribeCertificate$;
579
1664
  exports.DescribeCertificateCommand = DescribeCertificateCommand;
1665
+ exports.DescribeCertificateRequest$ = DescribeCertificateRequest$;
1666
+ exports.DescribeCertificateResponse$ = DescribeCertificateResponse$;
1667
+ exports.DistinguishedName$ = DistinguishedName$;
1668
+ exports.DnsNameFilter$ = DnsNameFilter$;
580
1669
  exports.DomainStatus = DomainStatus;
1670
+ exports.DomainValidation$ = DomainValidation$;
1671
+ exports.DomainValidationOption$ = DomainValidationOption$;
1672
+ exports.ExpiryEventsConfiguration$ = ExpiryEventsConfiguration$;
1673
+ exports.ExportCertificate$ = ExportCertificate$;
581
1674
  exports.ExportCertificateCommand = ExportCertificateCommand;
1675
+ exports.ExportCertificateRequest$ = ExportCertificateRequest$;
1676
+ exports.ExportCertificateResponse$ = ExportCertificateResponse$;
1677
+ exports.ExtendedKeyUsage$ = ExtendedKeyUsage$;
582
1678
  exports.ExtendedKeyUsageName = ExtendedKeyUsageName;
583
1679
  exports.FailureReason = FailureReason;
1680
+ exports.Filters$ = Filters$;
1681
+ exports.GeneralName$ = GeneralName$;
1682
+ exports.GetAccountConfiguration$ = GetAccountConfiguration$;
584
1683
  exports.GetAccountConfigurationCommand = GetAccountConfigurationCommand;
1684
+ exports.GetAccountConfigurationResponse$ = GetAccountConfigurationResponse$;
1685
+ exports.GetCertificate$ = GetCertificate$;
585
1686
  exports.GetCertificateCommand = GetCertificateCommand;
1687
+ exports.GetCertificateRequest$ = GetCertificateRequest$;
1688
+ exports.GetCertificateResponse$ = GetCertificateResponse$;
1689
+ exports.HttpRedirect$ = HttpRedirect$;
1690
+ exports.ImportCertificate$ = ImportCertificate$;
586
1691
  exports.ImportCertificateCommand = ImportCertificateCommand;
1692
+ exports.ImportCertificateRequest$ = ImportCertificateRequest$;
1693
+ exports.ImportCertificateResponse$ = ImportCertificateResponse$;
1694
+ exports.InvalidArgsException = InvalidArgsException;
1695
+ exports.InvalidArgsException$ = InvalidArgsException$;
1696
+ exports.InvalidArnException = InvalidArnException;
1697
+ exports.InvalidArnException$ = InvalidArnException$;
1698
+ exports.InvalidDomainValidationOptionsException = InvalidDomainValidationOptionsException;
1699
+ exports.InvalidDomainValidationOptionsException$ = InvalidDomainValidationOptionsException$;
1700
+ exports.InvalidParameterException = InvalidParameterException;
1701
+ exports.InvalidParameterException$ = InvalidParameterException$;
1702
+ exports.InvalidStateException = InvalidStateException;
1703
+ exports.InvalidStateException$ = InvalidStateException$;
1704
+ exports.InvalidTagException = InvalidTagException;
1705
+ exports.InvalidTagException$ = InvalidTagException$;
587
1706
  exports.KeyAlgorithm = KeyAlgorithm;
1707
+ exports.KeyUsage$ = KeyUsage$;
588
1708
  exports.KeyUsageName = KeyUsageName;
1709
+ exports.LimitExceededException = LimitExceededException;
1710
+ exports.LimitExceededException$ = LimitExceededException$;
1711
+ exports.ListCertificates$ = ListCertificates$;
589
1712
  exports.ListCertificatesCommand = ListCertificatesCommand;
1713
+ exports.ListCertificatesRequest$ = ListCertificatesRequest$;
1714
+ exports.ListCertificatesResponse$ = ListCertificatesResponse$;
1715
+ exports.ListTagsForCertificate$ = ListTagsForCertificate$;
590
1716
  exports.ListTagsForCertificateCommand = ListTagsForCertificateCommand;
1717
+ exports.ListTagsForCertificateRequest$ = ListTagsForCertificateRequest$;
1718
+ exports.ListTagsForCertificateResponse$ = ListTagsForCertificateResponse$;
1719
+ exports.OtherName$ = OtherName$;
1720
+ exports.PutAccountConfiguration$ = PutAccountConfiguration$;
591
1721
  exports.PutAccountConfigurationCommand = PutAccountConfigurationCommand;
1722
+ exports.PutAccountConfigurationRequest$ = PutAccountConfigurationRequest$;
592
1723
  exports.RecordType = RecordType;
1724
+ exports.RemoveTagsFromCertificate$ = RemoveTagsFromCertificate$;
593
1725
  exports.RemoveTagsFromCertificateCommand = RemoveTagsFromCertificateCommand;
1726
+ exports.RemoveTagsFromCertificateRequest$ = RemoveTagsFromCertificateRequest$;
1727
+ exports.RenewCertificate$ = RenewCertificate$;
594
1728
  exports.RenewCertificateCommand = RenewCertificateCommand;
1729
+ exports.RenewCertificateRequest$ = RenewCertificateRequest$;
595
1730
  exports.RenewalEligibility = RenewalEligibility;
596
1731
  exports.RenewalStatus = RenewalStatus;
1732
+ exports.RenewalSummary$ = RenewalSummary$;
1733
+ exports.RequestCertificate$ = RequestCertificate$;
597
1734
  exports.RequestCertificateCommand = RequestCertificateCommand;
1735
+ exports.RequestCertificateRequest$ = RequestCertificateRequest$;
1736
+ exports.RequestCertificateResponse$ = RequestCertificateResponse$;
1737
+ exports.RequestInProgressException = RequestInProgressException;
1738
+ exports.RequestInProgressException$ = RequestInProgressException$;
1739
+ exports.ResendValidationEmail$ = ResendValidationEmail$;
598
1740
  exports.ResendValidationEmailCommand = ResendValidationEmailCommand;
1741
+ exports.ResendValidationEmailRequest$ = ResendValidationEmailRequest$;
1742
+ exports.ResourceInUseException = ResourceInUseException;
1743
+ exports.ResourceInUseException$ = ResourceInUseException$;
1744
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1745
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1746
+ exports.ResourceRecord$ = ResourceRecord$;
599
1747
  exports.RevocationReason = RevocationReason;
1748
+ exports.RevokeCertificate$ = RevokeCertificate$;
600
1749
  exports.RevokeCertificateCommand = RevokeCertificateCommand;
1750
+ exports.RevokeCertificateRequest$ = RevokeCertificateRequest$;
1751
+ exports.RevokeCertificateResponse$ = RevokeCertificateResponse$;
1752
+ exports.SearchCertificates$ = SearchCertificates$;
601
1753
  exports.SearchCertificatesCommand = SearchCertificatesCommand;
1754
+ exports.SearchCertificatesRequest$ = SearchCertificatesRequest$;
1755
+ exports.SearchCertificatesResponse$ = SearchCertificatesResponse$;
602
1756
  exports.SearchCertificatesSortBy = SearchCertificatesSortBy;
603
1757
  exports.SearchCertificatesSortOrder = SearchCertificatesSortOrder;
604
1758
  exports.SortBy = SortBy;
605
1759
  exports.SortOrder = SortOrder;
1760
+ exports.SubjectAlternativeNameFilter$ = SubjectAlternativeNameFilter$;
1761
+ exports.SubjectFilter$ = SubjectFilter$;
1762
+ exports.Tag$ = Tag$;
1763
+ exports.TagPolicyException = TagPolicyException;
1764
+ exports.TagPolicyException$ = TagPolicyException$;
1765
+ exports.ThrottlingException = ThrottlingException;
1766
+ exports.ThrottlingException$ = ThrottlingException$;
1767
+ exports.ThrottlingReason$ = ThrottlingReason$;
1768
+ exports.TimestampRange$ = TimestampRange$;
1769
+ exports.TooManyTagsException = TooManyTagsException;
1770
+ exports.TooManyTagsException$ = TooManyTagsException$;
1771
+ exports.UpdateCertificateOptions$ = UpdateCertificateOptions$;
606
1772
  exports.UpdateCertificateOptionsCommand = UpdateCertificateOptionsCommand;
1773
+ exports.UpdateCertificateOptionsRequest$ = UpdateCertificateOptionsRequest$;
1774
+ exports.ValidationException = ValidationException;
1775
+ exports.ValidationException$ = ValidationException$;
607
1776
  exports.ValidationMethod = ValidationMethod;
1777
+ exports.X509AttributeFilter$ = X509AttributeFilter$;
1778
+ exports.X509Attributes$ = X509Attributes$;
1779
+ exports.errorTypeRegistries = errorTypeRegistries;
608
1780
  exports.paginateListCertificates = paginateListCertificates;
609
1781
  exports.paginateSearchCertificates = paginateSearchCertificates;
610
1782
  exports.waitForCertificateValidated = waitForCertificateValidated;