@aws-sdk/client-acm 3.796.0 → 3.798.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.
@@ -40,6 +40,8 @@ const defaultACMHttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultACMHttpAuthSchemeProvider = defaultACMHttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return Object.assign(config_0, {});
43
+ return Object.assign(config_0, {
44
+ authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
45
+ });
44
46
  };
45
47
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -26,6 +26,7 @@ __export(index_exports, {
26
26
  ACMServiceException: () => ACMServiceException,
27
27
  AccessDeniedException: () => AccessDeniedException,
28
28
  AddTagsToCertificateCommand: () => AddTagsToCertificateCommand,
29
+ CertificateManagedBy: () => CertificateManagedBy,
29
30
  CertificateStatus: () => CertificateStatus,
30
31
  CertificateTransparencyLoggingPreference: () => CertificateTransparencyLoggingPreference,
31
32
  CertificateType: () => CertificateType,
@@ -402,7 +403,8 @@ var RecordType = {
402
403
  };
403
404
  var ValidationMethod = {
404
405
  DNS: "DNS",
405
- EMAIL: "EMAIL"
406
+ EMAIL: "EMAIL",
407
+ HTTP: "HTTP"
406
408
  };
407
409
  var DomainStatus = {
408
410
  FAILED: "FAILED",
@@ -464,6 +466,9 @@ var KeyUsageName = {
464
466
  KEY_ENCIPHERMENT: "KEY_ENCIPHERMENT",
465
467
  NON_REPUDATION: "NON_REPUDIATION"
466
468
  };
469
+ var CertificateManagedBy = {
470
+ CLOUDFRONT: "CLOUDFRONT"
471
+ };
467
472
  var CertificateTransparencyLoggingPreference = {
468
473
  DISABLED: "DISABLED",
469
474
  ENABLED: "ENABLED"
@@ -488,6 +493,7 @@ var RevocationReason = {
488
493
  PRIVILEGE_WITHDRAWN: "PRIVILEGE_WITHDRAWN",
489
494
  REMOVE_FROM_CRL: "REMOVE_FROM_CRL",
490
495
  SUPERCEDED: "SUPERCEDED",
496
+ SUPERSEDED: "SUPERSEDED",
491
497
  UNSPECIFIED: "UNSPECIFIED"
492
498
  };
493
499
  var CertificateStatus = {
@@ -1170,6 +1176,7 @@ var de_CertificateDetail = /* @__PURE__ */ __name((output, context) => {
1170
1176
  Issuer: import_smithy_client.expectString,
1171
1177
  KeyAlgorithm: import_smithy_client.expectString,
1172
1178
  KeyUsages: import_smithy_client._json,
1179
+ ManagedBy: import_smithy_client.expectString,
1173
1180
  NotAfter: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "NotAfter"),
1174
1181
  NotBefore: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "NotBefore"),
1175
1182
  Options: import_smithy_client._json,
@@ -1198,6 +1205,7 @@ var de_CertificateSummary = /* @__PURE__ */ __name((output, context) => {
1198
1205
  IssuedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "IssuedAt"),
1199
1206
  KeyAlgorithm: import_smithy_client.expectString,
1200
1207
  KeyUsages: import_smithy_client._json,
1208
+ ManagedBy: import_smithy_client.expectString,
1201
1209
  NotAfter: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "NotAfter"),
1202
1210
  NotBefore: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "NotBefore"),
1203
1211
  RenewalEligibility: import_smithy_client.expectString,
@@ -1622,6 +1630,7 @@ var waitUntilCertificateValidated = /* @__PURE__ */ __name(async (params, input)
1622
1630
  FailureReason,
1623
1631
  KeyAlgorithm,
1624
1632
  KeyUsageName,
1633
+ CertificateManagedBy,
1625
1634
  CertificateTransparencyLoggingPreference,
1626
1635
  RenewalEligibility,
1627
1636
  RenewalStatus,
@@ -35,5 +35,7 @@ export const defaultACMHttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return Object.assign(config_0, {});
38
+ return Object.assign(config_0, {
39
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
40
+ });
39
41
  };
@@ -104,6 +104,7 @@ export const RecordType = {
104
104
  export const ValidationMethod = {
105
105
  DNS: "DNS",
106
106
  EMAIL: "EMAIL",
107
+ HTTP: "HTTP",
107
108
  };
108
109
  export const DomainStatus = {
109
110
  FAILED: "FAILED",
@@ -165,6 +166,9 @@ export const KeyUsageName = {
165
166
  KEY_ENCIPHERMENT: "KEY_ENCIPHERMENT",
166
167
  NON_REPUDATION: "NON_REPUDIATION",
167
168
  };
169
+ export const CertificateManagedBy = {
170
+ CLOUDFRONT: "CLOUDFRONT",
171
+ };
168
172
  export const CertificateTransparencyLoggingPreference = {
169
173
  DISABLED: "DISABLED",
170
174
  ENABLED: "ENABLED",
@@ -189,6 +193,7 @@ export const RevocationReason = {
189
193
  PRIVILEGE_WITHDRAWN: "PRIVILEGE_WITHDRAWN",
190
194
  REMOVE_FROM_CRL: "REMOVE_FROM_CRL",
191
195
  SUPERCEDED: "SUPERCEDED",
196
+ SUPERSEDED: "SUPERSEDED",
192
197
  UNSPECIFIED: "UNSPECIFIED",
193
198
  };
194
199
  export const CertificateStatus = {
@@ -504,6 +504,7 @@ const de_CertificateDetail = (output, context) => {
504
504
  Issuer: __expectString,
505
505
  KeyAlgorithm: __expectString,
506
506
  KeyUsages: _json,
507
+ ManagedBy: __expectString,
507
508
  NotAfter: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
508
509
  NotBefore: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
509
510
  Options: _json,
@@ -532,6 +533,7 @@ const de_CertificateSummary = (output, context) => {
532
533
  IssuedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
533
534
  KeyAlgorithm: __expectString,
534
535
  KeyUsages: _json,
536
+ ManagedBy: __expectString,
535
537
  NotAfter: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
536
538
  NotBefore: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
537
539
  RenewalEligibility: __expectString,
@@ -1,5 +1,5 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
3
  import { ACMClientResolvedConfig } from "../ACMClient";
4
4
  /**
5
5
  * @internal
@@ -29,6 +29,13 @@ export declare const defaultACMHttpAuthSchemeProvider: ACMHttpAuthSchemeProvider
29
29
  * @internal
30
30
  */
31
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * A comma-separated list of case-sensitive auth scheme names.
34
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
35
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
36
+ * @public
37
+ */
38
+ authSchemePreference?: string[] | Provider<string[]>;
32
39
  /**
33
40
  * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
41
  * @internal
@@ -44,6 +51,13 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
44
51
  * @internal
45
52
  */
46
53
  export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
54
+ /**
55
+ * A comma-separated list of case-sensitive auth scheme names.
56
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
57
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
58
+ * @public
59
+ */
60
+ readonly authSchemePreference: Provider<string[]>;
47
61
  /**
48
62
  * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
63
  * @internal
@@ -48,6 +48,7 @@ declare const DescribeCertificateCommand_base: {
48
48
  * // SubjectAlternativeNames: [ // DomainList
49
49
  * // "STRING_VALUE",
50
50
  * // ],
51
+ * // ManagedBy: "CLOUDFRONT",
51
52
  * // DomainValidationOptions: [ // DomainValidationList
52
53
  * // { // DomainValidation
53
54
  * // DomainName: "STRING_VALUE", // required
@@ -61,7 +62,11 @@ declare const DescribeCertificateCommand_base: {
61
62
  * // Type: "CNAME", // required
62
63
  * // Value: "STRING_VALUE", // required
63
64
  * // },
64
- * // ValidationMethod: "EMAIL" || "DNS",
65
+ * // HttpRedirect: { // HttpRedirect
66
+ * // RedirectFrom: "STRING_VALUE",
67
+ * // RedirectTo: "STRING_VALUE",
68
+ * // },
69
+ * // ValidationMethod: "EMAIL" || "DNS" || "HTTP",
65
70
  * // },
66
71
  * // ],
67
72
  * // Serial: "STRING_VALUE",
@@ -72,7 +77,7 @@ declare const DescribeCertificateCommand_base: {
72
77
  * // ImportedAt: new Date("TIMESTAMP"),
73
78
  * // Status: "PENDING_VALIDATION" || "ISSUED" || "INACTIVE" || "EXPIRED" || "VALIDATION_TIMED_OUT" || "REVOKED" || "FAILED",
74
79
  * // RevokedAt: new Date("TIMESTAMP"),
75
- * // RevocationReason: "UNSPECIFIED" || "KEY_COMPROMISE" || "CA_COMPROMISE" || "AFFILIATION_CHANGED" || "SUPERCEDED" || "CESSATION_OF_OPERATION" || "CERTIFICATE_HOLD" || "REMOVE_FROM_CRL" || "PRIVILEGE_WITHDRAWN" || "A_A_COMPROMISE",
80
+ * // RevocationReason: "UNSPECIFIED" || "KEY_COMPROMISE" || "CA_COMPROMISE" || "AFFILIATION_CHANGED" || "SUPERCEDED" || "SUPERSEDED" || "CESSATION_OF_OPERATION" || "CERTIFICATE_HOLD" || "REMOVE_FROM_CRL" || "PRIVILEGE_WITHDRAWN" || "A_A_COMPROMISE",
76
81
  * // NotBefore: new Date("TIMESTAMP"),
77
82
  * // NotAfter: new Date("TIMESTAMP"),
78
83
  * // KeyAlgorithm: "RSA_1024" || "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1",
@@ -97,7 +102,11 @@ declare const DescribeCertificateCommand_base: {
97
102
  * // Type: "CNAME", // required
98
103
  * // Value: "STRING_VALUE", // required
99
104
  * // },
100
- * // ValidationMethod: "EMAIL" || "DNS",
105
+ * // HttpRedirect: {
106
+ * // RedirectFrom: "STRING_VALUE",
107
+ * // RedirectTo: "STRING_VALUE",
108
+ * // },
109
+ * // ValidationMethod: "EMAIL" || "DNS" || "HTTP",
101
110
  * // },
102
111
  * // ],
103
112
  * // RenewalStatusReason: "NO_AVAILABLE_CONTACTS" || "ADDITIONAL_VERIFICATION_REQUIRED" || "DOMAIN_NOT_ALLOWED" || "INVALID_PUBLIC_DOMAIN" || "DOMAIN_VALIDATION_DENIED" || "CAA_ERROR" || "PCA_LIMIT_EXCEEDED" || "PCA_INVALID_ARN" || "PCA_INVALID_STATE" || "PCA_REQUEST_FAILED" || "PCA_NAME_CONSTRAINTS_VALIDATION" || "PCA_RESOURCE_NOT_FOUND" || "PCA_INVALID_ARGS" || "PCA_INVALID_DURATION" || "PCA_ACCESS_DENIED" || "SLR_NOT_FOUND" || "OTHER",
@@ -27,8 +27,10 @@ declare const ListCertificatesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves a list of certificate ARNs and domain names. By default, the API returns RSA_2048 certificates. To return all certificates in the account, include the <code>keyType</code> filter with the values <code>[RSA_1024, RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1]</code>.</p>
31
- * <p>In addition to <code>keyType</code>, you can also filter by the <code>CertificateStatuses</code>, <code>keyUsage</code>, and <code>extendedKeyUsage</code> attributes on the certificate. For more information, see <a>Filters</a>.</p>
30
+ * <p>Retrieves a list of certificate ARNs and domain names. You can request that only
31
+ * certificates that match a specific status be listed. You can also filter by specific
32
+ * attributes of the certificate. Default filtering returns only <code>RSA_2048</code>
33
+ * certificates. For more information, see <a>Filters</a>.</p>
32
34
  * @example
33
35
  * Use a bare-bones client and the command you need to make an API call.
34
36
  * ```javascript
@@ -49,6 +51,7 @@ declare const ListCertificatesCommand_base: {
49
51
  * keyTypes: [ // KeyAlgorithmList
50
52
  * "RSA_1024" || "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1",
51
53
  * ],
54
+ * managedBy: "CLOUDFRONT",
52
55
  * },
53
56
  * NextToken: "STRING_VALUE",
54
57
  * MaxItems: Number("int"),
@@ -85,6 +88,7 @@ declare const ListCertificatesCommand_base: {
85
88
  * // IssuedAt: new Date("TIMESTAMP"),
86
89
  * // ImportedAt: new Date("TIMESTAMP"),
87
90
  * // RevokedAt: new Date("TIMESTAMP"),
91
+ * // ManagedBy: "CLOUDFRONT",
88
92
  * // },
89
93
  * // ],
90
94
  * // };
@@ -56,6 +56,10 @@ declare const RenewCertificateCommand_base: {
56
56
  * @throws {@link InvalidArnException} (client fault)
57
57
  * <p>The requested Amazon Resource Name (ARN) does not refer to an existing resource.</p>
58
58
  *
59
+ * @throws {@link RequestInProgressException} (client fault)
60
+ * <p>The certificate request is in process and the certificate in your account has not yet been
61
+ * issued.</p>
62
+ *
59
63
  * @throws {@link ResourceNotFoundException} (client fault)
60
64
  * <p>The specified certificate cannot be found in the caller's account or the caller's account
61
65
  * cannot be found.</p>
@@ -51,7 +51,7 @@ declare const RequestCertificateCommand_base: {
51
51
  * const client = new ACMClient(config);
52
52
  * const input = { // RequestCertificateRequest
53
53
  * DomainName: "STRING_VALUE", // required
54
- * ValidationMethod: "EMAIL" || "DNS",
54
+ * ValidationMethod: "EMAIL" || "DNS" || "HTTP",
55
55
  * SubjectAlternativeNames: [ // DomainList
56
56
  * "STRING_VALUE",
57
57
  * ],
@@ -73,6 +73,7 @@ declare const RequestCertificateCommand_base: {
73
73
  * },
74
74
  * ],
75
75
  * KeyAlgorithm: "RSA_1024" || "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1",
76
+ * ManagedBy: "CLOUDFRONT",
76
77
  * };
77
78
  * const command = new RequestCertificateCommand(input);
78
79
  * const response = await client.send(command);
@@ -135,6 +135,23 @@ export declare class TooManyTagsException extends __BaseException {
135
135
  */
136
136
  constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
137
137
  }
138
+ /**
139
+ * <p>Contains information for HTTP-based domain validation of certificates requested through CloudFront and issued by ACM.
140
+ * This field exists only when the certificate type is <code>AMAZON_ISSUED</code> and the validation method is <code>HTTP</code>.</p>
141
+ * @public
142
+ */
143
+ export interface HttpRedirect {
144
+ /**
145
+ * <p>The URL including the domain to be validated. The certificate authority sends <code>GET</code> requests here during validation.</p>
146
+ * @public
147
+ */
148
+ RedirectFrom?: string | undefined;
149
+ /**
150
+ * <p>The URL hosting the validation token. <code>RedirectFrom</code> must return this content or redirect here.</p>
151
+ * @public
152
+ */
153
+ RedirectTo?: string | undefined;
154
+ }
138
155
  /**
139
156
  * @public
140
157
  * @enum
@@ -176,6 +193,7 @@ export interface ResourceRecord {
176
193
  export declare const ValidationMethod: {
177
194
  readonly DNS: "DNS";
178
195
  readonly EMAIL: "EMAIL";
196
+ readonly HTTP: "HTTP";
179
197
  };
180
198
  /**
181
199
  * @public
@@ -225,13 +243,11 @@ export interface DomainValidation {
225
243
  * </li>
226
244
  * <li>
227
245
  * <p>
228
- * <code>SUCCESS</code>
229
- * </p>
246
+ * <code/>SUCCESS</p>
230
247
  * </li>
231
248
  * <li>
232
249
  * <p>
233
- * <code>FAILED</code>
234
- * </p>
250
+ * <code/>FAILED</p>
235
251
  * </li>
236
252
  * </ul>
237
253
  * @public
@@ -241,14 +257,18 @@ export interface DomainValidation {
241
257
  * <p>Contains the CNAME record that you add to your DNS database for domain validation. For
242
258
  * more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html">Use DNS to Validate Domain Ownership</a>.</p>
243
259
  * <p>Note: The CNAME information that you need does not include the name of your domain. If you
244
- * include
245
- your domain name in the DNS database CNAME record, validation fails.
246
- For example, if
260
+ * include your domain name in the DNS database CNAME record, validation fails. For example, if
247
261
  * the name is "_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com", only
248
262
  * "_a79865eb4cd1a6ab990a45779b4e0b96" must be used.</p>
249
263
  * @public
250
264
  */
251
265
  ResourceRecord?: ResourceRecord | undefined;
266
+ /**
267
+ * <p>Contains information for HTTP-based domain validation of certificates requested through CloudFront and issued by ACM.
268
+ * This field exists only when the certificate type is <code>AMAZON_ISSUED</code> and the validation method is <code>HTTP</code>.</p>
269
+ * @public
270
+ */
271
+ HttpRedirect?: HttpRedirect | undefined;
252
272
  /**
253
273
  * <p>Specifies the domain validation method.</p>
254
274
  * @public
@@ -420,6 +440,17 @@ export interface KeyUsage {
420
440
  */
421
441
  Name?: KeyUsageName | undefined;
422
442
  }
443
+ /**
444
+ * @public
445
+ * @enum
446
+ */
447
+ export declare const CertificateManagedBy: {
448
+ readonly CLOUDFRONT: "CLOUDFRONT";
449
+ };
450
+ /**
451
+ * @public
452
+ */
453
+ export type CertificateManagedBy = (typeof CertificateManagedBy)[keyof typeof CertificateManagedBy];
423
454
  /**
424
455
  * @public
425
456
  * @enum
@@ -521,6 +552,7 @@ export declare const RevocationReason: {
521
552
  readonly PRIVILEGE_WITHDRAWN: "PRIVILEGE_WITHDRAWN";
522
553
  readonly REMOVE_FROM_CRL: "REMOVE_FROM_CRL";
523
554
  readonly SUPERCEDED: "SUPERCEDED";
555
+ readonly SUPERSEDED: "SUPERSEDED";
524
556
  readonly UNSPECIFIED: "UNSPECIFIED";
525
557
  };
526
558
  /**
@@ -585,6 +617,11 @@ export interface CertificateDetail {
585
617
  * @public
586
618
  */
587
619
  SubjectAlternativeNames?: string[] | undefined;
620
+ /**
621
+ * <p>Identifies the Amazon Web Services service that manages the certificate issued by ACM.</p>
622
+ * @public
623
+ */
624
+ ManagedBy?: CertificateManagedBy | undefined;
588
625
  /**
589
626
  * <p>Contains information about the initial validation of each domain name that occurs as a
590
627
  * result of the <a>RequestCertificate</a> request. This field exists only when the
@@ -1012,6 +1049,11 @@ export interface Filters {
1012
1049
  * @public
1013
1050
  */
1014
1051
  keyTypes?: KeyAlgorithm[] | undefined;
1052
+ /**
1053
+ * <p>Identifies the Amazon Web Services service that manages the certificate issued by ACM.</p>
1054
+ * @public
1055
+ */
1056
+ managedBy?: CertificateManagedBy | undefined;
1015
1057
  }
1016
1058
  /**
1017
1059
  * @public
@@ -1106,18 +1148,18 @@ export interface CertificateSummary {
1106
1148
  * list contains the domain names that are bound to the public key that is contained in the
1107
1149
  * certificate. The subject alternative names include the canonical domain name (CN) of the
1108
1150
  * certificate and additional domain names that can be used to connect to the website. </p>
1109
- * <p>When called by <a>ListCertificates</a>, this parameter will only return the first 100 subject alternative
1151
+ * <p>When called by <a href="https://docs.aws.amazon.com/acm/latestAPIReference/API_ListCertificates.html">ListCertificates</a>, this parameter will only return the first 100 subject alternative
1110
1152
  * names included in the certificate. To display the full list of subject alternative names, use
1111
- * <a>DescribeCertificate</a>.</p>
1153
+ * <a href="https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html">DescribeCertificate</a>.</p>
1112
1154
  * @public
1113
1155
  */
1114
1156
  SubjectAlternativeNameSummaries?: string[] | undefined;
1115
1157
  /**
1116
- * <p>When called by <a>ListCertificates</a>, indicates whether the full list of subject alternative names has
1158
+ * <p>When called by <a href="https://docs.aws.amazon.com/acm/latestAPIReference/API_ListCertificates.html">ListCertificates</a>, indicates whether the full list of subject alternative names has
1117
1159
  * been included in the response. If false, the response includes all of the subject alternative
1118
1160
  * names included in the certificate. If true, the response only includes the first 100 subject
1119
1161
  * alternative names included in the certificate. To display the full list of subject alternative
1120
- * names, use <a>DescribeCertificate</a>.</p>
1162
+ * names, use <a href="https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html">DescribeCertificate</a>.</p>
1121
1163
  * @public
1122
1164
  */
1123
1165
  HasAdditionalSubjectAlternativeNames?: boolean | undefined;
@@ -1211,6 +1253,11 @@ export interface CertificateSummary {
1211
1253
  * @public
1212
1254
  */
1213
1255
  RevokedAt?: Date | undefined;
1256
+ /**
1257
+ * <p>Identifies the Amazon Web Services service that manages the certificate issued by ACM.</p>
1258
+ * @public
1259
+ */
1260
+ ManagedBy?: CertificateManagedBy | undefined;
1214
1261
  }
1215
1262
  /**
1216
1263
  * @public
@@ -1505,6 +1552,11 @@ export interface RequestCertificateRequest {
1505
1552
  * @public
1506
1553
  */
1507
1554
  KeyAlgorithm?: KeyAlgorithm | undefined;
1555
+ /**
1556
+ * <p>Identifies the Amazon Web Services service that manages the certificate issued by ACM.</p>
1557
+ * @public
1558
+ */
1559
+ ManagedBy?: CertificateManagedBy | undefined;
1508
1560
  }
1509
1561
  /**
1510
1562
  * @public
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
38
38
  }) => import("@smithy/types").EndpointV2;
39
39
  tls?: boolean | undefined;
40
40
  serviceConfiguredEndpoint?: undefined;
41
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
41
42
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
43
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ACMHttpAuthSchemeProvider;
43
44
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
38
38
  }) => import("@smithy/types").EndpointV2;
39
39
  tls?: boolean | undefined;
40
40
  serviceConfiguredEndpoint?: undefined;
41
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
41
42
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
43
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ACMHttpAuthSchemeProvider;
43
44
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -37,6 +37,7 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
37
37
  }) => import("@smithy/types").EndpointV2;
38
38
  tls?: boolean | undefined;
39
39
  serviceConfiguredEndpoint?: undefined;
40
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
40
41
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
42
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ACMHttpAuthSchemeProvider;
42
43
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -9,6 +9,7 @@ import {
9
9
  HttpAuthSchemeParameters,
10
10
  HttpAuthSchemeParametersProvider,
11
11
  HttpAuthSchemeProvider,
12
+ Provider,
12
13
  } from "@smithy/types";
13
14
  import { ACMClientResolvedConfig } from "../ACMClient";
14
15
  export interface ACMHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
@@ -30,11 +31,13 @@ export interface ACMHttpAuthSchemeProvider
30
31
  extends HttpAuthSchemeProvider<ACMHttpAuthSchemeParameters> {}
31
32
  export declare const defaultACMHttpAuthSchemeProvider: ACMHttpAuthSchemeProvider;
32
33
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
+ authSchemePreference?: string[] | Provider<string[]>;
33
35
  httpAuthSchemes?: HttpAuthScheme[];
34
36
  httpAuthSchemeProvider?: ACMHttpAuthSchemeProvider;
35
37
  }
36
38
  export interface HttpAuthSchemeResolvedConfig
37
39
  extends AwsSdkSigV4AuthResolvedConfig {
40
+ readonly authSchemePreference: Provider<string[]>;
38
41
  readonly httpAuthSchemes: HttpAuthScheme[];
39
42
  readonly httpAuthSchemeProvider: ACMHttpAuthSchemeProvider;
40
43
  }
@@ -63,6 +63,10 @@ export declare class TooManyTagsException extends __BaseException {
63
63
  opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
64
64
  );
65
65
  }
66
+ export interface HttpRedirect {
67
+ RedirectFrom?: string | undefined;
68
+ RedirectTo?: string | undefined;
69
+ }
66
70
  export declare const RecordType: {
67
71
  readonly CNAME: "CNAME";
68
72
  };
@@ -75,6 +79,7 @@ export interface ResourceRecord {
75
79
  export declare const ValidationMethod: {
76
80
  readonly DNS: "DNS";
77
81
  readonly EMAIL: "EMAIL";
82
+ readonly HTTP: "HTTP";
78
83
  };
79
84
  export type ValidationMethod =
80
85
  (typeof ValidationMethod)[keyof typeof ValidationMethod];
@@ -90,6 +95,7 @@ export interface DomainValidation {
90
95
  ValidationDomain?: string | undefined;
91
96
  ValidationStatus?: DomainStatus | undefined;
92
97
  ResourceRecord?: ResourceRecord | undefined;
98
+ HttpRedirect?: HttpRedirect | undefined;
93
99
  ValidationMethod?: ValidationMethod | undefined;
94
100
  }
95
101
  export declare const ExtendedKeyUsageName: {
@@ -159,6 +165,11 @@ export type KeyUsageName = (typeof KeyUsageName)[keyof typeof KeyUsageName];
159
165
  export interface KeyUsage {
160
166
  Name?: KeyUsageName | undefined;
161
167
  }
168
+ export declare const CertificateManagedBy: {
169
+ readonly CLOUDFRONT: "CLOUDFRONT";
170
+ };
171
+ export type CertificateManagedBy =
172
+ (typeof CertificateManagedBy)[keyof typeof CertificateManagedBy];
162
173
  export declare const CertificateTransparencyLoggingPreference: {
163
174
  readonly DISABLED: "DISABLED";
164
175
  readonly ENABLED: "ENABLED";
@@ -199,6 +210,7 @@ export declare const RevocationReason: {
199
210
  readonly PRIVILEGE_WITHDRAWN: "PRIVILEGE_WITHDRAWN";
200
211
  readonly REMOVE_FROM_CRL: "REMOVE_FROM_CRL";
201
212
  readonly SUPERCEDED: "SUPERCEDED";
213
+ readonly SUPERSEDED: "SUPERSEDED";
202
214
  readonly UNSPECIFIED: "UNSPECIFIED";
203
215
  };
204
216
  export type RevocationReason =
@@ -225,6 +237,7 @@ export interface CertificateDetail {
225
237
  CertificateArn?: string | undefined;
226
238
  DomainName?: string | undefined;
227
239
  SubjectAlternativeNames?: string[] | undefined;
240
+ ManagedBy?: CertificateManagedBy | undefined;
228
241
  DomainValidationOptions?: DomainValidation[] | undefined;
229
242
  Serial?: string | undefined;
230
243
  Subject?: string | undefined;
@@ -327,6 +340,7 @@ export interface Filters {
327
340
  extendedKeyUsage?: ExtendedKeyUsageName[] | undefined;
328
341
  keyUsage?: KeyUsageName[] | undefined;
329
342
  keyTypes?: KeyAlgorithm[] | undefined;
343
+ managedBy?: CertificateManagedBy | undefined;
330
344
  }
331
345
  export declare const SortBy: {
332
346
  readonly CREATED_AT: "CREATED_AT";
@@ -364,6 +378,7 @@ export interface CertificateSummary {
364
378
  IssuedAt?: Date | undefined;
365
379
  ImportedAt?: Date | undefined;
366
380
  RevokedAt?: Date | undefined;
381
+ ManagedBy?: CertificateManagedBy | undefined;
367
382
  }
368
383
  export interface ListCertificatesResponse {
369
384
  NextToken?: string | undefined;
@@ -417,6 +432,7 @@ export interface RequestCertificateRequest {
417
432
  CertificateAuthorityArn?: string | undefined;
418
433
  Tags?: Tag[] | undefined;
419
434
  KeyAlgorithm?: KeyAlgorithm | undefined;
435
+ ManagedBy?: CertificateManagedBy | undefined;
420
436
  }
421
437
  export interface RequestCertificateResponse {
422
438
  CertificateArn?: string | undefined;
@@ -72,6 +72,10 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
72
72
  ) => import("@smithy/types").EndpointV2;
73
73
  tls?: boolean | undefined;
74
74
  serviceConfiguredEndpoint?: undefined;
75
+ authSchemePreference?:
76
+ | string[]
77
+ | import("@smithy/types").Provider<string[]>
78
+ | undefined;
75
79
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
76
80
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ACMHttpAuthSchemeProvider;
77
81
  credentials?:
@@ -73,6 +73,10 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
73
73
  ) => import("@smithy/types").EndpointV2;
74
74
  tls?: boolean | undefined;
75
75
  serviceConfiguredEndpoint?: undefined;
76
+ authSchemePreference?:
77
+ | string[]
78
+ | import("@smithy/types").Provider<string[]>
79
+ | undefined;
76
80
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
77
81
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ACMHttpAuthSchemeProvider;
78
82
  credentials?:
@@ -76,6 +76,10 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
76
76
  ) => import("@smithy/types").EndpointV2;
77
77
  tls?: boolean | undefined;
78
78
  serviceConfiguredEndpoint?: undefined;
79
+ authSchemePreference?:
80
+ | string[]
81
+ | import("@smithy/types").Provider<string[]>
82
+ | undefined;
79
83
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
80
84
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ACMHttpAuthSchemeProvider;
81
85
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-acm",
3
3
  "description": "AWS SDK for JavaScript Acm Client for Node.js, Browser and React Native",
4
- "version": "3.796.0",
4
+ "version": "3.798.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-acm",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.796.0",
24
- "@aws-sdk/credential-provider-node": "3.796.0",
23
+ "@aws-sdk/core": "3.798.0",
24
+ "@aws-sdk/credential-provider-node": "3.798.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.796.0",
28
+ "@aws-sdk/middleware-user-agent": "3.798.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
31
  "@aws-sdk/util-endpoints": "3.787.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.796.0",
33
+ "@aws-sdk/util-user-agent-node": "3.798.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
- "@smithy/core": "^3.2.0",
35
+ "@smithy/core": "^3.3.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",
37
37
  "@smithy/hash-node": "^4.0.2",
38
38
  "@smithy/invalid-dependency": "^4.0.2",
39
39
  "@smithy/middleware-content-length": "^4.0.2",
40
- "@smithy/middleware-endpoint": "^4.1.0",
41
- "@smithy/middleware-retry": "^4.1.0",
40
+ "@smithy/middleware-endpoint": "^4.1.1",
41
+ "@smithy/middleware-retry": "^4.1.1",
42
42
  "@smithy/middleware-serde": "^4.0.3",
43
43
  "@smithy/middleware-stack": "^4.0.2",
44
44
  "@smithy/node-config-provider": "^4.0.2",
45
45
  "@smithy/node-http-handler": "^4.0.4",
46
46
  "@smithy/protocol-http": "^5.1.0",
47
- "@smithy/smithy-client": "^4.2.0",
47
+ "@smithy/smithy-client": "^4.2.1",
48
48
  "@smithy/types": "^4.2.0",
49
49
  "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.8",
54
- "@smithy/util-defaults-mode-node": "^4.0.8",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.9",
54
+ "@smithy/util-defaults-mode-node": "^4.0.9",
55
55
  "@smithy/util-endpoints": "^3.0.2",
56
56
  "@smithy/util-middleware": "^4.0.2",
57
57
  "@smithy/util-retry": "^4.0.2",