@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIoT1ClickProjectsAsyncClient extends AWSIoT1ClickProjectsClient implements AWSIoT1ClickProjectsAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
The AWS IoT 1-Click Projects API Reference
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXassociateDeviceWithPlacement, builder, createPlacement, createProject, deletePlacement, deleteProject, describePlacement, describeProject, disassociateDeviceFromPlacement, getCachedResponseMetadata, getDevicesInPlacement, listPlacements, listProjects, listTagsForResource, tagResource, untagResource, updatePlacement, updateProjectaddRequestHandler, 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, waitassociateDeviceWithPlacement, createPlacement, createProject, deletePlacement, deleteProject, describePlacement, describeProject, disassociateDeviceFromPlacement, getCachedResponseMetadata, getDevicesInPlacement, listPlacements, listProjects, listTagsForResource, tagResource, untagResource, updatePlacement, updateProjectpublic static AWSIoT1ClickProjectsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateDeviceWithPlacementResult> associateDeviceWithPlacementAsync(AssociateDeviceWithPlacementRequest request)
AWSIoT1ClickProjectsAsyncAssociates a physical device with a placement.
associateDeviceWithPlacementAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<AssociateDeviceWithPlacementResult> associateDeviceWithPlacementAsync(AssociateDeviceWithPlacementRequest request, AsyncHandler<AssociateDeviceWithPlacementRequest,AssociateDeviceWithPlacementResult> asyncHandler)
AWSIoT1ClickProjectsAsyncAssociates a physical device with a placement.
associateDeviceWithPlacementAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<CreatePlacementResult> createPlacementAsync(CreatePlacementRequest request)
AWSIoT1ClickProjectsAsyncCreates an empty placement.
createPlacementAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<CreatePlacementResult> createPlacementAsync(CreatePlacementRequest request, AsyncHandler<CreatePlacementRequest,CreatePlacementResult> asyncHandler)
AWSIoT1ClickProjectsAsyncCreates an empty placement.
createPlacementAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request)
AWSIoT1ClickProjectsAsyncCreates an empty project with a placement template. A project contains zero or more placements that adhere to the placement template defined in the project.
createProjectAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
AWSIoT1ClickProjectsAsyncCreates an empty project with a placement template. A project contains zero or more placements that adhere to the placement template defined in the project.
createProjectAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<DeletePlacementResult> deletePlacementAsync(DeletePlacementRequest request)
AWSIoT1ClickProjectsAsyncDeletes a placement. To delete a placement, it must not have any devices associated with it.
When you delete a placement, all associated data becomes irretrievable.
deletePlacementAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<DeletePlacementResult> deletePlacementAsync(DeletePlacementRequest request, AsyncHandler<DeletePlacementRequest,DeletePlacementResult> asyncHandler)
AWSIoT1ClickProjectsAsyncDeletes a placement. To delete a placement, it must not have any devices associated with it.
When you delete a placement, all associated data becomes irretrievable.
deletePlacementAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request)
AWSIoT1ClickProjectsAsyncDeletes a project. To delete a project, it must not have any placements associated with it.
When you delete a project, all associated data becomes irretrievable.
deleteProjectAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
AWSIoT1ClickProjectsAsyncDeletes a project. To delete a project, it must not have any placements associated with it.
When you delete a project, all associated data becomes irretrievable.
deleteProjectAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<DescribePlacementResult> describePlacementAsync(DescribePlacementRequest request)
AWSIoT1ClickProjectsAsyncDescribes a placement in a project.
describePlacementAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<DescribePlacementResult> describePlacementAsync(DescribePlacementRequest request, AsyncHandler<DescribePlacementRequest,DescribePlacementResult> asyncHandler)
AWSIoT1ClickProjectsAsyncDescribes a placement in a project.
describePlacementAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<DescribeProjectResult> describeProjectAsync(DescribeProjectRequest request)
AWSIoT1ClickProjectsAsyncReturns an object describing a project.
describeProjectAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<DescribeProjectResult> describeProjectAsync(DescribeProjectRequest request, AsyncHandler<DescribeProjectRequest,DescribeProjectResult> asyncHandler)
AWSIoT1ClickProjectsAsyncReturns an object describing a project.
describeProjectAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<DisassociateDeviceFromPlacementResult> disassociateDeviceFromPlacementAsync(DisassociateDeviceFromPlacementRequest request)
AWSIoT1ClickProjectsAsyncRemoves a physical device from a placement.
disassociateDeviceFromPlacementAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<DisassociateDeviceFromPlacementResult> disassociateDeviceFromPlacementAsync(DisassociateDeviceFromPlacementRequest request, AsyncHandler<DisassociateDeviceFromPlacementRequest,DisassociateDeviceFromPlacementResult> asyncHandler)
AWSIoT1ClickProjectsAsyncRemoves a physical device from a placement.
disassociateDeviceFromPlacementAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<GetDevicesInPlacementResult> getDevicesInPlacementAsync(GetDevicesInPlacementRequest request)
AWSIoT1ClickProjectsAsyncReturns an object enumerating the devices in a placement.
getDevicesInPlacementAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<GetDevicesInPlacementResult> getDevicesInPlacementAsync(GetDevicesInPlacementRequest request, AsyncHandler<GetDevicesInPlacementRequest,GetDevicesInPlacementResult> asyncHandler)
AWSIoT1ClickProjectsAsyncReturns an object enumerating the devices in a placement.
getDevicesInPlacementAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<ListPlacementsResult> listPlacementsAsync(ListPlacementsRequest request)
AWSIoT1ClickProjectsAsyncLists the placement(s) of a project.
listPlacementsAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<ListPlacementsResult> listPlacementsAsync(ListPlacementsRequest request, AsyncHandler<ListPlacementsRequest,ListPlacementsResult> asyncHandler)
AWSIoT1ClickProjectsAsyncLists the placement(s) of a project.
listPlacementsAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request)
AWSIoT1ClickProjectsAsyncLists the AWS IoT 1-Click project(s) associated with your AWS account and region.
listProjectsAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
AWSIoT1ClickProjectsAsyncLists the AWS IoT 1-Click project(s) associated with your AWS account and region.
listProjectsAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSIoT1ClickProjectsAsyncLists the tags (metadata key/value pairs) which you have assigned to the resource.
listTagsForResourceAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSIoT1ClickProjectsAsyncLists the tags (metadata key/value pairs) which you have assigned to the resource.
listTagsForResourceAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSIoT1ClickProjectsAsyncCreates or modifies tags for a resource. Tags are key/value pairs (metadata) that can be used to manage a resource. For more information, see AWS Tagging Strategies.
tagResourceAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSIoT1ClickProjectsAsyncCreates or modifies tags for a resource. Tags are key/value pairs (metadata) that can be used to manage a resource. For more information, see AWS Tagging Strategies.
tagResourceAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSIoT1ClickProjectsAsyncRemoves one or more tags (metadata key/value pairs) from a resource.
untagResourceAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSIoT1ClickProjectsAsyncRemoves one or more tags (metadata key/value pairs) from a resource.
untagResourceAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<UpdatePlacementResult> updatePlacementAsync(UpdatePlacementRequest request)
AWSIoT1ClickProjectsAsyncUpdates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., "").
updatePlacementAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<UpdatePlacementResult> updatePlacementAsync(UpdatePlacementRequest request, AsyncHandler<UpdatePlacementRequest,UpdatePlacementResult> asyncHandler)
AWSIoT1ClickProjectsAsyncUpdates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., "").
updatePlacementAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request)
AWSIoT1ClickProjectsAsync
Updates a project associated with your AWS account and region. With the exception of device template names, you
can pass just the values that need to be updated because the update request will change only the values that are
provided. To clear a value, pass the empty string (i.e., "").
updateProjectAsync in interface AWSIoT1ClickProjectsAsyncpublic Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
AWSIoT1ClickProjectsAsync
Updates a project associated with your AWS account and region. With the exception of device template names, you
can pass just the values that need to be updated because the update request will change only the values that are
provided. To clear a value, pass the empty string (i.e., "").
updateProjectAsync in interface AWSIoT1ClickProjectsAsyncasyncHandler - 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 AWSIoT1ClickProjectsshutdown in class AWSIoT1ClickProjectsClient