@aws-sdk/client-acm-pca 3.927.0 → 3.928.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 +902 -988
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ACMPCAClient.js +2 -0
- package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +3 -9
- package/dist-es/commands/CreateCertificateAuthorityCommand.js +3 -9
- package/dist-es/commands/CreatePermissionCommand.js +3 -9
- package/dist-es/commands/DeleteCertificateAuthorityCommand.js +3 -9
- package/dist-es/commands/DeletePermissionCommand.js +3 -9
- package/dist-es/commands/DeletePolicyCommand.js +3 -9
- package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js +3 -9
- package/dist-es/commands/DescribeCertificateAuthorityCommand.js +3 -9
- package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js +3 -9
- package/dist-es/commands/GetCertificateAuthorityCsrCommand.js +3 -9
- package/dist-es/commands/GetCertificateCommand.js +3 -9
- package/dist-es/commands/GetPolicyCommand.js +3 -9
- package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +3 -9
- package/dist-es/commands/IssueCertificateCommand.js +3 -9
- package/dist-es/commands/ListCertificateAuthoritiesCommand.js +3 -9
- package/dist-es/commands/ListPermissionsCommand.js +3 -9
- package/dist-es/commands/ListTagsCommand.js +3 -9
- package/dist-es/commands/PutPolicyCommand.js +3 -9
- package/dist-es/commands/RestoreCertificateAuthorityCommand.js +3 -9
- package/dist-es/commands/RevokeCertificateCommand.js +3 -9
- package/dist-es/commands/TagCertificateAuthorityCommand.js +3 -9
- package/dist-es/commands/UntagCertificateAuthorityCommand.js +3 -9
- package/dist-es/commands/UpdateCertificateAuthorityCommand.js +3 -9
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +792 -0
- package/dist-types/ACMPCAClient.d.ts +10 -1
- package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +2 -2
- package/dist-types/commands/IssueCertificateCommand.d.ts +1 -1
- package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +116 -0
- package/dist-types/ts3.4/ACMPCAClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +121 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -774
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -209
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -281
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateCertificateAuthority } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateCertificateAuthorityCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ACMPrivateCA", "UpdateCertificateAuthority", {})
|
|
17
13
|
.n("ACMPCAClient", "UpdateCertificateAuthorityCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateCertificateAuthorityCommand)
|
|
20
|
-
.de(de_UpdateCertificateAuthorityCommand)
|
|
14
|
+
.sc(UpdateCertificateAuthority)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -8,12 +8,18 @@ export const KeyAlgorithm = {
|
|
|
8
8
|
EC_prime256v1: "EC_prime256v1",
|
|
9
9
|
EC_secp384r1: "EC_secp384r1",
|
|
10
10
|
EC_secp521r1: "EC_secp521r1",
|
|
11
|
+
ML_DSA_44: "ML_DSA_44",
|
|
12
|
+
ML_DSA_65: "ML_DSA_65",
|
|
13
|
+
ML_DSA_87: "ML_DSA_87",
|
|
11
14
|
RSA_2048: "RSA_2048",
|
|
12
15
|
RSA_3072: "RSA_3072",
|
|
13
16
|
RSA_4096: "RSA_4096",
|
|
14
17
|
SM2: "SM2",
|
|
15
18
|
};
|
|
16
19
|
export const SigningAlgorithm = {
|
|
20
|
+
ML_DSA_44: "ML_DSA_44",
|
|
21
|
+
ML_DSA_65: "ML_DSA_65",
|
|
22
|
+
ML_DSA_87: "ML_DSA_87",
|
|
17
23
|
SHA256WITHECDSA: "SHA256WITHECDSA",
|
|
18
24
|
SHA256WITHRSA: "SHA256WITHRSA",
|
|
19
25
|
SHA384WITHECDSA: "SHA384WITHECDSA",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.acmpca",
|
|
29
|
+
serviceTarget: "ACMPrivateCA",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "ACM PCA",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|