@Generated(value="software.amazon.awssdk:codegen") public interface IoTDataPlaneAsyncClient extends SdkClient, SdkAutoCloseable
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 | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and 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(Consumer<DeleteThingShadowRequest.Builder> deleteThingShadowRequest)
Deletes the thing shadow for the specified thing.
|
default CompletableFuture<DeleteThingShadowResponse> |
deleteThingShadow(DeleteThingShadowRequest deleteThingShadowRequest)
Deletes the thing shadow for the specified thing.
|
default CompletableFuture<GetThingShadowResponse> |
getThingShadow(Consumer<GetThingShadowRequest.Builder> getThingShadowRequest)
Gets 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(Consumer<PublishRequest.Builder> publishRequest)
Publishes state information.
|
default CompletableFuture<PublishResponse> |
publish(PublishRequest publishRequest)
Publishes state information.
|
default CompletableFuture<UpdateThingShadowResponse> |
updateThingShadow(Consumer<UpdateThingShadowRequest.Builder> updateThingShadowRequest)
Updates the thing shadow for the specified thing.
|
default CompletableFuture<UpdateThingShadowResponse> |
updateThingShadow(UpdateThingShadowRequest updateThingShadowRequest)
Updates the thing shadow for the specified thing.
|
serviceName
close
static final String SERVICE_NAME
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<DeleteThingShadowResponse> deleteThingShadow(Consumer<DeleteThingShadowRequest.Builder> deleteThingShadowRequest)
Deletes the thing shadow for the specified thing.
For more information, see DeleteThingShadow in the AWS IoT Developer Guide.
DeleteThingShadowRequest.Builder
avoiding the need
to create one manually via DeleteThingShadowRequest.builder()
deleteThingShadowRequest
- a Consumer
that will call methods on DeleteThingShadowRequest.Builder
.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<GetThingShadowResponse> getThingShadow(Consumer<GetThingShadowRequest.Builder> getThingShadowRequest)
Gets the thing shadow for the specified thing.
For more information, see GetThingShadow in the AWS IoT Developer Guide.
GetThingShadowRequest.Builder
avoiding the need to
create one manually via GetThingShadowRequest.builder()
getThingShadowRequest
- a Consumer
that will call methods on GetThingShadowRequest.Builder
.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<PublishResponse> publish(Consumer<PublishRequest.Builder> publishRequest)
Publishes state information.
For more information, see HTTP Protocol in the AWS IoT Developer Guide.
PublishRequest.Builder
avoiding the need to create
one manually via PublishRequest.builder()
publishRequest
- a Consumer
that will call methods on PublishRequest.Builder
.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.default CompletableFuture<UpdateThingShadowResponse> updateThingShadow(Consumer<UpdateThingShadowRequest.Builder> updateThingShadowRequest)
Updates the thing shadow for the specified thing.
For more information, see UpdateThingShadow in the AWS IoT Developer Guide.
UpdateThingShadowRequest.Builder
avoiding the need
to create one manually via UpdateThingShadowRequest.builder()
updateThingShadowRequest
- a Consumer
that will call methods on UpdateThingShadowRequest.Builder
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.