@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSIotAsync extends AbstractAWSIot implements AWSIotAsync
AWSIotAsync. Convenient method forms pass through to the corresponding overload
that takes a request object and an AsyncHandler, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAWSIotAsync() |
acceptCertificateTransfer, attachPrincipalPolicy, attachThingPrincipal, cancelCertificateTransfer, createCertificateFromCsr, createKeysAndCertificate, createPolicy, createPolicyVersion, createThing, createThingType, createTopicRule, deleteCACertificate, deleteCertificate, deletePolicy, deletePolicyVersion, deleteRegistrationCode, deleteThing, deleteThingType, deleteTopicRule, deprecateThingType, describeCACertificate, describeCertificate, describeEndpoint, describeThing, describeThingType, detachPrincipalPolicy, detachThingPrincipal, disableTopicRule, enableTopicRule, getCachedResponseMetadata, getLoggingOptions, getPolicy, getPolicyVersion, getRegistrationCode, getTopicRule, listCACertificates, listCertificates, listCertificatesByCA, listOutgoingCertificates, listPolicies, listPolicyPrincipals, listPolicyVersions, listPrincipalPolicies, listPrincipalThings, listThingPrincipals, listThings, listThingTypes, listTopicRules, registerCACertificate, registerCertificate, rejectCertificateTransfer, replaceTopicRule, setDefaultPolicyVersion, setEndpoint, setLoggingOptions, setRegion, shutdown, transferCertificate, updateCACertificate, updateCertificate, updateThingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptCertificateTransfer, attachPrincipalPolicy, attachThingPrincipal, cancelCertificateTransfer, createCertificateFromCsr, createKeysAndCertificate, createPolicy, createPolicyVersion, createThing, createThingType, createTopicRule, deleteCACertificate, deleteCertificate, deletePolicy, deletePolicyVersion, deleteRegistrationCode, deleteThing, deleteThingType, deleteTopicRule, deprecateThingType, describeCACertificate, describeCertificate, describeEndpoint, describeThing, describeThingType, detachPrincipalPolicy, detachThingPrincipal, disableTopicRule, enableTopicRule, getCachedResponseMetadata, getLoggingOptions, getPolicy, getPolicyVersion, getRegistrationCode, getTopicRule, listCACertificates, listCertificates, listCertificatesByCA, listOutgoingCertificates, listPolicies, listPolicyPrincipals, listPolicyVersions, listPrincipalPolicies, listPrincipalThings, listThingPrincipals, listThings, listThingTypes, listTopicRules, registerCACertificate, registerCertificate, rejectCertificateTransfer, replaceTopicRule, setDefaultPolicyVersion, setEndpoint, setLoggingOptions, setRegion, shutdown, transferCertificate, updateCACertificate, updateCertificate, updateThingpublic Future<AcceptCertificateTransferResult> acceptCertificateTransferAsync(AcceptCertificateTransferRequest request)
AWSIotAsyncAccepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
acceptCertificateTransferAsync in interface AWSIotAsyncrequest - The input for the AcceptCertificateTransfer operation.public Future<AcceptCertificateTransferResult> acceptCertificateTransferAsync(AcceptCertificateTransferRequest request, AsyncHandler<AcceptCertificateTransferRequest,AcceptCertificateTransferResult> asyncHandler)
AWSIotAsyncAccepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
acceptCertificateTransferAsync in interface AWSIotAsyncrequest - The input for the AcceptCertificateTransfer operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AttachPrincipalPolicyResult> attachPrincipalPolicyAsync(AttachPrincipalPolicyRequest request)
AWSIotAsyncAttaches the specified policy to the specified principal (certificate or other credential).
attachPrincipalPolicyAsync in interface AWSIotAsyncrequest - The input for the AttachPrincipalPolicy operation.public Future<AttachPrincipalPolicyResult> attachPrincipalPolicyAsync(AttachPrincipalPolicyRequest request, AsyncHandler<AttachPrincipalPolicyRequest,AttachPrincipalPolicyResult> asyncHandler)
AWSIotAsyncAttaches the specified policy to the specified principal (certificate or other credential).
attachPrincipalPolicyAsync in interface AWSIotAsyncrequest - The input for the AttachPrincipalPolicy operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AttachThingPrincipalResult> attachThingPrincipalAsync(AttachThingPrincipalRequest request)
AWSIotAsyncAttaches the specified principal to the specified thing.
attachThingPrincipalAsync in interface AWSIotAsyncrequest - The input for the AttachThingPrincipal operation.public Future<AttachThingPrincipalResult> attachThingPrincipalAsync(AttachThingPrincipalRequest request, AsyncHandler<AttachThingPrincipalRequest,AttachThingPrincipalResult> asyncHandler)
AWSIotAsyncAttaches the specified principal to the specified thing.
attachThingPrincipalAsync in interface AWSIotAsyncrequest - The input for the AttachThingPrincipal operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CancelCertificateTransferResult> cancelCertificateTransferAsync(CancelCertificateTransferRequest request)
AWSIotAsyncCancels 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.
cancelCertificateTransferAsync in interface AWSIotAsyncrequest - The input for the CancelCertificateTransfer operation.public Future<CancelCertificateTransferResult> cancelCertificateTransferAsync(CancelCertificateTransferRequest request, AsyncHandler<CancelCertificateTransferRequest,CancelCertificateTransferResult> asyncHandler)
AWSIotAsyncCancels 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.
cancelCertificateTransferAsync in interface AWSIotAsyncrequest - The input for the CancelCertificateTransfer operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateCertificateFromCsrResult> createCertificateFromCsrAsync(CreateCertificateFromCsrRequest request)
AWSIotAsyncCreates an X.509 certificate using the specified certificate signing request.
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"
createCertificateFromCsrAsync in interface AWSIotAsyncrequest - The input for the CreateCertificateFromCsr operation.public Future<CreateCertificateFromCsrResult> createCertificateFromCsrAsync(CreateCertificateFromCsrRequest request, AsyncHandler<CreateCertificateFromCsrRequest,CreateCertificateFromCsrResult> asyncHandler)
AWSIotAsyncCreates an X.509 certificate using the specified certificate signing request.
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"
createCertificateFromCsrAsync in interface AWSIotAsyncrequest - The input for the CreateCertificateFromCsr operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateKeysAndCertificateResult> createKeysAndCertificateAsync(CreateKeysAndCertificateRequest request)
AWSIotAsyncCreates 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.
createKeysAndCertificateAsync in interface AWSIotAsyncrequest - The input for the CreateKeysAndCertificate operation.public Future<CreateKeysAndCertificateResult> createKeysAndCertificateAsync(CreateKeysAndCertificateRequest request, AsyncHandler<CreateKeysAndCertificateRequest,CreateKeysAndCertificateResult> asyncHandler)
AWSIotAsyncCreates 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.
createKeysAndCertificateAsync in interface AWSIotAsyncrequest - The input for the CreateKeysAndCertificate operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreatePolicyResult> createPolicyAsync(CreatePolicyRequest request)
AWSIotAsyncCreates 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.
createPolicyAsync in interface AWSIotAsyncrequest - The input for the CreatePolicy operation.public Future<CreatePolicyResult> createPolicyAsync(CreatePolicyRequest request, AsyncHandler<CreatePolicyRequest,CreatePolicyResult> asyncHandler)
AWSIotAsyncCreates 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.
createPolicyAsync in interface AWSIotAsyncrequest - The input for the CreatePolicy operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreatePolicyVersionResult> createPolicyVersionAsync(CreatePolicyVersionRequest request)
AWSIotAsyncCreates 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).
createPolicyVersionAsync in interface AWSIotAsyncrequest - The input for the CreatePolicyVersion operation.public Future<CreatePolicyVersionResult> createPolicyVersionAsync(CreatePolicyVersionRequest request, AsyncHandler<CreatePolicyVersionRequest,CreatePolicyVersionResult> asyncHandler)
AWSIotAsyncCreates 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).
createPolicyVersionAsync in interface AWSIotAsyncrequest - The input for the CreatePolicyVersion operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateThingResult> createThingAsync(CreateThingRequest request)
AWSIotAsyncCreates a thing record in the thing registry.
createThingAsync in interface AWSIotAsyncrequest - The input for the CreateThing operation.public Future<CreateThingResult> createThingAsync(CreateThingRequest request, AsyncHandler<CreateThingRequest,CreateThingResult> asyncHandler)
AWSIotAsyncCreates a thing record in the thing registry.
createThingAsync in interface AWSIotAsyncrequest - The input for the CreateThing operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateThingTypeResult> createThingTypeAsync(CreateThingTypeRequest request)
AWSIotAsyncCreates a new thing type.
createThingTypeAsync in interface AWSIotAsyncrequest - The input for the CreateThingType operation.public Future<CreateThingTypeResult> createThingTypeAsync(CreateThingTypeRequest request, AsyncHandler<CreateThingTypeRequest,CreateThingTypeResult> asyncHandler)
AWSIotAsyncCreates a new thing type.
createThingTypeAsync in interface AWSIotAsyncrequest - The input for the CreateThingType operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateTopicRuleResult> createTopicRuleAsync(CreateTopicRuleRequest request)
AWSIotAsyncCreates 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.
createTopicRuleAsync in interface AWSIotAsyncrequest - The input for the CreateTopicRule operation.public Future<CreateTopicRuleResult> createTopicRuleAsync(CreateTopicRuleRequest request, AsyncHandler<CreateTopicRuleRequest,CreateTopicRuleResult> asyncHandler)
AWSIotAsyncCreates 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.
createTopicRuleAsync in interface AWSIotAsyncrequest - The input for the CreateTopicRule operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCACertificateResult> deleteCACertificateAsync(DeleteCACertificateRequest request)
AWSIotAsyncDeletes a registered CA certificate.
deleteCACertificateAsync in interface AWSIotAsyncrequest - Input for the DeleteCACertificate operation.public Future<DeleteCACertificateResult> deleteCACertificateAsync(DeleteCACertificateRequest request, AsyncHandler<DeleteCACertificateRequest,DeleteCACertificateResult> asyncHandler)
AWSIotAsyncDeletes a registered CA certificate.
deleteCACertificateAsync in interface AWSIotAsyncrequest - Input for the DeleteCACertificate operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCertificateResult> deleteCertificateAsync(DeleteCertificateRequest request)
AWSIotAsyncDeletes 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.
deleteCertificateAsync in interface AWSIotAsyncrequest - The input for the DeleteCertificate operation.public Future<DeleteCertificateResult> deleteCertificateAsync(DeleteCertificateRequest request, AsyncHandler<DeleteCertificateRequest,DeleteCertificateResult> asyncHandler)
AWSIotAsyncDeletes 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.
deleteCertificateAsync in interface AWSIotAsyncrequest - The input for the DeleteCertificate operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeletePolicyResult> deletePolicyAsync(DeletePolicyRequest request)
AWSIotAsyncDeletes 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.
deletePolicyAsync in interface AWSIotAsyncrequest - The input for the DeletePolicy operation.public Future<DeletePolicyResult> deletePolicyAsync(DeletePolicyRequest request, AsyncHandler<DeletePolicyRequest,DeletePolicyResult> asyncHandler)
AWSIotAsyncDeletes 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.
deletePolicyAsync in interface AWSIotAsyncrequest - The input for the DeletePolicy operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeletePolicyVersionResult> deletePolicyVersionAsync(DeletePolicyVersionRequest request)
AWSIotAsyncDeletes 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.
deletePolicyVersionAsync in interface AWSIotAsyncrequest - The input for the DeletePolicyVersion operation.public Future<DeletePolicyVersionResult> deletePolicyVersionAsync(DeletePolicyVersionRequest request, AsyncHandler<DeletePolicyVersionRequest,DeletePolicyVersionResult> asyncHandler)
AWSIotAsyncDeletes 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.
deletePolicyVersionAsync in interface AWSIotAsyncrequest - The input for the DeletePolicyVersion operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRegistrationCodeResult> deleteRegistrationCodeAsync(DeleteRegistrationCodeRequest request)
AWSIotAsyncDeletes a CA certificate registration code.
deleteRegistrationCodeAsync in interface AWSIotAsyncrequest - The input for the DeleteRegistrationCode operation.public Future<DeleteRegistrationCodeResult> deleteRegistrationCodeAsync(DeleteRegistrationCodeRequest request, AsyncHandler<DeleteRegistrationCodeRequest,DeleteRegistrationCodeResult> asyncHandler)
AWSIotAsyncDeletes a CA certificate registration code.
deleteRegistrationCodeAsync in interface AWSIotAsyncrequest - The input for the DeleteRegistrationCode operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteThingResult> deleteThingAsync(DeleteThingRequest request)
AWSIotAsyncDeletes the specified thing.
deleteThingAsync in interface AWSIotAsyncrequest - The input for the DeleteThing operation.public Future<DeleteThingResult> deleteThingAsync(DeleteThingRequest request, AsyncHandler<DeleteThingRequest,DeleteThingResult> asyncHandler)
AWSIotAsyncDeletes the specified thing.
deleteThingAsync in interface AWSIotAsyncrequest - The input for the DeleteThing operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteThingTypeResult> deleteThingTypeAsync(DeleteThingTypeRequest request)
AWSIotAsyncDeletes 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.
deleteThingTypeAsync in interface AWSIotAsyncrequest - The input for the DeleteThingType operation.public Future<DeleteThingTypeResult> deleteThingTypeAsync(DeleteThingTypeRequest request, AsyncHandler<DeleteThingTypeRequest,DeleteThingTypeResult> asyncHandler)
AWSIotAsyncDeletes 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.
deleteThingTypeAsync in interface AWSIotAsyncrequest - The input for the DeleteThingType operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteTopicRuleResult> deleteTopicRuleAsync(DeleteTopicRuleRequest request)
AWSIotAsyncDeletes the specified rule.
deleteTopicRuleAsync in interface AWSIotAsyncrequest - The input for the DeleteTopicRule operation.public Future<DeleteTopicRuleResult> deleteTopicRuleAsync(DeleteTopicRuleRequest request, AsyncHandler<DeleteTopicRuleRequest,DeleteTopicRuleResult> asyncHandler)
AWSIotAsyncDeletes the specified rule.
deleteTopicRuleAsync in interface AWSIotAsyncrequest - The input for the DeleteTopicRule operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeprecateThingTypeResult> deprecateThingTypeAsync(DeprecateThingTypeRequest request)
AWSIotAsyncDeprecates a thing type. You can not associate new things with deprecated thing type.
deprecateThingTypeAsync in interface AWSIotAsyncrequest - The input for the DeprecateThingType operation.public Future<DeprecateThingTypeResult> deprecateThingTypeAsync(DeprecateThingTypeRequest request, AsyncHandler<DeprecateThingTypeRequest,DeprecateThingTypeResult> asyncHandler)
AWSIotAsyncDeprecates a thing type. You can not associate new things with deprecated thing type.
deprecateThingTypeAsync in interface AWSIotAsyncrequest - The input for the DeprecateThingType operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCACertificateResult> describeCACertificateAsync(DescribeCACertificateRequest request)
AWSIotAsyncDescribes a registered CA certificate.
describeCACertificateAsync in interface AWSIotAsyncrequest - The input for the DescribeCACertificate operation.public Future<DescribeCACertificateResult> describeCACertificateAsync(DescribeCACertificateRequest request, AsyncHandler<DescribeCACertificateRequest,DescribeCACertificateResult> asyncHandler)
AWSIotAsyncDescribes a registered CA certificate.
describeCACertificateAsync in interface AWSIotAsyncrequest - The input for the DescribeCACertificate operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCertificateResult> describeCertificateAsync(DescribeCertificateRequest request)
AWSIotAsyncGets information about the specified certificate.
describeCertificateAsync in interface AWSIotAsyncrequest - The input for the DescribeCertificate operation.public Future<DescribeCertificateResult> describeCertificateAsync(DescribeCertificateRequest request, AsyncHandler<DescribeCertificateRequest,DescribeCertificateResult> asyncHandler)
AWSIotAsyncGets information about the specified certificate.
describeCertificateAsync in interface AWSIotAsyncrequest - The input for the DescribeCertificate operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEndpointResult> describeEndpointAsync(DescribeEndpointRequest request)
AWSIotAsyncReturns a unique endpoint specific to the AWS account making the call.
describeEndpointAsync in interface AWSIotAsyncrequest - The input for the DescribeEndpoint operation.public Future<DescribeEndpointResult> describeEndpointAsync(DescribeEndpointRequest request, AsyncHandler<DescribeEndpointRequest,DescribeEndpointResult> asyncHandler)
AWSIotAsyncReturns a unique endpoint specific to the AWS account making the call.
describeEndpointAsync in interface AWSIotAsyncrequest - The input for the DescribeEndpoint operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeThingResult> describeThingAsync(DescribeThingRequest request)
AWSIotAsyncGets information about the specified thing.
describeThingAsync in interface AWSIotAsyncrequest - The input for the DescribeThing operation.public Future<DescribeThingResult> describeThingAsync(DescribeThingRequest request, AsyncHandler<DescribeThingRequest,DescribeThingResult> asyncHandler)
AWSIotAsyncGets information about the specified thing.
describeThingAsync in interface AWSIotAsyncrequest - The input for the DescribeThing operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeThingTypeResult> describeThingTypeAsync(DescribeThingTypeRequest request)
AWSIotAsyncGets information about the specified thing type.
describeThingTypeAsync in interface AWSIotAsyncrequest - The input for the DescribeThingType operation.public Future<DescribeThingTypeResult> describeThingTypeAsync(DescribeThingTypeRequest request, AsyncHandler<DescribeThingTypeRequest,DescribeThingTypeResult> asyncHandler)
AWSIotAsyncGets information about the specified thing type.
describeThingTypeAsync in interface AWSIotAsyncrequest - The input for the DescribeThingType operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetachPrincipalPolicyResult> detachPrincipalPolicyAsync(DetachPrincipalPolicyRequest request)
AWSIotAsyncRemoves the specified policy from the specified certificate.
detachPrincipalPolicyAsync in interface AWSIotAsyncrequest - The input for the DetachPrincipalPolicy operation.public Future<DetachPrincipalPolicyResult> detachPrincipalPolicyAsync(DetachPrincipalPolicyRequest request, AsyncHandler<DetachPrincipalPolicyRequest,DetachPrincipalPolicyResult> asyncHandler)
AWSIotAsyncRemoves the specified policy from the specified certificate.
detachPrincipalPolicyAsync in interface AWSIotAsyncrequest - The input for the DetachPrincipalPolicy operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetachThingPrincipalResult> detachThingPrincipalAsync(DetachThingPrincipalRequest request)
AWSIotAsyncDetaches the specified principal from the specified thing.
detachThingPrincipalAsync in interface AWSIotAsyncrequest - The input for the DetachThingPrincipal operation.public Future<DetachThingPrincipalResult> detachThingPrincipalAsync(DetachThingPrincipalRequest request, AsyncHandler<DetachThingPrincipalRequest,DetachThingPrincipalResult> asyncHandler)
AWSIotAsyncDetaches the specified principal from the specified thing.
detachThingPrincipalAsync in interface AWSIotAsyncrequest - The input for the DetachThingPrincipal operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisableTopicRuleResult> disableTopicRuleAsync(DisableTopicRuleRequest request)
AWSIotAsyncDisables the specified rule.
disableTopicRuleAsync in interface AWSIotAsyncrequest - The input for the DisableTopicRuleRequest operation.public Future<DisableTopicRuleResult> disableTopicRuleAsync(DisableTopicRuleRequest request, AsyncHandler<DisableTopicRuleRequest,DisableTopicRuleResult> asyncHandler)
AWSIotAsyncDisables the specified rule.
disableTopicRuleAsync in interface AWSIotAsyncrequest - The input for the DisableTopicRuleRequest operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<EnableTopicRuleResult> enableTopicRuleAsync(EnableTopicRuleRequest request)
AWSIotAsyncEnables the specified rule.
enableTopicRuleAsync in interface AWSIotAsyncrequest - The input for the EnableTopicRuleRequest operation.public Future<EnableTopicRuleResult> enableTopicRuleAsync(EnableTopicRuleRequest request, AsyncHandler<EnableTopicRuleRequest,EnableTopicRuleResult> asyncHandler)
AWSIotAsyncEnables the specified rule.
enableTopicRuleAsync in interface AWSIotAsyncrequest - The input for the EnableTopicRuleRequest operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetLoggingOptionsResult> getLoggingOptionsAsync(GetLoggingOptionsRequest request)
AWSIotAsyncGets the logging options.
getLoggingOptionsAsync in interface AWSIotAsyncrequest - The input for the GetLoggingOptions operation.public Future<GetLoggingOptionsResult> getLoggingOptionsAsync(GetLoggingOptionsRequest request, AsyncHandler<GetLoggingOptionsRequest,GetLoggingOptionsResult> asyncHandler)
AWSIotAsyncGets the logging options.
getLoggingOptionsAsync in interface AWSIotAsyncrequest - The input for the GetLoggingOptions operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest request)
AWSIotAsyncGets information about the specified policy with the policy document of the default version.
getPolicyAsync in interface AWSIotAsyncrequest - The input for the GetPolicy operation.public Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest request, AsyncHandler<GetPolicyRequest,GetPolicyResult> asyncHandler)
AWSIotAsyncGets information about the specified policy with the policy document of the default version.
getPolicyAsync in interface AWSIotAsyncrequest - The input for the GetPolicy operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetPolicyVersionResult> getPolicyVersionAsync(GetPolicyVersionRequest request)
AWSIotAsyncGets information about the specified policy version.
getPolicyVersionAsync in interface AWSIotAsyncrequest - The input for the GetPolicyVersion operation.public Future<GetPolicyVersionResult> getPolicyVersionAsync(GetPolicyVersionRequest request, AsyncHandler<GetPolicyVersionRequest,GetPolicyVersionResult> asyncHandler)
AWSIotAsyncGets information about the specified policy version.
getPolicyVersionAsync in interface AWSIotAsyncrequest - The input for the GetPolicyVersion operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRegistrationCodeResult> getRegistrationCodeAsync(GetRegistrationCodeRequest request)
AWSIotAsyncGets a registration code used to register a CA certificate with AWS IoT.
getRegistrationCodeAsync in interface AWSIotAsyncrequest - The input to the GetRegistrationCode operation.public Future<GetRegistrationCodeResult> getRegistrationCodeAsync(GetRegistrationCodeRequest request, AsyncHandler<GetRegistrationCodeRequest,GetRegistrationCodeResult> asyncHandler)
AWSIotAsyncGets a registration code used to register a CA certificate with AWS IoT.
getRegistrationCodeAsync in interface AWSIotAsyncrequest - The input to the GetRegistrationCode operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTopicRuleResult> getTopicRuleAsync(GetTopicRuleRequest request)
AWSIotAsyncGets information about the specified rule.
getTopicRuleAsync in interface AWSIotAsyncrequest - The input for the GetTopicRule operation.public Future<GetTopicRuleResult> getTopicRuleAsync(GetTopicRuleRequest request, AsyncHandler<GetTopicRuleRequest,GetTopicRuleResult> asyncHandler)
AWSIotAsyncGets information about the specified rule.
getTopicRuleAsync in interface AWSIotAsyncrequest - The input for the GetTopicRule operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListCACertificatesResult> listCACertificatesAsync(ListCACertificatesRequest request)
AWSIotAsyncLists 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.
listCACertificatesAsync in interface AWSIotAsyncrequest - Input for the ListCACertificates operation.public Future<ListCACertificatesResult> listCACertificatesAsync(ListCACertificatesRequest request, AsyncHandler<ListCACertificatesRequest,ListCACertificatesResult> asyncHandler)
AWSIotAsyncLists 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.
listCACertificatesAsync in interface AWSIotAsyncrequest - Input for the ListCACertificates operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListCertificatesResult> listCertificatesAsync(ListCertificatesRequest request)
AWSIotAsyncLists 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.
listCertificatesAsync in interface AWSIotAsyncrequest - The input for the ListCertificates operation.public Future<ListCertificatesResult> listCertificatesAsync(ListCertificatesRequest request, AsyncHandler<ListCertificatesRequest,ListCertificatesResult> asyncHandler)
AWSIotAsyncLists 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.
listCertificatesAsync in interface AWSIotAsyncrequest - The input for the ListCertificates operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListCertificatesByCAResult> listCertificatesByCAAsync(ListCertificatesByCARequest request)
AWSIotAsyncList the device certificates signed by the specified CA certificate.
listCertificatesByCAAsync in interface AWSIotAsyncrequest - The input to the ListCertificatesByCA operation.public Future<ListCertificatesByCAResult> listCertificatesByCAAsync(ListCertificatesByCARequest request, AsyncHandler<ListCertificatesByCARequest,ListCertificatesByCAResult> asyncHandler)
AWSIotAsyncList the device certificates signed by the specified CA certificate.
listCertificatesByCAAsync in interface AWSIotAsyncrequest - The input to the ListCertificatesByCA operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListOutgoingCertificatesResult> listOutgoingCertificatesAsync(ListOutgoingCertificatesRequest request)
AWSIotAsyncLists certificates that are being transfered but not yet accepted.
listOutgoingCertificatesAsync in interface AWSIotAsyncrequest - The input to the ListOutgoingCertificates operation.public Future<ListOutgoingCertificatesResult> listOutgoingCertificatesAsync(ListOutgoingCertificatesRequest request, AsyncHandler<ListOutgoingCertificatesRequest,ListOutgoingCertificatesResult> asyncHandler)
AWSIotAsyncLists certificates that are being transfered but not yet accepted.
listOutgoingCertificatesAsync in interface AWSIotAsyncrequest - The input to the ListOutgoingCertificates operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPoliciesResult> listPoliciesAsync(ListPoliciesRequest request)
AWSIotAsyncLists your policies.
listPoliciesAsync in interface AWSIotAsyncrequest - The input for the ListPolicies operation.public Future<ListPoliciesResult> listPoliciesAsync(ListPoliciesRequest request, AsyncHandler<ListPoliciesRequest,ListPoliciesResult> asyncHandler)
AWSIotAsyncLists your policies.
listPoliciesAsync in interface AWSIotAsyncrequest - The input for the ListPolicies operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPolicyPrincipalsResult> listPolicyPrincipalsAsync(ListPolicyPrincipalsRequest request)
AWSIotAsyncLists the principals associated with the specified policy.
listPolicyPrincipalsAsync in interface AWSIotAsyncrequest - The input for the ListPolicyPrincipals operation.public Future<ListPolicyPrincipalsResult> listPolicyPrincipalsAsync(ListPolicyPrincipalsRequest request, AsyncHandler<ListPolicyPrincipalsRequest,ListPolicyPrincipalsResult> asyncHandler)
AWSIotAsyncLists the principals associated with the specified policy.
listPolicyPrincipalsAsync in interface AWSIotAsyncrequest - The input for the ListPolicyPrincipals operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPolicyVersionsResult> listPolicyVersionsAsync(ListPolicyVersionsRequest request)
AWSIotAsyncLists the versions of the specified policy and identifies the default version.
listPolicyVersionsAsync in interface AWSIotAsyncrequest - The input for the ListPolicyVersions operation.public Future<ListPolicyVersionsResult> listPolicyVersionsAsync(ListPolicyVersionsRequest request, AsyncHandler<ListPolicyVersionsRequest,ListPolicyVersionsResult> asyncHandler)
AWSIotAsyncLists the versions of the specified policy and identifies the default version.
listPolicyVersionsAsync in interface AWSIotAsyncrequest - The input for the ListPolicyVersions operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPrincipalPoliciesResult> listPrincipalPoliciesAsync(ListPrincipalPoliciesRequest request)
AWSIotAsyncLists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.
listPrincipalPoliciesAsync in interface AWSIotAsyncrequest - The input for the ListPrincipalPolicies operation.public Future<ListPrincipalPoliciesResult> listPrincipalPoliciesAsync(ListPrincipalPoliciesRequest request, AsyncHandler<ListPrincipalPoliciesRequest,ListPrincipalPoliciesResult> asyncHandler)
AWSIotAsyncLists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.
listPrincipalPoliciesAsync in interface AWSIotAsyncrequest - The input for the ListPrincipalPolicies operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPrincipalThingsResult> listPrincipalThingsAsync(ListPrincipalThingsRequest request)
AWSIotAsyncLists the things associated with the specified principal.
listPrincipalThingsAsync in interface AWSIotAsyncrequest - The input for the ListPrincipalThings operation.public Future<ListPrincipalThingsResult> listPrincipalThingsAsync(ListPrincipalThingsRequest request, AsyncHandler<ListPrincipalThingsRequest,ListPrincipalThingsResult> asyncHandler)
AWSIotAsyncLists the things associated with the specified principal.
listPrincipalThingsAsync in interface AWSIotAsyncrequest - The input for the ListPrincipalThings operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListThingPrincipalsResult> listThingPrincipalsAsync(ListThingPrincipalsRequest request)
AWSIotAsyncLists the principals associated with the specified thing.
listThingPrincipalsAsync in interface AWSIotAsyncrequest - The input for the ListThingPrincipal operation.public Future<ListThingPrincipalsResult> listThingPrincipalsAsync(ListThingPrincipalsRequest request, AsyncHandler<ListThingPrincipalsRequest,ListThingPrincipalsResult> asyncHandler)
AWSIotAsyncLists the principals associated with the specified thing.
listThingPrincipalsAsync in interface AWSIotAsyncrequest - The input for the ListThingPrincipal operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListThingTypesResult> listThingTypesAsync(ListThingTypesRequest request)
AWSIotAsyncLists the existing thing types.
listThingTypesAsync in interface AWSIotAsyncrequest - The input for the ListThingTypes operation.public Future<ListThingTypesResult> listThingTypesAsync(ListThingTypesRequest request, AsyncHandler<ListThingTypesRequest,ListThingTypesResult> asyncHandler)
AWSIotAsyncLists the existing thing types.
listThingTypesAsync in interface AWSIotAsyncrequest - The input for the ListThingTypes operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListThingsResult> listThingsAsync(ListThingsRequest request)
AWSIotAsync
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.
listThingsAsync in interface AWSIotAsyncrequest - The input for the ListThings operation.public Future<ListThingsResult> listThingsAsync(ListThingsRequest request, AsyncHandler<ListThingsRequest,ListThingsResult> asyncHandler)
AWSIotAsync
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.
listThingsAsync in interface AWSIotAsyncrequest - The input for the ListThings operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTopicRulesResult> listTopicRulesAsync(ListTopicRulesRequest request)
AWSIotAsyncLists the rules for the specific topic.
listTopicRulesAsync in interface AWSIotAsyncrequest - The input for the ListTopicRules operation.public Future<ListTopicRulesResult> listTopicRulesAsync(ListTopicRulesRequest request, AsyncHandler<ListTopicRulesRequest,ListTopicRulesResult> asyncHandler)
AWSIotAsyncLists the rules for the specific topic.
listTopicRulesAsync in interface AWSIotAsyncrequest - The input for the ListTopicRules operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RegisterCACertificateResult> registerCACertificateAsync(RegisterCACertificateRequest request)
AWSIotAsyncRegisters 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 and public key. 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.
registerCACertificateAsync in interface AWSIotAsyncrequest - The input to the RegisterCACertificate operation.public Future<RegisterCACertificateResult> registerCACertificateAsync(RegisterCACertificateRequest request, AsyncHandler<RegisterCACertificateRequest,RegisterCACertificateResult> asyncHandler)
AWSIotAsyncRegisters 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 and public key. 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.
registerCACertificateAsync in interface AWSIotAsyncrequest - The input to the RegisterCACertificate operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RegisterCertificateResult> registerCertificateAsync(RegisterCertificateRequest request)
AWSIotAsyncRegisters 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.
registerCertificateAsync in interface AWSIotAsyncrequest - The input to the RegisterCertificate operation.public Future<RegisterCertificateResult> registerCertificateAsync(RegisterCertificateRequest request, AsyncHandler<RegisterCertificateRequest,RegisterCertificateResult> asyncHandler)
AWSIotAsyncRegisters 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.
registerCertificateAsync in interface AWSIotAsyncrequest - The input to the RegisterCertificate operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RejectCertificateTransferResult> rejectCertificateTransferAsync(RejectCertificateTransferRequest request)
AWSIotAsyncRejects 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.
rejectCertificateTransferAsync in interface AWSIotAsyncrequest - The input for the RejectCertificateTransfer operation.public Future<RejectCertificateTransferResult> rejectCertificateTransferAsync(RejectCertificateTransferRequest request, AsyncHandler<RejectCertificateTransferRequest,RejectCertificateTransferResult> asyncHandler)
AWSIotAsyncRejects 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.
rejectCertificateTransferAsync in interface AWSIotAsyncrequest - The input for the RejectCertificateTransfer operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ReplaceTopicRuleResult> replaceTopicRuleAsync(ReplaceTopicRuleRequest request)
AWSIotAsyncReplaces 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.
replaceTopicRuleAsync in interface AWSIotAsyncrequest - The input for the ReplaceTopicRule operation.public Future<ReplaceTopicRuleResult> replaceTopicRuleAsync(ReplaceTopicRuleRequest request, AsyncHandler<ReplaceTopicRuleRequest,ReplaceTopicRuleResult> asyncHandler)
AWSIotAsyncReplaces 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.
replaceTopicRuleAsync in interface AWSIotAsyncrequest - The input for the ReplaceTopicRule operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<SetDefaultPolicyVersionResult> setDefaultPolicyVersionAsync(SetDefaultPolicyVersionRequest request)
AWSIotAsyncSets 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.
setDefaultPolicyVersionAsync in interface AWSIotAsyncrequest - The input for the SetDefaultPolicyVersion operation.public Future<SetDefaultPolicyVersionResult> setDefaultPolicyVersionAsync(SetDefaultPolicyVersionRequest request, AsyncHandler<SetDefaultPolicyVersionRequest,SetDefaultPolicyVersionResult> asyncHandler)
AWSIotAsyncSets 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.
setDefaultPolicyVersionAsync in interface AWSIotAsyncrequest - The input for the SetDefaultPolicyVersion operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<SetLoggingOptionsResult> setLoggingOptionsAsync(SetLoggingOptionsRequest request)
AWSIotAsyncSets the logging options.
setLoggingOptionsAsync in interface AWSIotAsyncrequest - The input for the SetLoggingOptions operation.public Future<SetLoggingOptionsResult> setLoggingOptionsAsync(SetLoggingOptionsRequest request, AsyncHandler<SetLoggingOptionsRequest,SetLoggingOptionsResult> asyncHandler)
AWSIotAsyncSets the logging options.
setLoggingOptionsAsync in interface AWSIotAsyncrequest - The input for the SetLoggingOptions operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TransferCertificateResult> transferCertificateAsync(TransferCertificateRequest request)
AWSIotAsyncTransfers 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.
transferCertificateAsync in interface AWSIotAsyncrequest - The input for the TransferCertificate operation.public Future<TransferCertificateResult> transferCertificateAsync(TransferCertificateRequest request, AsyncHandler<TransferCertificateRequest,TransferCertificateResult> asyncHandler)
AWSIotAsyncTransfers 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.
transferCertificateAsync in interface AWSIotAsyncrequest - The input for the TransferCertificate operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateCACertificateResult> updateCACertificateAsync(UpdateCACertificateRequest request)
AWSIotAsyncUpdates a registered CA certificate.
updateCACertificateAsync in interface AWSIotAsyncrequest - The input to the UpdateCACertificate operation.public Future<UpdateCACertificateResult> updateCACertificateAsync(UpdateCACertificateRequest request, AsyncHandler<UpdateCACertificateRequest,UpdateCACertificateResult> asyncHandler)
AWSIotAsyncUpdates a registered CA certificate.
updateCACertificateAsync in interface AWSIotAsyncrequest - The input to the UpdateCACertificate operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateCertificateResult> updateCertificateAsync(UpdateCertificateRequest request)
AWSIotAsyncUpdates 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.
updateCertificateAsync in interface AWSIotAsyncrequest - The input for the UpdateCertificate operation.public Future<UpdateCertificateResult> updateCertificateAsync(UpdateCertificateRequest request, AsyncHandler<UpdateCertificateRequest,UpdateCertificateResult> asyncHandler)
AWSIotAsyncUpdates 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.
updateCertificateAsync in interface AWSIotAsyncrequest - The input for the UpdateCertificate operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateThingResult> updateThingAsync(UpdateThingRequest request)
AWSIotAsyncUpdates the data for a thing.
updateThingAsync in interface AWSIotAsyncrequest - The input for the UpdateThing operation.public Future<UpdateThingResult> updateThingAsync(UpdateThingRequest request, AsyncHandler<UpdateThingRequest,UpdateThingResult> asyncHandler)
AWSIotAsyncUpdates the data for a thing.
updateThingAsync in interface AWSIotAsyncrequest - The input for the UpdateThing operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2017. All rights reserved.