@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
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, updateThing
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, updateThing
public Future<AcceptCertificateTransferResult> acceptCertificateTransferAsync(AcceptCertificateTransferRequest request)
AWSIotAsync
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.
acceptCertificateTransferAsync
in interface AWSIotAsync
request
- The input for the AcceptCertificateTransfer operation.public Future<AcceptCertificateTransferResult> acceptCertificateTransferAsync(AcceptCertificateTransferRequest request, AsyncHandler<AcceptCertificateTransferRequest,AcceptCertificateTransferResult> asyncHandler)
AWSIotAsync
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.
acceptCertificateTransferAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Attaches the specified policy to the specified principal (certificate or other credential).
attachPrincipalPolicyAsync
in interface AWSIotAsync
request
- The input for the AttachPrincipalPolicy operation.public Future<AttachPrincipalPolicyResult> attachPrincipalPolicyAsync(AttachPrincipalPolicyRequest request, AsyncHandler<AttachPrincipalPolicyRequest,AttachPrincipalPolicyResult> asyncHandler)
AWSIotAsync
Attaches the specified policy to the specified principal (certificate or other credential).
attachPrincipalPolicyAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Attaches the specified principal to the specified thing.
attachThingPrincipalAsync
in interface AWSIotAsync
request
- The input for the AttachThingPrincipal operation.public Future<AttachThingPrincipalResult> attachThingPrincipalAsync(AttachThingPrincipalRequest request, AsyncHandler<AttachThingPrincipalRequest,AttachThingPrincipalResult> asyncHandler)
AWSIotAsync
Attaches the specified principal to the specified thing.
attachThingPrincipalAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
cancelCertificateTransferAsync
in interface AWSIotAsync
request
- The input for the CancelCertificateTransfer operation.public Future<CancelCertificateTransferResult> cancelCertificateTransferAsync(CancelCertificateTransferRequest request, AsyncHandler<CancelCertificateTransferRequest,CancelCertificateTransferResult> asyncHandler)
AWSIotAsync
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.
cancelCertificateTransferAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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"
createCertificateFromCsrAsync
in interface AWSIotAsync
request
- The input for the CreateCertificateFromCsr operation.public Future<CreateCertificateFromCsrResult> createCertificateFromCsrAsync(CreateCertificateFromCsrRequest request, AsyncHandler<CreateCertificateFromCsrRequest,CreateCertificateFromCsrResult> asyncHandler)
AWSIotAsync
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"
createCertificateFromCsrAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
createKeysAndCertificateAsync
in interface AWSIotAsync
request
- The input for the CreateKeysAndCertificate operation.public Future<CreateKeysAndCertificateResult> createKeysAndCertificateAsync(CreateKeysAndCertificateRequest request, AsyncHandler<CreateKeysAndCertificateRequest,CreateKeysAndCertificateResult> asyncHandler)
AWSIotAsync
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.
createKeysAndCertificateAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
createPolicyAsync
in interface AWSIotAsync
request
- The input for the CreatePolicy operation.public Future<CreatePolicyResult> createPolicyAsync(CreatePolicyRequest request, AsyncHandler<CreatePolicyRequest,CreatePolicyResult> asyncHandler)
AWSIotAsync
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.
createPolicyAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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).
createPolicyVersionAsync
in interface AWSIotAsync
request
- The input for the CreatePolicyVersion operation.public Future<CreatePolicyVersionResult> createPolicyVersionAsync(CreatePolicyVersionRequest request, AsyncHandler<CreatePolicyVersionRequest,CreatePolicyVersionResult> asyncHandler)
AWSIotAsync
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).
createPolicyVersionAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Creates a thing record in the thing registry.
createThingAsync
in interface AWSIotAsync
request
- The input for the CreateThing operation.public Future<CreateThingResult> createThingAsync(CreateThingRequest request, AsyncHandler<CreateThingRequest,CreateThingResult> asyncHandler)
AWSIotAsync
Creates a thing record in the thing registry.
createThingAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Creates a new thing type.
createThingTypeAsync
in interface AWSIotAsync
request
- The input for the CreateThingType operation.public Future<CreateThingTypeResult> createThingTypeAsync(CreateThingTypeRequest request, AsyncHandler<CreateThingTypeRequest,CreateThingTypeResult> asyncHandler)
AWSIotAsync
Creates a new thing type.
createThingTypeAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
createTopicRuleAsync
in interface AWSIotAsync
request
- The input for the CreateTopicRule operation.public Future<CreateTopicRuleResult> createTopicRuleAsync(CreateTopicRuleRequest request, AsyncHandler<CreateTopicRuleRequest,CreateTopicRuleResult> asyncHandler)
AWSIotAsync
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.
createTopicRuleAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Deletes a registered CA certificate.
deleteCACertificateAsync
in interface AWSIotAsync
request
- Input for the DeleteCACertificate operation.public Future<DeleteCACertificateResult> deleteCACertificateAsync(DeleteCACertificateRequest request, AsyncHandler<DeleteCACertificateRequest,DeleteCACertificateResult> asyncHandler)
AWSIotAsync
Deletes a registered CA certificate.
deleteCACertificateAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
deleteCertificateAsync
in interface AWSIotAsync
request
- The input for the DeleteCertificate operation.public Future<DeleteCertificateResult> deleteCertificateAsync(DeleteCertificateRequest request, AsyncHandler<DeleteCertificateRequest,DeleteCertificateResult> asyncHandler)
AWSIotAsync
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.
deleteCertificateAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
deletePolicyAsync
in interface AWSIotAsync
request
- The input for the DeletePolicy operation.public Future<DeletePolicyResult> deletePolicyAsync(DeletePolicyRequest request, AsyncHandler<DeletePolicyRequest,DeletePolicyResult> asyncHandler)
AWSIotAsync
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.
deletePolicyAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
deletePolicyVersionAsync
in interface AWSIotAsync
request
- The input for the DeletePolicyVersion operation.public Future<DeletePolicyVersionResult> deletePolicyVersionAsync(DeletePolicyVersionRequest request, AsyncHandler<DeletePolicyVersionRequest,DeletePolicyVersionResult> asyncHandler)
AWSIotAsync
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.
deletePolicyVersionAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Deletes a CA certificate registration code.
deleteRegistrationCodeAsync
in interface AWSIotAsync
request
- The input for the DeleteRegistrationCode operation.public Future<DeleteRegistrationCodeResult> deleteRegistrationCodeAsync(DeleteRegistrationCodeRequest request, AsyncHandler<DeleteRegistrationCodeRequest,DeleteRegistrationCodeResult> asyncHandler)
AWSIotAsync
Deletes a CA certificate registration code.
deleteRegistrationCodeAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Deletes the specified thing.
deleteThingAsync
in interface AWSIotAsync
request
- The input for the DeleteThing operation.public Future<DeleteThingResult> deleteThingAsync(DeleteThingRequest request, AsyncHandler<DeleteThingRequest,DeleteThingResult> asyncHandler)
AWSIotAsync
Deletes the specified thing.
deleteThingAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
deleteThingTypeAsync
in interface AWSIotAsync
request
- The input for the DeleteThingType operation.public Future<DeleteThingTypeResult> deleteThingTypeAsync(DeleteThingTypeRequest request, AsyncHandler<DeleteThingTypeRequest,DeleteThingTypeResult> asyncHandler)
AWSIotAsync
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.
deleteThingTypeAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Deletes the specified rule.
deleteTopicRuleAsync
in interface AWSIotAsync
request
- The input for the DeleteTopicRule operation.public Future<DeleteTopicRuleResult> deleteTopicRuleAsync(DeleteTopicRuleRequest request, AsyncHandler<DeleteTopicRuleRequest,DeleteTopicRuleResult> asyncHandler)
AWSIotAsync
Deletes the specified rule.
deleteTopicRuleAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Deprecates a thing type. You can not associate new things with deprecated thing type.
deprecateThingTypeAsync
in interface AWSIotAsync
request
- The input for the DeprecateThingType operation.public Future<DeprecateThingTypeResult> deprecateThingTypeAsync(DeprecateThingTypeRequest request, AsyncHandler<DeprecateThingTypeRequest,DeprecateThingTypeResult> asyncHandler)
AWSIotAsync
Deprecates a thing type. You can not associate new things with deprecated thing type.
deprecateThingTypeAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Describes a registered CA certificate.
describeCACertificateAsync
in interface AWSIotAsync
request
- The input for the DescribeCACertificate operation.public Future<DescribeCACertificateResult> describeCACertificateAsync(DescribeCACertificateRequest request, AsyncHandler<DescribeCACertificateRequest,DescribeCACertificateResult> asyncHandler)
AWSIotAsync
Describes a registered CA certificate.
describeCACertificateAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Gets information about the specified certificate.
describeCertificateAsync
in interface AWSIotAsync
request
- The input for the DescribeCertificate operation.public Future<DescribeCertificateResult> describeCertificateAsync(DescribeCertificateRequest request, AsyncHandler<DescribeCertificateRequest,DescribeCertificateResult> asyncHandler)
AWSIotAsync
Gets information about the specified certificate.
describeCertificateAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Returns a unique endpoint specific to the AWS account making the call.
describeEndpointAsync
in interface AWSIotAsync
request
- The input for the DescribeEndpoint operation.public Future<DescribeEndpointResult> describeEndpointAsync(DescribeEndpointRequest request, AsyncHandler<DescribeEndpointRequest,DescribeEndpointResult> asyncHandler)
AWSIotAsync
Returns a unique endpoint specific to the AWS account making the call.
describeEndpointAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Gets information about the specified thing.
describeThingAsync
in interface AWSIotAsync
request
- The input for the DescribeThing operation.public Future<DescribeThingResult> describeThingAsync(DescribeThingRequest request, AsyncHandler<DescribeThingRequest,DescribeThingResult> asyncHandler)
AWSIotAsync
Gets information about the specified thing.
describeThingAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Gets information about the specified thing type.
describeThingTypeAsync
in interface AWSIotAsync
request
- The input for the DescribeThingType operation.public Future<DescribeThingTypeResult> describeThingTypeAsync(DescribeThingTypeRequest request, AsyncHandler<DescribeThingTypeRequest,DescribeThingTypeResult> asyncHandler)
AWSIotAsync
Gets information about the specified thing type.
describeThingTypeAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Removes the specified policy from the specified certificate.
detachPrincipalPolicyAsync
in interface AWSIotAsync
request
- The input for the DetachPrincipalPolicy operation.public Future<DetachPrincipalPolicyResult> detachPrincipalPolicyAsync(DetachPrincipalPolicyRequest request, AsyncHandler<DetachPrincipalPolicyRequest,DetachPrincipalPolicyResult> asyncHandler)
AWSIotAsync
Removes the specified policy from the specified certificate.
detachPrincipalPolicyAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Detaches the specified principal from the specified thing.
detachThingPrincipalAsync
in interface AWSIotAsync
request
- The input for the DetachThingPrincipal operation.public Future<DetachThingPrincipalResult> detachThingPrincipalAsync(DetachThingPrincipalRequest request, AsyncHandler<DetachThingPrincipalRequest,DetachThingPrincipalResult> asyncHandler)
AWSIotAsync
Detaches the specified principal from the specified thing.
detachThingPrincipalAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Disables the specified rule.
disableTopicRuleAsync
in interface AWSIotAsync
request
- The input for the DisableTopicRuleRequest operation.public Future<DisableTopicRuleResult> disableTopicRuleAsync(DisableTopicRuleRequest request, AsyncHandler<DisableTopicRuleRequest,DisableTopicRuleResult> asyncHandler)
AWSIotAsync
Disables the specified rule.
disableTopicRuleAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Enables the specified rule.
enableTopicRuleAsync
in interface AWSIotAsync
request
- The input for the EnableTopicRuleRequest operation.public Future<EnableTopicRuleResult> enableTopicRuleAsync(EnableTopicRuleRequest request, AsyncHandler<EnableTopicRuleRequest,EnableTopicRuleResult> asyncHandler)
AWSIotAsync
Enables the specified rule.
enableTopicRuleAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Gets the logging options.
getLoggingOptionsAsync
in interface AWSIotAsync
request
- The input for the GetLoggingOptions operation.public Future<GetLoggingOptionsResult> getLoggingOptionsAsync(GetLoggingOptionsRequest request, AsyncHandler<GetLoggingOptionsRequest,GetLoggingOptionsResult> asyncHandler)
AWSIotAsync
Gets the logging options.
getLoggingOptionsAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Gets information about the specified policy with the policy document of the default version.
getPolicyAsync
in interface AWSIotAsync
request
- The input for the GetPolicy operation.public Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest request, AsyncHandler<GetPolicyRequest,GetPolicyResult> asyncHandler)
AWSIotAsync
Gets information about the specified policy with the policy document of the default version.
getPolicyAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Gets information about the specified policy version.
getPolicyVersionAsync
in interface AWSIotAsync
request
- The input for the GetPolicyVersion operation.public Future<GetPolicyVersionResult> getPolicyVersionAsync(GetPolicyVersionRequest request, AsyncHandler<GetPolicyVersionRequest,GetPolicyVersionResult> asyncHandler)
AWSIotAsync
Gets information about the specified policy version.
getPolicyVersionAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Gets a registration code used to register a CA certificate with AWS IoT.
getRegistrationCodeAsync
in interface AWSIotAsync
request
- The input to the GetRegistrationCode operation.public Future<GetRegistrationCodeResult> getRegistrationCodeAsync(GetRegistrationCodeRequest request, AsyncHandler<GetRegistrationCodeRequest,GetRegistrationCodeResult> asyncHandler)
AWSIotAsync
Gets a registration code used to register a CA certificate with AWS IoT.
getRegistrationCodeAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Gets information about the specified rule.
getTopicRuleAsync
in interface AWSIotAsync
request
- The input for the GetTopicRule operation.public Future<GetTopicRuleResult> getTopicRuleAsync(GetTopicRuleRequest request, AsyncHandler<GetTopicRuleRequest,GetTopicRuleResult> asyncHandler)
AWSIotAsync
Gets information about the specified rule.
getTopicRuleAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
listCACertificatesAsync
in interface AWSIotAsync
request
- Input for the ListCACertificates operation.public Future<ListCACertificatesResult> listCACertificatesAsync(ListCACertificatesRequest request, AsyncHandler<ListCACertificatesRequest,ListCACertificatesResult> asyncHandler)
AWSIotAsync
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.
listCACertificatesAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
listCertificatesAsync
in interface AWSIotAsync
request
- The input for the ListCertificates operation.public Future<ListCertificatesResult> listCertificatesAsync(ListCertificatesRequest request, AsyncHandler<ListCertificatesRequest,ListCertificatesResult> asyncHandler)
AWSIotAsync
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.
listCertificatesAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
List the device certificates signed by the specified CA certificate.
listCertificatesByCAAsync
in interface AWSIotAsync
request
- The input to the ListCertificatesByCA operation.public Future<ListCertificatesByCAResult> listCertificatesByCAAsync(ListCertificatesByCARequest request, AsyncHandler<ListCertificatesByCARequest,ListCertificatesByCAResult> asyncHandler)
AWSIotAsync
List the device certificates signed by the specified CA certificate.
listCertificatesByCAAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Lists certificates that are being transfered but not yet accepted.
listOutgoingCertificatesAsync
in interface AWSIotAsync
request
- The input to the ListOutgoingCertificates operation.public Future<ListOutgoingCertificatesResult> listOutgoingCertificatesAsync(ListOutgoingCertificatesRequest request, AsyncHandler<ListOutgoingCertificatesRequest,ListOutgoingCertificatesResult> asyncHandler)
AWSIotAsync
Lists certificates that are being transfered but not yet accepted.
listOutgoingCertificatesAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Lists your policies.
listPoliciesAsync
in interface AWSIotAsync
request
- The input for the ListPolicies operation.public Future<ListPoliciesResult> listPoliciesAsync(ListPoliciesRequest request, AsyncHandler<ListPoliciesRequest,ListPoliciesResult> asyncHandler)
AWSIotAsync
Lists your policies.
listPoliciesAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Lists the principals associated with the specified policy.
listPolicyPrincipalsAsync
in interface AWSIotAsync
request
- The input for the ListPolicyPrincipals operation.public Future<ListPolicyPrincipalsResult> listPolicyPrincipalsAsync(ListPolicyPrincipalsRequest request, AsyncHandler<ListPolicyPrincipalsRequest,ListPolicyPrincipalsResult> asyncHandler)
AWSIotAsync
Lists the principals associated with the specified policy.
listPolicyPrincipalsAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Lists the versions of the specified policy and identifies the default version.
listPolicyVersionsAsync
in interface AWSIotAsync
request
- The input for the ListPolicyVersions operation.public Future<ListPolicyVersionsResult> listPolicyVersionsAsync(ListPolicyVersionsRequest request, AsyncHandler<ListPolicyVersionsRequest,ListPolicyVersionsResult> asyncHandler)
AWSIotAsync
Lists the versions of the specified policy and identifies the default version.
listPolicyVersionsAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.
listPrincipalPoliciesAsync
in interface AWSIotAsync
request
- The input for the ListPrincipalPolicies operation.public Future<ListPrincipalPoliciesResult> listPrincipalPoliciesAsync(ListPrincipalPoliciesRequest request, AsyncHandler<ListPrincipalPoliciesRequest,ListPrincipalPoliciesResult> asyncHandler)
AWSIotAsync
Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.
listPrincipalPoliciesAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Lists the things associated with the specified principal.
listPrincipalThingsAsync
in interface AWSIotAsync
request
- The input for the ListPrincipalThings operation.public Future<ListPrincipalThingsResult> listPrincipalThingsAsync(ListPrincipalThingsRequest request, AsyncHandler<ListPrincipalThingsRequest,ListPrincipalThingsResult> asyncHandler)
AWSIotAsync
Lists the things associated with the specified principal.
listPrincipalThingsAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Lists the principals associated with the specified thing.
listThingPrincipalsAsync
in interface AWSIotAsync
request
- The input for the ListThingPrincipal operation.public Future<ListThingPrincipalsResult> listThingPrincipalsAsync(ListThingPrincipalsRequest request, AsyncHandler<ListThingPrincipalsRequest,ListThingPrincipalsResult> asyncHandler)
AWSIotAsync
Lists the principals associated with the specified thing.
listThingPrincipalsAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Lists the existing thing types.
listThingTypesAsync
in interface AWSIotAsync
request
- The input for the ListThingTypes operation.public Future<ListThingTypesResult> listThingTypesAsync(ListThingTypesRequest request, AsyncHandler<ListThingTypesRequest,ListThingTypesResult> asyncHandler)
AWSIotAsync
Lists the existing thing types.
listThingTypesAsync
in interface AWSIotAsync
request
- 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 AWSIotAsync
request
- 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 AWSIotAsync
request
- 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)
AWSIotAsync
Lists the rules for the specific topic.
listTopicRulesAsync
in interface AWSIotAsync
request
- The input for the ListTopicRules operation.public Future<ListTopicRulesResult> listTopicRulesAsync(ListTopicRulesRequest request, AsyncHandler<ListTopicRulesRequest,ListTopicRulesResult> asyncHandler)
AWSIotAsync
Lists the rules for the specific topic.
listTopicRulesAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
registerCACertificateAsync
in interface AWSIotAsync
request
- The input to the RegisterCACertificate operation.public Future<RegisterCACertificateResult> registerCACertificateAsync(RegisterCACertificateRequest request, AsyncHandler<RegisterCACertificateRequest,RegisterCACertificateResult> asyncHandler)
AWSIotAsync
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.
registerCACertificateAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
registerCertificateAsync
in interface AWSIotAsync
request
- The input to the RegisterCertificate operation.public Future<RegisterCertificateResult> registerCertificateAsync(RegisterCertificateRequest request, AsyncHandler<RegisterCertificateRequest,RegisterCertificateResult> asyncHandler)
AWSIotAsync
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.
registerCertificateAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
rejectCertificateTransferAsync
in interface AWSIotAsync
request
- The input for the RejectCertificateTransfer operation.public Future<RejectCertificateTransferResult> rejectCertificateTransferAsync(RejectCertificateTransferRequest request, AsyncHandler<RejectCertificateTransferRequest,RejectCertificateTransferResult> asyncHandler)
AWSIotAsync
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.
rejectCertificateTransferAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
replaceTopicRuleAsync
in interface AWSIotAsync
request
- The input for the ReplaceTopicRule operation.public Future<ReplaceTopicRuleResult> replaceTopicRuleAsync(ReplaceTopicRuleRequest request, AsyncHandler<ReplaceTopicRuleRequest,ReplaceTopicRuleResult> asyncHandler)
AWSIotAsync
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.
replaceTopicRuleAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
setDefaultPolicyVersionAsync
in interface AWSIotAsync
request
- The input for the SetDefaultPolicyVersion operation.public Future<SetDefaultPolicyVersionResult> setDefaultPolicyVersionAsync(SetDefaultPolicyVersionRequest request, AsyncHandler<SetDefaultPolicyVersionRequest,SetDefaultPolicyVersionResult> asyncHandler)
AWSIotAsync
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.
setDefaultPolicyVersionAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Sets the logging options.
setLoggingOptionsAsync
in interface AWSIotAsync
request
- The input for the SetLoggingOptions operation.public Future<SetLoggingOptionsResult> setLoggingOptionsAsync(SetLoggingOptionsRequest request, AsyncHandler<SetLoggingOptionsRequest,SetLoggingOptionsResult> asyncHandler)
AWSIotAsync
Sets the logging options.
setLoggingOptionsAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
transferCertificateAsync
in interface AWSIotAsync
request
- The input for the TransferCertificate operation.public Future<TransferCertificateResult> transferCertificateAsync(TransferCertificateRequest request, AsyncHandler<TransferCertificateRequest,TransferCertificateResult> asyncHandler)
AWSIotAsync
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.
transferCertificateAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Updates a registered CA certificate.
updateCACertificateAsync
in interface AWSIotAsync
request
- The input to the UpdateCACertificate operation.public Future<UpdateCACertificateResult> updateCACertificateAsync(UpdateCACertificateRequest request, AsyncHandler<UpdateCACertificateRequest,UpdateCACertificateResult> asyncHandler)
AWSIotAsync
Updates a registered CA certificate.
updateCACertificateAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
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.
updateCertificateAsync
in interface AWSIotAsync
request
- The input for the UpdateCertificate operation.public Future<UpdateCertificateResult> updateCertificateAsync(UpdateCertificateRequest request, AsyncHandler<UpdateCertificateRequest,UpdateCertificateResult> asyncHandler)
AWSIotAsync
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.
updateCertificateAsync
in interface AWSIotAsync
request
- 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)
AWSIotAsync
Updates the data for a thing.
updateThingAsync
in interface AWSIotAsync
request
- The input for the UpdateThing operation.public Future<UpdateThingResult> updateThingAsync(UpdateThingRequest request, AsyncHandler<UpdateThingRequest,UpdateThingResult> asyncHandler)
AWSIotAsync
Updates the data for a thing.
updateThingAsync
in interface AWSIotAsync
request
- 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 © 2013 Amazon Web Services, Inc. All Rights Reserved.