@aws-sdk/client-iotthingsgraph 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/IoTThingsGraph.js +0 -8
- package/dist-cjs/IoTThingsGraphClient.js +0 -13
- package/dist-cjs/commands/AssociateEntityToThingCommand.js +0 -26
- package/dist-cjs/commands/CreateFlowTemplateCommand.js +0 -27
- package/dist-cjs/commands/CreateSystemInstanceCommand.js +0 -33
- package/dist-cjs/commands/CreateSystemTemplateCommand.js +0 -26
- package/dist-cjs/commands/DeleteFlowTemplateCommand.js +0 -26
- package/dist-cjs/commands/DeleteNamespaceCommand.js +0 -25
- package/dist-cjs/commands/DeleteSystemInstanceCommand.js +0 -27
- package/dist-cjs/commands/DeleteSystemTemplateCommand.js +0 -26
- package/dist-cjs/commands/DeploySystemInstanceCommand.js +0 -36
- package/dist-cjs/commands/DeprecateFlowTemplateCommand.js +0 -25
- package/dist-cjs/commands/DeprecateSystemTemplateCommand.js +0 -25
- package/dist-cjs/commands/DescribeNamespaceCommand.js +0 -25
- package/dist-cjs/commands/DissociateEntityFromThingCommand.js +0 -26
- package/dist-cjs/commands/GetEntitiesCommand.js +0 -56
- package/dist-cjs/commands/GetFlowTemplateCommand.js +0 -25
- package/dist-cjs/commands/GetFlowTemplateRevisionsCommand.js +0 -26
- package/dist-cjs/commands/GetNamespaceDeletionStatusCommand.js +0 -25
- package/dist-cjs/commands/GetSystemInstanceCommand.js +0 -25
- package/dist-cjs/commands/GetSystemTemplateCommand.js +0 -25
- package/dist-cjs/commands/GetSystemTemplateRevisionsCommand.js +0 -26
- package/dist-cjs/commands/GetUploadStatusCommand.js +0 -25
- package/dist-cjs/commands/ListFlowExecutionMessagesCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/SearchEntitiesCommand.js +0 -25
- package/dist-cjs/commands/SearchFlowExecutionsCommand.js +0 -25
- package/dist-cjs/commands/SearchFlowTemplatesCommand.js +0 -25
- package/dist-cjs/commands/SearchSystemInstancesCommand.js +0 -25
- package/dist-cjs/commands/SearchSystemTemplatesCommand.js +0 -25
- package/dist-cjs/commands/SearchThingsCommand.js +0 -28
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UndeploySystemInstanceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateFlowTemplateCommand.js +0 -26
- package/dist-cjs/commands/UpdateSystemTemplateCommand.js +0 -25
- package/dist-cjs/commands/UploadEntityDefinitionsCommand.js +0 -35
- package/dist-cjs/commands/index.js +38 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -49
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -286
- package/dist-cjs/pagination/GetFlowTemplateRevisionsPaginator.js +0 -11
- package/dist-cjs/pagination/GetSystemTemplateRevisionsPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListFlowExecutionMessagesPaginator.js +0 -11
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -11
- package/dist-cjs/pagination/SearchEntitiesPaginator.js +0 -11
- package/dist-cjs/pagination/SearchFlowExecutionsPaginator.js +0 -11
- package/dist-cjs/pagination/SearchFlowTemplatesPaginator.js +0 -11
- package/dist-cjs/pagination/SearchSystemInstancesPaginator.js +0 -11
- package/dist-cjs/pagination/SearchSystemTemplatesPaginator.js +0 -11
- package/dist-cjs/pagination/SearchThingsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +14 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/IoTThingsGraph.js +0 -1
- package/dist-es/IoTThingsGraphClient.js +0 -1
- package/dist-es/commands/AssociateEntityToThingCommand.js +0 -1
- package/dist-es/commands/CreateFlowTemplateCommand.js +0 -1
- package/dist-es/commands/CreateSystemInstanceCommand.js +0 -1
- package/dist-es/commands/CreateSystemTemplateCommand.js +0 -1
- package/dist-es/commands/DeleteFlowTemplateCommand.js +0 -1
- package/dist-es/commands/DeleteNamespaceCommand.js +0 -1
- package/dist-es/commands/DeleteSystemInstanceCommand.js +0 -1
- package/dist-es/commands/DeleteSystemTemplateCommand.js +0 -1
- package/dist-es/commands/DeploySystemInstanceCommand.js +0 -1
- package/dist-es/commands/DeprecateFlowTemplateCommand.js +0 -1
- package/dist-es/commands/DeprecateSystemTemplateCommand.js +0 -1
- package/dist-es/commands/DescribeNamespaceCommand.js +0 -1
- package/dist-es/commands/DissociateEntityFromThingCommand.js +0 -1
- package/dist-es/commands/GetEntitiesCommand.js +0 -1
- package/dist-es/commands/GetFlowTemplateCommand.js +0 -1
- package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +0 -1
- package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +0 -1
- package/dist-es/commands/GetSystemInstanceCommand.js +0 -1
- package/dist-es/commands/GetSystemTemplateCommand.js +0 -1
- package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +0 -1
- package/dist-es/commands/GetUploadStatusCommand.js +0 -1
- package/dist-es/commands/ListFlowExecutionMessagesCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/SearchEntitiesCommand.js +0 -1
- package/dist-es/commands/SearchFlowExecutionsCommand.js +0 -1
- package/dist-es/commands/SearchFlowTemplatesCommand.js +0 -1
- package/dist-es/commands/SearchSystemInstancesCommand.js +0 -1
- package/dist-es/commands/SearchSystemTemplatesCommand.js +0 -1
- package/dist-es/commands/SearchThingsCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UndeploySystemInstanceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateFlowTemplateCommand.js +0 -1
- package/dist-es/commands/UpdateSystemTemplateCommand.js +0 -1
- package/dist-es/commands/UploadEntityDefinitionsCommand.js +0 -1
- package/dist-es/commands/index.js +35 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -49
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js +0 -1
- package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/pagination/SearchEntitiesPaginator.js +0 -1
- package/dist-es/pagination/SearchFlowExecutionsPaginator.js +0 -1
- package/dist-es/pagination/SearchFlowTemplatesPaginator.js +0 -1
- package/dist-es/pagination/SearchSystemInstancesPaginator.js +0 -1
- package/dist-es/pagination/SearchSystemTemplatesPaginator.js +0 -1
- package/dist-es/pagination/SearchThingsPaginator.js +0 -1
- package/dist-es/pagination/index.js +11 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +35 -0
- package/dist-types/index.d.ts +4 -48
- package/dist-types/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/IoTThingsGraph.d.ts +36 -187
- package/dist-types/ts3.4/IoTThingsGraphClient.d.ts +24 -93
- package/dist-types/ts3.4/commands/AssociateEntityToThingCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateFlowTemplateCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateSystemInstanceCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateSystemTemplateCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteFlowTemplateCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSystemInstanceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteSystemTemplateCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeploySystemInstanceCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/DeprecateFlowTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeprecateSystemTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeNamespaceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DissociateEntityFromThingCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetEntitiesCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/GetFlowTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFlowTemplateRevisionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetNamespaceDeletionStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSystemInstanceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSystemTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSystemTemplateRevisionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetUploadStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFlowExecutionMessagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SearchEntitiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SearchFlowExecutionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SearchFlowTemplatesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SearchSystemInstancesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SearchSystemTemplatesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SearchThingsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UndeploySystemInstanceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFlowTemplateCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateSystemTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UploadEntityDefinitionsCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/index.d.ts +35 -0
- package/dist-types/ts3.4/index.d.ts +4 -48
- package/dist-types/ts3.4/models/models_0.d.ts +316 -1034
- package/dist-types/ts3.4/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/IoTThingsGraph.js.map +0 -1
- package/dist-cjs/IoTThingsGraphClient.js.map +0 -1
- package/dist-cjs/commands/AssociateEntityToThingCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFlowTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSystemInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSystemTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFlowTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteNamespaceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSystemInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSystemTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/DeploySystemInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/DeprecateFlowTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/DeprecateSystemTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeNamespaceCommand.js.map +0 -1
- package/dist-cjs/commands/DissociateEntityFromThingCommand.js.map +0 -1
- package/dist-cjs/commands/GetEntitiesCommand.js.map +0 -1
- package/dist-cjs/commands/GetFlowTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/GetFlowTemplateRevisionsCommand.js.map +0 -1
- package/dist-cjs/commands/GetNamespaceDeletionStatusCommand.js.map +0 -1
- package/dist-cjs/commands/GetSystemInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/GetSystemTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/GetSystemTemplateRevisionsCommand.js.map +0 -1
- package/dist-cjs/commands/GetUploadStatusCommand.js.map +0 -1
- package/dist-cjs/commands/ListFlowExecutionMessagesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/SearchEntitiesCommand.js.map +0 -1
- package/dist-cjs/commands/SearchFlowExecutionsCommand.js.map +0 -1
- package/dist-cjs/commands/SearchFlowTemplatesCommand.js.map +0 -1
- package/dist-cjs/commands/SearchSystemInstancesCommand.js.map +0 -1
- package/dist-cjs/commands/SearchSystemTemplatesCommand.js.map +0 -1
- package/dist-cjs/commands/SearchThingsCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UndeploySystemInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFlowTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSystemTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/UploadEntityDefinitionsCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/GetFlowTemplateRevisionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetSystemTemplateRevisionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListFlowExecutionMessagesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchEntitiesPaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchFlowExecutionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchFlowTemplatesPaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchSystemInstancesPaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchSystemTemplatesPaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchThingsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/IoTThingsGraph.js.map +0 -1
- package/dist-es/IoTThingsGraphClient.js.map +0 -1
- package/dist-es/commands/AssociateEntityToThingCommand.js.map +0 -1
- package/dist-es/commands/CreateFlowTemplateCommand.js.map +0 -1
- package/dist-es/commands/CreateSystemInstanceCommand.js.map +0 -1
- package/dist-es/commands/CreateSystemTemplateCommand.js.map +0 -1
- package/dist-es/commands/DeleteFlowTemplateCommand.js.map +0 -1
- package/dist-es/commands/DeleteNamespaceCommand.js.map +0 -1
- package/dist-es/commands/DeleteSystemInstanceCommand.js.map +0 -1
- package/dist-es/commands/DeleteSystemTemplateCommand.js.map +0 -1
- package/dist-es/commands/DeploySystemInstanceCommand.js.map +0 -1
- package/dist-es/commands/DeprecateFlowTemplateCommand.js.map +0 -1
- package/dist-es/commands/DeprecateSystemTemplateCommand.js.map +0 -1
- package/dist-es/commands/DescribeNamespaceCommand.js.map +0 -1
- package/dist-es/commands/DissociateEntityFromThingCommand.js.map +0 -1
- package/dist-es/commands/GetEntitiesCommand.js.map +0 -1
- package/dist-es/commands/GetFlowTemplateCommand.js.map +0 -1
- package/dist-es/commands/GetFlowTemplateRevisionsCommand.js.map +0 -1
- package/dist-es/commands/GetNamespaceDeletionStatusCommand.js.map +0 -1
- package/dist-es/commands/GetSystemInstanceCommand.js.map +0 -1
- package/dist-es/commands/GetSystemTemplateCommand.js.map +0 -1
- package/dist-es/commands/GetSystemTemplateRevisionsCommand.js.map +0 -1
- package/dist-es/commands/GetUploadStatusCommand.js.map +0 -1
- package/dist-es/commands/ListFlowExecutionMessagesCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/SearchEntitiesCommand.js.map +0 -1
- package/dist-es/commands/SearchFlowExecutionsCommand.js.map +0 -1
- package/dist-es/commands/SearchFlowTemplatesCommand.js.map +0 -1
- package/dist-es/commands/SearchSystemInstancesCommand.js.map +0 -1
- package/dist-es/commands/SearchSystemTemplatesCommand.js.map +0 -1
- package/dist-es/commands/SearchThingsCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UndeploySystemInstanceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateFlowTemplateCommand.js.map +0 -1
- package/dist-es/commands/UpdateSystemTemplateCommand.js.map +0 -1
- package/dist-es/commands/UploadEntityDefinitionsCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js.map +0 -1
- package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js.map +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-es/pagination/SearchEntitiesPaginator.js.map +0 -1
- package/dist-es/pagination/SearchFlowExecutionsPaginator.js.map +0 -1
- package/dist-es/pagination/SearchFlowTemplatesPaginator.js.map +0 -1
- package/dist-es/pagination/SearchSystemInstancesPaginator.js.map +0 -1
- package/dist-es/pagination/SearchSystemTemplatesPaginator.js.map +0 -1
- package/dist-es/pagination/SearchThingsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/IoTThingsGraph.ts +0 -1359
- package/src/IoTThingsGraphClient.ts +0 -408
- package/src/commands/AssociateEntityToThingCommand.ts +0 -96
- package/src/commands/CreateFlowTemplateCommand.ts +0 -97
- package/src/commands/CreateSystemInstanceCommand.ts +0 -103
- package/src/commands/CreateSystemTemplateCommand.ts +0 -96
- package/src/commands/DeleteFlowTemplateCommand.ts +0 -96
- package/src/commands/DeleteNamespaceCommand.ts +0 -95
- package/src/commands/DeleteSystemInstanceCommand.ts +0 -97
- package/src/commands/DeleteSystemTemplateCommand.ts +0 -96
- package/src/commands/DeploySystemInstanceCommand.ts +0 -106
- package/src/commands/DeprecateFlowTemplateCommand.ts +0 -95
- package/src/commands/DeprecateSystemTemplateCommand.ts +0 -95
- package/src/commands/DescribeNamespaceCommand.ts +0 -95
- package/src/commands/DissociateEntityFromThingCommand.ts +0 -99
- package/src/commands/GetEntitiesCommand.ts +0 -126
- package/src/commands/GetFlowTemplateCommand.ts +0 -95
- package/src/commands/GetFlowTemplateRevisionsCommand.ts +0 -96
- package/src/commands/GetNamespaceDeletionStatusCommand.ts +0 -98
- package/src/commands/GetSystemInstanceCommand.ts +0 -95
- package/src/commands/GetSystemTemplateCommand.ts +0 -95
- package/src/commands/GetSystemTemplateRevisionsCommand.ts +0 -99
- package/src/commands/GetUploadStatusCommand.ts +0 -95
- package/src/commands/ListFlowExecutionMessagesCommand.ts +0 -98
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/SearchEntitiesCommand.ts +0 -95
- package/src/commands/SearchFlowExecutionsCommand.ts +0 -95
- package/src/commands/SearchFlowTemplatesCommand.ts +0 -95
- package/src/commands/SearchSystemInstancesCommand.ts +0 -95
- package/src/commands/SearchSystemTemplatesCommand.ts +0 -95
- package/src/commands/SearchThingsCommand.ts +0 -98
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UndeploySystemInstanceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateFlowTemplateCommand.ts +0 -96
- package/src/commands/UpdateSystemTemplateCommand.ts +0 -95
- package/src/commands/UploadEntityDefinitionsCommand.ts +0 -105
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -49
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2312
- package/src/pagination/GetFlowTemplateRevisionsPaginator.ts +0 -59
- package/src/pagination/GetSystemTemplateRevisionsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListFlowExecutionMessagesPaginator.ts +0 -59
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/pagination/SearchEntitiesPaginator.ts +0 -59
- package/src/pagination/SearchFlowExecutionsPaginator.ts +0 -59
- package/src/pagination/SearchFlowTemplatesPaginator.ts +0 -59
- package/src/pagination/SearchSystemInstancesPaginator.ts +0 -59
- package/src/pagination/SearchSystemTemplatesPaginator.ts +0 -59
- package/src/pagination/SearchThingsPaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -4845
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
GetFlowTemplateRevisionsCommand,
|
|
5
|
-
GetFlowTemplateRevisionsCommandInput,
|
|
6
|
-
GetFlowTemplateRevisionsCommandOutput,
|
|
7
|
-
} from "../commands/GetFlowTemplateRevisionsCommand";
|
|
8
|
-
import { IoTThingsGraph } from "../IoTThingsGraph";
|
|
9
|
-
import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
|
|
10
|
-
import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: IoTThingsGraphClient,
|
|
17
|
-
input: GetFlowTemplateRevisionsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<GetFlowTemplateRevisionsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new GetFlowTemplateRevisionsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: IoTThingsGraph,
|
|
28
|
-
input: GetFlowTemplateRevisionsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<GetFlowTemplateRevisionsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.getFlowTemplateRevisions(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateGetFlowTemplateRevisions(
|
|
35
|
-
config: IoTThingsGraphPaginationConfiguration,
|
|
36
|
-
input: GetFlowTemplateRevisionsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<GetFlowTemplateRevisionsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: GetFlowTemplateRevisionsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof IoTThingsGraph) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof IoTThingsGraphClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
GetSystemTemplateRevisionsCommand,
|
|
5
|
-
GetSystemTemplateRevisionsCommandInput,
|
|
6
|
-
GetSystemTemplateRevisionsCommandOutput,
|
|
7
|
-
} from "../commands/GetSystemTemplateRevisionsCommand";
|
|
8
|
-
import { IoTThingsGraph } from "../IoTThingsGraph";
|
|
9
|
-
import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
|
|
10
|
-
import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: IoTThingsGraphClient,
|
|
17
|
-
input: GetSystemTemplateRevisionsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<GetSystemTemplateRevisionsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new GetSystemTemplateRevisionsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: IoTThingsGraph,
|
|
28
|
-
input: GetSystemTemplateRevisionsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<GetSystemTemplateRevisionsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.getSystemTemplateRevisions(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateGetSystemTemplateRevisions(
|
|
35
|
-
config: IoTThingsGraphPaginationConfiguration,
|
|
36
|
-
input: GetSystemTemplateRevisionsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<GetSystemTemplateRevisionsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: GetSystemTemplateRevisionsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof IoTThingsGraph) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof IoTThingsGraphClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { IoTThingsGraph } from "../IoTThingsGraph";
|
|
4
|
-
import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
|
|
5
|
-
|
|
6
|
-
export interface IoTThingsGraphPaginationConfiguration extends PaginationConfiguration {
|
|
7
|
-
client: IoTThingsGraph | IoTThingsGraphClient;
|
|
8
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListFlowExecutionMessagesCommand,
|
|
5
|
-
ListFlowExecutionMessagesCommandInput,
|
|
6
|
-
ListFlowExecutionMessagesCommandOutput,
|
|
7
|
-
} from "../commands/ListFlowExecutionMessagesCommand";
|
|
8
|
-
import { IoTThingsGraph } from "../IoTThingsGraph";
|
|
9
|
-
import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
|
|
10
|
-
import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: IoTThingsGraphClient,
|
|
17
|
-
input: ListFlowExecutionMessagesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListFlowExecutionMessagesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListFlowExecutionMessagesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: IoTThingsGraph,
|
|
28
|
-
input: ListFlowExecutionMessagesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListFlowExecutionMessagesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listFlowExecutionMessages(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListFlowExecutionMessages(
|
|
35
|
-
config: IoTThingsGraphPaginationConfiguration,
|
|
36
|
-
input: ListFlowExecutionMessagesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListFlowExecutionMessagesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListFlowExecutionMessagesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof IoTThingsGraph) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof IoTThingsGraphClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListTagsForResourceCommand,
|
|
5
|
-
ListTagsForResourceCommandInput,
|
|
6
|
-
ListTagsForResourceCommandOutput,
|
|
7
|
-
} from "../commands/ListTagsForResourceCommand";
|
|
8
|
-
import { IoTThingsGraph } from "../IoTThingsGraph";
|
|
9
|
-
import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
|
|
10
|
-
import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: IoTThingsGraphClient,
|
|
17
|
-
input: ListTagsForResourceCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListTagsForResourceCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListTagsForResourceCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: IoTThingsGraph,
|
|
28
|
-
input: ListTagsForResourceCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListTagsForResourceCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listTagsForResource(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListTagsForResource(
|
|
35
|
-
config: IoTThingsGraphPaginationConfiguration,
|
|
36
|
-
input: ListTagsForResourceCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListTagsForResourceCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListTagsForResourceCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof IoTThingsGraph) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof IoTThingsGraphClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
SearchEntitiesCommand,
|
|
5
|
-
SearchEntitiesCommandInput,
|
|
6
|
-
SearchEntitiesCommandOutput,
|
|
7
|
-
} from "../commands/SearchEntitiesCommand";
|
|
8
|
-
import { IoTThingsGraph } from "../IoTThingsGraph";
|
|
9
|
-
import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
|
|
10
|
-
import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: IoTThingsGraphClient,
|
|
17
|
-
input: SearchEntitiesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<SearchEntitiesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new SearchEntitiesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: IoTThingsGraph,
|
|
28
|
-
input: SearchEntitiesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<SearchEntitiesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.searchEntities(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateSearchEntities(
|
|
35
|
-
config: IoTThingsGraphPaginationConfiguration,
|
|
36
|
-
input: SearchEntitiesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<SearchEntitiesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: SearchEntitiesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof IoTThingsGraph) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof IoTThingsGraphClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
SearchFlowExecutionsCommand,
|
|
5
|
-
SearchFlowExecutionsCommandInput,
|
|
6
|
-
SearchFlowExecutionsCommandOutput,
|
|
7
|
-
} from "../commands/SearchFlowExecutionsCommand";
|
|
8
|
-
import { IoTThingsGraph } from "../IoTThingsGraph";
|
|
9
|
-
import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
|
|
10
|
-
import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: IoTThingsGraphClient,
|
|
17
|
-
input: SearchFlowExecutionsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<SearchFlowExecutionsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new SearchFlowExecutionsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: IoTThingsGraph,
|
|
28
|
-
input: SearchFlowExecutionsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<SearchFlowExecutionsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.searchFlowExecutions(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateSearchFlowExecutions(
|
|
35
|
-
config: IoTThingsGraphPaginationConfiguration,
|
|
36
|
-
input: SearchFlowExecutionsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<SearchFlowExecutionsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: SearchFlowExecutionsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof IoTThingsGraph) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof IoTThingsGraphClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
SearchFlowTemplatesCommand,
|
|
5
|
-
SearchFlowTemplatesCommandInput,
|
|
6
|
-
SearchFlowTemplatesCommandOutput,
|
|
7
|
-
} from "../commands/SearchFlowTemplatesCommand";
|
|
8
|
-
import { IoTThingsGraph } from "../IoTThingsGraph";
|
|
9
|
-
import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
|
|
10
|
-
import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: IoTThingsGraphClient,
|
|
17
|
-
input: SearchFlowTemplatesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<SearchFlowTemplatesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new SearchFlowTemplatesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: IoTThingsGraph,
|
|
28
|
-
input: SearchFlowTemplatesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<SearchFlowTemplatesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.searchFlowTemplates(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateSearchFlowTemplates(
|
|
35
|
-
config: IoTThingsGraphPaginationConfiguration,
|
|
36
|
-
input: SearchFlowTemplatesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<SearchFlowTemplatesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: SearchFlowTemplatesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof IoTThingsGraph) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof IoTThingsGraphClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
SearchSystemInstancesCommand,
|
|
5
|
-
SearchSystemInstancesCommandInput,
|
|
6
|
-
SearchSystemInstancesCommandOutput,
|
|
7
|
-
} from "../commands/SearchSystemInstancesCommand";
|
|
8
|
-
import { IoTThingsGraph } from "../IoTThingsGraph";
|
|
9
|
-
import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
|
|
10
|
-
import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: IoTThingsGraphClient,
|
|
17
|
-
input: SearchSystemInstancesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<SearchSystemInstancesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new SearchSystemInstancesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: IoTThingsGraph,
|
|
28
|
-
input: SearchSystemInstancesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<SearchSystemInstancesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.searchSystemInstances(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateSearchSystemInstances(
|
|
35
|
-
config: IoTThingsGraphPaginationConfiguration,
|
|
36
|
-
input: SearchSystemInstancesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<SearchSystemInstancesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: SearchSystemInstancesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof IoTThingsGraph) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof IoTThingsGraphClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
SearchSystemTemplatesCommand,
|
|
5
|
-
SearchSystemTemplatesCommandInput,
|
|
6
|
-
SearchSystemTemplatesCommandOutput,
|
|
7
|
-
} from "../commands/SearchSystemTemplatesCommand";
|
|
8
|
-
import { IoTThingsGraph } from "../IoTThingsGraph";
|
|
9
|
-
import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
|
|
10
|
-
import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: IoTThingsGraphClient,
|
|
17
|
-
input: SearchSystemTemplatesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<SearchSystemTemplatesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new SearchSystemTemplatesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: IoTThingsGraph,
|
|
28
|
-
input: SearchSystemTemplatesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<SearchSystemTemplatesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.searchSystemTemplates(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateSearchSystemTemplates(
|
|
35
|
-
config: IoTThingsGraphPaginationConfiguration,
|
|
36
|
-
input: SearchSystemTemplatesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<SearchSystemTemplatesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: SearchSystemTemplatesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof IoTThingsGraph) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof IoTThingsGraphClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
SearchThingsCommand,
|
|
5
|
-
SearchThingsCommandInput,
|
|
6
|
-
SearchThingsCommandOutput,
|
|
7
|
-
} from "../commands/SearchThingsCommand";
|
|
8
|
-
import { IoTThingsGraph } from "../IoTThingsGraph";
|
|
9
|
-
import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
|
|
10
|
-
import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: IoTThingsGraphClient,
|
|
17
|
-
input: SearchThingsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<SearchThingsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new SearchThingsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: IoTThingsGraph,
|
|
28
|
-
input: SearchThingsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<SearchThingsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.searchThings(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateSearchThings(
|
|
35
|
-
config: IoTThingsGraphPaginationConfiguration,
|
|
36
|
-
input: SearchThingsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<SearchThingsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: SearchThingsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof IoTThingsGraph) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof IoTThingsGraphClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|