@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_IssueCertificateCommand, se_IssueCertificateCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class IssueCertificateCommand 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, IssueCertificateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "IssueCertificateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "IssueCertificate",
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_IssueCertificateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_IssueCertificateCommand(output, context);
46
- }
7
+ export class IssueCertificateCommand 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", "IssueCertificate", {})
19
+ .n("ACMPCAClient", "IssueCertificateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_IssueCertificateCommand)
22
+ .de(de_IssueCertificateCommand)
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_ListCertificateAuthoritiesCommand, se_ListCertificateAuthoritiesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListCertificateAuthoritiesCommand 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, ListCertificateAuthoritiesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "ListCertificateAuthoritiesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "ListCertificateAuthorities",
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_ListCertificateAuthoritiesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListCertificateAuthoritiesCommand(output, context);
46
- }
7
+ export class ListCertificateAuthoritiesCommand 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", "ListCertificateAuthorities", {})
19
+ .n("ACMPCAClient", "ListCertificateAuthoritiesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListCertificateAuthoritiesCommand)
22
+ .de(de_ListCertificateAuthoritiesCommand)
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_ListPermissionsCommand, se_ListPermissionsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListPermissionsCommand 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, ListPermissionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "ListPermissionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "ListPermissions",
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_ListPermissionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListPermissionsCommand(output, context);
46
- }
7
+ export class ListPermissionsCommand 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", "ListPermissions", {})
19
+ .n("ACMPCAClient", "ListPermissionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListPermissionsCommand)
22
+ .de(de_ListPermissionsCommand)
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_ListTagsCommand, se_ListTagsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListTagsCommand 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, ListTagsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "ListTagsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "ListTags",
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_ListTagsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsCommand(output, context);
46
- }
7
+ export class ListTagsCommand 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", "ListTags", {})
19
+ .n("ACMPCAClient", "ListTagsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsCommand)
22
+ .de(de_ListTagsCommand)
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_PutPolicyCommand, se_PutPolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PutPolicyCommand 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, PutPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "PutPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "PutPolicy",
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_PutPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutPolicyCommand(output, context);
46
- }
7
+ export class PutPolicyCommand 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", "PutPolicy", {})
19
+ .n("ACMPCAClient", "PutPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutPolicyCommand)
22
+ .de(de_PutPolicyCommand)
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_RestoreCertificateAuthorityCommand, se_RestoreCertificateAuthorityCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RestoreCertificateAuthorityCommand 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, RestoreCertificateAuthorityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "RestoreCertificateAuthorityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "RestoreCertificateAuthority",
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_RestoreCertificateAuthorityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RestoreCertificateAuthorityCommand(output, context);
46
- }
7
+ export class RestoreCertificateAuthorityCommand 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", "RestoreCertificateAuthority", {})
19
+ .n("ACMPCAClient", "RestoreCertificateAuthorityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RestoreCertificateAuthorityCommand)
22
+ .de(de_RestoreCertificateAuthorityCommand)
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_RevokeCertificateCommand, se_RevokeCertificateCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RevokeCertificateCommand 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, RevokeCertificateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "RevokeCertificateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "RevokeCertificate",
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_RevokeCertificateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RevokeCertificateCommand(output, context);
46
- }
7
+ export class RevokeCertificateCommand 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", "RevokeCertificate", {})
19
+ .n("ACMPCAClient", "RevokeCertificateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RevokeCertificateCommand)
22
+ .de(de_RevokeCertificateCommand)
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_TagCertificateAuthorityCommand, se_TagCertificateAuthorityCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class TagCertificateAuthorityCommand 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, TagCertificateAuthorityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "TagCertificateAuthorityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "TagCertificateAuthority",
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_TagCertificateAuthorityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagCertificateAuthorityCommand(output, context);
46
- }
7
+ export class TagCertificateAuthorityCommand 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", "TagCertificateAuthority", {})
19
+ .n("ACMPCAClient", "TagCertificateAuthorityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagCertificateAuthorityCommand)
22
+ .de(de_TagCertificateAuthorityCommand)
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_UntagCertificateAuthorityCommand, se_UntagCertificateAuthorityCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UntagCertificateAuthorityCommand 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, UntagCertificateAuthorityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMPCAClient";
26
- const commandName = "UntagCertificateAuthorityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ACMPrivateCA",
35
- operation: "UntagCertificateAuthority",
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_UntagCertificateAuthorityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagCertificateAuthorityCommand(output, context);
46
- }
7
+ export class UntagCertificateAuthorityCommand 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", "UntagCertificateAuthority", {})
19
+ .n("ACMPCAClient", "UntagCertificateAuthorityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagCertificateAuthorityCommand)
22
+ .de(de_UntagCertificateAuthorityCommand)
23
+ .build() {
47
24
  }