@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIoT1ClickProjectsClient extends AmazonWebServiceClient implements AWSIoT1ClickProjects
The AWS IoT 1-Click Project API Reference
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AWSIoT1ClickProjectsClientBuilder builder()
public AssociateDeviceWithPlacementResult associateDeviceWithPlacement(AssociateDeviceWithPlacementRequest request)
Associates a physical device with a placement.
associateDeviceWithPlacement
in interface AWSIoT1ClickProjects
associateDeviceWithPlacementRequest
- InternalFailureException
InvalidRequestException
ResourceConflictException
ResourceNotFoundException
public CreatePlacementResult createPlacement(CreatePlacementRequest request)
Creates an empty placement.
createPlacement
in interface AWSIoT1ClickProjects
createPlacementRequest
- InternalFailureException
InvalidRequestException
ResourceConflictException
ResourceNotFoundException
public CreateProjectResult createProject(CreateProjectRequest request)
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.
createProject
in interface AWSIoT1ClickProjects
createProjectRequest
- InternalFailureException
InvalidRequestException
ResourceConflictException
public DeletePlacementResult deletePlacement(DeletePlacementRequest request)
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.
deletePlacement
in interface AWSIoT1ClickProjects
deletePlacementRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
public DeleteProjectResult deleteProject(DeleteProjectRequest request)
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.
deleteProject
in interface AWSIoT1ClickProjects
deleteProjectRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
public DescribePlacementResult describePlacement(DescribePlacementRequest request)
Describes a placement in a project.
describePlacement
in interface AWSIoT1ClickProjects
describePlacementRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
public DescribeProjectResult describeProject(DescribeProjectRequest request)
Returns an object describing a project.
describeProject
in interface AWSIoT1ClickProjects
describeProjectRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
public DisassociateDeviceFromPlacementResult disassociateDeviceFromPlacement(DisassociateDeviceFromPlacementRequest request)
Removes a physical device from a placement.
disassociateDeviceFromPlacement
in interface AWSIoT1ClickProjects
disassociateDeviceFromPlacementRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
public GetDevicesInPlacementResult getDevicesInPlacement(GetDevicesInPlacementRequest request)
Returns an object enumerating the devices in a placement.
getDevicesInPlacement
in interface AWSIoT1ClickProjects
getDevicesInPlacementRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
public ListPlacementsResult listPlacements(ListPlacementsRequest request)
Lists the placement(s) of a project.
listPlacements
in interface AWSIoT1ClickProjects
listPlacementsRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
public ListProjectsResult listProjects(ListProjectsRequest request)
Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.
listProjects
in interface AWSIoT1ClickProjects
listProjectsRequest
- InternalFailureException
InvalidRequestException
public UpdatePlacementResult updatePlacement(UpdatePlacementRequest request)
Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., "").
updatePlacement
in interface AWSIoT1ClickProjects
updatePlacementRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
public UpdateProjectResult updateProject(UpdateProjectRequest request)
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., ""
).
updateProject
in interface AWSIoT1ClickProjects
updateProjectRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSIoT1ClickProjects
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.