@aws-sdk/client-acm 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 (65) hide show
  1. package/dist-cjs/commands/AddTagsToCertificateCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteCertificateCommand.js +18 -41
  3. package/dist-cjs/commands/DescribeCertificateCommand.js +18 -41
  4. package/dist-cjs/commands/ExportCertificateCommand.js +18 -41
  5. package/dist-cjs/commands/GetAccountConfigurationCommand.js +18 -41
  6. package/dist-cjs/commands/GetCertificateCommand.js +18 -41
  7. package/dist-cjs/commands/ImportCertificateCommand.js +18 -41
  8. package/dist-cjs/commands/ListCertificatesCommand.js +18 -41
  9. package/dist-cjs/commands/ListTagsForCertificateCommand.js +18 -41
  10. package/dist-cjs/commands/PutAccountConfigurationCommand.js +18 -41
  11. package/dist-cjs/commands/RemoveTagsFromCertificateCommand.js +18 -41
  12. package/dist-cjs/commands/RenewCertificateCommand.js +18 -41
  13. package/dist-cjs/commands/RequestCertificateCommand.js +18 -41
  14. package/dist-cjs/commands/ResendValidationEmailCommand.js +18 -41
  15. package/dist-cjs/commands/UpdateCertificateOptionsCommand.js +18 -41
  16. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  17. package/dist-es/commands/AddTagsToCertificateCommand.js +18 -41
  18. package/dist-es/commands/DeleteCertificateCommand.js +18 -41
  19. package/dist-es/commands/DescribeCertificateCommand.js +18 -41
  20. package/dist-es/commands/ExportCertificateCommand.js +18 -41
  21. package/dist-es/commands/GetAccountConfigurationCommand.js +18 -41
  22. package/dist-es/commands/GetCertificateCommand.js +18 -41
  23. package/dist-es/commands/ImportCertificateCommand.js +18 -41
  24. package/dist-es/commands/ListCertificatesCommand.js +18 -41
  25. package/dist-es/commands/ListTagsForCertificateCommand.js +18 -41
  26. package/dist-es/commands/PutAccountConfigurationCommand.js +18 -41
  27. package/dist-es/commands/RemoveTagsFromCertificateCommand.js +18 -41
  28. package/dist-es/commands/RenewCertificateCommand.js +18 -41
  29. package/dist-es/commands/RequestCertificateCommand.js +18 -41
  30. package/dist-es/commands/ResendValidationEmailCommand.js +18 -41
  31. package/dist-es/commands/UpdateCertificateOptionsCommand.js +18 -41
  32. package/dist-es/endpoint/EndpointParameters.js +6 -0
  33. package/dist-types/commands/AddTagsToCertificateCommand.d.ts +6 -21
  34. package/dist-types/commands/DeleteCertificateCommand.d.ts +6 -21
  35. package/dist-types/commands/DescribeCertificateCommand.d.ts +6 -21
  36. package/dist-types/commands/ExportCertificateCommand.d.ts +6 -21
  37. package/dist-types/commands/GetAccountConfigurationCommand.d.ts +6 -21
  38. package/dist-types/commands/GetCertificateCommand.d.ts +6 -21
  39. package/dist-types/commands/ImportCertificateCommand.d.ts +6 -21
  40. package/dist-types/commands/ListCertificatesCommand.d.ts +6 -21
  41. package/dist-types/commands/ListTagsForCertificateCommand.d.ts +6 -21
  42. package/dist-types/commands/PutAccountConfigurationCommand.d.ts +6 -21
  43. package/dist-types/commands/RemoveTagsFromCertificateCommand.d.ts +6 -21
  44. package/dist-types/commands/RenewCertificateCommand.d.ts +6 -21
  45. package/dist-types/commands/RequestCertificateCommand.d.ts +6 -21
  46. package/dist-types/commands/ResendValidationEmailCommand.d.ts +6 -21
  47. package/dist-types/commands/UpdateCertificateOptionsCommand.d.ts +6 -21
  48. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  49. package/dist-types/ts3.4/commands/AddTagsToCertificateCommand.d.ts +12 -24
  50. package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +14 -23
  51. package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +14 -23
  52. package/dist-types/ts3.4/commands/ExportCertificateCommand.d.ts +14 -23
  53. package/dist-types/ts3.4/commands/GetAccountConfigurationCommand.d.ts +12 -24
  54. package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +14 -23
  55. package/dist-types/ts3.4/commands/ImportCertificateCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +14 -23
  57. package/dist-types/ts3.4/commands/ListTagsForCertificateCommand.d.ts +12 -24
  58. package/dist-types/ts3.4/commands/PutAccountConfigurationCommand.d.ts +12 -24
  59. package/dist-types/ts3.4/commands/RemoveTagsFromCertificateCommand.d.ts +12 -24
  60. package/dist-types/ts3.4/commands/RenewCertificateCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/RequestCertificateCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/ResendValidationEmailCommand.d.ts +12 -24
  63. package/dist-types/ts3.4/commands/UpdateCertificateOptionsCommand.d.ts +12 -24
  64. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  65. package/package.json +9 -9
@@ -1,48 +1,25 @@
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 { ExportCertificateRequestFilterSensitiveLog, ExportCertificateResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ExportCertificateCommand, se_ExportCertificateCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class ExportCertificateCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ExportCertificateCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ACMClient";
27
- const commandName = "ExportCertificateCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ExportCertificateRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: ExportCertificateResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "CertificateManager",
36
- operation: "ExportCertificate",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ExportCertificateCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ExportCertificateCommand(output, context);
47
- }
8
+ export class ExportCertificateCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("CertificateManager", "ExportCertificate", {})
20
+ .n("ACMClient", "ExportCertificateCommand")
21
+ .f(ExportCertificateRequestFilterSensitiveLog, ExportCertificateResponseFilterSensitiveLog)
22
+ .ser(se_ExportCertificateCommand)
23
+ .de(de_ExportCertificateCommand)
24
+ .build() {
48
25
  }
@@ -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_GetAccountConfigurationCommand, se_GetAccountConfigurationCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetAccountConfigurationCommand 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, GetAccountConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMClient";
26
- const commandName = "GetAccountConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CertificateManager",
35
- operation: "GetAccountConfiguration",
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_GetAccountConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetAccountConfigurationCommand(output, context);
46
- }
7
+ export class GetAccountConfigurationCommand 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("CertificateManager", "GetAccountConfiguration", {})
19
+ .n("ACMClient", "GetAccountConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetAccountConfigurationCommand)
22
+ .de(de_GetAccountConfigurationCommand)
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 = "ACMClient";
26
- const commandName = "GetCertificateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CertificateManager",
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("CertificateManager", "GetCertificate", {})
19
+ .n("ACMClient", "GetCertificateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetCertificateCommand)
22
+ .de(de_GetCertificateCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
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 { ImportCertificateRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ImportCertificateCommand, se_ImportCertificateCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class ImportCertificateCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ImportCertificateCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ACMClient";
27
- const commandName = "ImportCertificateCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ImportCertificateRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "CertificateManager",
36
- operation: "ImportCertificate",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ImportCertificateCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ImportCertificateCommand(output, context);
47
- }
8
+ export class ImportCertificateCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("CertificateManager", "ImportCertificate", {})
20
+ .n("ACMClient", "ImportCertificateCommand")
21
+ .f(ImportCertificateRequestFilterSensitiveLog, void 0)
22
+ .ser(se_ImportCertificateCommand)
23
+ .de(de_ImportCertificateCommand)
24
+ .build() {
48
25
  }
@@ -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_ListCertificatesCommand, se_ListCertificatesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListCertificatesCommand 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, ListCertificatesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMClient";
26
- const commandName = "ListCertificatesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CertificateManager",
35
- operation: "ListCertificates",
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_ListCertificatesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListCertificatesCommand(output, context);
46
- }
7
+ export class ListCertificatesCommand 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("CertificateManager", "ListCertificates", {})
19
+ .n("ACMClient", "ListCertificatesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListCertificatesCommand)
22
+ .de(de_ListCertificatesCommand)
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_ListTagsForCertificateCommand, se_ListTagsForCertificateCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListTagsForCertificateCommand 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, ListTagsForCertificateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMClient";
26
- const commandName = "ListTagsForCertificateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CertificateManager",
35
- operation: "ListTagsForCertificate",
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_ListTagsForCertificateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForCertificateCommand(output, context);
46
- }
7
+ export class ListTagsForCertificateCommand 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("CertificateManager", "ListTagsForCertificate", {})
19
+ .n("ACMClient", "ListTagsForCertificateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForCertificateCommand)
22
+ .de(de_ListTagsForCertificateCommand)
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_PutAccountConfigurationCommand, se_PutAccountConfigurationCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PutAccountConfigurationCommand 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, PutAccountConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMClient";
26
- const commandName = "PutAccountConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CertificateManager",
35
- operation: "PutAccountConfiguration",
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_PutAccountConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutAccountConfigurationCommand(output, context);
46
- }
7
+ export class PutAccountConfigurationCommand 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("CertificateManager", "PutAccountConfiguration", {})
19
+ .n("ACMClient", "PutAccountConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutAccountConfigurationCommand)
22
+ .de(de_PutAccountConfigurationCommand)
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_RemoveTagsFromCertificateCommand, se_RemoveTagsFromCertificateCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RemoveTagsFromCertificateCommand 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, RemoveTagsFromCertificateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMClient";
26
- const commandName = "RemoveTagsFromCertificateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CertificateManager",
35
- operation: "RemoveTagsFromCertificate",
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_RemoveTagsFromCertificateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RemoveTagsFromCertificateCommand(output, context);
46
- }
7
+ export class RemoveTagsFromCertificateCommand 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("CertificateManager", "RemoveTagsFromCertificate", {})
19
+ .n("ACMClient", "RemoveTagsFromCertificateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RemoveTagsFromCertificateCommand)
22
+ .de(de_RemoveTagsFromCertificateCommand)
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_RenewCertificateCommand, se_RenewCertificateCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RenewCertificateCommand 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, RenewCertificateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMClient";
26
- const commandName = "RenewCertificateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CertificateManager",
35
- operation: "RenewCertificate",
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_RenewCertificateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RenewCertificateCommand(output, context);
46
- }
7
+ export class RenewCertificateCommand 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("CertificateManager", "RenewCertificate", {})
19
+ .n("ACMClient", "RenewCertificateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RenewCertificateCommand)
22
+ .de(de_RenewCertificateCommand)
23
+ .build() {
47
24
  }