AutoCloseable
@Generated("software.amazon.awssdk:codegen") public interface IoTDataPlaneAsyncClient extends AutoCloseable
builder()
method.
AWS IoT-Data enables secure, bi-directional communication between Internet-connected things (such as sensors, actuators, embedded devices, or smart appliances) and the AWS cloud. It implements a broker for applications and things to publish messages over HTTP (Publish) and retrieve, update, and delete thing shadows. A thing shadow is a persistent representation of your things and their state in the AWS cloud.
Modifier and Type | Method | Description |
---|---|---|
static IoTDataPlaneAsyncClientBuilder |
builder() |
Create a builder that can be used to configure and create a
IoTDataPlaneAsyncClient . |
static IoTDataPlaneAsyncClient |
create() |
Create a
IoTDataPlaneAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<DeleteThingShadowResponse> |
deleteThingShadow(DeleteThingShadowRequest deleteThingShadowRequest) |
Deletes the thing shadow for the specified thing.
|
default CompletableFuture<GetThingShadowResponse> |
getThingShadow(GetThingShadowRequest getThingShadowRequest) |
Gets the thing shadow for the specified thing.
|
default CompletableFuture<PublishResponse> |
publish(PublishRequest publishRequest) |
Publishes state information.
|
default CompletableFuture<UpdateThingShadowResponse> |
updateThingShadow(UpdateThingShadowRequest updateThingShadowRequest) |
Updates the thing shadow for the specified thing.
|
close
static IoTDataPlaneAsyncClient create()
IoTDataPlaneAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static IoTDataPlaneAsyncClientBuilder builder()
IoTDataPlaneAsyncClient
.default CompletableFuture<DeleteThingShadowResponse> deleteThingShadow(DeleteThingShadowRequest deleteThingShadowRequest)
Deletes the thing shadow for the specified thing.
For more information, see DeleteThingShadow in the AWS IoT Developer Guide.
deleteThingShadowRequest
- The input for the DeleteThingShadow operation.default CompletableFuture<GetThingShadowResponse> getThingShadow(GetThingShadowRequest getThingShadowRequest)
Gets the thing shadow for the specified thing.
For more information, see GetThingShadow in the AWS IoT Developer Guide.
getThingShadowRequest
- The input for the GetThingShadow operation.default CompletableFuture<PublishResponse> publish(PublishRequest publishRequest)
Publishes state information.
For more information, see HTTP Protocol in the AWS IoT Developer Guide.
publishRequest
- The input for the Publish operation.default CompletableFuture<UpdateThingShadowResponse> updateThingShadow(UpdateThingShadowRequest updateThingShadowRequest)
Updates the thing shadow for the specified thing.
For more information, see UpdateThingShadow in the AWS IoT Developer Guide.
updateThingShadowRequest
- The input for the UpdateThingShadow operation.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.