@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.
Files changed (41) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Synthetics.js +93 -86
  4. package/dist-es/SyntheticsClient.js +28 -22
  5. package/dist-es/commands/AssociateResourceCommand.js +28 -21
  6. package/dist-es/commands/CreateCanaryCommand.js +28 -21
  7. package/dist-es/commands/CreateGroupCommand.js +28 -21
  8. package/dist-es/commands/DeleteCanaryCommand.js +28 -21
  9. package/dist-es/commands/DeleteGroupCommand.js +28 -21
  10. package/dist-es/commands/DescribeCanariesCommand.js +28 -21
  11. package/dist-es/commands/DescribeCanariesLastRunCommand.js +28 -21
  12. package/dist-es/commands/DescribeRuntimeVersionsCommand.js +28 -21
  13. package/dist-es/commands/DisassociateResourceCommand.js +28 -21
  14. package/dist-es/commands/GetCanaryCommand.js +28 -21
  15. package/dist-es/commands/GetCanaryRunsCommand.js +28 -21
  16. package/dist-es/commands/GetGroupCommand.js +28 -21
  17. package/dist-es/commands/ListAssociatedGroupsCommand.js +28 -21
  18. package/dist-es/commands/ListGroupResourcesCommand.js +28 -21
  19. package/dist-es/commands/ListGroupsCommand.js +28 -21
  20. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  21. package/dist-es/commands/StartCanaryCommand.js +28 -21
  22. package/dist-es/commands/StopCanaryCommand.js +28 -21
  23. package/dist-es/commands/TagResourceCommand.js +28 -21
  24. package/dist-es/commands/UntagResourceCommand.js +28 -21
  25. package/dist-es/commands/UpdateCanaryCommand.js +28 -21
  26. package/dist-es/endpoints.js +8 -8
  27. package/dist-es/models/SyntheticsServiceException.js +10 -5
  28. package/dist-es/models/models_0.js +187 -318
  29. package/dist-es/pagination/DescribeCanariesLastRunPaginator.js +68 -25
  30. package/dist-es/pagination/DescribeCanariesPaginator.js +68 -25
  31. package/dist-es/pagination/DescribeRuntimeVersionsPaginator.js +68 -25
  32. package/dist-es/pagination/GetCanaryRunsPaginator.js +68 -25
  33. package/dist-es/pagination/ListAssociatedGroupsPaginator.js +68 -25
  34. package/dist-es/pagination/ListGroupResourcesPaginator.js +68 -25
  35. package/dist-es/pagination/ListGroupsPaginator.js +68 -25
  36. package/dist-es/protocols/Aws_restJson1.js +2124 -1547
  37. package/dist-es/runtimeConfig.browser.js +12 -26
  38. package/dist-es/runtimeConfig.js +12 -30
  39. package/dist-es/runtimeConfig.native.js +5 -8
  40. package/dist-es/runtimeConfig.shared.js +11 -8
  41. 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
- 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;
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
- 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;
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
- 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;
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
- 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;
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
- 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;
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
- 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;
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
- 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;
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
- 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;
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
- 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;
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
- 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;
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
- 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
- });
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
- const makePagedClientRequest = async (client, input, ...args) => {
5
- return await client.send(new DescribeCanariesLastRunCommand(input), ...args);
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
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeCanariesLastRun(input, ...args);
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 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));
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 undefined;
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
  }