@aws-sdk/client-acm-pca 3.499.0 → 3.500.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 +2 -2
- package/dist-es/waiters/waitForCertificateIssued.js +2 -2
- package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +3 -0
- package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +3 -0
- package/dist-types/commands/UpdateCertificateAuthorityCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +28 -2
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -2578,11 +2578,11 @@ var checkState3 = /* @__PURE__ */ __name(async (client, input) => {
|
|
|
2578
2578
|
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
2579
2579
|
}, "checkState");
|
|
2580
2580
|
var waitForCertificateIssued = /* @__PURE__ */ __name(async (params, input) => {
|
|
2581
|
-
const serviceDefaults = { minDelay:
|
|
2581
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
2582
2582
|
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);
|
|
2583
2583
|
}, "waitForCertificateIssued");
|
|
2584
2584
|
var waitUntilCertificateIssued = /* @__PURE__ */ __name(async (params, input) => {
|
|
2585
|
-
const serviceDefaults = { minDelay:
|
|
2585
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
2586
2586
|
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);
|
|
2587
2587
|
return (0, import_util_waiter.checkExceptions)(result);
|
|
2588
2588
|
}, "waitUntilCertificateIssued");
|
|
@@ -16,11 +16,11 @@ const checkState = async (client, input) => {
|
|
|
16
16
|
return { state: WaiterState.RETRY, reason };
|
|
17
17
|
};
|
|
18
18
|
export const waitForCertificateIssued = async (params, input) => {
|
|
19
|
-
const serviceDefaults = { minDelay:
|
|
19
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
20
20
|
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
21
21
|
};
|
|
22
22
|
export const waitUntilCertificateIssued = async (params, input) => {
|
|
23
|
-
const serviceDefaults = { minDelay:
|
|
23
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
24
24
|
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
25
25
|
return checkExceptions(result);
|
|
26
26
|
};
|
|
@@ -145,6 +145,9 @@ declare const CreateCertificateAuthorityCommand_base: {
|
|
|
145
145
|
* CustomCname: "STRING_VALUE",
|
|
146
146
|
* S3BucketName: "STRING_VALUE",
|
|
147
147
|
* S3ObjectAcl: "PUBLIC_READ" || "BUCKET_OWNER_FULL_CONTROL",
|
|
148
|
+
* CrlDistributionPointExtensionConfiguration: { // CrlDistributionPointExtensionConfiguration
|
|
149
|
+
* OmitExtension: true || false, // required
|
|
150
|
+
* },
|
|
148
151
|
* },
|
|
149
152
|
* OcspConfiguration: { // OcspConfiguration
|
|
150
153
|
* Enabled: true || false, // required
|
|
@@ -181,6 +181,9 @@ declare const DescribeCertificateAuthorityCommand_base: {
|
|
|
181
181
|
* // CustomCname: "STRING_VALUE",
|
|
182
182
|
* // S3BucketName: "STRING_VALUE",
|
|
183
183
|
* // S3ObjectAcl: "PUBLIC_READ" || "BUCKET_OWNER_FULL_CONTROL",
|
|
184
|
+
* // CrlDistributionPointExtensionConfiguration: { // CrlDistributionPointExtensionConfiguration
|
|
185
|
+
* // OmitExtension: true || false, // required
|
|
186
|
+
* // },
|
|
184
187
|
* // },
|
|
185
188
|
* // OcspConfiguration: { // OcspConfiguration
|
|
186
189
|
* // Enabled: true || false, // required
|
|
@@ -144,6 +144,9 @@ declare const ListCertificateAuthoritiesCommand_base: {
|
|
|
144
144
|
* // CustomCname: "STRING_VALUE",
|
|
145
145
|
* // S3BucketName: "STRING_VALUE",
|
|
146
146
|
* // S3ObjectAcl: "PUBLIC_READ" || "BUCKET_OWNER_FULL_CONTROL",
|
|
147
|
+
* // CrlDistributionPointExtensionConfiguration: { // CrlDistributionPointExtensionConfiguration
|
|
148
|
+
* // OmitExtension: true || false, // required
|
|
149
|
+
* // },
|
|
147
150
|
* // },
|
|
148
151
|
* // OcspConfiguration: { // OcspConfiguration
|
|
149
152
|
* // Enabled: true || false, // required
|
|
@@ -52,6 +52,9 @@ declare const UpdateCertificateAuthorityCommand_base: {
|
|
|
52
52
|
* CustomCname: "STRING_VALUE",
|
|
53
53
|
* S3BucketName: "STRING_VALUE",
|
|
54
54
|
* S3ObjectAcl: "PUBLIC_READ" || "BUCKET_OWNER_FULL_CONTROL",
|
|
55
|
+
* CrlDistributionPointExtensionConfiguration: { // CrlDistributionPointExtensionConfiguration
|
|
56
|
+
* OmitExtension: true || false, // required
|
|
57
|
+
* },
|
|
55
58
|
* },
|
|
56
59
|
* OcspConfiguration: { // OcspConfiguration
|
|
57
60
|
* Enabled: true || false, // required
|
|
@@ -425,6 +425,24 @@ export declare const KeyStorageSecurityStandard: {
|
|
|
425
425
|
* @public
|
|
426
426
|
*/
|
|
427
427
|
export type KeyStorageSecurityStandard = (typeof KeyStorageSecurityStandard)[keyof typeof KeyStorageSecurityStandard];
|
|
428
|
+
/**
|
|
429
|
+
* @public
|
|
430
|
+
* <p>Contains configuration information for the default behavior of the CRL Distribution Point (CDP) extension in certificates issued by your CA. This extension
|
|
431
|
+
* contains a link to download the CRL, so you can check whether a certificate has been revoked. To choose whether you want this extension
|
|
432
|
+
* omitted or not in certificates issued by your CA, you can set the <b>OmitExtension</b> parameter.</p>
|
|
433
|
+
*/
|
|
434
|
+
export interface CrlDistributionPointExtensionConfiguration {
|
|
435
|
+
/**
|
|
436
|
+
* @public
|
|
437
|
+
* <p>Configures whether the CRL Distribution Point extension should be populated with the default URL to the CRL. If set to <code>true</code>, then the CDP extension will
|
|
438
|
+
* not be present in any certificates issued by that CA unless otherwise specified through CSR or API passthrough.</p>
|
|
439
|
+
* <note>
|
|
440
|
+
* <p>Only set this if you have another way to distribute the CRL Distribution Points ffor certificates issued by your CA, such as the Matter Distributed Compliance Ledger</p>
|
|
441
|
+
* <p>This configuration cannot be enabled with a custom CNAME set.</p>
|
|
442
|
+
* </note>
|
|
443
|
+
*/
|
|
444
|
+
OmitExtension: boolean | undefined;
|
|
445
|
+
}
|
|
428
446
|
/**
|
|
429
447
|
* @public
|
|
430
448
|
* @enum
|
|
@@ -444,8 +462,10 @@ export type S3ObjectAcl = (typeof S3ObjectAcl)[keyof typeof S3ObjectAcl];
|
|
|
444
462
|
* 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
|
|
445
463
|
* writes CRLs to an S3 bucket that you specify in the <b>S3BucketName</b> parameter. You can hide the name of your bucket by
|
|
446
464
|
* specifying a value for the <b>CustomCname</b> parameter. Your
|
|
447
|
-
* private CA copies the CNAME or the S3 bucket name to the <b>CRL
|
|
448
|
-
* Distribution Points</b> extension of each certificate it issues.
|
|
465
|
+
* private CA by default copies the CNAME or the S3 bucket name to the <b>CRL
|
|
466
|
+
* Distribution Points</b> extension of each certificate it issues. If you want to configure
|
|
467
|
+
* this default behavior to be something different, you can set the <b>CrlDistributionPointExtensionConfiguration</b>
|
|
468
|
+
* parameter. Your S3
|
|
449
469
|
* bucket policy must give write permission to Amazon Web Services Private CA. </p>
|
|
450
470
|
* <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption.
|
|
451
471
|
* For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#crl-encryption">Encrypting Your
|
|
@@ -611,6 +631,11 @@ export interface CrlConfiguration {
|
|
|
611
631
|
* bucket</a>.</p>
|
|
612
632
|
*/
|
|
613
633
|
S3ObjectAcl?: S3ObjectAcl;
|
|
634
|
+
/**
|
|
635
|
+
* @public
|
|
636
|
+
* <p>Configures the behavior of the CRL Distribution Point extension for certificates issued by your certificate authority. If this field is not provided, then the CRl Distribution Point Extension will be present and contain the default CRL URL.</p>
|
|
637
|
+
*/
|
|
638
|
+
CrlDistributionPointExtensionConfiguration?: CrlDistributionPointExtensionConfiguration;
|
|
614
639
|
}
|
|
615
640
|
/**
|
|
616
641
|
* @public
|
|
@@ -1991,6 +2016,7 @@ export interface ListCertificateAuthoritiesRequest {
|
|
|
1991
2016
|
* specify, the <code>NextToken</code> element is sent in the response. Use this
|
|
1992
2017
|
* <code>NextToken</code> value in a subsequent request to retrieve additional
|
|
1993
2018
|
* items.</p>
|
|
2019
|
+
* <p>Although the maximum value is 1000, the action only returns a maximum of 100 items.</p>
|
|
1994
2020
|
*/
|
|
1995
2021
|
MaxResults?: number;
|
|
1996
2022
|
/**
|
|
@@ -104,6 +104,9 @@ export declare const KeyStorageSecurityStandard: {
|
|
|
104
104
|
};
|
|
105
105
|
export type KeyStorageSecurityStandard =
|
|
106
106
|
(typeof KeyStorageSecurityStandard)[keyof typeof KeyStorageSecurityStandard];
|
|
107
|
+
export interface CrlDistributionPointExtensionConfiguration {
|
|
108
|
+
OmitExtension: boolean | undefined;
|
|
109
|
+
}
|
|
107
110
|
export declare const S3ObjectAcl: {
|
|
108
111
|
readonly BUCKET_OWNER_FULL_CONTROL: "BUCKET_OWNER_FULL_CONTROL";
|
|
109
112
|
readonly PUBLIC_READ: "PUBLIC_READ";
|
|
@@ -115,6 +118,7 @@ export interface CrlConfiguration {
|
|
|
115
118
|
CustomCname?: string;
|
|
116
119
|
S3BucketName?: string;
|
|
117
120
|
S3ObjectAcl?: S3ObjectAcl;
|
|
121
|
+
CrlDistributionPointExtensionConfiguration?: CrlDistributionPointExtensionConfiguration;
|
|
118
122
|
}
|
|
119
123
|
export interface OcspConfiguration {
|
|
120
124
|
Enabled: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-acm-pca",
|
|
3
3
|
"description": "AWS SDK for JavaScript Acm Pca Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.500.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-pca",
|