@aws-sdk/client-support 3.477.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 (77) hide show
  1. package/dist-cjs/commands/AddAttachmentsToSetCommand.js +18 -41
  2. package/dist-cjs/commands/AddCommunicationToCaseCommand.js +18 -41
  3. package/dist-cjs/commands/CreateCaseCommand.js +18 -41
  4. package/dist-cjs/commands/DescribeAttachmentCommand.js +18 -41
  5. package/dist-cjs/commands/DescribeCasesCommand.js +18 -41
  6. package/dist-cjs/commands/DescribeCommunicationsCommand.js +18 -41
  7. package/dist-cjs/commands/DescribeCreateCaseOptionsCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeServicesCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeSeverityLevelsCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeSupportedLanguagesCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeTrustedAdvisorCheckResultCommand.js +18 -41
  13. package/dist-cjs/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeTrustedAdvisorChecksCommand.js +18 -41
  15. package/dist-cjs/commands/RefreshTrustedAdvisorCheckCommand.js +18 -41
  16. package/dist-cjs/commands/ResolveCaseCommand.js +18 -41
  17. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  18. package/dist-cjs/pagination/DescribeCasesPaginator.js +2 -24
  19. package/dist-cjs/pagination/DescribeCommunicationsPaginator.js +2 -24
  20. package/dist-es/commands/AddAttachmentsToSetCommand.js +18 -41
  21. package/dist-es/commands/AddCommunicationToCaseCommand.js +18 -41
  22. package/dist-es/commands/CreateCaseCommand.js +18 -41
  23. package/dist-es/commands/DescribeAttachmentCommand.js +18 -41
  24. package/dist-es/commands/DescribeCasesCommand.js +18 -41
  25. package/dist-es/commands/DescribeCommunicationsCommand.js +18 -41
  26. package/dist-es/commands/DescribeCreateCaseOptionsCommand.js +18 -41
  27. package/dist-es/commands/DescribeServicesCommand.js +18 -41
  28. package/dist-es/commands/DescribeSeverityLevelsCommand.js +18 -41
  29. package/dist-es/commands/DescribeSupportedLanguagesCommand.js +18 -41
  30. package/dist-es/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +18 -41
  31. package/dist-es/commands/DescribeTrustedAdvisorCheckResultCommand.js +18 -41
  32. package/dist-es/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +18 -41
  33. package/dist-es/commands/DescribeTrustedAdvisorChecksCommand.js +18 -41
  34. package/dist-es/commands/RefreshTrustedAdvisorCheckCommand.js +18 -41
  35. package/dist-es/commands/ResolveCaseCommand.js +18 -41
  36. package/dist-es/endpoint/EndpointParameters.js +6 -0
  37. package/dist-es/pagination/DescribeCasesPaginator.js +2 -23
  38. package/dist-es/pagination/DescribeCommunicationsPaginator.js +2 -23
  39. package/dist-types/commands/AddAttachmentsToSetCommand.d.ts +6 -21
  40. package/dist-types/commands/AddCommunicationToCaseCommand.d.ts +6 -21
  41. package/dist-types/commands/CreateCaseCommand.d.ts +6 -21
  42. package/dist-types/commands/DescribeAttachmentCommand.d.ts +6 -21
  43. package/dist-types/commands/DescribeCasesCommand.d.ts +6 -21
  44. package/dist-types/commands/DescribeCommunicationsCommand.d.ts +6 -21
  45. package/dist-types/commands/DescribeCreateCaseOptionsCommand.d.ts +6 -21
  46. package/dist-types/commands/DescribeServicesCommand.d.ts +6 -21
  47. package/dist-types/commands/DescribeSeverityLevelsCommand.d.ts +6 -21
  48. package/dist-types/commands/DescribeSupportedLanguagesCommand.d.ts +6 -21
  49. package/dist-types/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.d.ts +6 -21
  50. package/dist-types/commands/DescribeTrustedAdvisorCheckResultCommand.d.ts +6 -21
  51. package/dist-types/commands/DescribeTrustedAdvisorCheckSummariesCommand.d.ts +6 -21
  52. package/dist-types/commands/DescribeTrustedAdvisorChecksCommand.d.ts +6 -21
  53. package/dist-types/commands/RefreshTrustedAdvisorCheckCommand.d.ts +6 -21
  54. package/dist-types/commands/ResolveCaseCommand.d.ts +6 -21
  55. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  56. package/dist-types/pagination/DescribeCasesPaginator.d.ts +1 -1
  57. package/dist-types/pagination/DescribeCommunicationsPaginator.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/AddAttachmentsToSetCommand.d.ts +14 -23
  59. package/dist-types/ts3.4/commands/AddCommunicationToCaseCommand.d.ts +12 -24
  60. package/dist-types/ts3.4/commands/CreateCaseCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/DescribeAttachmentCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/DescribeCasesCommand.d.ts +14 -23
  63. package/dist-types/ts3.4/commands/DescribeCommunicationsCommand.d.ts +12 -24
  64. package/dist-types/ts3.4/commands/DescribeCreateCaseOptionsCommand.d.ts +12 -24
  65. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/DescribeSeverityLevelsCommand.d.ts +12 -24
  67. package/dist-types/ts3.4/commands/DescribeSupportedLanguagesCommand.d.ts +12 -24
  68. package/dist-types/ts3.4/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.d.ts +12 -24
  69. package/dist-types/ts3.4/commands/DescribeTrustedAdvisorCheckResultCommand.d.ts +12 -24
  70. package/dist-types/ts3.4/commands/DescribeTrustedAdvisorCheckSummariesCommand.d.ts +12 -24
  71. package/dist-types/ts3.4/commands/DescribeTrustedAdvisorChecksCommand.d.ts +12 -24
  72. package/dist-types/ts3.4/commands/RefreshTrustedAdvisorCheckCommand.d.ts +12 -24
  73. package/dist-types/ts3.4/commands/ResolveCaseCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  75. package/dist-types/ts3.4/pagination/DescribeCasesPaginator.d.ts +3 -3
  76. package/dist-types/ts3.4/pagination/DescribeCommunicationsPaginator.d.ts +3 -3
  77. package/package.json +11 -10
@@ -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_AddCommunicationToCaseCommand, se_AddCommunicationToCaseCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AddCommunicationToCaseCommand 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, AddCommunicationToCaseCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SupportClient";
26
- const commandName = "AddCommunicationToCaseCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSSupport_20130415",
35
- operation: "AddCommunicationToCase",
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_AddCommunicationToCaseCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddCommunicationToCaseCommand(output, context);
46
- }
7
+ export class AddCommunicationToCaseCommand 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("AWSSupport_20130415", "AddCommunicationToCase", {})
19
+ .n("SupportClient", "AddCommunicationToCaseCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddCommunicationToCaseCommand)
22
+ .de(de_AddCommunicationToCaseCommand)
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_CreateCaseCommand, se_CreateCaseCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateCaseCommand 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, CreateCaseCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SupportClient";
26
- const commandName = "CreateCaseCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSSupport_20130415",
35
- operation: "CreateCase",
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_CreateCaseCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateCaseCommand(output, context);
46
- }
7
+ export class CreateCaseCommand 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("AWSSupport_20130415", "CreateCase", {})
19
+ .n("SupportClient", "CreateCaseCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateCaseCommand)
22
+ .de(de_CreateCaseCommand)
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_DescribeAttachmentCommand, se_DescribeAttachmentCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeAttachmentCommand 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, DescribeAttachmentCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SupportClient";
26
- const commandName = "DescribeAttachmentCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSSupport_20130415",
35
- operation: "DescribeAttachment",
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_DescribeAttachmentCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeAttachmentCommand(output, context);
46
- }
7
+ export class DescribeAttachmentCommand 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("AWSSupport_20130415", "DescribeAttachment", {})
19
+ .n("SupportClient", "DescribeAttachmentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeAttachmentCommand)
22
+ .de(de_DescribeAttachmentCommand)
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_DescribeCasesCommand, se_DescribeCasesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeCasesCommand 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, DescribeCasesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SupportClient";
26
- const commandName = "DescribeCasesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSSupport_20130415",
35
- operation: "DescribeCases",
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_DescribeCasesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeCasesCommand(output, context);
46
- }
7
+ export class DescribeCasesCommand 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("AWSSupport_20130415", "DescribeCases", {})
19
+ .n("SupportClient", "DescribeCasesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeCasesCommand)
22
+ .de(de_DescribeCasesCommand)
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_DescribeCommunicationsCommand, se_DescribeCommunicationsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeCommunicationsCommand 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, DescribeCommunicationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SupportClient";
26
- const commandName = "DescribeCommunicationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSSupport_20130415",
35
- operation: "DescribeCommunications",
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_DescribeCommunicationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeCommunicationsCommand(output, context);
46
- }
7
+ export class DescribeCommunicationsCommand 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("AWSSupport_20130415", "DescribeCommunications", {})
19
+ .n("SupportClient", "DescribeCommunicationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeCommunicationsCommand)
22
+ .de(de_DescribeCommunicationsCommand)
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_DescribeCreateCaseOptionsCommand, se_DescribeCreateCaseOptionsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeCreateCaseOptionsCommand 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, DescribeCreateCaseOptionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SupportClient";
26
- const commandName = "DescribeCreateCaseOptionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSSupport_20130415",
35
- operation: "DescribeCreateCaseOptions",
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_DescribeCreateCaseOptionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeCreateCaseOptionsCommand(output, context);
46
- }
7
+ export class DescribeCreateCaseOptionsCommand 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("AWSSupport_20130415", "DescribeCreateCaseOptions", {})
19
+ .n("SupportClient", "DescribeCreateCaseOptionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeCreateCaseOptionsCommand)
22
+ .de(de_DescribeCreateCaseOptionsCommand)
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_DescribeServicesCommand, se_DescribeServicesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeServicesCommand 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, DescribeServicesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SupportClient";
26
- const commandName = "DescribeServicesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSSupport_20130415",
35
- operation: "DescribeServices",
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_DescribeServicesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeServicesCommand(output, context);
46
- }
7
+ export class DescribeServicesCommand 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("AWSSupport_20130415", "DescribeServices", {})
19
+ .n("SupportClient", "DescribeServicesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeServicesCommand)
22
+ .de(de_DescribeServicesCommand)
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_DescribeSeverityLevelsCommand, se_DescribeSeverityLevelsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeSeverityLevelsCommand 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, DescribeSeverityLevelsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SupportClient";
26
- const commandName = "DescribeSeverityLevelsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSSupport_20130415",
35
- operation: "DescribeSeverityLevels",
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_DescribeSeverityLevelsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeSeverityLevelsCommand(output, context);
46
- }
7
+ export class DescribeSeverityLevelsCommand 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("AWSSupport_20130415", "DescribeSeverityLevels", {})
19
+ .n("SupportClient", "DescribeSeverityLevelsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeSeverityLevelsCommand)
22
+ .de(de_DescribeSeverityLevelsCommand)
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_DescribeSupportedLanguagesCommand, se_DescribeSupportedLanguagesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeSupportedLanguagesCommand 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, DescribeSupportedLanguagesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SupportClient";
26
- const commandName = "DescribeSupportedLanguagesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSSupport_20130415",
35
- operation: "DescribeSupportedLanguages",
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_DescribeSupportedLanguagesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeSupportedLanguagesCommand(output, context);
46
- }
7
+ export class DescribeSupportedLanguagesCommand 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("AWSSupport_20130415", "DescribeSupportedLanguages", {})
19
+ .n("SupportClient", "DescribeSupportedLanguagesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeSupportedLanguagesCommand)
22
+ .de(de_DescribeSupportedLanguagesCommand)
23
+ .build() {
47
24
  }