@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSIoT1ClickProjectsAsync extends AWSIoT1ClickProjects
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSIoT1ClickProjectsAsync
instead.
The AWS IoT 1-Click Projects API Reference
ENDPOINT_PREFIX
associateDeviceWithPlacement, createPlacement, createProject, deletePlacement, deleteProject, describePlacement, describeProject, disassociateDeviceFromPlacement, getCachedResponseMetadata, getDevicesInPlacement, listPlacements, listProjects, listTagsForResource, shutdown, tagResource, untagResource, updatePlacement, updateProject
Future<AssociateDeviceWithPlacementResult> associateDeviceWithPlacementAsync(AssociateDeviceWithPlacementRequest associateDeviceWithPlacementRequest)
Associates a physical device with a placement.
associateDeviceWithPlacementRequest
- Future<AssociateDeviceWithPlacementResult> associateDeviceWithPlacementAsync(AssociateDeviceWithPlacementRequest associateDeviceWithPlacementRequest, AsyncHandler<AssociateDeviceWithPlacementRequest,AssociateDeviceWithPlacementResult> asyncHandler)
Associates a physical device with a placement.
associateDeviceWithPlacementRequest
- asyncHandler
- 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.Future<CreatePlacementResult> createPlacementAsync(CreatePlacementRequest createPlacementRequest)
Creates an empty placement.
createPlacementRequest
- Future<CreatePlacementResult> createPlacementAsync(CreatePlacementRequest createPlacementRequest, AsyncHandler<CreatePlacementRequest,CreatePlacementResult> asyncHandler)
Creates an empty placement.
createPlacementRequest
- asyncHandler
- 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.Future<CreateProjectResult> createProjectAsync(CreateProjectRequest createProjectRequest)
Creates an empty project with a placement template. A project contains zero or more placements that adhere to the placement template defined in the project.
createProjectRequest
- Future<CreateProjectResult> createProjectAsync(CreateProjectRequest createProjectRequest, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
Creates an empty project with a placement template. A project contains zero or more placements that adhere to the placement template defined in the project.
createProjectRequest
- asyncHandler
- 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.Future<DeletePlacementResult> deletePlacementAsync(DeletePlacementRequest deletePlacementRequest)
Deletes 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.
deletePlacementRequest
- Future<DeletePlacementResult> deletePlacementAsync(DeletePlacementRequest deletePlacementRequest, AsyncHandler<DeletePlacementRequest,DeletePlacementResult> asyncHandler)
Deletes 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.
deletePlacementRequest
- asyncHandler
- 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.Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest deleteProjectRequest)
Deletes 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.
deleteProjectRequest
- Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest deleteProjectRequest, AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
Deletes 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.
deleteProjectRequest
- asyncHandler
- 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.Future<DescribePlacementResult> describePlacementAsync(DescribePlacementRequest describePlacementRequest)
Describes a placement in a project.
describePlacementRequest
- Future<DescribePlacementResult> describePlacementAsync(DescribePlacementRequest describePlacementRequest, AsyncHandler<DescribePlacementRequest,DescribePlacementResult> asyncHandler)
Describes a placement in a project.
describePlacementRequest
- asyncHandler
- 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.Future<DescribeProjectResult> describeProjectAsync(DescribeProjectRequest describeProjectRequest)
Returns an object describing a project.
describeProjectRequest
- Future<DescribeProjectResult> describeProjectAsync(DescribeProjectRequest describeProjectRequest, AsyncHandler<DescribeProjectRequest,DescribeProjectResult> asyncHandler)
Returns an object describing a project.
describeProjectRequest
- asyncHandler
- 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.Future<DisassociateDeviceFromPlacementResult> disassociateDeviceFromPlacementAsync(DisassociateDeviceFromPlacementRequest disassociateDeviceFromPlacementRequest)
Removes a physical device from a placement.
disassociateDeviceFromPlacementRequest
- Future<DisassociateDeviceFromPlacementResult> disassociateDeviceFromPlacementAsync(DisassociateDeviceFromPlacementRequest disassociateDeviceFromPlacementRequest, AsyncHandler<DisassociateDeviceFromPlacementRequest,DisassociateDeviceFromPlacementResult> asyncHandler)
Removes a physical device from a placement.
disassociateDeviceFromPlacementRequest
- asyncHandler
- 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.Future<GetDevicesInPlacementResult> getDevicesInPlacementAsync(GetDevicesInPlacementRequest getDevicesInPlacementRequest)
Returns an object enumerating the devices in a placement.
getDevicesInPlacementRequest
- Future<GetDevicesInPlacementResult> getDevicesInPlacementAsync(GetDevicesInPlacementRequest getDevicesInPlacementRequest, AsyncHandler<GetDevicesInPlacementRequest,GetDevicesInPlacementResult> asyncHandler)
Returns an object enumerating the devices in a placement.
getDevicesInPlacementRequest
- asyncHandler
- 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.Future<ListPlacementsResult> listPlacementsAsync(ListPlacementsRequest listPlacementsRequest)
Lists the placement(s) of a project.
listPlacementsRequest
- Future<ListPlacementsResult> listPlacementsAsync(ListPlacementsRequest listPlacementsRequest, AsyncHandler<ListPlacementsRequest,ListPlacementsResult> asyncHandler)
Lists the placement(s) of a project.
listPlacementsRequest
- asyncHandler
- 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.Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest listProjectsRequest)
Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.
listProjectsRequest
- Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest listProjectsRequest, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.
listProjectsRequest
- asyncHandler
- 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.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags (metadata key/value pairs) which you have assigned to the resource.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags (metadata key/value pairs) which you have assigned to the resource.
listTagsForResourceRequest
- asyncHandler
- 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.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Creates 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.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Creates 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.
tagResourceRequest
- asyncHandler
- 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.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Removes one or more tags (metadata key/value pairs) from a resource.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes one or more tags (metadata key/value pairs) from a resource.
untagResourceRequest
- asyncHandler
- 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.Future<UpdatePlacementResult> updatePlacementAsync(UpdatePlacementRequest updatePlacementRequest)
Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., "").
updatePlacementRequest
- Future<UpdatePlacementResult> updatePlacementAsync(UpdatePlacementRequest updatePlacementRequest, AsyncHandler<UpdatePlacementRequest,UpdatePlacementResult> asyncHandler)
Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., "").
updatePlacementRequest
- asyncHandler
- 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.Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest updateProjectRequest)
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., ""
).
updateProjectRequest
- Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest updateProjectRequest, AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
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., ""
).
updateProjectRequest
- asyncHandler
- 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.