@Generated(value="software.amazon.awssdk:codegen") public interface Iot1ClickProjectsClient extends SdkClient
builder()
method.
The AWS IoT 1-Click Project API Reference
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default AssociateDeviceWithPlacementResponse |
associateDeviceWithPlacement(AssociateDeviceWithPlacementRequest associateDeviceWithPlacementRequest)
Associates a physical device with a placement.
|
default AssociateDeviceWithPlacementResponse |
associateDeviceWithPlacement(Consumer<AssociateDeviceWithPlacementRequest.Builder> associateDeviceWithPlacementRequest)
Associates a physical device with a placement.
|
static Iot1ClickProjectsClientBuilder |
builder()
Create a builder that can be used to configure and create a
Iot1ClickProjectsClient . |
static Iot1ClickProjectsClient |
create()
Create a
Iot1ClickProjectsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreatePlacementResponse |
createPlacement(Consumer<CreatePlacementRequest.Builder> createPlacementRequest)
Creates an empty placement.
|
default CreatePlacementResponse |
createPlacement(CreatePlacementRequest createPlacementRequest)
Creates an empty placement.
|
default CreateProjectResponse |
createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Creates an empty project with a placement template.
|
default CreateProjectResponse |
createProject(CreateProjectRequest createProjectRequest)
Creates an empty project with a placement template.
|
default DeletePlacementResponse |
deletePlacement(Consumer<DeletePlacementRequest.Builder> deletePlacementRequest)
Deletes a placement.
|
default DeletePlacementResponse |
deletePlacement(DeletePlacementRequest deletePlacementRequest)
Deletes a placement.
|
default DeleteProjectResponse |
deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)
Deletes a project.
|
default DeleteProjectResponse |
deleteProject(DeleteProjectRequest deleteProjectRequest)
Deletes a project.
|
default DescribePlacementResponse |
describePlacement(Consumer<DescribePlacementRequest.Builder> describePlacementRequest)
Describes a placement in a project.
|
default DescribePlacementResponse |
describePlacement(DescribePlacementRequest describePlacementRequest)
Describes a placement in a project.
|
default DescribeProjectResponse |
describeProject(Consumer<DescribeProjectRequest.Builder> describeProjectRequest)
Returns an object describing a project.
|
default DescribeProjectResponse |
describeProject(DescribeProjectRequest describeProjectRequest)
Returns an object describing a project.
|
default DisassociateDeviceFromPlacementResponse |
disassociateDeviceFromPlacement(Consumer<DisassociateDeviceFromPlacementRequest.Builder> disassociateDeviceFromPlacementRequest)
Removes a physical device from a placement.
|
default DisassociateDeviceFromPlacementResponse |
disassociateDeviceFromPlacement(DisassociateDeviceFromPlacementRequest disassociateDeviceFromPlacementRequest)
Removes a physical device from a placement.
|
default GetDevicesInPlacementResponse |
getDevicesInPlacement(Consumer<GetDevicesInPlacementRequest.Builder> getDevicesInPlacementRequest)
Returns an object enumerating the devices in a placement.
|
default GetDevicesInPlacementResponse |
getDevicesInPlacement(GetDevicesInPlacementRequest getDevicesInPlacementRequest)
Returns an object enumerating the devices in a placement.
|
default ListPlacementsResponse |
listPlacements(Consumer<ListPlacementsRequest.Builder> listPlacementsRequest)
Lists the placement(s) of a project.
|
default ListPlacementsResponse |
listPlacements(ListPlacementsRequest listPlacementsRequest)
Lists the placement(s) of a project.
|
default ListProjectsResponse |
listProjects()
Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.
|
default ListProjectsResponse |
listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.
|
default ListProjectsResponse |
listProjects(ListProjectsRequest listProjectsRequest)
Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.
|
static ServiceMetadata |
serviceMetadata() |
default UpdatePlacementResponse |
updatePlacement(Consumer<UpdatePlacementRequest.Builder> updatePlacementRequest)
Updates a placement with the given attributes.
|
default UpdatePlacementResponse |
updatePlacement(UpdatePlacementRequest updatePlacementRequest)
Updates a placement with the given attributes.
|
default UpdateProjectResponse |
updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)
Updates a project associated with your AWS account and region.
|
default UpdateProjectResponse |
updateProject(UpdateProjectRequest updateProjectRequest)
Updates a project associated with your AWS account and region.
|
serviceName
close
static final String SERVICE_NAME
static Iot1ClickProjectsClient create()
Iot1ClickProjectsClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static Iot1ClickProjectsClientBuilder builder()
Iot1ClickProjectsClient
.default AssociateDeviceWithPlacementResponse associateDeviceWithPlacement(AssociateDeviceWithPlacementRequest associateDeviceWithPlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Associates a physical device with a placement.
associateDeviceWithPlacementRequest
- InternalFailureException
InvalidRequestException
ResourceConflictException
ResourceNotFoundException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default AssociateDeviceWithPlacementResponse associateDeviceWithPlacement(Consumer<AssociateDeviceWithPlacementRequest.Builder> associateDeviceWithPlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Associates a physical device with a placement.
This is a convenience which creates an instance of the AssociateDeviceWithPlacementRequest.Builder
avoiding the need to create one manually via AssociateDeviceWithPlacementRequest.builder()
associateDeviceWithPlacementRequest
- A Consumer
that will call methods on AssociateDeviceWithPlacementRequest.Builder
to create
a request.InternalFailureException
InvalidRequestException
ResourceConflictException
ResourceNotFoundException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreatePlacementResponse createPlacement(CreatePlacementRequest createPlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Creates an empty placement.
createPlacementRequest
- InternalFailureException
InvalidRequestException
ResourceConflictException
ResourceNotFoundException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreatePlacementResponse createPlacement(Consumer<CreatePlacementRequest.Builder> createPlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Creates an empty placement.
This is a convenience which creates an instance of the CreatePlacementRequest.Builder
avoiding the need
to create one manually via CreatePlacementRequest.builder()
createPlacementRequest
- A Consumer
that will call methods on CreatePlacementRequest.Builder
to create a request.InternalFailureException
InvalidRequestException
ResourceConflictException
ResourceNotFoundException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateProjectResponse createProject(CreateProjectRequest createProjectRequest) throws InternalFailureException, InvalidRequestException, ResourceConflictException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
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
- InternalFailureException
InvalidRequestException
ResourceConflictException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateProjectResponse createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) throws InternalFailureException, InvalidRequestException, ResourceConflictException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
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.
This is a convenience which creates an instance of the CreateProjectRequest.Builder
avoiding the need to
create one manually via CreateProjectRequest.builder()
createProjectRequest
- A Consumer
that will call methods on CreateProjectRequest.Builder
to create a request.InternalFailureException
InvalidRequestException
ResourceConflictException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeletePlacementResponse deletePlacement(DeletePlacementRequest deletePlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
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
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeletePlacementResponse deletePlacement(Consumer<DeletePlacementRequest.Builder> deletePlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
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.
This is a convenience which creates an instance of the DeletePlacementRequest.Builder
avoiding the need
to create one manually via DeletePlacementRequest.builder()
deletePlacementRequest
- A Consumer
that will call methods on DeletePlacementRequest.Builder
to create a request.InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteProjectResponse deleteProject(DeleteProjectRequest deleteProjectRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
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
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteProjectResponse deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
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.
This is a convenience which creates an instance of the DeleteProjectRequest.Builder
avoiding the need to
create one manually via DeleteProjectRequest.builder()
deleteProjectRequest
- A Consumer
that will call methods on DeleteProjectRequest.Builder
to create a request.InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribePlacementResponse describePlacement(DescribePlacementRequest describePlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Describes a placement in a project.
describePlacementRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribePlacementResponse describePlacement(Consumer<DescribePlacementRequest.Builder> describePlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Describes a placement in a project.
This is a convenience which creates an instance of the DescribePlacementRequest.Builder
avoiding the need
to create one manually via DescribePlacementRequest.builder()
describePlacementRequest
- A Consumer
that will call methods on DescribePlacementRequest.Builder
to create a request.InternalFailureException
InvalidRequestException
ResourceNotFoundException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeProjectResponse describeProject(DescribeProjectRequest describeProjectRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Returns an object describing a project.
describeProjectRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeProjectResponse describeProject(Consumer<DescribeProjectRequest.Builder> describeProjectRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Returns an object describing a project.
This is a convenience which creates an instance of the DescribeProjectRequest.Builder
avoiding the need
to create one manually via DescribeProjectRequest.builder()
describeProjectRequest
- A Consumer
that will call methods on DescribeProjectRequest.Builder
to create a request.InternalFailureException
InvalidRequestException
ResourceNotFoundException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DisassociateDeviceFromPlacementResponse disassociateDeviceFromPlacement(DisassociateDeviceFromPlacementRequest disassociateDeviceFromPlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Removes a physical device from a placement.
disassociateDeviceFromPlacementRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DisassociateDeviceFromPlacementResponse disassociateDeviceFromPlacement(Consumer<DisassociateDeviceFromPlacementRequest.Builder> disassociateDeviceFromPlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Removes a physical device from a placement.
This is a convenience which creates an instance of the DisassociateDeviceFromPlacementRequest.Builder
avoiding the need to create one manually via DisassociateDeviceFromPlacementRequest.builder()
disassociateDeviceFromPlacementRequest
- A Consumer
that will call methods on DisassociateDeviceFromPlacementRequest.Builder
to
create a request.InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDevicesInPlacementResponse getDevicesInPlacement(GetDevicesInPlacementRequest getDevicesInPlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Returns an object enumerating the devices in a placement.
getDevicesInPlacementRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDevicesInPlacementResponse getDevicesInPlacement(Consumer<GetDevicesInPlacementRequest.Builder> getDevicesInPlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Returns an object enumerating the devices in a placement.
This is a convenience which creates an instance of the GetDevicesInPlacementRequest.Builder
avoiding the
need to create one manually via GetDevicesInPlacementRequest.builder()
getDevicesInPlacementRequest
- A Consumer
that will call methods on GetDevicesInPlacementRequest.Builder
to create a
request.InternalFailureException
InvalidRequestException
ResourceNotFoundException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPlacementsResponse listPlacements(ListPlacementsRequest listPlacementsRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Lists the placement(s) of a project.
listPlacementsRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPlacementsResponse listPlacements(Consumer<ListPlacementsRequest.Builder> listPlacementsRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Lists the placement(s) of a project.
This is a convenience which creates an instance of the ListPlacementsRequest.Builder
avoiding the need to
create one manually via ListPlacementsRequest.builder()
listPlacementsRequest
- A Consumer
that will call methods on ListPlacementsRequest.Builder
to create a request.InternalFailureException
InvalidRequestException
ResourceNotFoundException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListProjectsResponse listProjects() throws InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.
InternalFailureException
InvalidRequestException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listProjects(ListProjectsRequest)
,
AWS API Documentationdefault ListProjectsResponse listProjects(ListProjectsRequest listProjectsRequest) throws InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.
listProjectsRequest
- InternalFailureException
InvalidRequestException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListProjectsResponse listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.
This is a convenience which creates an instance of the ListProjectsRequest.Builder
avoiding the need to
create one manually via ListProjectsRequest.builder()
listProjectsRequest
- A Consumer
that will call methods on ListProjectsRequest.Builder
to create a request.InternalFailureException
InvalidRequestException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdatePlacementResponse updatePlacement(UpdatePlacementRequest updatePlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., "").
updatePlacementRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdatePlacementResponse updatePlacement(Consumer<UpdatePlacementRequest.Builder> updatePlacementRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., "").
This is a convenience which creates an instance of the UpdatePlacementRequest.Builder
avoiding the need
to create one manually via UpdatePlacementRequest.builder()
updatePlacementRequest
- A Consumer
that will call methods on UpdatePlacementRequest.Builder
to create a request.InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateProjectResponse updateProject(UpdateProjectRequest updateProjectRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
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
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateProjectResponse updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, Iot1ClickProjectsException
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., ""
).
This is a convenience which creates an instance of the UpdateProjectRequest.Builder
avoiding the need to
create one manually via UpdateProjectRequest.builder()
updateProjectRequest
- A Consumer
that will call methods on UpdateProjectRequest.Builder
to create a request.InternalFailureException
InvalidRequestException
ResourceNotFoundException
TooManyRequestsException
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Iot1ClickProjectsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.