@aws-sdk/client-support 3.183.0 → 3.185.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 +11 -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 +5 -5
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"aws-cn-global": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -46,7 +47,7 @@ const regionHash = {
|
|
|
46
47
|
signingRegion: "us-gov-west-1",
|
|
47
48
|
},
|
|
48
49
|
};
|
|
49
|
-
|
|
50
|
+
var partitionHash = {
|
|
50
51
|
aws: {
|
|
51
52
|
regions: [
|
|
52
53
|
"af-south-1",
|
|
@@ -167,9 +168,8 @@ const partitionHash = {
|
|
|
167
168
|
],
|
|
168
169
|
},
|
|
169
170
|
};
|
|
170
|
-
export
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
});
|
|
171
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
172
|
+
return __generator(this, function (_a) {
|
|
173
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "support", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
174
|
+
});
|
|
175
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var SupportServiceException = (function (_super) {
|
|
4
|
+
__extends(SupportServiceException, _super);
|
|
5
|
+
function SupportServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, SupportServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return SupportServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { SupportServiceException };
|
|
@@ -1,241 +1,154 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SupportServiceException as __BaseException } from "./SupportServiceException";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
this.$fault = "client";
|
|
11
|
-
Object.setPrototypeOf(this, AttachmentLimitExceeded.prototype);
|
|
3
|
+
var AttachmentLimitExceeded = (function (_super) {
|
|
4
|
+
__extends(AttachmentLimitExceeded, _super);
|
|
5
|
+
function AttachmentLimitExceeded(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "AttachmentLimitExceeded", $fault: "client" }, opts)) || this;
|
|
7
|
+
_this.name = "AttachmentLimitExceeded";
|
|
8
|
+
_this.$fault = "client";
|
|
9
|
+
Object.setPrototypeOf(_this, AttachmentLimitExceeded.prototype);
|
|
10
|
+
return _this;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
return AttachmentLimitExceeded;
|
|
13
|
+
}(__BaseException));
|
|
14
|
+
export { AttachmentLimitExceeded };
|
|
15
|
+
var AttachmentSetExpired = (function (_super) {
|
|
16
|
+
__extends(AttachmentSetExpired, _super);
|
|
17
|
+
function AttachmentSetExpired(opts) {
|
|
18
|
+
var _this = _super.call(this, __assign({ name: "AttachmentSetExpired", $fault: "client" }, opts)) || this;
|
|
19
|
+
_this.name = "AttachmentSetExpired";
|
|
20
|
+
_this.$fault = "client";
|
|
21
|
+
Object.setPrototypeOf(_this, AttachmentSetExpired.prototype);
|
|
22
|
+
return _this;
|
|
24
23
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
24
|
+
return AttachmentSetExpired;
|
|
25
|
+
}(__BaseException));
|
|
26
|
+
export { AttachmentSetExpired };
|
|
27
|
+
var AttachmentSetIdNotFound = (function (_super) {
|
|
28
|
+
__extends(AttachmentSetIdNotFound, _super);
|
|
29
|
+
function AttachmentSetIdNotFound(opts) {
|
|
30
|
+
var _this = _super.call(this, __assign({ name: "AttachmentSetIdNotFound", $fault: "client" }, opts)) || this;
|
|
31
|
+
_this.name = "AttachmentSetIdNotFound";
|
|
32
|
+
_this.$fault = "client";
|
|
33
|
+
Object.setPrototypeOf(_this, AttachmentSetIdNotFound.prototype);
|
|
34
|
+
return _this;
|
|
36
35
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
36
|
+
return AttachmentSetIdNotFound;
|
|
37
|
+
}(__BaseException));
|
|
38
|
+
export { AttachmentSetIdNotFound };
|
|
39
|
+
var AttachmentSetSizeLimitExceeded = (function (_super) {
|
|
40
|
+
__extends(AttachmentSetSizeLimitExceeded, _super);
|
|
41
|
+
function AttachmentSetSizeLimitExceeded(opts) {
|
|
42
|
+
var _this = _super.call(this, __assign({ name: "AttachmentSetSizeLimitExceeded", $fault: "client" }, opts)) || this;
|
|
43
|
+
_this.name = "AttachmentSetSizeLimitExceeded";
|
|
44
|
+
_this.$fault = "client";
|
|
45
|
+
Object.setPrototypeOf(_this, AttachmentSetSizeLimitExceeded.prototype);
|
|
46
|
+
return _this;
|
|
48
47
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
48
|
+
return AttachmentSetSizeLimitExceeded;
|
|
49
|
+
}(__BaseException));
|
|
50
|
+
export { AttachmentSetSizeLimitExceeded };
|
|
51
|
+
var InternalServerError = (function (_super) {
|
|
52
|
+
__extends(InternalServerError, _super);
|
|
53
|
+
function InternalServerError(opts) {
|
|
54
|
+
var _this = _super.call(this, __assign({ name: "InternalServerError", $fault: "server" }, opts)) || this;
|
|
55
|
+
_this.name = "InternalServerError";
|
|
56
|
+
_this.$fault = "server";
|
|
57
|
+
Object.setPrototypeOf(_this, InternalServerError.prototype);
|
|
58
|
+
return _this;
|
|
60
59
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
60
|
+
return InternalServerError;
|
|
61
|
+
}(__BaseException));
|
|
62
|
+
export { InternalServerError };
|
|
63
|
+
var CaseIdNotFound = (function (_super) {
|
|
64
|
+
__extends(CaseIdNotFound, _super);
|
|
65
|
+
function CaseIdNotFound(opts) {
|
|
66
|
+
var _this = _super.call(this, __assign({ name: "CaseIdNotFound", $fault: "client" }, opts)) || this;
|
|
67
|
+
_this.name = "CaseIdNotFound";
|
|
68
|
+
_this.$fault = "client";
|
|
69
|
+
Object.setPrototypeOf(_this, CaseIdNotFound.prototype);
|
|
70
|
+
return _this;
|
|
72
71
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
72
|
+
return CaseIdNotFound;
|
|
73
|
+
}(__BaseException));
|
|
74
|
+
export { CaseIdNotFound };
|
|
75
|
+
var AttachmentIdNotFound = (function (_super) {
|
|
76
|
+
__extends(AttachmentIdNotFound, _super);
|
|
77
|
+
function AttachmentIdNotFound(opts) {
|
|
78
|
+
var _this = _super.call(this, __assign({ name: "AttachmentIdNotFound", $fault: "client" }, opts)) || this;
|
|
79
|
+
_this.name = "AttachmentIdNotFound";
|
|
80
|
+
_this.$fault = "client";
|
|
81
|
+
Object.setPrototypeOf(_this, AttachmentIdNotFound.prototype);
|
|
82
|
+
return _this;
|
|
84
83
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
84
|
+
return AttachmentIdNotFound;
|
|
85
|
+
}(__BaseException));
|
|
86
|
+
export { AttachmentIdNotFound };
|
|
87
|
+
var CaseCreationLimitExceeded = (function (_super) {
|
|
88
|
+
__extends(CaseCreationLimitExceeded, _super);
|
|
89
|
+
function CaseCreationLimitExceeded(opts) {
|
|
90
|
+
var _this = _super.call(this, __assign({ name: "CaseCreationLimitExceeded", $fault: "client" }, opts)) || this;
|
|
91
|
+
_this.name = "CaseCreationLimitExceeded";
|
|
92
|
+
_this.$fault = "client";
|
|
93
|
+
Object.setPrototypeOf(_this, CaseCreationLimitExceeded.prototype);
|
|
94
|
+
return _this;
|
|
96
95
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
96
|
+
return CaseCreationLimitExceeded;
|
|
97
|
+
}(__BaseException));
|
|
98
|
+
export { CaseCreationLimitExceeded };
|
|
99
|
+
var DescribeAttachmentLimitExceeded = (function (_super) {
|
|
100
|
+
__extends(DescribeAttachmentLimitExceeded, _super);
|
|
101
|
+
function DescribeAttachmentLimitExceeded(opts) {
|
|
102
|
+
var _this = _super.call(this, __assign({ name: "DescribeAttachmentLimitExceeded", $fault: "client" }, opts)) || this;
|
|
103
|
+
_this.name = "DescribeAttachmentLimitExceeded";
|
|
104
|
+
_this.$fault = "client";
|
|
105
|
+
Object.setPrototypeOf(_this, DescribeAttachmentLimitExceeded.prototype);
|
|
106
|
+
return _this;
|
|
108
107
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
});
|
|
113
|
-
export
|
|
114
|
-
|
|
115
|
-
});
|
|
116
|
-
export
|
|
117
|
-
|
|
118
|
-
});
|
|
119
|
-
export
|
|
120
|
-
|
|
121
|
-
});
|
|
122
|
-
export
|
|
123
|
-
|
|
124
|
-
});
|
|
125
|
-
export
|
|
126
|
-
|
|
127
|
-
});
|
|
128
|
-
export
|
|
129
|
-
|
|
130
|
-
});
|
|
131
|
-
export
|
|
132
|
-
|
|
133
|
-
});
|
|
134
|
-
export
|
|
135
|
-
|
|
136
|
-
});
|
|
137
|
-
export
|
|
138
|
-
|
|
139
|
-
});
|
|
140
|
-
export
|
|
141
|
-
|
|
142
|
-
});
|
|
143
|
-
export
|
|
144
|
-
|
|
145
|
-
});
|
|
146
|
-
export
|
|
147
|
-
|
|
148
|
-
});
|
|
149
|
-
export
|
|
150
|
-
|
|
151
|
-
});
|
|
152
|
-
export
|
|
153
|
-
|
|
154
|
-
});
|
|
155
|
-
export
|
|
156
|
-
...obj,
|
|
157
|
-
});
|
|
158
|
-
export const DescribeCommunicationsResponseFilterSensitiveLog = (obj) => ({
|
|
159
|
-
...obj,
|
|
160
|
-
});
|
|
161
|
-
export const DescribeServicesRequestFilterSensitiveLog = (obj) => ({
|
|
162
|
-
...obj,
|
|
163
|
-
});
|
|
164
|
-
export const CategoryFilterSensitiveLog = (obj) => ({
|
|
165
|
-
...obj,
|
|
166
|
-
});
|
|
167
|
-
export const ServiceFilterSensitiveLog = (obj) => ({
|
|
168
|
-
...obj,
|
|
169
|
-
});
|
|
170
|
-
export const DescribeServicesResponseFilterSensitiveLog = (obj) => ({
|
|
171
|
-
...obj,
|
|
172
|
-
});
|
|
173
|
-
export const DescribeSeverityLevelsRequestFilterSensitiveLog = (obj) => ({
|
|
174
|
-
...obj,
|
|
175
|
-
});
|
|
176
|
-
export const SeverityLevelFilterSensitiveLog = (obj) => ({
|
|
177
|
-
...obj,
|
|
178
|
-
});
|
|
179
|
-
export const DescribeSeverityLevelsResponseFilterSensitiveLog = (obj) => ({
|
|
180
|
-
...obj,
|
|
181
|
-
});
|
|
182
|
-
export const DescribeTrustedAdvisorCheckRefreshStatusesRequestFilterSensitiveLog = (obj) => ({
|
|
183
|
-
...obj,
|
|
184
|
-
});
|
|
185
|
-
export const TrustedAdvisorCheckRefreshStatusFilterSensitiveLog = (obj) => ({
|
|
186
|
-
...obj,
|
|
187
|
-
});
|
|
188
|
-
export const DescribeTrustedAdvisorCheckRefreshStatusesResponseFilterSensitiveLog = (obj) => ({
|
|
189
|
-
...obj,
|
|
190
|
-
});
|
|
191
|
-
export const DescribeTrustedAdvisorCheckResultRequestFilterSensitiveLog = (obj) => ({
|
|
192
|
-
...obj,
|
|
193
|
-
});
|
|
194
|
-
export const TrustedAdvisorCostOptimizingSummaryFilterSensitiveLog = (obj) => ({
|
|
195
|
-
...obj,
|
|
196
|
-
});
|
|
197
|
-
export const TrustedAdvisorCategorySpecificSummaryFilterSensitiveLog = (obj) => ({
|
|
198
|
-
...obj,
|
|
199
|
-
});
|
|
200
|
-
export const TrustedAdvisorResourceDetailFilterSensitiveLog = (obj) => ({
|
|
201
|
-
...obj,
|
|
202
|
-
});
|
|
203
|
-
export const TrustedAdvisorResourcesSummaryFilterSensitiveLog = (obj) => ({
|
|
204
|
-
...obj,
|
|
205
|
-
});
|
|
206
|
-
export const TrustedAdvisorCheckResultFilterSensitiveLog = (obj) => ({
|
|
207
|
-
...obj,
|
|
208
|
-
});
|
|
209
|
-
export const DescribeTrustedAdvisorCheckResultResponseFilterSensitiveLog = (obj) => ({
|
|
210
|
-
...obj,
|
|
211
|
-
});
|
|
212
|
-
export const DescribeTrustedAdvisorChecksRequestFilterSensitiveLog = (obj) => ({
|
|
213
|
-
...obj,
|
|
214
|
-
});
|
|
215
|
-
export const TrustedAdvisorCheckDescriptionFilterSensitiveLog = (obj) => ({
|
|
216
|
-
...obj,
|
|
217
|
-
});
|
|
218
|
-
export const DescribeTrustedAdvisorChecksResponseFilterSensitiveLog = (obj) => ({
|
|
219
|
-
...obj,
|
|
220
|
-
});
|
|
221
|
-
export const DescribeTrustedAdvisorCheckSummariesRequestFilterSensitiveLog = (obj) => ({
|
|
222
|
-
...obj,
|
|
223
|
-
});
|
|
224
|
-
export const TrustedAdvisorCheckSummaryFilterSensitiveLog = (obj) => ({
|
|
225
|
-
...obj,
|
|
226
|
-
});
|
|
227
|
-
export const DescribeTrustedAdvisorCheckSummariesResponseFilterSensitiveLog = (obj) => ({
|
|
228
|
-
...obj,
|
|
229
|
-
});
|
|
230
|
-
export const RefreshTrustedAdvisorCheckRequestFilterSensitiveLog = (obj) => ({
|
|
231
|
-
...obj,
|
|
232
|
-
});
|
|
233
|
-
export const RefreshTrustedAdvisorCheckResponseFilterSensitiveLog = (obj) => ({
|
|
234
|
-
...obj,
|
|
235
|
-
});
|
|
236
|
-
export const ResolveCaseRequestFilterSensitiveLog = (obj) => ({
|
|
237
|
-
...obj,
|
|
238
|
-
});
|
|
239
|
-
export const ResolveCaseResponseFilterSensitiveLog = (obj) => ({
|
|
240
|
-
...obj,
|
|
241
|
-
});
|
|
108
|
+
return DescribeAttachmentLimitExceeded;
|
|
109
|
+
}(__BaseException));
|
|
110
|
+
export { DescribeAttachmentLimitExceeded };
|
|
111
|
+
export var AttachmentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
112
|
+
export var AddAttachmentsToSetRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
|
+
export var AddAttachmentsToSetResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
114
|
+
export var AddCommunicationToCaseRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
115
|
+
export var AddCommunicationToCaseResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
116
|
+
export var AttachmentDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
117
|
+
export var CreateCaseRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
118
|
+
export var CreateCaseResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
119
|
+
export var DescribeAttachmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
120
|
+
export var DescribeAttachmentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
|
+
export var DescribeCasesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
122
|
+
export var CommunicationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
123
|
+
export var RecentCaseCommunicationsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
124
|
+
export var CaseDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
+
export var DescribeCasesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
126
|
+
export var DescribeCommunicationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
127
|
+
export var DescribeCommunicationsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
128
|
+
export var DescribeServicesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
129
|
+
export var CategoryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
130
|
+
export var ServiceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
|
+
export var DescribeServicesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
132
|
+
export var DescribeSeverityLevelsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
+
export var SeverityLevelFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
134
|
+
export var DescribeSeverityLevelsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
135
|
+
export var DescribeTrustedAdvisorCheckRefreshStatusesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
136
|
+
export var TrustedAdvisorCheckRefreshStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
+
export var DescribeTrustedAdvisorCheckRefreshStatusesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
138
|
+
export var DescribeTrustedAdvisorCheckResultRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
139
|
+
export var TrustedAdvisorCostOptimizingSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
140
|
+
export var TrustedAdvisorCategorySpecificSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
+
export var TrustedAdvisorResourceDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
142
|
+
export var TrustedAdvisorResourcesSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
143
|
+
export var TrustedAdvisorCheckResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
144
|
+
export var DescribeTrustedAdvisorCheckResultResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
|
+
export var DescribeTrustedAdvisorChecksRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
146
|
+
export var TrustedAdvisorCheckDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
147
|
+
export var DescribeTrustedAdvisorChecksResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
148
|
+
export var DescribeTrustedAdvisorCheckSummariesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
+
export var TrustedAdvisorCheckSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
150
|
+
export var DescribeTrustedAdvisorCheckSummariesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
151
|
+
export var RefreshTrustedAdvisorCheckRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
152
|
+
export var RefreshTrustedAdvisorCheckResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
153
|
+
export var ResolveCaseRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
154
|
+
export var ResolveCaseResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { DescribeCasesCommand, } from "../commands/DescribeCasesCommand";
|
|
2
3
|
import { Support } from "../Support";
|
|
3
4
|
import { SupportClient } from "../SupportClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeCasesCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.describeCases.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.nextToken = token;
|
|
16
|
-
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof Support) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SupportClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected Support | SupportClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.nextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateDescribeCases(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateDescribeCases_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Support)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof SupportClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Support | SupportClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.nextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { DescribeCommunicationsCommand, } from "../commands/DescribeCommunicationsCommand";
|
|
2
3
|
import { Support } from "../Support";
|
|
3
4
|
import { SupportClient } from "../SupportClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeCommunicationsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.describeCommunications.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.nextToken = token;
|
|
16
|
-
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof Support) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SupportClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected Support | SupportClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.nextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateDescribeCommunications(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateDescribeCommunications_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Support)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof SupportClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Support | SupportClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.nextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|