@aws-sdk/client-support 3.183.0 → 3.186.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/CHANGELOG.md +19 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Support.js +65 -58
- package/dist-es/SupportClient.js +28 -22
- package/dist-es/commands/AddAttachmentsToSetCommand.js +28 -21
- package/dist-es/commands/AddCommunicationToCaseCommand.js +28 -21
- package/dist-es/commands/CreateCaseCommand.js +28 -21
- package/dist-es/commands/DescribeAttachmentCommand.js +28 -21
- package/dist-es/commands/DescribeCasesCommand.js +28 -21
- package/dist-es/commands/DescribeCommunicationsCommand.js +28 -21
- package/dist-es/commands/DescribeServicesCommand.js +28 -21
- package/dist-es/commands/DescribeSeverityLevelsCommand.js +28 -21
- package/dist-es/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +28 -21
- package/dist-es/commands/DescribeTrustedAdvisorCheckResultCommand.js +28 -21
- package/dist-es/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +28 -21
- package/dist-es/commands/DescribeTrustedAdvisorChecksCommand.js +28 -21
- package/dist-es/commands/RefreshTrustedAdvisorCheckCommand.js +28 -21
- package/dist-es/commands/ResolveCaseCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SupportServiceException.js +10 -5
- package/dist-es/models/models_0.js +144 -231
- package/dist-es/pagination/DescribeCasesPaginator.js +68 -25
- package/dist-es/pagination/DescribeCommunicationsPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +1212 -950
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-support
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-support
|
|
@@ -1296,10 +1296,10 @@ const deserializeAws_json1_1TrustedAdvisorResourcesSummary = (output, context) =
|
|
|
1296
1296
|
};
|
|
1297
1297
|
};
|
|
1298
1298
|
const deserializeMetadata = (output) => {
|
|
1299
|
-
var _a;
|
|
1299
|
+
var _a, _b;
|
|
1300
1300
|
return ({
|
|
1301
1301
|
httpStatusCode: output.statusCode,
|
|
1302
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
1302
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
1303
1303
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1304
1304
|
cfId: output.headers["x-amz-cf-id"],
|
|
1305
1305
|
});
|
package/dist-es/Support.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { AddAttachmentsToSetCommand, } from "./commands/AddAttachmentsToSetCommand";
|
|
2
3
|
import { AddCommunicationToCaseCommand, } from "./commands/AddCommunicationToCaseCommand";
|
|
3
4
|
import { CreateCaseCommand } from "./commands/CreateCaseCommand";
|
|
@@ -13,201 +14,207 @@ import { DescribeTrustedAdvisorCheckSummariesCommand, } from "./commands/Describ
|
|
|
13
14
|
import { RefreshTrustedAdvisorCheckCommand, } from "./commands/RefreshTrustedAdvisorCheckCommand";
|
|
14
15
|
import { ResolveCaseCommand } from "./commands/ResolveCaseCommand";
|
|
15
16
|
import { SupportClient } from "./SupportClient";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
var Support = (function (_super) {
|
|
18
|
+
__extends(Support, _super);
|
|
19
|
+
function Support() {
|
|
20
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
21
|
+
}
|
|
22
|
+
Support.prototype.addAttachmentsToSet = function (args, optionsOrCb, cb) {
|
|
23
|
+
var command = new AddAttachmentsToSetCommand(args);
|
|
19
24
|
if (typeof optionsOrCb === "function") {
|
|
20
25
|
this.send(command, optionsOrCb);
|
|
21
26
|
}
|
|
22
27
|
else if (typeof cb === "function") {
|
|
23
28
|
if (typeof optionsOrCb !== "object")
|
|
24
|
-
throw new Error(
|
|
29
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
25
30
|
this.send(command, optionsOrCb || {}, cb);
|
|
26
31
|
}
|
|
27
32
|
else {
|
|
28
33
|
return this.send(command, optionsOrCb);
|
|
29
34
|
}
|
|
30
|
-
}
|
|
31
|
-
addCommunicationToCase(args, optionsOrCb, cb) {
|
|
32
|
-
|
|
35
|
+
};
|
|
36
|
+
Support.prototype.addCommunicationToCase = function (args, optionsOrCb, cb) {
|
|
37
|
+
var command = new AddCommunicationToCaseCommand(args);
|
|
33
38
|
if (typeof optionsOrCb === "function") {
|
|
34
39
|
this.send(command, optionsOrCb);
|
|
35
40
|
}
|
|
36
41
|
else if (typeof cb === "function") {
|
|
37
42
|
if (typeof optionsOrCb !== "object")
|
|
38
|
-
throw new Error(
|
|
43
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
39
44
|
this.send(command, optionsOrCb || {}, cb);
|
|
40
45
|
}
|
|
41
46
|
else {
|
|
42
47
|
return this.send(command, optionsOrCb);
|
|
43
48
|
}
|
|
44
|
-
}
|
|
45
|
-
createCase(args, optionsOrCb, cb) {
|
|
46
|
-
|
|
49
|
+
};
|
|
50
|
+
Support.prototype.createCase = function (args, optionsOrCb, cb) {
|
|
51
|
+
var command = new CreateCaseCommand(args);
|
|
47
52
|
if (typeof optionsOrCb === "function") {
|
|
48
53
|
this.send(command, optionsOrCb);
|
|
49
54
|
}
|
|
50
55
|
else if (typeof cb === "function") {
|
|
51
56
|
if (typeof optionsOrCb !== "object")
|
|
52
|
-
throw new Error(
|
|
57
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
53
58
|
this.send(command, optionsOrCb || {}, cb);
|
|
54
59
|
}
|
|
55
60
|
else {
|
|
56
61
|
return this.send(command, optionsOrCb);
|
|
57
62
|
}
|
|
58
|
-
}
|
|
59
|
-
describeAttachment(args, optionsOrCb, cb) {
|
|
60
|
-
|
|
63
|
+
};
|
|
64
|
+
Support.prototype.describeAttachment = function (args, optionsOrCb, cb) {
|
|
65
|
+
var command = new DescribeAttachmentCommand(args);
|
|
61
66
|
if (typeof optionsOrCb === "function") {
|
|
62
67
|
this.send(command, optionsOrCb);
|
|
63
68
|
}
|
|
64
69
|
else if (typeof cb === "function") {
|
|
65
70
|
if (typeof optionsOrCb !== "object")
|
|
66
|
-
throw new Error(
|
|
71
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
67
72
|
this.send(command, optionsOrCb || {}, cb);
|
|
68
73
|
}
|
|
69
74
|
else {
|
|
70
75
|
return this.send(command, optionsOrCb);
|
|
71
76
|
}
|
|
72
|
-
}
|
|
73
|
-
describeCases(args, optionsOrCb, cb) {
|
|
74
|
-
|
|
77
|
+
};
|
|
78
|
+
Support.prototype.describeCases = function (args, optionsOrCb, cb) {
|
|
79
|
+
var command = new DescribeCasesCommand(args);
|
|
75
80
|
if (typeof optionsOrCb === "function") {
|
|
76
81
|
this.send(command, optionsOrCb);
|
|
77
82
|
}
|
|
78
83
|
else if (typeof cb === "function") {
|
|
79
84
|
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error(
|
|
85
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
81
86
|
this.send(command, optionsOrCb || {}, cb);
|
|
82
87
|
}
|
|
83
88
|
else {
|
|
84
89
|
return this.send(command, optionsOrCb);
|
|
85
90
|
}
|
|
86
|
-
}
|
|
87
|
-
describeCommunications(args, optionsOrCb, cb) {
|
|
88
|
-
|
|
91
|
+
};
|
|
92
|
+
Support.prototype.describeCommunications = function (args, optionsOrCb, cb) {
|
|
93
|
+
var command = new DescribeCommunicationsCommand(args);
|
|
89
94
|
if (typeof optionsOrCb === "function") {
|
|
90
95
|
this.send(command, optionsOrCb);
|
|
91
96
|
}
|
|
92
97
|
else if (typeof cb === "function") {
|
|
93
98
|
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error(
|
|
99
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
95
100
|
this.send(command, optionsOrCb || {}, cb);
|
|
96
101
|
}
|
|
97
102
|
else {
|
|
98
103
|
return this.send(command, optionsOrCb);
|
|
99
104
|
}
|
|
100
|
-
}
|
|
101
|
-
describeServices(args, optionsOrCb, cb) {
|
|
102
|
-
|
|
105
|
+
};
|
|
106
|
+
Support.prototype.describeServices = function (args, optionsOrCb, cb) {
|
|
107
|
+
var command = new DescribeServicesCommand(args);
|
|
103
108
|
if (typeof optionsOrCb === "function") {
|
|
104
109
|
this.send(command, optionsOrCb);
|
|
105
110
|
}
|
|
106
111
|
else if (typeof cb === "function") {
|
|
107
112
|
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error(
|
|
113
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
109
114
|
this.send(command, optionsOrCb || {}, cb);
|
|
110
115
|
}
|
|
111
116
|
else {
|
|
112
117
|
return this.send(command, optionsOrCb);
|
|
113
118
|
}
|
|
114
|
-
}
|
|
115
|
-
describeSeverityLevels(args, optionsOrCb, cb) {
|
|
116
|
-
|
|
119
|
+
};
|
|
120
|
+
Support.prototype.describeSeverityLevels = function (args, optionsOrCb, cb) {
|
|
121
|
+
var command = new DescribeSeverityLevelsCommand(args);
|
|
117
122
|
if (typeof optionsOrCb === "function") {
|
|
118
123
|
this.send(command, optionsOrCb);
|
|
119
124
|
}
|
|
120
125
|
else if (typeof cb === "function") {
|
|
121
126
|
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error(
|
|
127
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
123
128
|
this.send(command, optionsOrCb || {}, cb);
|
|
124
129
|
}
|
|
125
130
|
else {
|
|
126
131
|
return this.send(command, optionsOrCb);
|
|
127
132
|
}
|
|
128
|
-
}
|
|
129
|
-
describeTrustedAdvisorCheckRefreshStatuses(args, optionsOrCb, cb) {
|
|
130
|
-
|
|
133
|
+
};
|
|
134
|
+
Support.prototype.describeTrustedAdvisorCheckRefreshStatuses = function (args, optionsOrCb, cb) {
|
|
135
|
+
var command = new DescribeTrustedAdvisorCheckRefreshStatusesCommand(args);
|
|
131
136
|
if (typeof optionsOrCb === "function") {
|
|
132
137
|
this.send(command, optionsOrCb);
|
|
133
138
|
}
|
|
134
139
|
else if (typeof cb === "function") {
|
|
135
140
|
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error(
|
|
141
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
137
142
|
this.send(command, optionsOrCb || {}, cb);
|
|
138
143
|
}
|
|
139
144
|
else {
|
|
140
145
|
return this.send(command, optionsOrCb);
|
|
141
146
|
}
|
|
142
|
-
}
|
|
143
|
-
describeTrustedAdvisorCheckResult(args, optionsOrCb, cb) {
|
|
144
|
-
|
|
147
|
+
};
|
|
148
|
+
Support.prototype.describeTrustedAdvisorCheckResult = function (args, optionsOrCb, cb) {
|
|
149
|
+
var command = new DescribeTrustedAdvisorCheckResultCommand(args);
|
|
145
150
|
if (typeof optionsOrCb === "function") {
|
|
146
151
|
this.send(command, optionsOrCb);
|
|
147
152
|
}
|
|
148
153
|
else if (typeof cb === "function") {
|
|
149
154
|
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error(
|
|
155
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
151
156
|
this.send(command, optionsOrCb || {}, cb);
|
|
152
157
|
}
|
|
153
158
|
else {
|
|
154
159
|
return this.send(command, optionsOrCb);
|
|
155
160
|
}
|
|
156
|
-
}
|
|
157
|
-
describeTrustedAdvisorChecks(args, optionsOrCb, cb) {
|
|
158
|
-
|
|
161
|
+
};
|
|
162
|
+
Support.prototype.describeTrustedAdvisorChecks = function (args, optionsOrCb, cb) {
|
|
163
|
+
var command = new DescribeTrustedAdvisorChecksCommand(args);
|
|
159
164
|
if (typeof optionsOrCb === "function") {
|
|
160
165
|
this.send(command, optionsOrCb);
|
|
161
166
|
}
|
|
162
167
|
else if (typeof cb === "function") {
|
|
163
168
|
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error(
|
|
169
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
165
170
|
this.send(command, optionsOrCb || {}, cb);
|
|
166
171
|
}
|
|
167
172
|
else {
|
|
168
173
|
return this.send(command, optionsOrCb);
|
|
169
174
|
}
|
|
170
|
-
}
|
|
171
|
-
describeTrustedAdvisorCheckSummaries(args, optionsOrCb, cb) {
|
|
172
|
-
|
|
175
|
+
};
|
|
176
|
+
Support.prototype.describeTrustedAdvisorCheckSummaries = function (args, optionsOrCb, cb) {
|
|
177
|
+
var command = new DescribeTrustedAdvisorCheckSummariesCommand(args);
|
|
173
178
|
if (typeof optionsOrCb === "function") {
|
|
174
179
|
this.send(command, optionsOrCb);
|
|
175
180
|
}
|
|
176
181
|
else if (typeof cb === "function") {
|
|
177
182
|
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error(
|
|
183
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
179
184
|
this.send(command, optionsOrCb || {}, cb);
|
|
180
185
|
}
|
|
181
186
|
else {
|
|
182
187
|
return this.send(command, optionsOrCb);
|
|
183
188
|
}
|
|
184
|
-
}
|
|
185
|
-
refreshTrustedAdvisorCheck(args, optionsOrCb, cb) {
|
|
186
|
-
|
|
189
|
+
};
|
|
190
|
+
Support.prototype.refreshTrustedAdvisorCheck = function (args, optionsOrCb, cb) {
|
|
191
|
+
var command = new RefreshTrustedAdvisorCheckCommand(args);
|
|
187
192
|
if (typeof optionsOrCb === "function") {
|
|
188
193
|
this.send(command, optionsOrCb);
|
|
189
194
|
}
|
|
190
195
|
else if (typeof cb === "function") {
|
|
191
196
|
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error(
|
|
197
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
193
198
|
this.send(command, optionsOrCb || {}, cb);
|
|
194
199
|
}
|
|
195
200
|
else {
|
|
196
201
|
return this.send(command, optionsOrCb);
|
|
197
202
|
}
|
|
198
|
-
}
|
|
199
|
-
resolveCase(args, optionsOrCb, cb) {
|
|
200
|
-
|
|
203
|
+
};
|
|
204
|
+
Support.prototype.resolveCase = function (args, optionsOrCb, cb) {
|
|
205
|
+
var command = new ResolveCaseCommand(args);
|
|
201
206
|
if (typeof optionsOrCb === "function") {
|
|
202
207
|
this.send(command, optionsOrCb);
|
|
203
208
|
}
|
|
204
209
|
else if (typeof cb === "function") {
|
|
205
210
|
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error(
|
|
211
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
207
212
|
this.send(command, optionsOrCb || {}, cb);
|
|
208
213
|
}
|
|
209
214
|
else {
|
|
210
215
|
return this.send(command, optionsOrCb);
|
|
211
216
|
}
|
|
212
|
-
}
|
|
213
|
-
|
|
217
|
+
};
|
|
218
|
+
return Support;
|
|
219
|
+
}(SupportClient));
|
|
220
|
+
export { Support };
|
package/dist-es/SupportClient.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var SupportClient = (function (_super) {
|
|
13
|
+
__extends(SupportClient, _super);
|
|
14
|
+
function SupportClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
SupportClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return SupportClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { SupportClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AddAttachmentsToSetRequestFilterSensitiveLog, AddAttachmentsToSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AddAttachmentsToSetCommand, serializeAws_json1_1AddAttachmentsToSetCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AddAttachmentsToSetCommand = (function (_super) {
|
|
7
|
+
__extends(AddAttachmentsToSetCommand, _super);
|
|
8
|
+
function AddAttachmentsToSetCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AddAttachmentsToSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SupportClient";
|
|
18
|
+
var commandName = "AddAttachmentsToSetCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AddAttachmentsToSetRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AddAttachmentsToSetResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AddAttachmentsToSetCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AddAttachmentsToSetCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AddAttachmentsToSetCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AddAttachmentsToSetCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AddAttachmentsToSetCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AddAttachmentsToSetCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AddCommunicationToCaseRequestFilterSensitiveLog, AddCommunicationToCaseResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AddCommunicationToCaseCommand, serializeAws_json1_1AddCommunicationToCaseCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AddCommunicationToCaseCommand = (function (_super) {
|
|
7
|
+
__extends(AddCommunicationToCaseCommand, _super);
|
|
8
|
+
function AddCommunicationToCaseCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AddCommunicationToCaseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SupportClient";
|
|
18
|
+
var commandName = "AddCommunicationToCaseCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AddCommunicationToCaseRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AddCommunicationToCaseResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AddCommunicationToCaseCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AddCommunicationToCaseCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AddCommunicationToCaseCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AddCommunicationToCaseCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AddCommunicationToCaseCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AddCommunicationToCaseCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateCaseRequestFilterSensitiveLog, CreateCaseResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateCaseCommand, serializeAws_json1_1CreateCaseCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateCaseCommand = (function (_super) {
|
|
7
|
+
__extends(CreateCaseCommand, _super);
|
|
8
|
+
function CreateCaseCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateCaseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SupportClient";
|
|
18
|
+
var commandName = "CreateCaseCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateCaseRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateCaseResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateCaseCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateCaseCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateCaseCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateCaseCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateCaseCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateCaseCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeAttachmentRequestFilterSensitiveLog, DescribeAttachmentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeAttachmentCommand, serializeAws_json1_1DescribeAttachmentCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeAttachmentCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeAttachmentCommand, _super);
|
|
8
|
+
function DescribeAttachmentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeAttachmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SupportClient";
|
|
18
|
+
var commandName = "DescribeAttachmentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeAttachmentRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeAttachmentResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeAttachmentCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeAttachmentCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeAttachmentCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeAttachmentCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeAttachmentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeAttachmentCommand };
|