@aws-sdk/client-acm-pca 3.927.0 → 3.929.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.
Files changed (51) hide show
  1. package/dist-cjs/index.js +902 -988
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ACMPCAClient.js +2 -0
  4. package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +3 -9
  5. package/dist-es/commands/CreateCertificateAuthorityCommand.js +3 -9
  6. package/dist-es/commands/CreatePermissionCommand.js +3 -9
  7. package/dist-es/commands/DeleteCertificateAuthorityCommand.js +3 -9
  8. package/dist-es/commands/DeletePermissionCommand.js +3 -9
  9. package/dist-es/commands/DeletePolicyCommand.js +3 -9
  10. package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js +3 -9
  11. package/dist-es/commands/DescribeCertificateAuthorityCommand.js +3 -9
  12. package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js +3 -9
  13. package/dist-es/commands/GetCertificateAuthorityCsrCommand.js +3 -9
  14. package/dist-es/commands/GetCertificateCommand.js +3 -9
  15. package/dist-es/commands/GetPolicyCommand.js +3 -9
  16. package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +3 -9
  17. package/dist-es/commands/IssueCertificateCommand.js +3 -9
  18. package/dist-es/commands/ListCertificateAuthoritiesCommand.js +3 -9
  19. package/dist-es/commands/ListPermissionsCommand.js +3 -9
  20. package/dist-es/commands/ListTagsCommand.js +3 -9
  21. package/dist-es/commands/PutPolicyCommand.js +3 -9
  22. package/dist-es/commands/RestoreCertificateAuthorityCommand.js +3 -9
  23. package/dist-es/commands/RevokeCertificateCommand.js +3 -9
  24. package/dist-es/commands/TagCertificateAuthorityCommand.js +3 -9
  25. package/dist-es/commands/UntagCertificateAuthorityCommand.js +3 -9
  26. package/dist-es/commands/UpdateCertificateAuthorityCommand.js +3 -9
  27. package/dist-es/models/models_0.js +6 -0
  28. package/dist-es/runtimeConfig.shared.js +7 -0
  29. package/dist-es/schemas/schemas_0.js +792 -0
  30. package/dist-types/ACMPCAClient.d.ts +10 -1
  31. package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +2 -2
  32. package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +2 -2
  33. package/dist-types/commands/IssueCertificateCommand.d.ts +1 -1
  34. package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +2 -2
  35. package/dist-types/models/models_0.d.ts +6 -0
  36. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  37. package/dist-types/runtimeConfig.d.ts +1 -0
  38. package/dist-types/runtimeConfig.native.d.ts +1 -0
  39. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  40. package/dist-types/schemas/schemas_0.d.ts +116 -0
  41. package/dist-types/ts3.4/ACMPCAClient.d.ts +4 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +6 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  47. package/dist-types/ts3.4/schemas/schemas_0.d.ts +121 -0
  48. package/package.json +5 -5
  49. package/dist-es/protocols/Aws_json1_1.js +0 -774
  50. package/dist-types/protocols/Aws_json1_1.d.ts +0 -209
  51. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -281
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.acmpca",
32
+ serviceTarget: "ACMPrivateCA",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "ACM PCA",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class ACMPCAClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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 { de_CreateCertificateAuthorityAuditReportCommand, se_CreateCertificateAuthorityAuditReportCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateCertificateAuthorityAuditReport } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCertificateAuthorityAuditReportCommand 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", "CreateCertificateAuthorityAuditReport", {})
17
13
  .n("ACMPCAClient", "CreateCertificateAuthorityAuditReportCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCertificateAuthorityAuditReportCommand)
20
- .de(de_CreateCertificateAuthorityAuditReportCommand)
14
+ .sc(CreateCertificateAuthorityAuditReport)
21
15
  .build() {
22
16
  }
@@ -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 { de_CreateCertificateAuthorityCommand, se_CreateCertificateAuthorityCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateCertificateAuthority } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCertificateAuthorityCommand 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", "CreateCertificateAuthority", {})
17
13
  .n("ACMPCAClient", "CreateCertificateAuthorityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCertificateAuthorityCommand)
20
- .de(de_CreateCertificateAuthorityCommand)
14
+ .sc(CreateCertificateAuthority)
21
15
  .build() {
22
16
  }
@@ -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 { de_CreatePermissionCommand, se_CreatePermissionCommand } from "../protocols/Aws_json1_1";
4
+ import { CreatePermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePermissionCommand 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", "CreatePermission", {})
17
13
  .n("ACMPCAClient", "CreatePermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePermissionCommand)
20
- .de(de_CreatePermissionCommand)
14
+ .sc(CreatePermission)
21
15
  .build() {
22
16
  }
@@ -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 { de_DeleteCertificateAuthorityCommand, se_DeleteCertificateAuthorityCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteCertificateAuthority } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCertificateAuthorityCommand 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", "DeleteCertificateAuthority", {})
17
13
  .n("ACMPCAClient", "DeleteCertificateAuthorityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCertificateAuthorityCommand)
20
- .de(de_DeleteCertificateAuthorityCommand)
14
+ .sc(DeleteCertificateAuthority)
21
15
  .build() {
22
16
  }
@@ -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 { de_DeletePermissionCommand, se_DeletePermissionCommand } from "../protocols/Aws_json1_1";
4
+ import { DeletePermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePermissionCommand 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", "DeletePermission", {})
17
13
  .n("ACMPCAClient", "DeletePermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePermissionCommand)
20
- .de(de_DeletePermissionCommand)
14
+ .sc(DeletePermission)
21
15
  .build() {
22
16
  }
@@ -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 { de_DeletePolicyCommand, se_DeletePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DeletePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePolicyCommand 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", "DeletePolicy", {})
17
13
  .n("ACMPCAClient", "DeletePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePolicyCommand)
20
- .de(de_DeletePolicyCommand)
14
+ .sc(DeletePolicy)
21
15
  .build() {
22
16
  }
@@ -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 { de_DescribeCertificateAuthorityAuditReportCommand, se_DescribeCertificateAuthorityAuditReportCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeCertificateAuthorityAuditReport } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeCertificateAuthorityAuditReportCommand 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", "DescribeCertificateAuthorityAuditReport", {})
17
13
  .n("ACMPCAClient", "DescribeCertificateAuthorityAuditReportCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeCertificateAuthorityAuditReportCommand)
20
- .de(de_DescribeCertificateAuthorityAuditReportCommand)
14
+ .sc(DescribeCertificateAuthorityAuditReport)
21
15
  .build() {
22
16
  }
@@ -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 { de_DescribeCertificateAuthorityCommand, se_DescribeCertificateAuthorityCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeCertificateAuthority } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeCertificateAuthorityCommand 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", "DescribeCertificateAuthority", {})
17
13
  .n("ACMPCAClient", "DescribeCertificateAuthorityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeCertificateAuthorityCommand)
20
- .de(de_DescribeCertificateAuthorityCommand)
14
+ .sc(DescribeCertificateAuthority)
21
15
  .build() {
22
16
  }
@@ -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 { de_GetCertificateAuthorityCertificateCommand, se_GetCertificateAuthorityCertificateCommand, } from "../protocols/Aws_json1_1";
4
+ import { GetCertificateAuthorityCertificate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCertificateAuthorityCertificateCommand 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", "GetCertificateAuthorityCertificate", {})
17
13
  .n("ACMPCAClient", "GetCertificateAuthorityCertificateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCertificateAuthorityCertificateCommand)
20
- .de(de_GetCertificateAuthorityCertificateCommand)
14
+ .sc(GetCertificateAuthorityCertificate)
21
15
  .build() {
22
16
  }
@@ -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 { de_GetCertificateAuthorityCsrCommand, se_GetCertificateAuthorityCsrCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCertificateAuthorityCsr } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCertificateAuthorityCsrCommand 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", "GetCertificateAuthorityCsr", {})
17
13
  .n("ACMPCAClient", "GetCertificateAuthorityCsrCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCertificateAuthorityCsrCommand)
20
- .de(de_GetCertificateAuthorityCsrCommand)
14
+ .sc(GetCertificateAuthorityCsr)
21
15
  .build() {
22
16
  }
@@ -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 { de_GetCertificateCommand, se_GetCertificateCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCertificate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCertificateCommand 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", "GetCertificate", {})
17
13
  .n("ACMPCAClient", "GetCertificateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCertificateCommand)
20
- .de(de_GetCertificateCommand)
14
+ .sc(GetCertificate)
21
15
  .build() {
22
16
  }
@@ -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 { de_GetPolicyCommand, se_GetPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { GetPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPolicyCommand 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", "GetPolicy", {})
17
13
  .n("ACMPCAClient", "GetPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPolicyCommand)
20
- .de(de_GetPolicyCommand)
14
+ .sc(GetPolicy)
21
15
  .build() {
22
16
  }
@@ -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 { de_ImportCertificateAuthorityCertificateCommand, se_ImportCertificateAuthorityCertificateCommand, } from "../protocols/Aws_json1_1";
4
+ import { ImportCertificateAuthorityCertificate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ImportCertificateAuthorityCertificateCommand 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", "ImportCertificateAuthorityCertificate", {})
17
13
  .n("ACMPCAClient", "ImportCertificateAuthorityCertificateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ImportCertificateAuthorityCertificateCommand)
20
- .de(de_ImportCertificateAuthorityCertificateCommand)
14
+ .sc(ImportCertificateAuthorityCertificate)
21
15
  .build() {
22
16
  }
@@ -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 { de_IssueCertificateCommand, se_IssueCertificateCommand } from "../protocols/Aws_json1_1";
4
+ import { IssueCertificate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class IssueCertificateCommand 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", "IssueCertificate", {})
17
13
  .n("ACMPCAClient", "IssueCertificateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_IssueCertificateCommand)
20
- .de(de_IssueCertificateCommand)
14
+ .sc(IssueCertificate)
21
15
  .build() {
22
16
  }
@@ -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 { de_ListCertificateAuthoritiesCommand, se_ListCertificateAuthoritiesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListCertificateAuthorities } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListCertificateAuthoritiesCommand 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", "ListCertificateAuthorities", {})
17
13
  .n("ACMPCAClient", "ListCertificateAuthoritiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListCertificateAuthoritiesCommand)
20
- .de(de_ListCertificateAuthoritiesCommand)
14
+ .sc(ListCertificateAuthorities)
21
15
  .build() {
22
16
  }
@@ -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 { de_ListPermissionsCommand, se_ListPermissionsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListPermissions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPermissionsCommand 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", "ListPermissions", {})
17
13
  .n("ACMPCAClient", "ListPermissionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPermissionsCommand)
20
- .de(de_ListPermissionsCommand)
14
+ .sc(ListPermissions)
21
15
  .build() {
22
16
  }
@@ -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 { de_ListTagsCommand, se_ListTagsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsCommand 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", "ListTags", {})
17
13
  .n("ACMPCAClient", "ListTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsCommand)
20
- .de(de_ListTagsCommand)
14
+ .sc(ListTags)
21
15
  .build() {
22
16
  }
@@ -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 { de_PutPolicyCommand, se_PutPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { PutPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutPolicyCommand 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", "PutPolicy", {})
17
13
  .n("ACMPCAClient", "PutPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutPolicyCommand)
20
- .de(de_PutPolicyCommand)
14
+ .sc(PutPolicy)
21
15
  .build() {
22
16
  }
@@ -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 { de_RestoreCertificateAuthorityCommand, se_RestoreCertificateAuthorityCommand } from "../protocols/Aws_json1_1";
4
+ import { RestoreCertificateAuthority } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RestoreCertificateAuthorityCommand 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", "RestoreCertificateAuthority", {})
17
13
  .n("ACMPCAClient", "RestoreCertificateAuthorityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RestoreCertificateAuthorityCommand)
20
- .de(de_RestoreCertificateAuthorityCommand)
14
+ .sc(RestoreCertificateAuthority)
21
15
  .build() {
22
16
  }
@@ -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 { de_RevokeCertificateCommand, se_RevokeCertificateCommand } from "../protocols/Aws_json1_1";
4
+ import { RevokeCertificate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RevokeCertificateCommand 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", "RevokeCertificate", {})
17
13
  .n("ACMPCAClient", "RevokeCertificateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RevokeCertificateCommand)
20
- .de(de_RevokeCertificateCommand)
14
+ .sc(RevokeCertificate)
21
15
  .build() {
22
16
  }
@@ -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 { de_TagCertificateAuthorityCommand, se_TagCertificateAuthorityCommand } from "../protocols/Aws_json1_1";
4
+ import { TagCertificateAuthority } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagCertificateAuthorityCommand 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", "TagCertificateAuthority", {})
17
13
  .n("ACMPCAClient", "TagCertificateAuthorityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagCertificateAuthorityCommand)
20
- .de(de_TagCertificateAuthorityCommand)
14
+ .sc(TagCertificateAuthority)
21
15
  .build() {
22
16
  }
@@ -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 { de_UntagCertificateAuthorityCommand, se_UntagCertificateAuthorityCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagCertificateAuthority } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagCertificateAuthorityCommand 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", "UntagCertificateAuthority", {})
17
13
  .n("ACMPCAClient", "UntagCertificateAuthorityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagCertificateAuthorityCommand)
20
- .de(de_UntagCertificateAuthorityCommand)
14
+ .sc(UntagCertificateAuthority)
21
15
  .build() {
22
16
  }