@aws-sdk/client-support 3.901.0 → 3.906.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.
- package/dist-cjs/index.js +1132 -1269
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -1,1323 +1,1186 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
CreateCaseCommand: () => CreateCaseCommand,
|
|
34
|
-
DescribeAttachmentCommand: () => DescribeAttachmentCommand,
|
|
35
|
-
DescribeAttachmentLimitExceeded: () => DescribeAttachmentLimitExceeded,
|
|
36
|
-
DescribeCasesCommand: () => DescribeCasesCommand,
|
|
37
|
-
DescribeCommunicationsCommand: () => DescribeCommunicationsCommand,
|
|
38
|
-
DescribeCreateCaseOptionsCommand: () => DescribeCreateCaseOptionsCommand,
|
|
39
|
-
DescribeServicesCommand: () => DescribeServicesCommand,
|
|
40
|
-
DescribeSeverityLevelsCommand: () => DescribeSeverityLevelsCommand,
|
|
41
|
-
DescribeSupportedLanguagesCommand: () => DescribeSupportedLanguagesCommand,
|
|
42
|
-
DescribeTrustedAdvisorCheckRefreshStatusesCommand: () => DescribeTrustedAdvisorCheckRefreshStatusesCommand,
|
|
43
|
-
DescribeTrustedAdvisorCheckResultCommand: () => DescribeTrustedAdvisorCheckResultCommand,
|
|
44
|
-
DescribeTrustedAdvisorCheckSummariesCommand: () => DescribeTrustedAdvisorCheckSummariesCommand,
|
|
45
|
-
DescribeTrustedAdvisorChecksCommand: () => DescribeTrustedAdvisorChecksCommand,
|
|
46
|
-
InternalServerError: () => InternalServerError,
|
|
47
|
-
RefreshTrustedAdvisorCheckCommand: () => RefreshTrustedAdvisorCheckCommand,
|
|
48
|
-
ResolveCaseCommand: () => ResolveCaseCommand,
|
|
49
|
-
Support: () => Support,
|
|
50
|
-
SupportClient: () => SupportClient,
|
|
51
|
-
SupportServiceException: () => SupportServiceException,
|
|
52
|
-
ThrottlingException: () => ThrottlingException,
|
|
53
|
-
__Client: () => import_smithy_client.Client,
|
|
54
|
-
paginateDescribeCases: () => paginateDescribeCases,
|
|
55
|
-
paginateDescribeCommunications: () => paginateDescribeCommunications
|
|
56
|
-
});
|
|
57
|
-
module.exports = __toCommonJS(index_exports);
|
|
58
|
-
|
|
59
|
-
// src/SupportClient.ts
|
|
60
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
61
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
62
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
63
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
64
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
65
|
-
var import_core = require("@smithy/core");
|
|
66
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
67
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
68
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
69
|
-
|
|
70
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "support",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
|
+
};
|
|
71
33
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
85
71
|
};
|
|
86
72
|
|
|
87
|
-
|
|
88
|
-
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
89
78
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
79
|
+
class SupportClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSupportHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
107
|
+
}
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
94
112
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
let _credentials = runtimeConfig.credentials;
|
|
100
|
-
return {
|
|
101
|
-
setHttpAuthScheme(httpAuthScheme) {
|
|
102
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
103
|
-
if (index === -1) {
|
|
104
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
|
105
|
-
} else {
|
|
106
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
httpAuthSchemes() {
|
|
110
|
-
return _httpAuthSchemes;
|
|
111
|
-
},
|
|
112
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
113
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
114
|
-
},
|
|
115
|
-
httpAuthSchemeProvider() {
|
|
116
|
-
return _httpAuthSchemeProvider;
|
|
117
|
-
},
|
|
118
|
-
setCredentials(credentials) {
|
|
119
|
-
_credentials = credentials;
|
|
120
|
-
},
|
|
121
|
-
credentials() {
|
|
122
|
-
return _credentials;
|
|
113
|
+
class SupportServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, SupportServiceException.prototype);
|
|
123
117
|
}
|
|
124
|
-
|
|
125
|
-
}, "getHttpAuthExtensionConfiguration");
|
|
126
|
-
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
127
|
-
return {
|
|
128
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
129
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
130
|
-
credentials: config.credentials()
|
|
131
|
-
};
|
|
132
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
118
|
+
}
|
|
133
119
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
(
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
120
|
+
class AttachmentLimitExceeded extends SupportServiceException {
|
|
121
|
+
name = "AttachmentLimitExceeded";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "AttachmentLimitExceeded",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts,
|
|
128
|
+
});
|
|
129
|
+
Object.setPrototypeOf(this, AttachmentLimitExceeded.prototype);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
class AttachmentSetExpired extends SupportServiceException {
|
|
133
|
+
name = "AttachmentSetExpired";
|
|
134
|
+
$fault = "client";
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "AttachmentSetExpired",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
Object.setPrototypeOf(this, AttachmentSetExpired.prototype);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
class AttachmentSetIdNotFound extends SupportServiceException {
|
|
145
|
+
name = "AttachmentSetIdNotFound";
|
|
146
|
+
$fault = "client";
|
|
147
|
+
constructor(opts) {
|
|
148
|
+
super({
|
|
149
|
+
name: "AttachmentSetIdNotFound",
|
|
150
|
+
$fault: "client",
|
|
151
|
+
...opts,
|
|
152
|
+
});
|
|
153
|
+
Object.setPrototypeOf(this, AttachmentSetIdNotFound.prototype);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
class AttachmentSetSizeLimitExceeded extends SupportServiceException {
|
|
157
|
+
name = "AttachmentSetSizeLimitExceeded";
|
|
158
|
+
$fault = "client";
|
|
159
|
+
constructor(opts) {
|
|
160
|
+
super({
|
|
161
|
+
name: "AttachmentSetSizeLimitExceeded",
|
|
162
|
+
$fault: "client",
|
|
163
|
+
...opts,
|
|
164
|
+
});
|
|
165
|
+
Object.setPrototypeOf(this, AttachmentSetSizeLimitExceeded.prototype);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
class InternalServerError extends SupportServiceException {
|
|
169
|
+
name = "InternalServerError";
|
|
170
|
+
$fault = "server";
|
|
171
|
+
constructor(opts) {
|
|
172
|
+
super({
|
|
173
|
+
name: "InternalServerError",
|
|
174
|
+
$fault: "server",
|
|
175
|
+
...opts,
|
|
176
|
+
});
|
|
177
|
+
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
class CaseIdNotFound extends SupportServiceException {
|
|
181
|
+
name = "CaseIdNotFound";
|
|
182
|
+
$fault = "client";
|
|
183
|
+
constructor(opts) {
|
|
184
|
+
super({
|
|
185
|
+
name: "CaseIdNotFound",
|
|
186
|
+
$fault: "client",
|
|
187
|
+
...opts,
|
|
188
|
+
});
|
|
189
|
+
Object.setPrototypeOf(this, CaseIdNotFound.prototype);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
class AttachmentIdNotFound extends SupportServiceException {
|
|
193
|
+
name = "AttachmentIdNotFound";
|
|
194
|
+
$fault = "client";
|
|
195
|
+
constructor(opts) {
|
|
196
|
+
super({
|
|
197
|
+
name: "AttachmentIdNotFound",
|
|
198
|
+
$fault: "client",
|
|
199
|
+
...opts,
|
|
200
|
+
});
|
|
201
|
+
Object.setPrototypeOf(this, AttachmentIdNotFound.prototype);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
class CaseCreationLimitExceeded extends SupportServiceException {
|
|
205
|
+
name = "CaseCreationLimitExceeded";
|
|
206
|
+
$fault = "client";
|
|
207
|
+
constructor(opts) {
|
|
208
|
+
super({
|
|
209
|
+
name: "CaseCreationLimitExceeded",
|
|
210
|
+
$fault: "client",
|
|
211
|
+
...opts,
|
|
212
|
+
});
|
|
213
|
+
Object.setPrototypeOf(this, CaseCreationLimitExceeded.prototype);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
class DescribeAttachmentLimitExceeded extends SupportServiceException {
|
|
217
|
+
name = "DescribeAttachmentLimitExceeded";
|
|
218
|
+
$fault = "client";
|
|
219
|
+
constructor(opts) {
|
|
220
|
+
super({
|
|
221
|
+
name: "DescribeAttachmentLimitExceeded",
|
|
222
|
+
$fault: "client",
|
|
223
|
+
...opts,
|
|
224
|
+
});
|
|
225
|
+
Object.setPrototypeOf(this, DescribeAttachmentLimitExceeded.prototype);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
class ThrottlingException extends SupportServiceException {
|
|
229
|
+
name = "ThrottlingException";
|
|
230
|
+
$fault = "client";
|
|
231
|
+
constructor(opts) {
|
|
232
|
+
super({
|
|
233
|
+
name: "ThrottlingException",
|
|
234
|
+
$fault: "client",
|
|
235
|
+
...opts,
|
|
236
|
+
});
|
|
237
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
151
240
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* The resolved configuration of SupportClient class. This is resolved and normalized from the {@link SupportClientConfig | constructor configuration interface}.
|
|
159
|
-
*/
|
|
160
|
-
config;
|
|
161
|
-
constructor(...[configuration]) {
|
|
162
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
163
|
-
super(_config_0);
|
|
164
|
-
this.initConfig = _config_0;
|
|
165
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
166
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
167
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
168
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
169
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
170
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
171
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
172
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
173
|
-
this.config = _config_8;
|
|
174
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
175
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
176
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
177
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
178
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
179
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
180
|
-
this.middlewareStack.use(
|
|
181
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
182
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSupportHttpAuthSchemeParametersProvider,
|
|
183
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
184
|
-
"aws.auth#sigv4": config.credentials
|
|
185
|
-
}), "identityProviderConfigProvider")
|
|
186
|
-
})
|
|
187
|
-
);
|
|
188
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
192
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
193
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
194
|
-
*/
|
|
195
|
-
destroy() {
|
|
196
|
-
super.destroy();
|
|
197
|
-
}
|
|
241
|
+
const se_AddAttachmentsToSetCommand = async (input, context) => {
|
|
242
|
+
const headers = sharedHeaders("AddAttachmentsToSet");
|
|
243
|
+
let body;
|
|
244
|
+
body = JSON.stringify(se_AddAttachmentsToSetRequest(input, context));
|
|
245
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
246
|
};
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
// src/protocols/Aws_json1_1.ts
|
|
209
|
-
var import_core2 = require("@aws-sdk/core");
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
// src/models/SupportServiceException.ts
|
|
214
|
-
|
|
215
|
-
var SupportServiceException = class _SupportServiceException extends import_smithy_client.ServiceException {
|
|
216
|
-
static {
|
|
217
|
-
__name(this, "SupportServiceException");
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* @internal
|
|
221
|
-
*/
|
|
222
|
-
constructor(options) {
|
|
223
|
-
super(options);
|
|
224
|
-
Object.setPrototypeOf(this, _SupportServiceException.prototype);
|
|
225
|
-
}
|
|
247
|
+
const se_AddCommunicationToCaseCommand = async (input, context) => {
|
|
248
|
+
const headers = sharedHeaders("AddCommunicationToCase");
|
|
249
|
+
let body;
|
|
250
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
251
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
226
252
|
};
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
253
|
+
const se_CreateCaseCommand = async (input, context) => {
|
|
254
|
+
const headers = sharedHeaders("CreateCase");
|
|
255
|
+
let body;
|
|
256
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
257
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
|
+
};
|
|
259
|
+
const se_DescribeAttachmentCommand = async (input, context) => {
|
|
260
|
+
const headers = sharedHeaders("DescribeAttachment");
|
|
261
|
+
let body;
|
|
262
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
263
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
264
|
+
};
|
|
265
|
+
const se_DescribeCasesCommand = async (input, context) => {
|
|
266
|
+
const headers = sharedHeaders("DescribeCases");
|
|
267
|
+
let body;
|
|
268
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
269
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
270
|
+
};
|
|
271
|
+
const se_DescribeCommunicationsCommand = async (input, context) => {
|
|
272
|
+
const headers = sharedHeaders("DescribeCommunications");
|
|
273
|
+
let body;
|
|
274
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
275
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
276
|
+
};
|
|
277
|
+
const se_DescribeCreateCaseOptionsCommand = async (input, context) => {
|
|
278
|
+
const headers = sharedHeaders("DescribeCreateCaseOptions");
|
|
279
|
+
let body;
|
|
280
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
281
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
282
|
+
};
|
|
283
|
+
const se_DescribeServicesCommand = async (input, context) => {
|
|
284
|
+
const headers = sharedHeaders("DescribeServices");
|
|
285
|
+
let body;
|
|
286
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
287
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
|
+
};
|
|
289
|
+
const se_DescribeSeverityLevelsCommand = async (input, context) => {
|
|
290
|
+
const headers = sharedHeaders("DescribeSeverityLevels");
|
|
291
|
+
let body;
|
|
292
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
293
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
|
+
};
|
|
295
|
+
const se_DescribeSupportedLanguagesCommand = async (input, context) => {
|
|
296
|
+
const headers = sharedHeaders("DescribeSupportedLanguages");
|
|
297
|
+
let body;
|
|
298
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
299
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
300
|
+
};
|
|
301
|
+
const se_DescribeTrustedAdvisorCheckRefreshStatusesCommand = async (input, context) => {
|
|
302
|
+
const headers = sharedHeaders("DescribeTrustedAdvisorCheckRefreshStatuses");
|
|
303
|
+
let body;
|
|
304
|
+
body = JSON.stringify(se_DescribeTrustedAdvisorCheckRefreshStatusesRequest(input));
|
|
305
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
306
|
+
};
|
|
307
|
+
const se_DescribeTrustedAdvisorCheckResultCommand = async (input, context) => {
|
|
308
|
+
const headers = sharedHeaders("DescribeTrustedAdvisorCheckResult");
|
|
309
|
+
let body;
|
|
310
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
311
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
312
|
+
};
|
|
313
|
+
const se_DescribeTrustedAdvisorChecksCommand = async (input, context) => {
|
|
314
|
+
const headers = sharedHeaders("DescribeTrustedAdvisorChecks");
|
|
315
|
+
let body;
|
|
316
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
317
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
318
|
+
};
|
|
319
|
+
const se_DescribeTrustedAdvisorCheckSummariesCommand = async (input, context) => {
|
|
320
|
+
const headers = sharedHeaders("DescribeTrustedAdvisorCheckSummaries");
|
|
321
|
+
let body;
|
|
322
|
+
body = JSON.stringify(se_DescribeTrustedAdvisorCheckSummariesRequest(input));
|
|
323
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
324
|
+
};
|
|
325
|
+
const se_RefreshTrustedAdvisorCheckCommand = async (input, context) => {
|
|
326
|
+
const headers = sharedHeaders("RefreshTrustedAdvisorCheck");
|
|
327
|
+
let body;
|
|
328
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
329
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
330
|
+
};
|
|
331
|
+
const se_ResolveCaseCommand = async (input, context) => {
|
|
332
|
+
const headers = sharedHeaders("ResolveCase");
|
|
333
|
+
let body;
|
|
334
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
335
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
336
|
+
};
|
|
337
|
+
const de_AddAttachmentsToSetCommand = async (output, context) => {
|
|
338
|
+
if (output.statusCode >= 300) {
|
|
339
|
+
return de_CommandError(output, context);
|
|
340
|
+
}
|
|
341
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
342
|
+
let contents = {};
|
|
343
|
+
contents = smithyClient._json(data);
|
|
344
|
+
const response = {
|
|
345
|
+
$metadata: deserializeMetadata(output),
|
|
346
|
+
...contents,
|
|
347
|
+
};
|
|
348
|
+
return response;
|
|
349
|
+
};
|
|
350
|
+
const de_AddCommunicationToCaseCommand = async (output, context) => {
|
|
351
|
+
if (output.statusCode >= 300) {
|
|
352
|
+
return de_CommandError(output, context);
|
|
353
|
+
}
|
|
354
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
355
|
+
let contents = {};
|
|
356
|
+
contents = smithyClient._json(data);
|
|
357
|
+
const response = {
|
|
358
|
+
$metadata: deserializeMetadata(output),
|
|
359
|
+
...contents,
|
|
360
|
+
};
|
|
361
|
+
return response;
|
|
362
|
+
};
|
|
363
|
+
const de_CreateCaseCommand = async (output, context) => {
|
|
364
|
+
if (output.statusCode >= 300) {
|
|
365
|
+
return de_CommandError(output, context);
|
|
366
|
+
}
|
|
367
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
368
|
+
let contents = {};
|
|
369
|
+
contents = smithyClient._json(data);
|
|
370
|
+
const response = {
|
|
371
|
+
$metadata: deserializeMetadata(output),
|
|
372
|
+
...contents,
|
|
373
|
+
};
|
|
374
|
+
return response;
|
|
375
|
+
};
|
|
376
|
+
const de_DescribeAttachmentCommand = async (output, context) => {
|
|
377
|
+
if (output.statusCode >= 300) {
|
|
378
|
+
return de_CommandError(output, context);
|
|
379
|
+
}
|
|
380
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
381
|
+
let contents = {};
|
|
382
|
+
contents = de_DescribeAttachmentResponse(data, context);
|
|
383
|
+
const response = {
|
|
384
|
+
$metadata: deserializeMetadata(output),
|
|
385
|
+
...contents,
|
|
386
|
+
};
|
|
387
|
+
return response;
|
|
388
|
+
};
|
|
389
|
+
const de_DescribeCasesCommand = async (output, context) => {
|
|
390
|
+
if (output.statusCode >= 300) {
|
|
391
|
+
return de_CommandError(output, context);
|
|
392
|
+
}
|
|
393
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
394
|
+
let contents = {};
|
|
395
|
+
contents = smithyClient._json(data);
|
|
396
|
+
const response = {
|
|
397
|
+
$metadata: deserializeMetadata(output),
|
|
398
|
+
...contents,
|
|
399
|
+
};
|
|
400
|
+
return response;
|
|
401
|
+
};
|
|
402
|
+
const de_DescribeCommunicationsCommand = async (output, context) => {
|
|
403
|
+
if (output.statusCode >= 300) {
|
|
404
|
+
return de_CommandError(output, context);
|
|
405
|
+
}
|
|
406
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
407
|
+
let contents = {};
|
|
408
|
+
contents = smithyClient._json(data);
|
|
409
|
+
const response = {
|
|
410
|
+
$metadata: deserializeMetadata(output),
|
|
411
|
+
...contents,
|
|
412
|
+
};
|
|
413
|
+
return response;
|
|
414
|
+
};
|
|
415
|
+
const de_DescribeCreateCaseOptionsCommand = async (output, context) => {
|
|
416
|
+
if (output.statusCode >= 300) {
|
|
417
|
+
return de_CommandError(output, context);
|
|
418
|
+
}
|
|
419
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
420
|
+
let contents = {};
|
|
421
|
+
contents = smithyClient._json(data);
|
|
422
|
+
const response = {
|
|
423
|
+
$metadata: deserializeMetadata(output),
|
|
424
|
+
...contents,
|
|
425
|
+
};
|
|
426
|
+
return response;
|
|
427
|
+
};
|
|
428
|
+
const de_DescribeServicesCommand = async (output, context) => {
|
|
429
|
+
if (output.statusCode >= 300) {
|
|
430
|
+
return de_CommandError(output, context);
|
|
431
|
+
}
|
|
432
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
433
|
+
let contents = {};
|
|
434
|
+
contents = smithyClient._json(data);
|
|
435
|
+
const response = {
|
|
436
|
+
$metadata: deserializeMetadata(output),
|
|
437
|
+
...contents,
|
|
438
|
+
};
|
|
439
|
+
return response;
|
|
440
|
+
};
|
|
441
|
+
const de_DescribeSeverityLevelsCommand = async (output, context) => {
|
|
442
|
+
if (output.statusCode >= 300) {
|
|
443
|
+
return de_CommandError(output, context);
|
|
444
|
+
}
|
|
445
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
446
|
+
let contents = {};
|
|
447
|
+
contents = smithyClient._json(data);
|
|
448
|
+
const response = {
|
|
449
|
+
$metadata: deserializeMetadata(output),
|
|
450
|
+
...contents,
|
|
451
|
+
};
|
|
452
|
+
return response;
|
|
453
|
+
};
|
|
454
|
+
const de_DescribeSupportedLanguagesCommand = async (output, context) => {
|
|
455
|
+
if (output.statusCode >= 300) {
|
|
456
|
+
return de_CommandError(output, context);
|
|
457
|
+
}
|
|
458
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
459
|
+
let contents = {};
|
|
460
|
+
contents = smithyClient._json(data);
|
|
461
|
+
const response = {
|
|
462
|
+
$metadata: deserializeMetadata(output),
|
|
463
|
+
...contents,
|
|
464
|
+
};
|
|
465
|
+
return response;
|
|
466
|
+
};
|
|
467
|
+
const de_DescribeTrustedAdvisorCheckRefreshStatusesCommand = async (output, context) => {
|
|
468
|
+
if (output.statusCode >= 300) {
|
|
469
|
+
return de_CommandError(output, context);
|
|
470
|
+
}
|
|
471
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
472
|
+
let contents = {};
|
|
473
|
+
contents = smithyClient._json(data);
|
|
474
|
+
const response = {
|
|
475
|
+
$metadata: deserializeMetadata(output),
|
|
476
|
+
...contents,
|
|
477
|
+
};
|
|
478
|
+
return response;
|
|
479
|
+
};
|
|
480
|
+
const de_DescribeTrustedAdvisorCheckResultCommand = async (output, context) => {
|
|
481
|
+
if (output.statusCode >= 300) {
|
|
482
|
+
return de_CommandError(output, context);
|
|
483
|
+
}
|
|
484
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
485
|
+
let contents = {};
|
|
486
|
+
contents = de_DescribeTrustedAdvisorCheckResultResponse(data);
|
|
487
|
+
const response = {
|
|
488
|
+
$metadata: deserializeMetadata(output),
|
|
489
|
+
...contents,
|
|
490
|
+
};
|
|
491
|
+
return response;
|
|
492
|
+
};
|
|
493
|
+
const de_DescribeTrustedAdvisorChecksCommand = async (output, context) => {
|
|
494
|
+
if (output.statusCode >= 300) {
|
|
495
|
+
return de_CommandError(output, context);
|
|
496
|
+
}
|
|
497
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
498
|
+
let contents = {};
|
|
499
|
+
contents = de_DescribeTrustedAdvisorChecksResponse(data);
|
|
500
|
+
const response = {
|
|
501
|
+
$metadata: deserializeMetadata(output),
|
|
502
|
+
...contents,
|
|
503
|
+
};
|
|
504
|
+
return response;
|
|
505
|
+
};
|
|
506
|
+
const de_DescribeTrustedAdvisorCheckSummariesCommand = async (output, context) => {
|
|
507
|
+
if (output.statusCode >= 300) {
|
|
508
|
+
return de_CommandError(output, context);
|
|
509
|
+
}
|
|
510
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
511
|
+
let contents = {};
|
|
512
|
+
contents = de_DescribeTrustedAdvisorCheckSummariesResponse(data);
|
|
513
|
+
const response = {
|
|
514
|
+
$metadata: deserializeMetadata(output),
|
|
515
|
+
...contents,
|
|
516
|
+
};
|
|
517
|
+
return response;
|
|
518
|
+
};
|
|
519
|
+
const de_RefreshTrustedAdvisorCheckCommand = async (output, context) => {
|
|
520
|
+
if (output.statusCode >= 300) {
|
|
521
|
+
return de_CommandError(output, context);
|
|
522
|
+
}
|
|
523
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
524
|
+
let contents = {};
|
|
525
|
+
contents = smithyClient._json(data);
|
|
526
|
+
const response = {
|
|
527
|
+
$metadata: deserializeMetadata(output),
|
|
528
|
+
...contents,
|
|
529
|
+
};
|
|
530
|
+
return response;
|
|
531
|
+
};
|
|
532
|
+
const de_ResolveCaseCommand = async (output, context) => {
|
|
533
|
+
if (output.statusCode >= 300) {
|
|
534
|
+
return de_CommandError(output, context);
|
|
535
|
+
}
|
|
536
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
537
|
+
let contents = {};
|
|
538
|
+
contents = smithyClient._json(data);
|
|
539
|
+
const response = {
|
|
540
|
+
$metadata: deserializeMetadata(output),
|
|
541
|
+
...contents,
|
|
542
|
+
};
|
|
543
|
+
return response;
|
|
544
|
+
};
|
|
545
|
+
const de_CommandError = async (output, context) => {
|
|
546
|
+
const parsedOutput = {
|
|
547
|
+
...output,
|
|
548
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
549
|
+
};
|
|
550
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
551
|
+
switch (errorCode) {
|
|
552
|
+
case "AttachmentLimitExceeded":
|
|
553
|
+
case "com.amazonaws.support#AttachmentLimitExceeded":
|
|
554
|
+
throw await de_AttachmentLimitExceededRes(parsedOutput);
|
|
555
|
+
case "AttachmentSetExpired":
|
|
556
|
+
case "com.amazonaws.support#AttachmentSetExpired":
|
|
557
|
+
throw await de_AttachmentSetExpiredRes(parsedOutput);
|
|
558
|
+
case "AttachmentSetIdNotFound":
|
|
559
|
+
case "com.amazonaws.support#AttachmentSetIdNotFound":
|
|
560
|
+
throw await de_AttachmentSetIdNotFoundRes(parsedOutput);
|
|
561
|
+
case "AttachmentSetSizeLimitExceeded":
|
|
562
|
+
case "com.amazonaws.support#AttachmentSetSizeLimitExceeded":
|
|
563
|
+
throw await de_AttachmentSetSizeLimitExceededRes(parsedOutput);
|
|
564
|
+
case "InternalServerError":
|
|
565
|
+
case "com.amazonaws.support#InternalServerError":
|
|
566
|
+
throw await de_InternalServerErrorRes(parsedOutput);
|
|
567
|
+
case "CaseIdNotFound":
|
|
568
|
+
case "com.amazonaws.support#CaseIdNotFound":
|
|
569
|
+
throw await de_CaseIdNotFoundRes(parsedOutput);
|
|
570
|
+
case "CaseCreationLimitExceeded":
|
|
571
|
+
case "com.amazonaws.support#CaseCreationLimitExceeded":
|
|
572
|
+
throw await de_CaseCreationLimitExceededRes(parsedOutput);
|
|
573
|
+
case "AttachmentIdNotFound":
|
|
574
|
+
case "com.amazonaws.support#AttachmentIdNotFound":
|
|
575
|
+
throw await de_AttachmentIdNotFoundRes(parsedOutput);
|
|
576
|
+
case "DescribeAttachmentLimitExceeded":
|
|
577
|
+
case "com.amazonaws.support#DescribeAttachmentLimitExceeded":
|
|
578
|
+
throw await de_DescribeAttachmentLimitExceededRes(parsedOutput);
|
|
579
|
+
case "ThrottlingException":
|
|
580
|
+
case "com.amazonaws.support#ThrottlingException":
|
|
581
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
582
|
+
default:
|
|
583
|
+
const parsedBody = parsedOutput.body;
|
|
584
|
+
return throwDefaultError({
|
|
585
|
+
output,
|
|
586
|
+
parsedBody,
|
|
587
|
+
errorCode,
|
|
588
|
+
});
|
|
589
|
+
}
|
|
590
|
+
};
|
|
591
|
+
const de_AttachmentIdNotFoundRes = async (parsedOutput, context) => {
|
|
592
|
+
const body = parsedOutput.body;
|
|
593
|
+
const deserialized = smithyClient._json(body);
|
|
594
|
+
const exception = new AttachmentIdNotFound({
|
|
595
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
596
|
+
...deserialized,
|
|
243
597
|
});
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
$fault = "client";
|
|
253
|
-
/**
|
|
254
|
-
* @internal
|
|
255
|
-
*/
|
|
256
|
-
constructor(opts) {
|
|
257
|
-
super({
|
|
258
|
-
name: "AttachmentSetExpired",
|
|
259
|
-
$fault: "client",
|
|
260
|
-
...opts
|
|
598
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
599
|
+
};
|
|
600
|
+
const de_AttachmentLimitExceededRes = async (parsedOutput, context) => {
|
|
601
|
+
const body = parsedOutput.body;
|
|
602
|
+
const deserialized = smithyClient._json(body);
|
|
603
|
+
const exception = new AttachmentLimitExceeded({
|
|
604
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
605
|
+
...deserialized,
|
|
261
606
|
});
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
$fault = "client";
|
|
271
|
-
/**
|
|
272
|
-
* @internal
|
|
273
|
-
*/
|
|
274
|
-
constructor(opts) {
|
|
275
|
-
super({
|
|
276
|
-
name: "AttachmentSetIdNotFound",
|
|
277
|
-
$fault: "client",
|
|
278
|
-
...opts
|
|
607
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
608
|
+
};
|
|
609
|
+
const de_AttachmentSetExpiredRes = async (parsedOutput, context) => {
|
|
610
|
+
const body = parsedOutput.body;
|
|
611
|
+
const deserialized = smithyClient._json(body);
|
|
612
|
+
const exception = new AttachmentSetExpired({
|
|
613
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
614
|
+
...deserialized,
|
|
279
615
|
});
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
$fault = "client";
|
|
289
|
-
/**
|
|
290
|
-
* @internal
|
|
291
|
-
*/
|
|
292
|
-
constructor(opts) {
|
|
293
|
-
super({
|
|
294
|
-
name: "AttachmentSetSizeLimitExceeded",
|
|
295
|
-
$fault: "client",
|
|
296
|
-
...opts
|
|
616
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
617
|
+
};
|
|
618
|
+
const de_AttachmentSetIdNotFoundRes = async (parsedOutput, context) => {
|
|
619
|
+
const body = parsedOutput.body;
|
|
620
|
+
const deserialized = smithyClient._json(body);
|
|
621
|
+
const exception = new AttachmentSetIdNotFound({
|
|
622
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
623
|
+
...deserialized,
|
|
297
624
|
});
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
$fault = "server";
|
|
307
|
-
/**
|
|
308
|
-
* @internal
|
|
309
|
-
*/
|
|
310
|
-
constructor(opts) {
|
|
311
|
-
super({
|
|
312
|
-
name: "InternalServerError",
|
|
313
|
-
$fault: "server",
|
|
314
|
-
...opts
|
|
625
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
626
|
+
};
|
|
627
|
+
const de_AttachmentSetSizeLimitExceededRes = async (parsedOutput, context) => {
|
|
628
|
+
const body = parsedOutput.body;
|
|
629
|
+
const deserialized = smithyClient._json(body);
|
|
630
|
+
const exception = new AttachmentSetSizeLimitExceeded({
|
|
631
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
632
|
+
...deserialized,
|
|
315
633
|
});
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
$fault = "client";
|
|
325
|
-
/**
|
|
326
|
-
* @internal
|
|
327
|
-
*/
|
|
328
|
-
constructor(opts) {
|
|
329
|
-
super({
|
|
330
|
-
name: "CaseIdNotFound",
|
|
331
|
-
$fault: "client",
|
|
332
|
-
...opts
|
|
634
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
635
|
+
};
|
|
636
|
+
const de_CaseCreationLimitExceededRes = async (parsedOutput, context) => {
|
|
637
|
+
const body = parsedOutput.body;
|
|
638
|
+
const deserialized = smithyClient._json(body);
|
|
639
|
+
const exception = new CaseCreationLimitExceeded({
|
|
640
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
641
|
+
...deserialized,
|
|
333
642
|
});
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
$fault = "client";
|
|
343
|
-
/**
|
|
344
|
-
* @internal
|
|
345
|
-
*/
|
|
346
|
-
constructor(opts) {
|
|
347
|
-
super({
|
|
348
|
-
name: "AttachmentIdNotFound",
|
|
349
|
-
$fault: "client",
|
|
350
|
-
...opts
|
|
643
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
644
|
+
};
|
|
645
|
+
const de_CaseIdNotFoundRes = async (parsedOutput, context) => {
|
|
646
|
+
const body = parsedOutput.body;
|
|
647
|
+
const deserialized = smithyClient._json(body);
|
|
648
|
+
const exception = new CaseIdNotFound({
|
|
649
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
650
|
+
...deserialized,
|
|
351
651
|
});
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
$fault = "client";
|
|
361
|
-
/**
|
|
362
|
-
* @internal
|
|
363
|
-
*/
|
|
364
|
-
constructor(opts) {
|
|
365
|
-
super({
|
|
366
|
-
name: "CaseCreationLimitExceeded",
|
|
367
|
-
$fault: "client",
|
|
368
|
-
...opts
|
|
652
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
653
|
+
};
|
|
654
|
+
const de_DescribeAttachmentLimitExceededRes = async (parsedOutput, context) => {
|
|
655
|
+
const body = parsedOutput.body;
|
|
656
|
+
const deserialized = smithyClient._json(body);
|
|
657
|
+
const exception = new DescribeAttachmentLimitExceeded({
|
|
658
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
659
|
+
...deserialized,
|
|
369
660
|
});
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
$fault = "client";
|
|
379
|
-
/**
|
|
380
|
-
* @internal
|
|
381
|
-
*/
|
|
382
|
-
constructor(opts) {
|
|
383
|
-
super({
|
|
384
|
-
name: "DescribeAttachmentLimitExceeded",
|
|
385
|
-
$fault: "client",
|
|
386
|
-
...opts
|
|
661
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
662
|
+
};
|
|
663
|
+
const de_InternalServerErrorRes = async (parsedOutput, context) => {
|
|
664
|
+
const body = parsedOutput.body;
|
|
665
|
+
const deserialized = smithyClient._json(body);
|
|
666
|
+
const exception = new InternalServerError({
|
|
667
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
668
|
+
...deserialized,
|
|
387
669
|
});
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
$fault = "client";
|
|
397
|
-
/**
|
|
398
|
-
* @internal
|
|
399
|
-
*/
|
|
400
|
-
constructor(opts) {
|
|
401
|
-
super({
|
|
402
|
-
name: "ThrottlingException",
|
|
403
|
-
$fault: "client",
|
|
404
|
-
...opts
|
|
670
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
671
|
+
};
|
|
672
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
673
|
+
const body = parsedOutput.body;
|
|
674
|
+
const deserialized = smithyClient._json(body);
|
|
675
|
+
const exception = new ThrottlingException({
|
|
676
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
677
|
+
...deserialized,
|
|
405
678
|
});
|
|
406
|
-
|
|
407
|
-
}
|
|
679
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
408
680
|
};
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
body = JSON.stringify(se_AddAttachmentsToSetRequest(input, context));
|
|
415
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
416
|
-
}, "se_AddAttachmentsToSetCommand");
|
|
417
|
-
var se_AddCommunicationToCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
418
|
-
const headers = sharedHeaders("AddCommunicationToCase");
|
|
419
|
-
let body;
|
|
420
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
421
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
422
|
-
}, "se_AddCommunicationToCaseCommand");
|
|
423
|
-
var se_CreateCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
424
|
-
const headers = sharedHeaders("CreateCase");
|
|
425
|
-
let body;
|
|
426
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
427
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
428
|
-
}, "se_CreateCaseCommand");
|
|
429
|
-
var se_DescribeAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
430
|
-
const headers = sharedHeaders("DescribeAttachment");
|
|
431
|
-
let body;
|
|
432
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
433
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
434
|
-
}, "se_DescribeAttachmentCommand");
|
|
435
|
-
var se_DescribeCasesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
436
|
-
const headers = sharedHeaders("DescribeCases");
|
|
437
|
-
let body;
|
|
438
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
439
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
440
|
-
}, "se_DescribeCasesCommand");
|
|
441
|
-
var se_DescribeCommunicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
442
|
-
const headers = sharedHeaders("DescribeCommunications");
|
|
443
|
-
let body;
|
|
444
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
445
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
446
|
-
}, "se_DescribeCommunicationsCommand");
|
|
447
|
-
var se_DescribeCreateCaseOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
448
|
-
const headers = sharedHeaders("DescribeCreateCaseOptions");
|
|
449
|
-
let body;
|
|
450
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
451
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
452
|
-
}, "se_DescribeCreateCaseOptionsCommand");
|
|
453
|
-
var se_DescribeServicesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
454
|
-
const headers = sharedHeaders("DescribeServices");
|
|
455
|
-
let body;
|
|
456
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
457
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
458
|
-
}, "se_DescribeServicesCommand");
|
|
459
|
-
var se_DescribeSeverityLevelsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
460
|
-
const headers = sharedHeaders("DescribeSeverityLevels");
|
|
461
|
-
let body;
|
|
462
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
463
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
464
|
-
}, "se_DescribeSeverityLevelsCommand");
|
|
465
|
-
var se_DescribeSupportedLanguagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
466
|
-
const headers = sharedHeaders("DescribeSupportedLanguages");
|
|
467
|
-
let body;
|
|
468
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
469
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
470
|
-
}, "se_DescribeSupportedLanguagesCommand");
|
|
471
|
-
var se_DescribeTrustedAdvisorCheckRefreshStatusesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
472
|
-
const headers = sharedHeaders("DescribeTrustedAdvisorCheckRefreshStatuses");
|
|
473
|
-
let body;
|
|
474
|
-
body = JSON.stringify(se_DescribeTrustedAdvisorCheckRefreshStatusesRequest(input, context));
|
|
475
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
476
|
-
}, "se_DescribeTrustedAdvisorCheckRefreshStatusesCommand");
|
|
477
|
-
var se_DescribeTrustedAdvisorCheckResultCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
478
|
-
const headers = sharedHeaders("DescribeTrustedAdvisorCheckResult");
|
|
479
|
-
let body;
|
|
480
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
481
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
482
|
-
}, "se_DescribeTrustedAdvisorCheckResultCommand");
|
|
483
|
-
var se_DescribeTrustedAdvisorChecksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
484
|
-
const headers = sharedHeaders("DescribeTrustedAdvisorChecks");
|
|
485
|
-
let body;
|
|
486
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
487
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
488
|
-
}, "se_DescribeTrustedAdvisorChecksCommand");
|
|
489
|
-
var se_DescribeTrustedAdvisorCheckSummariesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
490
|
-
const headers = sharedHeaders("DescribeTrustedAdvisorCheckSummaries");
|
|
491
|
-
let body;
|
|
492
|
-
body = JSON.stringify(se_DescribeTrustedAdvisorCheckSummariesRequest(input, context));
|
|
493
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
494
|
-
}, "se_DescribeTrustedAdvisorCheckSummariesCommand");
|
|
495
|
-
var se_RefreshTrustedAdvisorCheckCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
496
|
-
const headers = sharedHeaders("RefreshTrustedAdvisorCheck");
|
|
497
|
-
let body;
|
|
498
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
499
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
500
|
-
}, "se_RefreshTrustedAdvisorCheckCommand");
|
|
501
|
-
var se_ResolveCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
502
|
-
const headers = sharedHeaders("ResolveCase");
|
|
503
|
-
let body;
|
|
504
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
505
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
506
|
-
}, "se_ResolveCaseCommand");
|
|
507
|
-
var de_AddAttachmentsToSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
508
|
-
if (output.statusCode >= 300) {
|
|
509
|
-
return de_CommandError(output, context);
|
|
510
|
-
}
|
|
511
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
512
|
-
let contents = {};
|
|
513
|
-
contents = (0, import_smithy_client._json)(data);
|
|
514
|
-
const response = {
|
|
515
|
-
$metadata: deserializeMetadata(output),
|
|
516
|
-
...contents
|
|
517
|
-
};
|
|
518
|
-
return response;
|
|
519
|
-
}, "de_AddAttachmentsToSetCommand");
|
|
520
|
-
var de_AddCommunicationToCaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
521
|
-
if (output.statusCode >= 300) {
|
|
522
|
-
return de_CommandError(output, context);
|
|
523
|
-
}
|
|
524
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
525
|
-
let contents = {};
|
|
526
|
-
contents = (0, import_smithy_client._json)(data);
|
|
527
|
-
const response = {
|
|
528
|
-
$metadata: deserializeMetadata(output),
|
|
529
|
-
...contents
|
|
530
|
-
};
|
|
531
|
-
return response;
|
|
532
|
-
}, "de_AddCommunicationToCaseCommand");
|
|
533
|
-
var de_CreateCaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
534
|
-
if (output.statusCode >= 300) {
|
|
535
|
-
return de_CommandError(output, context);
|
|
536
|
-
}
|
|
537
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
538
|
-
let contents = {};
|
|
539
|
-
contents = (0, import_smithy_client._json)(data);
|
|
540
|
-
const response = {
|
|
541
|
-
$metadata: deserializeMetadata(output),
|
|
542
|
-
...contents
|
|
543
|
-
};
|
|
544
|
-
return response;
|
|
545
|
-
}, "de_CreateCaseCommand");
|
|
546
|
-
var de_DescribeAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
547
|
-
if (output.statusCode >= 300) {
|
|
548
|
-
return de_CommandError(output, context);
|
|
549
|
-
}
|
|
550
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
551
|
-
let contents = {};
|
|
552
|
-
contents = de_DescribeAttachmentResponse(data, context);
|
|
553
|
-
const response = {
|
|
554
|
-
$metadata: deserializeMetadata(output),
|
|
555
|
-
...contents
|
|
556
|
-
};
|
|
557
|
-
return response;
|
|
558
|
-
}, "de_DescribeAttachmentCommand");
|
|
559
|
-
var de_DescribeCasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
560
|
-
if (output.statusCode >= 300) {
|
|
561
|
-
return de_CommandError(output, context);
|
|
562
|
-
}
|
|
563
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
564
|
-
let contents = {};
|
|
565
|
-
contents = (0, import_smithy_client._json)(data);
|
|
566
|
-
const response = {
|
|
567
|
-
$metadata: deserializeMetadata(output),
|
|
568
|
-
...contents
|
|
569
|
-
};
|
|
570
|
-
return response;
|
|
571
|
-
}, "de_DescribeCasesCommand");
|
|
572
|
-
var de_DescribeCommunicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
573
|
-
if (output.statusCode >= 300) {
|
|
574
|
-
return de_CommandError(output, context);
|
|
575
|
-
}
|
|
576
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
577
|
-
let contents = {};
|
|
578
|
-
contents = (0, import_smithy_client._json)(data);
|
|
579
|
-
const response = {
|
|
580
|
-
$metadata: deserializeMetadata(output),
|
|
581
|
-
...contents
|
|
582
|
-
};
|
|
583
|
-
return response;
|
|
584
|
-
}, "de_DescribeCommunicationsCommand");
|
|
585
|
-
var de_DescribeCreateCaseOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
586
|
-
if (output.statusCode >= 300) {
|
|
587
|
-
return de_CommandError(output, context);
|
|
588
|
-
}
|
|
589
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
590
|
-
let contents = {};
|
|
591
|
-
contents = (0, import_smithy_client._json)(data);
|
|
592
|
-
const response = {
|
|
593
|
-
$metadata: deserializeMetadata(output),
|
|
594
|
-
...contents
|
|
595
|
-
};
|
|
596
|
-
return response;
|
|
597
|
-
}, "de_DescribeCreateCaseOptionsCommand");
|
|
598
|
-
var de_DescribeServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
599
|
-
if (output.statusCode >= 300) {
|
|
600
|
-
return de_CommandError(output, context);
|
|
601
|
-
}
|
|
602
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
603
|
-
let contents = {};
|
|
604
|
-
contents = (0, import_smithy_client._json)(data);
|
|
605
|
-
const response = {
|
|
606
|
-
$metadata: deserializeMetadata(output),
|
|
607
|
-
...contents
|
|
608
|
-
};
|
|
609
|
-
return response;
|
|
610
|
-
}, "de_DescribeServicesCommand");
|
|
611
|
-
var de_DescribeSeverityLevelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
612
|
-
if (output.statusCode >= 300) {
|
|
613
|
-
return de_CommandError(output, context);
|
|
614
|
-
}
|
|
615
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
616
|
-
let contents = {};
|
|
617
|
-
contents = (0, import_smithy_client._json)(data);
|
|
618
|
-
const response = {
|
|
619
|
-
$metadata: deserializeMetadata(output),
|
|
620
|
-
...contents
|
|
621
|
-
};
|
|
622
|
-
return response;
|
|
623
|
-
}, "de_DescribeSeverityLevelsCommand");
|
|
624
|
-
var de_DescribeSupportedLanguagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
625
|
-
if (output.statusCode >= 300) {
|
|
626
|
-
return de_CommandError(output, context);
|
|
627
|
-
}
|
|
628
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
629
|
-
let contents = {};
|
|
630
|
-
contents = (0, import_smithy_client._json)(data);
|
|
631
|
-
const response = {
|
|
632
|
-
$metadata: deserializeMetadata(output),
|
|
633
|
-
...contents
|
|
634
|
-
};
|
|
635
|
-
return response;
|
|
636
|
-
}, "de_DescribeSupportedLanguagesCommand");
|
|
637
|
-
var de_DescribeTrustedAdvisorCheckRefreshStatusesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
638
|
-
if (output.statusCode >= 300) {
|
|
639
|
-
return de_CommandError(output, context);
|
|
640
|
-
}
|
|
641
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
642
|
-
let contents = {};
|
|
643
|
-
contents = (0, import_smithy_client._json)(data);
|
|
644
|
-
const response = {
|
|
645
|
-
$metadata: deserializeMetadata(output),
|
|
646
|
-
...contents
|
|
647
|
-
};
|
|
648
|
-
return response;
|
|
649
|
-
}, "de_DescribeTrustedAdvisorCheckRefreshStatusesCommand");
|
|
650
|
-
var de_DescribeTrustedAdvisorCheckResultCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
651
|
-
if (output.statusCode >= 300) {
|
|
652
|
-
return de_CommandError(output, context);
|
|
653
|
-
}
|
|
654
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
655
|
-
let contents = {};
|
|
656
|
-
contents = de_DescribeTrustedAdvisorCheckResultResponse(data, context);
|
|
657
|
-
const response = {
|
|
658
|
-
$metadata: deserializeMetadata(output),
|
|
659
|
-
...contents
|
|
660
|
-
};
|
|
661
|
-
return response;
|
|
662
|
-
}, "de_DescribeTrustedAdvisorCheckResultCommand");
|
|
663
|
-
var de_DescribeTrustedAdvisorChecksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
664
|
-
if (output.statusCode >= 300) {
|
|
665
|
-
return de_CommandError(output, context);
|
|
666
|
-
}
|
|
667
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
668
|
-
let contents = {};
|
|
669
|
-
contents = de_DescribeTrustedAdvisorChecksResponse(data, context);
|
|
670
|
-
const response = {
|
|
671
|
-
$metadata: deserializeMetadata(output),
|
|
672
|
-
...contents
|
|
673
|
-
};
|
|
674
|
-
return response;
|
|
675
|
-
}, "de_DescribeTrustedAdvisorChecksCommand");
|
|
676
|
-
var de_DescribeTrustedAdvisorCheckSummariesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
677
|
-
if (output.statusCode >= 300) {
|
|
678
|
-
return de_CommandError(output, context);
|
|
679
|
-
}
|
|
680
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
681
|
-
let contents = {};
|
|
682
|
-
contents = de_DescribeTrustedAdvisorCheckSummariesResponse(data, context);
|
|
683
|
-
const response = {
|
|
684
|
-
$metadata: deserializeMetadata(output),
|
|
685
|
-
...contents
|
|
686
|
-
};
|
|
687
|
-
return response;
|
|
688
|
-
}, "de_DescribeTrustedAdvisorCheckSummariesCommand");
|
|
689
|
-
var de_RefreshTrustedAdvisorCheckCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
690
|
-
if (output.statusCode >= 300) {
|
|
691
|
-
return de_CommandError(output, context);
|
|
692
|
-
}
|
|
693
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
694
|
-
let contents = {};
|
|
695
|
-
contents = (0, import_smithy_client._json)(data);
|
|
696
|
-
const response = {
|
|
697
|
-
$metadata: deserializeMetadata(output),
|
|
698
|
-
...contents
|
|
699
|
-
};
|
|
700
|
-
return response;
|
|
701
|
-
}, "de_RefreshTrustedAdvisorCheckCommand");
|
|
702
|
-
var de_ResolveCaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
703
|
-
if (output.statusCode >= 300) {
|
|
704
|
-
return de_CommandError(output, context);
|
|
705
|
-
}
|
|
706
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
707
|
-
let contents = {};
|
|
708
|
-
contents = (0, import_smithy_client._json)(data);
|
|
709
|
-
const response = {
|
|
710
|
-
$metadata: deserializeMetadata(output),
|
|
711
|
-
...contents
|
|
712
|
-
};
|
|
713
|
-
return response;
|
|
714
|
-
}, "de_ResolveCaseCommand");
|
|
715
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
716
|
-
const parsedOutput = {
|
|
717
|
-
...output,
|
|
718
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
719
|
-
};
|
|
720
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
721
|
-
switch (errorCode) {
|
|
722
|
-
case "AttachmentLimitExceeded":
|
|
723
|
-
case "com.amazonaws.support#AttachmentLimitExceeded":
|
|
724
|
-
throw await de_AttachmentLimitExceededRes(parsedOutput, context);
|
|
725
|
-
case "AttachmentSetExpired":
|
|
726
|
-
case "com.amazonaws.support#AttachmentSetExpired":
|
|
727
|
-
throw await de_AttachmentSetExpiredRes(parsedOutput, context);
|
|
728
|
-
case "AttachmentSetIdNotFound":
|
|
729
|
-
case "com.amazonaws.support#AttachmentSetIdNotFound":
|
|
730
|
-
throw await de_AttachmentSetIdNotFoundRes(parsedOutput, context);
|
|
731
|
-
case "AttachmentSetSizeLimitExceeded":
|
|
732
|
-
case "com.amazonaws.support#AttachmentSetSizeLimitExceeded":
|
|
733
|
-
throw await de_AttachmentSetSizeLimitExceededRes(parsedOutput, context);
|
|
734
|
-
case "InternalServerError":
|
|
735
|
-
case "com.amazonaws.support#InternalServerError":
|
|
736
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
737
|
-
case "CaseIdNotFound":
|
|
738
|
-
case "com.amazonaws.support#CaseIdNotFound":
|
|
739
|
-
throw await de_CaseIdNotFoundRes(parsedOutput, context);
|
|
740
|
-
case "CaseCreationLimitExceeded":
|
|
741
|
-
case "com.amazonaws.support#CaseCreationLimitExceeded":
|
|
742
|
-
throw await de_CaseCreationLimitExceededRes(parsedOutput, context);
|
|
743
|
-
case "AttachmentIdNotFound":
|
|
744
|
-
case "com.amazonaws.support#AttachmentIdNotFound":
|
|
745
|
-
throw await de_AttachmentIdNotFoundRes(parsedOutput, context);
|
|
746
|
-
case "DescribeAttachmentLimitExceeded":
|
|
747
|
-
case "com.amazonaws.support#DescribeAttachmentLimitExceeded":
|
|
748
|
-
throw await de_DescribeAttachmentLimitExceededRes(parsedOutput, context);
|
|
749
|
-
case "ThrottlingException":
|
|
750
|
-
case "com.amazonaws.support#ThrottlingException":
|
|
751
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
752
|
-
default:
|
|
753
|
-
const parsedBody = parsedOutput.body;
|
|
754
|
-
return throwDefaultError({
|
|
755
|
-
output,
|
|
756
|
-
parsedBody,
|
|
757
|
-
errorCode
|
|
758
|
-
});
|
|
759
|
-
}
|
|
760
|
-
}, "de_CommandError");
|
|
761
|
-
var de_AttachmentIdNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
762
|
-
const body = parsedOutput.body;
|
|
763
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
764
|
-
const exception = new AttachmentIdNotFound({
|
|
765
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
766
|
-
...deserialized
|
|
767
|
-
});
|
|
768
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
769
|
-
}, "de_AttachmentIdNotFoundRes");
|
|
770
|
-
var de_AttachmentLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
771
|
-
const body = parsedOutput.body;
|
|
772
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
773
|
-
const exception = new AttachmentLimitExceeded({
|
|
774
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
775
|
-
...deserialized
|
|
776
|
-
});
|
|
777
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
778
|
-
}, "de_AttachmentLimitExceededRes");
|
|
779
|
-
var de_AttachmentSetExpiredRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
780
|
-
const body = parsedOutput.body;
|
|
781
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
782
|
-
const exception = new AttachmentSetExpired({
|
|
783
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
784
|
-
...deserialized
|
|
785
|
-
});
|
|
786
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
787
|
-
}, "de_AttachmentSetExpiredRes");
|
|
788
|
-
var de_AttachmentSetIdNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
789
|
-
const body = parsedOutput.body;
|
|
790
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
791
|
-
const exception = new AttachmentSetIdNotFound({
|
|
792
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
793
|
-
...deserialized
|
|
794
|
-
});
|
|
795
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
796
|
-
}, "de_AttachmentSetIdNotFoundRes");
|
|
797
|
-
var de_AttachmentSetSizeLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
798
|
-
const body = parsedOutput.body;
|
|
799
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
800
|
-
const exception = new AttachmentSetSizeLimitExceeded({
|
|
801
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
802
|
-
...deserialized
|
|
803
|
-
});
|
|
804
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
805
|
-
}, "de_AttachmentSetSizeLimitExceededRes");
|
|
806
|
-
var de_CaseCreationLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
807
|
-
const body = parsedOutput.body;
|
|
808
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
809
|
-
const exception = new CaseCreationLimitExceeded({
|
|
810
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
811
|
-
...deserialized
|
|
812
|
-
});
|
|
813
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
814
|
-
}, "de_CaseCreationLimitExceededRes");
|
|
815
|
-
var de_CaseIdNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
816
|
-
const body = parsedOutput.body;
|
|
817
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
818
|
-
const exception = new CaseIdNotFound({
|
|
819
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
820
|
-
...deserialized
|
|
821
|
-
});
|
|
822
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
823
|
-
}, "de_CaseIdNotFoundRes");
|
|
824
|
-
var de_DescribeAttachmentLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
825
|
-
const body = parsedOutput.body;
|
|
826
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
827
|
-
const exception = new DescribeAttachmentLimitExceeded({
|
|
828
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
829
|
-
...deserialized
|
|
830
|
-
});
|
|
831
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
832
|
-
}, "de_DescribeAttachmentLimitExceededRes");
|
|
833
|
-
var de_InternalServerErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
834
|
-
const body = parsedOutput.body;
|
|
835
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
836
|
-
const exception = new InternalServerError({
|
|
837
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
838
|
-
...deserialized
|
|
839
|
-
});
|
|
840
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
841
|
-
}, "de_InternalServerErrorRes");
|
|
842
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
843
|
-
const body = parsedOutput.body;
|
|
844
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
845
|
-
const exception = new ThrottlingException({
|
|
846
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
847
|
-
...deserialized
|
|
848
|
-
});
|
|
849
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
850
|
-
}, "de_ThrottlingExceptionRes");
|
|
851
|
-
var se_AddAttachmentsToSetRequest = /* @__PURE__ */ __name((input, context) => {
|
|
852
|
-
return (0, import_smithy_client.take)(input, {
|
|
853
|
-
attachmentSetId: [],
|
|
854
|
-
attachments: /* @__PURE__ */ __name((_) => se_Attachments(_, context), "attachments")
|
|
855
|
-
});
|
|
856
|
-
}, "se_AddAttachmentsToSetRequest");
|
|
857
|
-
var se_Attachment = /* @__PURE__ */ __name((input, context) => {
|
|
858
|
-
return (0, import_smithy_client.take)(input, {
|
|
859
|
-
data: context.base64Encoder,
|
|
860
|
-
fileName: []
|
|
861
|
-
});
|
|
862
|
-
}, "se_Attachment");
|
|
863
|
-
var se_Attachments = /* @__PURE__ */ __name((input, context) => {
|
|
864
|
-
return input.filter((e) => e != null).map((entry) => {
|
|
865
|
-
return se_Attachment(entry, context);
|
|
866
|
-
});
|
|
867
|
-
}, "se_Attachments");
|
|
868
|
-
var se_DescribeTrustedAdvisorCheckRefreshStatusesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
869
|
-
return (0, import_smithy_client.take)(input, {
|
|
870
|
-
checkIds: /* @__PURE__ */ __name((_) => se_StringList(_, context), "checkIds")
|
|
871
|
-
});
|
|
872
|
-
}, "se_DescribeTrustedAdvisorCheckRefreshStatusesRequest");
|
|
873
|
-
var se_DescribeTrustedAdvisorCheckSummariesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
874
|
-
return (0, import_smithy_client.take)(input, {
|
|
875
|
-
checkIds: /* @__PURE__ */ __name((_) => se_StringList(_, context), "checkIds")
|
|
876
|
-
});
|
|
877
|
-
}, "se_DescribeTrustedAdvisorCheckSummariesRequest");
|
|
878
|
-
var se_StringList = /* @__PURE__ */ __name((input, context) => {
|
|
879
|
-
return input;
|
|
880
|
-
}, "se_StringList");
|
|
881
|
-
var de_Attachment = /* @__PURE__ */ __name((output, context) => {
|
|
882
|
-
return (0, import_smithy_client.take)(output, {
|
|
883
|
-
data: context.base64Decoder,
|
|
884
|
-
fileName: import_smithy_client.expectString
|
|
885
|
-
});
|
|
886
|
-
}, "de_Attachment");
|
|
887
|
-
var de_DescribeAttachmentResponse = /* @__PURE__ */ __name((output, context) => {
|
|
888
|
-
return (0, import_smithy_client.take)(output, {
|
|
889
|
-
attachment: /* @__PURE__ */ __name((_) => de_Attachment(_, context), "attachment")
|
|
890
|
-
});
|
|
891
|
-
}, "de_DescribeAttachmentResponse");
|
|
892
|
-
var de_DescribeTrustedAdvisorCheckResultResponse = /* @__PURE__ */ __name((output, context) => {
|
|
893
|
-
return (0, import_smithy_client.take)(output, {
|
|
894
|
-
result: /* @__PURE__ */ __name((_) => de_TrustedAdvisorCheckResult(_, context), "result")
|
|
895
|
-
});
|
|
896
|
-
}, "de_DescribeTrustedAdvisorCheckResultResponse");
|
|
897
|
-
var de_DescribeTrustedAdvisorChecksResponse = /* @__PURE__ */ __name((output, context) => {
|
|
898
|
-
return (0, import_smithy_client.take)(output, {
|
|
899
|
-
checks: /* @__PURE__ */ __name((_) => de_TrustedAdvisorCheckList(_, context), "checks")
|
|
900
|
-
});
|
|
901
|
-
}, "de_DescribeTrustedAdvisorChecksResponse");
|
|
902
|
-
var de_DescribeTrustedAdvisorCheckSummariesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
903
|
-
return (0, import_smithy_client.take)(output, {
|
|
904
|
-
summaries: /* @__PURE__ */ __name((_) => de_TrustedAdvisorCheckSummaryList(_, context), "summaries")
|
|
905
|
-
});
|
|
906
|
-
}, "de_DescribeTrustedAdvisorCheckSummariesResponse");
|
|
907
|
-
var de_StringList = /* @__PURE__ */ __name((output, context) => {
|
|
908
|
-
const retVal = (output || []).map((entry) => {
|
|
909
|
-
if (entry === null) {
|
|
910
|
-
return null;
|
|
911
|
-
}
|
|
912
|
-
return (0, import_smithy_client.expectString)(entry);
|
|
913
|
-
});
|
|
914
|
-
return retVal;
|
|
915
|
-
}, "de_StringList");
|
|
916
|
-
var de_TrustedAdvisorCategorySpecificSummary = /* @__PURE__ */ __name((output, context) => {
|
|
917
|
-
return (0, import_smithy_client.take)(output, {
|
|
918
|
-
costOptimizing: /* @__PURE__ */ __name((_) => de_TrustedAdvisorCostOptimizingSummary(_, context), "costOptimizing")
|
|
919
|
-
});
|
|
920
|
-
}, "de_TrustedAdvisorCategorySpecificSummary");
|
|
921
|
-
var de_TrustedAdvisorCheckDescription = /* @__PURE__ */ __name((output, context) => {
|
|
922
|
-
return (0, import_smithy_client.take)(output, {
|
|
923
|
-
category: import_smithy_client.expectString,
|
|
924
|
-
description: import_smithy_client.expectString,
|
|
925
|
-
id: import_smithy_client.expectString,
|
|
926
|
-
metadata: /* @__PURE__ */ __name((_) => de_StringList(_, context), "metadata"),
|
|
927
|
-
name: import_smithy_client.expectString
|
|
928
|
-
});
|
|
929
|
-
}, "de_TrustedAdvisorCheckDescription");
|
|
930
|
-
var de_TrustedAdvisorCheckList = /* @__PURE__ */ __name((output, context) => {
|
|
931
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
932
|
-
return de_TrustedAdvisorCheckDescription(entry, context);
|
|
933
|
-
});
|
|
934
|
-
return retVal;
|
|
935
|
-
}, "de_TrustedAdvisorCheckList");
|
|
936
|
-
var de_TrustedAdvisorCheckResult = /* @__PURE__ */ __name((output, context) => {
|
|
937
|
-
return (0, import_smithy_client.take)(output, {
|
|
938
|
-
categorySpecificSummary: /* @__PURE__ */ __name((_) => de_TrustedAdvisorCategorySpecificSummary(_, context), "categorySpecificSummary"),
|
|
939
|
-
checkId: import_smithy_client.expectString,
|
|
940
|
-
flaggedResources: /* @__PURE__ */ __name((_) => de_TrustedAdvisorResourceDetailList(_, context), "flaggedResources"),
|
|
941
|
-
resourcesSummary: import_smithy_client._json,
|
|
942
|
-
status: import_smithy_client.expectString,
|
|
943
|
-
timestamp: import_smithy_client.expectString
|
|
944
|
-
});
|
|
945
|
-
}, "de_TrustedAdvisorCheckResult");
|
|
946
|
-
var de_TrustedAdvisorCheckSummary = /* @__PURE__ */ __name((output, context) => {
|
|
947
|
-
return (0, import_smithy_client.take)(output, {
|
|
948
|
-
categorySpecificSummary: /* @__PURE__ */ __name((_) => de_TrustedAdvisorCategorySpecificSummary(_, context), "categorySpecificSummary"),
|
|
949
|
-
checkId: import_smithy_client.expectString,
|
|
950
|
-
hasFlaggedResources: import_smithy_client.expectBoolean,
|
|
951
|
-
resourcesSummary: import_smithy_client._json,
|
|
952
|
-
status: import_smithy_client.expectString,
|
|
953
|
-
timestamp: import_smithy_client.expectString
|
|
954
|
-
});
|
|
955
|
-
}, "de_TrustedAdvisorCheckSummary");
|
|
956
|
-
var de_TrustedAdvisorCheckSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
957
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
958
|
-
return de_TrustedAdvisorCheckSummary(entry, context);
|
|
959
|
-
});
|
|
960
|
-
return retVal;
|
|
961
|
-
}, "de_TrustedAdvisorCheckSummaryList");
|
|
962
|
-
var de_TrustedAdvisorCostOptimizingSummary = /* @__PURE__ */ __name((output, context) => {
|
|
963
|
-
return (0, import_smithy_client.take)(output, {
|
|
964
|
-
estimatedMonthlySavings: import_smithy_client.limitedParseDouble,
|
|
965
|
-
estimatedPercentMonthlySavings: import_smithy_client.limitedParseDouble
|
|
966
|
-
});
|
|
967
|
-
}, "de_TrustedAdvisorCostOptimizingSummary");
|
|
968
|
-
var de_TrustedAdvisorResourceDetail = /* @__PURE__ */ __name((output, context) => {
|
|
969
|
-
return (0, import_smithy_client.take)(output, {
|
|
970
|
-
isSuppressed: import_smithy_client.expectBoolean,
|
|
971
|
-
metadata: /* @__PURE__ */ __name((_) => de_StringList(_, context), "metadata"),
|
|
972
|
-
region: import_smithy_client.expectString,
|
|
973
|
-
resourceId: import_smithy_client.expectString,
|
|
974
|
-
status: import_smithy_client.expectString
|
|
975
|
-
});
|
|
976
|
-
}, "de_TrustedAdvisorResourceDetail");
|
|
977
|
-
var de_TrustedAdvisorResourceDetailList = /* @__PURE__ */ __name((output, context) => {
|
|
978
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
979
|
-
return de_TrustedAdvisorResourceDetail(entry, context);
|
|
980
|
-
});
|
|
981
|
-
return retVal;
|
|
982
|
-
}, "de_TrustedAdvisorResourceDetailList");
|
|
983
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
984
|
-
httpStatusCode: output.statusCode,
|
|
985
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
986
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
987
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
988
|
-
}), "deserializeMetadata");
|
|
989
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(SupportServiceException);
|
|
990
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
991
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
992
|
-
const contents = {
|
|
993
|
-
protocol,
|
|
994
|
-
hostname,
|
|
995
|
-
port,
|
|
996
|
-
method: "POST",
|
|
997
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
998
|
-
headers
|
|
999
|
-
};
|
|
1000
|
-
if (resolvedHostname !== void 0) {
|
|
1001
|
-
contents.hostname = resolvedHostname;
|
|
1002
|
-
}
|
|
1003
|
-
if (body !== void 0) {
|
|
1004
|
-
contents.body = body;
|
|
1005
|
-
}
|
|
1006
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
1007
|
-
}, "buildHttpRpcRequest");
|
|
1008
|
-
function sharedHeaders(operation) {
|
|
1009
|
-
return {
|
|
1010
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1011
|
-
"x-amz-target": `AWSSupport_20130415.${operation}`
|
|
1012
|
-
};
|
|
1013
|
-
}
|
|
1014
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
1015
|
-
|
|
1016
|
-
// src/commands/AddAttachmentsToSetCommand.ts
|
|
1017
|
-
var AddAttachmentsToSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1018
|
-
return [
|
|
1019
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1020
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1021
|
-
];
|
|
1022
|
-
}).s("AWSSupport_20130415", "AddAttachmentsToSet", {}).n("SupportClient", "AddAttachmentsToSetCommand").f(void 0, void 0).ser(se_AddAttachmentsToSetCommand).de(de_AddAttachmentsToSetCommand).build() {
|
|
1023
|
-
static {
|
|
1024
|
-
__name(this, "AddAttachmentsToSetCommand");
|
|
1025
|
-
}
|
|
681
|
+
const se_AddAttachmentsToSetRequest = (input, context) => {
|
|
682
|
+
return smithyClient.take(input, {
|
|
683
|
+
attachmentSetId: [],
|
|
684
|
+
attachments: (_) => se_Attachments(_, context),
|
|
685
|
+
});
|
|
1026
686
|
};
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
var AddCommunicationToCaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1033
|
-
return [
|
|
1034
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1035
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1036
|
-
];
|
|
1037
|
-
}).s("AWSSupport_20130415", "AddCommunicationToCase", {}).n("SupportClient", "AddCommunicationToCaseCommand").f(void 0, void 0).ser(se_AddCommunicationToCaseCommand).de(de_AddCommunicationToCaseCommand).build() {
|
|
1038
|
-
static {
|
|
1039
|
-
__name(this, "AddCommunicationToCaseCommand");
|
|
1040
|
-
}
|
|
687
|
+
const se_Attachment = (input, context) => {
|
|
688
|
+
return smithyClient.take(input, {
|
|
689
|
+
data: context.base64Encoder,
|
|
690
|
+
fileName: [],
|
|
691
|
+
});
|
|
1041
692
|
};
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
return [
|
|
1049
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1050
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1051
|
-
];
|
|
1052
|
-
}).s("AWSSupport_20130415", "CreateCase", {}).n("SupportClient", "CreateCaseCommand").f(void 0, void 0).ser(se_CreateCaseCommand).de(de_CreateCaseCommand).build() {
|
|
1053
|
-
static {
|
|
1054
|
-
__name(this, "CreateCaseCommand");
|
|
1055
|
-
}
|
|
693
|
+
const se_Attachments = (input, context) => {
|
|
694
|
+
return input
|
|
695
|
+
.filter((e) => e != null)
|
|
696
|
+
.map((entry) => {
|
|
697
|
+
return se_Attachment(entry, context);
|
|
698
|
+
});
|
|
1056
699
|
};
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
var DescribeAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1063
|
-
return [
|
|
1064
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1065
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1066
|
-
];
|
|
1067
|
-
}).s("AWSSupport_20130415", "DescribeAttachment", {}).n("SupportClient", "DescribeAttachmentCommand").f(void 0, void 0).ser(se_DescribeAttachmentCommand).de(de_DescribeAttachmentCommand).build() {
|
|
1068
|
-
static {
|
|
1069
|
-
__name(this, "DescribeAttachmentCommand");
|
|
1070
|
-
}
|
|
700
|
+
const se_DescribeTrustedAdvisorCheckRefreshStatusesRequest = (input, context) => {
|
|
701
|
+
return smithyClient.take(input, {
|
|
702
|
+
checkIds: (_) => se_StringList(_),
|
|
703
|
+
});
|
|
1071
704
|
};
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
var DescribeCasesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1078
|
-
return [
|
|
1079
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1080
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1081
|
-
];
|
|
1082
|
-
}).s("AWSSupport_20130415", "DescribeCases", {}).n("SupportClient", "DescribeCasesCommand").f(void 0, void 0).ser(se_DescribeCasesCommand).de(de_DescribeCasesCommand).build() {
|
|
1083
|
-
static {
|
|
1084
|
-
__name(this, "DescribeCasesCommand");
|
|
1085
|
-
}
|
|
705
|
+
const se_DescribeTrustedAdvisorCheckSummariesRequest = (input, context) => {
|
|
706
|
+
return smithyClient.take(input, {
|
|
707
|
+
checkIds: (_) => se_StringList(_),
|
|
708
|
+
});
|
|
1086
709
|
};
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
var DescribeCommunicationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1093
|
-
return [
|
|
1094
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1095
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1096
|
-
];
|
|
1097
|
-
}).s("AWSSupport_20130415", "DescribeCommunications", {}).n("SupportClient", "DescribeCommunicationsCommand").f(void 0, void 0).ser(se_DescribeCommunicationsCommand).de(de_DescribeCommunicationsCommand).build() {
|
|
1098
|
-
static {
|
|
1099
|
-
__name(this, "DescribeCommunicationsCommand");
|
|
1100
|
-
}
|
|
710
|
+
const se_StringList = (input, context) => {
|
|
711
|
+
return input;
|
|
1101
712
|
};
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
var DescribeCreateCaseOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1108
|
-
return [
|
|
1109
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1110
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1111
|
-
];
|
|
1112
|
-
}).s("AWSSupport_20130415", "DescribeCreateCaseOptions", {}).n("SupportClient", "DescribeCreateCaseOptionsCommand").f(void 0, void 0).ser(se_DescribeCreateCaseOptionsCommand).de(de_DescribeCreateCaseOptionsCommand).build() {
|
|
1113
|
-
static {
|
|
1114
|
-
__name(this, "DescribeCreateCaseOptionsCommand");
|
|
1115
|
-
}
|
|
713
|
+
const de_Attachment = (output, context) => {
|
|
714
|
+
return smithyClient.take(output, {
|
|
715
|
+
data: context.base64Decoder,
|
|
716
|
+
fileName: smithyClient.expectString,
|
|
717
|
+
});
|
|
1116
718
|
};
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
var DescribeServicesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1123
|
-
return [
|
|
1124
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1125
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1126
|
-
];
|
|
1127
|
-
}).s("AWSSupport_20130415", "DescribeServices", {}).n("SupportClient", "DescribeServicesCommand").f(void 0, void 0).ser(se_DescribeServicesCommand).de(de_DescribeServicesCommand).build() {
|
|
1128
|
-
static {
|
|
1129
|
-
__name(this, "DescribeServicesCommand");
|
|
1130
|
-
}
|
|
719
|
+
const de_DescribeAttachmentResponse = (output, context) => {
|
|
720
|
+
return smithyClient.take(output, {
|
|
721
|
+
attachment: (_) => de_Attachment(_, context),
|
|
722
|
+
});
|
|
1131
723
|
};
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
var DescribeSeverityLevelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1138
|
-
return [
|
|
1139
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1140
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1141
|
-
];
|
|
1142
|
-
}).s("AWSSupport_20130415", "DescribeSeverityLevels", {}).n("SupportClient", "DescribeSeverityLevelsCommand").f(void 0, void 0).ser(se_DescribeSeverityLevelsCommand).de(de_DescribeSeverityLevelsCommand).build() {
|
|
1143
|
-
static {
|
|
1144
|
-
__name(this, "DescribeSeverityLevelsCommand");
|
|
1145
|
-
}
|
|
724
|
+
const de_DescribeTrustedAdvisorCheckResultResponse = (output, context) => {
|
|
725
|
+
return smithyClient.take(output, {
|
|
726
|
+
result: (_) => de_TrustedAdvisorCheckResult(_),
|
|
727
|
+
});
|
|
1146
728
|
};
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
var DescribeSupportedLanguagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1153
|
-
return [
|
|
1154
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1155
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1156
|
-
];
|
|
1157
|
-
}).s("AWSSupport_20130415", "DescribeSupportedLanguages", {}).n("SupportClient", "DescribeSupportedLanguagesCommand").f(void 0, void 0).ser(se_DescribeSupportedLanguagesCommand).de(de_DescribeSupportedLanguagesCommand).build() {
|
|
1158
|
-
static {
|
|
1159
|
-
__name(this, "DescribeSupportedLanguagesCommand");
|
|
1160
|
-
}
|
|
729
|
+
const de_DescribeTrustedAdvisorChecksResponse = (output, context) => {
|
|
730
|
+
return smithyClient.take(output, {
|
|
731
|
+
checks: (_) => de_TrustedAdvisorCheckList(_),
|
|
732
|
+
});
|
|
1161
733
|
};
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
var DescribeTrustedAdvisorCheckRefreshStatusesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1168
|
-
return [
|
|
1169
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1170
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1171
|
-
];
|
|
1172
|
-
}).s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckRefreshStatuses", {}).n("SupportClient", "DescribeTrustedAdvisorCheckRefreshStatusesCommand").f(void 0, void 0).ser(se_DescribeTrustedAdvisorCheckRefreshStatusesCommand).de(de_DescribeTrustedAdvisorCheckRefreshStatusesCommand).build() {
|
|
1173
|
-
static {
|
|
1174
|
-
__name(this, "DescribeTrustedAdvisorCheckRefreshStatusesCommand");
|
|
1175
|
-
}
|
|
734
|
+
const de_DescribeTrustedAdvisorCheckSummariesResponse = (output, context) => {
|
|
735
|
+
return smithyClient.take(output, {
|
|
736
|
+
summaries: (_) => de_TrustedAdvisorCheckSummaryList(_),
|
|
737
|
+
});
|
|
1176
738
|
};
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1186
|
-
];
|
|
1187
|
-
}).s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckResult", {}).n("SupportClient", "DescribeTrustedAdvisorCheckResultCommand").f(void 0, void 0).ser(se_DescribeTrustedAdvisorCheckResultCommand).de(de_DescribeTrustedAdvisorCheckResultCommand).build() {
|
|
1188
|
-
static {
|
|
1189
|
-
__name(this, "DescribeTrustedAdvisorCheckResultCommand");
|
|
1190
|
-
}
|
|
739
|
+
const de_StringList = (output, context) => {
|
|
740
|
+
const retVal = (output || []).map((entry) => {
|
|
741
|
+
if (entry === null) {
|
|
742
|
+
return null;
|
|
743
|
+
}
|
|
744
|
+
return smithyClient.expectString(entry);
|
|
745
|
+
});
|
|
746
|
+
return retVal;
|
|
1191
747
|
};
|
|
748
|
+
const de_TrustedAdvisorCategorySpecificSummary = (output, context) => {
|
|
749
|
+
return smithyClient.take(output, {
|
|
750
|
+
costOptimizing: (_) => de_TrustedAdvisorCostOptimizingSummary(_),
|
|
751
|
+
});
|
|
752
|
+
};
|
|
753
|
+
const de_TrustedAdvisorCheckDescription = (output, context) => {
|
|
754
|
+
return smithyClient.take(output, {
|
|
755
|
+
category: smithyClient.expectString,
|
|
756
|
+
description: smithyClient.expectString,
|
|
757
|
+
id: smithyClient.expectString,
|
|
758
|
+
metadata: (_) => de_StringList(_),
|
|
759
|
+
name: smithyClient.expectString,
|
|
760
|
+
});
|
|
761
|
+
};
|
|
762
|
+
const de_TrustedAdvisorCheckList = (output, context) => {
|
|
763
|
+
const retVal = (output || [])
|
|
764
|
+
.filter((e) => e != null)
|
|
765
|
+
.map((entry) => {
|
|
766
|
+
return de_TrustedAdvisorCheckDescription(entry);
|
|
767
|
+
});
|
|
768
|
+
return retVal;
|
|
769
|
+
};
|
|
770
|
+
const de_TrustedAdvisorCheckResult = (output, context) => {
|
|
771
|
+
return smithyClient.take(output, {
|
|
772
|
+
categorySpecificSummary: (_) => de_TrustedAdvisorCategorySpecificSummary(_),
|
|
773
|
+
checkId: smithyClient.expectString,
|
|
774
|
+
flaggedResources: (_) => de_TrustedAdvisorResourceDetailList(_),
|
|
775
|
+
resourcesSummary: smithyClient._json,
|
|
776
|
+
status: smithyClient.expectString,
|
|
777
|
+
timestamp: smithyClient.expectString,
|
|
778
|
+
});
|
|
779
|
+
};
|
|
780
|
+
const de_TrustedAdvisorCheckSummary = (output, context) => {
|
|
781
|
+
return smithyClient.take(output, {
|
|
782
|
+
categorySpecificSummary: (_) => de_TrustedAdvisorCategorySpecificSummary(_),
|
|
783
|
+
checkId: smithyClient.expectString,
|
|
784
|
+
hasFlaggedResources: smithyClient.expectBoolean,
|
|
785
|
+
resourcesSummary: smithyClient._json,
|
|
786
|
+
status: smithyClient.expectString,
|
|
787
|
+
timestamp: smithyClient.expectString,
|
|
788
|
+
});
|
|
789
|
+
};
|
|
790
|
+
const de_TrustedAdvisorCheckSummaryList = (output, context) => {
|
|
791
|
+
const retVal = (output || [])
|
|
792
|
+
.filter((e) => e != null)
|
|
793
|
+
.map((entry) => {
|
|
794
|
+
return de_TrustedAdvisorCheckSummary(entry);
|
|
795
|
+
});
|
|
796
|
+
return retVal;
|
|
797
|
+
};
|
|
798
|
+
const de_TrustedAdvisorCostOptimizingSummary = (output, context) => {
|
|
799
|
+
return smithyClient.take(output, {
|
|
800
|
+
estimatedMonthlySavings: smithyClient.limitedParseDouble,
|
|
801
|
+
estimatedPercentMonthlySavings: smithyClient.limitedParseDouble,
|
|
802
|
+
});
|
|
803
|
+
};
|
|
804
|
+
const de_TrustedAdvisorResourceDetail = (output, context) => {
|
|
805
|
+
return smithyClient.take(output, {
|
|
806
|
+
isSuppressed: smithyClient.expectBoolean,
|
|
807
|
+
metadata: (_) => de_StringList(_),
|
|
808
|
+
region: smithyClient.expectString,
|
|
809
|
+
resourceId: smithyClient.expectString,
|
|
810
|
+
status: smithyClient.expectString,
|
|
811
|
+
});
|
|
812
|
+
};
|
|
813
|
+
const de_TrustedAdvisorResourceDetailList = (output, context) => {
|
|
814
|
+
const retVal = (output || [])
|
|
815
|
+
.filter((e) => e != null)
|
|
816
|
+
.map((entry) => {
|
|
817
|
+
return de_TrustedAdvisorResourceDetail(entry);
|
|
818
|
+
});
|
|
819
|
+
return retVal;
|
|
820
|
+
};
|
|
821
|
+
const deserializeMetadata = (output) => ({
|
|
822
|
+
httpStatusCode: output.statusCode,
|
|
823
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
824
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
825
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
826
|
+
});
|
|
827
|
+
const throwDefaultError = smithyClient.withBaseException(SupportServiceException);
|
|
828
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
829
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
830
|
+
const contents = {
|
|
831
|
+
protocol,
|
|
832
|
+
hostname,
|
|
833
|
+
port,
|
|
834
|
+
method: "POST",
|
|
835
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
836
|
+
headers,
|
|
837
|
+
};
|
|
838
|
+
if (body !== undefined) {
|
|
839
|
+
contents.body = body;
|
|
840
|
+
}
|
|
841
|
+
return new protocolHttp.HttpRequest(contents);
|
|
842
|
+
};
|
|
843
|
+
function sharedHeaders(operation) {
|
|
844
|
+
return {
|
|
845
|
+
"content-type": "application/x-amz-json-1.1",
|
|
846
|
+
"x-amz-target": `AWSSupport_20130415.${operation}`,
|
|
847
|
+
};
|
|
848
|
+
}
|
|
1192
849
|
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
850
|
+
class AddAttachmentsToSetCommand extends smithyClient.Command
|
|
851
|
+
.classBuilder()
|
|
852
|
+
.ep(commonParams)
|
|
853
|
+
.m(function (Command, cs, config, o) {
|
|
854
|
+
return [
|
|
855
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
856
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
857
|
+
];
|
|
858
|
+
})
|
|
859
|
+
.s("AWSSupport_20130415", "AddAttachmentsToSet", {})
|
|
860
|
+
.n("SupportClient", "AddAttachmentsToSetCommand")
|
|
861
|
+
.f(void 0, void 0)
|
|
862
|
+
.ser(se_AddAttachmentsToSetCommand)
|
|
863
|
+
.de(de_AddAttachmentsToSetCommand)
|
|
864
|
+
.build() {
|
|
865
|
+
}
|
|
1196
866
|
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
(
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
}
|
|
867
|
+
class AddCommunicationToCaseCommand extends smithyClient.Command
|
|
868
|
+
.classBuilder()
|
|
869
|
+
.ep(commonParams)
|
|
870
|
+
.m(function (Command, cs, config, o) {
|
|
871
|
+
return [
|
|
872
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
873
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
874
|
+
];
|
|
875
|
+
})
|
|
876
|
+
.s("AWSSupport_20130415", "AddCommunicationToCase", {})
|
|
877
|
+
.n("SupportClient", "AddCommunicationToCaseCommand")
|
|
878
|
+
.f(void 0, void 0)
|
|
879
|
+
.ser(se_AddCommunicationToCaseCommand)
|
|
880
|
+
.de(de_AddCommunicationToCaseCommand)
|
|
881
|
+
.build() {
|
|
882
|
+
}
|
|
1207
883
|
|
|
1208
|
-
|
|
884
|
+
class CreateCaseCommand extends smithyClient.Command
|
|
885
|
+
.classBuilder()
|
|
886
|
+
.ep(commonParams)
|
|
887
|
+
.m(function (Command, cs, config, o) {
|
|
888
|
+
return [
|
|
889
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
890
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
891
|
+
];
|
|
892
|
+
})
|
|
893
|
+
.s("AWSSupport_20130415", "CreateCase", {})
|
|
894
|
+
.n("SupportClient", "CreateCaseCommand")
|
|
895
|
+
.f(void 0, void 0)
|
|
896
|
+
.ser(se_CreateCaseCommand)
|
|
897
|
+
.de(de_CreateCaseCommand)
|
|
898
|
+
.build() {
|
|
899
|
+
}
|
|
1209
900
|
|
|
901
|
+
class DescribeAttachmentCommand extends smithyClient.Command
|
|
902
|
+
.classBuilder()
|
|
903
|
+
.ep(commonParams)
|
|
904
|
+
.m(function (Command, cs, config, o) {
|
|
905
|
+
return [
|
|
906
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
907
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
908
|
+
];
|
|
909
|
+
})
|
|
910
|
+
.s("AWSSupport_20130415", "DescribeAttachment", {})
|
|
911
|
+
.n("SupportClient", "DescribeAttachmentCommand")
|
|
912
|
+
.f(void 0, void 0)
|
|
913
|
+
.ser(se_DescribeAttachmentCommand)
|
|
914
|
+
.de(de_DescribeAttachmentCommand)
|
|
915
|
+
.build() {
|
|
916
|
+
}
|
|
1210
917
|
|
|
918
|
+
class DescribeCasesCommand extends smithyClient.Command
|
|
919
|
+
.classBuilder()
|
|
920
|
+
.ep(commonParams)
|
|
921
|
+
.m(function (Command, cs, config, o) {
|
|
922
|
+
return [
|
|
923
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
924
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
925
|
+
];
|
|
926
|
+
})
|
|
927
|
+
.s("AWSSupport_20130415", "DescribeCases", {})
|
|
928
|
+
.n("SupportClient", "DescribeCasesCommand")
|
|
929
|
+
.f(void 0, void 0)
|
|
930
|
+
.ser(se_DescribeCasesCommand)
|
|
931
|
+
.de(de_DescribeCasesCommand)
|
|
932
|
+
.build() {
|
|
933
|
+
}
|
|
1211
934
|
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
(
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
}
|
|
935
|
+
class DescribeCommunicationsCommand extends smithyClient.Command
|
|
936
|
+
.classBuilder()
|
|
937
|
+
.ep(commonParams)
|
|
938
|
+
.m(function (Command, cs, config, o) {
|
|
939
|
+
return [
|
|
940
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
941
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
942
|
+
];
|
|
943
|
+
})
|
|
944
|
+
.s("AWSSupport_20130415", "DescribeCommunications", {})
|
|
945
|
+
.n("SupportClient", "DescribeCommunicationsCommand")
|
|
946
|
+
.f(void 0, void 0)
|
|
947
|
+
.ser(se_DescribeCommunicationsCommand)
|
|
948
|
+
.de(de_DescribeCommunicationsCommand)
|
|
949
|
+
.build() {
|
|
950
|
+
}
|
|
1222
951
|
|
|
1223
|
-
|
|
952
|
+
class DescribeCreateCaseOptionsCommand extends smithyClient.Command
|
|
953
|
+
.classBuilder()
|
|
954
|
+
.ep(commonParams)
|
|
955
|
+
.m(function (Command, cs, config, o) {
|
|
956
|
+
return [
|
|
957
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
958
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
959
|
+
];
|
|
960
|
+
})
|
|
961
|
+
.s("AWSSupport_20130415", "DescribeCreateCaseOptions", {})
|
|
962
|
+
.n("SupportClient", "DescribeCreateCaseOptionsCommand")
|
|
963
|
+
.f(void 0, void 0)
|
|
964
|
+
.ser(se_DescribeCreateCaseOptionsCommand)
|
|
965
|
+
.de(de_DescribeCreateCaseOptionsCommand)
|
|
966
|
+
.build() {
|
|
967
|
+
}
|
|
1224
968
|
|
|
969
|
+
class DescribeServicesCommand extends smithyClient.Command
|
|
970
|
+
.classBuilder()
|
|
971
|
+
.ep(commonParams)
|
|
972
|
+
.m(function (Command, cs, config, o) {
|
|
973
|
+
return [
|
|
974
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
975
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
976
|
+
];
|
|
977
|
+
})
|
|
978
|
+
.s("AWSSupport_20130415", "DescribeServices", {})
|
|
979
|
+
.n("SupportClient", "DescribeServicesCommand")
|
|
980
|
+
.f(void 0, void 0)
|
|
981
|
+
.ser(se_DescribeServicesCommand)
|
|
982
|
+
.de(de_DescribeServicesCommand)
|
|
983
|
+
.build() {
|
|
984
|
+
}
|
|
1225
985
|
|
|
986
|
+
class DescribeSeverityLevelsCommand extends smithyClient.Command
|
|
987
|
+
.classBuilder()
|
|
988
|
+
.ep(commonParams)
|
|
989
|
+
.m(function (Command, cs, config, o) {
|
|
990
|
+
return [
|
|
991
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
992
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
993
|
+
];
|
|
994
|
+
})
|
|
995
|
+
.s("AWSSupport_20130415", "DescribeSeverityLevels", {})
|
|
996
|
+
.n("SupportClient", "DescribeSeverityLevelsCommand")
|
|
997
|
+
.f(void 0, void 0)
|
|
998
|
+
.ser(se_DescribeSeverityLevelsCommand)
|
|
999
|
+
.de(de_DescribeSeverityLevelsCommand)
|
|
1000
|
+
.build() {
|
|
1001
|
+
}
|
|
1226
1002
|
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
(
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
}
|
|
1003
|
+
class DescribeSupportedLanguagesCommand extends smithyClient.Command
|
|
1004
|
+
.classBuilder()
|
|
1005
|
+
.ep(commonParams)
|
|
1006
|
+
.m(function (Command, cs, config, o) {
|
|
1007
|
+
return [
|
|
1008
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1009
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1010
|
+
];
|
|
1011
|
+
})
|
|
1012
|
+
.s("AWSSupport_20130415", "DescribeSupportedLanguages", {})
|
|
1013
|
+
.n("SupportClient", "DescribeSupportedLanguagesCommand")
|
|
1014
|
+
.f(void 0, void 0)
|
|
1015
|
+
.ser(se_DescribeSupportedLanguagesCommand)
|
|
1016
|
+
.de(de_DescribeSupportedLanguagesCommand)
|
|
1017
|
+
.build() {
|
|
1018
|
+
}
|
|
1237
1019
|
|
|
1238
|
-
|
|
1020
|
+
class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends smithyClient.Command
|
|
1021
|
+
.classBuilder()
|
|
1022
|
+
.ep(commonParams)
|
|
1023
|
+
.m(function (Command, cs, config, o) {
|
|
1024
|
+
return [
|
|
1025
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1026
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1027
|
+
];
|
|
1028
|
+
})
|
|
1029
|
+
.s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckRefreshStatuses", {})
|
|
1030
|
+
.n("SupportClient", "DescribeTrustedAdvisorCheckRefreshStatusesCommand")
|
|
1031
|
+
.f(void 0, void 0)
|
|
1032
|
+
.ser(se_DescribeTrustedAdvisorCheckRefreshStatusesCommand)
|
|
1033
|
+
.de(de_DescribeTrustedAdvisorCheckRefreshStatusesCommand)
|
|
1034
|
+
.build() {
|
|
1035
|
+
}
|
|
1239
1036
|
|
|
1037
|
+
class DescribeTrustedAdvisorCheckResultCommand extends smithyClient.Command
|
|
1038
|
+
.classBuilder()
|
|
1039
|
+
.ep(commonParams)
|
|
1040
|
+
.m(function (Command, cs, config, o) {
|
|
1041
|
+
return [
|
|
1042
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1043
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1044
|
+
];
|
|
1045
|
+
})
|
|
1046
|
+
.s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckResult", {})
|
|
1047
|
+
.n("SupportClient", "DescribeTrustedAdvisorCheckResultCommand")
|
|
1048
|
+
.f(void 0, void 0)
|
|
1049
|
+
.ser(se_DescribeTrustedAdvisorCheckResultCommand)
|
|
1050
|
+
.de(de_DescribeTrustedAdvisorCheckResultCommand)
|
|
1051
|
+
.build() {
|
|
1052
|
+
}
|
|
1240
1053
|
|
|
1054
|
+
class DescribeTrustedAdvisorChecksCommand extends smithyClient.Command
|
|
1055
|
+
.classBuilder()
|
|
1056
|
+
.ep(commonParams)
|
|
1057
|
+
.m(function (Command, cs, config, o) {
|
|
1058
|
+
return [
|
|
1059
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1060
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1061
|
+
];
|
|
1062
|
+
})
|
|
1063
|
+
.s("AWSSupport_20130415", "DescribeTrustedAdvisorChecks", {})
|
|
1064
|
+
.n("SupportClient", "DescribeTrustedAdvisorChecksCommand")
|
|
1065
|
+
.f(void 0, void 0)
|
|
1066
|
+
.ser(se_DescribeTrustedAdvisorChecksCommand)
|
|
1067
|
+
.de(de_DescribeTrustedAdvisorChecksCommand)
|
|
1068
|
+
.build() {
|
|
1069
|
+
}
|
|
1241
1070
|
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
(
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
}
|
|
1071
|
+
class DescribeTrustedAdvisorCheckSummariesCommand extends smithyClient.Command
|
|
1072
|
+
.classBuilder()
|
|
1073
|
+
.ep(commonParams)
|
|
1074
|
+
.m(function (Command, cs, config, o) {
|
|
1075
|
+
return [
|
|
1076
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1077
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1078
|
+
];
|
|
1079
|
+
})
|
|
1080
|
+
.s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckSummaries", {})
|
|
1081
|
+
.n("SupportClient", "DescribeTrustedAdvisorCheckSummariesCommand")
|
|
1082
|
+
.f(void 0, void 0)
|
|
1083
|
+
.ser(se_DescribeTrustedAdvisorCheckSummariesCommand)
|
|
1084
|
+
.de(de_DescribeTrustedAdvisorCheckSummariesCommand)
|
|
1085
|
+
.build() {
|
|
1086
|
+
}
|
|
1252
1087
|
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
RefreshTrustedAdvisorCheckCommand,
|
|
1270
|
-
ResolveCaseCommand
|
|
1271
|
-
};
|
|
1272
|
-
var Support = class extends SupportClient {
|
|
1273
|
-
static {
|
|
1274
|
-
__name(this, "Support");
|
|
1275
|
-
}
|
|
1276
|
-
};
|
|
1277
|
-
(0, import_smithy_client.createAggregatedClient)(commands, Support);
|
|
1088
|
+
class RefreshTrustedAdvisorCheckCommand extends smithyClient.Command
|
|
1089
|
+
.classBuilder()
|
|
1090
|
+
.ep(commonParams)
|
|
1091
|
+
.m(function (Command, cs, config, o) {
|
|
1092
|
+
return [
|
|
1093
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1094
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1095
|
+
];
|
|
1096
|
+
})
|
|
1097
|
+
.s("AWSSupport_20130415", "RefreshTrustedAdvisorCheck", {})
|
|
1098
|
+
.n("SupportClient", "RefreshTrustedAdvisorCheckCommand")
|
|
1099
|
+
.f(void 0, void 0)
|
|
1100
|
+
.ser(se_RefreshTrustedAdvisorCheckCommand)
|
|
1101
|
+
.de(de_RefreshTrustedAdvisorCheckCommand)
|
|
1102
|
+
.build() {
|
|
1103
|
+
}
|
|
1278
1104
|
|
|
1279
|
-
|
|
1105
|
+
class ResolveCaseCommand extends smithyClient.Command
|
|
1106
|
+
.classBuilder()
|
|
1107
|
+
.ep(commonParams)
|
|
1108
|
+
.m(function (Command, cs, config, o) {
|
|
1109
|
+
return [
|
|
1110
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1111
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1112
|
+
];
|
|
1113
|
+
})
|
|
1114
|
+
.s("AWSSupport_20130415", "ResolveCase", {})
|
|
1115
|
+
.n("SupportClient", "ResolveCaseCommand")
|
|
1116
|
+
.f(void 0, void 0)
|
|
1117
|
+
.ser(se_ResolveCaseCommand)
|
|
1118
|
+
.de(de_ResolveCaseCommand)
|
|
1119
|
+
.build() {
|
|
1120
|
+
}
|
|
1280
1121
|
|
|
1281
|
-
|
|
1122
|
+
const commands = {
|
|
1123
|
+
AddAttachmentsToSetCommand,
|
|
1124
|
+
AddCommunicationToCaseCommand,
|
|
1125
|
+
CreateCaseCommand,
|
|
1126
|
+
DescribeAttachmentCommand,
|
|
1127
|
+
DescribeCasesCommand,
|
|
1128
|
+
DescribeCommunicationsCommand,
|
|
1129
|
+
DescribeCreateCaseOptionsCommand,
|
|
1130
|
+
DescribeServicesCommand,
|
|
1131
|
+
DescribeSeverityLevelsCommand,
|
|
1132
|
+
DescribeSupportedLanguagesCommand,
|
|
1133
|
+
DescribeTrustedAdvisorCheckRefreshStatusesCommand,
|
|
1134
|
+
DescribeTrustedAdvisorCheckResultCommand,
|
|
1135
|
+
DescribeTrustedAdvisorChecksCommand,
|
|
1136
|
+
DescribeTrustedAdvisorCheckSummariesCommand,
|
|
1137
|
+
RefreshTrustedAdvisorCheckCommand,
|
|
1138
|
+
ResolveCaseCommand,
|
|
1139
|
+
};
|
|
1140
|
+
class Support extends SupportClient {
|
|
1141
|
+
}
|
|
1142
|
+
smithyClient.createAggregatedClient(commands, Support);
|
|
1282
1143
|
|
|
1283
|
-
|
|
1144
|
+
const paginateDescribeCases = core.createPaginator(SupportClient, DescribeCasesCommand, "nextToken", "nextToken", "maxResults");
|
|
1284
1145
|
|
|
1285
|
-
|
|
1286
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1146
|
+
const paginateDescribeCommunications = core.createPaginator(SupportClient, DescribeCommunicationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1287
1147
|
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
SupportClient,
|
|
1292
|
-
Support,
|
|
1293
|
-
$Command,
|
|
1294
|
-
AddAttachmentsToSetCommand,
|
|
1295
|
-
AddCommunicationToCaseCommand,
|
|
1296
|
-
CreateCaseCommand,
|
|
1297
|
-
DescribeAttachmentCommand,
|
|
1298
|
-
DescribeCasesCommand,
|
|
1299
|
-
DescribeCommunicationsCommand,
|
|
1300
|
-
DescribeCreateCaseOptionsCommand,
|
|
1301
|
-
DescribeServicesCommand,
|
|
1302
|
-
DescribeSeverityLevelsCommand,
|
|
1303
|
-
DescribeSupportedLanguagesCommand,
|
|
1304
|
-
DescribeTrustedAdvisorCheckRefreshStatusesCommand,
|
|
1305
|
-
DescribeTrustedAdvisorCheckResultCommand,
|
|
1306
|
-
DescribeTrustedAdvisorCheckSummariesCommand,
|
|
1307
|
-
DescribeTrustedAdvisorChecksCommand,
|
|
1308
|
-
RefreshTrustedAdvisorCheckCommand,
|
|
1309
|
-
ResolveCaseCommand,
|
|
1310
|
-
paginateDescribeCases,
|
|
1311
|
-
paginateDescribeCommunications,
|
|
1312
|
-
AttachmentLimitExceeded,
|
|
1313
|
-
AttachmentSetExpired,
|
|
1314
|
-
AttachmentSetIdNotFound,
|
|
1315
|
-
AttachmentSetSizeLimitExceeded,
|
|
1316
|
-
InternalServerError,
|
|
1317
|
-
CaseIdNotFound,
|
|
1318
|
-
AttachmentIdNotFound,
|
|
1319
|
-
CaseCreationLimitExceeded,
|
|
1320
|
-
DescribeAttachmentLimitExceeded,
|
|
1321
|
-
ThrottlingException
|
|
1148
|
+
Object.defineProperty(exports, "$Command", {
|
|
1149
|
+
enumerable: true,
|
|
1150
|
+
get: function () { return smithyClient.Command; }
|
|
1322
1151
|
});
|
|
1323
|
-
|
|
1152
|
+
Object.defineProperty(exports, "__Client", {
|
|
1153
|
+
enumerable: true,
|
|
1154
|
+
get: function () { return smithyClient.Client; }
|
|
1155
|
+
});
|
|
1156
|
+
exports.AddAttachmentsToSetCommand = AddAttachmentsToSetCommand;
|
|
1157
|
+
exports.AddCommunicationToCaseCommand = AddCommunicationToCaseCommand;
|
|
1158
|
+
exports.AttachmentIdNotFound = AttachmentIdNotFound;
|
|
1159
|
+
exports.AttachmentLimitExceeded = AttachmentLimitExceeded;
|
|
1160
|
+
exports.AttachmentSetExpired = AttachmentSetExpired;
|
|
1161
|
+
exports.AttachmentSetIdNotFound = AttachmentSetIdNotFound;
|
|
1162
|
+
exports.AttachmentSetSizeLimitExceeded = AttachmentSetSizeLimitExceeded;
|
|
1163
|
+
exports.CaseCreationLimitExceeded = CaseCreationLimitExceeded;
|
|
1164
|
+
exports.CaseIdNotFound = CaseIdNotFound;
|
|
1165
|
+
exports.CreateCaseCommand = CreateCaseCommand;
|
|
1166
|
+
exports.DescribeAttachmentCommand = DescribeAttachmentCommand;
|
|
1167
|
+
exports.DescribeAttachmentLimitExceeded = DescribeAttachmentLimitExceeded;
|
|
1168
|
+
exports.DescribeCasesCommand = DescribeCasesCommand;
|
|
1169
|
+
exports.DescribeCommunicationsCommand = DescribeCommunicationsCommand;
|
|
1170
|
+
exports.DescribeCreateCaseOptionsCommand = DescribeCreateCaseOptionsCommand;
|
|
1171
|
+
exports.DescribeServicesCommand = DescribeServicesCommand;
|
|
1172
|
+
exports.DescribeSeverityLevelsCommand = DescribeSeverityLevelsCommand;
|
|
1173
|
+
exports.DescribeSupportedLanguagesCommand = DescribeSupportedLanguagesCommand;
|
|
1174
|
+
exports.DescribeTrustedAdvisorCheckRefreshStatusesCommand = DescribeTrustedAdvisorCheckRefreshStatusesCommand;
|
|
1175
|
+
exports.DescribeTrustedAdvisorCheckResultCommand = DescribeTrustedAdvisorCheckResultCommand;
|
|
1176
|
+
exports.DescribeTrustedAdvisorCheckSummariesCommand = DescribeTrustedAdvisorCheckSummariesCommand;
|
|
1177
|
+
exports.DescribeTrustedAdvisorChecksCommand = DescribeTrustedAdvisorChecksCommand;
|
|
1178
|
+
exports.InternalServerError = InternalServerError;
|
|
1179
|
+
exports.RefreshTrustedAdvisorCheckCommand = RefreshTrustedAdvisorCheckCommand;
|
|
1180
|
+
exports.ResolveCaseCommand = ResolveCaseCommand;
|
|
1181
|
+
exports.Support = Support;
|
|
1182
|
+
exports.SupportClient = SupportClient;
|
|
1183
|
+
exports.SupportServiceException = SupportServiceException;
|
|
1184
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1185
|
+
exports.paginateDescribeCases = paginateDescribeCases;
|
|
1186
|
+
exports.paginateDescribeCommunications = paginateDescribeCommunications;
|