@aws-sdk/client-support 3.193.0 → 3.195.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 (88) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/SupportClient.js +11 -8
  3. package/dist-cjs/commands/AddAttachmentsToSetCommand.js +10 -0
  4. package/dist-cjs/commands/AddCommunicationToCaseCommand.js +10 -0
  5. package/dist-cjs/commands/CreateCaseCommand.js +10 -0
  6. package/dist-cjs/commands/DescribeAttachmentCommand.js +10 -0
  7. package/dist-cjs/commands/DescribeCasesCommand.js +10 -0
  8. package/dist-cjs/commands/DescribeCommunicationsCommand.js +10 -0
  9. package/dist-cjs/commands/DescribeServicesCommand.js +10 -0
  10. package/dist-cjs/commands/DescribeSeverityLevelsCommand.js +10 -0
  11. package/dist-cjs/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +10 -0
  12. package/dist-cjs/commands/DescribeTrustedAdvisorCheckResultCommand.js +10 -0
  13. package/dist-cjs/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +10 -0
  14. package/dist-cjs/commands/DescribeTrustedAdvisorChecksCommand.js +10 -0
  15. package/dist-cjs/commands/RefreshTrustedAdvisorCheckCommand.js +10 -0
  16. package/dist-cjs/commands/ResolveCaseCommand.js +10 -0
  17. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  18. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  19. package/dist-cjs/endpoint/ruleset.js +478 -0
  20. package/dist-cjs/runtimeConfig.shared.js +3 -3
  21. package/dist-es/SupportClient.js +12 -9
  22. package/dist-es/commands/AddAttachmentsToSetCommand.js +10 -0
  23. package/dist-es/commands/AddCommunicationToCaseCommand.js +10 -0
  24. package/dist-es/commands/CreateCaseCommand.js +10 -0
  25. package/dist-es/commands/DescribeAttachmentCommand.js +10 -0
  26. package/dist-es/commands/DescribeCasesCommand.js +10 -0
  27. package/dist-es/commands/DescribeCommunicationsCommand.js +10 -0
  28. package/dist-es/commands/DescribeServicesCommand.js +10 -0
  29. package/dist-es/commands/DescribeSeverityLevelsCommand.js +10 -0
  30. package/dist-es/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +10 -0
  31. package/dist-es/commands/DescribeTrustedAdvisorCheckResultCommand.js +10 -0
  32. package/dist-es/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +10 -0
  33. package/dist-es/commands/DescribeTrustedAdvisorChecksCommand.js +10 -0
  34. package/dist-es/commands/RefreshTrustedAdvisorCheckCommand.js +10 -0
  35. package/dist-es/commands/ResolveCaseCommand.js +10 -0
  36. package/dist-es/endpoint/EndpointParameters.js +8 -0
  37. package/dist-es/endpoint/endpointResolver.js +8 -0
  38. package/dist-es/endpoint/ruleset.js +475 -0
  39. package/dist-es/runtimeConfig.shared.js +2 -2
  40. package/dist-types/SupportClient.d.ts +6 -9
  41. package/dist-types/commands/AddAttachmentsToSetCommand.d.ts +2 -0
  42. package/dist-types/commands/AddCommunicationToCaseCommand.d.ts +2 -0
  43. package/dist-types/commands/CreateCaseCommand.d.ts +2 -0
  44. package/dist-types/commands/DescribeAttachmentCommand.d.ts +2 -0
  45. package/dist-types/commands/DescribeCasesCommand.d.ts +2 -0
  46. package/dist-types/commands/DescribeCommunicationsCommand.d.ts +2 -0
  47. package/dist-types/commands/DescribeServicesCommand.d.ts +2 -0
  48. package/dist-types/commands/DescribeSeverityLevelsCommand.d.ts +2 -0
  49. package/dist-types/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.d.ts +2 -0
  50. package/dist-types/commands/DescribeTrustedAdvisorCheckResultCommand.d.ts +2 -0
  51. package/dist-types/commands/DescribeTrustedAdvisorCheckSummariesCommand.d.ts +2 -0
  52. package/dist-types/commands/DescribeTrustedAdvisorChecksCommand.d.ts +2 -0
  53. package/dist-types/commands/RefreshTrustedAdvisorCheckCommand.d.ts +2 -0
  54. package/dist-types/commands/ResolveCaseCommand.d.ts +2 -0
  55. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  56. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  57. package/dist-types/endpoint/ruleset.d.ts +2 -0
  58. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  59. package/dist-types/runtimeConfig.d.ts +4 -2
  60. package/dist-types/runtimeConfig.native.d.ts +4 -2
  61. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  62. package/dist-types/ts3.4/SupportClient.d.ts +15 -8
  63. package/dist-types/ts3.4/commands/AddAttachmentsToSetCommand.d.ts +2 -0
  64. package/dist-types/ts3.4/commands/AddCommunicationToCaseCommand.d.ts +2 -0
  65. package/dist-types/ts3.4/commands/CreateCaseCommand.d.ts +2 -0
  66. package/dist-types/ts3.4/commands/DescribeAttachmentCommand.d.ts +2 -0
  67. package/dist-types/ts3.4/commands/DescribeCasesCommand.d.ts +2 -0
  68. package/dist-types/ts3.4/commands/DescribeCommunicationsCommand.d.ts +2 -0
  69. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +2 -0
  70. package/dist-types/ts3.4/commands/DescribeSeverityLevelsCommand.d.ts +2 -0
  71. package/dist-types/ts3.4/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.d.ts +2 -0
  72. package/dist-types/ts3.4/commands/DescribeTrustedAdvisorCheckResultCommand.d.ts +2 -0
  73. package/dist-types/ts3.4/commands/DescribeTrustedAdvisorCheckSummariesCommand.d.ts +2 -0
  74. package/dist-types/ts3.4/commands/DescribeTrustedAdvisorChecksCommand.d.ts +2 -0
  75. package/dist-types/ts3.4/commands/RefreshTrustedAdvisorCheckCommand.d.ts +2 -0
  76. package/dist-types/ts3.4/commands/ResolveCaseCommand.d.ts +2 -0
  77. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  78. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  79. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  80. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  81. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  82. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  83. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  84. package/package.json +4 -2
  85. package/dist-cjs/endpoints.js +0 -179
  86. package/dist-es/endpoints.js +0 -175
  87. package/dist-types/endpoints.d.ts +0 -2
  88. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,179 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultRegionInfoProvider = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const regionHash = {
6
- "aws-cn-global": {
7
- variants: [
8
- {
9
- hostname: "support.cn-north-1.amazonaws.com.cn",
10
- tags: [],
11
- },
12
- ],
13
- signingRegion: "cn-north-1",
14
- },
15
- "aws-global": {
16
- variants: [
17
- {
18
- hostname: "support.us-east-1.amazonaws.com",
19
- tags: [],
20
- },
21
- ],
22
- signingRegion: "us-east-1",
23
- },
24
- "aws-iso-b-global": {
25
- variants: [
26
- {
27
- hostname: "support.us-isob-east-1.sc2s.sgov.gov",
28
- tags: [],
29
- },
30
- ],
31
- signingRegion: "us-isob-east-1",
32
- },
33
- "aws-iso-global": {
34
- variants: [
35
- {
36
- hostname: "support.us-iso-east-1.c2s.ic.gov",
37
- tags: [],
38
- },
39
- ],
40
- signingRegion: "us-iso-east-1",
41
- },
42
- "aws-us-gov-global": {
43
- variants: [
44
- {
45
- hostname: "support.us-gov-west-1.amazonaws.com",
46
- tags: [],
47
- },
48
- ],
49
- signingRegion: "us-gov-west-1",
50
- },
51
- };
52
- const partitionHash = {
53
- aws: {
54
- regions: [
55
- "af-south-1",
56
- "ap-east-1",
57
- "ap-northeast-1",
58
- "ap-northeast-2",
59
- "ap-northeast-3",
60
- "ap-south-1",
61
- "ap-southeast-1",
62
- "ap-southeast-2",
63
- "ap-southeast-3",
64
- "aws-global",
65
- "ca-central-1",
66
- "eu-central-1",
67
- "eu-north-1",
68
- "eu-south-1",
69
- "eu-west-1",
70
- "eu-west-2",
71
- "eu-west-3",
72
- "me-central-1",
73
- "me-south-1",
74
- "sa-east-1",
75
- "us-east-1",
76
- "us-east-2",
77
- "us-west-1",
78
- "us-west-2",
79
- ],
80
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
81
- variants: [
82
- {
83
- hostname: "support.{region}.amazonaws.com",
84
- tags: [],
85
- },
86
- {
87
- hostname: "support-fips.{region}.amazonaws.com",
88
- tags: ["fips"],
89
- },
90
- {
91
- hostname: "support-fips.{region}.api.aws",
92
- tags: ["dualstack", "fips"],
93
- },
94
- {
95
- hostname: "support.{region}.api.aws",
96
- tags: ["dualstack"],
97
- },
98
- ],
99
- },
100
- "aws-cn": {
101
- regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
102
- regionRegex: "^cn\\-\\w+\\-\\d+$",
103
- variants: [
104
- {
105
- hostname: "support.{region}.amazonaws.com.cn",
106
- tags: [],
107
- },
108
- {
109
- hostname: "support-fips.{region}.amazonaws.com.cn",
110
- tags: ["fips"],
111
- },
112
- {
113
- hostname: "support-fips.{region}.api.amazonwebservices.com.cn",
114
- tags: ["dualstack", "fips"],
115
- },
116
- {
117
- hostname: "support.{region}.api.amazonwebservices.com.cn",
118
- tags: ["dualstack"],
119
- },
120
- ],
121
- },
122
- "aws-iso": {
123
- regions: ["aws-iso-global", "us-iso-east-1", "us-iso-west-1"],
124
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
125
- variants: [
126
- {
127
- hostname: "support.{region}.c2s.ic.gov",
128
- tags: [],
129
- },
130
- {
131
- hostname: "support-fips.{region}.c2s.ic.gov",
132
- tags: ["fips"],
133
- },
134
- ],
135
- },
136
- "aws-iso-b": {
137
- regions: ["aws-iso-b-global", "us-isob-east-1"],
138
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
139
- variants: [
140
- {
141
- hostname: "support.{region}.sc2s.sgov.gov",
142
- tags: [],
143
- },
144
- {
145
- hostname: "support-fips.{region}.sc2s.sgov.gov",
146
- tags: ["fips"],
147
- },
148
- ],
149
- },
150
- "aws-us-gov": {
151
- regions: ["aws-us-gov-global", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
152
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
153
- variants: [
154
- {
155
- hostname: "support.{region}.amazonaws.com",
156
- tags: [],
157
- },
158
- {
159
- hostname: "support-fips.{region}.amazonaws.com",
160
- tags: ["fips"],
161
- },
162
- {
163
- hostname: "support-fips.{region}.api.aws",
164
- tags: ["dualstack", "fips"],
165
- },
166
- {
167
- hostname: "support.{region}.api.aws",
168
- tags: ["dualstack"],
169
- },
170
- ],
171
- },
172
- };
173
- const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
174
- ...options,
175
- signingService: "support",
176
- regionHash,
177
- partitionHash,
178
- });
179
- exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
@@ -1,175 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- "aws-cn-global": {
4
- variants: [
5
- {
6
- hostname: "support.cn-north-1.amazonaws.com.cn",
7
- tags: [],
8
- },
9
- ],
10
- signingRegion: "cn-north-1",
11
- },
12
- "aws-global": {
13
- variants: [
14
- {
15
- hostname: "support.us-east-1.amazonaws.com",
16
- tags: [],
17
- },
18
- ],
19
- signingRegion: "us-east-1",
20
- },
21
- "aws-iso-b-global": {
22
- variants: [
23
- {
24
- hostname: "support.us-isob-east-1.sc2s.sgov.gov",
25
- tags: [],
26
- },
27
- ],
28
- signingRegion: "us-isob-east-1",
29
- },
30
- "aws-iso-global": {
31
- variants: [
32
- {
33
- hostname: "support.us-iso-east-1.c2s.ic.gov",
34
- tags: [],
35
- },
36
- ],
37
- signingRegion: "us-iso-east-1",
38
- },
39
- "aws-us-gov-global": {
40
- variants: [
41
- {
42
- hostname: "support.us-gov-west-1.amazonaws.com",
43
- tags: [],
44
- },
45
- ],
46
- signingRegion: "us-gov-west-1",
47
- },
48
- };
49
- const partitionHash = {
50
- aws: {
51
- regions: [
52
- "af-south-1",
53
- "ap-east-1",
54
- "ap-northeast-1",
55
- "ap-northeast-2",
56
- "ap-northeast-3",
57
- "ap-south-1",
58
- "ap-southeast-1",
59
- "ap-southeast-2",
60
- "ap-southeast-3",
61
- "aws-global",
62
- "ca-central-1",
63
- "eu-central-1",
64
- "eu-north-1",
65
- "eu-south-1",
66
- "eu-west-1",
67
- "eu-west-2",
68
- "eu-west-3",
69
- "me-central-1",
70
- "me-south-1",
71
- "sa-east-1",
72
- "us-east-1",
73
- "us-east-2",
74
- "us-west-1",
75
- "us-west-2",
76
- ],
77
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
78
- variants: [
79
- {
80
- hostname: "support.{region}.amazonaws.com",
81
- tags: [],
82
- },
83
- {
84
- hostname: "support-fips.{region}.amazonaws.com",
85
- tags: ["fips"],
86
- },
87
- {
88
- hostname: "support-fips.{region}.api.aws",
89
- tags: ["dualstack", "fips"],
90
- },
91
- {
92
- hostname: "support.{region}.api.aws",
93
- tags: ["dualstack"],
94
- },
95
- ],
96
- },
97
- "aws-cn": {
98
- regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
99
- regionRegex: "^cn\\-\\w+\\-\\d+$",
100
- variants: [
101
- {
102
- hostname: "support.{region}.amazonaws.com.cn",
103
- tags: [],
104
- },
105
- {
106
- hostname: "support-fips.{region}.amazonaws.com.cn",
107
- tags: ["fips"],
108
- },
109
- {
110
- hostname: "support-fips.{region}.api.amazonwebservices.com.cn",
111
- tags: ["dualstack", "fips"],
112
- },
113
- {
114
- hostname: "support.{region}.api.amazonwebservices.com.cn",
115
- tags: ["dualstack"],
116
- },
117
- ],
118
- },
119
- "aws-iso": {
120
- regions: ["aws-iso-global", "us-iso-east-1", "us-iso-west-1"],
121
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
122
- variants: [
123
- {
124
- hostname: "support.{region}.c2s.ic.gov",
125
- tags: [],
126
- },
127
- {
128
- hostname: "support-fips.{region}.c2s.ic.gov",
129
- tags: ["fips"],
130
- },
131
- ],
132
- },
133
- "aws-iso-b": {
134
- regions: ["aws-iso-b-global", "us-isob-east-1"],
135
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
136
- variants: [
137
- {
138
- hostname: "support.{region}.sc2s.sgov.gov",
139
- tags: [],
140
- },
141
- {
142
- hostname: "support-fips.{region}.sc2s.sgov.gov",
143
- tags: ["fips"],
144
- },
145
- ],
146
- },
147
- "aws-us-gov": {
148
- regions: ["aws-us-gov-global", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
149
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
150
- variants: [
151
- {
152
- hostname: "support.{region}.amazonaws.com",
153
- tags: [],
154
- },
155
- {
156
- hostname: "support-fips.{region}.amazonaws.com",
157
- tags: ["fips"],
158
- },
159
- {
160
- hostname: "support-fips.{region}.api.aws",
161
- tags: ["dualstack", "fips"],
162
- },
163
- {
164
- hostname: "support.{region}.api.aws",
165
- tags: ["dualstack"],
166
- },
167
- ],
168
- },
169
- };
170
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
171
- ...options,
172
- signingService: "support",
173
- regionHash,
174
- partitionHash,
175
- });
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;