@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIoTThingsGraphAsyncClient extends AWSIoTThingsGraphClient implements AWSIoTThingsGraphAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXassociateEntityToThing, builder, createFlowTemplate, createSystemInstance, createSystemTemplate, deleteFlowTemplate, deleteNamespace, deleteSystemInstance, deleteSystemTemplate, deploySystemInstance, deprecateFlowTemplate, deprecateSystemTemplate, describeNamespace, dissociateEntityFromThing, getCachedResponseMetadata, getEntities, getFlowTemplate, getFlowTemplateRevisions, getNamespaceDeletionStatus, getSystemInstance, getSystemTemplate, getSystemTemplateRevisions, getUploadStatus, listFlowExecutionMessages, listTagsForResource, searchEntities, searchFlowExecutions, searchFlowTemplates, searchSystemInstances, searchSystemTemplates, searchThings, tagResource, undeploySystemInstance, untagResource, updateFlowTemplate, updateSystemTemplate, uploadEntityDefinitionsaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassociateEntityToThing, createFlowTemplate, createSystemInstance, createSystemTemplate, deleteFlowTemplate, deleteNamespace, deleteSystemInstance, deleteSystemTemplate, deploySystemInstance, deprecateFlowTemplate, deprecateSystemTemplate, describeNamespace, dissociateEntityFromThing, getCachedResponseMetadata, getEntities, getFlowTemplate, getFlowTemplateRevisions, getNamespaceDeletionStatus, getSystemInstance, getSystemTemplate, getSystemTemplateRevisions, getUploadStatus, listFlowExecutionMessages, listTagsForResource, searchEntities, searchFlowExecutions, searchFlowTemplates, searchSystemInstances, searchSystemTemplates, searchThings, tagResource, undeploySystemInstance, untagResource, updateFlowTemplate, updateSystemTemplate, uploadEntityDefinitionspublic static AWSIoTThingsGraphAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
@Deprecated public Future<AssociateEntityToThingResult> associateEntityToThingAsync(AssociateEntityToThingRequest request)
AWSIoTThingsGraphAsyncAssociates 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. If you associate a thing with a new device id, its previous association will be removed.
associateEntityToThingAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<AssociateEntityToThingResult> associateEntityToThingAsync(AssociateEntityToThingRequest request, AsyncHandler<AssociateEntityToThingRequest,AssociateEntityToThingResult> asyncHandler)
AWSIoTThingsGraphAsyncAssociates 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. If you associate a thing with a new device id, its previous association will be removed.
associateEntityToThingAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<CreateFlowTemplateResult> createFlowTemplateAsync(CreateFlowTemplateRequest request)
AWSIoTThingsGraphAsyncCreates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.
createFlowTemplateAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<CreateFlowTemplateResult> createFlowTemplateAsync(CreateFlowTemplateRequest request, AsyncHandler<CreateFlowTemplateRequest,CreateFlowTemplateResult> asyncHandler)
AWSIoTThingsGraphAsyncCreates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.
createFlowTemplateAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<CreateSystemInstanceResult> createSystemInstanceAsync(CreateSystemInstanceRequest request)
AWSIoTThingsGraphAsyncCreates a system instance.
This action validates the system instance, prepares the deployment-related resources. For Greengrass deployments,
it updates the Greengrass group that is specified by the greengrassGroupName parameter. It also adds
a file to the S3 bucket specified by the s3BucketName parameter. You need to call
DeploySystemInstance after running this action.
For Greengrass deployments, since this action modifies and adds resources to a Greengrass group and an S3 bucket on the caller's behalf, the calling identity must have write permissions to both the specified Greengrass group and S3 bucket. Otherwise, the call will fail with an authorization error.
For cloud deployments, this action requires a flowActionsRoleArn value. This is an IAM role that has
permissions to access AWS services, such as AWS Lambda and AWS IoT, that the flow uses when it executes.
If the definition document doesn't specify a version of the user's namespace, the latest version will be used by default.
createSystemInstanceAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<CreateSystemInstanceResult> createSystemInstanceAsync(CreateSystemInstanceRequest request, AsyncHandler<CreateSystemInstanceRequest,CreateSystemInstanceResult> asyncHandler)
AWSIoTThingsGraphAsyncCreates a system instance.
This action validates the system instance, prepares the deployment-related resources. For Greengrass deployments,
it updates the Greengrass group that is specified by the greengrassGroupName parameter. It also adds
a file to the S3 bucket specified by the s3BucketName parameter. You need to call
DeploySystemInstance after running this action.
For Greengrass deployments, since this action modifies and adds resources to a Greengrass group and an S3 bucket on the caller's behalf, the calling identity must have write permissions to both the specified Greengrass group and S3 bucket. Otherwise, the call will fail with an authorization error.
For cloud deployments, this action requires a flowActionsRoleArn value. This is an IAM role that has
permissions to access AWS services, such as AWS Lambda and AWS IoT, that the flow uses when it executes.
If the definition document doesn't specify a version of the user's namespace, the latest version will be used by default.
createSystemInstanceAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<CreateSystemTemplateResult> createSystemTemplateAsync(CreateSystemTemplateRequest request)
AWSIoTThingsGraphAsyncCreates a system. The system is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.
createSystemTemplateAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<CreateSystemTemplateResult> createSystemTemplateAsync(CreateSystemTemplateRequest request, AsyncHandler<CreateSystemTemplateRequest,CreateSystemTemplateResult> asyncHandler)
AWSIoTThingsGraphAsyncCreates a system. The system is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.
createSystemTemplateAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<DeleteFlowTemplateResult> deleteFlowTemplateAsync(DeleteFlowTemplateRequest request)
AWSIoTThingsGraphAsyncDeletes a workflow. Any new system or deployment that contains this workflow will fail to update or deploy. Existing deployments that contain the workflow will continue to run (since they use a snapshot of the workflow taken at the time of deployment).
deleteFlowTemplateAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<DeleteFlowTemplateResult> deleteFlowTemplateAsync(DeleteFlowTemplateRequest request, AsyncHandler<DeleteFlowTemplateRequest,DeleteFlowTemplateResult> asyncHandler)
AWSIoTThingsGraphAsyncDeletes a workflow. Any new system or deployment that contains this workflow will fail to update or deploy. Existing deployments that contain the workflow will continue to run (since they use a snapshot of the workflow taken at the time of deployment).
deleteFlowTemplateAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<DeleteNamespaceResult> deleteNamespaceAsync(DeleteNamespaceRequest request)
AWSIoTThingsGraphAsyncDeletes the specified namespace. This action deletes all of the entities in the namespace. Delete the systems and flows that use entities in the namespace before performing this action. This action takes no request parameters.
deleteNamespaceAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<DeleteNamespaceResult> deleteNamespaceAsync(DeleteNamespaceRequest request, AsyncHandler<DeleteNamespaceRequest,DeleteNamespaceResult> asyncHandler)
AWSIoTThingsGraphAsyncDeletes the specified namespace. This action deletes all of the entities in the namespace. Delete the systems and flows that use entities in the namespace before performing this action. This action takes no request parameters.
deleteNamespaceAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<DeleteSystemInstanceResult> deleteSystemInstanceAsync(DeleteSystemInstanceRequest request)
AWSIoTThingsGraphAsyncDeletes a system instance. Only system instances that have never been deployed, or that have been undeployed can be deleted.
Users can create a new system instance that has the same ID as a deleted system instance.
deleteSystemInstanceAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<DeleteSystemInstanceResult> deleteSystemInstanceAsync(DeleteSystemInstanceRequest request, AsyncHandler<DeleteSystemInstanceRequest,DeleteSystemInstanceResult> asyncHandler)
AWSIoTThingsGraphAsyncDeletes a system instance. Only system instances that have never been deployed, or that have been undeployed can be deleted.
Users can create a new system instance that has the same ID as a deleted system instance.
deleteSystemInstanceAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<DeleteSystemTemplateResult> deleteSystemTemplateAsync(DeleteSystemTemplateRequest request)
AWSIoTThingsGraphAsyncDeletes a system. New deployments can't contain the system after its deletion. Existing deployments that contain the system will continue to work because they use a snapshot of the system that is taken when it is deployed.
deleteSystemTemplateAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<DeleteSystemTemplateResult> deleteSystemTemplateAsync(DeleteSystemTemplateRequest request, AsyncHandler<DeleteSystemTemplateRequest,DeleteSystemTemplateResult> asyncHandler)
AWSIoTThingsGraphAsyncDeletes a system. New deployments can't contain the system after its deletion. Existing deployments that contain the system will continue to work because they use a snapshot of the system that is taken when it is deployed.
deleteSystemTemplateAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<DeploySystemInstanceResult> deploySystemInstanceAsync(DeploySystemInstanceRequest request)
AWSIoTThingsGraphAsyncGreengrass and Cloud Deployments
Deploys the system instance to the target specified in CreateSystemInstance.
Greengrass Deployments
If the system or any workflows and entities have been updated before this action is called, then the deployment will create a new Amazon Simple Storage Service resource file and then deploy it.
Since this action creates a Greengrass deployment on the caller's behalf, the calling identity must have write permissions to the specified Greengrass group. Otherwise, the call will fail with an authorization error.
For information about the artifacts that get added to your Greengrass core device when you use this API, see AWS IoT Things Graph and AWS IoT Greengrass.
deploySystemInstanceAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<DeploySystemInstanceResult> deploySystemInstanceAsync(DeploySystemInstanceRequest request, AsyncHandler<DeploySystemInstanceRequest,DeploySystemInstanceResult> asyncHandler)
AWSIoTThingsGraphAsyncGreengrass and Cloud Deployments
Deploys the system instance to the target specified in CreateSystemInstance.
Greengrass Deployments
If the system or any workflows and entities have been updated before this action is called, then the deployment will create a new Amazon Simple Storage Service resource file and then deploy it.
Since this action creates a Greengrass deployment on the caller's behalf, the calling identity must have write permissions to the specified Greengrass group. Otherwise, the call will fail with an authorization error.
For information about the artifacts that get added to your Greengrass core device when you use this API, see AWS IoT Things Graph and AWS IoT Greengrass.
deploySystemInstanceAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<DeprecateFlowTemplateResult> deprecateFlowTemplateAsync(DeprecateFlowTemplateRequest request)
AWSIoTThingsGraphAsyncDeprecates the specified workflow. This action marks the workflow for deletion. Deprecated flows can't be deployed, but existing deployments will continue to run.
deprecateFlowTemplateAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<DeprecateFlowTemplateResult> deprecateFlowTemplateAsync(DeprecateFlowTemplateRequest request, AsyncHandler<DeprecateFlowTemplateRequest,DeprecateFlowTemplateResult> asyncHandler)
AWSIoTThingsGraphAsyncDeprecates the specified workflow. This action marks the workflow for deletion. Deprecated flows can't be deployed, but existing deployments will continue to run.
deprecateFlowTemplateAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<DeprecateSystemTemplateResult> deprecateSystemTemplateAsync(DeprecateSystemTemplateRequest request)
AWSIoTThingsGraphAsyncDeprecates the specified system.
deprecateSystemTemplateAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<DeprecateSystemTemplateResult> deprecateSystemTemplateAsync(DeprecateSystemTemplateRequest request, AsyncHandler<DeprecateSystemTemplateRequest,DeprecateSystemTemplateResult> asyncHandler)
AWSIoTThingsGraphAsyncDeprecates the specified system.
deprecateSystemTemplateAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<DescribeNamespaceResult> describeNamespaceAsync(DescribeNamespaceRequest request)
AWSIoTThingsGraphAsyncGets the latest version of the user's namespace and the public version that it is tracking.
describeNamespaceAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<DescribeNamespaceResult> describeNamespaceAsync(DescribeNamespaceRequest request, AsyncHandler<DescribeNamespaceRequest,DescribeNamespaceResult> asyncHandler)
AWSIoTThingsGraphAsyncGets the latest version of the user's namespace and the public version that it is tracking.
describeNamespaceAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<DissociateEntityFromThingResult> dissociateEntityFromThingAsync(DissociateEntityFromThingRequest request)
AWSIoTThingsGraphAsyncDissociates a device entity from a concrete thing. The action takes only the type of the entity that you need to dissociate because only one entity of a particular type can be associated with a thing.
dissociateEntityFromThingAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<DissociateEntityFromThingResult> dissociateEntityFromThingAsync(DissociateEntityFromThingRequest request, AsyncHandler<DissociateEntityFromThingRequest,DissociateEntityFromThingResult> asyncHandler)
AWSIoTThingsGraphAsyncDissociates a device entity from a concrete thing. The action takes only the type of the entity that you need to dissociate because only one entity of a particular type can be associated with a thing.
dissociateEntityFromThingAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<GetEntitiesResult> getEntitiesAsync(GetEntitiesRequest request)
AWSIoTThingsGraphAsyncGets definitions of the specified entities. Uses the latest version of the user's namespace by default. This API returns the following TDM entities.
Properties
States
Events
Actions
Capabilities
Mappings
Devices
Device Models
Services
This action doesn't return definitions for systems, flows, and deployments.
getEntitiesAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<GetEntitiesResult> getEntitiesAsync(GetEntitiesRequest request, AsyncHandler<GetEntitiesRequest,GetEntitiesResult> asyncHandler)
AWSIoTThingsGraphAsyncGets definitions of the specified entities. Uses the latest version of the user's namespace by default. This API returns the following TDM entities.
Properties
States
Events
Actions
Capabilities
Mappings
Devices
Device Models
Services
This action doesn't return definitions for systems, flows, and deployments.
getEntitiesAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<GetFlowTemplateResult> getFlowTemplateAsync(GetFlowTemplateRequest request)
AWSIoTThingsGraphAsync
Gets the latest version of the DefinitionDocument and FlowTemplateSummary for the
specified workflow.
getFlowTemplateAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<GetFlowTemplateResult> getFlowTemplateAsync(GetFlowTemplateRequest request, AsyncHandler<GetFlowTemplateRequest,GetFlowTemplateResult> asyncHandler)
AWSIoTThingsGraphAsync
Gets the latest version of the DefinitionDocument and FlowTemplateSummary for the
specified workflow.
getFlowTemplateAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<GetFlowTemplateRevisionsResult> getFlowTemplateRevisionsAsync(GetFlowTemplateRevisionsRequest request)
AWSIoTThingsGraphAsyncGets revisions of the specified workflow. Only the last 100 revisions are stored. If the workflow has been deprecated, this action will return revisions that occurred before the deprecation. This action won't work for workflows that have been deleted.
getFlowTemplateRevisionsAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<GetFlowTemplateRevisionsResult> getFlowTemplateRevisionsAsync(GetFlowTemplateRevisionsRequest request, AsyncHandler<GetFlowTemplateRevisionsRequest,GetFlowTemplateRevisionsResult> asyncHandler)
AWSIoTThingsGraphAsyncGets revisions of the specified workflow. Only the last 100 revisions are stored. If the workflow has been deprecated, this action will return revisions that occurred before the deprecation. This action won't work for workflows that have been deleted.
getFlowTemplateRevisionsAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<GetNamespaceDeletionStatusResult> getNamespaceDeletionStatusAsync(GetNamespaceDeletionStatusRequest request)
AWSIoTThingsGraphAsyncGets the status of a namespace deletion task.
getNamespaceDeletionStatusAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<GetNamespaceDeletionStatusResult> getNamespaceDeletionStatusAsync(GetNamespaceDeletionStatusRequest request, AsyncHandler<GetNamespaceDeletionStatusRequest,GetNamespaceDeletionStatusResult> asyncHandler)
AWSIoTThingsGraphAsyncGets the status of a namespace deletion task.
getNamespaceDeletionStatusAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<GetSystemInstanceResult> getSystemInstanceAsync(GetSystemInstanceRequest request)
AWSIoTThingsGraphAsyncGets a system instance.
getSystemInstanceAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<GetSystemInstanceResult> getSystemInstanceAsync(GetSystemInstanceRequest request, AsyncHandler<GetSystemInstanceRequest,GetSystemInstanceResult> asyncHandler)
AWSIoTThingsGraphAsyncGets a system instance.
getSystemInstanceAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<GetSystemTemplateResult> getSystemTemplateAsync(GetSystemTemplateRequest request)
AWSIoTThingsGraphAsyncGets a system.
getSystemTemplateAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<GetSystemTemplateResult> getSystemTemplateAsync(GetSystemTemplateRequest request, AsyncHandler<GetSystemTemplateRequest,GetSystemTemplateResult> asyncHandler)
AWSIoTThingsGraphAsyncGets a system.
getSystemTemplateAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<GetSystemTemplateRevisionsResult> getSystemTemplateRevisionsAsync(GetSystemTemplateRevisionsRequest request)
AWSIoTThingsGraphAsyncGets revisions made to the specified system template. Only the previous 100 revisions are stored. If the system has been deprecated, this action will return the revisions that occurred before its deprecation. This action won't work with systems that have been deleted.
getSystemTemplateRevisionsAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<GetSystemTemplateRevisionsResult> getSystemTemplateRevisionsAsync(GetSystemTemplateRevisionsRequest request, AsyncHandler<GetSystemTemplateRevisionsRequest,GetSystemTemplateRevisionsResult> asyncHandler)
AWSIoTThingsGraphAsyncGets revisions made to the specified system template. Only the previous 100 revisions are stored. If the system has been deprecated, this action will return the revisions that occurred before its deprecation. This action won't work with systems that have been deleted.
getSystemTemplateRevisionsAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<GetUploadStatusResult> getUploadStatusAsync(GetUploadStatusRequest request)
AWSIoTThingsGraphAsyncGets the status of the specified upload.
getUploadStatusAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<GetUploadStatusResult> getUploadStatusAsync(GetUploadStatusRequest request, AsyncHandler<GetUploadStatusRequest,GetUploadStatusResult> asyncHandler)
AWSIoTThingsGraphAsyncGets the status of the specified upload.
getUploadStatusAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<ListFlowExecutionMessagesResult> listFlowExecutionMessagesAsync(ListFlowExecutionMessagesRequest request)
AWSIoTThingsGraphAsyncReturns a list of objects that contain information about events in a flow execution.
listFlowExecutionMessagesAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<ListFlowExecutionMessagesResult> listFlowExecutionMessagesAsync(ListFlowExecutionMessagesRequest request, AsyncHandler<ListFlowExecutionMessagesRequest,ListFlowExecutionMessagesResult> asyncHandler)
AWSIoTThingsGraphAsyncReturns a list of objects that contain information about events in a flow execution.
listFlowExecutionMessagesAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSIoTThingsGraphAsyncLists all tags on an AWS IoT Things Graph resource.
listTagsForResourceAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSIoTThingsGraphAsyncLists all tags on an AWS IoT Things Graph resource.
listTagsForResourceAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<SearchEntitiesResult> searchEntitiesAsync(SearchEntitiesRequest request)
AWSIoTThingsGraphAsyncSearches for entities of the specified type. You can search for entities in your namespace and the public namespace that you're tracking.
searchEntitiesAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<SearchEntitiesResult> searchEntitiesAsync(SearchEntitiesRequest request, AsyncHandler<SearchEntitiesRequest,SearchEntitiesResult> asyncHandler)
AWSIoTThingsGraphAsyncSearches for entities of the specified type. You can search for entities in your namespace and the public namespace that you're tracking.
searchEntitiesAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<SearchFlowExecutionsResult> searchFlowExecutionsAsync(SearchFlowExecutionsRequest request)
AWSIoTThingsGraphAsyncSearches for AWS IoT Things Graph workflow execution instances.
searchFlowExecutionsAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<SearchFlowExecutionsResult> searchFlowExecutionsAsync(SearchFlowExecutionsRequest request, AsyncHandler<SearchFlowExecutionsRequest,SearchFlowExecutionsResult> asyncHandler)
AWSIoTThingsGraphAsyncSearches for AWS IoT Things Graph workflow execution instances.
searchFlowExecutionsAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<SearchFlowTemplatesResult> searchFlowTemplatesAsync(SearchFlowTemplatesRequest request)
AWSIoTThingsGraphAsyncSearches for summary information about workflows.
searchFlowTemplatesAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<SearchFlowTemplatesResult> searchFlowTemplatesAsync(SearchFlowTemplatesRequest request, AsyncHandler<SearchFlowTemplatesRequest,SearchFlowTemplatesResult> asyncHandler)
AWSIoTThingsGraphAsyncSearches for summary information about workflows.
searchFlowTemplatesAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<SearchSystemInstancesResult> searchSystemInstancesAsync(SearchSystemInstancesRequest request)
AWSIoTThingsGraphAsyncSearches for system instances in the user's account.
searchSystemInstancesAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<SearchSystemInstancesResult> searchSystemInstancesAsync(SearchSystemInstancesRequest request, AsyncHandler<SearchSystemInstancesRequest,SearchSystemInstancesResult> asyncHandler)
AWSIoTThingsGraphAsyncSearches for system instances in the user's account.
searchSystemInstancesAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<SearchSystemTemplatesResult> searchSystemTemplatesAsync(SearchSystemTemplatesRequest request)
AWSIoTThingsGraphAsyncSearches for summary information about systems in the user's account. You can filter by the ID of a workflow to return only systems that use the specified workflow.
searchSystemTemplatesAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<SearchSystemTemplatesResult> searchSystemTemplatesAsync(SearchSystemTemplatesRequest request, AsyncHandler<SearchSystemTemplatesRequest,SearchSystemTemplatesResult> asyncHandler)
AWSIoTThingsGraphAsyncSearches for summary information about systems in the user's account. You can filter by the ID of a workflow to return only systems that use the specified workflow.
searchSystemTemplatesAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<SearchThingsResult> searchThingsAsync(SearchThingsRequest request)
AWSIoTThingsGraphAsyncSearches for things associated with the specified entity. You can search by both device and device model.
For example, if two different devices, camera1 and camera2, implement the camera device model, the user can
associate thing1 to camera1 and thing2 to camera2. SearchThings(camera2) will return only thing2,
but SearchThings(camera) will return both thing1 and thing2.
This action searches for exact matches and doesn't perform partial text matching.
searchThingsAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<SearchThingsResult> searchThingsAsync(SearchThingsRequest request, AsyncHandler<SearchThingsRequest,SearchThingsResult> asyncHandler)
AWSIoTThingsGraphAsyncSearches for things associated with the specified entity. You can search by both device and device model.
For example, if two different devices, camera1 and camera2, implement the camera device model, the user can
associate thing1 to camera1 and thing2 to camera2. SearchThings(camera2) will return only thing2,
but SearchThings(camera) will return both thing1 and thing2.
This action searches for exact matches and doesn't perform partial text matching.
searchThingsAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSIoTThingsGraphAsyncCreates a tag for the specified resource.
tagResourceAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSIoTThingsGraphAsyncCreates a tag for the specified resource.
tagResourceAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<UndeploySystemInstanceResult> undeploySystemInstanceAsync(UndeploySystemInstanceRequest request)
AWSIoTThingsGraphAsyncRemoves a system instance from its target (Cloud or Greengrass).
undeploySystemInstanceAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<UndeploySystemInstanceResult> undeploySystemInstanceAsync(UndeploySystemInstanceRequest request, AsyncHandler<UndeploySystemInstanceRequest,UndeploySystemInstanceResult> asyncHandler)
AWSIoTThingsGraphAsyncRemoves a system instance from its target (Cloud or Greengrass).
undeploySystemInstanceAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSIoTThingsGraphAsyncRemoves a tag from the specified resource.
untagResourceAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSIoTThingsGraphAsyncRemoves a tag from the specified resource.
untagResourceAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<UpdateFlowTemplateResult> updateFlowTemplateAsync(UpdateFlowTemplateRequest request)
AWSIoTThingsGraphAsyncUpdates the specified workflow. All deployed systems and system instances that use the workflow will see the changes in the flow when it is redeployed. If you don't want this behavior, copy the workflow (creating a new workflow with a different ID), and update the copy. The workflow can contain only entities in the specified namespace.
updateFlowTemplateAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<UpdateFlowTemplateResult> updateFlowTemplateAsync(UpdateFlowTemplateRequest request, AsyncHandler<UpdateFlowTemplateRequest,UpdateFlowTemplateResult> asyncHandler)
AWSIoTThingsGraphAsyncUpdates the specified workflow. All deployed systems and system instances that use the workflow will see the changes in the flow when it is redeployed. If you don't want this behavior, copy the workflow (creating a new workflow with a different ID), and update the copy. The workflow can contain only entities in the specified namespace.
updateFlowTemplateAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<UpdateSystemTemplateResult> updateSystemTemplateAsync(UpdateSystemTemplateRequest request)
AWSIoTThingsGraphAsyncUpdates the specified system. You don't need to run this action after updating a workflow. Any deployment that uses the system will see the changes in the system when it is redeployed.
updateSystemTemplateAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<UpdateSystemTemplateResult> updateSystemTemplateAsync(UpdateSystemTemplateRequest request, AsyncHandler<UpdateSystemTemplateRequest,UpdateSystemTemplateResult> asyncHandler)
AWSIoTThingsGraphAsyncUpdates the specified system. You don't need to run this action after updating a workflow. Any deployment that uses the system will see the changes in the system when it is redeployed.
updateSystemTemplateAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<UploadEntityDefinitionsResult> uploadEntityDefinitionsAsync(UploadEntityDefinitionsRequest request)
AWSIoTThingsGraphAsync
Asynchronously uploads one or more entity definitions to the user's namespace. The document
parameter is required if syncWithPublicNamespace and deleteExistingEntites are false.
If the syncWithPublicNamespace parameter is set to true, the user's namespace will
synchronize with the latest version of the public namespace. If deprecateExistingEntities is set to
true, all entities in the latest version will be deleted before the new DefinitionDocument is
uploaded.
When a user uploads entity definitions for the first time, the service creates a new namespace for the user. The
new namespace tracks the public namespace. Currently users can have only one namespace. The namespace version
increments whenever a user uploads entity definitions that are backwards-incompatible and whenever a user sets
the syncWithPublicNamespace parameter or the deprecateExistingEntities parameter to
true.
The IDs for all of the entities should be in URN format. Each entity must be in the user's namespace. Users can't create entities in the public namespace, but entity definitions can refer to entities in the public namespace.
Valid entities are Device, DeviceModel, Service, Capability,
State, Action, Event, Property, Mapping,
Enum.
uploadEntityDefinitionsAsync in interface AWSIoTThingsGraphAsync@Deprecated public Future<UploadEntityDefinitionsResult> uploadEntityDefinitionsAsync(UploadEntityDefinitionsRequest request, AsyncHandler<UploadEntityDefinitionsRequest,UploadEntityDefinitionsResult> asyncHandler)
AWSIoTThingsGraphAsync
Asynchronously uploads one or more entity definitions to the user's namespace. The document
parameter is required if syncWithPublicNamespace and deleteExistingEntites are false.
If the syncWithPublicNamespace parameter is set to true, the user's namespace will
synchronize with the latest version of the public namespace. If deprecateExistingEntities is set to
true, all entities in the latest version will be deleted before the new DefinitionDocument is
uploaded.
When a user uploads entity definitions for the first time, the service creates a new namespace for the user. The
new namespace tracks the public namespace. Currently users can have only one namespace. The namespace version
increments whenever a user uploads entity definitions that are backwards-incompatible and whenever a user sets
the syncWithPublicNamespace parameter or the deprecateExistingEntities parameter to
true.
The IDs for all of the entities should be in URN format. Each entity must be in the user's namespace. Users can't create entities in the public namespace, but entity definitions can refer to entities in the public namespace.
Valid entities are Device, DeviceModel, Service, Capability,
State, Action, Event, Property, Mapping,
Enum.
uploadEntityDefinitionsAsync in interface AWSIoTThingsGraphAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSIoTThingsGraphshutdown in class AWSIoTThingsGraphClient