@aws-sdk/client-acm 3.428.0 → 3.429.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.
@@ -161,7 +161,7 @@ export interface ResourceRecord {
161
161
  * @public
162
162
  * <p>The type of DNS record. Currently this can be <code>CNAME</code>.</p>
163
163
  */
164
- Type: RecordType | string | undefined;
164
+ Type: RecordType | undefined;
165
165
  /**
166
166
  * @public
167
167
  * <p>The value of the CNAME record to add to your DNS database. This is supplied by
@@ -234,7 +234,7 @@ export interface DomainValidation {
234
234
  * </li>
235
235
  * </ul>
236
236
  */
237
- ValidationStatus?: DomainStatus | string;
237
+ ValidationStatus?: DomainStatus;
238
238
  /**
239
239
  * @public
240
240
  * <p>Contains the CNAME record that you add to your DNS database for domain validation. For
@@ -251,7 +251,7 @@ export interface DomainValidation {
251
251
  * @public
252
252
  * <p>Specifies the domain validation method.</p>
253
253
  */
254
- ValidationMethod?: ValidationMethod | string;
254
+ ValidationMethod?: ValidationMethod;
255
255
  }
256
256
  /**
257
257
  * @public
@@ -286,7 +286,7 @@ export interface ExtendedKeyUsage {
286
286
  * @public
287
287
  * <p>The name of an Extended Key Usage value.</p>
288
288
  */
289
- Name?: ExtendedKeyUsageName | string;
289
+ Name?: ExtendedKeyUsageName;
290
290
  /**
291
291
  * @public
292
292
  * <p>An object identifier (OID) for the extension value. OIDs are strings of numbers separated
@@ -416,7 +416,7 @@ export interface KeyUsage {
416
416
  * @public
417
417
  * <p>A string value that contains a Key Usage extension name.</p>
418
418
  */
419
- Name?: KeyUsageName | string;
419
+ Name?: KeyUsageName;
420
420
  }
421
421
  /**
422
422
  * @public
@@ -446,7 +446,7 @@ export interface CertificateOptions {
446
446
  * <p>You can opt out of certificate transparency logging by specifying the
447
447
  * <code>DISABLED</code> option. Opt in by specifying <code>ENABLED</code>. </p>
448
448
  */
449
- CertificateTransparencyLoggingPreference?: CertificateTransparencyLoggingPreference | string;
449
+ CertificateTransparencyLoggingPreference?: CertificateTransparencyLoggingPreference;
450
450
  }
451
451
  /**
452
452
  * @public
@@ -484,7 +484,7 @@ export interface RenewalSummary {
484
484
  * @public
485
485
  * <p>The status of ACM's <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed renewal</a> of the certificate.</p>
486
486
  */
487
- RenewalStatus: RenewalStatus | string | undefined;
487
+ RenewalStatus: RenewalStatus | undefined;
488
488
  /**
489
489
  * @public
490
490
  * <p>Contains information about the validation of each domain name in the certificate, as it
@@ -498,7 +498,7 @@ export interface RenewalSummary {
498
498
  * @public
499
499
  * <p>The reason that a renewal request was unsuccessful.</p>
500
500
  */
501
- RenewalStatusReason?: FailureReason | string;
501
+ RenewalStatusReason?: FailureReason;
502
502
  /**
503
503
  * @public
504
504
  * <p>The time at which the renewal summary was last updated.</p>
@@ -632,7 +632,7 @@ export interface CertificateDetail {
632
632
  * shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with <a href="https://docs.aws.amazon.com/acm/latest/userguide/dns-validation.html">DNS validation</a> or <a href="https://docs.aws.amazon.com/acm/latest/userguide/email-validation.html">Email validation</a>, and
633
633
  * try again. If validation succeeds, the certificate enters status ISSUED. </p>
634
634
  */
635
- Status?: CertificateStatus | string;
635
+ Status?: CertificateStatus;
636
636
  /**
637
637
  * @public
638
638
  * <p>The time at which the certificate was revoked. This value exists only when the certificate
@@ -644,7 +644,7 @@ export interface CertificateDetail {
644
644
  * <p>The reason the certificate was revoked. This value exists only when the certificate status
645
645
  * is <code>REVOKED</code>. </p>
646
646
  */
647
- RevocationReason?: RevocationReason | string;
647
+ RevocationReason?: RevocationReason;
648
648
  /**
649
649
  * @public
650
650
  * <p>The time before which the certificate is not valid.</p>
@@ -659,7 +659,7 @@ export interface CertificateDetail {
659
659
  * @public
660
660
  * <p>The algorithm that was used to generate the public-private key pair.</p>
661
661
  */
662
- KeyAlgorithm?: KeyAlgorithm | string;
662
+ KeyAlgorithm?: KeyAlgorithm;
663
663
  /**
664
664
  * @public
665
665
  * <p>The algorithm that was used to sign the certificate.</p>
@@ -677,7 +677,7 @@ export interface CertificateDetail {
677
677
  * status is <code>FAILED</code>. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed">Certificate Request
678
678
  * Failed</a> in the <i>Certificate Manager User Guide</i>. </p>
679
679
  */
680
- FailureReason?: FailureReason | string;
680
+ FailureReason?: FailureReason;
681
681
  /**
682
682
  * @public
683
683
  * <p>The source of the certificate. For certificates provided by ACM, this value is
@@ -687,7 +687,7 @@ export interface CertificateDetail {
687
687
  * you import and those that ACM provides, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing Certificates</a> in the
688
688
  * <i>Certificate Manager User Guide</i>. </p>
689
689
  */
690
- Type?: CertificateType | string;
690
+ Type?: CertificateType;
691
691
  /**
692
692
  * @public
693
693
  * <p>Contains information about the status of ACM's <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed renewal</a> for the certificate. This field
@@ -723,7 +723,7 @@ export interface CertificateDetail {
723
723
  * private certificates can be renewed with the <a>RenewCertificate</a>
724
724
  * command.</p>
725
725
  */
726
- RenewalEligibility?: RenewalEligibility | string;
726
+ RenewalEligibility?: RenewalEligibility;
727
727
  /**
728
728
  * @public
729
729
  * <p>Value that specifies whether to add the certificate to a transparency log. Certificate
@@ -994,12 +994,12 @@ export interface Filters {
994
994
  * @public
995
995
  * <p>Specify one or more <a>ExtendedKeyUsage</a> extension values.</p>
996
996
  */
997
- extendedKeyUsage?: (ExtendedKeyUsageName | string)[];
997
+ extendedKeyUsage?: ExtendedKeyUsageName[];
998
998
  /**
999
999
  * @public
1000
1000
  * <p>Specify one or more <a>KeyUsage</a> extension values.</p>
1001
1001
  */
1002
- keyUsage?: (KeyUsageName | string)[];
1002
+ keyUsage?: KeyUsageName[];
1003
1003
  /**
1004
1004
  * @public
1005
1005
  * <p>Specify one or more algorithms that can be used to generate key pairs.</p>
@@ -1009,7 +1009,7 @@ export interface Filters {
1009
1009
  * ["RSA_2048","RSA_4096"]</code> returns both <code>RSA_2048</code> and <code>RSA_4096</code>
1010
1010
  * certificates.</p>
1011
1011
  */
1012
- keyTypes?: (KeyAlgorithm | string)[];
1012
+ keyTypes?: KeyAlgorithm[];
1013
1013
  }
1014
1014
  /**
1015
1015
  * @public
@@ -1042,7 +1042,7 @@ export interface ListCertificatesRequest {
1042
1042
  * @public
1043
1043
  * <p>Filter the certificate list by status value.</p>
1044
1044
  */
1045
- CertificateStatuses?: (CertificateStatus | string)[];
1045
+ CertificateStatuses?: CertificateStatus[];
1046
1046
  /**
1047
1047
  * @public
1048
1048
  * <p>Filter the certificate list. For more information, see the <a>Filters</a>
@@ -1069,13 +1069,13 @@ export interface ListCertificatesRequest {
1069
1069
  * <p>Specifies the field to sort results by. If you specify <code>SortBy</code>, you must also
1070
1070
  * specify <code>SortOrder</code>.</p>
1071
1071
  */
1072
- SortBy?: SortBy | string;
1072
+ SortBy?: SortBy;
1073
1073
  /**
1074
1074
  * @public
1075
1075
  * <p>Specifies the order of sorted results. If you specify <code>SortOrder</code>, you must
1076
1076
  * also specify <code>SortBy</code>.</p>
1077
1077
  */
1078
- SortOrder?: SortOrder | string;
1078
+ SortOrder?: SortOrder;
1079
1079
  }
1080
1080
  /**
1081
1081
  * @public
@@ -1128,7 +1128,7 @@ export interface CertificateSummary {
1128
1128
  * shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with <a href="https://docs.aws.amazon.com/acm/latest/userguide/dns-validation.html">DNS validation</a> or <a href="https://docs.aws.amazon.com/acm/latest/userguide/email-validation.html">Email validation</a>, and
1129
1129
  * try again. If validation succeeds, the certificate enters status ISSUED. </p>
1130
1130
  */
1131
- Status?: CertificateStatus | string;
1131
+ Status?: CertificateStatus;
1132
1132
  /**
1133
1133
  * @public
1134
1134
  * <p>The source of the certificate. For certificates provided by ACM, this value is
@@ -1138,26 +1138,26 @@ export interface CertificateSummary {
1138
1138
  * you import and those that ACM provides, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing Certificates</a> in the
1139
1139
  * <i>Certificate Manager User Guide</i>. </p>
1140
1140
  */
1141
- Type?: CertificateType | string;
1141
+ Type?: CertificateType;
1142
1142
  /**
1143
1143
  * @public
1144
1144
  * <p>The algorithm that was used to generate the public-private key pair.</p>
1145
1145
  */
1146
- KeyAlgorithm?: KeyAlgorithm | string;
1146
+ KeyAlgorithm?: KeyAlgorithm;
1147
1147
  /**
1148
1148
  * @public
1149
1149
  * <p>A list of Key Usage X.509 v3 extension objects. Each object is a string value that
1150
1150
  * identifies the purpose of the public key contained in the certificate. Possible extension
1151
1151
  * values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.</p>
1152
1152
  */
1153
- KeyUsages?: (KeyUsageName | string)[];
1153
+ KeyUsages?: KeyUsageName[];
1154
1154
  /**
1155
1155
  * @public
1156
1156
  * <p>Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a
1157
1157
  * purpose for which the certificate public key can be used and consists of a name and an object
1158
1158
  * identifier (OID). </p>
1159
1159
  */
1160
- ExtendedKeyUsages?: (ExtendedKeyUsageName | string)[];
1160
+ ExtendedKeyUsages?: ExtendedKeyUsageName[];
1161
1161
  /**
1162
1162
  * @public
1163
1163
  * <p>Indicates whether the certificate is currently in use by any Amazon Web Services resources.</p>
@@ -1175,7 +1175,7 @@ export interface CertificateSummary {
1175
1175
  * private certificates can be renewed with the <a>RenewCertificate</a>
1176
1176
  * command.</p>
1177
1177
  */
1178
- RenewalEligibility?: RenewalEligibility | string;
1178
+ RenewalEligibility?: RenewalEligibility;
1179
1179
  /**
1180
1180
  * @public
1181
1181
  * <p>The time before which the certificate is not valid.</p>
@@ -1391,7 +1391,7 @@ export interface RequestCertificateRequest {
1391
1391
  * own or control domain. You can <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html">validate with DNS</a> or <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-email.html">validate with
1392
1392
  * email</a>. We recommend that you use DNS validation. </p>
1393
1393
  */
1394
- ValidationMethod?: ValidationMethod | string;
1394
+ ValidationMethod?: ValidationMethod;
1395
1395
  /**
1396
1396
  * @public
1397
1397
  * <p>Additional FQDNs to be included in the Subject Alternative Name extension of the ACM
@@ -1474,7 +1474,7 @@ export interface RequestCertificateRequest {
1474
1474
  * Check the requirements for the AWS service where you plan to deploy your certificate.</p>
1475
1475
  * <p>Default: RSA_2048</p>
1476
1476
  */
1477
- KeyAlgorithm?: KeyAlgorithm | string;
1477
+ KeyAlgorithm?: KeyAlgorithm;
1478
1478
  }
1479
1479
  /**
1480
1480
  * @public
@@ -69,7 +69,7 @@ export declare const RecordType: {
69
69
  export type RecordType = (typeof RecordType)[keyof typeof RecordType];
70
70
  export interface ResourceRecord {
71
71
  Name: string | undefined;
72
- Type: RecordType | string | undefined;
72
+ Type: RecordType | undefined;
73
73
  Value: string | undefined;
74
74
  }
75
75
  export declare const ValidationMethod: {
@@ -88,9 +88,9 @@ export interface DomainValidation {
88
88
  DomainName: string | undefined;
89
89
  ValidationEmails?: string[];
90
90
  ValidationDomain?: string;
91
- ValidationStatus?: DomainStatus | string;
91
+ ValidationStatus?: DomainStatus;
92
92
  ResourceRecord?: ResourceRecord;
93
- ValidationMethod?: ValidationMethod | string;
93
+ ValidationMethod?: ValidationMethod;
94
94
  }
95
95
  export declare const ExtendedKeyUsageName: {
96
96
  readonly ANY: "ANY";
@@ -109,7 +109,7 @@ export declare const ExtendedKeyUsageName: {
109
109
  export type ExtendedKeyUsageName =
110
110
  (typeof ExtendedKeyUsageName)[keyof typeof ExtendedKeyUsageName];
111
111
  export interface ExtendedKeyUsage {
112
- Name?: ExtendedKeyUsageName | string;
112
+ Name?: ExtendedKeyUsageName;
113
113
  OID?: string;
114
114
  }
115
115
  export declare const FailureReason: {
@@ -157,7 +157,7 @@ export declare const KeyUsageName: {
157
157
  };
158
158
  export type KeyUsageName = (typeof KeyUsageName)[keyof typeof KeyUsageName];
159
159
  export interface KeyUsage {
160
- Name?: KeyUsageName | string;
160
+ Name?: KeyUsageName;
161
161
  }
162
162
  export declare const CertificateTransparencyLoggingPreference: {
163
163
  readonly DISABLED: "DISABLED";
@@ -166,9 +166,7 @@ export declare const CertificateTransparencyLoggingPreference: {
166
166
  export type CertificateTransparencyLoggingPreference =
167
167
  (typeof CertificateTransparencyLoggingPreference)[keyof typeof CertificateTransparencyLoggingPreference];
168
168
  export interface CertificateOptions {
169
- CertificateTransparencyLoggingPreference?:
170
- | CertificateTransparencyLoggingPreference
171
- | string;
169
+ CertificateTransparencyLoggingPreference?: CertificateTransparencyLoggingPreference;
172
170
  }
173
171
  export declare const RenewalEligibility: {
174
172
  readonly ELIGIBLE: "ELIGIBLE";
@@ -184,9 +182,9 @@ export declare const RenewalStatus: {
184
182
  };
185
183
  export type RenewalStatus = (typeof RenewalStatus)[keyof typeof RenewalStatus];
186
184
  export interface RenewalSummary {
187
- RenewalStatus: RenewalStatus | string | undefined;
185
+ RenewalStatus: RenewalStatus | undefined;
188
186
  DomainValidationOptions: DomainValidation[] | undefined;
189
- RenewalStatusReason?: FailureReason | string;
187
+ RenewalStatusReason?: FailureReason;
190
188
  UpdatedAt: Date | undefined;
191
189
  }
192
190
  export declare const RevocationReason: {
@@ -232,21 +230,21 @@ export interface CertificateDetail {
232
230
  CreatedAt?: Date;
233
231
  IssuedAt?: Date;
234
232
  ImportedAt?: Date;
235
- Status?: CertificateStatus | string;
233
+ Status?: CertificateStatus;
236
234
  RevokedAt?: Date;
237
- RevocationReason?: RevocationReason | string;
235
+ RevocationReason?: RevocationReason;
238
236
  NotBefore?: Date;
239
237
  NotAfter?: Date;
240
- KeyAlgorithm?: KeyAlgorithm | string;
238
+ KeyAlgorithm?: KeyAlgorithm;
241
239
  SignatureAlgorithm?: string;
242
240
  InUseBy?: string[];
243
- FailureReason?: FailureReason | string;
244
- Type?: CertificateType | string;
241
+ FailureReason?: FailureReason;
242
+ Type?: CertificateType;
245
243
  RenewalSummary?: RenewalSummary;
246
244
  KeyUsages?: KeyUsage[];
247
245
  ExtendedKeyUsages?: ExtendedKeyUsage[];
248
246
  CertificateAuthorityArn?: string;
249
- RenewalEligibility?: RenewalEligibility | string;
247
+ RenewalEligibility?: RenewalEligibility;
250
248
  Options?: CertificateOptions;
251
249
  }
252
250
  export declare class ConflictException extends __BaseException {
@@ -324,9 +322,9 @@ export declare class InvalidArgsException extends __BaseException {
324
322
  );
325
323
  }
326
324
  export interface Filters {
327
- extendedKeyUsage?: (ExtendedKeyUsageName | string)[];
328
- keyUsage?: (KeyUsageName | string)[];
329
- keyTypes?: (KeyAlgorithm | string)[];
325
+ extendedKeyUsage?: ExtendedKeyUsageName[];
326
+ keyUsage?: KeyUsageName[];
327
+ keyTypes?: KeyAlgorithm[];
330
328
  }
331
329
  export declare const SortBy: {
332
330
  readonly CREATED_AT: "CREATED_AT";
@@ -338,26 +336,26 @@ export declare const SortOrder: {
338
336
  };
339
337
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
340
338
  export interface ListCertificatesRequest {
341
- CertificateStatuses?: (CertificateStatus | string)[];
339
+ CertificateStatuses?: CertificateStatus[];
342
340
  Includes?: Filters;
343
341
  NextToken?: string;
344
342
  MaxItems?: number;
345
- SortBy?: SortBy | string;
346
- SortOrder?: SortOrder | string;
343
+ SortBy?: SortBy;
344
+ SortOrder?: SortOrder;
347
345
  }
348
346
  export interface CertificateSummary {
349
347
  CertificateArn?: string;
350
348
  DomainName?: string;
351
349
  SubjectAlternativeNameSummaries?: string[];
352
350
  HasAdditionalSubjectAlternativeNames?: boolean;
353
- Status?: CertificateStatus | string;
354
- Type?: CertificateType | string;
355
- KeyAlgorithm?: KeyAlgorithm | string;
356
- KeyUsages?: (KeyUsageName | string)[];
357
- ExtendedKeyUsages?: (ExtendedKeyUsageName | string)[];
351
+ Status?: CertificateStatus;
352
+ Type?: CertificateType;
353
+ KeyAlgorithm?: KeyAlgorithm;
354
+ KeyUsages?: KeyUsageName[];
355
+ ExtendedKeyUsages?: ExtendedKeyUsageName[];
358
356
  InUse?: boolean;
359
357
  Exported?: boolean;
360
- RenewalEligibility?: RenewalEligibility | string;
358
+ RenewalEligibility?: RenewalEligibility;
361
359
  NotBefore?: Date;
362
360
  NotAfter?: Date;
363
361
  CreatedAt?: Date;
@@ -409,14 +407,14 @@ export interface DomainValidationOption {
409
407
  }
410
408
  export interface RequestCertificateRequest {
411
409
  DomainName: string | undefined;
412
- ValidationMethod?: ValidationMethod | string;
410
+ ValidationMethod?: ValidationMethod;
413
411
  SubjectAlternativeNames?: string[];
414
412
  IdempotencyToken?: string;
415
413
  DomainValidationOptions?: DomainValidationOption[];
416
414
  Options?: CertificateOptions;
417
415
  CertificateAuthorityArn?: string;
418
416
  Tags?: Tag[];
419
- KeyAlgorithm?: KeyAlgorithm | string;
417
+ KeyAlgorithm?: KeyAlgorithm;
420
418
  }
421
419
  export interface RequestCertificateResponse {
422
420
  CertificateArn?: string;
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.428.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",