@aws-sdk/client-acm-pca 3.348.0 → 3.350.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://acm-pca.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://acm-pca.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://acm-pca.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://acm-pca.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -13,7 +13,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
13
13
|
defaultSigningName: string;
|
|
14
14
|
};
|
|
15
15
|
export interface EndpointParameters extends __EndpointParameters {
|
|
16
|
-
Region
|
|
16
|
+
Region?: string;
|
|
17
17
|
UseDualStack?: boolean;
|
|
18
18
|
UseFIPS?: boolean;
|
|
19
19
|
Endpoint?: string;
|
|
@@ -699,23 +699,15 @@ export interface CreateCertificateAuthorityRequest {
|
|
|
699
699
|
* <p>Specifies a cryptographic key management compliance standard used for handling CA
|
|
700
700
|
* keys.</p>
|
|
701
701
|
* <p>Default: FIPS_140_2_LEVEL_3_OR_HIGHER</p>
|
|
702
|
-
* <
|
|
703
|
-
* <
|
|
704
|
-
*
|
|
705
|
-
*
|
|
706
|
-
*
|
|
707
|
-
*
|
|
708
|
-
*
|
|
709
|
-
*
|
|
710
|
-
*
|
|
711
|
-
* <p>ap-southeast-3</p>
|
|
712
|
-
* </li>
|
|
713
|
-
* </ul>
|
|
714
|
-
* <p>When creating a CA in these Regions, you must provide
|
|
715
|
-
* <code>FIPS_140_2_LEVEL_2_OR_HIGHER</code> as the argument for
|
|
716
|
-
* <code>KeyStorageSecurityStandard</code>. Failure to do this results in an
|
|
717
|
-
* <code>InvalidArgsException</code> with the message, "A certificate authority cannot
|
|
718
|
-
* be created in this region with the specified security standard."</p>
|
|
702
|
+
* <note>
|
|
703
|
+
* <p>Some Amazon Web Services Regions do not support the default. When creating a CA in these Regions, you
|
|
704
|
+
* must provide <code>FIPS_140_2_LEVEL_2_OR_HIGHER</code> as the argument for
|
|
705
|
+
* <code>KeyStorageSecurityStandard</code>. Failure to do this results in an
|
|
706
|
+
* <code>InvalidArgsException</code> with the message, "A certificate authority
|
|
707
|
+
* cannot be created in this region with the specified security standard."</p>
|
|
708
|
+
* <p>For information about security standard support in various Regions, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/data-protection.html#private-keys">Storage
|
|
709
|
+
* and security compliance of Amazon Web Services Private CA private keys</a>.</p>
|
|
710
|
+
* </note>
|
|
719
711
|
*/
|
|
720
712
|
KeyStorageSecurityStandard?: KeyStorageSecurityStandard | string;
|
|
721
713
|
/**
|
|
@@ -1723,8 +1715,8 @@ export interface IssueCertificateRequest {
|
|
|
1723
1715
|
* <p>This parameter should not be confused with the <code>SigningAlgorithm</code> parameter
|
|
1724
1716
|
* used to sign a CSR in the <code>CreateCertificateAuthority</code> action.</p>
|
|
1725
1717
|
* <note>
|
|
1726
|
-
* <p>The specified signing algorithm family (RSA or ECDSA)
|
|
1727
|
-
*
|
|
1718
|
+
* <p>The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of
|
|
1719
|
+
* the CA's secret key.</p>
|
|
1728
1720
|
* </note>
|
|
1729
1721
|
*/
|
|
1730
1722
|
SigningAlgorithm: SigningAlgorithm | string | undefined;
|
|
@@ -1769,7 +1761,8 @@ export interface IssueCertificateRequest {
|
|
|
1769
1761
|
* parameter is optional.</p>
|
|
1770
1762
|
* <p>The <code>ValidityNotBefore</code> value is expressed as an explicit date and time,
|
|
1771
1763
|
* using the <code>Validity</code> type value <code>ABSOLUTE</code>. For more information,
|
|
1772
|
-
* see <a href="https://docs.aws.amazon.com/
|
|
1764
|
+
* see <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_Validity.html">Validity</a> in
|
|
1765
|
+
* this API reference and <a href="https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.5">Validity</a>
|
|
1773
1766
|
* in RFC 5280.</p>
|
|
1774
1767
|
*/
|
|
1775
1768
|
ValidityNotBefore?: Validity;
|
|
@@ -25,7 +25,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
25
25
|
defaultSigningName: string;
|
|
26
26
|
};
|
|
27
27
|
export interface EndpointParameters extends __EndpointParameters {
|
|
28
|
-
Region
|
|
28
|
+
Region?: string;
|
|
29
29
|
UseDualStack?: boolean;
|
|
30
30
|
UseFIPS?: boolean;
|
|
31
31
|
Endpoint?: string;
|
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.350.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.350.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.347.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.350.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.347.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.347.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.347.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.347.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.347.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.347.0",
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.350.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.347.0",
|
|
43
43
|
"@aws-sdk/types": "3.347.0",
|
|
44
44
|
"@aws-sdk/url-parser": "3.347.0",
|