@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.
Files changed (57) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/IoTThingsGraph.js +142 -149
  3. package/dist-es/IoTThingsGraphClient.js +22 -28
  4. package/dist-es/commands/AssociateEntityToThingCommand.js +21 -28
  5. package/dist-es/commands/CreateFlowTemplateCommand.js +21 -28
  6. package/dist-es/commands/CreateSystemInstanceCommand.js +21 -28
  7. package/dist-es/commands/CreateSystemTemplateCommand.js +21 -28
  8. package/dist-es/commands/DeleteFlowTemplateCommand.js +21 -28
  9. package/dist-es/commands/DeleteNamespaceCommand.js +21 -28
  10. package/dist-es/commands/DeleteSystemInstanceCommand.js +21 -28
  11. package/dist-es/commands/DeleteSystemTemplateCommand.js +21 -28
  12. package/dist-es/commands/DeploySystemInstanceCommand.js +21 -28
  13. package/dist-es/commands/DeprecateFlowTemplateCommand.js +21 -28
  14. package/dist-es/commands/DeprecateSystemTemplateCommand.js +21 -28
  15. package/dist-es/commands/DescribeNamespaceCommand.js +21 -28
  16. package/dist-es/commands/DissociateEntityFromThingCommand.js +21 -28
  17. package/dist-es/commands/GetEntitiesCommand.js +21 -28
  18. package/dist-es/commands/GetFlowTemplateCommand.js +21 -28
  19. package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +21 -28
  20. package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +21 -28
  21. package/dist-es/commands/GetSystemInstanceCommand.js +21 -28
  22. package/dist-es/commands/GetSystemTemplateCommand.js +21 -28
  23. package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +21 -28
  24. package/dist-es/commands/GetUploadStatusCommand.js +21 -28
  25. package/dist-es/commands/ListFlowExecutionMessagesCommand.js +21 -28
  26. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  27. package/dist-es/commands/SearchEntitiesCommand.js +21 -28
  28. package/dist-es/commands/SearchFlowExecutionsCommand.js +21 -28
  29. package/dist-es/commands/SearchFlowTemplatesCommand.js +21 -28
  30. package/dist-es/commands/SearchSystemInstancesCommand.js +21 -28
  31. package/dist-es/commands/SearchSystemTemplatesCommand.js +21 -28
  32. package/dist-es/commands/SearchThingsCommand.js +21 -28
  33. package/dist-es/commands/TagResourceCommand.js +21 -28
  34. package/dist-es/commands/UndeploySystemInstanceCommand.js +21 -28
  35. package/dist-es/commands/UntagResourceCommand.js +21 -28
  36. package/dist-es/commands/UpdateFlowTemplateCommand.js +21 -28
  37. package/dist-es/commands/UpdateSystemTemplateCommand.js +21 -28
  38. package/dist-es/commands/UploadEntityDefinitionsCommand.js +21 -28
  39. package/dist-es/endpoints.js +8 -8
  40. package/dist-es/models/IoTThingsGraphServiceException.js +5 -10
  41. package/dist-es/models/models_0.js +341 -166
  42. package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js +25 -68
  43. package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js +25 -68
  44. package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js +25 -68
  45. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  46. package/dist-es/pagination/SearchEntitiesPaginator.js +25 -68
  47. package/dist-es/pagination/SearchFlowExecutionsPaginator.js +25 -68
  48. package/dist-es/pagination/SearchFlowTemplatesPaginator.js +25 -68
  49. package/dist-es/pagination/SearchSystemInstancesPaginator.js +25 -68
  50. package/dist-es/pagination/SearchSystemTemplatesPaginator.js +25 -68
  51. package/dist-es/pagination/SearchThingsPaginator.js +25 -68
  52. package/dist-es/protocols/Aws_json1_1.js +2228 -2918
  53. package/dist-es/runtimeConfig.browser.js +26 -12
  54. package/dist-es/runtimeConfig.js +30 -12
  55. package/dist-es/runtimeConfig.native.js +8 -5
  56. package/dist-es/runtimeConfig.shared.js +8 -11
  57. package/package.json +33 -33
@@ -1,81 +1,80 @@
1
- import { __assign, __extends } from "tslib";
2
1
  import { IoTThingsGraphServiceException as __BaseException } from "./IoTThingsGraphServiceException";
3
- var InternalFailureException = (function (_super) {
4
- __extends(InternalFailureException, _super);
5
- function InternalFailureException(opts) {
6
- var _this = _super.call(this, __assign({ name: "InternalFailureException", $fault: "server" }, opts)) || this;
7
- _this.name = "InternalFailureException";
8
- _this.$fault = "server";
9
- Object.setPrototypeOf(_this, InternalFailureException.prototype);
10
- return _this;
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
- return InternalFailureException;
13
- }(__BaseException));
14
- export { InternalFailureException };
15
- var InvalidRequestException = (function (_super) {
16
- __extends(InvalidRequestException, _super);
17
- function InvalidRequestException(opts) {
18
- var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
19
- _this.name = "InvalidRequestException";
20
- _this.$fault = "client";
21
- Object.setPrototypeOf(_this, InvalidRequestException.prototype);
22
- return _this;
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
- return InvalidRequestException;
25
- }(__BaseException));
26
- export { InvalidRequestException };
27
- var ResourceNotFoundException = (function (_super) {
28
- __extends(ResourceNotFoundException, _super);
29
- function ResourceNotFoundException(opts) {
30
- var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
31
- _this.name = "ResourceNotFoundException";
32
- _this.$fault = "client";
33
- Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
34
- return _this;
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
- return ResourceNotFoundException;
37
- }(__BaseException));
38
- export { ResourceNotFoundException };
39
- var ThrottlingException = (function (_super) {
40
- __extends(ThrottlingException, _super);
41
- function ThrottlingException(opts) {
42
- var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
43
- _this.name = "ThrottlingException";
44
- _this.$fault = "client";
45
- Object.setPrototypeOf(_this, ThrottlingException.prototype);
46
- return _this;
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
- return ThrottlingException;
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
- var LimitExceededException = (function (_super) {
56
- __extends(LimitExceededException, _super);
57
- function LimitExceededException(opts) {
58
- var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
59
- _this.name = "LimitExceededException";
60
- _this.$fault = "client";
61
- Object.setPrototypeOf(_this, LimitExceededException.prototype);
62
- return _this;
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
- return LimitExceededException;
65
- }(__BaseException));
66
- export { LimitExceededException };
67
- var ResourceAlreadyExistsException = (function (_super) {
68
- __extends(ResourceAlreadyExistsException, _super);
69
- function ResourceAlreadyExistsException(opts) {
70
- var _this = _super.call(this, __assign({ name: "ResourceAlreadyExistsException", $fault: "client" }, opts)) || this;
71
- _this.name = "ResourceAlreadyExistsException";
72
- _this.$fault = "client";
73
- Object.setPrototypeOf(_this, ResourceAlreadyExistsException.prototype);
74
- return _this;
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
- return ResourceAlreadyExistsException;
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
- var ResourceInUseException = (function (_super) {
96
- __extends(ResourceInUseException, _super);
97
- function ResourceInUseException(opts) {
98
- var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
99
- _this.name = "ResourceInUseException";
100
- _this.$fault = "client";
101
- Object.setPrototypeOf(_this, ResourceInUseException.prototype);
102
- return _this;
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
- return ResourceInUseException;
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 var AssociateEntityToThingRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
185
- export var AssociateEntityToThingResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
186
- export var DefinitionDocumentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
187
- export var CreateFlowTemplateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
188
- export var FlowTemplateSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
189
- export var CreateFlowTemplateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
190
- export var MetricsConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
191
- export var TagFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
192
- export var CreateSystemInstanceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
193
- export var SystemInstanceSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
194
- export var CreateSystemInstanceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
195
- export var CreateSystemTemplateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
196
- export var SystemTemplateSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
197
- export var CreateSystemTemplateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
198
- export var DeleteFlowTemplateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
199
- export var DeleteFlowTemplateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
200
- export var DeleteNamespaceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
201
- export var DeleteNamespaceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
202
- export var DeleteSystemInstanceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
203
- export var DeleteSystemInstanceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
204
- export var DeleteSystemTemplateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
205
- export var DeleteSystemTemplateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
206
- export var DependencyRevisionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
207
- export var DeploySystemInstanceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
208
- export var DeploySystemInstanceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
209
- export var DeprecateFlowTemplateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
210
- export var DeprecateFlowTemplateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
211
- export var DeprecateSystemTemplateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
212
- export var DeprecateSystemTemplateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
213
- export var DescribeNamespaceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
214
- export var DescribeNamespaceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
215
- export var DissociateEntityFromThingRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
216
- export var DissociateEntityFromThingResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
217
- export var EntityDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
218
- export var EntityFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
219
- export var FlowExecutionMessageFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
220
- export var FlowExecutionSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
221
- export var FlowTemplateDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
222
- export var FlowTemplateFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
223
- export var GetEntitiesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
224
- export var GetEntitiesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
225
- export var GetFlowTemplateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
226
- export var GetFlowTemplateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
227
- export var GetFlowTemplateRevisionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
228
- export var GetFlowTemplateRevisionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
229
- export var GetNamespaceDeletionStatusRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
230
- export var GetNamespaceDeletionStatusResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
231
- export var GetSystemInstanceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
232
- export var SystemInstanceDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
233
- export var GetSystemInstanceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
234
- export var GetSystemTemplateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
235
- export var SystemTemplateDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
236
- export var GetSystemTemplateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
237
- export var GetSystemTemplateRevisionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
238
- export var GetSystemTemplateRevisionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
239
- export var GetUploadStatusRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
240
- export var GetUploadStatusResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
241
- export var ListFlowExecutionMessagesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
242
- export var ListFlowExecutionMessagesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
243
- export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
244
- export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
245
- export var SearchEntitiesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
246
- export var SearchEntitiesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
247
- export var SearchFlowExecutionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
248
- export var SearchFlowExecutionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
249
- export var SearchFlowTemplatesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
250
- export var SearchFlowTemplatesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
251
- export var SystemInstanceFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
252
- export var SearchSystemInstancesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
253
- export var SearchSystemInstancesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
254
- export var SystemTemplateFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
255
- export var SearchSystemTemplatesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
256
- export var SearchSystemTemplatesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
257
- export var SearchThingsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
258
- export var ThingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
259
- export var SearchThingsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
260
- export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
261
- export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
262
- export var UndeploySystemInstanceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
263
- export var UndeploySystemInstanceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
264
- export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
265
- export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
266
- export var UpdateFlowTemplateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
267
- export var UpdateFlowTemplateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
268
- export var UpdateSystemTemplateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
269
- export var UpdateSystemTemplateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
270
- export var UploadEntityDefinitionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
271
- export var UploadEntityDefinitionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
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
- 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 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
- 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.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
- var additionalArguments = [];
35
- for (var _i = 2; _i < arguments.length; _i++) {
36
- additionalArguments[_i - 2] = arguments[_i];
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 __asyncGenerator(this, arguments, function paginateGetFlowTemplateRevisions_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 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
  }