@aws-sdk/client-synthetics 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_restJson1.js +2 -2
- package/dist-es/Synthetics.js +93 -86
- package/dist-es/SyntheticsClient.js +28 -22
- package/dist-es/commands/AssociateResourceCommand.js +28 -21
- package/dist-es/commands/CreateCanaryCommand.js +28 -21
- package/dist-es/commands/CreateGroupCommand.js +28 -21
- package/dist-es/commands/DeleteCanaryCommand.js +28 -21
- package/dist-es/commands/DeleteGroupCommand.js +28 -21
- package/dist-es/commands/DescribeCanariesCommand.js +28 -21
- package/dist-es/commands/DescribeCanariesLastRunCommand.js +28 -21
- package/dist-es/commands/DescribeRuntimeVersionsCommand.js +28 -21
- package/dist-es/commands/DisassociateResourceCommand.js +28 -21
- package/dist-es/commands/GetCanaryCommand.js +28 -21
- package/dist-es/commands/GetCanaryRunsCommand.js +28 -21
- package/dist-es/commands/GetGroupCommand.js +28 -21
- package/dist-es/commands/ListAssociatedGroupsCommand.js +28 -21
- package/dist-es/commands/ListGroupResourcesCommand.js +28 -21
- package/dist-es/commands/ListGroupsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/StartCanaryCommand.js +28 -21
- package/dist-es/commands/StopCanaryCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateCanaryCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SyntheticsServiceException.js +10 -5
- package/dist-es/models/models_0.js +187 -318
- package/dist-es/pagination/DescribeCanariesLastRunPaginator.js +68 -25
- package/dist-es/pagination/DescribeCanariesPaginator.js +68 -25
- package/dist-es/pagination/DescribeRuntimeVersionsPaginator.js +68 -25
- package/dist-es/pagination/GetCanaryRunsPaginator.js +68 -25
- package/dist-es/pagination/ListAssociatedGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListGroupResourcesPaginator.js +68 -25
- package/dist-es/pagination/ListGroupsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +2124 -1547
- 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
|
@@ -1,87 +1,88 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SyntheticsServiceException as __BaseException } from "./SyntheticsServiceException";
|
|
2
3
|
export var EncryptionMode;
|
|
3
4
|
(function (EncryptionMode) {
|
|
4
5
|
EncryptionMode["SSE_KMS"] = "SSE_KMS";
|
|
5
6
|
EncryptionMode["SSE_S3"] = "SSE_S3";
|
|
6
7
|
})(EncryptionMode || (EncryptionMode = {}));
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
17
|
-
this.Message = opts.Message;
|
|
8
|
+
var ConflictException = (function (_super) {
|
|
9
|
+
__extends(ConflictException, _super);
|
|
10
|
+
function ConflictException(opts) {
|
|
11
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
12
|
+
_this.name = "ConflictException";
|
|
13
|
+
_this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
15
|
+
_this.Message = opts.Message;
|
|
16
|
+
return _this;
|
|
18
17
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
18
|
+
return ConflictException;
|
|
19
|
+
}(__BaseException));
|
|
20
|
+
export { ConflictException };
|
|
21
|
+
var InternalServerException = (function (_super) {
|
|
22
|
+
__extends(InternalServerException, _super);
|
|
23
|
+
function InternalServerException(opts) {
|
|
24
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
25
|
+
_this.name = "InternalServerException";
|
|
26
|
+
_this.$fault = "server";
|
|
27
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
28
|
+
_this.Message = opts.Message;
|
|
29
|
+
return _this;
|
|
31
30
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
31
|
+
return InternalServerException;
|
|
32
|
+
}(__BaseException));
|
|
33
|
+
export { InternalServerException };
|
|
34
|
+
var ResourceNotFoundException = (function (_super) {
|
|
35
|
+
__extends(ResourceNotFoundException, _super);
|
|
36
|
+
function ResourceNotFoundException(opts) {
|
|
37
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
38
|
+
_this.name = "ResourceNotFoundException";
|
|
39
|
+
_this.$fault = "client";
|
|
40
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
41
|
+
_this.Message = opts.Message;
|
|
42
|
+
return _this;
|
|
44
43
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
44
|
+
return ResourceNotFoundException;
|
|
45
|
+
}(__BaseException));
|
|
46
|
+
export { ResourceNotFoundException };
|
|
47
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
48
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
49
|
+
function ServiceQuotaExceededException(opts) {
|
|
50
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
51
|
+
_this.name = "ServiceQuotaExceededException";
|
|
52
|
+
_this.$fault = "client";
|
|
53
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
54
|
+
_this.Message = opts.Message;
|
|
55
|
+
return _this;
|
|
57
56
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
57
|
+
return ServiceQuotaExceededException;
|
|
58
|
+
}(__BaseException));
|
|
59
|
+
export { ServiceQuotaExceededException };
|
|
60
|
+
var ValidationException = (function (_super) {
|
|
61
|
+
__extends(ValidationException, _super);
|
|
62
|
+
function ValidationException(opts) {
|
|
63
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
64
|
+
_this.name = "ValidationException";
|
|
65
|
+
_this.$fault = "client";
|
|
66
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
67
|
+
_this.Message = opts.Message;
|
|
68
|
+
return _this;
|
|
70
69
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
70
|
+
return ValidationException;
|
|
71
|
+
}(__BaseException));
|
|
72
|
+
export { ValidationException };
|
|
73
|
+
var BadRequestException = (function (_super) {
|
|
74
|
+
__extends(BadRequestException, _super);
|
|
75
|
+
function BadRequestException(opts) {
|
|
76
|
+
var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
|
|
77
|
+
_this.name = "BadRequestException";
|
|
78
|
+
_this.$fault = "client";
|
|
79
|
+
Object.setPrototypeOf(_this, BadRequestException.prototype);
|
|
80
|
+
_this.Message = opts.Message;
|
|
81
|
+
return _this;
|
|
83
82
|
}
|
|
84
|
-
|
|
83
|
+
return BadRequestException;
|
|
84
|
+
}(__BaseException));
|
|
85
|
+
export { BadRequestException };
|
|
85
86
|
export var CanaryState;
|
|
86
87
|
(function (CanaryState) {
|
|
87
88
|
CanaryState["CREATING"] = "CREATING";
|
|
@@ -120,253 +121,121 @@ export var CanaryRunStateReasonCode;
|
|
|
120
121
|
CanaryRunStateReasonCode["CANARY_FAILURE"] = "CANARY_FAILURE";
|
|
121
122
|
CanaryRunStateReasonCode["EXECUTION_FAILURE"] = "EXECUTION_FAILURE";
|
|
122
123
|
})(CanaryRunStateReasonCode || (CanaryRunStateReasonCode = {}));
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
Object.setPrototypeOf(this, RequestEntityTooLargeException.prototype);
|
|
133
|
-
this.Message = opts.Message;
|
|
124
|
+
var RequestEntityTooLargeException = (function (_super) {
|
|
125
|
+
__extends(RequestEntityTooLargeException, _super);
|
|
126
|
+
function RequestEntityTooLargeException(opts) {
|
|
127
|
+
var _this = _super.call(this, __assign({ name: "RequestEntityTooLargeException", $fault: "client" }, opts)) || this;
|
|
128
|
+
_this.name = "RequestEntityTooLargeException";
|
|
129
|
+
_this.$fault = "client";
|
|
130
|
+
Object.setPrototypeOf(_this, RequestEntityTooLargeException.prototype);
|
|
131
|
+
_this.Message = opts.Message;
|
|
132
|
+
return _this;
|
|
134
133
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
134
|
+
return RequestEntityTooLargeException;
|
|
135
|
+
}(__BaseException));
|
|
136
|
+
export { RequestEntityTooLargeException };
|
|
137
|
+
var InternalFailureException = (function (_super) {
|
|
138
|
+
__extends(InternalFailureException, _super);
|
|
139
|
+
function InternalFailureException(opts) {
|
|
140
|
+
var _this = _super.call(this, __assign({ name: "InternalFailureException", $fault: "server" }, opts)) || this;
|
|
141
|
+
_this.name = "InternalFailureException";
|
|
142
|
+
_this.$fault = "server";
|
|
143
|
+
Object.setPrototypeOf(_this, InternalFailureException.prototype);
|
|
144
|
+
_this.Message = opts.Message;
|
|
145
|
+
return _this;
|
|
147
146
|
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
147
|
+
return InternalFailureException;
|
|
148
|
+
}(__BaseException));
|
|
149
|
+
export { InternalFailureException };
|
|
150
|
+
var NotFoundException = (function (_super) {
|
|
151
|
+
__extends(NotFoundException, _super);
|
|
152
|
+
function NotFoundException(opts) {
|
|
153
|
+
var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
|
|
154
|
+
_this.name = "NotFoundException";
|
|
155
|
+
_this.$fault = "client";
|
|
156
|
+
Object.setPrototypeOf(_this, NotFoundException.prototype);
|
|
157
|
+
_this.Message = opts.Message;
|
|
158
|
+
return _this;
|
|
160
159
|
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
160
|
+
return NotFoundException;
|
|
161
|
+
}(__BaseException));
|
|
162
|
+
export { NotFoundException };
|
|
163
|
+
var TooManyRequestsException = (function (_super) {
|
|
164
|
+
__extends(TooManyRequestsException, _super);
|
|
165
|
+
function TooManyRequestsException(opts) {
|
|
166
|
+
var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
|
|
167
|
+
_this.name = "TooManyRequestsException";
|
|
168
|
+
_this.$fault = "client";
|
|
169
|
+
Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
|
|
170
|
+
_this.Message = opts.Message;
|
|
171
|
+
return _this;
|
|
173
172
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
});
|
|
178
|
-
export
|
|
179
|
-
|
|
180
|
-
});
|
|
181
|
-
export
|
|
182
|
-
|
|
183
|
-
});
|
|
184
|
-
export
|
|
185
|
-
|
|
186
|
-
});
|
|
187
|
-
export
|
|
188
|
-
|
|
189
|
-
});
|
|
190
|
-
export
|
|
191
|
-
|
|
192
|
-
});
|
|
193
|
-
export
|
|
194
|
-
|
|
195
|
-
});
|
|
196
|
-
export
|
|
197
|
-
|
|
198
|
-
});
|
|
199
|
-
export
|
|
200
|
-
|
|
201
|
-
});
|
|
202
|
-
export
|
|
203
|
-
|
|
204
|
-
});
|
|
205
|
-
export
|
|
206
|
-
|
|
207
|
-
});
|
|
208
|
-
export
|
|
209
|
-
|
|
210
|
-
});
|
|
211
|
-
export
|
|
212
|
-
|
|
213
|
-
});
|
|
214
|
-
export
|
|
215
|
-
|
|
216
|
-
});
|
|
217
|
-
export
|
|
218
|
-
|
|
219
|
-
});
|
|
220
|
-
export
|
|
221
|
-
|
|
222
|
-
});
|
|
223
|
-
export
|
|
224
|
-
|
|
225
|
-
});
|
|
226
|
-
export
|
|
227
|
-
|
|
228
|
-
});
|
|
229
|
-
export
|
|
230
|
-
|
|
231
|
-
});
|
|
232
|
-
export
|
|
233
|
-
|
|
234
|
-
});
|
|
235
|
-
export
|
|
236
|
-
|
|
237
|
-
});
|
|
238
|
-
export
|
|
239
|
-
|
|
240
|
-
});
|
|
241
|
-
export
|
|
242
|
-
|
|
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
|
-
});
|
|
173
|
+
return TooManyRequestsException;
|
|
174
|
+
}(__BaseException));
|
|
175
|
+
export { TooManyRequestsException };
|
|
176
|
+
export var S3EncryptionConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
|
+
export var ArtifactConfigInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
178
|
+
export var ArtifactConfigOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
|
+
export var AssociateResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
|
+
export var AssociateResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
+
export var BaseScreenshotFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
|
+
export var CanaryCodeOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
+
export var CanaryRunConfigOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
+
export var CanaryScheduleOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
+
export var CanaryStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
186
|
+
export var CanaryTimelineFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
+
export var VisualReferenceOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
188
|
+
export var VpcConfigOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
|
+
export var CanaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
|
+
export var CanaryRunStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
|
+
export var CanaryRunTimelineFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
|
+
export var CanaryRunFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
+
export var CanaryLastRunFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
|
+
export var CanaryCodeInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
|
+
export var CanaryRunConfigInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
+
export var CanaryScheduleInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
+
export var VpcConfigInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
198
|
+
export var CreateCanaryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
|
+
export var CreateCanaryResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
200
|
+
export var CreateGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
201
|
+
export var GroupFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
202
|
+
export var CreateGroupResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
|
+
export var DeleteCanaryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
204
|
+
export var DeleteCanaryResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
205
|
+
export var DeleteGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
206
|
+
export var DeleteGroupResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
|
+
export var DescribeCanariesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
208
|
+
export var DescribeCanariesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
209
|
+
export var DescribeCanariesLastRunRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
210
|
+
export var DescribeCanariesLastRunResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
211
|
+
export var DescribeRuntimeVersionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
|
+
export var RuntimeVersionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
213
|
+
export var DescribeRuntimeVersionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
214
|
+
export var DisassociateResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
215
|
+
export var DisassociateResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
+
export var GetCanaryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
217
|
+
export var GetCanaryResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
218
|
+
export var GetCanaryRunsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
219
|
+
export var GetCanaryRunsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
|
+
export var GetGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
221
|
+
export var GetGroupResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
222
|
+
export var GroupSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
|
+
export var ListAssociatedGroupsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
+
export var ListAssociatedGroupsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
225
|
+
export var ListGroupResourcesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
226
|
+
export var ListGroupResourcesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
|
+
export var ListGroupsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
228
|
+
export var ListGroupsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
+
export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
230
|
+
export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
231
|
+
export var StartCanaryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
232
|
+
export var StartCanaryResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
233
|
+
export var StopCanaryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
234
|
+
export var StopCanaryResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
235
|
+
export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
236
|
+
export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
|
+
export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
238
|
+
export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
239
|
+
export var VisualReferenceInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
240
|
+
export var UpdateCanaryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
241
|
+
export var UpdateCanaryResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { DescribeCanariesLastRunCommand, } from "../commands/DescribeCanariesLastRunCommand";
|
|
2
3
|
import { Synthetics } from "../Synthetics";
|
|
3
4
|
import { SyntheticsClient } from "../SyntheticsClient";
|
|
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 DescribeCanariesLastRunCommand(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.describeCanariesLastRun.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 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));
|
|
33
|
+
export function paginateDescribeCanariesLastRun(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 paginateDescribeCanariesLastRun_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 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
|
+
});
|
|
32
75
|
}
|