@aws-sdk/client-acm-pca 3.478.0 → 3.481.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 (97) hide show
  1. package/dist-cjs/commands/CreateCertificateAuthorityAuditReportCommand.js +18 -41
  2. package/dist-cjs/commands/CreateCertificateAuthorityCommand.js +18 -41
  3. package/dist-cjs/commands/CreatePermissionCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteCertificateAuthorityCommand.js +18 -41
  5. package/dist-cjs/commands/DeletePermissionCommand.js +18 -41
  6. package/dist-cjs/commands/DeletePolicyCommand.js +18 -41
  7. package/dist-cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeCertificateAuthorityCommand.js +18 -41
  9. package/dist-cjs/commands/GetCertificateAuthorityCertificateCommand.js +18 -41
  10. package/dist-cjs/commands/GetCertificateAuthorityCsrCommand.js +18 -41
  11. package/dist-cjs/commands/GetCertificateCommand.js +18 -41
  12. package/dist-cjs/commands/GetPolicyCommand.js +18 -41
  13. package/dist-cjs/commands/ImportCertificateAuthorityCertificateCommand.js +18 -41
  14. package/dist-cjs/commands/IssueCertificateCommand.js +18 -41
  15. package/dist-cjs/commands/ListCertificateAuthoritiesCommand.js +18 -41
  16. package/dist-cjs/commands/ListPermissionsCommand.js +18 -41
  17. package/dist-cjs/commands/ListTagsCommand.js +18 -41
  18. package/dist-cjs/commands/PutPolicyCommand.js +18 -41
  19. package/dist-cjs/commands/RestoreCertificateAuthorityCommand.js +18 -41
  20. package/dist-cjs/commands/RevokeCertificateCommand.js +18 -41
  21. package/dist-cjs/commands/TagCertificateAuthorityCommand.js +18 -41
  22. package/dist-cjs/commands/UntagCertificateAuthorityCommand.js +18 -41
  23. package/dist-cjs/commands/UpdateCertificateAuthorityCommand.js +18 -41
  24. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  25. package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +18 -41
  26. package/dist-es/commands/CreateCertificateAuthorityCommand.js +18 -41
  27. package/dist-es/commands/CreatePermissionCommand.js +18 -41
  28. package/dist-es/commands/DeleteCertificateAuthorityCommand.js +18 -41
  29. package/dist-es/commands/DeletePermissionCommand.js +18 -41
  30. package/dist-es/commands/DeletePolicyCommand.js +18 -41
  31. package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js +18 -41
  32. package/dist-es/commands/DescribeCertificateAuthorityCommand.js +18 -41
  33. package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js +18 -41
  34. package/dist-es/commands/GetCertificateAuthorityCsrCommand.js +18 -41
  35. package/dist-es/commands/GetCertificateCommand.js +18 -41
  36. package/dist-es/commands/GetPolicyCommand.js +18 -41
  37. package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +18 -41
  38. package/dist-es/commands/IssueCertificateCommand.js +18 -41
  39. package/dist-es/commands/ListCertificateAuthoritiesCommand.js +18 -41
  40. package/dist-es/commands/ListPermissionsCommand.js +18 -41
  41. package/dist-es/commands/ListTagsCommand.js +18 -41
  42. package/dist-es/commands/PutPolicyCommand.js +18 -41
  43. package/dist-es/commands/RestoreCertificateAuthorityCommand.js +18 -41
  44. package/dist-es/commands/RevokeCertificateCommand.js +18 -41
  45. package/dist-es/commands/TagCertificateAuthorityCommand.js +18 -41
  46. package/dist-es/commands/UntagCertificateAuthorityCommand.js +18 -41
  47. package/dist-es/commands/UpdateCertificateAuthorityCommand.js +18 -41
  48. package/dist-es/endpoint/EndpointParameters.js +6 -0
  49. package/dist-types/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +6 -21
  50. package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +6 -21
  51. package/dist-types/commands/CreatePermissionCommand.d.ts +6 -21
  52. package/dist-types/commands/DeleteCertificateAuthorityCommand.d.ts +6 -21
  53. package/dist-types/commands/DeletePermissionCommand.d.ts +6 -21
  54. package/dist-types/commands/DeletePolicyCommand.d.ts +6 -21
  55. package/dist-types/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +6 -21
  56. package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +6 -21
  57. package/dist-types/commands/GetCertificateAuthorityCertificateCommand.d.ts +6 -21
  58. package/dist-types/commands/GetCertificateAuthorityCsrCommand.d.ts +6 -21
  59. package/dist-types/commands/GetCertificateCommand.d.ts +6 -21
  60. package/dist-types/commands/GetPolicyCommand.d.ts +6 -21
  61. package/dist-types/commands/ImportCertificateAuthorityCertificateCommand.d.ts +6 -21
  62. package/dist-types/commands/IssueCertificateCommand.d.ts +6 -21
  63. package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +6 -21
  64. package/dist-types/commands/ListPermissionsCommand.d.ts +6 -21
  65. package/dist-types/commands/ListTagsCommand.d.ts +6 -21
  66. package/dist-types/commands/PutPolicyCommand.d.ts +6 -21
  67. package/dist-types/commands/RestoreCertificateAuthorityCommand.d.ts +6 -21
  68. package/dist-types/commands/RevokeCertificateCommand.d.ts +6 -21
  69. package/dist-types/commands/TagCertificateAuthorityCommand.d.ts +6 -21
  70. package/dist-types/commands/UntagCertificateAuthorityCommand.d.ts +6 -21
  71. package/dist-types/commands/UpdateCertificateAuthorityCommand.d.ts +6 -21
  72. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  73. package/dist-types/ts3.4/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +12 -24
  74. package/dist-types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +12 -24
  75. package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +12 -24
  77. package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +12 -24
  80. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +12 -24
  81. package/dist-types/ts3.4/commands/GetCertificateAuthorityCertificateCommand.d.ts +12 -24
  82. package/dist-types/ts3.4/commands/GetCertificateAuthorityCsrCommand.d.ts +12 -24
  83. package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/ImportCertificateAuthorityCertificateCommand.d.ts +12 -24
  86. package/dist-types/ts3.4/commands/IssueCertificateCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +12 -24
  88. package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +14 -23
  91. package/dist-types/ts3.4/commands/RestoreCertificateAuthorityCommand.d.ts +12 -24
  92. package/dist-types/ts3.4/commands/RevokeCertificateCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/TagCertificateAuthorityCommand.d.ts +12 -24
  94. package/dist-types/ts3.4/commands/UntagCertificateAuthorityCommand.d.ts +12 -24
  95. package/dist-types/ts3.4/commands/UpdateCertificateAuthorityCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  97. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeletePermissionCommand, se_DeletePermissionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DeletePermissionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeletePermissionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "DeletePermissionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "DeletePermission",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeletePermissionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeletePermissionCommand(output, context);
46
- }
7
+ export class DeletePermissionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ACMPrivateCA", "DeletePermission", {})
19
+ .n("ACMPCAClient", "DeletePermissionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeletePermissionCommand)
22
+ .de(de_DeletePermissionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeletePolicyCommand, se_DeletePolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DeletePolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeletePolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "DeletePolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "DeletePolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeletePolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeletePolicyCommand(output, context);
46
- }
7
+ export class DeletePolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ACMPrivateCA", "DeletePolicy", {})
19
+ .n("ACMPCAClient", "DeletePolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeletePolicyCommand)
22
+ .de(de_DeletePolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeCertificateAuthorityAuditReportCommand, se_DescribeCertificateAuthorityAuditReportCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeCertificateAuthorityAuditReportCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCertificateAuthorityAuditReportCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "DescribeCertificateAuthorityAuditReportCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "DescribeCertificateAuthorityAuditReport",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeCertificateAuthorityAuditReportCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeCertificateAuthorityAuditReportCommand(output, context);
46
- }
7
+ export class DescribeCertificateAuthorityAuditReportCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ACMPrivateCA", "DescribeCertificateAuthorityAuditReport", {})
19
+ .n("ACMPCAClient", "DescribeCertificateAuthorityAuditReportCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeCertificateAuthorityAuditReportCommand)
22
+ .de(de_DescribeCertificateAuthorityAuditReportCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeCertificateAuthorityCommand, se_DescribeCertificateAuthorityCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeCertificateAuthorityCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCertificateAuthorityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "DescribeCertificateAuthorityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "DescribeCertificateAuthority",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeCertificateAuthorityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeCertificateAuthorityCommand(output, context);
46
- }
7
+ export class DescribeCertificateAuthorityCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ACMPrivateCA", "DescribeCertificateAuthority", {})
19
+ .n("ACMPCAClient", "DescribeCertificateAuthorityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeCertificateAuthorityCommand)
22
+ .de(de_DescribeCertificateAuthorityCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetCertificateAuthorityCertificateCommand, se_GetCertificateAuthorityCertificateCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetCertificateAuthorityCertificateCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetCertificateAuthorityCertificateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "GetCertificateAuthorityCertificateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "GetCertificateAuthorityCertificate",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetCertificateAuthorityCertificateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetCertificateAuthorityCertificateCommand(output, context);
46
- }
7
+ export class GetCertificateAuthorityCertificateCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ACMPrivateCA", "GetCertificateAuthorityCertificate", {})
19
+ .n("ACMPCAClient", "GetCertificateAuthorityCertificateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetCertificateAuthorityCertificateCommand)
22
+ .de(de_GetCertificateAuthorityCertificateCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetCertificateAuthorityCsrCommand, se_GetCertificateAuthorityCsrCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetCertificateAuthorityCsrCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetCertificateAuthorityCsrCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "GetCertificateAuthorityCsrCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "GetCertificateAuthorityCsr",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetCertificateAuthorityCsrCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetCertificateAuthorityCsrCommand(output, context);
46
- }
7
+ export class GetCertificateAuthorityCsrCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ACMPrivateCA", "GetCertificateAuthorityCsr", {})
19
+ .n("ACMPCAClient", "GetCertificateAuthorityCsrCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetCertificateAuthorityCsrCommand)
22
+ .de(de_GetCertificateAuthorityCsrCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetCertificateCommand, se_GetCertificateCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetCertificateCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetCertificateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "GetCertificateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "GetCertificate",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetCertificateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetCertificateCommand(output, context);
46
- }
7
+ export class GetCertificateCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ACMPrivateCA", "GetCertificate", {})
19
+ .n("ACMPCAClient", "GetCertificateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetCertificateCommand)
22
+ .de(de_GetCertificateCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetPolicyCommand, se_GetPolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetPolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "GetPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "GetPolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetPolicyCommand(output, context);
46
- }
7
+ export class GetPolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ACMPrivateCA", "GetPolicy", {})
19
+ .n("ACMPCAClient", "GetPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetPolicyCommand)
22
+ .de(de_GetPolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ImportCertificateAuthorityCertificateCommand, se_ImportCertificateAuthorityCertificateCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ImportCertificateAuthorityCertificateCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ImportCertificateAuthorityCertificateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "ImportCertificateAuthorityCertificateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "ImportCertificateAuthorityCertificate",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ImportCertificateAuthorityCertificateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ImportCertificateAuthorityCertificateCommand(output, context);
46
- }
7
+ export class ImportCertificateAuthorityCertificateCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ACMPrivateCA", "ImportCertificateAuthorityCertificate", {})
19
+ .n("ACMPCAClient", "ImportCertificateAuthorityCertificateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ImportCertificateAuthorityCertificateCommand)
22
+ .de(de_ImportCertificateAuthorityCertificateCommand)
23
+ .build() {
47
24
  }