@aws-sdk/client-acm 3.180.0 → 3.181.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/CHANGELOG.md +17 -0
- package/README.md +3 -3
- package/dist-cjs/models/models_0.js +11 -2
- package/dist-cjs/protocols/Aws_json1_1.js +65 -15
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +73 -18
- package/dist-types/ACM.d.ts +18 -27
- package/dist-types/ACMClient.d.ts +3 -3
- package/dist-types/commands/AddTagsToCertificateCommand.d.ts +0 -2
- package/dist-types/commands/DescribeCertificateCommand.d.ts +2 -0
- package/dist-types/commands/GetAccountConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/ImportCertificateCommand.d.ts +2 -7
- package/dist-types/commands/PutAccountConfigurationCommand.d.ts +3 -6
- package/dist-types/commands/RemoveTagsFromCertificateCommand.d.ts +0 -1
- package/dist-types/commands/RenewCertificateCommand.d.ts +2 -2
- package/dist-types/commands/RequestCertificateCommand.d.ts +5 -4
- package/dist-types/models/models_0.d.ts +153 -50
- package/dist-types/ts3.4/models/models_0.d.ts +25 -0
- package/package.json +3 -3
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ACMServiceException as __BaseException } from "./ACMServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* <p>You do not have access
|
|
5
|
-
* required to perform this action.</p>
|
|
4
|
+
* <p>You do not have access required to perform this action.</p>
|
|
6
5
|
*/
|
|
7
6
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
7
|
readonly name: "AccessDeniedException";
|
|
@@ -30,11 +29,9 @@ export interface AddTagsToCertificateRequest {
|
|
|
30
29
|
/**
|
|
31
30
|
* <p>String that contains the ARN of the ACM certificate to which the tag is to be applied.
|
|
32
31
|
* This must be of the form:</p>
|
|
33
|
-
*
|
|
34
32
|
* <p>
|
|
35
33
|
* <code>arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012</code>
|
|
36
34
|
* </p>
|
|
37
|
-
*
|
|
38
35
|
* <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
|
|
39
36
|
*/
|
|
40
37
|
CertificateArn: string | undefined;
|
|
@@ -101,8 +98,7 @@ export declare class TagPolicyException extends __BaseException {
|
|
|
101
98
|
constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
|
|
102
99
|
}
|
|
103
100
|
/**
|
|
104
|
-
* <p>The request was denied
|
|
105
|
-
* because it exceeded a quota.</p>
|
|
101
|
+
* <p>The request was denied because it exceeded a quota.</p>
|
|
106
102
|
*/
|
|
107
103
|
export declare class ThrottlingException extends __BaseException {
|
|
108
104
|
readonly name: "ThrottlingException";
|
|
@@ -127,8 +123,8 @@ export declare enum RecordType {
|
|
|
127
123
|
CNAME = "CNAME"
|
|
128
124
|
}
|
|
129
125
|
/**
|
|
130
|
-
* <p>Contains a DNS record value that you can use to validate ownership or control
|
|
131
|
-
*
|
|
126
|
+
* <p>Contains a DNS record value that you can use to validate ownership or control of a domain.
|
|
127
|
+
* This is used by the <a>DescribeCertificate</a> action. </p>
|
|
132
128
|
*/
|
|
133
129
|
export interface ResourceRecord {
|
|
134
130
|
/**
|
|
@@ -173,7 +169,6 @@ export interface DomainValidation {
|
|
|
173
169
|
ValidationDomain?: string;
|
|
174
170
|
/**
|
|
175
171
|
* <p>The validation status of the domain name. This can be one of the following values:</p>
|
|
176
|
-
*
|
|
177
172
|
* <ul>
|
|
178
173
|
* <li>
|
|
179
174
|
* <p>
|
|
@@ -234,7 +229,6 @@ export interface ExtendedKeyUsage {
|
|
|
234
229
|
/**
|
|
235
230
|
* <p>An object identifier (OID) for the extension value. OIDs are strings of numbers separated
|
|
236
231
|
* by periods. The following OIDs are defined in RFC 3280 and RFC 5280. </p>
|
|
237
|
-
*
|
|
238
232
|
* <ul>
|
|
239
233
|
* <li>
|
|
240
234
|
* <p>
|
|
@@ -435,7 +429,8 @@ export interface CertificateDetail {
|
|
|
435
429
|
*/
|
|
436
430
|
DomainName?: string;
|
|
437
431
|
/**
|
|
438
|
-
* <p>One or more domain names (subject alternative names)
|
|
432
|
+
* <p>One or more domain names (subject alternative names)
|
|
433
|
+
* included in the certificate. This
|
|
439
434
|
* list contains the domain names that are bound to the public key that is contained in the
|
|
440
435
|
* certificate. The subject alternative names include the canonical domain name (CN) of the
|
|
441
436
|
* certificate and additional domain names that can be used to connect to the website. </p>
|
|
@@ -470,12 +465,17 @@ export interface CertificateDetail {
|
|
|
470
465
|
*/
|
|
471
466
|
IssuedAt?: Date;
|
|
472
467
|
/**
|
|
473
|
-
* <p>The date and time
|
|
468
|
+
* <p>The date and time when the certificate was imported. This value exists only when the
|
|
474
469
|
* certificate type is <code>IMPORTED</code>. </p>
|
|
475
470
|
*/
|
|
476
471
|
ImportedAt?: Date;
|
|
477
472
|
/**
|
|
478
473
|
* <p>The status of the certificate.</p>
|
|
474
|
+
* <p>A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for
|
|
475
|
+
* any of the reasons given in the troubleshooting topic <a href="https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting-failed.html">Certificate request fails</a>. ACM makes
|
|
476
|
+
* repeated attempts to validate a certificate for 72 hours and then times out. If a certificate
|
|
477
|
+
* 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
|
|
478
|
+
* try again. If validation succeeds, the certificate enters status ISSUED. </p>
|
|
479
479
|
*/
|
|
480
480
|
Status?: CertificateStatus | string;
|
|
481
481
|
/**
|
|
@@ -512,7 +512,7 @@ export interface CertificateDetail {
|
|
|
512
512
|
/**
|
|
513
513
|
* <p>The reason the certificate request failed. This value exists only when the certificate
|
|
514
514
|
* 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
|
|
515
|
-
* Failed</a> in the <i>
|
|
515
|
+
* Failed</a> in the <i>Certificate Manager User Guide</i>. </p>
|
|
516
516
|
*/
|
|
517
517
|
FailureReason?: FailureReason | string;
|
|
518
518
|
/**
|
|
@@ -521,7 +521,7 @@ export interface CertificateDetail {
|
|
|
521
521
|
* <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed renewal</a> for
|
|
522
522
|
* imported certificates. For more information about the differences between certificates that
|
|
523
523
|
* 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
|
|
524
|
-
* <i>
|
|
524
|
+
* <i>Certificate Manager User Guide</i>. </p>
|
|
525
525
|
*/
|
|
526
526
|
Type?: CertificateType | string;
|
|
527
527
|
/**
|
|
@@ -542,8 +542,8 @@ export interface CertificateDetail {
|
|
|
542
542
|
*/
|
|
543
543
|
ExtendedKeyUsages?: ExtendedKeyUsage[];
|
|
544
544
|
/**
|
|
545
|
-
* <p>The Amazon Resource Name (ARN) of the
|
|
546
|
-
*
|
|
545
|
+
* <p>The Amazon Resource Name (ARN) of the private certificate authority (CA) that issued the
|
|
546
|
+
* certificate. This has the following format: </p>
|
|
547
547
|
* <p>
|
|
548
548
|
* <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
|
|
549
549
|
* </p>
|
|
@@ -612,9 +612,13 @@ export interface ExportCertificateRequest {
|
|
|
612
612
|
*/
|
|
613
613
|
CertificateArn: string | undefined;
|
|
614
614
|
/**
|
|
615
|
-
* <p>Passphrase to associate with the encrypted exported private key.
|
|
616
|
-
*
|
|
617
|
-
*
|
|
615
|
+
* <p>Passphrase to associate with the encrypted exported private key. </p>
|
|
616
|
+
* <note>
|
|
617
|
+
* <p>When creating your passphrase, you can use any ASCII character except #, $, or %.</p>
|
|
618
|
+
* </note>
|
|
619
|
+
* <p>If you want to later decrypt the private key, you must have the passphrase. You can use
|
|
620
|
+
* the following OpenSSL command to decrypt a private key. After entering the command, you are
|
|
621
|
+
* prompted for the passphrase.</p>
|
|
618
622
|
* <p>
|
|
619
623
|
* <code>openssl rsa -in encrypted_key.pem -out decrypted_key.pem</code>
|
|
620
624
|
* </p>
|
|
@@ -650,8 +654,7 @@ export declare class RequestInProgressException extends __BaseException {
|
|
|
650
654
|
constructor(opts: __ExceptionOptionType<RequestInProgressException, __BaseException>);
|
|
651
655
|
}
|
|
652
656
|
/**
|
|
653
|
-
* <p>Object containing
|
|
654
|
-
* expiration events options associated with an Amazon Web Services account.</p>
|
|
657
|
+
* <p>Object containing expiration events options associated with an Amazon Web Services account.</p>
|
|
655
658
|
*/
|
|
656
659
|
export interface ExpiryEventsConfiguration {
|
|
657
660
|
/**
|
|
@@ -664,8 +667,7 @@ export interface ExpiryEventsConfiguration {
|
|
|
664
667
|
}
|
|
665
668
|
export interface GetAccountConfigurationResponse {
|
|
666
669
|
/**
|
|
667
|
-
* <p>Expiration events
|
|
668
|
-
* configuration options associated with the Amazon Web Services account.</p>
|
|
670
|
+
* <p>Expiration events configuration options associated with the Amazon Web Services account.</p>
|
|
669
671
|
*/
|
|
670
672
|
ExpiryEvents?: ExpiryEventsConfiguration;
|
|
671
673
|
}
|
|
@@ -763,11 +765,18 @@ export interface Filters {
|
|
|
763
765
|
* <p>Default filtering returns only <code>RSA_1024</code> and <code>RSA_2048</code>
|
|
764
766
|
* certificates that have at least one domain. To return other certificate types, provide the
|
|
765
767
|
* desired type signatures in a comma-separated list. For example, <code>"keyTypes":
|
|
766
|
-
* ["RSA_2048,RSA_4096"]</code> returns both <code>RSA_2048</code> and <code>RSA_4096</code>
|
|
768
|
+
* ["RSA_2048","RSA_4096"]</code> returns both <code>RSA_2048</code> and <code>RSA_4096</code>
|
|
767
769
|
* certificates.</p>
|
|
768
770
|
*/
|
|
769
771
|
keyTypes?: (KeyAlgorithm | string)[];
|
|
770
772
|
}
|
|
773
|
+
export declare enum SortBy {
|
|
774
|
+
CREATED_AT = "CREATED_AT"
|
|
775
|
+
}
|
|
776
|
+
export declare enum SortOrder {
|
|
777
|
+
ASCENDING = "ASCENDING",
|
|
778
|
+
DESCENDING = "DESCENDING"
|
|
779
|
+
}
|
|
771
780
|
export interface ListCertificatesRequest {
|
|
772
781
|
/**
|
|
773
782
|
* <p>Filter the certificate list by status value.</p>
|
|
@@ -791,6 +800,16 @@ export interface ListCertificatesRequest {
|
|
|
791
800
|
* value in a subsequent request to retrieve additional items.</p>
|
|
792
801
|
*/
|
|
793
802
|
MaxItems?: number;
|
|
803
|
+
/**
|
|
804
|
+
* <p>Specifies the field to sort results by. If you specify <code>SortBy</code>, you must also
|
|
805
|
+
* specify <code>SortOrder</code>.</p>
|
|
806
|
+
*/
|
|
807
|
+
SortBy?: SortBy | string;
|
|
808
|
+
/**
|
|
809
|
+
* <p>Specifies the order of sorted results. If you specify <code>SortOrder</code>, you must
|
|
810
|
+
* also specify <code>SortBy</code>.</p>
|
|
811
|
+
*/
|
|
812
|
+
SortOrder?: SortOrder | string;
|
|
794
813
|
}
|
|
795
814
|
/**
|
|
796
815
|
* <p>This structure is returned in the response object of <a>ListCertificates</a>
|
|
@@ -799,11 +818,9 @@ export interface ListCertificatesRequest {
|
|
|
799
818
|
export interface CertificateSummary {
|
|
800
819
|
/**
|
|
801
820
|
* <p>Amazon Resource Name (ARN) of the certificate. This is of the form:</p>
|
|
802
|
-
*
|
|
803
821
|
* <p>
|
|
804
822
|
* <code>arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012</code>
|
|
805
823
|
* </p>
|
|
806
|
-
*
|
|
807
824
|
* <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
|
|
808
825
|
*/
|
|
809
826
|
CertificateArn?: string;
|
|
@@ -812,6 +829,101 @@ export interface CertificateSummary {
|
|
|
812
829
|
* certificate.</p>
|
|
813
830
|
*/
|
|
814
831
|
DomainName?: string;
|
|
832
|
+
/**
|
|
833
|
+
* <p>One or more domain names (subject alternative names)
|
|
834
|
+
* included in the certificate. This
|
|
835
|
+
* list contains the domain names that are bound to the public key that is contained in the
|
|
836
|
+
* certificate. The subject alternative names include the canonical domain name (CN) of the
|
|
837
|
+
* certificate and additional domain names that can be used to connect to the website. </p>
|
|
838
|
+
* <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
|
|
839
|
+
* names included in the certificate. To display the full list of subject alternative names, use
|
|
840
|
+
* <a href="https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html">DescribeCertificate</a>.</p>
|
|
841
|
+
*/
|
|
842
|
+
SubjectAlternativeNameSummaries?: string[];
|
|
843
|
+
/**
|
|
844
|
+
* <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
|
|
845
|
+
* been included in the response. If false, the response includes all of the subject alternative
|
|
846
|
+
* names included in the certificate. If true, the response only includes the first 100 subject
|
|
847
|
+
* alternative names included in the certificate. To display the full list of subject alternative
|
|
848
|
+
* names, use <a href="https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html">DescribeCertificate</a>.</p>
|
|
849
|
+
*/
|
|
850
|
+
HasAdditionalSubjectAlternativeNames?: boolean;
|
|
851
|
+
/**
|
|
852
|
+
* <p>The status of the certificate.</p>
|
|
853
|
+
* <p>A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for
|
|
854
|
+
* any of the reasons given in the troubleshooting topic <a href="https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting-failed.html">Certificate request fails</a>. ACM makes
|
|
855
|
+
* repeated attempts to validate a certificate for 72 hours and then times out. If a certificate
|
|
856
|
+
* 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
|
|
857
|
+
* try again. If validation succeeds, the certificate enters status ISSUED. </p>
|
|
858
|
+
*/
|
|
859
|
+
Status?: CertificateStatus | string;
|
|
860
|
+
/**
|
|
861
|
+
* <p>The source of the certificate. For certificates provided by ACM, this value is
|
|
862
|
+
* <code>AMAZON_ISSUED</code>. For certificates that you imported with <a>ImportCertificate</a>, this value is <code>IMPORTED</code>. ACM does not provide
|
|
863
|
+
* <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed renewal</a> for
|
|
864
|
+
* imported certificates. For more information about the differences between certificates that
|
|
865
|
+
* 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
|
|
866
|
+
* <i>Certificate Manager User Guide</i>. </p>
|
|
867
|
+
*/
|
|
868
|
+
Type?: CertificateType | string;
|
|
869
|
+
/**
|
|
870
|
+
* <p>The algorithm that was used to generate the public-private key pair.</p>
|
|
871
|
+
*/
|
|
872
|
+
KeyAlgorithm?: KeyAlgorithm | string;
|
|
873
|
+
/**
|
|
874
|
+
* <p>A list of Key Usage X.509 v3 extension objects. Each object is a string value that
|
|
875
|
+
* identifies the purpose of the public key contained in the certificate. Possible extension
|
|
876
|
+
* values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.</p>
|
|
877
|
+
*/
|
|
878
|
+
KeyUsages?: (KeyUsageName | string)[];
|
|
879
|
+
/**
|
|
880
|
+
* <p>Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a
|
|
881
|
+
* purpose for which the certificate public key can be used and consists of a name and an object
|
|
882
|
+
* identifier (OID). </p>
|
|
883
|
+
*/
|
|
884
|
+
ExtendedKeyUsages?: (ExtendedKeyUsageName | string)[];
|
|
885
|
+
/**
|
|
886
|
+
* <p>Indicates whether the certificate is currently in use by any Amazon Web Services resources.</p>
|
|
887
|
+
*/
|
|
888
|
+
InUse?: boolean;
|
|
889
|
+
/**
|
|
890
|
+
* <p>Indicates whether the certificate has been exported. This value exists only when the
|
|
891
|
+
* certificate type is <code>PRIVATE</code>.</p>
|
|
892
|
+
*/
|
|
893
|
+
Exported?: boolean;
|
|
894
|
+
/**
|
|
895
|
+
* <p>Specifies whether the certificate is eligible for renewal. At this time, only exported
|
|
896
|
+
* private certificates can be renewed with the <a>RenewCertificate</a>
|
|
897
|
+
* command.</p>
|
|
898
|
+
*/
|
|
899
|
+
RenewalEligibility?: RenewalEligibility | string;
|
|
900
|
+
/**
|
|
901
|
+
* <p>The time before which the certificate is not valid.</p>
|
|
902
|
+
*/
|
|
903
|
+
NotBefore?: Date;
|
|
904
|
+
/**
|
|
905
|
+
* <p>The time after which the certificate is not valid.</p>
|
|
906
|
+
*/
|
|
907
|
+
NotAfter?: Date;
|
|
908
|
+
/**
|
|
909
|
+
* <p>The time at which the certificate was requested.</p>
|
|
910
|
+
*/
|
|
911
|
+
CreatedAt?: Date;
|
|
912
|
+
/**
|
|
913
|
+
* <p>The time at which the certificate was issued. This value exists only when the certificate
|
|
914
|
+
* type is <code>AMAZON_ISSUED</code>. </p>
|
|
915
|
+
*/
|
|
916
|
+
IssuedAt?: Date;
|
|
917
|
+
/**
|
|
918
|
+
* <p>The date and time when the certificate was imported. This value exists only when the
|
|
919
|
+
* certificate type is <code>IMPORTED</code>. </p>
|
|
920
|
+
*/
|
|
921
|
+
ImportedAt?: Date;
|
|
922
|
+
/**
|
|
923
|
+
* <p>The time at which the certificate was revoked. This value exists only when the certificate
|
|
924
|
+
* status is <code>REVOKED</code>. </p>
|
|
925
|
+
*/
|
|
926
|
+
RevokedAt?: Date;
|
|
815
927
|
}
|
|
816
928
|
export interface ListCertificatesResponse {
|
|
817
929
|
/**
|
|
@@ -842,9 +954,8 @@ export interface ListTagsForCertificateResponse {
|
|
|
842
954
|
Tags?: Tag[];
|
|
843
955
|
}
|
|
844
956
|
/**
|
|
845
|
-
* <p>You are trying to
|
|
846
|
-
*
|
|
847
|
-
* previous operation to finish and try again.</p>
|
|
957
|
+
* <p>You are trying to update a resource or configuration that is already being created or
|
|
958
|
+
* updated. Wait for the previous operation to finish and try again.</p>
|
|
848
959
|
*/
|
|
849
960
|
export declare class ConflictException extends __BaseException {
|
|
850
961
|
readonly name: "ConflictException";
|
|
@@ -856,23 +967,20 @@ export declare class ConflictException extends __BaseException {
|
|
|
856
967
|
}
|
|
857
968
|
export interface PutAccountConfigurationRequest {
|
|
858
969
|
/**
|
|
859
|
-
* <p>Specifies expiration
|
|
860
|
-
* events associated with an account.</p>
|
|
970
|
+
* <p>Specifies expiration events associated with an account.</p>
|
|
861
971
|
*/
|
|
862
972
|
ExpiryEvents?: ExpiryEventsConfiguration;
|
|
863
973
|
/**
|
|
864
|
-
* <p>Customer-chosen string
|
|
865
|
-
*
|
|
866
|
-
*
|
|
867
|
-
*
|
|
868
|
-
*
|
|
869
|
-
* a new request.</p>
|
|
974
|
+
* <p>Customer-chosen string used to distinguish between calls to
|
|
975
|
+
* <code>PutAccountConfiguration</code>. Idempotency tokens time out after one hour. If you
|
|
976
|
+
* call <code>PutAccountConfiguration</code> multiple times with the same unexpired idempotency
|
|
977
|
+
* token, ACM treats it as the same request and returns the original result. If you change the
|
|
978
|
+
* idempotency token for each call, ACM treats each call as a new request.</p>
|
|
870
979
|
*/
|
|
871
980
|
IdempotencyToken: string | undefined;
|
|
872
981
|
}
|
|
873
982
|
/**
|
|
874
|
-
* <p>The supplied input
|
|
875
|
-
* failed to satisfy constraints of an Amazon Web Services service.</p>
|
|
983
|
+
* <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
|
|
876
984
|
*/
|
|
877
985
|
export declare class ValidationException extends __BaseException {
|
|
878
986
|
readonly name: "ValidationException";
|
|
@@ -886,11 +994,9 @@ export interface RemoveTagsFromCertificateRequest {
|
|
|
886
994
|
/**
|
|
887
995
|
* <p>String that contains the ARN of the ACM Certificate with one or more tags that you want
|
|
888
996
|
* to remove. This must be of the form:</p>
|
|
889
|
-
*
|
|
890
997
|
* <p>
|
|
891
998
|
* <code>arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012</code>
|
|
892
999
|
* </p>
|
|
893
|
-
*
|
|
894
1000
|
* <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
|
|
895
1001
|
*/
|
|
896
1002
|
CertificateArn: string | undefined;
|
|
@@ -960,13 +1066,14 @@ export interface DomainValidationOption {
|
|
|
960
1066
|
}
|
|
961
1067
|
export interface RequestCertificateRequest {
|
|
962
1068
|
/**
|
|
963
|
-
* <p>
|
|
1069
|
+
* <p>Fully qualified domain name (FQDN), such as www.example.com, that you want to secure with
|
|
964
1070
|
* an ACM certificate. Use an asterisk (*) to create a wildcard certificate that protects
|
|
965
1071
|
* several sites in the same domain. For example, *.example.com protects www.example.com,
|
|
966
1072
|
* site.example.com, and images.example.com. </p>
|
|
967
|
-
*
|
|
968
|
-
*
|
|
969
|
-
*
|
|
1073
|
+
* <p>In compliance with <a href="https://datatracker.ietf.org/doc/html/rfc5280">RFC
|
|
1074
|
+
* 5280</a>, the length of the domain name (technically, the Common Name) that you provide
|
|
1075
|
+
* cannot exceed 64 octets (characters), including periods. To add a longer domain name, specify it in the Subject Alternative
|
|
1076
|
+
* Name field, which supports names up to 253 octets in length. </p>
|
|
970
1077
|
*/
|
|
971
1078
|
DomainName: string | undefined;
|
|
972
1079
|
/**
|
|
@@ -982,11 +1089,9 @@ export interface RequestCertificateRequest {
|
|
|
982
1089
|
* either name. The maximum number of domain names that you can add to an ACM certificate is
|
|
983
1090
|
* 100. However, the initial quota is 10 domain names. If you need more than 10 names, you must
|
|
984
1091
|
* request a quota increase. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html">Quotas</a>.</p>
|
|
985
|
-
*
|
|
986
1092
|
* <p> The maximum length of a SAN DNS name is 253 octets. The name is made up of multiple
|
|
987
1093
|
* labels separated by periods. No label can be longer than 63 octets. Consider the following
|
|
988
1094
|
* examples: </p>
|
|
989
|
-
*
|
|
990
1095
|
* <ul>
|
|
991
1096
|
* <li>
|
|
992
1097
|
* <p>
|
|
@@ -1032,8 +1137,7 @@ export interface RequestCertificateRequest {
|
|
|
1032
1137
|
* <p>The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used
|
|
1033
1138
|
* to issue the certificate. If you do not provide an ARN and you are trying to request a private
|
|
1034
1139
|
* certificate, ACM will attempt to issue a public certificate. For more information about
|
|
1035
|
-
* private CAs, see the <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaWelcome.html">
|
|
1036
|
-
*
|
|
1140
|
+
* private CAs, see the <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaWelcome.html">Certificate Manager Private Certificate Authority</a> user guide. The ARN must have the following form: </p>
|
|
1037
1141
|
* <p>
|
|
1038
1142
|
* <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
|
|
1039
1143
|
* </p>
|
|
@@ -1070,7 +1174,6 @@ export interface ResendValidationEmailRequest {
|
|
|
1070
1174
|
* generated and returned by the <a>RequestCertificate</a> action as soon as the
|
|
1071
1175
|
* request is made. By default, using this parameter causes email to be sent to all top-level
|
|
1072
1176
|
* domains you specified in the certificate request. The ARN must be of the form: </p>
|
|
1073
|
-
*
|
|
1074
1177
|
* <p>
|
|
1075
1178
|
* <code>arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012</code>
|
|
1076
1179
|
* </p>
|
|
@@ -303,15 +303,40 @@ export interface Filters {
|
|
|
303
303
|
keyUsage?: (KeyUsageName | string)[];
|
|
304
304
|
keyTypes?: (KeyAlgorithm | string)[];
|
|
305
305
|
}
|
|
306
|
+
export declare enum SortBy {
|
|
307
|
+
CREATED_AT = "CREATED_AT",
|
|
308
|
+
}
|
|
309
|
+
export declare enum SortOrder {
|
|
310
|
+
ASCENDING = "ASCENDING",
|
|
311
|
+
DESCENDING = "DESCENDING",
|
|
312
|
+
}
|
|
306
313
|
export interface ListCertificatesRequest {
|
|
307
314
|
CertificateStatuses?: (CertificateStatus | string)[];
|
|
308
315
|
Includes?: Filters;
|
|
309
316
|
NextToken?: string;
|
|
310
317
|
MaxItems?: number;
|
|
318
|
+
SortBy?: SortBy | string;
|
|
319
|
+
SortOrder?: SortOrder | string;
|
|
311
320
|
}
|
|
312
321
|
export interface CertificateSummary {
|
|
313
322
|
CertificateArn?: string;
|
|
314
323
|
DomainName?: string;
|
|
324
|
+
SubjectAlternativeNameSummaries?: string[];
|
|
325
|
+
HasAdditionalSubjectAlternativeNames?: boolean;
|
|
326
|
+
Status?: CertificateStatus | string;
|
|
327
|
+
Type?: CertificateType | string;
|
|
328
|
+
KeyAlgorithm?: KeyAlgorithm | string;
|
|
329
|
+
KeyUsages?: (KeyUsageName | string)[];
|
|
330
|
+
ExtendedKeyUsages?: (ExtendedKeyUsageName | string)[];
|
|
331
|
+
InUse?: boolean;
|
|
332
|
+
Exported?: boolean;
|
|
333
|
+
RenewalEligibility?: RenewalEligibility | string;
|
|
334
|
+
NotBefore?: Date;
|
|
335
|
+
NotAfter?: Date;
|
|
336
|
+
CreatedAt?: Date;
|
|
337
|
+
IssuedAt?: Date;
|
|
338
|
+
ImportedAt?: Date;
|
|
339
|
+
RevokedAt?: Date;
|
|
315
340
|
}
|
|
316
341
|
export interface ListCertificatesResponse {
|
|
317
342
|
NextToken?: 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.
|
|
4
|
+
"version": "3.181.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.181.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.178.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.181.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.178.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.178.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.178.0",
|