Class: AWS.IoTThingsGraph
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.IoTThingsGraph
- Identifier:
- iotthingsgraph
- API Version:
- 2018-09-06
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards, such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services and defining how they interact at an abstract level.
For more information about how AWS IoT Things Graph works, see the User Guide.
The AWS IoT Things Graph service is discontinued.
Sending a Request Using IoTThingsGraph
var iotthingsgraph = new AWS.IoTThingsGraph();
iotthingsgraph.associateEntityToThing(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the IoTThingsGraph object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var iotthingsgraph = new AWS.IoTThingsGraph({apiVersion: '2018-09-06'});
You can also set the API version globally in AWS.config.apiVersions using
the iotthingsgraph service identifier:
AWS.config.apiVersions = {
iotthingsgraph: '2018-09-06',
// other service API versions
};
var iotthingsgraph = new AWS.IoTThingsGraph();
Constructor Summary collapse
-
new AWS.IoTThingsGraph(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
associateEntityToThing(params = {}, callback) ⇒ AWS.Request
Associates a device with a concrete thing that is in the user's registry.
A thing can be associated with only one device at a time.
-
createFlowTemplate(params = {}, callback) ⇒ AWS.Request
Creates a workflow template.
-
createSystemInstance(params = {}, callback) ⇒ AWS.Request
Creates a system instance.
-
createSystemTemplate(params = {}, callback) ⇒ AWS.Request
Creates a system.
-
deleteFlowTemplate(params = {}, callback) ⇒ AWS.Request
Deletes a workflow.
-
deleteNamespace(params = {}, callback) ⇒ AWS.Request
Deletes the specified namespace.
-
deleteSystemInstance(params = {}, callback) ⇒ AWS.Request
Deletes a system instance.
-
deleteSystemTemplate(params = {}, callback) ⇒ AWS.Request
Deletes a system.
-
deploySystemInstance(params = {}, callback) ⇒ AWS.Request
Greengrass and Cloud Deployments
Deploys the system instance to the target specified in
CreateSystemInstance. -
deprecateFlowTemplate(params = {}, callback) ⇒ AWS.Request
Deprecates the specified workflow.
-
deprecateSystemTemplate(params = {}, callback) ⇒ AWS.Request
Deprecates the specified system.
.
-
describeNamespace(params = {}, callback) ⇒ AWS.Request
Gets the latest version of the user's namespace and the public version that it is tracking.
.
-
dissociateEntityFromThing(params = {}, callback) ⇒ AWS.Request
Dissociates a device entity from a concrete thing.
-
getEntities(params = {}, callback) ⇒ AWS.Request
Gets definitions of the specified entities.
-
getFlowTemplate(params = {}, callback) ⇒ AWS.Request
Gets the latest version of the
DefinitionDocumentandFlowTemplateSummaryfor the specified workflow..
-
getFlowTemplateRevisions(params = {}, callback) ⇒ AWS.Request
Gets revisions of the specified workflow.
-
getNamespaceDeletionStatus(params = {}, callback) ⇒ AWS.Request
Gets the status of a namespace deletion task.
.
-
getSystemInstance(params = {}, callback) ⇒ AWS.Request
Gets a system instance.
.
-
getSystemTemplate(params = {}, callback) ⇒ AWS.Request
Gets a system.
.
-
getSystemTemplateRevisions(params = {}, callback) ⇒ AWS.Request
Gets revisions made to the specified system template.
-
getUploadStatus(params = {}, callback) ⇒ AWS.Request
Gets the status of the specified upload.
.
-
listFlowExecutionMessages(params = {}, callback) ⇒ AWS.Request
Returns a list of objects that contain information about events in a flow execution.
.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Lists all tags on an AWS IoT Things Graph resource.
.
-
searchEntities(params = {}, callback) ⇒ AWS.Request
Searches for entities of the specified type.
-
searchFlowExecutions(params = {}, callback) ⇒ AWS.Request
Searches for AWS IoT Things Graph workflow execution instances.
.
-
searchFlowTemplates(params = {}, callback) ⇒ AWS.Request
Searches for summary information about workflows.
.
-
searchSystemInstances(params = {}, callback) ⇒ AWS.Request
Searches for system instances in the user's account.
.
-
searchSystemTemplates(params = {}, callback) ⇒ AWS.Request
Searches for summary information about systems in the user's account.
-
searchThings(params = {}, callback) ⇒ AWS.Request
Searches for things associated with the specified entity.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Creates a tag for the specified resource.
.
-
undeploySystemInstance(params = {}, callback) ⇒ AWS.Request
Removes a system instance from its target (Cloud or Greengrass).
.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Removes a tag from the specified resource.
.
-
updateFlowTemplate(params = {}, callback) ⇒ AWS.Request
Updates the specified workflow.
-
updateSystemTemplate(params = {}, callback) ⇒ AWS.Request
Updates the specified system.
-
uploadEntityDefinitions(params = {}, callback) ⇒ AWS.Request
Asynchronously uploads one or more entity definitions to the user's namespace.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.IoTThingsGraph(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.