@aws-sdk/client-synthetics 3.180.0 → 3.183.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 +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +27 -21
- package/dist-es/Synthetics.js +86 -93
- package/dist-es/SyntheticsClient.js +22 -28
- package/dist-es/commands/AssociateResourceCommand.js +21 -28
- package/dist-es/commands/CreateCanaryCommand.js +21 -28
- package/dist-es/commands/CreateGroupCommand.js +21 -28
- package/dist-es/commands/DeleteCanaryCommand.js +21 -28
- package/dist-es/commands/DeleteGroupCommand.js +21 -28
- package/dist-es/commands/DescribeCanariesCommand.js +21 -28
- package/dist-es/commands/DescribeCanariesLastRunCommand.js +21 -28
- package/dist-es/commands/DescribeRuntimeVersionsCommand.js +21 -28
- package/dist-es/commands/DisassociateResourceCommand.js +21 -28
- package/dist-es/commands/GetCanaryCommand.js +21 -28
- package/dist-es/commands/GetCanaryRunsCommand.js +21 -28
- package/dist-es/commands/GetGroupCommand.js +21 -28
- package/dist-es/commands/ListAssociatedGroupsCommand.js +21 -28
- package/dist-es/commands/ListGroupResourcesCommand.js +21 -28
- package/dist-es/commands/ListGroupsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/StartCanaryCommand.js +21 -28
- package/dist-es/commands/StopCanaryCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateCanaryCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SyntheticsServiceException.js +5 -10
- package/dist-es/models/models_0.js +318 -187
- package/dist-es/pagination/DescribeCanariesLastRunPaginator.js +25 -68
- package/dist-es/pagination/DescribeCanariesPaginator.js +25 -68
- package/dist-es/pagination/DescribeRuntimeVersionsPaginator.js +25 -68
- package/dist-es/pagination/GetCanaryRunsPaginator.js +25 -68
- package/dist-es/pagination/ListAssociatedGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListGroupResourcesPaginator.js +25 -68
- package/dist-es/pagination/ListGroupsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +1547 -2111
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,88 +1,87 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { SyntheticsServiceException as __BaseException } from "./SyntheticsServiceException";
|
|
3
2
|
export var EncryptionMode;
|
|
4
3
|
(function (EncryptionMode) {
|
|
5
4
|
EncryptionMode["SSE_KMS"] = "SSE_KMS";
|
|
6
5
|
EncryptionMode["SSE_S3"] = "SSE_S3";
|
|
7
6
|
})(EncryptionMode || (EncryptionMode = {}));
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
7
|
+
export class ConflictException extends __BaseException {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "ConflictException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
this.name = "ConflictException";
|
|
15
|
+
this.$fault = "client";
|
|
16
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
17
|
+
this.Message = opts.Message;
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
}
|
|
20
|
+
export class InternalServerException extends __BaseException {
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "InternalServerException",
|
|
24
|
+
$fault: "server",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
this.name = "InternalServerException";
|
|
28
|
+
this.$fault = "server";
|
|
29
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
30
|
+
this.Message = opts.Message;
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
32
|
+
}
|
|
33
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ResourceNotFoundException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
this.name = "ResourceNotFoundException";
|
|
41
|
+
this.$fault = "client";
|
|
42
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
43
|
+
this.Message = opts.Message;
|
|
43
44
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
45
|
+
}
|
|
46
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "ServiceQuotaExceededException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
this.name = "ServiceQuotaExceededException";
|
|
54
|
+
this.$fault = "client";
|
|
55
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
56
|
+
this.Message = opts.Message;
|
|
56
57
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
58
|
+
}
|
|
59
|
+
export class ValidationException extends __BaseException {
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "ValidationException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
this.name = "ValidationException";
|
|
67
|
+
this.$fault = "client";
|
|
68
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
69
70
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
71
|
+
}
|
|
72
|
+
export class BadRequestException extends __BaseException {
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "BadRequestException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
this.name = "BadRequestException";
|
|
80
|
+
this.$fault = "client";
|
|
81
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
82
|
+
this.Message = opts.Message;
|
|
82
83
|
}
|
|
83
|
-
|
|
84
|
-
}(__BaseException));
|
|
85
|
-
export { BadRequestException };
|
|
84
|
+
}
|
|
86
85
|
export var CanaryState;
|
|
87
86
|
(function (CanaryState) {
|
|
88
87
|
CanaryState["CREATING"] = "CREATING";
|
|
@@ -121,121 +120,253 @@ export var CanaryRunStateReasonCode;
|
|
|
121
120
|
CanaryRunStateReasonCode["CANARY_FAILURE"] = "CANARY_FAILURE";
|
|
122
121
|
CanaryRunStateReasonCode["EXECUTION_FAILURE"] = "EXECUTION_FAILURE";
|
|
123
122
|
})(CanaryRunStateReasonCode || (CanaryRunStateReasonCode = {}));
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
123
|
+
export class RequestEntityTooLargeException extends __BaseException {
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "RequestEntityTooLargeException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
this.name = "RequestEntityTooLargeException";
|
|
131
|
+
this.$fault = "client";
|
|
132
|
+
Object.setPrototypeOf(this, RequestEntityTooLargeException.prototype);
|
|
133
|
+
this.Message = opts.Message;
|
|
133
134
|
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
135
|
+
}
|
|
136
|
+
export class InternalFailureException extends __BaseException {
|
|
137
|
+
constructor(opts) {
|
|
138
|
+
super({
|
|
139
|
+
name: "InternalFailureException",
|
|
140
|
+
$fault: "server",
|
|
141
|
+
...opts,
|
|
142
|
+
});
|
|
143
|
+
this.name = "InternalFailureException";
|
|
144
|
+
this.$fault = "server";
|
|
145
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
146
|
+
this.Message = opts.Message;
|
|
146
147
|
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
148
|
+
}
|
|
149
|
+
export class NotFoundException extends __BaseException {
|
|
150
|
+
constructor(opts) {
|
|
151
|
+
super({
|
|
152
|
+
name: "NotFoundException",
|
|
153
|
+
$fault: "client",
|
|
154
|
+
...opts,
|
|
155
|
+
});
|
|
156
|
+
this.name = "NotFoundException";
|
|
157
|
+
this.$fault = "client";
|
|
158
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
159
|
+
this.Message = opts.Message;
|
|
159
160
|
}
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
161
|
+
}
|
|
162
|
+
export class TooManyRequestsException extends __BaseException {
|
|
163
|
+
constructor(opts) {
|
|
164
|
+
super({
|
|
165
|
+
name: "TooManyRequestsException",
|
|
166
|
+
$fault: "client",
|
|
167
|
+
...opts,
|
|
168
|
+
});
|
|
169
|
+
this.name = "TooManyRequestsException";
|
|
170
|
+
this.$fault = "client";
|
|
171
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
172
|
+
this.Message = opts.Message;
|
|
172
173
|
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
export
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
export
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
export
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
export
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
export
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
export
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
export
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
export
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
export
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
export
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
export
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
export
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
export
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
export
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
export
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
export
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
export
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
export
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
export
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
export
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
export
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
export
|
|
241
|
-
|
|
174
|
+
}
|
|
175
|
+
export const S3EncryptionConfigFilterSensitiveLog = (obj) => ({
|
|
176
|
+
...obj,
|
|
177
|
+
});
|
|
178
|
+
export const ArtifactConfigInputFilterSensitiveLog = (obj) => ({
|
|
179
|
+
...obj,
|
|
180
|
+
});
|
|
181
|
+
export const ArtifactConfigOutputFilterSensitiveLog = (obj) => ({
|
|
182
|
+
...obj,
|
|
183
|
+
});
|
|
184
|
+
export const AssociateResourceRequestFilterSensitiveLog = (obj) => ({
|
|
185
|
+
...obj,
|
|
186
|
+
});
|
|
187
|
+
export const AssociateResourceResponseFilterSensitiveLog = (obj) => ({
|
|
188
|
+
...obj,
|
|
189
|
+
});
|
|
190
|
+
export const BaseScreenshotFilterSensitiveLog = (obj) => ({
|
|
191
|
+
...obj,
|
|
192
|
+
});
|
|
193
|
+
export const CanaryCodeOutputFilterSensitiveLog = (obj) => ({
|
|
194
|
+
...obj,
|
|
195
|
+
});
|
|
196
|
+
export const CanaryRunConfigOutputFilterSensitiveLog = (obj) => ({
|
|
197
|
+
...obj,
|
|
198
|
+
});
|
|
199
|
+
export const CanaryScheduleOutputFilterSensitiveLog = (obj) => ({
|
|
200
|
+
...obj,
|
|
201
|
+
});
|
|
202
|
+
export const CanaryStatusFilterSensitiveLog = (obj) => ({
|
|
203
|
+
...obj,
|
|
204
|
+
});
|
|
205
|
+
export const CanaryTimelineFilterSensitiveLog = (obj) => ({
|
|
206
|
+
...obj,
|
|
207
|
+
});
|
|
208
|
+
export const VisualReferenceOutputFilterSensitiveLog = (obj) => ({
|
|
209
|
+
...obj,
|
|
210
|
+
});
|
|
211
|
+
export const VpcConfigOutputFilterSensitiveLog = (obj) => ({
|
|
212
|
+
...obj,
|
|
213
|
+
});
|
|
214
|
+
export const CanaryFilterSensitiveLog = (obj) => ({
|
|
215
|
+
...obj,
|
|
216
|
+
});
|
|
217
|
+
export const CanaryRunStatusFilterSensitiveLog = (obj) => ({
|
|
218
|
+
...obj,
|
|
219
|
+
});
|
|
220
|
+
export const CanaryRunTimelineFilterSensitiveLog = (obj) => ({
|
|
221
|
+
...obj,
|
|
222
|
+
});
|
|
223
|
+
export const CanaryRunFilterSensitiveLog = (obj) => ({
|
|
224
|
+
...obj,
|
|
225
|
+
});
|
|
226
|
+
export const CanaryLastRunFilterSensitiveLog = (obj) => ({
|
|
227
|
+
...obj,
|
|
228
|
+
});
|
|
229
|
+
export const CanaryCodeInputFilterSensitiveLog = (obj) => ({
|
|
230
|
+
...obj,
|
|
231
|
+
});
|
|
232
|
+
export const CanaryRunConfigInputFilterSensitiveLog = (obj) => ({
|
|
233
|
+
...obj,
|
|
234
|
+
});
|
|
235
|
+
export const CanaryScheduleInputFilterSensitiveLog = (obj) => ({
|
|
236
|
+
...obj,
|
|
237
|
+
});
|
|
238
|
+
export const VpcConfigInputFilterSensitiveLog = (obj) => ({
|
|
239
|
+
...obj,
|
|
240
|
+
});
|
|
241
|
+
export const CreateCanaryRequestFilterSensitiveLog = (obj) => ({
|
|
242
|
+
...obj,
|
|
243
|
+
});
|
|
244
|
+
export const CreateCanaryResponseFilterSensitiveLog = (obj) => ({
|
|
245
|
+
...obj,
|
|
246
|
+
});
|
|
247
|
+
export const CreateGroupRequestFilterSensitiveLog = (obj) => ({
|
|
248
|
+
...obj,
|
|
249
|
+
});
|
|
250
|
+
export const GroupFilterSensitiveLog = (obj) => ({
|
|
251
|
+
...obj,
|
|
252
|
+
});
|
|
253
|
+
export const CreateGroupResponseFilterSensitiveLog = (obj) => ({
|
|
254
|
+
...obj,
|
|
255
|
+
});
|
|
256
|
+
export const DeleteCanaryRequestFilterSensitiveLog = (obj) => ({
|
|
257
|
+
...obj,
|
|
258
|
+
});
|
|
259
|
+
export const DeleteCanaryResponseFilterSensitiveLog = (obj) => ({
|
|
260
|
+
...obj,
|
|
261
|
+
});
|
|
262
|
+
export const DeleteGroupRequestFilterSensitiveLog = (obj) => ({
|
|
263
|
+
...obj,
|
|
264
|
+
});
|
|
265
|
+
export const DeleteGroupResponseFilterSensitiveLog = (obj) => ({
|
|
266
|
+
...obj,
|
|
267
|
+
});
|
|
268
|
+
export const DescribeCanariesRequestFilterSensitiveLog = (obj) => ({
|
|
269
|
+
...obj,
|
|
270
|
+
});
|
|
271
|
+
export const DescribeCanariesResponseFilterSensitiveLog = (obj) => ({
|
|
272
|
+
...obj,
|
|
273
|
+
});
|
|
274
|
+
export const DescribeCanariesLastRunRequestFilterSensitiveLog = (obj) => ({
|
|
275
|
+
...obj,
|
|
276
|
+
});
|
|
277
|
+
export const DescribeCanariesLastRunResponseFilterSensitiveLog = (obj) => ({
|
|
278
|
+
...obj,
|
|
279
|
+
});
|
|
280
|
+
export const DescribeRuntimeVersionsRequestFilterSensitiveLog = (obj) => ({
|
|
281
|
+
...obj,
|
|
282
|
+
});
|
|
283
|
+
export const RuntimeVersionFilterSensitiveLog = (obj) => ({
|
|
284
|
+
...obj,
|
|
285
|
+
});
|
|
286
|
+
export const DescribeRuntimeVersionsResponseFilterSensitiveLog = (obj) => ({
|
|
287
|
+
...obj,
|
|
288
|
+
});
|
|
289
|
+
export const DisassociateResourceRequestFilterSensitiveLog = (obj) => ({
|
|
290
|
+
...obj,
|
|
291
|
+
});
|
|
292
|
+
export const DisassociateResourceResponseFilterSensitiveLog = (obj) => ({
|
|
293
|
+
...obj,
|
|
294
|
+
});
|
|
295
|
+
export const GetCanaryRequestFilterSensitiveLog = (obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
});
|
|
298
|
+
export const GetCanaryResponseFilterSensitiveLog = (obj) => ({
|
|
299
|
+
...obj,
|
|
300
|
+
});
|
|
301
|
+
export const GetCanaryRunsRequestFilterSensitiveLog = (obj) => ({
|
|
302
|
+
...obj,
|
|
303
|
+
});
|
|
304
|
+
export const GetCanaryRunsResponseFilterSensitiveLog = (obj) => ({
|
|
305
|
+
...obj,
|
|
306
|
+
});
|
|
307
|
+
export const GetGroupRequestFilterSensitiveLog = (obj) => ({
|
|
308
|
+
...obj,
|
|
309
|
+
});
|
|
310
|
+
export const GetGroupResponseFilterSensitiveLog = (obj) => ({
|
|
311
|
+
...obj,
|
|
312
|
+
});
|
|
313
|
+
export const GroupSummaryFilterSensitiveLog = (obj) => ({
|
|
314
|
+
...obj,
|
|
315
|
+
});
|
|
316
|
+
export const ListAssociatedGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
317
|
+
...obj,
|
|
318
|
+
});
|
|
319
|
+
export const ListAssociatedGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
320
|
+
...obj,
|
|
321
|
+
});
|
|
322
|
+
export const ListGroupResourcesRequestFilterSensitiveLog = (obj) => ({
|
|
323
|
+
...obj,
|
|
324
|
+
});
|
|
325
|
+
export const ListGroupResourcesResponseFilterSensitiveLog = (obj) => ({
|
|
326
|
+
...obj,
|
|
327
|
+
});
|
|
328
|
+
export const ListGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
329
|
+
...obj,
|
|
330
|
+
});
|
|
331
|
+
export const ListGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
332
|
+
...obj,
|
|
333
|
+
});
|
|
334
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
335
|
+
...obj,
|
|
336
|
+
});
|
|
337
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
338
|
+
...obj,
|
|
339
|
+
});
|
|
340
|
+
export const StartCanaryRequestFilterSensitiveLog = (obj) => ({
|
|
341
|
+
...obj,
|
|
342
|
+
});
|
|
343
|
+
export const StartCanaryResponseFilterSensitiveLog = (obj) => ({
|
|
344
|
+
...obj,
|
|
345
|
+
});
|
|
346
|
+
export const StopCanaryRequestFilterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
});
|
|
349
|
+
export const StopCanaryResponseFilterSensitiveLog = (obj) => ({
|
|
350
|
+
...obj,
|
|
351
|
+
});
|
|
352
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
353
|
+
...obj,
|
|
354
|
+
});
|
|
355
|
+
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
356
|
+
...obj,
|
|
357
|
+
});
|
|
358
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
359
|
+
...obj,
|
|
360
|
+
});
|
|
361
|
+
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
362
|
+
...obj,
|
|
363
|
+
});
|
|
364
|
+
export const VisualReferenceInputFilterSensitiveLog = (obj) => ({
|
|
365
|
+
...obj,
|
|
366
|
+
});
|
|
367
|
+
export const UpdateCanaryRequestFilterSensitiveLog = (obj) => ({
|
|
368
|
+
...obj,
|
|
369
|
+
});
|
|
370
|
+
export const UpdateCanaryResponseFilterSensitiveLog = (obj) => ({
|
|
371
|
+
...obj,
|
|
372
|
+
});
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { DescribeCanariesLastRunCommand, } from "../commands/DescribeCanariesLastRunCommand";
|
|
3
2
|
import { Synthetics } from "../Synthetics";
|
|
4
3
|
import { SyntheticsClient } from "../SyntheticsClient";
|
|
5
|
-
|
|
6
|
-
|
|
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 DescribeCanariesLastRunCommand(input)], __read(args), false))];
|
|
14
|
-
case 1: return [2, _a.sent()];
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new DescribeCanariesLastRunCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
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.describeCanariesLastRun.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
-
case 1: return [2, _a.sent()];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.describeCanariesLastRun(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateDescribeCanariesLastRun(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateDescribeCanariesLastRun(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.NextToken = token;
|
|
16
|
+
input["MaxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof Synthetics) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof SyntheticsClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected Synthetics | SyntheticsClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.NextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
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 Synthetics)) 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 SyntheticsClient)) 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 Synthetics | SyntheticsClient");
|
|
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
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|