@Generated(value="software.amazon.awssdk:codegen") public interface IoTAsyncClient extends SdkClient, SdkAutoCloseable
builder()
method.
AWS IoT provides secure, bi-directional communication between Internet-connected things (such as sensors, actuators, embedded devices, or smart appliances) and the AWS cloud. You can discover your custom IoT-Data endpoint to communicate with, configure rules for data processing and integration with other services, organize resources associated with each thing (Thing Registry), configure logging, and create and manage policies and credentials to authenticate things.
For more information about how AWS IoT works, see the Developer Guide.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
serviceName
close
static final String SERVICE_NAME
static IoTAsyncClient create()
IoTAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from
the DefaultCredentialsProvider
.static IoTAsyncClientBuilder builder()
IoTAsyncClient
.default CompletableFuture<AcceptCertificateTransferResponse> acceptCertificateTransfer(AcceptCertificateTransferRequest acceptCertificateTransferRequest)
Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
acceptCertificateTransferRequest
- The input for the AcceptCertificateTransfer operation.default CompletableFuture<AcceptCertificateTransferResponse> acceptCertificateTransfer(Consumer<AcceptCertificateTransferRequest.Builder> acceptCertificateTransferRequest)
Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
AcceptCertificateTransferRequest.Builder
avoiding
the need to create one manually via AcceptCertificateTransferRequest.builder()
acceptCertificateTransferRequest
- a Consumer
that will call methods on AcceptCertificateTransferRequest.Builder
.default CompletableFuture<AttachPrincipalPolicyResponse> attachPrincipalPolicy(AttachPrincipalPolicyRequest attachPrincipalPolicyRequest)
Attaches the specified policy to the specified principal (certificate or other credential).
attachPrincipalPolicyRequest
- The input for the AttachPrincipalPolicy operation.default CompletableFuture<AttachPrincipalPolicyResponse> attachPrincipalPolicy(Consumer<AttachPrincipalPolicyRequest.Builder> attachPrincipalPolicyRequest)
Attaches the specified policy to the specified principal (certificate or other credential).
AttachPrincipalPolicyRequest.Builder
avoiding the
need to create one manually via AttachPrincipalPolicyRequest.builder()
attachPrincipalPolicyRequest
- a Consumer
that will call methods on AttachPrincipalPolicyRequest.Builder
.default CompletableFuture<AttachThingPrincipalResponse> attachThingPrincipal(AttachThingPrincipalRequest attachThingPrincipalRequest)
Attaches the specified principal to the specified thing.
attachThingPrincipalRequest
- The input for the AttachThingPrincipal operation.default CompletableFuture<AttachThingPrincipalResponse> attachThingPrincipal(Consumer<AttachThingPrincipalRequest.Builder> attachThingPrincipalRequest)
Attaches the specified principal to the specified thing.
AttachThingPrincipalRequest.Builder
avoiding the
need to create one manually via AttachThingPrincipalRequest.builder()
attachThingPrincipalRequest
- a Consumer
that will call methods on AttachThingPrincipalRequest.Builder
.default CompletableFuture<CancelCertificateTransferResponse> cancelCertificateTransfer(CancelCertificateTransferRequest cancelCertificateTransferRequest)
Cancels a pending transfer for the specified certificate.
Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.
After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.
cancelCertificateTransferRequest
- The input for the CancelCertificateTransfer operation.default CompletableFuture<CancelCertificateTransferResponse> cancelCertificateTransfer(Consumer<CancelCertificateTransferRequest.Builder> cancelCertificateTransferRequest)
Cancels a pending transfer for the specified certificate.
Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.
After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.
CancelCertificateTransferRequest.Builder
avoiding
the need to create one manually via CancelCertificateTransferRequest.builder()
cancelCertificateTransferRequest
- a Consumer
that will call methods on CancelCertificateTransferRequest.Builder
.default CompletableFuture<CreateCertificateFromCsrResponse> createCertificateFromCsr(CreateCertificateFromCsrRequest createCertificateFromCsrRequest)
Creates an X.509 certificate using the specified certificate signing request.
Note: The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves.
Note: Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs.
Assuming a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr AWS CLI command to create a certificate for the corresponding CSR.
The aws iot create-certificate-from-csr part of the command can also be run in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
createCertificateFromCsrRequest
- The input for the CreateCertificateFromCsr operation.default CompletableFuture<CreateCertificateFromCsrResponse> createCertificateFromCsr(Consumer<CreateCertificateFromCsrRequest.Builder> createCertificateFromCsrRequest)
Creates an X.509 certificate using the specified certificate signing request.
Note: The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves.
Note: Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs.
Assuming a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr AWS CLI command to create a certificate for the corresponding CSR.
The aws iot create-certificate-from-csr part of the command can also be run in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
CreateCertificateFromCsrRequest.Builder
avoiding
the need to create one manually via CreateCertificateFromCsrRequest.builder()
createCertificateFromCsrRequest
- a Consumer
that will call methods on CreateCertificateFromCsrRequest.Builder
.default CompletableFuture<CreateKeysAndCertificateResponse> createKeysAndCertificate(CreateKeysAndCertificateRequest createKeysAndCertificateRequest)
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.
Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.
createKeysAndCertificateRequest
- The input for the CreateKeysAndCertificate operation.default CompletableFuture<CreateKeysAndCertificateResponse> createKeysAndCertificate()
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.
Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.
default CompletableFuture<CreateKeysAndCertificateResponse> createKeysAndCertificate(Consumer<CreateKeysAndCertificateRequest.Builder> createKeysAndCertificateRequest)
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.
Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.
CreateKeysAndCertificateRequest.Builder
avoiding
the need to create one manually via CreateKeysAndCertificateRequest.builder()
createKeysAndCertificateRequest
- a Consumer
that will call methods on CreateKeysAndCertificateRequest.Builder
.default CompletableFuture<CreatePolicyResponse> createPolicy(CreatePolicyRequest createPolicyRequest)
Creates an AWS IoT policy.
The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.
createPolicyRequest
- The input for the CreatePolicy operation.default CompletableFuture<CreatePolicyResponse> createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest)
Creates an AWS IoT policy.
The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.
CreatePolicyRequest.Builder
avoiding the need to
create one manually via CreatePolicyRequest.builder()
createPolicyRequest
- a Consumer
that will call methods on CreatePolicyRequest.Builder
.default CompletableFuture<CreatePolicyVersionResponse> createPolicyVersion(CreatePolicyVersionRequest createPolicyVersionRequest)
Creates a new version of the specified AWS IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.
Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
createPolicyVersionRequest
- The input for the CreatePolicyVersion operation.default CompletableFuture<CreatePolicyVersionResponse> createPolicyVersion(Consumer<CreatePolicyVersionRequest.Builder> createPolicyVersionRequest)
Creates a new version of the specified AWS IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.
Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
CreatePolicyVersionRequest.Builder
avoiding the
need to create one manually via CreatePolicyVersionRequest.builder()
createPolicyVersionRequest
- a Consumer
that will call methods on CreatePolicyVersionRequest.Builder
.default CompletableFuture<CreateThingResponse> createThing(CreateThingRequest createThingRequest)
Creates a thing record in the thing registry.
createThingRequest
- The input for the CreateThing operation.default CompletableFuture<CreateThingResponse> createThing(Consumer<CreateThingRequest.Builder> createThingRequest)
Creates a thing record in the thing registry.
CreateThingRequest.Builder
avoiding the need to
create one manually via CreateThingRequest.builder()
createThingRequest
- a Consumer
that will call methods on CreateThingRequest.Builder
.default CompletableFuture<CreateThingTypeResponse> createThingType(CreateThingTypeRequest createThingTypeRequest)
Creates a new thing type.
createThingTypeRequest
- The input for the CreateThingType operation.default CompletableFuture<CreateThingTypeResponse> createThingType(Consumer<CreateThingTypeRequest.Builder> createThingTypeRequest)
Creates a new thing type.
CreateThingTypeRequest.Builder
avoiding the need
to create one manually via CreateThingTypeRequest.builder()
createThingTypeRequest
- a Consumer
that will call methods on CreateThingTypeRequest.Builder
.default CompletableFuture<CreateTopicRuleResponse> createTopicRule(CreateTopicRuleRequest createTopicRuleRequest)
Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
createTopicRuleRequest
- The input for the CreateTopicRule operation.default CompletableFuture<CreateTopicRuleResponse> createTopicRule(Consumer<CreateTopicRuleRequest.Builder> createTopicRuleRequest)
Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
CreateTopicRuleRequest.Builder
avoiding the need
to create one manually via CreateTopicRuleRequest.builder()
createTopicRuleRequest
- a Consumer
that will call methods on CreateTopicRuleRequest.Builder
.default CompletableFuture<DeleteCACertificateResponse> deleteCACertificate(DeleteCACertificateRequest deleteCACertificateRequest)
Deletes a registered CA certificate.
deleteCACertificateRequest
- Input for the DeleteCACertificate operation.default CompletableFuture<DeleteCACertificateResponse> deleteCACertificate(Consumer<DeleteCACertificateRequest.Builder> deleteCACertificateRequest)
Deletes a registered CA certificate.
DeleteCACertificateRequest.Builder
avoiding the
need to create one manually via DeleteCACertificateRequest.builder()
deleteCACertificateRequest
- a Consumer
that will call methods on DeleteCACertificateRequest.Builder
.default CompletableFuture<DeleteCertificateResponse> deleteCertificate(DeleteCertificateRequest deleteCertificateRequest)
Deletes the specified certificate.
A certificate cannot be deleted if it has a policy attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy API to detach all policies. Next, use the UpdateCertificate API to set the certificate to the INACTIVE status.
deleteCertificateRequest
- The input for the DeleteCertificate operation.default CompletableFuture<DeleteCertificateResponse> deleteCertificate(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest)
Deletes the specified certificate.
A certificate cannot be deleted if it has a policy attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy API to detach all policies. Next, use the UpdateCertificate API to set the certificate to the INACTIVE status.
DeleteCertificateRequest.Builder
avoiding the need
to create one manually via DeleteCertificateRequest.builder()
deleteCertificateRequest
- a Consumer
that will call methods on DeleteCertificateRequest.Builder
.default CompletableFuture<DeletePolicyResponse> deletePolicy(DeletePolicyRequest deletePolicyRequest)
Deletes the specified policy.
A policy cannot be deleted if it has non-default versions or it is attached to any certificate.
To delete a policy, use the DeletePolicyVersion API to delete all non-default versions of the policy; use the DetachPrincipalPolicy API to detach the policy from any certificate; and then use the DeletePolicy API to delete the policy.
When a policy is deleted using DeletePolicy, its default version is deleted with it.
deletePolicyRequest
- The input for the DeletePolicy operation.default CompletableFuture<DeletePolicyResponse> deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest)
Deletes the specified policy.
A policy cannot be deleted if it has non-default versions or it is attached to any certificate.
To delete a policy, use the DeletePolicyVersion API to delete all non-default versions of the policy; use the DetachPrincipalPolicy API to detach the policy from any certificate; and then use the DeletePolicy API to delete the policy.
When a policy is deleted using DeletePolicy, its default version is deleted with it.
DeletePolicyRequest.Builder
avoiding the need to
create one manually via DeletePolicyRequest.builder()
deletePolicyRequest
- a Consumer
that will call methods on DeletePolicyRequest.Builder
.default CompletableFuture<DeletePolicyVersionResponse> deletePolicyVersion(DeletePolicyVersionRequest deletePolicyVersionRequest)
Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
deletePolicyVersionRequest
- The input for the DeletePolicyVersion operation.default CompletableFuture<DeletePolicyVersionResponse> deletePolicyVersion(Consumer<DeletePolicyVersionRequest.Builder> deletePolicyVersionRequest)
Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
DeletePolicyVersionRequest.Builder
avoiding the
need to create one manually via DeletePolicyVersionRequest.builder()
deletePolicyVersionRequest
- a Consumer
that will call methods on DeletePolicyVersionRequest.Builder
.default CompletableFuture<DeleteRegistrationCodeResponse> deleteRegistrationCode(DeleteRegistrationCodeRequest deleteRegistrationCodeRequest)
Deletes a CA certificate registration code.
deleteRegistrationCodeRequest
- The input for the DeleteRegistrationCode operation.default CompletableFuture<DeleteRegistrationCodeResponse> deleteRegistrationCode()
Deletes a CA certificate registration code.
default CompletableFuture<DeleteRegistrationCodeResponse> deleteRegistrationCode(Consumer<DeleteRegistrationCodeRequest.Builder> deleteRegistrationCodeRequest)
Deletes a CA certificate registration code.
DeleteRegistrationCodeRequest.Builder
avoiding the
need to create one manually via DeleteRegistrationCodeRequest.builder()
deleteRegistrationCodeRequest
- a Consumer
that will call methods on DeleteRegistrationCodeRequest.Builder
.default CompletableFuture<DeleteThingResponse> deleteThing(DeleteThingRequest deleteThingRequest)
Deletes the specified thing.
deleteThingRequest
- The input for the DeleteThing operation.default CompletableFuture<DeleteThingResponse> deleteThing(Consumer<DeleteThingRequest.Builder> deleteThingRequest)
Deletes the specified thing.
DeleteThingRequest.Builder
avoiding the need to
create one manually via DeleteThingRequest.builder()
deleteThingRequest
- a Consumer
that will call methods on DeleteThingRequest.Builder
.default CompletableFuture<DeleteThingTypeResponse> deleteThingType(DeleteThingTypeRequest deleteThingTypeRequest)
Deletes the specified thing type . You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.
deleteThingTypeRequest
- The input for the DeleteThingType operation.default CompletableFuture<DeleteThingTypeResponse> deleteThingType(Consumer<DeleteThingTypeRequest.Builder> deleteThingTypeRequest)
Deletes the specified thing type . You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.
DeleteThingTypeRequest.Builder
avoiding the need
to create one manually via DeleteThingTypeRequest.builder()
deleteThingTypeRequest
- a Consumer
that will call methods on DeleteThingTypeRequest.Builder
.default CompletableFuture<DeleteTopicRuleResponse> deleteTopicRule(DeleteTopicRuleRequest deleteTopicRuleRequest)
Deletes the specified rule.
deleteTopicRuleRequest
- The input for the DeleteTopicRule operation.default CompletableFuture<DeleteTopicRuleResponse> deleteTopicRule(Consumer<DeleteTopicRuleRequest.Builder> deleteTopicRuleRequest)
Deletes the specified rule.
DeleteTopicRuleRequest.Builder
avoiding the need
to create one manually via DeleteTopicRuleRequest.builder()
deleteTopicRuleRequest
- a Consumer
that will call methods on DeleteTopicRuleRequest.Builder
.default CompletableFuture<DeprecateThingTypeResponse> deprecateThingType(DeprecateThingTypeRequest deprecateThingTypeRequest)
Deprecates a thing type. You can not associate new things with deprecated thing type.
deprecateThingTypeRequest
- The input for the DeprecateThingType operation.default CompletableFuture<DeprecateThingTypeResponse> deprecateThingType(Consumer<DeprecateThingTypeRequest.Builder> deprecateThingTypeRequest)
Deprecates a thing type. You can not associate new things with deprecated thing type.
DeprecateThingTypeRequest.Builder
avoiding the
need to create one manually via DeprecateThingTypeRequest.builder()
deprecateThingTypeRequest
- a Consumer
that will call methods on DeprecateThingTypeRequest.Builder
.default CompletableFuture<DescribeCACertificateResponse> describeCACertificate(DescribeCACertificateRequest describeCACertificateRequest)
Describes a registered CA certificate.
describeCACertificateRequest
- The input for the DescribeCACertificate operation.default CompletableFuture<DescribeCACertificateResponse> describeCACertificate(Consumer<DescribeCACertificateRequest.Builder> describeCACertificateRequest)
Describes a registered CA certificate.
DescribeCACertificateRequest.Builder
avoiding the
need to create one manually via DescribeCACertificateRequest.builder()
describeCACertificateRequest
- a Consumer
that will call methods on DescribeCACertificateRequest.Builder
.default CompletableFuture<DescribeCertificateResponse> describeCertificate(DescribeCertificateRequest describeCertificateRequest)
Gets information about the specified certificate.
describeCertificateRequest
- The input for the DescribeCertificate operation.default CompletableFuture<DescribeCertificateResponse> describeCertificate(Consumer<DescribeCertificateRequest.Builder> describeCertificateRequest)
Gets information about the specified certificate.
DescribeCertificateRequest.Builder
avoiding the
need to create one manually via DescribeCertificateRequest.builder()
describeCertificateRequest
- a Consumer
that will call methods on DescribeCertificateRequest.Builder
.default CompletableFuture<DescribeEndpointResponse> describeEndpoint(DescribeEndpointRequest describeEndpointRequest)
Returns a unique endpoint specific to the AWS account making the call.
describeEndpointRequest
- The input for the DescribeEndpoint operation.default CompletableFuture<DescribeEndpointResponse> describeEndpoint()
Returns a unique endpoint specific to the AWS account making the call.
default CompletableFuture<DescribeEndpointResponse> describeEndpoint(Consumer<DescribeEndpointRequest.Builder> describeEndpointRequest)
Returns a unique endpoint specific to the AWS account making the call.
DescribeEndpointRequest.Builder
avoiding the need
to create one manually via DescribeEndpointRequest.builder()
describeEndpointRequest
- a Consumer
that will call methods on DescribeEndpointRequest.Builder
.default CompletableFuture<DescribeThingResponse> describeThing(DescribeThingRequest describeThingRequest)
Gets information about the specified thing.
describeThingRequest
- The input for the DescribeThing operation.default CompletableFuture<DescribeThingResponse> describeThing(Consumer<DescribeThingRequest.Builder> describeThingRequest)
Gets information about the specified thing.
DescribeThingRequest.Builder
avoiding the need to
create one manually via DescribeThingRequest.builder()
describeThingRequest
- a Consumer
that will call methods on DescribeThingRequest.Builder
.default CompletableFuture<DescribeThingTypeResponse> describeThingType(DescribeThingTypeRequest describeThingTypeRequest)
Gets information about the specified thing type.
describeThingTypeRequest
- The input for the DescribeThingType operation.default CompletableFuture<DescribeThingTypeResponse> describeThingType(Consumer<DescribeThingTypeRequest.Builder> describeThingTypeRequest)
Gets information about the specified thing type.
DescribeThingTypeRequest.Builder
avoiding the need
to create one manually via DescribeThingTypeRequest.builder()
describeThingTypeRequest
- a Consumer
that will call methods on DescribeThingTypeRequest.Builder
.default CompletableFuture<DetachPrincipalPolicyResponse> detachPrincipalPolicy(DetachPrincipalPolicyRequest detachPrincipalPolicyRequest)
Removes the specified policy from the specified certificate.
detachPrincipalPolicyRequest
- The input for the DetachPrincipalPolicy operation.default CompletableFuture<DetachPrincipalPolicyResponse> detachPrincipalPolicy(Consumer<DetachPrincipalPolicyRequest.Builder> detachPrincipalPolicyRequest)
Removes the specified policy from the specified certificate.
DetachPrincipalPolicyRequest.Builder
avoiding the
need to create one manually via DetachPrincipalPolicyRequest.builder()
detachPrincipalPolicyRequest
- a Consumer
that will call methods on DetachPrincipalPolicyRequest.Builder
.default CompletableFuture<DetachThingPrincipalResponse> detachThingPrincipal(DetachThingPrincipalRequest detachThingPrincipalRequest)
Detaches the specified principal from the specified thing.
detachThingPrincipalRequest
- The input for the DetachThingPrincipal operation.default CompletableFuture<DetachThingPrincipalResponse> detachThingPrincipal(Consumer<DetachThingPrincipalRequest.Builder> detachThingPrincipalRequest)
Detaches the specified principal from the specified thing.
DetachThingPrincipalRequest.Builder
avoiding the
need to create one manually via DetachThingPrincipalRequest.builder()
detachThingPrincipalRequest
- a Consumer
that will call methods on DetachThingPrincipalRequest.Builder
.default CompletableFuture<DisableTopicRuleResponse> disableTopicRule(DisableTopicRuleRequest disableTopicRuleRequest)
Disables the specified rule.
disableTopicRuleRequest
- The input for the DisableTopicRuleRequest operation.default CompletableFuture<DisableTopicRuleResponse> disableTopicRule(Consumer<DisableTopicRuleRequest.Builder> disableTopicRuleRequest)
Disables the specified rule.
DisableTopicRuleRequest.Builder
avoiding the need
to create one manually via DisableTopicRuleRequest.builder()
disableTopicRuleRequest
- a Consumer
that will call methods on DisableTopicRuleRequest.Builder
.default CompletableFuture<EnableTopicRuleResponse> enableTopicRule(EnableTopicRuleRequest enableTopicRuleRequest)
Enables the specified rule.
enableTopicRuleRequest
- The input for the EnableTopicRuleRequest operation.default CompletableFuture<EnableTopicRuleResponse> enableTopicRule(Consumer<EnableTopicRuleRequest.Builder> enableTopicRuleRequest)
Enables the specified rule.
EnableTopicRuleRequest.Builder
avoiding the need
to create one manually via EnableTopicRuleRequest.builder()
enableTopicRuleRequest
- a Consumer
that will call methods on EnableTopicRuleRequest.Builder
.default CompletableFuture<GetLoggingOptionsResponse> getLoggingOptions(GetLoggingOptionsRequest getLoggingOptionsRequest)
Gets the logging options.
getLoggingOptionsRequest
- The input for the GetLoggingOptions operation.default CompletableFuture<GetLoggingOptionsResponse> getLoggingOptions()
Gets the logging options.
default CompletableFuture<GetLoggingOptionsResponse> getLoggingOptions(Consumer<GetLoggingOptionsRequest.Builder> getLoggingOptionsRequest)
Gets the logging options.
GetLoggingOptionsRequest.Builder
avoiding the need
to create one manually via GetLoggingOptionsRequest.builder()
getLoggingOptionsRequest
- a Consumer
that will call methods on GetLoggingOptionsRequest.Builder
.default CompletableFuture<GetPolicyResponse> getPolicy(GetPolicyRequest getPolicyRequest)
Gets information about the specified policy with the policy document of the default version.
getPolicyRequest
- The input for the GetPolicy operation.default CompletableFuture<GetPolicyResponse> getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest)
Gets information about the specified policy with the policy document of the default version.
GetPolicyRequest.Builder
avoiding the need to
create one manually via GetPolicyRequest.builder()
getPolicyRequest
- a Consumer
that will call methods on GetPolicyRequest.Builder
.default CompletableFuture<GetPolicyVersionResponse> getPolicyVersion(GetPolicyVersionRequest getPolicyVersionRequest)
Gets information about the specified policy version.
getPolicyVersionRequest
- The input for the GetPolicyVersion operation.default CompletableFuture<GetPolicyVersionResponse> getPolicyVersion(Consumer<GetPolicyVersionRequest.Builder> getPolicyVersionRequest)
Gets information about the specified policy version.
GetPolicyVersionRequest.Builder
avoiding the need
to create one manually via GetPolicyVersionRequest.builder()
getPolicyVersionRequest
- a Consumer
that will call methods on GetPolicyVersionRequest.Builder
.default CompletableFuture<GetRegistrationCodeResponse> getRegistrationCode(GetRegistrationCodeRequest getRegistrationCodeRequest)
Gets a registration code used to register a CA certificate with AWS IoT.
getRegistrationCodeRequest
- The input to the GetRegistrationCode operation.default CompletableFuture<GetRegistrationCodeResponse> getRegistrationCode()
Gets a registration code used to register a CA certificate with AWS IoT.
default CompletableFuture<GetRegistrationCodeResponse> getRegistrationCode(Consumer<GetRegistrationCodeRequest.Builder> getRegistrationCodeRequest)
Gets a registration code used to register a CA certificate with AWS IoT.
GetRegistrationCodeRequest.Builder
avoiding the
need to create one manually via GetRegistrationCodeRequest.builder()
getRegistrationCodeRequest
- a Consumer
that will call methods on GetRegistrationCodeRequest.Builder
.default CompletableFuture<GetTopicRuleResponse> getTopicRule(GetTopicRuleRequest getTopicRuleRequest)
Gets information about the specified rule.
getTopicRuleRequest
- The input for the GetTopicRule operation.default CompletableFuture<GetTopicRuleResponse> getTopicRule(Consumer<GetTopicRuleRequest.Builder> getTopicRuleRequest)
Gets information about the specified rule.
GetTopicRuleRequest.Builder
avoiding the need to
create one manually via GetTopicRuleRequest.builder()
getTopicRuleRequest
- a Consumer
that will call methods on GetTopicRuleRequest.Builder
.default CompletableFuture<ListCACertificatesResponse> listCACertificates(ListCACertificatesRequest listCACertificatesRequest)
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
listCACertificatesRequest
- Input for the ListCACertificates operation.default CompletableFuture<ListCACertificatesResponse> listCACertificates()
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
default CompletableFuture<ListCACertificatesResponse> listCACertificates(Consumer<ListCACertificatesRequest.Builder> listCACertificatesRequest)
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
ListCACertificatesRequest.Builder
avoiding the
need to create one manually via ListCACertificatesRequest.builder()
listCACertificatesRequest
- a Consumer
that will call methods on ListCACertificatesRequest.Builder
.default CompletableFuture<ListCertificatesResponse> listCertificates(ListCertificatesRequest listCertificatesRequest)
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
listCertificatesRequest
- The input for the ListCertificates operation.default CompletableFuture<ListCertificatesResponse> listCertificates()
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
default CompletableFuture<ListCertificatesResponse> listCertificates(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest)
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
ListCertificatesRequest.Builder
avoiding the need
to create one manually via ListCertificatesRequest.builder()
listCertificatesRequest
- a Consumer
that will call methods on ListCertificatesRequest.Builder
.default CompletableFuture<ListCertificatesByCAResponse> listCertificatesByCA(ListCertificatesByCARequest listCertificatesByCARequest)
List the device certificates signed by the specified CA certificate.
listCertificatesByCARequest
- The input to the ListCertificatesByCA operation.default CompletableFuture<ListCertificatesByCAResponse> listCertificatesByCA(Consumer<ListCertificatesByCARequest.Builder> listCertificatesByCARequest)
List the device certificates signed by the specified CA certificate.
ListCertificatesByCARequest.Builder
avoiding the
need to create one manually via ListCertificatesByCARequest.builder()
listCertificatesByCARequest
- a Consumer
that will call methods on ListCertificatesByCARequest.Builder
.default CompletableFuture<ListOutgoingCertificatesResponse> listOutgoingCertificates(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest)
Lists certificates that are being transfered but not yet accepted.
listOutgoingCertificatesRequest
- The input to the ListOutgoingCertificates operation.default CompletableFuture<ListOutgoingCertificatesResponse> listOutgoingCertificates()
Lists certificates that are being transfered but not yet accepted.
default CompletableFuture<ListOutgoingCertificatesResponse> listOutgoingCertificates(Consumer<ListOutgoingCertificatesRequest.Builder> listOutgoingCertificatesRequest)
Lists certificates that are being transfered but not yet accepted.
ListOutgoingCertificatesRequest.Builder
avoiding
the need to create one manually via ListOutgoingCertificatesRequest.builder()
listOutgoingCertificatesRequest
- a Consumer
that will call methods on ListOutgoingCertificatesRequest.Builder
.default CompletableFuture<ListPoliciesResponse> listPolicies(ListPoliciesRequest listPoliciesRequest)
Lists your policies.
listPoliciesRequest
- The input for the ListPolicies operation.default CompletableFuture<ListPoliciesResponse> listPolicies()
Lists your policies.
default CompletableFuture<ListPoliciesResponse> listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)
Lists your policies.
ListPoliciesRequest.Builder
avoiding the need to
create one manually via ListPoliciesRequest.builder()
listPoliciesRequest
- a Consumer
that will call methods on ListPoliciesRequest.Builder
.default CompletableFuture<ListPolicyPrincipalsResponse> listPolicyPrincipals(ListPolicyPrincipalsRequest listPolicyPrincipalsRequest)
Lists the principals associated with the specified policy.
listPolicyPrincipalsRequest
- The input for the ListPolicyPrincipals operation.default CompletableFuture<ListPolicyPrincipalsResponse> listPolicyPrincipals(Consumer<ListPolicyPrincipalsRequest.Builder> listPolicyPrincipalsRequest)
Lists the principals associated with the specified policy.
ListPolicyPrincipalsRequest.Builder
avoiding the
need to create one manually via ListPolicyPrincipalsRequest.builder()
listPolicyPrincipalsRequest
- a Consumer
that will call methods on ListPolicyPrincipalsRequest.Builder
.default CompletableFuture<ListPolicyVersionsResponse> listPolicyVersions(ListPolicyVersionsRequest listPolicyVersionsRequest)
Lists the versions of the specified policy and identifies the default version.
listPolicyVersionsRequest
- The input for the ListPolicyVersions operation.default CompletableFuture<ListPolicyVersionsResponse> listPolicyVersions(Consumer<ListPolicyVersionsRequest.Builder> listPolicyVersionsRequest)
Lists the versions of the specified policy and identifies the default version.
ListPolicyVersionsRequest.Builder
avoiding the
need to create one manually via ListPolicyVersionsRequest.builder()
listPolicyVersionsRequest
- a Consumer
that will call methods on ListPolicyVersionsRequest.Builder
.default CompletableFuture<ListPrincipalPoliciesResponse> listPrincipalPolicies(ListPrincipalPoliciesRequest listPrincipalPoliciesRequest)
Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.
listPrincipalPoliciesRequest
- The input for the ListPrincipalPolicies operation.default CompletableFuture<ListPrincipalPoliciesResponse> listPrincipalPolicies(Consumer<ListPrincipalPoliciesRequest.Builder> listPrincipalPoliciesRequest)
Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.
ListPrincipalPoliciesRequest.Builder
avoiding the
need to create one manually via ListPrincipalPoliciesRequest.builder()
listPrincipalPoliciesRequest
- a Consumer
that will call methods on ListPrincipalPoliciesRequest.Builder
.default CompletableFuture<ListPrincipalThingsResponse> listPrincipalThings(ListPrincipalThingsRequest listPrincipalThingsRequest)
Lists the things associated with the specified principal.
listPrincipalThingsRequest
- The input for the ListPrincipalThings operation.default CompletableFuture<ListPrincipalThingsResponse> listPrincipalThings(Consumer<ListPrincipalThingsRequest.Builder> listPrincipalThingsRequest)
Lists the things associated with the specified principal.
ListPrincipalThingsRequest.Builder
avoiding the
need to create one manually via ListPrincipalThingsRequest.builder()
listPrincipalThingsRequest
- a Consumer
that will call methods on ListPrincipalThingsRequest.Builder
.default CompletableFuture<ListThingPrincipalsResponse> listThingPrincipals(ListThingPrincipalsRequest listThingPrincipalsRequest)
Lists the principals associated with the specified thing.
listThingPrincipalsRequest
- The input for the ListThingPrincipal operation.default CompletableFuture<ListThingPrincipalsResponse> listThingPrincipals(Consumer<ListThingPrincipalsRequest.Builder> listThingPrincipalsRequest)
Lists the principals associated with the specified thing.
ListThingPrincipalsRequest.Builder
avoiding the
need to create one manually via ListThingPrincipalsRequest.builder()
listThingPrincipalsRequest
- a Consumer
that will call methods on ListThingPrincipalsRequest.Builder
.default CompletableFuture<ListThingTypesResponse> listThingTypes(ListThingTypesRequest listThingTypesRequest)
Lists the existing thing types.
listThingTypesRequest
- The input for the ListThingTypes operation.default CompletableFuture<ListThingTypesResponse> listThingTypes()
Lists the existing thing types.
default CompletableFuture<ListThingTypesResponse> listThingTypes(Consumer<ListThingTypesRequest.Builder> listThingTypesRequest)
Lists the existing thing types.
ListThingTypesRequest.Builder
avoiding the need to
create one manually via ListThingTypesRequest.builder()
listThingTypesRequest
- a Consumer
that will call methods on ListThingTypesRequest.Builder
.default CompletableFuture<ListThingsResponse> listThings(ListThingsRequest listThingsRequest)
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings
with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
listThingsRequest
- The input for the ListThings operation.default CompletableFuture<ListThingsResponse> listThings()
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings
with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
default CompletableFuture<ListThingsResponse> listThings(Consumer<ListThingsRequest.Builder> listThingsRequest)
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings
with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
ListThingsRequest.Builder
avoiding the need to
create one manually via ListThingsRequest.builder()
listThingsRequest
- a Consumer
that will call methods on ListThingsRequest.Builder
.default CompletableFuture<ListTopicRulesResponse> listTopicRules(ListTopicRulesRequest listTopicRulesRequest)
Lists the rules for the specific topic.
listTopicRulesRequest
- The input for the ListTopicRules operation.default CompletableFuture<ListTopicRulesResponse> listTopicRules()
Lists the rules for the specific topic.
default CompletableFuture<ListTopicRulesResponse> listTopicRules(Consumer<ListTopicRulesRequest.Builder> listTopicRulesRequest)
Lists the rules for the specific topic.
ListTopicRulesRequest.Builder
avoiding the need to
create one manually via ListTopicRulesRequest.builder()
listTopicRulesRequest
- a Consumer
that will call methods on ListTopicRulesRequest.Builder
.default CompletableFuture<RegisterCACertificateResponse> registerCACertificate(RegisterCACertificateRequest registerCACertificateRequest)
Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API.
registerCACertificateRequest
- The input to the RegisterCACertificate operation.default CompletableFuture<RegisterCACertificateResponse> registerCACertificate(Consumer<RegisterCACertificateRequest.Builder> registerCACertificateRequest)
Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API.
RegisterCACertificateRequest.Builder
avoiding the
need to create one manually via RegisterCACertificateRequest.builder()
registerCACertificateRequest
- a Consumer
that will call methods on RegisterCACertificateRequest.Builder
.default CompletableFuture<RegisterCertificateResponse> registerCertificate(RegisterCertificateRequest registerCertificateRequest)
Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.
registerCertificateRequest
- The input to the RegisterCertificate operation.default CompletableFuture<RegisterCertificateResponse> registerCertificate(Consumer<RegisterCertificateRequest.Builder> registerCertificateRequest)
Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.
RegisterCertificateRequest.Builder
avoiding the
need to create one manually via RegisterCertificateRequest.builder()
registerCertificateRequest
- a Consumer
that will call methods on RegisterCertificateRequest.Builder
.default CompletableFuture<RejectCertificateTransferResponse> rejectCertificateTransfer(RejectCertificateTransferRequest rejectCertificateTransferRequest)
Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.
rejectCertificateTransferRequest
- The input for the RejectCertificateTransfer operation.default CompletableFuture<RejectCertificateTransferResponse> rejectCertificateTransfer(Consumer<RejectCertificateTransferRequest.Builder> rejectCertificateTransferRequest)
Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.
RejectCertificateTransferRequest.Builder
avoiding
the need to create one manually via RejectCertificateTransferRequest.builder()
rejectCertificateTransferRequest
- a Consumer
that will call methods on RejectCertificateTransferRequest.Builder
.default CompletableFuture<ReplaceTopicRuleResponse> replaceTopicRule(ReplaceTopicRuleRequest replaceTopicRuleRequest)
Replaces the specified rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
replaceTopicRuleRequest
- The input for the ReplaceTopicRule operation.default CompletableFuture<ReplaceTopicRuleResponse> replaceTopicRule(Consumer<ReplaceTopicRuleRequest.Builder> replaceTopicRuleRequest)
Replaces the specified rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
ReplaceTopicRuleRequest.Builder
avoiding the need
to create one manually via ReplaceTopicRuleRequest.builder()
replaceTopicRuleRequest
- a Consumer
that will call methods on ReplaceTopicRuleRequest.Builder
.default CompletableFuture<SetDefaultPolicyVersionResponse> setDefaultPolicyVersion(SetDefaultPolicyVersionRequest setDefaultPolicyVersionRequest)
Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API.
setDefaultPolicyVersionRequest
- The input for the SetDefaultPolicyVersion operation.default CompletableFuture<SetDefaultPolicyVersionResponse> setDefaultPolicyVersion(Consumer<SetDefaultPolicyVersionRequest.Builder> setDefaultPolicyVersionRequest)
Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API.
SetDefaultPolicyVersionRequest.Builder
avoiding
the need to create one manually via SetDefaultPolicyVersionRequest.builder()
setDefaultPolicyVersionRequest
- a Consumer
that will call methods on SetDefaultPolicyVersionRequest.Builder
.default CompletableFuture<SetLoggingOptionsResponse> setLoggingOptions(SetLoggingOptionsRequest setLoggingOptionsRequest)
Sets the logging options.
setLoggingOptionsRequest
- The input for the SetLoggingOptions operation.default CompletableFuture<SetLoggingOptionsResponse> setLoggingOptions(Consumer<SetLoggingOptionsRequest.Builder> setLoggingOptionsRequest)
Sets the logging options.
SetLoggingOptionsRequest.Builder
avoiding the need
to create one manually via SetLoggingOptionsRequest.builder()
setLoggingOptionsRequest
- a Consumer
that will call methods on SetLoggingOptionsRequest.Builder
.default CompletableFuture<TransferCertificateResponse> transferCertificate(TransferCertificateRequest transferCertificateRequest)
Transfers the specified certificate to the specified AWS account.
You can cancel the transfer until it is acknowledged by the recipient.
No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target.
The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it.
The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them.
transferCertificateRequest
- The input for the TransferCertificate operation.default CompletableFuture<TransferCertificateResponse> transferCertificate(Consumer<TransferCertificateRequest.Builder> transferCertificateRequest)
Transfers the specified certificate to the specified AWS account.
You can cancel the transfer until it is acknowledged by the recipient.
No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target.
The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it.
The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them.
TransferCertificateRequest.Builder
avoiding the
need to create one manually via TransferCertificateRequest.builder()
transferCertificateRequest
- a Consumer
that will call methods on TransferCertificateRequest.Builder
.default CompletableFuture<UpdateCACertificateResponse> updateCACertificate(UpdateCACertificateRequest updateCACertificateRequest)
Updates a registered CA certificate.
updateCACertificateRequest
- The input to the UpdateCACertificate operation.default CompletableFuture<UpdateCACertificateResponse> updateCACertificate(Consumer<UpdateCACertificateRequest.Builder> updateCACertificateRequest)
Updates a registered CA certificate.
UpdateCACertificateRequest.Builder
avoiding the
need to create one manually via UpdateCACertificateRequest.builder()
updateCACertificateRequest
- a Consumer
that will call methods on UpdateCACertificateRequest.Builder
.default CompletableFuture<UpdateCertificateResponse> updateCertificate(UpdateCertificateRequest updateCertificateRequest)
Updates the status of the specified certificate. This operation is idempotent.
Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect currently connected devices, but these devices will be unable to reconnect.
The ACTIVE state is required to authenticate devices connecting to AWS IoT using a certificate.
updateCertificateRequest
- The input for the UpdateCertificate operation.default CompletableFuture<UpdateCertificateResponse> updateCertificate(Consumer<UpdateCertificateRequest.Builder> updateCertificateRequest)
Updates the status of the specified certificate. This operation is idempotent.
Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect currently connected devices, but these devices will be unable to reconnect.
The ACTIVE state is required to authenticate devices connecting to AWS IoT using a certificate.
UpdateCertificateRequest.Builder
avoiding the need
to create one manually via UpdateCertificateRequest.builder()
updateCertificateRequest
- a Consumer
that will call methods on UpdateCertificateRequest.Builder
.default CompletableFuture<UpdateThingResponse> updateThing(UpdateThingRequest updateThingRequest)
Updates the data for a thing.
updateThingRequest
- The input for the UpdateThing operation.default CompletableFuture<UpdateThingResponse> updateThing(Consumer<UpdateThingRequest.Builder> updateThingRequest)
Updates the data for a thing.
UpdateThingRequest.Builder
avoiding the need to
create one manually via UpdateThingRequest.builder()
updateThingRequest
- a Consumer
that will call methods on UpdateThingRequest.Builder
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.