@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
|
@@ -17,6 +17,92 @@ export var ArtifactConfigOutput;
|
|
|
17
17
|
(function (ArtifactConfigOutput) {
|
|
18
18
|
ArtifactConfigOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
19
19
|
})(ArtifactConfigOutput || (ArtifactConfigOutput = {}));
|
|
20
|
+
export var AssociateResourceRequest;
|
|
21
|
+
(function (AssociateResourceRequest) {
|
|
22
|
+
AssociateResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
23
|
+
})(AssociateResourceRequest || (AssociateResourceRequest = {}));
|
|
24
|
+
export var AssociateResourceResponse;
|
|
25
|
+
(function (AssociateResourceResponse) {
|
|
26
|
+
AssociateResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
27
|
+
})(AssociateResourceResponse || (AssociateResourceResponse = {}));
|
|
28
|
+
var ConflictException = (function (_super) {
|
|
29
|
+
__extends(ConflictException, _super);
|
|
30
|
+
function ConflictException(opts) {
|
|
31
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
32
|
+
_this.name = "ConflictException";
|
|
33
|
+
_this.$fault = "client";
|
|
34
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
35
|
+
_this.Message = opts.Message;
|
|
36
|
+
return _this;
|
|
37
|
+
}
|
|
38
|
+
return ConflictException;
|
|
39
|
+
}(__BaseException));
|
|
40
|
+
export { ConflictException };
|
|
41
|
+
var InternalServerException = (function (_super) {
|
|
42
|
+
__extends(InternalServerException, _super);
|
|
43
|
+
function InternalServerException(opts) {
|
|
44
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
45
|
+
_this.name = "InternalServerException";
|
|
46
|
+
_this.$fault = "server";
|
|
47
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
48
|
+
_this.Message = opts.Message;
|
|
49
|
+
return _this;
|
|
50
|
+
}
|
|
51
|
+
return InternalServerException;
|
|
52
|
+
}(__BaseException));
|
|
53
|
+
export { InternalServerException };
|
|
54
|
+
var ResourceNotFoundException = (function (_super) {
|
|
55
|
+
__extends(ResourceNotFoundException, _super);
|
|
56
|
+
function ResourceNotFoundException(opts) {
|
|
57
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
58
|
+
_this.name = "ResourceNotFoundException";
|
|
59
|
+
_this.$fault = "client";
|
|
60
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
61
|
+
_this.Message = opts.Message;
|
|
62
|
+
return _this;
|
|
63
|
+
}
|
|
64
|
+
return ResourceNotFoundException;
|
|
65
|
+
}(__BaseException));
|
|
66
|
+
export { ResourceNotFoundException };
|
|
67
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
68
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
69
|
+
function ServiceQuotaExceededException(opts) {
|
|
70
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
71
|
+
_this.name = "ServiceQuotaExceededException";
|
|
72
|
+
_this.$fault = "client";
|
|
73
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
74
|
+
_this.Message = opts.Message;
|
|
75
|
+
return _this;
|
|
76
|
+
}
|
|
77
|
+
return ServiceQuotaExceededException;
|
|
78
|
+
}(__BaseException));
|
|
79
|
+
export { ServiceQuotaExceededException };
|
|
80
|
+
var ValidationException = (function (_super) {
|
|
81
|
+
__extends(ValidationException, _super);
|
|
82
|
+
function ValidationException(opts) {
|
|
83
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
84
|
+
_this.name = "ValidationException";
|
|
85
|
+
_this.$fault = "client";
|
|
86
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
87
|
+
_this.Message = opts.Message;
|
|
88
|
+
return _this;
|
|
89
|
+
}
|
|
90
|
+
return ValidationException;
|
|
91
|
+
}(__BaseException));
|
|
92
|
+
export { ValidationException };
|
|
93
|
+
var BadRequestException = (function (_super) {
|
|
94
|
+
__extends(BadRequestException, _super);
|
|
95
|
+
function BadRequestException(opts) {
|
|
96
|
+
var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
|
|
97
|
+
_this.name = "BadRequestException";
|
|
98
|
+
_this.$fault = "client";
|
|
99
|
+
Object.setPrototypeOf(_this, BadRequestException.prototype);
|
|
100
|
+
_this.Message = opts.Message;
|
|
101
|
+
return _this;
|
|
102
|
+
}
|
|
103
|
+
return BadRequestException;
|
|
104
|
+
}(__BaseException));
|
|
105
|
+
export { BadRequestException };
|
|
20
106
|
export var BaseScreenshot;
|
|
21
107
|
(function (BaseScreenshot) {
|
|
22
108
|
BaseScreenshot.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -119,19 +205,6 @@ export var CanaryScheduleInput;
|
|
|
119
205
|
(function (CanaryScheduleInput) {
|
|
120
206
|
CanaryScheduleInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
207
|
})(CanaryScheduleInput || (CanaryScheduleInput = {}));
|
|
122
|
-
var ConflictException = (function (_super) {
|
|
123
|
-
__extends(ConflictException, _super);
|
|
124
|
-
function ConflictException(opts) {
|
|
125
|
-
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
126
|
-
_this.name = "ConflictException";
|
|
127
|
-
_this.$fault = "client";
|
|
128
|
-
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
129
|
-
_this.Message = opts.Message;
|
|
130
|
-
return _this;
|
|
131
|
-
}
|
|
132
|
-
return ConflictException;
|
|
133
|
-
}(__BaseException));
|
|
134
|
-
export { ConflictException };
|
|
135
208
|
export var VpcConfigInput;
|
|
136
209
|
(function (VpcConfigInput) {
|
|
137
210
|
VpcConfigInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -144,19 +217,6 @@ export var CreateCanaryResponse;
|
|
|
144
217
|
(function (CreateCanaryResponse) {
|
|
145
218
|
CreateCanaryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
146
219
|
})(CreateCanaryResponse || (CreateCanaryResponse = {}));
|
|
147
|
-
var InternalServerException = (function (_super) {
|
|
148
|
-
__extends(InternalServerException, _super);
|
|
149
|
-
function InternalServerException(opts) {
|
|
150
|
-
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
151
|
-
_this.name = "InternalServerException";
|
|
152
|
-
_this.$fault = "server";
|
|
153
|
-
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
154
|
-
_this.Message = opts.Message;
|
|
155
|
-
return _this;
|
|
156
|
-
}
|
|
157
|
-
return InternalServerException;
|
|
158
|
-
}(__BaseException));
|
|
159
|
-
export { InternalServerException };
|
|
160
220
|
var RequestEntityTooLargeException = (function (_super) {
|
|
161
221
|
__extends(RequestEntityTooLargeException, _super);
|
|
162
222
|
function RequestEntityTooLargeException(opts) {
|
|
@@ -170,19 +230,18 @@ var RequestEntityTooLargeException = (function (_super) {
|
|
|
170
230
|
return RequestEntityTooLargeException;
|
|
171
231
|
}(__BaseException));
|
|
172
232
|
export { RequestEntityTooLargeException };
|
|
173
|
-
var
|
|
174
|
-
|
|
175
|
-
function
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
return
|
|
184
|
-
}(
|
|
185
|
-
export { ValidationException };
|
|
233
|
+
export var CreateGroupRequest;
|
|
234
|
+
(function (CreateGroupRequest) {
|
|
235
|
+
CreateGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
236
|
+
})(CreateGroupRequest || (CreateGroupRequest = {}));
|
|
237
|
+
export var Group;
|
|
238
|
+
(function (Group) {
|
|
239
|
+
Group.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
240
|
+
})(Group || (Group = {}));
|
|
241
|
+
export var CreateGroupResponse;
|
|
242
|
+
(function (CreateGroupResponse) {
|
|
243
|
+
CreateGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
244
|
+
})(CreateGroupResponse || (CreateGroupResponse = {}));
|
|
186
245
|
export var DeleteCanaryRequest;
|
|
187
246
|
(function (DeleteCanaryRequest) {
|
|
188
247
|
DeleteCanaryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -191,19 +250,14 @@ export var DeleteCanaryResponse;
|
|
|
191
250
|
(function (DeleteCanaryResponse) {
|
|
192
251
|
DeleteCanaryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
252
|
})(DeleteCanaryResponse || (DeleteCanaryResponse = {}));
|
|
194
|
-
var
|
|
195
|
-
|
|
196
|
-
function
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
return _this;
|
|
203
|
-
}
|
|
204
|
-
return ResourceNotFoundException;
|
|
205
|
-
}(__BaseException));
|
|
206
|
-
export { ResourceNotFoundException };
|
|
253
|
+
export var DeleteGroupRequest;
|
|
254
|
+
(function (DeleteGroupRequest) {
|
|
255
|
+
DeleteGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
256
|
+
})(DeleteGroupRequest || (DeleteGroupRequest = {}));
|
|
257
|
+
export var DeleteGroupResponse;
|
|
258
|
+
(function (DeleteGroupResponse) {
|
|
259
|
+
DeleteGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
260
|
+
})(DeleteGroupResponse || (DeleteGroupResponse = {}));
|
|
207
261
|
export var DescribeCanariesRequest;
|
|
208
262
|
(function (DescribeCanariesRequest) {
|
|
209
263
|
DescribeCanariesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -232,6 +286,14 @@ export var DescribeRuntimeVersionsResponse;
|
|
|
232
286
|
(function (DescribeRuntimeVersionsResponse) {
|
|
233
287
|
DescribeRuntimeVersionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
234
288
|
})(DescribeRuntimeVersionsResponse || (DescribeRuntimeVersionsResponse = {}));
|
|
289
|
+
export var DisassociateResourceRequest;
|
|
290
|
+
(function (DisassociateResourceRequest) {
|
|
291
|
+
DisassociateResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
292
|
+
})(DisassociateResourceRequest || (DisassociateResourceRequest = {}));
|
|
293
|
+
export var DisassociateResourceResponse;
|
|
294
|
+
(function (DisassociateResourceResponse) {
|
|
295
|
+
DisassociateResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
296
|
+
})(DisassociateResourceResponse || (DisassociateResourceResponse = {}));
|
|
235
297
|
export var GetCanaryRequest;
|
|
236
298
|
(function (GetCanaryRequest) {
|
|
237
299
|
GetCanaryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -248,6 +310,55 @@ export var GetCanaryRunsResponse;
|
|
|
248
310
|
(function (GetCanaryRunsResponse) {
|
|
249
311
|
GetCanaryRunsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
250
312
|
})(GetCanaryRunsResponse || (GetCanaryRunsResponse = {}));
|
|
313
|
+
export var GetGroupRequest;
|
|
314
|
+
(function (GetGroupRequest) {
|
|
315
|
+
GetGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
316
|
+
})(GetGroupRequest || (GetGroupRequest = {}));
|
|
317
|
+
export var GetGroupResponse;
|
|
318
|
+
(function (GetGroupResponse) {
|
|
319
|
+
GetGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
320
|
+
})(GetGroupResponse || (GetGroupResponse = {}));
|
|
321
|
+
export var GroupSummary;
|
|
322
|
+
(function (GroupSummary) {
|
|
323
|
+
GroupSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
324
|
+
})(GroupSummary || (GroupSummary = {}));
|
|
325
|
+
var InternalFailureException = (function (_super) {
|
|
326
|
+
__extends(InternalFailureException, _super);
|
|
327
|
+
function InternalFailureException(opts) {
|
|
328
|
+
var _this = _super.call(this, __assign({ name: "InternalFailureException", $fault: "server" }, opts)) || this;
|
|
329
|
+
_this.name = "InternalFailureException";
|
|
330
|
+
_this.$fault = "server";
|
|
331
|
+
Object.setPrototypeOf(_this, InternalFailureException.prototype);
|
|
332
|
+
_this.Message = opts.Message;
|
|
333
|
+
return _this;
|
|
334
|
+
}
|
|
335
|
+
return InternalFailureException;
|
|
336
|
+
}(__BaseException));
|
|
337
|
+
export { InternalFailureException };
|
|
338
|
+
export var ListAssociatedGroupsRequest;
|
|
339
|
+
(function (ListAssociatedGroupsRequest) {
|
|
340
|
+
ListAssociatedGroupsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
341
|
+
})(ListAssociatedGroupsRequest || (ListAssociatedGroupsRequest = {}));
|
|
342
|
+
export var ListAssociatedGroupsResponse;
|
|
343
|
+
(function (ListAssociatedGroupsResponse) {
|
|
344
|
+
ListAssociatedGroupsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
345
|
+
})(ListAssociatedGroupsResponse || (ListAssociatedGroupsResponse = {}));
|
|
346
|
+
export var ListGroupResourcesRequest;
|
|
347
|
+
(function (ListGroupResourcesRequest) {
|
|
348
|
+
ListGroupResourcesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
349
|
+
})(ListGroupResourcesRequest || (ListGroupResourcesRequest = {}));
|
|
350
|
+
export var ListGroupResourcesResponse;
|
|
351
|
+
(function (ListGroupResourcesResponse) {
|
|
352
|
+
ListGroupResourcesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
353
|
+
})(ListGroupResourcesResponse || (ListGroupResourcesResponse = {}));
|
|
354
|
+
export var ListGroupsRequest;
|
|
355
|
+
(function (ListGroupsRequest) {
|
|
356
|
+
ListGroupsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
357
|
+
})(ListGroupsRequest || (ListGroupsRequest = {}));
|
|
358
|
+
export var ListGroupsResponse;
|
|
359
|
+
(function (ListGroupsResponse) {
|
|
360
|
+
ListGroupsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
361
|
+
})(ListGroupsResponse || (ListGroupsResponse = {}));
|
|
251
362
|
export var ListTagsForResourceRequest;
|
|
252
363
|
(function (ListTagsForResourceRequest) {
|
|
253
364
|
ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -256,6 +367,32 @@ export var ListTagsForResourceResponse;
|
|
|
256
367
|
(function (ListTagsForResourceResponse) {
|
|
257
368
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
258
369
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
370
|
+
var NotFoundException = (function (_super) {
|
|
371
|
+
__extends(NotFoundException, _super);
|
|
372
|
+
function NotFoundException(opts) {
|
|
373
|
+
var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
|
|
374
|
+
_this.name = "NotFoundException";
|
|
375
|
+
_this.$fault = "client";
|
|
376
|
+
Object.setPrototypeOf(_this, NotFoundException.prototype);
|
|
377
|
+
_this.Message = opts.Message;
|
|
378
|
+
return _this;
|
|
379
|
+
}
|
|
380
|
+
return NotFoundException;
|
|
381
|
+
}(__BaseException));
|
|
382
|
+
export { NotFoundException };
|
|
383
|
+
var TooManyRequestsException = (function (_super) {
|
|
384
|
+
__extends(TooManyRequestsException, _super);
|
|
385
|
+
function TooManyRequestsException(opts) {
|
|
386
|
+
var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
|
|
387
|
+
_this.name = "TooManyRequestsException";
|
|
388
|
+
_this.$fault = "client";
|
|
389
|
+
Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
|
|
390
|
+
_this.Message = opts.Message;
|
|
391
|
+
return _this;
|
|
392
|
+
}
|
|
393
|
+
return TooManyRequestsException;
|
|
394
|
+
}(__BaseException));
|
|
395
|
+
export { TooManyRequestsException };
|
|
259
396
|
export var StartCanaryRequest;
|
|
260
397
|
(function (StartCanaryRequest) {
|
|
261
398
|
StartCanaryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListAssociatedGroupsCommand, } from "../commands/ListAssociatedGroupsCommand";
|
|
3
|
+
import { Synthetics } from "../Synthetics";
|
|
4
|
+
import { SyntheticsClient } from "../SyntheticsClient";
|
|
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 ListAssociatedGroupsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
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.listAssociatedGroups.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListAssociatedGroups(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListAssociatedGroups_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
|
+
});
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListGroupResourcesCommand, } from "../commands/ListGroupResourcesCommand";
|
|
3
|
+
import { Synthetics } from "../Synthetics";
|
|
4
|
+
import { SyntheticsClient } from "../SyntheticsClient";
|
|
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 ListGroupResourcesCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
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.listGroupResources.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListGroupResources(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListGroupResources_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
|
+
});
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListGroupsCommand } from "../commands/ListGroupsCommand";
|
|
3
|
+
import { Synthetics } from "../Synthetics";
|
|
4
|
+
import { SyntheticsClient } from "../SyntheticsClient";
|
|
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 ListGroupsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
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.listGroups.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListGroups(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListGroups_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
|
+
});
|
|
75
|
+
}
|
|
@@ -3,3 +3,6 @@ export * from "./DescribeCanariesPaginator";
|
|
|
3
3
|
export * from "./DescribeRuntimeVersionsPaginator";
|
|
4
4
|
export * from "./GetCanaryRunsPaginator";
|
|
5
5
|
export * from "./Interfaces";
|
|
6
|
+
export * from "./ListAssociatedGroupsPaginator";
|
|
7
|
+
export * from "./ListGroupResourcesPaginator";
|
|
8
|
+
export * from "./ListGroupsPaginator";
|