@aws-sdk/client-acm-pca 3.758.0 → 3.767.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 +17 -15
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +1 -1
- package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
ACMPCA: () => ACMPCA,
|
|
25
25
|
ACMPCAClient: () => ACMPCAClient,
|
|
26
26
|
ACMPCAServiceException: () => ACMPCAServiceException,
|
|
@@ -95,7 +95,7 @@ __export(src_exports, {
|
|
|
95
95
|
waitUntilCertificateAuthorityCSRCreated: () => waitUntilCertificateAuthorityCSRCreated,
|
|
96
96
|
waitUntilCertificateIssued: () => waitUntilCertificateIssued
|
|
97
97
|
});
|
|
98
|
-
module.exports = __toCommonJS(
|
|
98
|
+
module.exports = __toCommonJS(index_exports);
|
|
99
99
|
|
|
100
100
|
// src/ACMPCAClient.ts
|
|
101
101
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -222,9 +222,9 @@ var ACMPCAClient = class extends import_smithy_client.Client {
|
|
|
222
222
|
this.middlewareStack.use(
|
|
223
223
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
224
224
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultACMPCAHttpAuthSchemeParametersProvider,
|
|
225
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
225
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
226
226
|
"aws.auth#sigv4": config.credentials
|
|
227
|
-
})
|
|
227
|
+
}), "identityProviderConfigProvider")
|
|
228
228
|
})
|
|
229
229
|
);
|
|
230
230
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -276,7 +276,9 @@ var AccessMethodType = {
|
|
|
276
276
|
var KeyAlgorithm = {
|
|
277
277
|
EC_prime256v1: "EC_prime256v1",
|
|
278
278
|
EC_secp384r1: "EC_secp384r1",
|
|
279
|
+
EC_secp521r1: "EC_secp521r1",
|
|
279
280
|
RSA_2048: "RSA_2048",
|
|
281
|
+
RSA_3072: "RSA_3072",
|
|
280
282
|
RSA_4096: "RSA_4096",
|
|
281
283
|
SM2: "SM2"
|
|
282
284
|
};
|
|
@@ -1394,14 +1396,14 @@ var de_CertificateAuthority = /* @__PURE__ */ __name((output, context) => {
|
|
|
1394
1396
|
return (0, import_smithy_client.take)(output, {
|
|
1395
1397
|
Arn: import_smithy_client.expectString,
|
|
1396
1398
|
CertificateAuthorityConfiguration: import_smithy_client._json,
|
|
1397
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1399
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1398
1400
|
FailureReason: import_smithy_client.expectString,
|
|
1399
1401
|
KeyStorageSecurityStandard: import_smithy_client.expectString,
|
|
1400
|
-
LastStateChangeAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1401
|
-
NotAfter: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1402
|
-
NotBefore: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1402
|
+
LastStateChangeAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastStateChangeAt"),
|
|
1403
|
+
NotAfter: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "NotAfter"),
|
|
1404
|
+
NotBefore: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "NotBefore"),
|
|
1403
1405
|
OwnerAccount: import_smithy_client.expectString,
|
|
1404
|
-
RestorableUntil: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1406
|
+
RestorableUntil: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RestorableUntil"),
|
|
1405
1407
|
RevocationConfiguration: import_smithy_client._json,
|
|
1406
1408
|
Serial: import_smithy_client.expectString,
|
|
1407
1409
|
Status: import_smithy_client.expectString,
|
|
@@ -1412,33 +1414,33 @@ var de_CertificateAuthority = /* @__PURE__ */ __name((output, context) => {
|
|
|
1412
1414
|
var de_DescribeCertificateAuthorityAuditReportResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1413
1415
|
return (0, import_smithy_client.take)(output, {
|
|
1414
1416
|
AuditReportStatus: import_smithy_client.expectString,
|
|
1415
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1417
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1416
1418
|
S3BucketName: import_smithy_client.expectString,
|
|
1417
1419
|
S3Key: import_smithy_client.expectString
|
|
1418
1420
|
});
|
|
1419
1421
|
}, "de_DescribeCertificateAuthorityAuditReportResponse");
|
|
1420
1422
|
var de_DescribeCertificateAuthorityResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1421
1423
|
return (0, import_smithy_client.take)(output, {
|
|
1422
|
-
CertificateAuthority: (_) => de_CertificateAuthority(_, context)
|
|
1424
|
+
CertificateAuthority: /* @__PURE__ */ __name((_) => de_CertificateAuthority(_, context), "CertificateAuthority")
|
|
1423
1425
|
});
|
|
1424
1426
|
}, "de_DescribeCertificateAuthorityResponse");
|
|
1425
1427
|
var de_ListCertificateAuthoritiesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1426
1428
|
return (0, import_smithy_client.take)(output, {
|
|
1427
|
-
CertificateAuthorities: (_) => de_CertificateAuthorities(_, context),
|
|
1429
|
+
CertificateAuthorities: /* @__PURE__ */ __name((_) => de_CertificateAuthorities(_, context), "CertificateAuthorities"),
|
|
1428
1430
|
NextToken: import_smithy_client.expectString
|
|
1429
1431
|
});
|
|
1430
1432
|
}, "de_ListCertificateAuthoritiesResponse");
|
|
1431
1433
|
var de_ListPermissionsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1432
1434
|
return (0, import_smithy_client.take)(output, {
|
|
1433
1435
|
NextToken: import_smithy_client.expectString,
|
|
1434
|
-
Permissions: (_) => de_PermissionList(_, context)
|
|
1436
|
+
Permissions: /* @__PURE__ */ __name((_) => de_PermissionList(_, context), "Permissions")
|
|
1435
1437
|
});
|
|
1436
1438
|
}, "de_ListPermissionsResponse");
|
|
1437
1439
|
var de_Permission = /* @__PURE__ */ __name((output, context) => {
|
|
1438
1440
|
return (0, import_smithy_client.take)(output, {
|
|
1439
1441
|
Actions: import_smithy_client._json,
|
|
1440
1442
|
CertificateAuthorityArn: import_smithy_client.expectString,
|
|
1441
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1443
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1442
1444
|
Policy: import_smithy_client.expectString,
|
|
1443
1445
|
Principal: import_smithy_client.expectString,
|
|
1444
1446
|
SourceAccount: import_smithy_client.expectString
|
|
@@ -56,7 +56,7 @@ declare const CreateCertificateAuthorityCommand_base: {
|
|
|
56
56
|
* const client = new ACMPCAClient(config);
|
|
57
57
|
* const input = { // CreateCertificateAuthorityRequest
|
|
58
58
|
* CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
|
|
59
|
-
* KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "SM2", // required
|
|
59
|
+
* KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "SM2", // required
|
|
60
60
|
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
|
|
61
61
|
* Subject: { // ASN1Subject
|
|
62
62
|
* Country: "STRING_VALUE",
|
|
@@ -92,7 +92,7 @@ declare const DescribeCertificateAuthorityCommand_base: {
|
|
|
92
92
|
* // NotAfter: new Date("TIMESTAMP"),
|
|
93
93
|
* // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER",
|
|
94
94
|
* // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
|
|
95
|
-
* // KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "SM2", // required
|
|
95
|
+
* // KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "SM2", // required
|
|
96
96
|
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
|
|
97
97
|
* // Subject: { // ASN1Subject
|
|
98
98
|
* // Country: "STRING_VALUE",
|
|
@@ -56,7 +56,7 @@ declare const ListCertificateAuthoritiesCommand_base: {
|
|
|
56
56
|
* // NotAfter: new Date("TIMESTAMP"),
|
|
57
57
|
* // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER",
|
|
58
58
|
* // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
|
|
59
|
-
* // KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "SM2", // required
|
|
59
|
+
* // KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "SM2", // required
|
|
60
60
|
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
|
|
61
61
|
* // Subject: { // ASN1Subject
|
|
62
62
|
* // Country: "STRING_VALUE",
|
|
@@ -69,6 +69,9 @@ declare const ListTagsCommand_base: {
|
|
|
69
69
|
* @throws {@link InvalidStateException} (client fault)
|
|
70
70
|
* <p>The state of the private CA does not allow this action to occur.</p>
|
|
71
71
|
*
|
|
72
|
+
* @throws {@link RequestFailedException} (client fault)
|
|
73
|
+
* <p>The request has failed for an unspecified reason.</p>
|
|
74
|
+
*
|
|
72
75
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
76
|
* <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
|
|
74
77
|
* cannot be found.</p>
|
|
@@ -342,7 +342,9 @@ export interface CsrExtensions {
|
|
|
342
342
|
export declare const KeyAlgorithm: {
|
|
343
343
|
readonly EC_prime256v1: "EC_prime256v1";
|
|
344
344
|
readonly EC_secp384r1: "EC_secp384r1";
|
|
345
|
+
readonly EC_secp521r1: "EC_secp521r1";
|
|
345
346
|
readonly RSA_2048: "RSA_2048";
|
|
347
|
+
readonly RSA_3072: "RSA_3072";
|
|
346
348
|
readonly RSA_4096: "RSA_4096";
|
|
347
349
|
readonly SM2: "SM2";
|
|
348
350
|
};
|
|
@@ -72,7 +72,9 @@ export interface CsrExtensions {
|
|
|
72
72
|
export declare const KeyAlgorithm: {
|
|
73
73
|
readonly EC_prime256v1: "EC_prime256v1";
|
|
74
74
|
readonly EC_secp384r1: "EC_secp384r1";
|
|
75
|
+
readonly EC_secp521r1: "EC_secp521r1";
|
|
75
76
|
readonly RSA_2048: "RSA_2048";
|
|
77
|
+
readonly RSA_3072: "RSA_3072";
|
|
76
78
|
readonly RSA_4096: "RSA_4096";
|
|
77
79
|
readonly SM2: "SM2";
|
|
78
80
|
};
|
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.767.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",
|