Class AbstractAWSIotAsync

java.lang.Object
com.amazonaws.services.iot.AbstractAWSIot
com.amazonaws.services.iot.AbstractAWSIotAsync
All Implemented Interfaces:
AWSIot, AWSIotAsync

public class AbstractAWSIotAsync extends AbstractAWSIot implements AWSIotAsync
Abstract implementation of AWSIotAsync. Convenient method forms pass through to the corresponding overload that takes a request object and an AsyncHandler, which throws an UnsupportedOperationException.
  • Constructor Details

    • AbstractAWSIotAsync

      protected AbstractAWSIotAsync()
  • Method Details

    • acceptCertificateTransferAsync

      public Future<AcceptCertificateTransferResult> acceptCertificateTransferAsync(AcceptCertificateTransferRequest request)
      Description copied from interface: 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.

      Specified by:
      acceptCertificateTransferAsync in interface AWSIotAsync
      Parameters:
      request - The input for the AcceptCertificateTransfer operation.
      Returns:
      A Java Future containing the result of the AcceptCertificateTransfer operation returned by the service.
    • acceptCertificateTransferAsync

      Description copied from interface: 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.

      Specified by:
      acceptCertificateTransferAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the AcceptCertificateTransfer operation returned by the service.
    • attachPrincipalPolicyAsync

      public Future<AttachPrincipalPolicyResult> attachPrincipalPolicyAsync(AttachPrincipalPolicyRequest request)
      Description copied from interface: AWSIotAsync

      Attaches the specified policy to the specified principal (certificate or other credential).

      Specified by:
      attachPrincipalPolicyAsync in interface AWSIotAsync
      Parameters:
      request - The input for the AttachPrincipalPolicy operation.
      Returns:
      A Java Future containing the result of the AttachPrincipalPolicy operation returned by the service.
    • attachPrincipalPolicyAsync

      Description copied from interface: AWSIotAsync

      Attaches the specified policy to the specified principal (certificate or other credential).

      Specified by:
      attachPrincipalPolicyAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the AttachPrincipalPolicy operation returned by the service.
    • attachThingPrincipalAsync

      public Future<AttachThingPrincipalResult> attachThingPrincipalAsync(AttachThingPrincipalRequest request)
      Description copied from interface: AWSIotAsync

      Attaches the specified principal to the specified thing.

      Specified by:
      attachThingPrincipalAsync in interface AWSIotAsync
      Parameters:
      request - The input for the AttachThingPrincipal operation.
      Returns:
      A Java Future containing the result of the AttachThingPrincipal operation returned by the service.
    • attachThingPrincipalAsync

      Description copied from interface: AWSIotAsync

      Attaches the specified principal to the specified thing.

      Specified by:
      attachThingPrincipalAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the AttachThingPrincipal operation returned by the service.
    • cancelCertificateTransferAsync

      public Future<CancelCertificateTransferResult> cancelCertificateTransferAsync(CancelCertificateTransferRequest request)
      Description copied from interface: 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.

      Specified by:
      cancelCertificateTransferAsync in interface AWSIotAsync
      Parameters:
      request - The input for the CancelCertificateTransfer operation.
      Returns:
      A Java Future containing the result of the CancelCertificateTransfer operation returned by the service.
    • cancelCertificateTransferAsync

      Description copied from interface: 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.

      Specified by:
      cancelCertificateTransferAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the CancelCertificateTransfer operation returned by the service.
    • createCertificateFromCsrAsync

      public Future<CreateCertificateFromCsrResult> createCertificateFromCsrAsync(CreateCertificateFromCsrRequest request)
      Description copied from interface: AWSIotAsync

      Creates 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"

      Specified by:
      createCertificateFromCsrAsync in interface AWSIotAsync
      Parameters:
      request - The input for the CreateCertificateFromCsr operation.
      Returns:
      A Java Future containing the result of the CreateCertificateFromCsr operation returned by the service.
    • createCertificateFromCsrAsync

      Description copied from interface: AWSIotAsync

      Creates 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"

      Specified by:
      createCertificateFromCsrAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the CreateCertificateFromCsr operation returned by the service.
    • createKeysAndCertificateAsync

      public Future<CreateKeysAndCertificateResult> createKeysAndCertificateAsync(CreateKeysAndCertificateRequest request)
      Description copied from interface: 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.

      Specified by:
      createKeysAndCertificateAsync in interface AWSIotAsync
      Parameters:
      request - The input for the CreateKeysAndCertificate operation.
      Returns:
      A Java Future containing the result of the CreateKeysAndCertificate operation returned by the service.
    • createKeysAndCertificateAsync

      Description copied from interface: 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.

      Specified by:
      createKeysAndCertificateAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the CreateKeysAndCertificate operation returned by the service.
    • createPolicyAsync

      public Future<CreatePolicyResult> createPolicyAsync(CreatePolicyRequest request)
      Description copied from interface: 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.

      Specified by:
      createPolicyAsync in interface AWSIotAsync
      Parameters:
      request - The input for the CreatePolicy operation.
      Returns:
      A Java Future containing the result of the CreatePolicy operation returned by the service.
    • createPolicyAsync

      Description copied from interface: 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.

      Specified by:
      createPolicyAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the CreatePolicy operation returned by the service.
    • createPolicyVersionAsync

      public Future<CreatePolicyVersionResult> createPolicyVersionAsync(CreatePolicyVersionRequest request)
      Description copied from interface: 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).

      Specified by:
      createPolicyVersionAsync in interface AWSIotAsync
      Parameters:
      request - The input for the CreatePolicyVersion operation.
      Returns:
      A Java Future containing the result of the CreatePolicyVersion operation returned by the service.
    • createPolicyVersionAsync

      Description copied from interface: 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).

      Specified by:
      createPolicyVersionAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the CreatePolicyVersion operation returned by the service.
    • createThingAsync

      public Future<CreateThingResult> createThingAsync(CreateThingRequest request)
      Description copied from interface: AWSIotAsync

      Creates a thing in the Thing Registry.

      Specified by:
      createThingAsync in interface AWSIotAsync
      Parameters:
      request - The input for the CreateThing operation.
      Returns:
      A Java Future containing the result of the CreateThing operation returned by the service.
    • createThingAsync

      Description copied from interface: AWSIotAsync

      Creates a thing in the Thing Registry.

      Specified by:
      createThingAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the CreateThing operation returned by the service.
    • createTopicRuleAsync

      public Future<CreateTopicRuleResult> createTopicRuleAsync(CreateTopicRuleRequest request)
      Description copied from interface: 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.

      Specified by:
      createTopicRuleAsync in interface AWSIotAsync
      Parameters:
      request - The input for the CreateTopicRule operation.
      Returns:
      A Java Future containing the result of the CreateTopicRule operation returned by the service.
    • createTopicRuleAsync

      Description copied from interface: 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.

      Specified by:
      createTopicRuleAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the CreateTopicRule operation returned by the service.
    • deleteCACertificateAsync

      public Future<DeleteCACertificateResult> deleteCACertificateAsync(DeleteCACertificateRequest request)
      Description copied from interface: AWSIotAsync

      Deletes a registered CA certificate.

      Specified by:
      deleteCACertificateAsync in interface AWSIotAsync
      Parameters:
      request - Input for the DeleteCACertificate operation.
      Returns:
      A Java Future containing the result of the DeleteCACertificate operation returned by the service.
    • deleteCACertificateAsync

      Description copied from interface: AWSIotAsync

      Deletes a registered CA certificate.

      Specified by:
      deleteCACertificateAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DeleteCACertificate operation returned by the service.
    • deleteCertificateAsync

      public Future<DeleteCertificateResult> deleteCertificateAsync(DeleteCertificateRequest request)
      Description copied from interface: 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.

      Specified by:
      deleteCertificateAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DeleteCertificate operation.
      Returns:
      A Java Future containing the result of the DeleteCertificate operation returned by the service.
    • deleteCertificateAsync

      Description copied from interface: 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.

      Specified by:
      deleteCertificateAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DeleteCertificate operation returned by the service.
    • deletePolicyAsync

      public Future<DeletePolicyResult> deletePolicyAsync(DeletePolicyRequest request)
      Description copied from interface: 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.

      Specified by:
      deletePolicyAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DeletePolicy operation.
      Returns:
      A Java Future containing the result of the DeletePolicy operation returned by the service.
    • deletePolicyAsync

      Description copied from interface: 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.

      Specified by:
      deletePolicyAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DeletePolicy operation returned by the service.
    • deletePolicyVersionAsync

      public Future<DeletePolicyVersionResult> deletePolicyVersionAsync(DeletePolicyVersionRequest request)
      Description copied from interface: 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.

      Specified by:
      deletePolicyVersionAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DeletePolicyVersion operation.
      Returns:
      A Java Future containing the result of the DeletePolicyVersion operation returned by the service.
    • deletePolicyVersionAsync

      Description copied from interface: 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.

      Specified by:
      deletePolicyVersionAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DeletePolicyVersion operation returned by the service.
    • deleteRegistrationCodeAsync

      public Future<DeleteRegistrationCodeResult> deleteRegistrationCodeAsync(DeleteRegistrationCodeRequest request)
      Description copied from interface: AWSIotAsync

      Deletes a CA certificate registration code.

      Specified by:
      deleteRegistrationCodeAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DeleteRegistrationCode operation.
      Returns:
      A Java Future containing the result of the DeleteRegistrationCode operation returned by the service.
    • deleteRegistrationCodeAsync

      Description copied from interface: AWSIotAsync

      Deletes a CA certificate registration code.

      Specified by:
      deleteRegistrationCodeAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DeleteRegistrationCode operation returned by the service.
    • deleteThingAsync

      public Future<DeleteThingResult> deleteThingAsync(DeleteThingRequest request)
      Description copied from interface: AWSIotAsync

      Deletes the specified thing from the Thing Registry.

      Specified by:
      deleteThingAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DeleteThing operation.
      Returns:
      A Java Future containing the result of the DeleteThing operation returned by the service.
    • deleteThingAsync

      Description copied from interface: AWSIotAsync

      Deletes the specified thing from the Thing Registry.

      Specified by:
      deleteThingAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DeleteThing operation returned by the service.
    • deleteTopicRuleAsync

      public Future<DeleteTopicRuleResult> deleteTopicRuleAsync(DeleteTopicRuleRequest request)
      Description copied from interface: AWSIotAsync

      Deletes the specified rule.

      Specified by:
      deleteTopicRuleAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DeleteTopicRule operation.
      Returns:
      A Java Future containing the result of the DeleteTopicRule operation returned by the service.
    • deleteTopicRuleAsync

      Description copied from interface: AWSIotAsync

      Deletes the specified rule.

      Specified by:
      deleteTopicRuleAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DeleteTopicRule operation returned by the service.
    • describeCACertificateAsync

      public Future<DescribeCACertificateResult> describeCACertificateAsync(DescribeCACertificateRequest request)
      Description copied from interface: AWSIotAsync

      Describes a registered CA certificate.

      Specified by:
      describeCACertificateAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DescribeCACertificate operation.
      Returns:
      A Java Future containing the result of the DescribeCACertificate operation returned by the service.
    • describeCACertificateAsync

      Description copied from interface: AWSIotAsync

      Describes a registered CA certificate.

      Specified by:
      describeCACertificateAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DescribeCACertificate operation returned by the service.
    • describeCertificateAsync

      public Future<DescribeCertificateResult> describeCertificateAsync(DescribeCertificateRequest request)
      Description copied from interface: AWSIotAsync

      Gets information about the specified certificate.

      Specified by:
      describeCertificateAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DescribeCertificate operation.
      Returns:
      A Java Future containing the result of the DescribeCertificate operation returned by the service.
    • describeCertificateAsync

      Description copied from interface: AWSIotAsync

      Gets information about the specified certificate.

      Specified by:
      describeCertificateAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DescribeCertificate operation returned by the service.
    • describeEndpointAsync

      public Future<DescribeEndpointResult> describeEndpointAsync(DescribeEndpointRequest request)
      Description copied from interface: AWSIotAsync

      Returns a unique endpoint specific to the AWS account making the call. You specify the following URI when updating state information for your thing: https://endpoint/things/thingName/shadow.

      Specified by:
      describeEndpointAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DescribeEndpoint operation.
      Returns:
      A Java Future containing the result of the DescribeEndpoint operation returned by the service.
    • describeEndpointAsync

      Description copied from interface: AWSIotAsync

      Returns a unique endpoint specific to the AWS account making the call. You specify the following URI when updating state information for your thing: https://endpoint/things/thingName/shadow.

      Specified by:
      describeEndpointAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DescribeEndpoint operation returned by the service.
    • describeThingAsync

      public Future<DescribeThingResult> describeThingAsync(DescribeThingRequest request)
      Description copied from interface: AWSIotAsync

      Gets information about the specified thing.

      Specified by:
      describeThingAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DescribeThing operation.
      Returns:
      A Java Future containing the result of the DescribeThing operation returned by the service.
    • describeThingAsync

      Description copied from interface: AWSIotAsync

      Gets information about the specified thing.

      Specified by:
      describeThingAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DescribeThing operation returned by the service.
    • detachPrincipalPolicyAsync

      public Future<DetachPrincipalPolicyResult> detachPrincipalPolicyAsync(DetachPrincipalPolicyRequest request)
      Description copied from interface: AWSIotAsync

      Removes the specified policy from the specified certificate.

      Specified by:
      detachPrincipalPolicyAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DetachPrincipalPolicy operation.
      Returns:
      A Java Future containing the result of the DetachPrincipalPolicy operation returned by the service.
    • detachPrincipalPolicyAsync

      Description copied from interface: AWSIotAsync

      Removes the specified policy from the specified certificate.

      Specified by:
      detachPrincipalPolicyAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DetachPrincipalPolicy operation returned by the service.
    • detachThingPrincipalAsync

      public Future<DetachThingPrincipalResult> detachThingPrincipalAsync(DetachThingPrincipalRequest request)
      Description copied from interface: AWSIotAsync

      Detaches the specified principal from the specified thing.

      Specified by:
      detachThingPrincipalAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DetachThingPrincipal operation.
      Returns:
      A Java Future containing the result of the DetachThingPrincipal operation returned by the service.
    • detachThingPrincipalAsync

      Description copied from interface: AWSIotAsync

      Detaches the specified principal from the specified thing.

      Specified by:
      detachThingPrincipalAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DetachThingPrincipal operation returned by the service.
    • disableTopicRuleAsync

      public Future<DisableTopicRuleResult> disableTopicRuleAsync(DisableTopicRuleRequest request)
      Description copied from interface: AWSIotAsync

      Disables the specified rule.

      Specified by:
      disableTopicRuleAsync in interface AWSIotAsync
      Parameters:
      request - The input for the DisableTopicRuleRequest operation.
      Returns:
      A Java Future containing the result of the DisableTopicRule operation returned by the service.
    • disableTopicRuleAsync

      Description copied from interface: AWSIotAsync

      Disables the specified rule.

      Specified by:
      disableTopicRuleAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DisableTopicRule operation returned by the service.
    • enableTopicRuleAsync

      public Future<EnableTopicRuleResult> enableTopicRuleAsync(EnableTopicRuleRequest request)
      Description copied from interface: AWSIotAsync

      Enables the specified rule.

      Specified by:
      enableTopicRuleAsync in interface AWSIotAsync
      Parameters:
      request - The input for the EnableTopicRuleRequest operation.
      Returns:
      A Java Future containing the result of the EnableTopicRule operation returned by the service.
    • enableTopicRuleAsync

      Description copied from interface: AWSIotAsync

      Enables the specified rule.

      Specified by:
      enableTopicRuleAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the EnableTopicRule operation returned by the service.
    • getLoggingOptionsAsync

      public Future<GetLoggingOptionsResult> getLoggingOptionsAsync(GetLoggingOptionsRequest request)
      Description copied from interface: AWSIotAsync

      Gets the logging options.

      Specified by:
      getLoggingOptionsAsync in interface AWSIotAsync
      Parameters:
      request - The input for the GetLoggingOptions operation.
      Returns:
      A Java Future containing the result of the GetLoggingOptions operation returned by the service.
    • getLoggingOptionsAsync

      Description copied from interface: AWSIotAsync

      Gets the logging options.

      Specified by:
      getLoggingOptionsAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetLoggingOptions operation returned by the service.
    • getPolicyAsync

      public Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest request)
      Description copied from interface: AWSIotAsync

      Gets information about the specified policy with the policy document of the default version.

      Specified by:
      getPolicyAsync in interface AWSIotAsync
      Parameters:
      request - The input for the GetPolicy operation.
      Returns:
      A Java Future containing the result of the GetPolicy operation returned by the service.
    • getPolicyAsync

      public Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest request, AsyncHandler<GetPolicyRequest,GetPolicyResult> asyncHandler)
      Description copied from interface: AWSIotAsync

      Gets information about the specified policy with the policy document of the default version.

      Specified by:
      getPolicyAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetPolicy operation returned by the service.
    • getPolicyVersionAsync

      public Future<GetPolicyVersionResult> getPolicyVersionAsync(GetPolicyVersionRequest request)
      Description copied from interface: AWSIotAsync

      Gets information about the specified policy version.

      Specified by:
      getPolicyVersionAsync in interface AWSIotAsync
      Parameters:
      request - The input for the GetPolicyVersion operation.
      Returns:
      A Java Future containing the result of the GetPolicyVersion operation returned by the service.
    • getPolicyVersionAsync

      Description copied from interface: AWSIotAsync

      Gets information about the specified policy version.

      Specified by:
      getPolicyVersionAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetPolicyVersion operation returned by the service.
    • getRegistrationCodeAsync

      public Future<GetRegistrationCodeResult> getRegistrationCodeAsync(GetRegistrationCodeRequest request)
      Description copied from interface: AWSIotAsync

      Gets a registration code used to register a CA certificate with AWS IoT.

      Specified by:
      getRegistrationCodeAsync in interface AWSIotAsync
      Parameters:
      request - The input to the GetRegistrationCode operation.
      Returns:
      A Java Future containing the result of the GetRegistrationCode operation returned by the service.
    • getRegistrationCodeAsync

      Description copied from interface: AWSIotAsync

      Gets a registration code used to register a CA certificate with AWS IoT.

      Specified by:
      getRegistrationCodeAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetRegistrationCode operation returned by the service.
    • getTopicRuleAsync

      public Future<GetTopicRuleResult> getTopicRuleAsync(GetTopicRuleRequest request)
      Description copied from interface: AWSIotAsync

      Gets information about the specified rule.

      Specified by:
      getTopicRuleAsync in interface AWSIotAsync
      Parameters:
      request - The input for the GetTopicRule operation.
      Returns:
      A Java Future containing the result of the GetTopicRule operation returned by the service.
    • getTopicRuleAsync

      Description copied from interface: AWSIotAsync

      Gets information about the specified rule.

      Specified by:
      getTopicRuleAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetTopicRule operation returned by the service.
    • listCACertificatesAsync

      public Future<ListCACertificatesResult> listCACertificatesAsync(ListCACertificatesRequest request)
      Description copied from interface: 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.

      Specified by:
      listCACertificatesAsync in interface AWSIotAsync
      Parameters:
      request - Input for the ListCACertificates operation.
      Returns:
      A Java Future containing the result of the ListCACertificates operation returned by the service.
    • listCACertificatesAsync

      Description copied from interface: 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.

      Specified by:
      listCACertificatesAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListCACertificates operation returned by the service.
    • listCertificatesAsync

      public Future<ListCertificatesResult> listCertificatesAsync(ListCertificatesRequest request)
      Description copied from interface: 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.

      Specified by:
      listCertificatesAsync in interface AWSIotAsync
      Parameters:
      request - The input for the ListCertificates operation.
      Returns:
      A Java Future containing the result of the ListCertificates operation returned by the service.
    • listCertificatesAsync

      Description copied from interface: 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.

      Specified by:
      listCertificatesAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListCertificates operation returned by the service.
    • listCertificatesByCAAsync

      public Future<ListCertificatesByCAResult> listCertificatesByCAAsync(ListCertificatesByCARequest request)
      Description copied from interface: AWSIotAsync

      List the device certificates signed by the specified CA certificate.

      Specified by:
      listCertificatesByCAAsync in interface AWSIotAsync
      Parameters:
      request - The input to the ListCertificatesByCA operation.
      Returns:
      A Java Future containing the result of the ListCertificatesByCA operation returned by the service.
    • listCertificatesByCAAsync

      Description copied from interface: AWSIotAsync

      List the device certificates signed by the specified CA certificate.

      Specified by:
      listCertificatesByCAAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListCertificatesByCA operation returned by the service.
    • listPoliciesAsync

      public Future<ListPoliciesResult> listPoliciesAsync(ListPoliciesRequest request)
      Description copied from interface: AWSIotAsync

      Lists your policies.

      Specified by:
      listPoliciesAsync in interface AWSIotAsync
      Parameters:
      request - The input for the ListPolicies operation.
      Returns:
      A Java Future containing the result of the ListPolicies operation returned by the service.
    • listPoliciesAsync

      Description copied from interface: AWSIotAsync

      Lists your policies.

      Specified by:
      listPoliciesAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListPolicies operation returned by the service.
    • listPolicyVersionsAsync

      public Future<ListPolicyVersionsResult> listPolicyVersionsAsync(ListPolicyVersionsRequest request)
      Description copied from interface: AWSIotAsync

      Lists the versions of the specified policy, and identifies the default version.

      Specified by:
      listPolicyVersionsAsync in interface AWSIotAsync
      Parameters:
      request - The input for the ListPolicyVersions operation.
      Returns:
      A Java Future containing the result of the ListPolicyVersions operation returned by the service.
    • listPolicyVersionsAsync

      Description copied from interface: AWSIotAsync

      Lists the versions of the specified policy, and identifies the default version.

      Specified by:
      listPolicyVersionsAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListPolicyVersions operation returned by the service.
    • listPrincipalPoliciesAsync

      public Future<ListPrincipalPoliciesResult> listPrincipalPoliciesAsync(ListPrincipalPoliciesRequest request)
      Description copied from interface: AWSIotAsync

      Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.

      Specified by:
      listPrincipalPoliciesAsync in interface AWSIotAsync
      Parameters:
      request - The input for the ListPrincipalPolicies operation.
      Returns:
      A Java Future containing the result of the ListPrincipalPolicies operation returned by the service.
    • listPrincipalPoliciesAsync

      Description copied from interface: AWSIotAsync

      Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.

      Specified by:
      listPrincipalPoliciesAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListPrincipalPolicies operation returned by the service.
    • listPrincipalThingsAsync

      public Future<ListPrincipalThingsResult> listPrincipalThingsAsync(ListPrincipalThingsRequest request)
      Description copied from interface: AWSIotAsync

      Lists the things associated with the specified principal.

      Specified by:
      listPrincipalThingsAsync in interface AWSIotAsync
      Parameters:
      request - The input for the ListPrincipalThings operation.
      Returns:
      A Java Future containing the result of the ListPrincipalThings operation returned by the service.
    • listPrincipalThingsAsync

      Description copied from interface: AWSIotAsync

      Lists the things associated with the specified principal.

      Specified by:
      listPrincipalThingsAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListPrincipalThings operation returned by the service.
    • listThingPrincipalsAsync

      public Future<ListThingPrincipalsResult> listThingPrincipalsAsync(ListThingPrincipalsRequest request)
      Description copied from interface: AWSIotAsync

      Lists the principals associated with the specified thing.

      Specified by:
      listThingPrincipalsAsync in interface AWSIotAsync
      Parameters:
      request - The input for the ListThingPrincipal operation.
      Returns:
      A Java Future containing the result of the ListThingPrincipals operation returned by the service.
    • listThingPrincipalsAsync

      Description copied from interface: AWSIotAsync

      Lists the principals associated with the specified thing.

      Specified by:
      listThingPrincipalsAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListThingPrincipals operation returned by the service.
    • listThingsAsync

      public Future<ListThingsResult> listThingsAsync(ListThingsRequest request)
      Description copied from interface: AWSIotAsync

      Lists your things. You can pass an AttributeName or AttributeValue to filter your things (for example, "ListThings where AttributeName=Color and AttributeValue=Red").

      Specified by:
      listThingsAsync in interface AWSIotAsync
      Parameters:
      request - The input for the ListThings operation.
      Returns:
      A Java Future containing the result of the ListThings operation returned by the service.
    • listThingsAsync

      public Future<ListThingsResult> listThingsAsync(ListThingsRequest request, AsyncHandler<ListThingsRequest,ListThingsResult> asyncHandler)
      Description copied from interface: AWSIotAsync

      Lists your things. You can pass an AttributeName or AttributeValue to filter your things (for example, "ListThings where AttributeName=Color and AttributeValue=Red").

      Specified by:
      listThingsAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListThings operation returned by the service.
    • listTopicRulesAsync

      public Future<ListTopicRulesResult> listTopicRulesAsync(ListTopicRulesRequest request)
      Description copied from interface: AWSIotAsync

      Lists the rules for the specific topic.

      Specified by:
      listTopicRulesAsync in interface AWSIotAsync
      Parameters:
      request - The input for the ListTopicRules operation.
      Returns:
      A Java Future containing the result of the ListTopicRules operation returned by the service.
    • listTopicRulesAsync

      Description copied from interface: AWSIotAsync

      Lists the rules for the specific topic.

      Specified by:
      listTopicRulesAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListTopicRules operation returned by the service.
    • registerCACertificateAsync

      public Future<RegisterCACertificateResult> registerCACertificateAsync(RegisterCACertificateRequest request)
      Description copied from interface: 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 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.

      Specified by:
      registerCACertificateAsync in interface AWSIotAsync
      Parameters:
      request - The input to the RegisterCACertificate operation.
      Returns:
      A Java Future containing the result of the RegisterCACertificate operation returned by the service.
    • registerCACertificateAsync

      Description copied from interface: 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 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.

      Specified by:
      registerCACertificateAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the RegisterCACertificate operation returned by the service.
    • registerCertificateAsync

      public Future<RegisterCertificateResult> registerCertificateAsync(RegisterCertificateRequest request)
      Description copied from interface: 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.

      Specified by:
      registerCertificateAsync in interface AWSIotAsync
      Parameters:
      request - The input to the RegisterCertificate operation.
      Returns:
      A Java Future containing the result of the RegisterCertificate operation returned by the service.
    • registerCertificateAsync

      Description copied from interface: 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.

      Specified by:
      registerCertificateAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the RegisterCertificate operation returned by the service.
    • rejectCertificateTransferAsync

      public Future<RejectCertificateTransferResult> rejectCertificateTransferAsync(RejectCertificateTransferRequest request)
      Description copied from interface: 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.

      Specified by:
      rejectCertificateTransferAsync in interface AWSIotAsync
      Parameters:
      request - The input for the RejectCertificateTransfer operation.
      Returns:
      A Java Future containing the result of the RejectCertificateTransfer operation returned by the service.
    • rejectCertificateTransferAsync

      Description copied from interface: 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.

      Specified by:
      rejectCertificateTransferAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the RejectCertificateTransfer operation returned by the service.
    • replaceTopicRuleAsync

      public Future<ReplaceTopicRuleResult> replaceTopicRuleAsync(ReplaceTopicRuleRequest request)
      Description copied from interface: 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.

      Specified by:
      replaceTopicRuleAsync in interface AWSIotAsync
      Parameters:
      request - The input for the ReplaceTopicRule operation.
      Returns:
      A Java Future containing the result of the ReplaceTopicRule operation returned by the service.
    • replaceTopicRuleAsync

      Description copied from interface: 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.

      Specified by:
      replaceTopicRuleAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ReplaceTopicRule operation returned by the service.
    • setDefaultPolicyVersionAsync

      public Future<SetDefaultPolicyVersionResult> setDefaultPolicyVersionAsync(SetDefaultPolicyVersionRequest request)
      Description copied from interface: 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.

      Specified by:
      setDefaultPolicyVersionAsync in interface AWSIotAsync
      Parameters:
      request - The input for the SetDefaultPolicyVersion operation.
      Returns:
      A Java Future containing the result of the SetDefaultPolicyVersion operation returned by the service.
    • setDefaultPolicyVersionAsync

      Description copied from interface: 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.

      Specified by:
      setDefaultPolicyVersionAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the SetDefaultPolicyVersion operation returned by the service.
    • setLoggingOptionsAsync

      public Future<SetLoggingOptionsResult> setLoggingOptionsAsync(SetLoggingOptionsRequest request)
      Description copied from interface: AWSIotAsync

      Sets the logging options.

      Specified by:
      setLoggingOptionsAsync in interface AWSIotAsync
      Parameters:
      request - The input for the SetLoggingOptions operation.
      Returns:
      A Java Future containing the result of the SetLoggingOptions operation returned by the service.
    • setLoggingOptionsAsync

      Description copied from interface: AWSIotAsync

      Sets the logging options.

      Specified by:
      setLoggingOptionsAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the SetLoggingOptions operation returned by the service.
    • transferCertificateAsync

      public Future<TransferCertificateResult> transferCertificateAsync(TransferCertificateRequest request)
      Description copied from interface: 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.

      Specified by:
      transferCertificateAsync in interface AWSIotAsync
      Parameters:
      request - The input for the TransferCertificate operation.
      Returns:
      A Java Future containing the result of the TransferCertificate operation returned by the service.
    • transferCertificateAsync

      Description copied from interface: 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.

      Specified by:
      transferCertificateAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the TransferCertificate operation returned by the service.
    • updateCACertificateAsync

      public Future<UpdateCACertificateResult> updateCACertificateAsync(UpdateCACertificateRequest request)
      Description copied from interface: AWSIotAsync

      Updates a registered CA certificate.

      Specified by:
      updateCACertificateAsync in interface AWSIotAsync
      Parameters:
      request - The input to the UpdateCACertificate operation.
      Returns:
      A Java Future containing the result of the UpdateCACertificate operation returned by the service.
    • updateCACertificateAsync

      Description copied from interface: AWSIotAsync

      Updates a registered CA certificate.

      Specified by:
      updateCACertificateAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the UpdateCACertificate operation returned by the service.
    • updateCertificateAsync

      public Future<UpdateCertificateResult> updateCertificateAsync(UpdateCertificateRequest request)
      Description copied from interface: 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.

      Specified by:
      updateCertificateAsync in interface AWSIotAsync
      Parameters:
      request - The input for the UpdateCertificate operation.
      Returns:
      A Java Future containing the result of the UpdateCertificate operation returned by the service.
    • updateCertificateAsync

      Description copied from interface: 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.

      Specified by:
      updateCertificateAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the UpdateCertificate operation returned by the service.
    • updateThingAsync

      public Future<UpdateThingResult> updateThingAsync(UpdateThingRequest request)
      Description copied from interface: AWSIotAsync

      Updates the data for a thing.

      Specified by:
      updateThingAsync in interface AWSIotAsync
      Parameters:
      request - The input for the UpdateThing operation.
      Returns:
      A Java Future containing the result of the UpdateThing operation returned by the service.
    • updateThingAsync

      Description copied from interface: AWSIotAsync

      Updates the data for a thing.

      Specified by:
      updateThingAsync in interface AWSIotAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the UpdateThing operation returned by the service.