@aws-sdk/client-acm-pca 3.933.0 → 3.935.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 +114 -113
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +113 -0
- package/dist-es/models/errors.js +229 -0
- package/dist-es/models/models_0.js +1 -342
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +257 -0
- package/dist-types/models/errors.d.ts +230 -0
- package/dist-types/models/models_0.d.ts +1 -487
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +143 -0
- package/dist-types/ts3.4/models/errors.d.ts +144 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -287
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ACMPCAServiceException as __BaseException } from "./ACMPCAServiceException";
|
|
1
|
+
import { AccessMethodType, ActionType, AuditReportResponseFormat, AuditReportStatus, CertificateAuthorityStatus, CertificateAuthorityType, CertificateAuthorityUsageMode, CrlType, ExtendedKeyUsageType, FailureReason, KeyAlgorithm, KeyStorageSecurityStandard, PolicyQualifierId, ResourceOwner, RevocationReason, S3ObjectAcl, SigningAlgorithm, ValidityPeriodType } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* <p>Defines the X.500 relative distinguished name (RDN).</p>
|
|
5
4
|
* @public
|
|
@@ -175,19 +174,6 @@ export interface GeneralName {
|
|
|
175
174
|
*/
|
|
176
175
|
RegisteredId?: string | undefined;
|
|
177
176
|
}
|
|
178
|
-
/**
|
|
179
|
-
* @public
|
|
180
|
-
* @enum
|
|
181
|
-
*/
|
|
182
|
-
export declare const AccessMethodType: {
|
|
183
|
-
readonly CA_REPOSITORY: "CA_REPOSITORY";
|
|
184
|
-
readonly RESOURCE_PKI_MANIFEST: "RESOURCE_PKI_MANIFEST";
|
|
185
|
-
readonly RESOURCE_PKI_NOTIFY: "RESOURCE_PKI_NOTIFY";
|
|
186
|
-
};
|
|
187
|
-
/**
|
|
188
|
-
* @public
|
|
189
|
-
*/
|
|
190
|
-
export type AccessMethodType = (typeof AccessMethodType)[keyof typeof AccessMethodType];
|
|
191
177
|
/**
|
|
192
178
|
* <p>Describes the type and format of extension access. Only one of <code>CustomObjectIdentifier</code> or <code>AccessMethodType</code> may be provided. Providing both results in <code>InvalidArgsException</code>.</p>
|
|
193
179
|
* @public
|
|
@@ -287,46 +273,6 @@ export interface CsrExtensions {
|
|
|
287
273
|
*/
|
|
288
274
|
SubjectInformationAccess?: AccessDescription[] | undefined;
|
|
289
275
|
}
|
|
290
|
-
/**
|
|
291
|
-
* @public
|
|
292
|
-
* @enum
|
|
293
|
-
*/
|
|
294
|
-
export declare const KeyAlgorithm: {
|
|
295
|
-
readonly EC_prime256v1: "EC_prime256v1";
|
|
296
|
-
readonly EC_secp384r1: "EC_secp384r1";
|
|
297
|
-
readonly EC_secp521r1: "EC_secp521r1";
|
|
298
|
-
readonly ML_DSA_44: "ML_DSA_44";
|
|
299
|
-
readonly ML_DSA_65: "ML_DSA_65";
|
|
300
|
-
readonly ML_DSA_87: "ML_DSA_87";
|
|
301
|
-
readonly RSA_2048: "RSA_2048";
|
|
302
|
-
readonly RSA_3072: "RSA_3072";
|
|
303
|
-
readonly RSA_4096: "RSA_4096";
|
|
304
|
-
readonly SM2: "SM2";
|
|
305
|
-
};
|
|
306
|
-
/**
|
|
307
|
-
* @public
|
|
308
|
-
*/
|
|
309
|
-
export type KeyAlgorithm = (typeof KeyAlgorithm)[keyof typeof KeyAlgorithm];
|
|
310
|
-
/**
|
|
311
|
-
* @public
|
|
312
|
-
* @enum
|
|
313
|
-
*/
|
|
314
|
-
export declare const SigningAlgorithm: {
|
|
315
|
-
readonly ML_DSA_44: "ML_DSA_44";
|
|
316
|
-
readonly ML_DSA_65: "ML_DSA_65";
|
|
317
|
-
readonly ML_DSA_87: "ML_DSA_87";
|
|
318
|
-
readonly SHA256WITHECDSA: "SHA256WITHECDSA";
|
|
319
|
-
readonly SHA256WITHRSA: "SHA256WITHRSA";
|
|
320
|
-
readonly SHA384WITHECDSA: "SHA384WITHECDSA";
|
|
321
|
-
readonly SHA384WITHRSA: "SHA384WITHRSA";
|
|
322
|
-
readonly SHA512WITHECDSA: "SHA512WITHECDSA";
|
|
323
|
-
readonly SHA512WITHRSA: "SHA512WITHRSA";
|
|
324
|
-
readonly SM3WITHSM2: "SM3WITHSM2";
|
|
325
|
-
};
|
|
326
|
-
/**
|
|
327
|
-
* @public
|
|
328
|
-
*/
|
|
329
|
-
export type SigningAlgorithm = (typeof SigningAlgorithm)[keyof typeof SigningAlgorithm];
|
|
330
276
|
/**
|
|
331
277
|
* <p>Contains configuration information for your private certificate authority (CA). This includes information about the class of public key algorithm and the key pair that your private CA creates when it issues a certificate. It also includes the signature algorithm that it uses when issuing certificates, and its X.500 distinguished name. You must specify this information when you call the <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html">CreateCertificateAuthority</a> action. </p>
|
|
332
278
|
* @public
|
|
@@ -353,31 +299,6 @@ export interface CertificateAuthorityConfiguration {
|
|
|
353
299
|
*/
|
|
354
300
|
CsrExtensions?: CsrExtensions | undefined;
|
|
355
301
|
}
|
|
356
|
-
/**
|
|
357
|
-
* @public
|
|
358
|
-
* @enum
|
|
359
|
-
*/
|
|
360
|
-
export declare const CertificateAuthorityType: {
|
|
361
|
-
readonly ROOT: "ROOT";
|
|
362
|
-
readonly SUBORDINATE: "SUBORDINATE";
|
|
363
|
-
};
|
|
364
|
-
/**
|
|
365
|
-
* @public
|
|
366
|
-
*/
|
|
367
|
-
export type CertificateAuthorityType = (typeof CertificateAuthorityType)[keyof typeof CertificateAuthorityType];
|
|
368
|
-
/**
|
|
369
|
-
* @public
|
|
370
|
-
* @enum
|
|
371
|
-
*/
|
|
372
|
-
export declare const KeyStorageSecurityStandard: {
|
|
373
|
-
readonly CCPC_LEVEL_1_OR_HIGHER: "CCPC_LEVEL_1_OR_HIGHER";
|
|
374
|
-
readonly FIPS_140_2_LEVEL_2_OR_HIGHER: "FIPS_140_2_LEVEL_2_OR_HIGHER";
|
|
375
|
-
readonly FIPS_140_2_LEVEL_3_OR_HIGHER: "FIPS_140_2_LEVEL_3_OR_HIGHER";
|
|
376
|
-
};
|
|
377
|
-
/**
|
|
378
|
-
* @public
|
|
379
|
-
*/
|
|
380
|
-
export type KeyStorageSecurityStandard = (typeof KeyStorageSecurityStandard)[keyof typeof KeyStorageSecurityStandard];
|
|
381
302
|
/**
|
|
382
303
|
* <p>Contains configuration information for the default behavior of the CRL Distribution Point (CDP) extension in certificates issued by your CA. This extension contains a link to download the CRL, so you can check whether a certificate has been revoked. To choose whether you want this extension omitted or not in certificates issued by your CA, you can set the <b>OmitExtension</b> parameter.</p>
|
|
383
304
|
* @public
|
|
@@ -389,30 +310,6 @@ export interface CrlDistributionPointExtensionConfiguration {
|
|
|
389
310
|
*/
|
|
390
311
|
OmitExtension: boolean | undefined;
|
|
391
312
|
}
|
|
392
|
-
/**
|
|
393
|
-
* @public
|
|
394
|
-
* @enum
|
|
395
|
-
*/
|
|
396
|
-
export declare const CrlType: {
|
|
397
|
-
readonly COMPLETE: "COMPLETE";
|
|
398
|
-
readonly PARTITIONED: "PARTITIONED";
|
|
399
|
-
};
|
|
400
|
-
/**
|
|
401
|
-
* @public
|
|
402
|
-
*/
|
|
403
|
-
export type CrlType = (typeof CrlType)[keyof typeof CrlType];
|
|
404
|
-
/**
|
|
405
|
-
* @public
|
|
406
|
-
* @enum
|
|
407
|
-
*/
|
|
408
|
-
export declare const S3ObjectAcl: {
|
|
409
|
-
readonly BUCKET_OWNER_FULL_CONTROL: "BUCKET_OWNER_FULL_CONTROL";
|
|
410
|
-
readonly PUBLIC_READ: "PUBLIC_READ";
|
|
411
|
-
};
|
|
412
|
-
/**
|
|
413
|
-
* @public
|
|
414
|
-
*/
|
|
415
|
-
export type S3ObjectAcl = (typeof S3ObjectAcl)[keyof typeof S3ObjectAcl];
|
|
416
313
|
/**
|
|
417
314
|
* <p>Contains configuration information for a certificate revocation list (CRL). Your private certificate authority (CA) creates base CRLs. Delta CRLs are not supported. You can enable CRLs for your new or an existing private CA by setting the <b>Enabled</b> parameter to <code>true</code>. Your private CA writes CRLs to an S3 bucket that you specify in the <b>S3BucketName</b> parameter. You can hide the name of your bucket by specifying a value for the <b>CustomCname</b> parameter. Your private CA by default copies the CNAME or the S3 bucket name to the <b>CRL Distribution Points</b> extension of each certificate it issues. If you want to configure this default behavior to be something different, you can set the <b>CrlDistributionPointExtensionConfiguration</b> parameter. Your S3 bucket policy must give write permission to Amazon Web Services Private CA. </p> <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#crl-encryption">Encrypting Your CRLs</a>.</p> <p>Your private CA uses the value in the <b>ExpirationInDays</b> parameter to calculate the <b>nextUpdate</b> field in the CRL. The CRL is refreshed prior to a certificate's expiration date or when a certificate is revoked. When a certificate is revoked, it appears in the CRL until the certificate expires, and then in one additional CRL after expiration, and it always appears in the audit report.</p> <p>A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason a CRL update fails, Amazon Web Services Private CA makes further attempts every 15 minutes.</p> <p>CRLs contain the following fields:</p> <ul> <li> <p> <b>Version</b>: The current version number defined in RFC 5280 is V2. The integer value is 0x1. </p> </li> <li> <p> <b>Signature Algorithm</b>: The name of the algorithm used to sign the CRL.</p> </li> <li> <p> <b>Issuer</b>: The X.500 distinguished name of your private CA that issued the CRL.</p> </li> <li> <p> <b>Last Update</b>: The issue date and time of this CRL.</p> </li> <li> <p> <b>Next Update</b>: The day and time by which the next CRL will be issued.</p> </li> <li> <p> <b>Revoked Certificates</b>: List of revoked certificates. Each list item contains the following information.</p> <ul> <li> <p> <b>Serial Number</b>: The serial number, in hexadecimal format, of the revoked certificate.</p> </li> <li> <p> <b>Revocation Date</b>: Date and time the certificate was revoked.</p> </li> <li> <p> <b>CRL Entry Extensions</b>: Optional extensions for the CRL entry.</p> <ul> <li> <p> <b>X509v3 CRL Reason Code</b>: Reason the certificate was revoked.</p> </li> </ul> </li> </ul> </li> <li> <p> <b>CRL Extensions</b>: Optional extensions for the CRL.</p> <ul> <li> <p> <b>X509v3 Authority Key Identifier</b>: Identifies the public key associated with the private key used to sign the certificate.</p> </li> <li> <p> <b>X509v3 CRL Number:</b>: Decimal sequence number for the CRL.</p> </li> </ul> </li> <li> <p> <b>Signature Algorithm</b>: Algorithm used by your private CA to sign the CRL.</p> </li> <li> <p> <b>Signature Value</b>: Signature computed over the CRL.</p> </li> </ul> <p>Certificate revocation lists created by Amazon Web Services Private CA are DER-encoded. You can use the following OpenSSL command to list a CRL.</p> <p> <code>openssl crl -inform DER -text -in <i>crl_path</i> -noout</code> </p> <p>For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html">Planning a certificate revocation list (CRL)</a> in the <i>Amazon Web Services Private Certificate Authority User Guide</i> </p>
|
|
418
315
|
* @public
|
|
@@ -507,18 +404,6 @@ export interface Tag {
|
|
|
507
404
|
*/
|
|
508
405
|
Value?: string | undefined;
|
|
509
406
|
}
|
|
510
|
-
/**
|
|
511
|
-
* @public
|
|
512
|
-
* @enum
|
|
513
|
-
*/
|
|
514
|
-
export declare const CertificateAuthorityUsageMode: {
|
|
515
|
-
readonly GENERAL_PURPOSE: "GENERAL_PURPOSE";
|
|
516
|
-
readonly SHORT_LIVED_CERTIFICATE: "SHORT_LIVED_CERTIFICATE";
|
|
517
|
-
};
|
|
518
|
-
/**
|
|
519
|
-
* @public
|
|
520
|
-
*/
|
|
521
|
-
export type CertificateAuthorityUsageMode = (typeof CertificateAuthorityUsageMode)[keyof typeof CertificateAuthorityUsageMode];
|
|
522
407
|
/**
|
|
523
408
|
* @public
|
|
524
409
|
*/
|
|
@@ -569,66 +454,6 @@ export interface CreateCertificateAuthorityResponse {
|
|
|
569
454
|
*/
|
|
570
455
|
CertificateAuthorityArn?: string | undefined;
|
|
571
456
|
}
|
|
572
|
-
/**
|
|
573
|
-
* <p>One or more of the specified arguments was not valid.</p>
|
|
574
|
-
* @public
|
|
575
|
-
*/
|
|
576
|
-
export declare class InvalidArgsException extends __BaseException {
|
|
577
|
-
readonly name: "InvalidArgsException";
|
|
578
|
-
readonly $fault: "client";
|
|
579
|
-
/**
|
|
580
|
-
* @internal
|
|
581
|
-
*/
|
|
582
|
-
constructor(opts: __ExceptionOptionType<InvalidArgsException, __BaseException>);
|
|
583
|
-
}
|
|
584
|
-
/**
|
|
585
|
-
* <p>The resource policy is invalid or is missing a required statement. For general information about IAM policy and statement structure, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json">Overview of JSON Policies</a>.</p>
|
|
586
|
-
* @public
|
|
587
|
-
*/
|
|
588
|
-
export declare class InvalidPolicyException extends __BaseException {
|
|
589
|
-
readonly name: "InvalidPolicyException";
|
|
590
|
-
readonly $fault: "client";
|
|
591
|
-
/**
|
|
592
|
-
* @internal
|
|
593
|
-
*/
|
|
594
|
-
constructor(opts: __ExceptionOptionType<InvalidPolicyException, __BaseException>);
|
|
595
|
-
}
|
|
596
|
-
/**
|
|
597
|
-
* <p>The tag associated with the CA is not valid. The invalid argument is contained in the message field.</p>
|
|
598
|
-
* @public
|
|
599
|
-
*/
|
|
600
|
-
export declare class InvalidTagException extends __BaseException {
|
|
601
|
-
readonly name: "InvalidTagException";
|
|
602
|
-
readonly $fault: "client";
|
|
603
|
-
/**
|
|
604
|
-
* @internal
|
|
605
|
-
*/
|
|
606
|
-
constructor(opts: __ExceptionOptionType<InvalidTagException, __BaseException>);
|
|
607
|
-
}
|
|
608
|
-
/**
|
|
609
|
-
* <p>An Amazon Web Services Private CA quota has been exceeded. See the exception message returned to determine the quota that was exceeded.</p>
|
|
610
|
-
* @public
|
|
611
|
-
*/
|
|
612
|
-
export declare class LimitExceededException extends __BaseException {
|
|
613
|
-
readonly name: "LimitExceededException";
|
|
614
|
-
readonly $fault: "client";
|
|
615
|
-
/**
|
|
616
|
-
* @internal
|
|
617
|
-
*/
|
|
618
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
619
|
-
}
|
|
620
|
-
/**
|
|
621
|
-
* @public
|
|
622
|
-
* @enum
|
|
623
|
-
*/
|
|
624
|
-
export declare const AuditReportResponseFormat: {
|
|
625
|
-
readonly CSV: "CSV";
|
|
626
|
-
readonly JSON: "JSON";
|
|
627
|
-
};
|
|
628
|
-
/**
|
|
629
|
-
* @public
|
|
630
|
-
*/
|
|
631
|
-
export type AuditReportResponseFormat = (typeof AuditReportResponseFormat)[keyof typeof AuditReportResponseFormat];
|
|
632
457
|
/**
|
|
633
458
|
* @public
|
|
634
459
|
*/
|
|
@@ -664,79 +489,6 @@ export interface CreateCertificateAuthorityAuditReportResponse {
|
|
|
664
489
|
*/
|
|
665
490
|
S3Key?: string | undefined;
|
|
666
491
|
}
|
|
667
|
-
/**
|
|
668
|
-
* <p>The requested Amazon Resource Name (ARN) does not refer to an existing resource.</p>
|
|
669
|
-
* @public
|
|
670
|
-
*/
|
|
671
|
-
export declare class InvalidArnException extends __BaseException {
|
|
672
|
-
readonly name: "InvalidArnException";
|
|
673
|
-
readonly $fault: "client";
|
|
674
|
-
/**
|
|
675
|
-
* @internal
|
|
676
|
-
*/
|
|
677
|
-
constructor(opts: __ExceptionOptionType<InvalidArnException, __BaseException>);
|
|
678
|
-
}
|
|
679
|
-
/**
|
|
680
|
-
* <p>The state of the private CA does not allow this action to occur.</p>
|
|
681
|
-
* @public
|
|
682
|
-
*/
|
|
683
|
-
export declare class InvalidStateException extends __BaseException {
|
|
684
|
-
readonly name: "InvalidStateException";
|
|
685
|
-
readonly $fault: "client";
|
|
686
|
-
/**
|
|
687
|
-
* @internal
|
|
688
|
-
*/
|
|
689
|
-
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
690
|
-
}
|
|
691
|
-
/**
|
|
692
|
-
* <p>The request has failed for an unspecified reason.</p>
|
|
693
|
-
* @public
|
|
694
|
-
*/
|
|
695
|
-
export declare class RequestFailedException extends __BaseException {
|
|
696
|
-
readonly name: "RequestFailedException";
|
|
697
|
-
readonly $fault: "client";
|
|
698
|
-
/**
|
|
699
|
-
* @internal
|
|
700
|
-
*/
|
|
701
|
-
constructor(opts: __ExceptionOptionType<RequestFailedException, __BaseException>);
|
|
702
|
-
}
|
|
703
|
-
/**
|
|
704
|
-
* <p>Your request is already in progress.</p>
|
|
705
|
-
* @public
|
|
706
|
-
*/
|
|
707
|
-
export declare class RequestInProgressException extends __BaseException {
|
|
708
|
-
readonly name: "RequestInProgressException";
|
|
709
|
-
readonly $fault: "client";
|
|
710
|
-
/**
|
|
711
|
-
* @internal
|
|
712
|
-
*/
|
|
713
|
-
constructor(opts: __ExceptionOptionType<RequestInProgressException, __BaseException>);
|
|
714
|
-
}
|
|
715
|
-
/**
|
|
716
|
-
* <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot be found.</p>
|
|
717
|
-
* @public
|
|
718
|
-
*/
|
|
719
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
720
|
-
readonly name: "ResourceNotFoundException";
|
|
721
|
-
readonly $fault: "client";
|
|
722
|
-
/**
|
|
723
|
-
* @internal
|
|
724
|
-
*/
|
|
725
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
726
|
-
}
|
|
727
|
-
/**
|
|
728
|
-
* @public
|
|
729
|
-
* @enum
|
|
730
|
-
*/
|
|
731
|
-
export declare const ActionType: {
|
|
732
|
-
readonly GetCertificate: "GetCertificate";
|
|
733
|
-
readonly IssueCertificate: "IssueCertificate";
|
|
734
|
-
readonly ListPermissions: "ListPermissions";
|
|
735
|
-
};
|
|
736
|
-
/**
|
|
737
|
-
* @public
|
|
738
|
-
*/
|
|
739
|
-
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
740
492
|
/**
|
|
741
493
|
* @public
|
|
742
494
|
*/
|
|
@@ -762,30 +514,6 @@ export interface CreatePermissionRequest {
|
|
|
762
514
|
*/
|
|
763
515
|
Actions: ActionType[] | undefined;
|
|
764
516
|
}
|
|
765
|
-
/**
|
|
766
|
-
* <p>The designated permission has already been given to the user.</p>
|
|
767
|
-
* @public
|
|
768
|
-
*/
|
|
769
|
-
export declare class PermissionAlreadyExistsException extends __BaseException {
|
|
770
|
-
readonly name: "PermissionAlreadyExistsException";
|
|
771
|
-
readonly $fault: "client";
|
|
772
|
-
/**
|
|
773
|
-
* @internal
|
|
774
|
-
*/
|
|
775
|
-
constructor(opts: __ExceptionOptionType<PermissionAlreadyExistsException, __BaseException>);
|
|
776
|
-
}
|
|
777
|
-
/**
|
|
778
|
-
* <p>A previous update to your private CA is still ongoing.</p>
|
|
779
|
-
* @public
|
|
780
|
-
*/
|
|
781
|
-
export declare class ConcurrentModificationException extends __BaseException {
|
|
782
|
-
readonly name: "ConcurrentModificationException";
|
|
783
|
-
readonly $fault: "client";
|
|
784
|
-
/**
|
|
785
|
-
* @internal
|
|
786
|
-
*/
|
|
787
|
-
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
788
|
-
}
|
|
789
517
|
/**
|
|
790
518
|
* @public
|
|
791
519
|
*/
|
|
@@ -831,18 +559,6 @@ export interface DeletePolicyRequest {
|
|
|
831
559
|
*/
|
|
832
560
|
ResourceArn: string | undefined;
|
|
833
561
|
}
|
|
834
|
-
/**
|
|
835
|
-
* <p>The current action was prevented because it would lock the caller out from performing subsequent actions. Verify that the specified parameters would not result in the caller being denied access to the resource. </p>
|
|
836
|
-
* @public
|
|
837
|
-
*/
|
|
838
|
-
export declare class LockoutPreventedException extends __BaseException {
|
|
839
|
-
readonly name: "LockoutPreventedException";
|
|
840
|
-
readonly $fault: "client";
|
|
841
|
-
/**
|
|
842
|
-
* @internal
|
|
843
|
-
*/
|
|
844
|
-
constructor(opts: __ExceptionOptionType<LockoutPreventedException, __BaseException>);
|
|
845
|
-
}
|
|
846
562
|
/**
|
|
847
563
|
* @public
|
|
848
564
|
*/
|
|
@@ -853,36 +569,6 @@ export interface DescribeCertificateAuthorityRequest {
|
|
|
853
569
|
*/
|
|
854
570
|
CertificateAuthorityArn: string | undefined;
|
|
855
571
|
}
|
|
856
|
-
/**
|
|
857
|
-
* @public
|
|
858
|
-
* @enum
|
|
859
|
-
*/
|
|
860
|
-
export declare const FailureReason: {
|
|
861
|
-
readonly OTHER: "OTHER";
|
|
862
|
-
readonly REQUEST_TIMED_OUT: "REQUEST_TIMED_OUT";
|
|
863
|
-
readonly UNSUPPORTED_ALGORITHM: "UNSUPPORTED_ALGORITHM";
|
|
864
|
-
};
|
|
865
|
-
/**
|
|
866
|
-
* @public
|
|
867
|
-
*/
|
|
868
|
-
export type FailureReason = (typeof FailureReason)[keyof typeof FailureReason];
|
|
869
|
-
/**
|
|
870
|
-
* @public
|
|
871
|
-
* @enum
|
|
872
|
-
*/
|
|
873
|
-
export declare const CertificateAuthorityStatus: {
|
|
874
|
-
readonly ACTIVE: "ACTIVE";
|
|
875
|
-
readonly CREATING: "CREATING";
|
|
876
|
-
readonly DELETED: "DELETED";
|
|
877
|
-
readonly DISABLED: "DISABLED";
|
|
878
|
-
readonly EXPIRED: "EXPIRED";
|
|
879
|
-
readonly FAILED: "FAILED";
|
|
880
|
-
readonly PENDING_CERTIFICATE: "PENDING_CERTIFICATE";
|
|
881
|
-
};
|
|
882
|
-
/**
|
|
883
|
-
* @public
|
|
884
|
-
*/
|
|
885
|
-
export type CertificateAuthorityStatus = (typeof CertificateAuthorityStatus)[keyof typeof CertificateAuthorityStatus];
|
|
886
572
|
/**
|
|
887
573
|
* <p>Contains information about your private certificate authority (CA). Your private CA can issue and revoke X.509 digital certificates. Digital certificates verify that the entity named in the certificate <b>Subject</b> field owns or controls the public key contained in the <b>Subject Public Key Info</b> field. Call the <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html">CreateCertificateAuthority</a> action to create your private CA. You must then call the <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_GetCertificateAuthorityCertificate.html">GetCertificateAuthorityCertificate</a> action to retrieve a private CA certificate signing request (CSR). Sign the CSR with your Amazon Web Services Private CA-hosted or on-premises root or subordinate CA certificate. Call the <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_ImportCertificateAuthorityCertificate.html">ImportCertificateAuthorityCertificate</a> action to import the signed certificate into Certificate Manager (ACM). </p>
|
|
888
574
|
* @public
|
|
@@ -989,19 +675,6 @@ export interface DescribeCertificateAuthorityAuditReportRequest {
|
|
|
989
675
|
*/
|
|
990
676
|
AuditReportId: string | undefined;
|
|
991
677
|
}
|
|
992
|
-
/**
|
|
993
|
-
* @public
|
|
994
|
-
* @enum
|
|
995
|
-
*/
|
|
996
|
-
export declare const AuditReportStatus: {
|
|
997
|
-
readonly CREATING: "CREATING";
|
|
998
|
-
readonly FAILED: "FAILED";
|
|
999
|
-
readonly SUCCESS: "SUCCESS";
|
|
1000
|
-
};
|
|
1001
|
-
/**
|
|
1002
|
-
* @public
|
|
1003
|
-
*/
|
|
1004
|
-
export type AuditReportStatus = (typeof AuditReportStatus)[keyof typeof AuditReportStatus];
|
|
1005
678
|
/**
|
|
1006
679
|
* @public
|
|
1007
680
|
*/
|
|
@@ -1122,18 +795,6 @@ export interface GetPolicyResponse {
|
|
|
1122
795
|
*/
|
|
1123
796
|
Policy?: string | undefined;
|
|
1124
797
|
}
|
|
1125
|
-
/**
|
|
1126
|
-
* <p>The certificate authority certificate you are importing does not comply with conditions specified in the certificate that signed it.</p>
|
|
1127
|
-
* @public
|
|
1128
|
-
*/
|
|
1129
|
-
export declare class CertificateMismatchException extends __BaseException {
|
|
1130
|
-
readonly name: "CertificateMismatchException";
|
|
1131
|
-
readonly $fault: "client";
|
|
1132
|
-
/**
|
|
1133
|
-
* @internal
|
|
1134
|
-
*/
|
|
1135
|
-
constructor(opts: __ExceptionOptionType<CertificateMismatchException, __BaseException>);
|
|
1136
|
-
}
|
|
1137
798
|
/**
|
|
1138
799
|
* @public
|
|
1139
800
|
*/
|
|
@@ -1154,41 +815,6 @@ export interface ImportCertificateAuthorityCertificateRequest {
|
|
|
1154
815
|
*/
|
|
1155
816
|
CertificateChain?: Uint8Array | undefined;
|
|
1156
817
|
}
|
|
1157
|
-
/**
|
|
1158
|
-
* <p>The request action cannot be performed or is prohibited.</p>
|
|
1159
|
-
* @public
|
|
1160
|
-
*/
|
|
1161
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
1162
|
-
readonly name: "InvalidRequestException";
|
|
1163
|
-
readonly $fault: "client";
|
|
1164
|
-
/**
|
|
1165
|
-
* @internal
|
|
1166
|
-
*/
|
|
1167
|
-
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
1168
|
-
}
|
|
1169
|
-
/**
|
|
1170
|
-
* <p>One or more fields in the certificate are invalid.</p>
|
|
1171
|
-
* @public
|
|
1172
|
-
*/
|
|
1173
|
-
export declare class MalformedCertificateException extends __BaseException {
|
|
1174
|
-
readonly name: "MalformedCertificateException";
|
|
1175
|
-
readonly $fault: "client";
|
|
1176
|
-
/**
|
|
1177
|
-
* @internal
|
|
1178
|
-
*/
|
|
1179
|
-
constructor(opts: __ExceptionOptionType<MalformedCertificateException, __BaseException>);
|
|
1180
|
-
}
|
|
1181
|
-
/**
|
|
1182
|
-
* @public
|
|
1183
|
-
* @enum
|
|
1184
|
-
*/
|
|
1185
|
-
export declare const PolicyQualifierId: {
|
|
1186
|
-
readonly CPS: "CPS";
|
|
1187
|
-
};
|
|
1188
|
-
/**
|
|
1189
|
-
* @public
|
|
1190
|
-
*/
|
|
1191
|
-
export type PolicyQualifierId = (typeof PolicyQualifierId)[keyof typeof PolicyQualifierId];
|
|
1192
818
|
/**
|
|
1193
819
|
* <p>Defines a <code>PolicyInformation</code> qualifier. Amazon Web Services Private CA supports the <a href="https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.4">certification practice statement (CPS) qualifier</a> defined in RFC 5280. </p>
|
|
1194
820
|
* @public
|
|
@@ -1253,25 +879,6 @@ export interface CustomExtension {
|
|
|
1253
879
|
*/
|
|
1254
880
|
Critical?: boolean | undefined;
|
|
1255
881
|
}
|
|
1256
|
-
/**
|
|
1257
|
-
* @public
|
|
1258
|
-
* @enum
|
|
1259
|
-
*/
|
|
1260
|
-
export declare const ExtendedKeyUsageType: {
|
|
1261
|
-
readonly CERTIFICATE_TRANSPARENCY: "CERTIFICATE_TRANSPARENCY";
|
|
1262
|
-
readonly CLIENT_AUTH: "CLIENT_AUTH";
|
|
1263
|
-
readonly CODE_SIGNING: "CODE_SIGNING";
|
|
1264
|
-
readonly DOCUMENT_SIGNING: "DOCUMENT_SIGNING";
|
|
1265
|
-
readonly EMAIL_PROTECTION: "EMAIL_PROTECTION";
|
|
1266
|
-
readonly OCSP_SIGNING: "OCSP_SIGNING";
|
|
1267
|
-
readonly SERVER_AUTH: "SERVER_AUTH";
|
|
1268
|
-
readonly SMART_CARD_LOGIN: "SMART_CARD_LOGIN";
|
|
1269
|
-
readonly TIME_STAMPING: "TIME_STAMPING";
|
|
1270
|
-
};
|
|
1271
|
-
/**
|
|
1272
|
-
* @public
|
|
1273
|
-
*/
|
|
1274
|
-
export type ExtendedKeyUsageType = (typeof ExtendedKeyUsageType)[keyof typeof ExtendedKeyUsageType];
|
|
1275
882
|
/**
|
|
1276
883
|
* <p>Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the <code>KeyUsage</code> extension.</p>
|
|
1277
884
|
* @public
|
|
@@ -1335,21 +942,6 @@ export interface ApiPassthrough {
|
|
|
1335
942
|
*/
|
|
1336
943
|
Subject?: ASN1Subject | undefined;
|
|
1337
944
|
}
|
|
1338
|
-
/**
|
|
1339
|
-
* @public
|
|
1340
|
-
* @enum
|
|
1341
|
-
*/
|
|
1342
|
-
export declare const ValidityPeriodType: {
|
|
1343
|
-
readonly ABSOLUTE: "ABSOLUTE";
|
|
1344
|
-
readonly DAYS: "DAYS";
|
|
1345
|
-
readonly END_DATE: "END_DATE";
|
|
1346
|
-
readonly MONTHS: "MONTHS";
|
|
1347
|
-
readonly YEARS: "YEARS";
|
|
1348
|
-
};
|
|
1349
|
-
/**
|
|
1350
|
-
* @public
|
|
1351
|
-
*/
|
|
1352
|
-
export type ValidityPeriodType = (typeof ValidityPeriodType)[keyof typeof ValidityPeriodType];
|
|
1353
945
|
/**
|
|
1354
946
|
* <p>Validity specifies the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the validity of a certificate starts or expires, or as a span of time after issuance, stated in days, months, or years. For more information, see <a href="https://tools.ietf.org/html/rfc5280#section-4.1.2.5">Validity</a> in RFC 5280.</p> <p>Amazon Web Services Private CA API consumes the <code>Validity</code> data type differently in two distinct parameters of the <code>IssueCertificate</code> action. The required parameter <code>IssueCertificate</code>:<code>Validity</code> specifies the end of a certificate's validity period. The optional parameter <code>IssueCertificate</code>:<code>ValidityNotBefore</code> specifies a customized starting time for the validity period.</p>
|
|
1355
947
|
* @public
|
|
@@ -1421,42 +1013,6 @@ export interface IssueCertificateResponse {
|
|
|
1421
1013
|
*/
|
|
1422
1014
|
CertificateArn?: string | undefined;
|
|
1423
1015
|
}
|
|
1424
|
-
/**
|
|
1425
|
-
* <p>The certificate signing request is invalid.</p>
|
|
1426
|
-
* @public
|
|
1427
|
-
*/
|
|
1428
|
-
export declare class MalformedCSRException extends __BaseException {
|
|
1429
|
-
readonly name: "MalformedCSRException";
|
|
1430
|
-
readonly $fault: "client";
|
|
1431
|
-
/**
|
|
1432
|
-
* @internal
|
|
1433
|
-
*/
|
|
1434
|
-
constructor(opts: __ExceptionOptionType<MalformedCSRException, __BaseException>);
|
|
1435
|
-
}
|
|
1436
|
-
/**
|
|
1437
|
-
* <p>The token specified in the <code>NextToken</code> argument is not valid. Use the token returned from your previous call to <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a>.</p>
|
|
1438
|
-
* @public
|
|
1439
|
-
*/
|
|
1440
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
1441
|
-
readonly name: "InvalidNextTokenException";
|
|
1442
|
-
readonly $fault: "client";
|
|
1443
|
-
/**
|
|
1444
|
-
* @internal
|
|
1445
|
-
*/
|
|
1446
|
-
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
1447
|
-
}
|
|
1448
|
-
/**
|
|
1449
|
-
* @public
|
|
1450
|
-
* @enum
|
|
1451
|
-
*/
|
|
1452
|
-
export declare const ResourceOwner: {
|
|
1453
|
-
readonly OTHER_ACCOUNTS: "OTHER_ACCOUNTS";
|
|
1454
|
-
readonly SELF: "SELF";
|
|
1455
|
-
};
|
|
1456
|
-
/**
|
|
1457
|
-
* @public
|
|
1458
|
-
*/
|
|
1459
|
-
export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
|
|
1460
1016
|
/**
|
|
1461
1017
|
* @public
|
|
1462
1018
|
*/
|
|
@@ -1623,36 +1179,6 @@ export interface RestoreCertificateAuthorityRequest {
|
|
|
1623
1179
|
*/
|
|
1624
1180
|
CertificateAuthorityArn: string | undefined;
|
|
1625
1181
|
}
|
|
1626
|
-
/**
|
|
1627
|
-
* <p>Your request has already been completed.</p>
|
|
1628
|
-
* @public
|
|
1629
|
-
*/
|
|
1630
|
-
export declare class RequestAlreadyProcessedException extends __BaseException {
|
|
1631
|
-
readonly name: "RequestAlreadyProcessedException";
|
|
1632
|
-
readonly $fault: "client";
|
|
1633
|
-
/**
|
|
1634
|
-
* @internal
|
|
1635
|
-
*/
|
|
1636
|
-
constructor(opts: __ExceptionOptionType<RequestAlreadyProcessedException, __BaseException>);
|
|
1637
|
-
}
|
|
1638
|
-
/**
|
|
1639
|
-
* @public
|
|
1640
|
-
* @enum
|
|
1641
|
-
*/
|
|
1642
|
-
export declare const RevocationReason: {
|
|
1643
|
-
readonly AFFILIATION_CHANGED: "AFFILIATION_CHANGED";
|
|
1644
|
-
readonly A_A_COMPROMISE: "A_A_COMPROMISE";
|
|
1645
|
-
readonly CERTIFICATE_AUTHORITY_COMPROMISE: "CERTIFICATE_AUTHORITY_COMPROMISE";
|
|
1646
|
-
readonly CESSATION_OF_OPERATION: "CESSATION_OF_OPERATION";
|
|
1647
|
-
readonly KEY_COMPROMISE: "KEY_COMPROMISE";
|
|
1648
|
-
readonly PRIVILEGE_WITHDRAWN: "PRIVILEGE_WITHDRAWN";
|
|
1649
|
-
readonly SUPERSEDED: "SUPERSEDED";
|
|
1650
|
-
readonly UNSPECIFIED: "UNSPECIFIED";
|
|
1651
|
-
};
|
|
1652
|
-
/**
|
|
1653
|
-
* @public
|
|
1654
|
-
*/
|
|
1655
|
-
export type RevocationReason = (typeof RevocationReason)[keyof typeof RevocationReason];
|
|
1656
1182
|
/**
|
|
1657
1183
|
* @public
|
|
1658
1184
|
*/
|
|
@@ -1688,18 +1214,6 @@ export interface TagCertificateAuthorityRequest {
|
|
|
1688
1214
|
*/
|
|
1689
1215
|
Tags: Tag[] | undefined;
|
|
1690
1216
|
}
|
|
1691
|
-
/**
|
|
1692
|
-
* <p>You can associate up to 50 tags with a private CA. Exception information is contained in the exception message field.</p>
|
|
1693
|
-
* @public
|
|
1694
|
-
*/
|
|
1695
|
-
export declare class TooManyTagsException extends __BaseException {
|
|
1696
|
-
readonly name: "TooManyTagsException";
|
|
1697
|
-
readonly $fault: "client";
|
|
1698
|
-
/**
|
|
1699
|
-
* @internal
|
|
1700
|
-
*/
|
|
1701
|
-
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
1702
|
-
}
|
|
1703
1217
|
/**
|
|
1704
1218
|
* @public
|
|
1705
1219
|
*/
|
|
@@ -6,5 +6,7 @@ export { ACMPCAExtensionConfiguration } from "./extensionConfiguration";
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
8
|
export * from "./waiters";
|
|
9
|
-
export * from "./models";
|
|
9
|
+
export * from "./models/enums";
|
|
10
|
+
export * from "./models/errors";
|
|
11
|
+
export * from "./models/models_0";
|
|
10
12
|
export { ACMPCAServiceException } from "./models/ACMPCAServiceException";
|