@aws-sdk/client-support 3.948.0 → 3.953.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 (36) hide show
  1. package/dist-cjs/index.js +275 -195
  2. package/dist-cjs/runtimeConfig.shared.js +7 -6
  3. package/dist-es/commands/AddAttachmentsToSetCommand.js +2 -2
  4. package/dist-es/commands/AddCommunicationToCaseCommand.js +2 -2
  5. package/dist-es/commands/CreateCaseCommand.js +2 -2
  6. package/dist-es/commands/DescribeAttachmentCommand.js +2 -2
  7. package/dist-es/commands/DescribeCasesCommand.js +2 -2
  8. package/dist-es/commands/DescribeCommunicationsCommand.js +2 -2
  9. package/dist-es/commands/DescribeCreateCaseOptionsCommand.js +2 -2
  10. package/dist-es/commands/DescribeServicesCommand.js +2 -2
  11. package/dist-es/commands/DescribeSeverityLevelsCommand.js +2 -2
  12. package/dist-es/commands/DescribeSupportedLanguagesCommand.js +2 -2
  13. package/dist-es/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +2 -2
  14. package/dist-es/commands/DescribeTrustedAdvisorCheckResultCommand.js +2 -2
  15. package/dist-es/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +2 -2
  16. package/dist-es/commands/DescribeTrustedAdvisorChecksCommand.js +2 -2
  17. package/dist-es/commands/RefreshTrustedAdvisorCheckCommand.js +2 -2
  18. package/dist-es/commands/ResolveCaseCommand.js +2 -2
  19. package/dist-es/index.js +1 -0
  20. package/dist-es/runtimeConfig.shared.js +7 -6
  21. package/dist-es/schemas/schemas_0.js +155 -154
  22. package/dist-types/SupportClient.d.ts +1 -10
  23. package/dist-types/index.d.ts +1 -0
  24. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  25. package/dist-types/runtimeConfig.d.ts +6 -2
  26. package/dist-types/runtimeConfig.native.d.ts +6 -2
  27. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  28. package/dist-types/schemas/schemas_0.d.ts +80 -99
  29. package/dist-types/ts3.4/SupportClient.d.ts +0 -4
  30. package/dist-types/ts3.4/index.d.ts +1 -0
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  34. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  35. package/dist-types/ts3.4/schemas/schemas_0.d.ts +79 -99
  36. package/package.json +34 -34
@@ -26,12 +26,13 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
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
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.support",
32
+ xmlNamespace: "http://support.amazonaws.com/doc/2013-04-15/",
33
+ version: "2013-04-15",
34
+ serviceTarget: "AWSSupport_20130415",
35
+ },
35
36
  serviceId: config?.serviceId ?? "Support",
36
37
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
38
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { AddAttachmentsToSet } from "../schemas/schemas_0";
4
+ import { AddAttachmentsToSet$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AddAttachmentsToSetCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AddAttachmentsToSetCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "AddAttachmentsToSet", {})
13
13
  .n("SupportClient", "AddAttachmentsToSetCommand")
14
- .sc(AddAttachmentsToSet)
14
+ .sc(AddAttachmentsToSet$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { AddCommunicationToCase } from "../schemas/schemas_0";
4
+ import { AddCommunicationToCase$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AddCommunicationToCaseCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AddCommunicationToCaseCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "AddCommunicationToCase", {})
13
13
  .n("SupportClient", "AddCommunicationToCaseCommand")
14
- .sc(AddCommunicationToCase)
14
+ .sc(AddCommunicationToCase$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateCase } from "../schemas/schemas_0";
4
+ import { CreateCase$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateCaseCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateCaseCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "CreateCase", {})
13
13
  .n("SupportClient", "CreateCaseCommand")
14
- .sc(CreateCase)
14
+ .sc(CreateCase$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeAttachment } from "../schemas/schemas_0";
4
+ import { DescribeAttachment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeAttachmentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeAttachmentCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "DescribeAttachment", {})
13
13
  .n("SupportClient", "DescribeAttachmentCommand")
14
- .sc(DescribeAttachment)
14
+ .sc(DescribeAttachment$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeCases } from "../schemas/schemas_0";
4
+ import { DescribeCases$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeCasesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeCasesCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "DescribeCases", {})
13
13
  .n("SupportClient", "DescribeCasesCommand")
14
- .sc(DescribeCases)
14
+ .sc(DescribeCases$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeCommunications } from "../schemas/schemas_0";
4
+ import { DescribeCommunications$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeCommunicationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeCommunicationsCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "DescribeCommunications", {})
13
13
  .n("SupportClient", "DescribeCommunicationsCommand")
14
- .sc(DescribeCommunications)
14
+ .sc(DescribeCommunications$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeCreateCaseOptions } from "../schemas/schemas_0";
4
+ import { DescribeCreateCaseOptions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeCreateCaseOptionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeCreateCaseOptionsCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "DescribeCreateCaseOptions", {})
13
13
  .n("SupportClient", "DescribeCreateCaseOptionsCommand")
14
- .sc(DescribeCreateCaseOptions)
14
+ .sc(DescribeCreateCaseOptions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeServices } from "../schemas/schemas_0";
4
+ import { DescribeServices$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeServicesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeServicesCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "DescribeServices", {})
13
13
  .n("SupportClient", "DescribeServicesCommand")
14
- .sc(DescribeServices)
14
+ .sc(DescribeServices$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeSeverityLevels } from "../schemas/schemas_0";
4
+ import { DescribeSeverityLevels$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeSeverityLevelsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeSeverityLevelsCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "DescribeSeverityLevels", {})
13
13
  .n("SupportClient", "DescribeSeverityLevelsCommand")
14
- .sc(DescribeSeverityLevels)
14
+ .sc(DescribeSeverityLevels$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeSupportedLanguages } from "../schemas/schemas_0";
4
+ import { DescribeSupportedLanguages$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeSupportedLanguagesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeSupportedLanguagesCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "DescribeSupportedLanguages", {})
13
13
  .n("SupportClient", "DescribeSupportedLanguagesCommand")
14
- .sc(DescribeSupportedLanguages)
14
+ .sc(DescribeSupportedLanguages$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeTrustedAdvisorCheckRefreshStatuses } from "../schemas/schemas_0";
4
+ import { DescribeTrustedAdvisorCheckRefreshStatuses$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckRefreshStatuses", {})
13
13
  .n("SupportClient", "DescribeTrustedAdvisorCheckRefreshStatusesCommand")
14
- .sc(DescribeTrustedAdvisorCheckRefreshStatuses)
14
+ .sc(DescribeTrustedAdvisorCheckRefreshStatuses$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeTrustedAdvisorCheckResult } from "../schemas/schemas_0";
4
+ import { DescribeTrustedAdvisorCheckResult$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeTrustedAdvisorCheckResultCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeTrustedAdvisorCheckResultCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckResult", {})
13
13
  .n("SupportClient", "DescribeTrustedAdvisorCheckResultCommand")
14
- .sc(DescribeTrustedAdvisorCheckResult)
14
+ .sc(DescribeTrustedAdvisorCheckResult$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeTrustedAdvisorCheckSummaries } from "../schemas/schemas_0";
4
+ import { DescribeTrustedAdvisorCheckSummaries$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeTrustedAdvisorCheckSummariesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeTrustedAdvisorCheckSummariesCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckSummaries", {})
13
13
  .n("SupportClient", "DescribeTrustedAdvisorCheckSummariesCommand")
14
- .sc(DescribeTrustedAdvisorCheckSummaries)
14
+ .sc(DescribeTrustedAdvisorCheckSummaries$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeTrustedAdvisorChecks } from "../schemas/schemas_0";
4
+ import { DescribeTrustedAdvisorChecks$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeTrustedAdvisorChecksCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeTrustedAdvisorChecksCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "DescribeTrustedAdvisorChecks", {})
13
13
  .n("SupportClient", "DescribeTrustedAdvisorChecksCommand")
14
- .sc(DescribeTrustedAdvisorChecks)
14
+ .sc(DescribeTrustedAdvisorChecks$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RefreshTrustedAdvisorCheck } from "../schemas/schemas_0";
4
+ import { RefreshTrustedAdvisorCheck$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RefreshTrustedAdvisorCheckCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RefreshTrustedAdvisorCheckCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "RefreshTrustedAdvisorCheck", {})
13
13
  .n("SupportClient", "RefreshTrustedAdvisorCheckCommand")
14
- .sc(RefreshTrustedAdvisorCheck)
14
+ .sc(RefreshTrustedAdvisorCheck$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ResolveCase } from "../schemas/schemas_0";
4
+ import { ResolveCase$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ResolveCaseCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ResolveCaseCommand extends $Command
11
11
  })
12
12
  .s("AWSSupport_20130415", "ResolveCase", {})
13
13
  .n("SupportClient", "ResolveCaseCommand")
14
- .sc(ResolveCase)
14
+ .sc(ResolveCase$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SupportClient";
2
2
  export * from "./Support";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/errors";
6
7
  export { SupportServiceException } from "./models/SupportServiceException";
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
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
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.support",
29
+ xmlNamespace: "http://support.amazonaws.com/doc/2013-04-15/",
30
+ version: "2013-04-15",
31
+ serviceTarget: "AWSSupport_20130415",
32
+ },
32
33
  serviceId: config?.serviceId ?? "Support",
33
34
  urlParser: config?.urlParser ?? parseUrl,
34
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,