public class IotIdentityClient extends Object
| Constructor and Description |
|---|
IotIdentityClient(software.amazon.awssdk.crt.mqtt.MqttClientConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Integer> |
PublishCreateCertificateFromCsr(CreateCertificateFromCsrRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos)
Creates a certificate from a certificate signing request (CSR).
|
CompletableFuture<Integer> |
PublishCreateKeysAndCertificate(CreateKeysAndCertificateRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos)
Creates new keys and a certificate.
|
CompletableFuture<Integer> |
PublishRegisterThing(RegisterThingRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos)
Provisions an AWS IoT thing using a pre-defined template.
|
CompletableFuture<Integer> |
SubscribeToCreateCertificateFromCsrAccepted(CreateCertificateFromCsrSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<CreateCertificateFromCsrResponse> handler)
Subscribes to the accepted topic of the CreateCertificateFromCsr operation.
|
CompletableFuture<Integer> |
SubscribeToCreateCertificateFromCsrAccepted(CreateCertificateFromCsrSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<CreateCertificateFromCsrResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the accepted topic of the CreateCertificateFromCsr operation.
|
CompletableFuture<Integer> |
SubscribeToCreateCertificateFromCsrRejected(CreateCertificateFromCsrSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler)
Subscribes to the rejected topic of the CreateCertificateFromCsr operation.
|
CompletableFuture<Integer> |
SubscribeToCreateCertificateFromCsrRejected(CreateCertificateFromCsrSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the rejected topic of the CreateCertificateFromCsr operation.
|
CompletableFuture<Integer> |
SubscribeToCreateKeysAndCertificateAccepted(CreateKeysAndCertificateSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<CreateKeysAndCertificateResponse> handler)
Subscribes to the accepted topic of the CreateKeysAndCertificate operation.
|
CompletableFuture<Integer> |
SubscribeToCreateKeysAndCertificateAccepted(CreateKeysAndCertificateSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<CreateKeysAndCertificateResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the accepted topic of the CreateKeysAndCertificate operation.
|
CompletableFuture<Integer> |
SubscribeToCreateKeysAndCertificateRejected(CreateKeysAndCertificateSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler)
Subscribes to the rejected topic of the CreateKeysAndCertificate operation.
|
CompletableFuture<Integer> |
SubscribeToCreateKeysAndCertificateRejected(CreateKeysAndCertificateSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the rejected topic of the CreateKeysAndCertificate operation.
|
CompletableFuture<Integer> |
SubscribeToRegisterThingAccepted(RegisterThingSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<RegisterThingResponse> handler)
Subscribes to the accepted topic of the RegisterThing operation.
|
CompletableFuture<Integer> |
SubscribeToRegisterThingAccepted(RegisterThingSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<RegisterThingResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the accepted topic of the RegisterThing operation.
|
CompletableFuture<Integer> |
SubscribeToRegisterThingRejected(RegisterThingSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler)
Subscribes to the rejected topic of the RegisterThing operation.
|
CompletableFuture<Integer> |
SubscribeToRegisterThingRejected(RegisterThingSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the rejected topic of the RegisterThing operation.
|
public IotIdentityClient(software.amazon.awssdk.crt.mqtt.MqttClientConnection connection)
public CompletableFuture<Integer> PublishCreateKeysAndCertificate(CreateKeysAndCertificateRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos)
request - Message to be serialized and sentqos - Quality of Service for delivering this messagepublic CompletableFuture<Integer> SubscribeToCreateKeysAndCertificateAccepted(CreateKeysAndCertificateSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<CreateKeysAndCertificateResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToCreateKeysAndCertificateAccepted(CreateKeysAndCertificateSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<CreateKeysAndCertificateResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToCreateKeysAndCertificateRejected(CreateKeysAndCertificateSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToCreateKeysAndCertificateRejected(CreateKeysAndCertificateSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToRegisterThingRejected(RegisterThingSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToRegisterThingRejected(RegisterThingSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToCreateCertificateFromCsrAccepted(CreateCertificateFromCsrSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<CreateCertificateFromCsrResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToCreateCertificateFromCsrAccepted(CreateCertificateFromCsrSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<CreateCertificateFromCsrResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> PublishRegisterThing(RegisterThingRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos)
request - Message to be serialized and sentqos - Quality of Service for delivering this messagepublic CompletableFuture<Integer> SubscribeToRegisterThingAccepted(RegisterThingSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<RegisterThingResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToRegisterThingAccepted(RegisterThingSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<RegisterThingResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToCreateCertificateFromCsrRejected(CreateCertificateFromCsrSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToCreateCertificateFromCsrRejected(CreateCertificateFromCsrSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> PublishCreateCertificateFromCsr(CreateCertificateFromCsrRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos)
request - Message to be serialized and sentqos - Quality of Service for delivering this messageCopyright ? 2021. All rights reserved.