Field Summary
Method Summary
Field Detail
Method Detail
deleteThingShadow
default DeleteThingShadowResponse deleteThingShadow(DeleteThingShadowRequest deleteThingShadowRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, MethodNotAllowedException, UnsupportedDocumentEncodingException, AwsServiceException, SdkClientException, IotDataPlaneException
Deletes the thing shadow for the specified thing.
For more information, see DeleteThingShadow in the AWS IoT Developer Guide.
- Parameters:
deleteThingShadowRequest- The input for the DeleteThingShadow operation.- Returns:
- Result of the DeleteThingShadow operation returned by the service.
- Throws:
ResourceNotFoundException- The specified resource does not exist.InvalidRequestException- The request is not valid.ThrottlingException- The rate exceeds the limit.UnauthorizedException- You are not authorized to perform this operation.ServiceUnavailableException- The service is temporarily unavailable.InternalFailureException- An unexpected error has occurred.MethodNotAllowedException- The specified combination of HTTP verb and URI is not supported.UnsupportedDocumentEncodingException- The document encoding is not supported.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.IotDataPlaneException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
deleteThingShadow
default DeleteThingShadowResponse deleteThingShadow(Consumer<DeleteThingShadowRequest.Builder> deleteThingShadowRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, MethodNotAllowedException, UnsupportedDocumentEncodingException, AwsServiceException, SdkClientException, IotDataPlaneException
Deletes the thing shadow for the specified thing.
For more information, see DeleteThingShadow in the AWS IoT Developer Guide.
This is a convenience which creates an instance of the
DeleteThingShadowRequest.Builderavoiding the need to create one manually viaDeleteThingShadowRequest.builder()- Parameters:
deleteThingShadowRequest- AConsumerthat will call methods onDeleteThingShadowRequest.Builderto create a request. The input for the DeleteThingShadow operation.- Returns:
- Result of the DeleteThingShadow operation returned by the service.
- Throws:
ResourceNotFoundException- The specified resource does not exist.InvalidRequestException- The request is not valid.ThrottlingException- The rate exceeds the limit.UnauthorizedException- You are not authorized to perform this operation.ServiceUnavailableException- The service is temporarily unavailable.InternalFailureException- An unexpected error has occurred.MethodNotAllowedException- The specified combination of HTTP verb and URI is not supported.UnsupportedDocumentEncodingException- The document encoding is not supported.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.IotDataPlaneException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
getThingShadow
default GetThingShadowResponse getThingShadow(GetThingShadowRequest getThingShadowRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, MethodNotAllowedException, UnsupportedDocumentEncodingException, AwsServiceException, SdkClientException, IotDataPlaneException
Gets the thing shadow for the specified thing.
For more information, see GetThingShadow in the AWS IoT Developer Guide.
- Parameters:
getThingShadowRequest- The input for the GetThingShadow operation.- Returns:
- Result of the GetThingShadow operation returned by the service.
- Throws:
InvalidRequestException- The request is not valid.ResourceNotFoundException- The specified resource does not exist.ThrottlingException- The rate exceeds the limit.UnauthorizedException- You are not authorized to perform this operation.ServiceUnavailableException- The service is temporarily unavailable.InternalFailureException- An unexpected error has occurred.MethodNotAllowedException- The specified combination of HTTP verb and URI is not supported.UnsupportedDocumentEncodingException- The document encoding is not supported.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.IotDataPlaneException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
getThingShadow
default GetThingShadowResponse getThingShadow(Consumer<GetThingShadowRequest.Builder> getThingShadowRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, MethodNotAllowedException, UnsupportedDocumentEncodingException, AwsServiceException, SdkClientException, IotDataPlaneException
Gets the thing shadow for the specified thing.
For more information, see GetThingShadow in the AWS IoT Developer Guide.
This is a convenience which creates an instance of the
GetThingShadowRequest.Builderavoiding the need to create one manually viaGetThingShadowRequest.builder()- Parameters:
getThingShadowRequest- AConsumerthat will call methods onGetThingShadowRequest.Builderto create a request. The input for the GetThingShadow operation.- Returns:
- Result of the GetThingShadow operation returned by the service.
- Throws:
InvalidRequestException- The request is not valid.ResourceNotFoundException- The specified resource does not exist.ThrottlingException- The rate exceeds the limit.UnauthorizedException- You are not authorized to perform this operation.ServiceUnavailableException- The service is temporarily unavailable.InternalFailureException- An unexpected error has occurred.MethodNotAllowedException- The specified combination of HTTP verb and URI is not supported.UnsupportedDocumentEncodingException- The document encoding is not supported.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.IotDataPlaneException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
updateThingShadow
default UpdateThingShadowResponse updateThingShadow(UpdateThingShadowRequest updateThingShadowRequest) throws ConflictException, RequestEntityTooLargeException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, MethodNotAllowedException, UnsupportedDocumentEncodingException, AwsServiceException, SdkClientException, IotDataPlaneException
Updates the thing shadow for the specified thing.
For more information, see UpdateThingShadow in the AWS IoT Developer Guide.
- Parameters:
updateThingShadowRequest- The input for the UpdateThingShadow operation.- Returns:
- Result of the UpdateThingShadow operation returned by the service.
- Throws:
ConflictException- The specified version does not match the version of the document.RequestEntityTooLargeException- The payload exceeds the maximum size allowed.InvalidRequestException- The request is not valid.ThrottlingException- The rate exceeds the limit.UnauthorizedException- You are not authorized to perform this operation.ServiceUnavailableException- The service is temporarily unavailable.InternalFailureException- An unexpected error has occurred.MethodNotAllowedException- The specified combination of HTTP verb and URI is not supported.UnsupportedDocumentEncodingException- The document encoding is not supported.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.IotDataPlaneException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
updateThingShadow
default UpdateThingShadowResponse updateThingShadow(Consumer<UpdateThingShadowRequest.Builder> updateThingShadowRequest) throws ConflictException, RequestEntityTooLargeException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, MethodNotAllowedException, UnsupportedDocumentEncodingException, AwsServiceException, SdkClientException, IotDataPlaneException
Updates the thing shadow for the specified thing.
For more information, see UpdateThingShadow in the AWS IoT Developer Guide.
This is a convenience which creates an instance of the
UpdateThingShadowRequest.Builderavoiding the need to create one manually viaUpdateThingShadowRequest.builder()- Parameters:
updateThingShadowRequest- AConsumerthat will call methods onUpdateThingShadowRequest.Builderto create a request. The input for the UpdateThingShadow operation.- Returns:
- Result of the UpdateThingShadow operation returned by the service.
- Throws:
ConflictException- The specified version does not match the version of the document.RequestEntityTooLargeException- The payload exceeds the maximum size allowed.InvalidRequestException- The request is not valid.ThrottlingException- The rate exceeds the limit.UnauthorizedException- You are not authorized to perform this operation.ServiceUnavailableException- The service is temporarily unavailable.InternalFailureException- An unexpected error has occurred.MethodNotAllowedException- The specified combination of HTTP verb and URI is not supported.UnsupportedDocumentEncodingException- The document encoding is not supported.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.IotDataPlaneException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.