/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.iot1clickprojects; import javax.annotation.Generated; import com.amazonaws.services.iot1clickprojects.model.*; /** * Interface for accessing AWS IoT 1-Click Projects asynchronously. Each asynchronous method will return a Java Future * object representing the asynchronous operation; overloads which accept an {@code 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 * {@link com.amazonaws.services.iot1clickprojects.AbstractAWSIoT1ClickProjectsAsync} instead. *
**
* The AWS IoT 1-Click Projects API Reference *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSIoT1ClickProjectsAsync extends AWSIoT1ClickProjects { /** ** Associates a physical device with a placement. *
* * @param associateDeviceWithPlacementRequest * @return A Java Future containing the result of the AssociateDeviceWithPlacement operation returned by the * service. * @sample AWSIoT1ClickProjectsAsync.AssociateDeviceWithPlacement * @see AWS API Documentation */ java.util.concurrent.Future* Associates a physical device with a placement. *
* * @param associateDeviceWithPlacementRequest * @param 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. * @return A Java Future containing the result of the AssociateDeviceWithPlacement operation returned by the * service. * @sample AWSIoT1ClickProjectsAsyncHandler.AssociateDeviceWithPlacement * @see AWS API Documentation */ java.util.concurrent.Future* Creates an empty placement. *
* * @param createPlacementRequest * @return A Java Future containing the result of the CreatePlacement operation returned by the service. * @sample AWSIoT1ClickProjectsAsync.CreatePlacement * @see AWS API Documentation */ java.util.concurrent.Future* Creates an empty placement. *
* * @param createPlacementRequest * @param 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. * @return A Java Future containing the result of the CreatePlacement operation returned by the service. * @sample AWSIoT1ClickProjectsAsyncHandler.CreatePlacement * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param createProjectRequest * @return A Java Future containing the result of the CreateProject operation returned by the service. * @sample AWSIoT1ClickProjectsAsync.CreateProject * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param createProjectRequest * @param 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. * @return A Java Future containing the result of the CreateProject operation returned by the service. * @sample AWSIoT1ClickProjectsAsyncHandler.CreateProject * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
** 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. *
** 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. *
** 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. *
** Describes a placement in a project. *
* * @param describePlacementRequest * @return A Java Future containing the result of the DescribePlacement operation returned by the service. * @sample AWSIoT1ClickProjectsAsync.DescribePlacement * @see AWS API Documentation */ java.util.concurrent.Future* Describes a placement in a project. *
* * @param describePlacementRequest * @param 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. * @return A Java Future containing the result of the DescribePlacement operation returned by the service. * @sample AWSIoT1ClickProjectsAsyncHandler.DescribePlacement * @see AWS API Documentation */ java.util.concurrent.Future* Returns an object describing a project. *
* * @param describeProjectRequest * @return A Java Future containing the result of the DescribeProject operation returned by the service. * @sample AWSIoT1ClickProjectsAsync.DescribeProject * @see AWS API Documentation */ java.util.concurrent.Future* Returns an object describing a project. *
* * @param describeProjectRequest * @param 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. * @return A Java Future containing the result of the DescribeProject operation returned by the service. * @sample AWSIoT1ClickProjectsAsyncHandler.DescribeProject * @see AWS API Documentation */ java.util.concurrent.Future* Removes a physical device from a placement. *
* * @param disassociateDeviceFromPlacementRequest * @return A Java Future containing the result of the DisassociateDeviceFromPlacement operation returned by the * service. * @sample AWSIoT1ClickProjectsAsync.DisassociateDeviceFromPlacement * @see AWS API Documentation */ java.util.concurrent.Future* Removes a physical device from a placement. *
* * @param disassociateDeviceFromPlacementRequest * @param 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. * @return A Java Future containing the result of the DisassociateDeviceFromPlacement operation returned by the * service. * @sample AWSIoT1ClickProjectsAsyncHandler.DisassociateDeviceFromPlacement * @see AWS API Documentation */ java.util.concurrent.Future* Returns an object enumerating the devices in a placement. *
* * @param getDevicesInPlacementRequest * @return A Java Future containing the result of the GetDevicesInPlacement operation returned by the service. * @sample AWSIoT1ClickProjectsAsync.GetDevicesInPlacement * @see AWS API Documentation */ java.util.concurrent.Future* Returns an object enumerating the devices in a placement. *
* * @param getDevicesInPlacementRequest * @param 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. * @return A Java Future containing the result of the GetDevicesInPlacement operation returned by the service. * @sample AWSIoT1ClickProjectsAsyncHandler.GetDevicesInPlacement * @see AWS API Documentation */ java.util.concurrent.Future* Lists the placement(s) of a project. *
* * @param listPlacementsRequest * @return A Java Future containing the result of the ListPlacements operation returned by the service. * @sample AWSIoT1ClickProjectsAsync.ListPlacements * @see AWS API Documentation */ java.util.concurrent.Future* Lists the placement(s) of a project. *
* * @param listPlacementsRequest * @param 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. * @return A Java Future containing the result of the ListPlacements operation returned by the service. * @sample AWSIoT1ClickProjectsAsyncHandler.ListPlacements * @see AWS API Documentation */ java.util.concurrent.Future* Lists the AWS IoT 1-Click project(s) associated with your AWS account and region. *
* * @param listProjectsRequest * @return A Java Future containing the result of the ListProjects operation returned by the service. * @sample AWSIoT1ClickProjectsAsync.ListProjects * @see AWS API Documentation */ java.util.concurrent.Future* Lists the AWS IoT 1-Click project(s) associated with your AWS account and region. *
* * @param listProjectsRequest * @param 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. * @return A Java Future containing the result of the ListProjects operation returned by the service. * @sample AWSIoT1ClickProjectsAsyncHandler.ListProjects * @see AWS API Documentation */ java.util.concurrent.Future* Lists the tags (metadata key/value pairs) which you have assigned to the resource. *
* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSIoT1ClickProjectsAsync.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future* Lists the tags (metadata key/value pairs) which you have assigned to the resource. *
* * @param listTagsForResourceRequest * @param 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. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSIoT1ClickProjectsAsyncHandler.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSIoT1ClickProjectsAsync.TagResource * @see AWS * API Documentation */ java.util.concurrent.Future* 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. *
* * @param tagResourceRequest * @param 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. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSIoT1ClickProjectsAsyncHandler.TagResource * @see AWS * API Documentation */ java.util.concurrent.Future* Removes one or more tags (metadata key/value pairs) from a resource. *
* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSIoT1ClickProjectsAsync.UntagResource * @see AWS API Documentation */ java.util.concurrent.Future* Removes one or more tags (metadata key/value pairs) from a resource. *
* * @param untagResourceRequest * @param 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. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSIoT1ClickProjectsAsyncHandler.UntagResource * @see AWS API Documentation */ java.util.concurrent.Future* Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., ""). *
* * @param updatePlacementRequest * @return A Java Future containing the result of the UpdatePlacement operation returned by the service. * @sample AWSIoT1ClickProjectsAsync.UpdatePlacement * @see AWS API Documentation */ java.util.concurrent.Future* Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., ""). *
* * @param updatePlacementRequest * @param 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. * @return A Java Future containing the result of the UpdatePlacement operation returned by the service. * @sample AWSIoT1ClickProjectsAsyncHandler.UpdatePlacement * @see AWS API Documentation */ java.util.concurrent.Future
* 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., ""
).
*
* 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., ""
).
*