@aws-sdk/client-support 3.927.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist-cjs/index.js +752 -755
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/SupportClient.js +2 -0
  4. package/dist-es/commands/AddAttachmentsToSetCommand.js +3 -9
  5. package/dist-es/commands/AddCommunicationToCaseCommand.js +3 -9
  6. package/dist-es/commands/CreateCaseCommand.js +3 -9
  7. package/dist-es/commands/DescribeAttachmentCommand.js +3 -9
  8. package/dist-es/commands/DescribeCasesCommand.js +3 -9
  9. package/dist-es/commands/DescribeCommunicationsCommand.js +3 -9
  10. package/dist-es/commands/DescribeCreateCaseOptionsCommand.js +3 -9
  11. package/dist-es/commands/DescribeServicesCommand.js +3 -9
  12. package/dist-es/commands/DescribeSeverityLevelsCommand.js +3 -9
  13. package/dist-es/commands/DescribeSupportedLanguagesCommand.js +3 -9
  14. package/dist-es/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +3 -9
  15. package/dist-es/commands/DescribeTrustedAdvisorCheckResultCommand.js +3 -9
  16. package/dist-es/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +3 -9
  17. package/dist-es/commands/DescribeTrustedAdvisorChecksCommand.js +3 -9
  18. package/dist-es/commands/RefreshTrustedAdvisorCheckCommand.js +3 -9
  19. package/dist-es/commands/ResolveCaseCommand.js +3 -9
  20. package/dist-es/runtimeConfig.shared.js +7 -0
  21. package/dist-es/schemas/schemas_0.js +691 -0
  22. package/dist-types/SupportClient.d.ts +10 -1
  23. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  24. package/dist-types/runtimeConfig.d.ts +1 -0
  25. package/dist-types/runtimeConfig.native.d.ts +1 -0
  26. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  27. package/dist-types/schemas/schemas_0.d.ts +99 -0
  28. package/dist-types/ts3.4/SupportClient.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +104 -0
  34. package/package.json +5 -5
  35. package/dist-es/protocols/Aws_json1_1.js +0 -617
  36. package/dist-types/protocols/Aws_json1_1.d.ts +0 -146
  37. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -197
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.support",
32
+ serviceTarget: "AWSSupport_20130415",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Support",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class SupportClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AddAttachmentsToSetCommand, se_AddAttachmentsToSetCommand } from "../protocols/Aws_json1_1";
4
+ import { AddAttachmentsToSet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddAttachmentsToSetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "AddAttachmentsToSet", {})
17
13
  .n("SupportClient", "AddAttachmentsToSetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddAttachmentsToSetCommand)
20
- .de(de_AddAttachmentsToSetCommand)
14
+ .sc(AddAttachmentsToSet)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AddCommunicationToCaseCommand, se_AddCommunicationToCaseCommand } from "../protocols/Aws_json1_1";
4
+ import { AddCommunicationToCase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddCommunicationToCaseCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "AddCommunicationToCase", {})
17
13
  .n("SupportClient", "AddCommunicationToCaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddCommunicationToCaseCommand)
20
- .de(de_AddCommunicationToCaseCommand)
14
+ .sc(AddCommunicationToCase)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateCaseCommand, se_CreateCaseCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateCase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCaseCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "CreateCase", {})
17
13
  .n("SupportClient", "CreateCaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCaseCommand)
20
- .de(de_CreateCaseCommand)
14
+ .sc(CreateCase)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeAttachmentCommand, se_DescribeAttachmentCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeAttachmentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "DescribeAttachment", {})
17
13
  .n("SupportClient", "DescribeAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeAttachmentCommand)
20
- .de(de_DescribeAttachmentCommand)
14
+ .sc(DescribeAttachment)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeCasesCommand, se_DescribeCasesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeCases } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeCasesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "DescribeCases", {})
17
13
  .n("SupportClient", "DescribeCasesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeCasesCommand)
20
- .de(de_DescribeCasesCommand)
14
+ .sc(DescribeCases)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeCommunicationsCommand, se_DescribeCommunicationsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeCommunications } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeCommunicationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "DescribeCommunications", {})
17
13
  .n("SupportClient", "DescribeCommunicationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeCommunicationsCommand)
20
- .de(de_DescribeCommunicationsCommand)
14
+ .sc(DescribeCommunications)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeCreateCaseOptionsCommand, se_DescribeCreateCaseOptionsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeCreateCaseOptions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeCreateCaseOptionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "DescribeCreateCaseOptions", {})
17
13
  .n("SupportClient", "DescribeCreateCaseOptionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeCreateCaseOptionsCommand)
20
- .de(de_DescribeCreateCaseOptionsCommand)
14
+ .sc(DescribeCreateCaseOptions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeServicesCommand, se_DescribeServicesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeServices } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeServicesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "DescribeServices", {})
17
13
  .n("SupportClient", "DescribeServicesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeServicesCommand)
20
- .de(de_DescribeServicesCommand)
14
+ .sc(DescribeServices)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeSeverityLevelsCommand, se_DescribeSeverityLevelsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeSeverityLevels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeSeverityLevelsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "DescribeSeverityLevels", {})
17
13
  .n("SupportClient", "DescribeSeverityLevelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeSeverityLevelsCommand)
20
- .de(de_DescribeSeverityLevelsCommand)
14
+ .sc(DescribeSeverityLevels)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeSupportedLanguagesCommand, se_DescribeSupportedLanguagesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeSupportedLanguages } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeSupportedLanguagesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "DescribeSupportedLanguages", {})
17
13
  .n("SupportClient", "DescribeSupportedLanguagesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeSupportedLanguagesCommand)
20
- .de(de_DescribeSupportedLanguagesCommand)
14
+ .sc(DescribeSupportedLanguages)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeTrustedAdvisorCheckRefreshStatusesCommand, se_DescribeTrustedAdvisorCheckRefreshStatusesCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeTrustedAdvisorCheckRefreshStatuses } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckRefreshStatuses", {})
17
13
  .n("SupportClient", "DescribeTrustedAdvisorCheckRefreshStatusesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeTrustedAdvisorCheckRefreshStatusesCommand)
20
- .de(de_DescribeTrustedAdvisorCheckRefreshStatusesCommand)
14
+ .sc(DescribeTrustedAdvisorCheckRefreshStatuses)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeTrustedAdvisorCheckResultCommand, se_DescribeTrustedAdvisorCheckResultCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeTrustedAdvisorCheckResult } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeTrustedAdvisorCheckResultCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckResult", {})
17
13
  .n("SupportClient", "DescribeTrustedAdvisorCheckResultCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeTrustedAdvisorCheckResultCommand)
20
- .de(de_DescribeTrustedAdvisorCheckResultCommand)
14
+ .sc(DescribeTrustedAdvisorCheckResult)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeTrustedAdvisorCheckSummariesCommand, se_DescribeTrustedAdvisorCheckSummariesCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeTrustedAdvisorCheckSummaries } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeTrustedAdvisorCheckSummariesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckSummaries", {})
17
13
  .n("SupportClient", "DescribeTrustedAdvisorCheckSummariesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeTrustedAdvisorCheckSummariesCommand)
20
- .de(de_DescribeTrustedAdvisorCheckSummariesCommand)
14
+ .sc(DescribeTrustedAdvisorCheckSummaries)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeTrustedAdvisorChecksCommand, se_DescribeTrustedAdvisorChecksCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeTrustedAdvisorChecks } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeTrustedAdvisorChecksCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "DescribeTrustedAdvisorChecks", {})
17
13
  .n("SupportClient", "DescribeTrustedAdvisorChecksCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeTrustedAdvisorChecksCommand)
20
- .de(de_DescribeTrustedAdvisorChecksCommand)
14
+ .sc(DescribeTrustedAdvisorChecks)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RefreshTrustedAdvisorCheckCommand, se_RefreshTrustedAdvisorCheckCommand } from "../protocols/Aws_json1_1";
4
+ import { RefreshTrustedAdvisorCheck } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RefreshTrustedAdvisorCheckCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "RefreshTrustedAdvisorCheck", {})
17
13
  .n("SupportClient", "RefreshTrustedAdvisorCheckCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RefreshTrustedAdvisorCheckCommand)
20
- .de(de_RefreshTrustedAdvisorCheckCommand)
14
+ .sc(RefreshTrustedAdvisorCheck)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ResolveCaseCommand, se_ResolveCaseCommand } from "../protocols/Aws_json1_1";
4
+ import { ResolveCase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ResolveCaseCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSSupport_20130415", "ResolveCase", {})
17
13
  .n("SupportClient", "ResolveCaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ResolveCaseCommand)
20
- .de(de_ResolveCaseCommand)
14
+ .sc(ResolveCase)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.support",
29
+ serviceTarget: "AWSSupport_20130415",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Support",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,