@aws-sdk/client-iotthingsgraph 3.181.0 → 3.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-es/IoTThingsGraph.js +142 -149
- package/dist-es/IoTThingsGraphClient.js +22 -28
- package/dist-es/commands/AssociateEntityToThingCommand.js +21 -28
- package/dist-es/commands/CreateFlowTemplateCommand.js +21 -28
- package/dist-es/commands/CreateSystemInstanceCommand.js +21 -28
- package/dist-es/commands/CreateSystemTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteFlowTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteNamespaceCommand.js +21 -28
- package/dist-es/commands/DeleteSystemInstanceCommand.js +21 -28
- package/dist-es/commands/DeleteSystemTemplateCommand.js +21 -28
- package/dist-es/commands/DeploySystemInstanceCommand.js +21 -28
- package/dist-es/commands/DeprecateFlowTemplateCommand.js +21 -28
- package/dist-es/commands/DeprecateSystemTemplateCommand.js +21 -28
- package/dist-es/commands/DescribeNamespaceCommand.js +21 -28
- package/dist-es/commands/DissociateEntityFromThingCommand.js +21 -28
- package/dist-es/commands/GetEntitiesCommand.js +21 -28
- package/dist-es/commands/GetFlowTemplateCommand.js +21 -28
- package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +21 -28
- package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +21 -28
- package/dist-es/commands/GetSystemInstanceCommand.js +21 -28
- package/dist-es/commands/GetSystemTemplateCommand.js +21 -28
- package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +21 -28
- package/dist-es/commands/GetUploadStatusCommand.js +21 -28
- package/dist-es/commands/ListFlowExecutionMessagesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/SearchEntitiesCommand.js +21 -28
- package/dist-es/commands/SearchFlowExecutionsCommand.js +21 -28
- package/dist-es/commands/SearchFlowTemplatesCommand.js +21 -28
- package/dist-es/commands/SearchSystemInstancesCommand.js +21 -28
- package/dist-es/commands/SearchSystemTemplatesCommand.js +21 -28
- package/dist-es/commands/SearchThingsCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UndeploySystemInstanceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateFlowTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateSystemTemplateCommand.js +21 -28
- package/dist-es/commands/UploadEntityDefinitionsCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/IoTThingsGraphServiceException.js +5 -10
- package/dist-es/models/models_0.js +341 -166
- package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js +25 -68
- package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js +25 -68
- package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js +25 -68
- package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
- package/dist-es/pagination/SearchEntitiesPaginator.js +25 -68
- package/dist-es/pagination/SearchFlowExecutionsPaginator.js +25 -68
- package/dist-es/pagination/SearchFlowTemplatesPaginator.js +25 -68
- package/dist-es/pagination/SearchSystemInstancesPaginator.js +25 -68
- package/dist-es/pagination/SearchSystemTemplatesPaginator.js +25 -68
- package/dist-es/pagination/SearchThingsPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +2228 -2918
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,81 +1,80 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { IoTThingsGraphServiceException as __BaseException } from "./IoTThingsGraphServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
export class InternalFailureException extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "InternalFailureException",
|
|
6
|
+
$fault: "server",
|
|
7
|
+
...opts,
|
|
8
|
+
});
|
|
9
|
+
this.name = "InternalFailureException";
|
|
10
|
+
this.$fault = "server";
|
|
11
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
}
|
|
14
|
+
export class InvalidRequestException extends __BaseException {
|
|
15
|
+
constructor(opts) {
|
|
16
|
+
super({
|
|
17
|
+
name: "InvalidRequestException",
|
|
18
|
+
$fault: "client",
|
|
19
|
+
...opts,
|
|
20
|
+
});
|
|
21
|
+
this.name = "InvalidRequestException";
|
|
22
|
+
this.$fault = "client";
|
|
23
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
}
|
|
26
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
27
|
+
constructor(opts) {
|
|
28
|
+
super({
|
|
29
|
+
name: "ResourceNotFoundException",
|
|
30
|
+
$fault: "client",
|
|
31
|
+
...opts,
|
|
32
|
+
});
|
|
33
|
+
this.name = "ResourceNotFoundException";
|
|
34
|
+
this.$fault = "client";
|
|
35
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
35
36
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
}
|
|
38
|
+
export class ThrottlingException extends __BaseException {
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ThrottlingException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
this.name = "ThrottlingException";
|
|
46
|
+
this.$fault = "client";
|
|
47
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
47
48
|
}
|
|
48
|
-
|
|
49
|
-
}(__BaseException));
|
|
50
|
-
export { ThrottlingException };
|
|
49
|
+
}
|
|
51
50
|
export var DefinitionLanguage;
|
|
52
51
|
(function (DefinitionLanguage) {
|
|
53
52
|
DefinitionLanguage["GRAPHQL"] = "GRAPHQL";
|
|
54
53
|
})(DefinitionLanguage || (DefinitionLanguage = {}));
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
54
|
+
export class LimitExceededException extends __BaseException {
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "LimitExceededException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
this.name = "LimitExceededException";
|
|
62
|
+
this.$fault = "client";
|
|
63
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
63
64
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
65
|
+
}
|
|
66
|
+
export class ResourceAlreadyExistsException extends __BaseException {
|
|
67
|
+
constructor(opts) {
|
|
68
|
+
super({
|
|
69
|
+
name: "ResourceAlreadyExistsException",
|
|
70
|
+
$fault: "client",
|
|
71
|
+
...opts,
|
|
72
|
+
});
|
|
73
|
+
this.name = "ResourceAlreadyExistsException";
|
|
74
|
+
this.$fault = "client";
|
|
75
|
+
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
75
76
|
}
|
|
76
|
-
|
|
77
|
-
}(__BaseException));
|
|
78
|
-
export { ResourceAlreadyExistsException };
|
|
77
|
+
}
|
|
79
78
|
export var DeploymentTarget;
|
|
80
79
|
(function (DeploymentTarget) {
|
|
81
80
|
DeploymentTarget["CLOUD"] = "CLOUD";
|
|
@@ -92,18 +91,18 @@ export var SystemInstanceDeploymentStatus;
|
|
|
92
91
|
SystemInstanceDeploymentStatus["PENDING_DELETE"] = "PENDING_DELETE";
|
|
93
92
|
SystemInstanceDeploymentStatus["UNDEPLOY_IN_PROGRESS"] = "UNDEPLOY_IN_PROGRESS";
|
|
94
93
|
})(SystemInstanceDeploymentStatus || (SystemInstanceDeploymentStatus = {}));
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
94
|
+
export class ResourceInUseException extends __BaseException {
|
|
95
|
+
constructor(opts) {
|
|
96
|
+
super({
|
|
97
|
+
name: "ResourceInUseException",
|
|
98
|
+
$fault: "client",
|
|
99
|
+
...opts,
|
|
100
|
+
});
|
|
101
|
+
this.name = "ResourceInUseException";
|
|
102
|
+
this.$fault = "client";
|
|
103
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
103
104
|
}
|
|
104
|
-
|
|
105
|
-
}(__BaseException));
|
|
106
|
-
export { ResourceInUseException };
|
|
105
|
+
}
|
|
107
106
|
export var EntityType;
|
|
108
107
|
(function (EntityType) {
|
|
109
108
|
EntityType["ACTION"] = "ACTION";
|
|
@@ -181,91 +180,267 @@ export var SystemTemplateFilterName;
|
|
|
181
180
|
(function (SystemTemplateFilterName) {
|
|
182
181
|
SystemTemplateFilterName["FLOW_TEMPLATE_ID"] = "FLOW_TEMPLATE_ID";
|
|
183
182
|
})(SystemTemplateFilterName || (SystemTemplateFilterName = {}));
|
|
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
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
export
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
export
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
export
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
export
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
export
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
export
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
export
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
export
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
export
|
|
183
|
+
export const AssociateEntityToThingRequestFilterSensitiveLog = (obj) => ({
|
|
184
|
+
...obj,
|
|
185
|
+
});
|
|
186
|
+
export const AssociateEntityToThingResponseFilterSensitiveLog = (obj) => ({
|
|
187
|
+
...obj,
|
|
188
|
+
});
|
|
189
|
+
export const DefinitionDocumentFilterSensitiveLog = (obj) => ({
|
|
190
|
+
...obj,
|
|
191
|
+
});
|
|
192
|
+
export const CreateFlowTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
193
|
+
...obj,
|
|
194
|
+
});
|
|
195
|
+
export const FlowTemplateSummaryFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
});
|
|
198
|
+
export const CreateFlowTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
});
|
|
201
|
+
export const MetricsConfigurationFilterSensitiveLog = (obj) => ({
|
|
202
|
+
...obj,
|
|
203
|
+
});
|
|
204
|
+
export const TagFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
});
|
|
207
|
+
export const CreateSystemInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
208
|
+
...obj,
|
|
209
|
+
});
|
|
210
|
+
export const SystemInstanceSummaryFilterSensitiveLog = (obj) => ({
|
|
211
|
+
...obj,
|
|
212
|
+
});
|
|
213
|
+
export const CreateSystemInstanceResponseFilterSensitiveLog = (obj) => ({
|
|
214
|
+
...obj,
|
|
215
|
+
});
|
|
216
|
+
export const CreateSystemTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
217
|
+
...obj,
|
|
218
|
+
});
|
|
219
|
+
export const SystemTemplateSummaryFilterSensitiveLog = (obj) => ({
|
|
220
|
+
...obj,
|
|
221
|
+
});
|
|
222
|
+
export const CreateSystemTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
223
|
+
...obj,
|
|
224
|
+
});
|
|
225
|
+
export const DeleteFlowTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
226
|
+
...obj,
|
|
227
|
+
});
|
|
228
|
+
export const DeleteFlowTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
229
|
+
...obj,
|
|
230
|
+
});
|
|
231
|
+
export const DeleteNamespaceRequestFilterSensitiveLog = (obj) => ({
|
|
232
|
+
...obj,
|
|
233
|
+
});
|
|
234
|
+
export const DeleteNamespaceResponseFilterSensitiveLog = (obj) => ({
|
|
235
|
+
...obj,
|
|
236
|
+
});
|
|
237
|
+
export const DeleteSystemInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
238
|
+
...obj,
|
|
239
|
+
});
|
|
240
|
+
export const DeleteSystemInstanceResponseFilterSensitiveLog = (obj) => ({
|
|
241
|
+
...obj,
|
|
242
|
+
});
|
|
243
|
+
export const DeleteSystemTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
244
|
+
...obj,
|
|
245
|
+
});
|
|
246
|
+
export const DeleteSystemTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
247
|
+
...obj,
|
|
248
|
+
});
|
|
249
|
+
export const DependencyRevisionFilterSensitiveLog = (obj) => ({
|
|
250
|
+
...obj,
|
|
251
|
+
});
|
|
252
|
+
export const DeploySystemInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
253
|
+
...obj,
|
|
254
|
+
});
|
|
255
|
+
export const DeploySystemInstanceResponseFilterSensitiveLog = (obj) => ({
|
|
256
|
+
...obj,
|
|
257
|
+
});
|
|
258
|
+
export const DeprecateFlowTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
259
|
+
...obj,
|
|
260
|
+
});
|
|
261
|
+
export const DeprecateFlowTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
262
|
+
...obj,
|
|
263
|
+
});
|
|
264
|
+
export const DeprecateSystemTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
265
|
+
...obj,
|
|
266
|
+
});
|
|
267
|
+
export const DeprecateSystemTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
268
|
+
...obj,
|
|
269
|
+
});
|
|
270
|
+
export const DescribeNamespaceRequestFilterSensitiveLog = (obj) => ({
|
|
271
|
+
...obj,
|
|
272
|
+
});
|
|
273
|
+
export const DescribeNamespaceResponseFilterSensitiveLog = (obj) => ({
|
|
274
|
+
...obj,
|
|
275
|
+
});
|
|
276
|
+
export const DissociateEntityFromThingRequestFilterSensitiveLog = (obj) => ({
|
|
277
|
+
...obj,
|
|
278
|
+
});
|
|
279
|
+
export const DissociateEntityFromThingResponseFilterSensitiveLog = (obj) => ({
|
|
280
|
+
...obj,
|
|
281
|
+
});
|
|
282
|
+
export const EntityDescriptionFilterSensitiveLog = (obj) => ({
|
|
283
|
+
...obj,
|
|
284
|
+
});
|
|
285
|
+
export const EntityFilterFilterSensitiveLog = (obj) => ({
|
|
286
|
+
...obj,
|
|
287
|
+
});
|
|
288
|
+
export const FlowExecutionMessageFilterSensitiveLog = (obj) => ({
|
|
289
|
+
...obj,
|
|
290
|
+
});
|
|
291
|
+
export const FlowExecutionSummaryFilterSensitiveLog = (obj) => ({
|
|
292
|
+
...obj,
|
|
293
|
+
});
|
|
294
|
+
export const FlowTemplateDescriptionFilterSensitiveLog = (obj) => ({
|
|
295
|
+
...obj,
|
|
296
|
+
});
|
|
297
|
+
export const FlowTemplateFilterFilterSensitiveLog = (obj) => ({
|
|
298
|
+
...obj,
|
|
299
|
+
});
|
|
300
|
+
export const GetEntitiesRequestFilterSensitiveLog = (obj) => ({
|
|
301
|
+
...obj,
|
|
302
|
+
});
|
|
303
|
+
export const GetEntitiesResponseFilterSensitiveLog = (obj) => ({
|
|
304
|
+
...obj,
|
|
305
|
+
});
|
|
306
|
+
export const GetFlowTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
307
|
+
...obj,
|
|
308
|
+
});
|
|
309
|
+
export const GetFlowTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
310
|
+
...obj,
|
|
311
|
+
});
|
|
312
|
+
export const GetFlowTemplateRevisionsRequestFilterSensitiveLog = (obj) => ({
|
|
313
|
+
...obj,
|
|
314
|
+
});
|
|
315
|
+
export const GetFlowTemplateRevisionsResponseFilterSensitiveLog = (obj) => ({
|
|
316
|
+
...obj,
|
|
317
|
+
});
|
|
318
|
+
export const GetNamespaceDeletionStatusRequestFilterSensitiveLog = (obj) => ({
|
|
319
|
+
...obj,
|
|
320
|
+
});
|
|
321
|
+
export const GetNamespaceDeletionStatusResponseFilterSensitiveLog = (obj) => ({
|
|
322
|
+
...obj,
|
|
323
|
+
});
|
|
324
|
+
export const GetSystemInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
325
|
+
...obj,
|
|
326
|
+
});
|
|
327
|
+
export const SystemInstanceDescriptionFilterSensitiveLog = (obj) => ({
|
|
328
|
+
...obj,
|
|
329
|
+
});
|
|
330
|
+
export const GetSystemInstanceResponseFilterSensitiveLog = (obj) => ({
|
|
331
|
+
...obj,
|
|
332
|
+
});
|
|
333
|
+
export const GetSystemTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
334
|
+
...obj,
|
|
335
|
+
});
|
|
336
|
+
export const SystemTemplateDescriptionFilterSensitiveLog = (obj) => ({
|
|
337
|
+
...obj,
|
|
338
|
+
});
|
|
339
|
+
export const GetSystemTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
340
|
+
...obj,
|
|
341
|
+
});
|
|
342
|
+
export const GetSystemTemplateRevisionsRequestFilterSensitiveLog = (obj) => ({
|
|
343
|
+
...obj,
|
|
344
|
+
});
|
|
345
|
+
export const GetSystemTemplateRevisionsResponseFilterSensitiveLog = (obj) => ({
|
|
346
|
+
...obj,
|
|
347
|
+
});
|
|
348
|
+
export const GetUploadStatusRequestFilterSensitiveLog = (obj) => ({
|
|
349
|
+
...obj,
|
|
350
|
+
});
|
|
351
|
+
export const GetUploadStatusResponseFilterSensitiveLog = (obj) => ({
|
|
352
|
+
...obj,
|
|
353
|
+
});
|
|
354
|
+
export const ListFlowExecutionMessagesRequestFilterSensitiveLog = (obj) => ({
|
|
355
|
+
...obj,
|
|
356
|
+
});
|
|
357
|
+
export const ListFlowExecutionMessagesResponseFilterSensitiveLog = (obj) => ({
|
|
358
|
+
...obj,
|
|
359
|
+
});
|
|
360
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
361
|
+
...obj,
|
|
362
|
+
});
|
|
363
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
364
|
+
...obj,
|
|
365
|
+
});
|
|
366
|
+
export const SearchEntitiesRequestFilterSensitiveLog = (obj) => ({
|
|
367
|
+
...obj,
|
|
368
|
+
});
|
|
369
|
+
export const SearchEntitiesResponseFilterSensitiveLog = (obj) => ({
|
|
370
|
+
...obj,
|
|
371
|
+
});
|
|
372
|
+
export const SearchFlowExecutionsRequestFilterSensitiveLog = (obj) => ({
|
|
373
|
+
...obj,
|
|
374
|
+
});
|
|
375
|
+
export const SearchFlowExecutionsResponseFilterSensitiveLog = (obj) => ({
|
|
376
|
+
...obj,
|
|
377
|
+
});
|
|
378
|
+
export const SearchFlowTemplatesRequestFilterSensitiveLog = (obj) => ({
|
|
379
|
+
...obj,
|
|
380
|
+
});
|
|
381
|
+
export const SearchFlowTemplatesResponseFilterSensitiveLog = (obj) => ({
|
|
382
|
+
...obj,
|
|
383
|
+
});
|
|
384
|
+
export const SystemInstanceFilterFilterSensitiveLog = (obj) => ({
|
|
385
|
+
...obj,
|
|
386
|
+
});
|
|
387
|
+
export const SearchSystemInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
388
|
+
...obj,
|
|
389
|
+
});
|
|
390
|
+
export const SearchSystemInstancesResponseFilterSensitiveLog = (obj) => ({
|
|
391
|
+
...obj,
|
|
392
|
+
});
|
|
393
|
+
export const SystemTemplateFilterFilterSensitiveLog = (obj) => ({
|
|
394
|
+
...obj,
|
|
395
|
+
});
|
|
396
|
+
export const SearchSystemTemplatesRequestFilterSensitiveLog = (obj) => ({
|
|
397
|
+
...obj,
|
|
398
|
+
});
|
|
399
|
+
export const SearchSystemTemplatesResponseFilterSensitiveLog = (obj) => ({
|
|
400
|
+
...obj,
|
|
401
|
+
});
|
|
402
|
+
export const SearchThingsRequestFilterSensitiveLog = (obj) => ({
|
|
403
|
+
...obj,
|
|
404
|
+
});
|
|
405
|
+
export const ThingFilterSensitiveLog = (obj) => ({
|
|
406
|
+
...obj,
|
|
407
|
+
});
|
|
408
|
+
export const SearchThingsResponseFilterSensitiveLog = (obj) => ({
|
|
409
|
+
...obj,
|
|
410
|
+
});
|
|
411
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
412
|
+
...obj,
|
|
413
|
+
});
|
|
414
|
+
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
415
|
+
...obj,
|
|
416
|
+
});
|
|
417
|
+
export const UndeploySystemInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
418
|
+
...obj,
|
|
419
|
+
});
|
|
420
|
+
export const UndeploySystemInstanceResponseFilterSensitiveLog = (obj) => ({
|
|
421
|
+
...obj,
|
|
422
|
+
});
|
|
423
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
424
|
+
...obj,
|
|
425
|
+
});
|
|
426
|
+
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
427
|
+
...obj,
|
|
428
|
+
});
|
|
429
|
+
export const UpdateFlowTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
430
|
+
...obj,
|
|
431
|
+
});
|
|
432
|
+
export const UpdateFlowTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
433
|
+
...obj,
|
|
434
|
+
});
|
|
435
|
+
export const UpdateSystemTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
436
|
+
...obj,
|
|
437
|
+
});
|
|
438
|
+
export const UpdateSystemTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
439
|
+
...obj,
|
|
440
|
+
});
|
|
441
|
+
export const UploadEntityDefinitionsRequestFilterSensitiveLog = (obj) => ({
|
|
442
|
+
...obj,
|
|
443
|
+
});
|
|
444
|
+
export const UploadEntityDefinitionsResponseFilterSensitiveLog = (obj) => ({
|
|
445
|
+
...obj,
|
|
446
|
+
});
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { GetFlowTemplateRevisionsCommand, } from "../commands/GetFlowTemplateRevisionsCommand";
|
|
3
2
|
import { IoTThingsGraph } from "../IoTThingsGraph";
|
|
4
3
|
import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
-
args[_i - 2] = arguments[_i];
|
|
9
|
-
}
|
|
10
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
-
return __generator(this, function (_a) {
|
|
12
|
-
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetFlowTemplateRevisionsCommand(input)], __read(args), false))];
|
|
14
|
-
case 1: return [2, _a.sent()];
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new GetFlowTemplateRevisionsCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
-
args[_i - 2] = arguments[_i];
|
|
23
|
-
}
|
|
24
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
-
return __generator(this, function (_a) {
|
|
26
|
-
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getFlowTemplateRevisions.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
-
case 1: return [2, _a.sent()];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.getFlowTemplateRevisions(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateGetFlowTemplateRevisions(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateGetFlowTemplateRevisions(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 IoTThingsGraph) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof IoTThingsGraphClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.nextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
39
|
-
var token, hasNext, page, prevToken;
|
|
40
|
-
return __generator(this, function (_a) {
|
|
41
|
-
switch (_a.label) {
|
|
42
|
-
case 0:
|
|
43
|
-
token = config.startingToken || undefined;
|
|
44
|
-
hasNext = true;
|
|
45
|
-
_a.label = 1;
|
|
46
|
-
case 1:
|
|
47
|
-
if (!hasNext) return [3, 9];
|
|
48
|
-
input.nextToken = token;
|
|
49
|
-
input["maxResults"] = config.pageSize;
|
|
50
|
-
if (!(config.client instanceof IoTThingsGraph)) 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 IoTThingsGraphClient)) 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 IoTThingsGraph | IoTThingsGraphClient");
|
|
62
|
-
case 6: return [4, __await(page)];
|
|
63
|
-
case 7: return [4, _a.sent()];
|
|
64
|
-
case 8:
|
|
65
|
-
_a.sent();
|
|
66
|
-
prevToken = token;
|
|
67
|
-
token = page.nextToken;
|
|
68
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
-
return [3, 1];
|
|
70
|
-
case 9: return [4, __await(undefined)];
|
|
71
|
-
case 10: return [2, _a.sent()];
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|