@Generated(value="software.amazon.awssdk:codegen") public interface Iot1ClickDevicesClient extends SdkClient
builder()
method.
Stub description
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static Iot1ClickDevicesClientBuilder |
builder()
Create a builder that can be used to configure and create a
Iot1ClickDevicesClient . |
default ClaimDevicesByClaimCodeResponse |
claimDevicesByClaimCode(ClaimDevicesByClaimCodeRequest claimDevicesByClaimCodeRequest)
Adds device(s) to your account (i.e., claim one or more devices) if and only if you received a claim code with
the device(s).
|
default ClaimDevicesByClaimCodeResponse |
claimDevicesByClaimCode(Consumer<ClaimDevicesByClaimCodeRequest.Builder> claimDevicesByClaimCodeRequest)
Adds device(s) to your account (i.e., claim one or more devices) if and only if you received a claim code with
the device(s).
|
static Iot1ClickDevicesClient |
create()
Create a
Iot1ClickDevicesClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default DescribeDeviceResponse |
describeDevice(Consumer<DescribeDeviceRequest.Builder> describeDeviceRequest)
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
|
default DescribeDeviceResponse |
describeDevice(DescribeDeviceRequest describeDeviceRequest)
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
|
default FinalizeDeviceClaimResponse |
finalizeDeviceClaim(Consumer<FinalizeDeviceClaimRequest.Builder> finalizeDeviceClaimRequest)
Given a device ID, finalizes the claim request for the associated device.
|
default FinalizeDeviceClaimResponse |
finalizeDeviceClaim(FinalizeDeviceClaimRequest finalizeDeviceClaimRequest)
Given a device ID, finalizes the claim request for the associated device.
|
default GetDeviceMethodsResponse |
getDeviceMethods(Consumer<GetDeviceMethodsRequest.Builder> getDeviceMethodsRequest)
Given a device ID, returns the invokable methods associated with the device.
|
default GetDeviceMethodsResponse |
getDeviceMethods(GetDeviceMethodsRequest getDeviceMethodsRequest)
Given a device ID, returns the invokable methods associated with the device.
|
default InitiateDeviceClaimResponse |
initiateDeviceClaim(Consumer<InitiateDeviceClaimRequest.Builder> initiateDeviceClaimRequest)
Given a device ID, initiates a claim request for the associated device.
|
default InitiateDeviceClaimResponse |
initiateDeviceClaim(InitiateDeviceClaimRequest initiateDeviceClaimRequest)
Given a device ID, initiates a claim request for the associated device.
|
default InvokeDeviceMethodResponse |
invokeDeviceMethod(Consumer<InvokeDeviceMethodRequest.Builder> invokeDeviceMethodRequest)
Given a device ID, issues a request to invoke a named device method (with possible parameters).
|
default InvokeDeviceMethodResponse |
invokeDeviceMethod(InvokeDeviceMethodRequest invokeDeviceMethodRequest)
Given a device ID, issues a request to invoke a named device method (with possible parameters).
|
default ListDeviceEventsResponse |
listDeviceEvents(Consumer<ListDeviceEventsRequest.Builder> listDeviceEventsRequest)
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
|
default ListDeviceEventsResponse |
listDeviceEvents(ListDeviceEventsRequest listDeviceEventsRequest)
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
|
default ListDevicesResponse |
listDevices(Consumer<ListDevicesRequest.Builder> listDevicesRequest)
Lists the 1-Click compatible devices associated with your AWS account.
|
default ListDevicesResponse |
listDevices(ListDevicesRequest listDevicesRequest)
Lists the 1-Click compatible devices associated with your AWS account.
|
static ServiceMetadata |
serviceMetadata() |
default UnclaimDeviceResponse |
unclaimDevice(Consumer<UnclaimDeviceRequest.Builder> unclaimDeviceRequest)
Disassociates a device from your AWS account using its device ID.
|
default UnclaimDeviceResponse |
unclaimDevice(UnclaimDeviceRequest unclaimDeviceRequest)
Disassociates a device from your AWS account using its device ID.
|
default UpdateDeviceStateResponse |
updateDeviceState(Consumer<UpdateDeviceStateRequest.Builder> updateDeviceStateRequest)
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.
|
default UpdateDeviceStateResponse |
updateDeviceState(UpdateDeviceStateRequest updateDeviceStateRequest)
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.
|
serviceName
close
static final String SERVICE_NAME
static Iot1ClickDevicesClient create()
Iot1ClickDevicesClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static Iot1ClickDevicesClientBuilder builder()
Iot1ClickDevicesClient
.default ClaimDevicesByClaimCodeResponse claimDevicesByClaimCode(ClaimDevicesByClaimCodeRequest claimDevicesByClaimCodeRequest) throws InvalidRequestException, InternalFailureException, ForbiddenException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Adds device(s) to your account (i.e., claim one or more devices) if and only if you received a claim code with the device(s).
claimDevicesByClaimCodeRequest
- InvalidRequestException
- 400 responseInternalFailureException
- 500 responseForbiddenException
- 403 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ClaimDevicesByClaimCodeResponse claimDevicesByClaimCode(Consumer<ClaimDevicesByClaimCodeRequest.Builder> claimDevicesByClaimCodeRequest) throws InvalidRequestException, InternalFailureException, ForbiddenException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Adds device(s) to your account (i.e., claim one or more devices) if and only if you received a claim code with the device(s).
This is a convenience which creates an instance of the ClaimDevicesByClaimCodeRequest.Builder
avoiding
the need to create one manually via ClaimDevicesByClaimCodeRequest.builder()
claimDevicesByClaimCodeRequest
- A Consumer
that will call methods on ClaimDevicesByClaimCodeRequest.Builder
to create a
request.InvalidRequestException
- 400 responseInternalFailureException
- 500 responseForbiddenException
- 403 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeDeviceResponse describeDevice(DescribeDeviceRequest describeDeviceRequest) throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
describeDeviceRequest
- ResourceNotFoundException
- 404 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeDeviceResponse describeDevice(Consumer<DescribeDeviceRequest.Builder> describeDeviceRequest) throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
This is a convenience which creates an instance of the DescribeDeviceRequest.Builder
avoiding the need to
create one manually via DescribeDeviceRequest.builder()
describeDeviceRequest
- A Consumer
that will call methods on DescribeDeviceRequest.Builder
to create a request.ResourceNotFoundException
- 404 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default FinalizeDeviceClaimResponse finalizeDeviceClaim(FinalizeDeviceClaimRequest finalizeDeviceClaimRequest) throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, PreconditionFailedException, ResourceConflictException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Given a device ID, finalizes the claim request for the associated device.
Claiming a device consists of initiating a claim, then publishing a device event, and finalizing the claim. For a device of type button, a device event can be published by simply clicking the device.
finalizeDeviceClaimRequest
- ResourceNotFoundException
- 404 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responsePreconditionFailedException
- 412 responseResourceConflictException
- 409 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default FinalizeDeviceClaimResponse finalizeDeviceClaim(Consumer<FinalizeDeviceClaimRequest.Builder> finalizeDeviceClaimRequest) throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, PreconditionFailedException, ResourceConflictException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Given a device ID, finalizes the claim request for the associated device.
Claiming a device consists of initiating a claim, then publishing a device event, and finalizing the claim. For a device of type button, a device event can be published by simply clicking the device.
This is a convenience which creates an instance of the FinalizeDeviceClaimRequest.Builder
avoiding the
need to create one manually via FinalizeDeviceClaimRequest.builder()
finalizeDeviceClaimRequest
- A Consumer
that will call methods on FinalizeDeviceClaimRequest.Builder
to create a
request.ResourceNotFoundException
- 404 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responsePreconditionFailedException
- 412 responseResourceConflictException
- 409 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDeviceMethodsResponse getDeviceMethods(GetDeviceMethodsRequest getDeviceMethodsRequest) throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Given a device ID, returns the invokable methods associated with the device.
getDeviceMethodsRequest
- ResourceNotFoundException
- 404 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDeviceMethodsResponse getDeviceMethods(Consumer<GetDeviceMethodsRequest.Builder> getDeviceMethodsRequest) throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Given a device ID, returns the invokable methods associated with the device.
This is a convenience which creates an instance of the GetDeviceMethodsRequest.Builder
avoiding the need
to create one manually via GetDeviceMethodsRequest.builder()
getDeviceMethodsRequest
- A Consumer
that will call methods on GetDeviceMethodsRequest.Builder
to create a request.ResourceNotFoundException
- 404 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default InitiateDeviceClaimResponse initiateDeviceClaim(InitiateDeviceClaimRequest initiateDeviceClaimRequest) throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, ResourceConflictException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Given a device ID, initiates a claim request for the associated device.
Claiming a device consists of initiating a claim, then publishing a device event, and finalizing the claim. For a device of type button, a device event can be published by simply clicking the device.
initiateDeviceClaimRequest
- ResourceNotFoundException
- 404 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseResourceConflictException
- 409 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default InitiateDeviceClaimResponse initiateDeviceClaim(Consumer<InitiateDeviceClaimRequest.Builder> initiateDeviceClaimRequest) throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, ResourceConflictException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Given a device ID, initiates a claim request for the associated device.
Claiming a device consists of initiating a claim, then publishing a device event, and finalizing the claim. For a device of type button, a device event can be published by simply clicking the device.
This is a convenience which creates an instance of the InitiateDeviceClaimRequest.Builder
avoiding the
need to create one manually via InitiateDeviceClaimRequest.builder()
initiateDeviceClaimRequest
- A Consumer
that will call methods on InitiateDeviceClaimRequest.Builder
to create a
request.ResourceNotFoundException
- 404 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseResourceConflictException
- 409 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default InvokeDeviceMethodResponse invokeDeviceMethod(InvokeDeviceMethodRequest invokeDeviceMethodRequest) throws InvalidRequestException, PreconditionFailedException, InternalFailureException, ResourceNotFoundException, RangeNotSatisfiableException, ResourceConflictException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Given a device ID, issues a request to invoke a named device method (with possible parameters). See the "Example POST" code snippet below.
invokeDeviceMethodRequest
- InvalidRequestException
- 400 responsePreconditionFailedException
- 412 responseInternalFailureException
- 500 responseResourceNotFoundException
- 404 responseRangeNotSatisfiableException
- 416 responseResourceConflictException
- 409 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default InvokeDeviceMethodResponse invokeDeviceMethod(Consumer<InvokeDeviceMethodRequest.Builder> invokeDeviceMethodRequest) throws InvalidRequestException, PreconditionFailedException, InternalFailureException, ResourceNotFoundException, RangeNotSatisfiableException, ResourceConflictException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Given a device ID, issues a request to invoke a named device method (with possible parameters). See the "Example POST" code snippet below.
This is a convenience which creates an instance of the InvokeDeviceMethodRequest.Builder
avoiding the
need to create one manually via InvokeDeviceMethodRequest.builder()
invokeDeviceMethodRequest
- A Consumer
that will call methods on InvokeDeviceMethodRequest.Builder
to create a
request.InvalidRequestException
- 400 responsePreconditionFailedException
- 412 responseInternalFailureException
- 500 responseResourceNotFoundException
- 404 responseRangeNotSatisfiableException
- 416 responseResourceConflictException
- 409 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeviceEventsResponse listDeviceEvents(ListDeviceEventsRequest listDeviceEventsRequest) throws ResourceNotFoundException, RangeNotSatisfiableException, InvalidRequestException, InternalFailureException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
listDeviceEventsRequest
- ResourceNotFoundException
- 404 responseRangeNotSatisfiableException
- 416 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDeviceEventsResponse listDeviceEvents(Consumer<ListDeviceEventsRequest.Builder> listDeviceEventsRequest) throws ResourceNotFoundException, RangeNotSatisfiableException, InvalidRequestException, InternalFailureException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
This is a convenience which creates an instance of the ListDeviceEventsRequest.Builder
avoiding the need
to create one manually via ListDeviceEventsRequest.builder()
listDeviceEventsRequest
- A Consumer
that will call methods on ListDeviceEventsRequest.Builder
to create a request.ResourceNotFoundException
- 404 responseRangeNotSatisfiableException
- 416 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDevicesResponse listDevices(ListDevicesRequest listDevicesRequest) throws RangeNotSatisfiableException, InvalidRequestException, InternalFailureException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Lists the 1-Click compatible devices associated with your AWS account.
listDevicesRequest
- RangeNotSatisfiableException
- 416 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDevicesResponse listDevices(Consumer<ListDevicesRequest.Builder> listDevicesRequest) throws RangeNotSatisfiableException, InvalidRequestException, InternalFailureException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Lists the 1-Click compatible devices associated with your AWS account.
This is a convenience which creates an instance of the ListDevicesRequest.Builder
avoiding the need to
create one manually via ListDevicesRequest.builder()
listDevicesRequest
- A Consumer
that will call methods on ListDevicesRequest.Builder
to create a request.RangeNotSatisfiableException
- 416 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UnclaimDeviceResponse unclaimDevice(UnclaimDeviceRequest unclaimDeviceRequest) throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Disassociates a device from your AWS account using its device ID.
unclaimDeviceRequest
- ResourceNotFoundException
- 404 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UnclaimDeviceResponse unclaimDevice(Consumer<UnclaimDeviceRequest.Builder> unclaimDeviceRequest) throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Disassociates a device from your AWS account using its device ID.
This is a convenience which creates an instance of the UnclaimDeviceRequest.Builder
avoiding the need to
create one manually via UnclaimDeviceRequest.builder()
unclaimDeviceRequest
- A Consumer
that will call methods on UnclaimDeviceRequest.Builder
to create a request.ResourceNotFoundException
- 404 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateDeviceStateResponse updateDeviceState(UpdateDeviceStateRequest updateDeviceStateRequest) throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.
updateDeviceStateRequest
- ResourceNotFoundException
- 404 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseSdkException
- 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.Iot1ClickDevicesException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateDeviceStateResponse updateDeviceState(Consumer<UpdateDeviceStateRequest.Builder> updateDeviceStateRequest) throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, AwsServiceException, SdkClientException, Iot1ClickDevicesException
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.
This is a convenience which creates an instance of the UpdateDeviceStateRequest.Builder
avoiding the need
to create one manually via UpdateDeviceStateRequest.builder()
updateDeviceStateRequest
- A Consumer
that will call methods on UpdateDeviceStateRequest.Builder
to create a request.ResourceNotFoundException
- 404 responseInvalidRequestException
- 400 responseInternalFailureException
- 500 responseSdkException
- 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.Iot1ClickDevicesException
- 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.