@aws-sdk/client-synthetics 3.121.0 → 3.128.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 +27 -0
- package/README.md +7 -7
- package/dist-cjs/Synthetics.js +120 -0
- package/dist-cjs/commands/AssociateResourceCommand.js +36 -0
- package/dist-cjs/commands/CreateGroupCommand.js +36 -0
- package/dist-cjs/commands/DeleteGroupCommand.js +36 -0
- package/dist-cjs/commands/DisassociateResourceCommand.js +36 -0
- package/dist-cjs/commands/GetGroupCommand.js +36 -0
- package/dist-cjs/commands/ListAssociatedGroupsCommand.js +36 -0
- package/dist-cjs/commands/ListGroupResourcesCommand.js +36 -0
- package/dist-cjs/commands/ListGroupsCommand.js +36 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +236 -58
- package/dist-cjs/pagination/ListAssociatedGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/ListGroupResourcesPaginator.js +36 -0
- package/dist-cjs/pagination/ListGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +874 -221
- package/dist-es/Synthetics.js +120 -0
- package/dist-es/commands/AssociateResourceCommand.js +39 -0
- package/dist-es/commands/CreateGroupCommand.js +39 -0
- package/dist-es/commands/DeleteGroupCommand.js +39 -0
- package/dist-es/commands/DisassociateResourceCommand.js +39 -0
- package/dist-es/commands/GetGroupCommand.js +39 -0
- package/dist-es/commands/ListAssociatedGroupsCommand.js +39 -0
- package/dist-es/commands/ListGroupResourcesCommand.js +39 -0
- package/dist-es/commands/ListGroupsCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +189 -52
- package/dist-es/pagination/ListAssociatedGroupsPaginator.js +75 -0
- package/dist-es/pagination/ListGroupResourcesPaginator.js +75 -0
- package/dist-es/pagination/ListGroupsPaginator.js +75 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1088 -237
- package/dist-types/Synthetics.d.ts +90 -11
- package/dist-types/SyntheticsClient.d.ts +10 -2
- package/dist-types/commands/AssociateResourceCommand.d.ts +38 -0
- package/dist-types/commands/CreateCanaryCommand.d.ts +1 -1
- package/dist-types/commands/CreateGroupCommand.d.ts +47 -0
- package/dist-types/commands/DeleteCanaryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGroupCommand.d.ts +39 -0
- package/dist-types/commands/DisassociateResourceCommand.d.ts +35 -0
- package/dist-types/commands/GetGroupCommand.d.ts +36 -0
- package/dist-types/commands/ListAssociatedGroupsCommand.d.ts +36 -0
- package/dist-types/commands/ListGroupResourcesCommand.d.ts +35 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +36 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StopCanaryCommand.d.ts +1 -2
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCanaryCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +450 -52
- package/dist-types/pagination/ListAssociatedGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListGroupResourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/Synthetics.d.ts +40 -0
- package/dist-types/ts3.4/SyntheticsClient.d.ts +10 -2
- package/dist-types/ts3.4/commands/AssociateResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAssociatedGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListGroupResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +243 -27
- package/dist-types/ts3.4/pagination/ListAssociatedGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGroupResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +26 -26
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateCanaryResponse = exports.UpdateCanaryRequest = exports.VisualReferenceInput = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopCanaryResponse = void 0;
|
|
3
|
+
exports.DescribeRuntimeVersionsResponse = exports.RuntimeVersion = exports.DescribeRuntimeVersionsRequest = exports.DescribeCanariesLastRunResponse = exports.DescribeCanariesLastRunRequest = exports.DescribeCanariesResponse = exports.DescribeCanariesRequest = exports.DeleteGroupResponse = exports.DeleteGroupRequest = exports.DeleteCanaryResponse = exports.DeleteCanaryRequest = exports.CreateGroupResponse = exports.Group = exports.CreateGroupRequest = exports.RequestEntityTooLargeException = exports.CreateCanaryResponse = exports.CreateCanaryRequest = exports.VpcConfigInput = exports.CanaryScheduleInput = exports.CanaryRunConfigInput = exports.CanaryCodeInput = exports.CanaryLastRun = exports.CanaryRun = exports.CanaryRunTimeline = exports.CanaryRunStatus = exports.CanaryRunStateReasonCode = exports.CanaryRunState = exports.Canary = exports.VpcConfigOutput = exports.VisualReferenceOutput = exports.CanaryTimeline = exports.CanaryStatus = exports.CanaryStateReasonCode = exports.CanaryState = exports.CanaryScheduleOutput = exports.CanaryRunConfigOutput = exports.CanaryCodeOutput = exports.BaseScreenshot = exports.BadRequestException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AssociateResourceResponse = exports.AssociateResourceRequest = exports.ArtifactConfigOutput = exports.ArtifactConfigInput = exports.S3EncryptionConfig = exports.EncryptionMode = void 0;
|
|
4
|
+
exports.UpdateCanaryResponse = exports.UpdateCanaryRequest = exports.VisualReferenceInput = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopCanaryResponse = exports.StopCanaryRequest = exports.StartCanaryResponse = exports.StartCanaryRequest = exports.TooManyRequestsException = exports.NotFoundException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListGroupsResponse = exports.ListGroupsRequest = exports.ListGroupResourcesResponse = exports.ListGroupResourcesRequest = exports.ListAssociatedGroupsResponse = exports.ListAssociatedGroupsRequest = exports.InternalFailureException = exports.GroupSummary = exports.GetGroupResponse = exports.GetGroupRequest = exports.GetCanaryRunsResponse = exports.GetCanaryRunsRequest = exports.GetCanaryResponse = exports.GetCanaryRequest = exports.DisassociateResourceResponse = exports.DisassociateResourceRequest = void 0;
|
|
5
5
|
const SyntheticsServiceException_1 = require("./SyntheticsServiceException");
|
|
6
6
|
var EncryptionMode;
|
|
7
7
|
(function (EncryptionMode) {
|
|
@@ -26,6 +26,102 @@ var ArtifactConfigOutput;
|
|
|
26
26
|
...obj,
|
|
27
27
|
});
|
|
28
28
|
})(ArtifactConfigOutput = exports.ArtifactConfigOutput || (exports.ArtifactConfigOutput = {}));
|
|
29
|
+
var AssociateResourceRequest;
|
|
30
|
+
(function (AssociateResourceRequest) {
|
|
31
|
+
AssociateResourceRequest.filterSensitiveLog = (obj) => ({
|
|
32
|
+
...obj,
|
|
33
|
+
});
|
|
34
|
+
})(AssociateResourceRequest = exports.AssociateResourceRequest || (exports.AssociateResourceRequest = {}));
|
|
35
|
+
var AssociateResourceResponse;
|
|
36
|
+
(function (AssociateResourceResponse) {
|
|
37
|
+
AssociateResourceResponse.filterSensitiveLog = (obj) => ({
|
|
38
|
+
...obj,
|
|
39
|
+
});
|
|
40
|
+
})(AssociateResourceResponse = exports.AssociateResourceResponse || (exports.AssociateResourceResponse = {}));
|
|
41
|
+
class ConflictException extends SyntheticsServiceException_1.SyntheticsServiceException {
|
|
42
|
+
constructor(opts) {
|
|
43
|
+
super({
|
|
44
|
+
name: "ConflictException",
|
|
45
|
+
$fault: "client",
|
|
46
|
+
...opts,
|
|
47
|
+
});
|
|
48
|
+
this.name = "ConflictException";
|
|
49
|
+
this.$fault = "client";
|
|
50
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
51
|
+
this.Message = opts.Message;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.ConflictException = ConflictException;
|
|
55
|
+
class InternalServerException extends SyntheticsServiceException_1.SyntheticsServiceException {
|
|
56
|
+
constructor(opts) {
|
|
57
|
+
super({
|
|
58
|
+
name: "InternalServerException",
|
|
59
|
+
$fault: "server",
|
|
60
|
+
...opts,
|
|
61
|
+
});
|
|
62
|
+
this.name = "InternalServerException";
|
|
63
|
+
this.$fault = "server";
|
|
64
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
65
|
+
this.Message = opts.Message;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.InternalServerException = InternalServerException;
|
|
69
|
+
class ResourceNotFoundException extends SyntheticsServiceException_1.SyntheticsServiceException {
|
|
70
|
+
constructor(opts) {
|
|
71
|
+
super({
|
|
72
|
+
name: "ResourceNotFoundException",
|
|
73
|
+
$fault: "client",
|
|
74
|
+
...opts,
|
|
75
|
+
});
|
|
76
|
+
this.name = "ResourceNotFoundException";
|
|
77
|
+
this.$fault = "client";
|
|
78
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
79
|
+
this.Message = opts.Message;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
83
|
+
class ServiceQuotaExceededException extends SyntheticsServiceException_1.SyntheticsServiceException {
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "ServiceQuotaExceededException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
this.name = "ServiceQuotaExceededException";
|
|
91
|
+
this.$fault = "client";
|
|
92
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
93
|
+
this.Message = opts.Message;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
97
|
+
class ValidationException extends SyntheticsServiceException_1.SyntheticsServiceException {
|
|
98
|
+
constructor(opts) {
|
|
99
|
+
super({
|
|
100
|
+
name: "ValidationException",
|
|
101
|
+
$fault: "client",
|
|
102
|
+
...opts,
|
|
103
|
+
});
|
|
104
|
+
this.name = "ValidationException";
|
|
105
|
+
this.$fault = "client";
|
|
106
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
107
|
+
this.Message = opts.Message;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.ValidationException = ValidationException;
|
|
111
|
+
class BadRequestException extends SyntheticsServiceException_1.SyntheticsServiceException {
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "BadRequestException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
this.name = "BadRequestException";
|
|
119
|
+
this.$fault = "client";
|
|
120
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
121
|
+
this.Message = opts.Message;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.BadRequestException = BadRequestException;
|
|
29
125
|
var BaseScreenshot;
|
|
30
126
|
(function (BaseScreenshot) {
|
|
31
127
|
BaseScreenshot.filterSensitiveLog = (obj) => ({
|
|
@@ -160,20 +256,6 @@ var CanaryScheduleInput;
|
|
|
160
256
|
...obj,
|
|
161
257
|
});
|
|
162
258
|
})(CanaryScheduleInput = exports.CanaryScheduleInput || (exports.CanaryScheduleInput = {}));
|
|
163
|
-
class ConflictException extends SyntheticsServiceException_1.SyntheticsServiceException {
|
|
164
|
-
constructor(opts) {
|
|
165
|
-
super({
|
|
166
|
-
name: "ConflictException",
|
|
167
|
-
$fault: "client",
|
|
168
|
-
...opts,
|
|
169
|
-
});
|
|
170
|
-
this.name = "ConflictException";
|
|
171
|
-
this.$fault = "client";
|
|
172
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
173
|
-
this.Message = opts.Message;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
exports.ConflictException = ConflictException;
|
|
177
259
|
var VpcConfigInput;
|
|
178
260
|
(function (VpcConfigInput) {
|
|
179
261
|
VpcConfigInput.filterSensitiveLog = (obj) => ({
|
|
@@ -192,20 +274,6 @@ var CreateCanaryResponse;
|
|
|
192
274
|
...obj,
|
|
193
275
|
});
|
|
194
276
|
})(CreateCanaryResponse = exports.CreateCanaryResponse || (exports.CreateCanaryResponse = {}));
|
|
195
|
-
class InternalServerException extends SyntheticsServiceException_1.SyntheticsServiceException {
|
|
196
|
-
constructor(opts) {
|
|
197
|
-
super({
|
|
198
|
-
name: "InternalServerException",
|
|
199
|
-
$fault: "server",
|
|
200
|
-
...opts,
|
|
201
|
-
});
|
|
202
|
-
this.name = "InternalServerException";
|
|
203
|
-
this.$fault = "server";
|
|
204
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
205
|
-
this.Message = opts.Message;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
exports.InternalServerException = InternalServerException;
|
|
209
277
|
class RequestEntityTooLargeException extends SyntheticsServiceException_1.SyntheticsServiceException {
|
|
210
278
|
constructor(opts) {
|
|
211
279
|
super({
|
|
@@ -220,20 +288,24 @@ class RequestEntityTooLargeException extends SyntheticsServiceException_1.Synthe
|
|
|
220
288
|
}
|
|
221
289
|
}
|
|
222
290
|
exports.RequestEntityTooLargeException = RequestEntityTooLargeException;
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
291
|
+
var CreateGroupRequest;
|
|
292
|
+
(function (CreateGroupRequest) {
|
|
293
|
+
CreateGroupRequest.filterSensitiveLog = (obj) => ({
|
|
294
|
+
...obj,
|
|
295
|
+
});
|
|
296
|
+
})(CreateGroupRequest = exports.CreateGroupRequest || (exports.CreateGroupRequest = {}));
|
|
297
|
+
var Group;
|
|
298
|
+
(function (Group) {
|
|
299
|
+
Group.filterSensitiveLog = (obj) => ({
|
|
300
|
+
...obj,
|
|
301
|
+
});
|
|
302
|
+
})(Group = exports.Group || (exports.Group = {}));
|
|
303
|
+
var CreateGroupResponse;
|
|
304
|
+
(function (CreateGroupResponse) {
|
|
305
|
+
CreateGroupResponse.filterSensitiveLog = (obj) => ({
|
|
306
|
+
...obj,
|
|
307
|
+
});
|
|
308
|
+
})(CreateGroupResponse = exports.CreateGroupResponse || (exports.CreateGroupResponse = {}));
|
|
237
309
|
var DeleteCanaryRequest;
|
|
238
310
|
(function (DeleteCanaryRequest) {
|
|
239
311
|
DeleteCanaryRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -246,20 +318,18 @@ var DeleteCanaryResponse;
|
|
|
246
318
|
...obj,
|
|
247
319
|
});
|
|
248
320
|
})(DeleteCanaryResponse = exports.DeleteCanaryResponse || (exports.DeleteCanaryResponse = {}));
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
}
|
|
262
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
321
|
+
var DeleteGroupRequest;
|
|
322
|
+
(function (DeleteGroupRequest) {
|
|
323
|
+
DeleteGroupRequest.filterSensitiveLog = (obj) => ({
|
|
324
|
+
...obj,
|
|
325
|
+
});
|
|
326
|
+
})(DeleteGroupRequest = exports.DeleteGroupRequest || (exports.DeleteGroupRequest = {}));
|
|
327
|
+
var DeleteGroupResponse;
|
|
328
|
+
(function (DeleteGroupResponse) {
|
|
329
|
+
DeleteGroupResponse.filterSensitiveLog = (obj) => ({
|
|
330
|
+
...obj,
|
|
331
|
+
});
|
|
332
|
+
})(DeleteGroupResponse = exports.DeleteGroupResponse || (exports.DeleteGroupResponse = {}));
|
|
263
333
|
var DescribeCanariesRequest;
|
|
264
334
|
(function (DescribeCanariesRequest) {
|
|
265
335
|
DescribeCanariesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -302,6 +372,18 @@ var DescribeRuntimeVersionsResponse;
|
|
|
302
372
|
...obj,
|
|
303
373
|
});
|
|
304
374
|
})(DescribeRuntimeVersionsResponse = exports.DescribeRuntimeVersionsResponse || (exports.DescribeRuntimeVersionsResponse = {}));
|
|
375
|
+
var DisassociateResourceRequest;
|
|
376
|
+
(function (DisassociateResourceRequest) {
|
|
377
|
+
DisassociateResourceRequest.filterSensitiveLog = (obj) => ({
|
|
378
|
+
...obj,
|
|
379
|
+
});
|
|
380
|
+
})(DisassociateResourceRequest = exports.DisassociateResourceRequest || (exports.DisassociateResourceRequest = {}));
|
|
381
|
+
var DisassociateResourceResponse;
|
|
382
|
+
(function (DisassociateResourceResponse) {
|
|
383
|
+
DisassociateResourceResponse.filterSensitiveLog = (obj) => ({
|
|
384
|
+
...obj,
|
|
385
|
+
});
|
|
386
|
+
})(DisassociateResourceResponse = exports.DisassociateResourceResponse || (exports.DisassociateResourceResponse = {}));
|
|
305
387
|
var GetCanaryRequest;
|
|
306
388
|
(function (GetCanaryRequest) {
|
|
307
389
|
GetCanaryRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -326,6 +408,74 @@ var GetCanaryRunsResponse;
|
|
|
326
408
|
...obj,
|
|
327
409
|
});
|
|
328
410
|
})(GetCanaryRunsResponse = exports.GetCanaryRunsResponse || (exports.GetCanaryRunsResponse = {}));
|
|
411
|
+
var GetGroupRequest;
|
|
412
|
+
(function (GetGroupRequest) {
|
|
413
|
+
GetGroupRequest.filterSensitiveLog = (obj) => ({
|
|
414
|
+
...obj,
|
|
415
|
+
});
|
|
416
|
+
})(GetGroupRequest = exports.GetGroupRequest || (exports.GetGroupRequest = {}));
|
|
417
|
+
var GetGroupResponse;
|
|
418
|
+
(function (GetGroupResponse) {
|
|
419
|
+
GetGroupResponse.filterSensitiveLog = (obj) => ({
|
|
420
|
+
...obj,
|
|
421
|
+
});
|
|
422
|
+
})(GetGroupResponse = exports.GetGroupResponse || (exports.GetGroupResponse = {}));
|
|
423
|
+
var GroupSummary;
|
|
424
|
+
(function (GroupSummary) {
|
|
425
|
+
GroupSummary.filterSensitiveLog = (obj) => ({
|
|
426
|
+
...obj,
|
|
427
|
+
});
|
|
428
|
+
})(GroupSummary = exports.GroupSummary || (exports.GroupSummary = {}));
|
|
429
|
+
class InternalFailureException extends SyntheticsServiceException_1.SyntheticsServiceException {
|
|
430
|
+
constructor(opts) {
|
|
431
|
+
super({
|
|
432
|
+
name: "InternalFailureException",
|
|
433
|
+
$fault: "server",
|
|
434
|
+
...opts,
|
|
435
|
+
});
|
|
436
|
+
this.name = "InternalFailureException";
|
|
437
|
+
this.$fault = "server";
|
|
438
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
439
|
+
this.Message = opts.Message;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
exports.InternalFailureException = InternalFailureException;
|
|
443
|
+
var ListAssociatedGroupsRequest;
|
|
444
|
+
(function (ListAssociatedGroupsRequest) {
|
|
445
|
+
ListAssociatedGroupsRequest.filterSensitiveLog = (obj) => ({
|
|
446
|
+
...obj,
|
|
447
|
+
});
|
|
448
|
+
})(ListAssociatedGroupsRequest = exports.ListAssociatedGroupsRequest || (exports.ListAssociatedGroupsRequest = {}));
|
|
449
|
+
var ListAssociatedGroupsResponse;
|
|
450
|
+
(function (ListAssociatedGroupsResponse) {
|
|
451
|
+
ListAssociatedGroupsResponse.filterSensitiveLog = (obj) => ({
|
|
452
|
+
...obj,
|
|
453
|
+
});
|
|
454
|
+
})(ListAssociatedGroupsResponse = exports.ListAssociatedGroupsResponse || (exports.ListAssociatedGroupsResponse = {}));
|
|
455
|
+
var ListGroupResourcesRequest;
|
|
456
|
+
(function (ListGroupResourcesRequest) {
|
|
457
|
+
ListGroupResourcesRequest.filterSensitiveLog = (obj) => ({
|
|
458
|
+
...obj,
|
|
459
|
+
});
|
|
460
|
+
})(ListGroupResourcesRequest = exports.ListGroupResourcesRequest || (exports.ListGroupResourcesRequest = {}));
|
|
461
|
+
var ListGroupResourcesResponse;
|
|
462
|
+
(function (ListGroupResourcesResponse) {
|
|
463
|
+
ListGroupResourcesResponse.filterSensitiveLog = (obj) => ({
|
|
464
|
+
...obj,
|
|
465
|
+
});
|
|
466
|
+
})(ListGroupResourcesResponse = exports.ListGroupResourcesResponse || (exports.ListGroupResourcesResponse = {}));
|
|
467
|
+
var ListGroupsRequest;
|
|
468
|
+
(function (ListGroupsRequest) {
|
|
469
|
+
ListGroupsRequest.filterSensitiveLog = (obj) => ({
|
|
470
|
+
...obj,
|
|
471
|
+
});
|
|
472
|
+
})(ListGroupsRequest = exports.ListGroupsRequest || (exports.ListGroupsRequest = {}));
|
|
473
|
+
var ListGroupsResponse;
|
|
474
|
+
(function (ListGroupsResponse) {
|
|
475
|
+
ListGroupsResponse.filterSensitiveLog = (obj) => ({
|
|
476
|
+
...obj,
|
|
477
|
+
});
|
|
478
|
+
})(ListGroupsResponse = exports.ListGroupsResponse || (exports.ListGroupsResponse = {}));
|
|
329
479
|
var ListTagsForResourceRequest;
|
|
330
480
|
(function (ListTagsForResourceRequest) {
|
|
331
481
|
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -338,6 +488,34 @@ var ListTagsForResourceResponse;
|
|
|
338
488
|
...obj,
|
|
339
489
|
});
|
|
340
490
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
491
|
+
class NotFoundException extends SyntheticsServiceException_1.SyntheticsServiceException {
|
|
492
|
+
constructor(opts) {
|
|
493
|
+
super({
|
|
494
|
+
name: "NotFoundException",
|
|
495
|
+
$fault: "client",
|
|
496
|
+
...opts,
|
|
497
|
+
});
|
|
498
|
+
this.name = "NotFoundException";
|
|
499
|
+
this.$fault = "client";
|
|
500
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
501
|
+
this.Message = opts.Message;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
exports.NotFoundException = NotFoundException;
|
|
505
|
+
class TooManyRequestsException extends SyntheticsServiceException_1.SyntheticsServiceException {
|
|
506
|
+
constructor(opts) {
|
|
507
|
+
super({
|
|
508
|
+
name: "TooManyRequestsException",
|
|
509
|
+
$fault: "client",
|
|
510
|
+
...opts,
|
|
511
|
+
});
|
|
512
|
+
this.name = "TooManyRequestsException";
|
|
513
|
+
this.$fault = "client";
|
|
514
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
515
|
+
this.Message = opts.Message;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
341
519
|
var StartCanaryRequest;
|
|
342
520
|
(function (StartCanaryRequest) {
|
|
343
521
|
StartCanaryRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAssociatedGroups = void 0;
|
|
4
|
+
const ListAssociatedGroupsCommand_1 = require("../commands/ListAssociatedGroupsCommand");
|
|
5
|
+
const Synthetics_1 = require("../Synthetics");
|
|
6
|
+
const SyntheticsClient_1 = require("../SyntheticsClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListAssociatedGroupsCommand_1.ListAssociatedGroupsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listAssociatedGroups(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListAssociatedGroups(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Synthetics_1.Synthetics) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof SyntheticsClient_1.SyntheticsClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Synthetics | SyntheticsClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListAssociatedGroups = paginateListAssociatedGroups;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListGroupResources = void 0;
|
|
4
|
+
const ListGroupResourcesCommand_1 = require("../commands/ListGroupResourcesCommand");
|
|
5
|
+
const Synthetics_1 = require("../Synthetics");
|
|
6
|
+
const SyntheticsClient_1 = require("../SyntheticsClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListGroupResourcesCommand_1.ListGroupResourcesCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listGroupResources(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListGroupResources(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Synthetics_1.Synthetics) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof SyntheticsClient_1.SyntheticsClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Synthetics | SyntheticsClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListGroupResources = paginateListGroupResources;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListGroups = void 0;
|
|
4
|
+
const ListGroupsCommand_1 = require("../commands/ListGroupsCommand");
|
|
5
|
+
const Synthetics_1 = require("../Synthetics");
|
|
6
|
+
const SyntheticsClient_1 = require("../SyntheticsClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListGroupsCommand_1.ListGroupsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listGroups(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListGroups(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Synthetics_1.Synthetics) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof SyntheticsClient_1.SyntheticsClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Synthetics | SyntheticsClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListGroups = paginateListGroups;
|
|
@@ -6,3 +6,6 @@ tslib_1.__exportStar(require("./DescribeCanariesPaginator"), exports);
|
|
|
6
6
|
tslib_1.__exportStar(require("./DescribeRuntimeVersionsPaginator"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./GetCanaryRunsPaginator"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListAssociatedGroupsPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListGroupResourcesPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListGroupsPaginator"), exports);
|