Interface AWSIotAsync

  • All Superinterfaces:
    AWSIot
    All Known Implementing Classes:
    AbstractAWSIotAsync, AWSIotAsyncClient

    public interface AWSIotAsync
    extends AWSIot
    Interface for accessing AWS IoT asynchronously. Each asynchronous method will return a Java Future object representing the asynchronous operation; overloads which accept an AsyncHandler can be used to receive notification when an asynchronous operation completes.

    AWS IoT

    AWS IoT provides secure, bi-directional communication between Internet-connected things (such as sensors, actuators, embedded devices, or smart appliances) and the AWS cloud. You can discover your custom IoT-Data endpoint to communicate with, configure rules for data processing and integration with other services, organize resources associated with each thing (Thing Registry), configure logging, and create and manage policies and credentials to authenticate things.

    For more information about how AWS IoT works, see the Developer Guide.

    • Method Detail

      • acceptCertificateTransferAsync

        Future<AcceptCertificateTransferResult> acceptCertificateTransferAsync​(AcceptCertificateTransferRequest acceptCertificateTransferRequest)

        Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.

        To check for pending certificate transfers, call ListCertificates to enumerate your certificates.

        Parameters:
        acceptCertificateTransferRequest - The input for the AcceptCertificateTransfer operation.
        Returns:
        A Java Future containing the result of the AcceptCertificateTransfer operation returned by the service.
      • acceptCertificateTransferAsync

        Future<AcceptCertificateTransferResult> acceptCertificateTransferAsync​(AcceptCertificateTransferRequest acceptCertificateTransferRequest,
                                                                               AsyncHandler<AcceptCertificateTransferRequest,​AcceptCertificateTransferResult> asyncHandler)

        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.

        Parameters:
        acceptCertificateTransferRequest - 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

        Future<AttachPrincipalPolicyResult> attachPrincipalPolicyAsync​(AttachPrincipalPolicyRequest attachPrincipalPolicyRequest)

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

        Parameters:
        attachPrincipalPolicyRequest - The input for the AttachPrincipalPolicy operation.
        Returns:
        A Java Future containing the result of the AttachPrincipalPolicy operation returned by the service.
      • attachPrincipalPolicyAsync

        Future<AttachPrincipalPolicyResult> attachPrincipalPolicyAsync​(AttachPrincipalPolicyRequest attachPrincipalPolicyRequest,
                                                                       AsyncHandler<AttachPrincipalPolicyRequest,​AttachPrincipalPolicyResult> asyncHandler)

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

        Parameters:
        attachPrincipalPolicyRequest - 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

        Future<AttachThingPrincipalResult> attachThingPrincipalAsync​(AttachThingPrincipalRequest attachThingPrincipalRequest)

        Attaches the specified principal to the specified thing.

        Parameters:
        attachThingPrincipalRequest - The input for the AttachThingPrincipal operation.
        Returns:
        A Java Future containing the result of the AttachThingPrincipal operation returned by the service.
      • attachThingPrincipalAsync

        Future<AttachThingPrincipalResult> attachThingPrincipalAsync​(AttachThingPrincipalRequest attachThingPrincipalRequest,
                                                                     AsyncHandler<AttachThingPrincipalRequest,​AttachThingPrincipalResult> asyncHandler)

        Attaches the specified principal to the specified thing.

        Parameters:
        attachThingPrincipalRequest - 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

        Future<CancelCertificateTransferResult> cancelCertificateTransferAsync​(CancelCertificateTransferRequest cancelCertificateTransferRequest)

        Cancels a pending transfer for the specified certificate.

        Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.

        After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.

        Parameters:
        cancelCertificateTransferRequest - The input for the CancelCertificateTransfer operation.
        Returns:
        A Java Future containing the result of the CancelCertificateTransfer operation returned by the service.
      • cancelCertificateTransferAsync

        Future<CancelCertificateTransferResult> cancelCertificateTransferAsync​(CancelCertificateTransferRequest cancelCertificateTransferRequest,
                                                                               AsyncHandler<CancelCertificateTransferRequest,​CancelCertificateTransferResult> asyncHandler)

        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.

        Parameters:
        cancelCertificateTransferRequest - 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

        Future<CreateCertificateFromCsrResult> createCertificateFromCsrAsync​(CreateCertificateFromCsrRequest createCertificateFromCsrRequest)

        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"

        Parameters:
        createCertificateFromCsrRequest - The input for the CreateCertificateFromCsr operation.
        Returns:
        A Java Future containing the result of the CreateCertificateFromCsr operation returned by the service.
      • createCertificateFromCsrAsync

        Future<CreateCertificateFromCsrResult> createCertificateFromCsrAsync​(CreateCertificateFromCsrRequest createCertificateFromCsrRequest,
                                                                             AsyncHandler<CreateCertificateFromCsrRequest,​CreateCertificateFromCsrResult> asyncHandler)

        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"

        Parameters:
        createCertificateFromCsrRequest - 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

        Future<CreateKeysAndCertificateResult> createKeysAndCertificateAsync​(CreateKeysAndCertificateRequest createKeysAndCertificateRequest)

        Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.

        Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.

        Parameters:
        createKeysAndCertificateRequest - The input for the CreateKeysAndCertificate operation.
        Returns:
        A Java Future containing the result of the CreateKeysAndCertificate operation returned by the service.
      • createKeysAndCertificateAsync

        Future<CreateKeysAndCertificateResult> createKeysAndCertificateAsync​(CreateKeysAndCertificateRequest createKeysAndCertificateRequest,
                                                                             AsyncHandler<CreateKeysAndCertificateRequest,​CreateKeysAndCertificateResult> asyncHandler)

        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.

        Parameters:
        createKeysAndCertificateRequest - 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

        Future<CreatePolicyResult> createPolicyAsync​(CreatePolicyRequest createPolicyRequest)

        Creates an AWS IoT policy.

        The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.

        Parameters:
        createPolicyRequest - The input for the CreatePolicy operation.
        Returns:
        A Java Future containing the result of the CreatePolicy operation returned by the service.
      • createPolicyAsync

        Future<CreatePolicyResult> createPolicyAsync​(CreatePolicyRequest createPolicyRequest,
                                                     AsyncHandler<CreatePolicyRequest,​CreatePolicyResult> asyncHandler)

        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.

        Parameters:
        createPolicyRequest - 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

        Future<CreatePolicyVersionResult> createPolicyVersionAsync​(CreatePolicyVersionRequest createPolicyVersionRequest)

        Creates a new version of the specified AWS IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.

        Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).

        Parameters:
        createPolicyVersionRequest - The input for the CreatePolicyVersion operation.
        Returns:
        A Java Future containing the result of the CreatePolicyVersion operation returned by the service.
      • createPolicyVersionAsync

        Future<CreatePolicyVersionResult> createPolicyVersionAsync​(CreatePolicyVersionRequest createPolicyVersionRequest,
                                                                   AsyncHandler<CreatePolicyVersionRequest,​CreatePolicyVersionResult> asyncHandler)

        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).

        Parameters:
        createPolicyVersionRequest - 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

        Future<CreateThingResult> createThingAsync​(CreateThingRequest createThingRequest)

        Creates a thing in the Thing Registry.

        Parameters:
        createThingRequest - The input for the CreateThing operation.
        Returns:
        A Java Future containing the result of the CreateThing operation returned by the service.
      • createThingAsync

        Future<CreateThingResult> createThingAsync​(CreateThingRequest createThingRequest,
                                                   AsyncHandler<CreateThingRequest,​CreateThingResult> asyncHandler)

        Creates a thing in the Thing Registry.

        Parameters:
        createThingRequest - 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

        Future<CreateTopicRuleResult> createTopicRuleAsync​(CreateTopicRuleRequest createTopicRuleRequest)

        Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.

        Parameters:
        createTopicRuleRequest - The input for the CreateTopicRule operation.
        Returns:
        A Java Future containing the result of the CreateTopicRule operation returned by the service.
      • createTopicRuleAsync

        Future<CreateTopicRuleResult> createTopicRuleAsync​(CreateTopicRuleRequest createTopicRuleRequest,
                                                           AsyncHandler<CreateTopicRuleRequest,​CreateTopicRuleResult> asyncHandler)

        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.

        Parameters:
        createTopicRuleRequest - 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

        Future<DeleteCACertificateResult> deleteCACertificateAsync​(DeleteCACertificateRequest deleteCACertificateRequest)

        Deletes a registered CA certificate.

        Parameters:
        deleteCACertificateRequest - Input for the DeleteCACertificate operation.
        Returns:
        A Java Future containing the result of the DeleteCACertificate operation returned by the service.
      • deleteCACertificateAsync

        Future<DeleteCACertificateResult> deleteCACertificateAsync​(DeleteCACertificateRequest deleteCACertificateRequest,
                                                                   AsyncHandler<DeleteCACertificateRequest,​DeleteCACertificateResult> asyncHandler)

        Deletes a registered CA certificate.

        Parameters:
        deleteCACertificateRequest - 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

        Future<DeleteCertificateResult> deleteCertificateAsync​(DeleteCertificateRequest deleteCertificateRequest)

        Deletes the specified certificate.

        A certificate cannot be deleted if it has a policy attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy API to detach all policies. Next, use the UpdateCertificate API to set the certificate to the INACTIVE status.

        Parameters:
        deleteCertificateRequest - The input for the DeleteCertificate operation.
        Returns:
        A Java Future containing the result of the DeleteCertificate operation returned by the service.
      • deleteCertificateAsync

        Future<DeleteCertificateResult> deleteCertificateAsync​(DeleteCertificateRequest deleteCertificateRequest,
                                                               AsyncHandler<DeleteCertificateRequest,​DeleteCertificateResult> asyncHandler)

        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.

        Parameters:
        deleteCertificateRequest - 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

        Future<DeletePolicyResult> deletePolicyAsync​(DeletePolicyRequest deletePolicyRequest)

        Deletes the specified policy.

        A policy cannot be deleted if it has non-default versions or it is attached to any certificate.

        To delete a policy, use the DeletePolicyVersion API to delete all non-default versions of the policy; use the DetachPrincipalPolicy API to detach the policy from any certificate; and then use the DeletePolicy API to delete the policy.

        When a policy is deleted using DeletePolicy, its default version is deleted with it.

        Parameters:
        deletePolicyRequest - The input for the DeletePolicy operation.
        Returns:
        A Java Future containing the result of the DeletePolicy operation returned by the service.
      • deletePolicyAsync

        Future<DeletePolicyResult> deletePolicyAsync​(DeletePolicyRequest deletePolicyRequest,
                                                     AsyncHandler<DeletePolicyRequest,​DeletePolicyResult> asyncHandler)

        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.

        Parameters:
        deletePolicyRequest - 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

        Future<DeletePolicyVersionResult> deletePolicyVersionAsync​(DeletePolicyVersionRequest deletePolicyVersionRequest)

        Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.

        Parameters:
        deletePolicyVersionRequest - The input for the DeletePolicyVersion operation.
        Returns:
        A Java Future containing the result of the DeletePolicyVersion operation returned by the service.
      • deletePolicyVersionAsync

        Future<DeletePolicyVersionResult> deletePolicyVersionAsync​(DeletePolicyVersionRequest deletePolicyVersionRequest,
                                                                   AsyncHandler<DeletePolicyVersionRequest,​DeletePolicyVersionResult> asyncHandler)

        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.

        Parameters:
        deletePolicyVersionRequest - 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

        Future<DeleteRegistrationCodeResult> deleteRegistrationCodeAsync​(DeleteRegistrationCodeRequest deleteRegistrationCodeRequest)

        Deletes a CA certificate registration code.

        Parameters:
        deleteRegistrationCodeRequest - The input for the DeleteRegistrationCode operation.
        Returns:
        A Java Future containing the result of the DeleteRegistrationCode operation returned by the service.
      • deleteRegistrationCodeAsync

        Future<DeleteRegistrationCodeResult> deleteRegistrationCodeAsync​(DeleteRegistrationCodeRequest deleteRegistrationCodeRequest,
                                                                         AsyncHandler<DeleteRegistrationCodeRequest,​DeleteRegistrationCodeResult> asyncHandler)

        Deletes a CA certificate registration code.

        Parameters:
        deleteRegistrationCodeRequest - 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

        Future<DeleteThingResult> deleteThingAsync​(DeleteThingRequest deleteThingRequest)

        Deletes the specified thing from the Thing Registry.

        Parameters:
        deleteThingRequest - The input for the DeleteThing operation.
        Returns:
        A Java Future containing the result of the DeleteThing operation returned by the service.
      • deleteThingAsync

        Future<DeleteThingResult> deleteThingAsync​(DeleteThingRequest deleteThingRequest,
                                                   AsyncHandler<DeleteThingRequest,​DeleteThingResult> asyncHandler)

        Deletes the specified thing from the Thing Registry.

        Parameters:
        deleteThingRequest - 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

        Future<DeleteTopicRuleResult> deleteTopicRuleAsync​(DeleteTopicRuleRequest deleteTopicRuleRequest)

        Deletes the specified rule.

        Parameters:
        deleteTopicRuleRequest - The input for the DeleteTopicRule operation.
        Returns:
        A Java Future containing the result of the DeleteTopicRule operation returned by the service.
      • deleteTopicRuleAsync

        Future<DeleteTopicRuleResult> deleteTopicRuleAsync​(DeleteTopicRuleRequest deleteTopicRuleRequest,
                                                           AsyncHandler<DeleteTopicRuleRequest,​DeleteTopicRuleResult> asyncHandler)

        Deletes the specified rule.

        Parameters:
        deleteTopicRuleRequest - 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

        Future<DescribeCACertificateResult> describeCACertificateAsync​(DescribeCACertificateRequest describeCACertificateRequest)

        Describes a registered CA certificate.

        Parameters:
        describeCACertificateRequest - The input for the DescribeCACertificate operation.
        Returns:
        A Java Future containing the result of the DescribeCACertificate operation returned by the service.
      • describeCACertificateAsync

        Future<DescribeCACertificateResult> describeCACertificateAsync​(DescribeCACertificateRequest describeCACertificateRequest,
                                                                       AsyncHandler<DescribeCACertificateRequest,​DescribeCACertificateResult> asyncHandler)

        Describes a registered CA certificate.

        Parameters:
        describeCACertificateRequest - 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

        Future<DescribeCertificateResult> describeCertificateAsync​(DescribeCertificateRequest describeCertificateRequest)

        Gets information about the specified certificate.

        Parameters:
        describeCertificateRequest - The input for the DescribeCertificate operation.
        Returns:
        A Java Future containing the result of the DescribeCertificate operation returned by the service.
      • describeCertificateAsync

        Future<DescribeCertificateResult> describeCertificateAsync​(DescribeCertificateRequest describeCertificateRequest,
                                                                   AsyncHandler<DescribeCertificateRequest,​DescribeCertificateResult> asyncHandler)

        Gets information about the specified certificate.

        Parameters:
        describeCertificateRequest - 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

        Future<DescribeEndpointResult> describeEndpointAsync​(DescribeEndpointRequest describeEndpointRequest)

        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.

        Parameters:
        describeEndpointRequest - The input for the DescribeEndpoint operation.
        Returns:
        A Java Future containing the result of the DescribeEndpoint operation returned by the service.
      • describeEndpointAsync

        Future<DescribeEndpointResult> describeEndpointAsync​(DescribeEndpointRequest describeEndpointRequest,
                                                             AsyncHandler<DescribeEndpointRequest,​DescribeEndpointResult> asyncHandler)

        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.

        Parameters:
        describeEndpointRequest - 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

        Future<DescribeThingResult> describeThingAsync​(DescribeThingRequest describeThingRequest)

        Gets information about the specified thing.

        Parameters:
        describeThingRequest - The input for the DescribeThing operation.
        Returns:
        A Java Future containing the result of the DescribeThing operation returned by the service.
      • describeThingAsync

        Future<DescribeThingResult> describeThingAsync​(DescribeThingRequest describeThingRequest,
                                                       AsyncHandler<DescribeThingRequest,​DescribeThingResult> asyncHandler)

        Gets information about the specified thing.

        Parameters:
        describeThingRequest - 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

        Future<DetachPrincipalPolicyResult> detachPrincipalPolicyAsync​(DetachPrincipalPolicyRequest detachPrincipalPolicyRequest)

        Removes the specified policy from the specified certificate.

        Parameters:
        detachPrincipalPolicyRequest - The input for the DetachPrincipalPolicy operation.
        Returns:
        A Java Future containing the result of the DetachPrincipalPolicy operation returned by the service.
      • detachPrincipalPolicyAsync

        Future<DetachPrincipalPolicyResult> detachPrincipalPolicyAsync​(DetachPrincipalPolicyRequest detachPrincipalPolicyRequest,
                                                                       AsyncHandler<DetachPrincipalPolicyRequest,​DetachPrincipalPolicyResult> asyncHandler)

        Removes the specified policy from the specified certificate.

        Parameters:
        detachPrincipalPolicyRequest - 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

        Future<DetachThingPrincipalResult> detachThingPrincipalAsync​(DetachThingPrincipalRequest detachThingPrincipalRequest)

        Detaches the specified principal from the specified thing.

        Parameters:
        detachThingPrincipalRequest - The input for the DetachThingPrincipal operation.
        Returns:
        A Java Future containing the result of the DetachThingPrincipal operation returned by the service.
      • detachThingPrincipalAsync

        Future<DetachThingPrincipalResult> detachThingPrincipalAsync​(DetachThingPrincipalRequest detachThingPrincipalRequest,
                                                                     AsyncHandler<DetachThingPrincipalRequest,​DetachThingPrincipalResult> asyncHandler)

        Detaches the specified principal from the specified thing.

        Parameters:
        detachThingPrincipalRequest - 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

        Future<DisableTopicRuleResult> disableTopicRuleAsync​(DisableTopicRuleRequest disableTopicRuleRequest)

        Disables the specified rule.

        Parameters:
        disableTopicRuleRequest - The input for the DisableTopicRuleRequest operation.
        Returns:
        A Java Future containing the result of the DisableTopicRule operation returned by the service.
      • disableTopicRuleAsync

        Future<DisableTopicRuleResult> disableTopicRuleAsync​(DisableTopicRuleRequest disableTopicRuleRequest,
                                                             AsyncHandler<DisableTopicRuleRequest,​DisableTopicRuleResult> asyncHandler)

        Disables the specified rule.

        Parameters:
        disableTopicRuleRequest - 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

        Future<EnableTopicRuleResult> enableTopicRuleAsync​(EnableTopicRuleRequest enableTopicRuleRequest)

        Enables the specified rule.

        Parameters:
        enableTopicRuleRequest - The input for the EnableTopicRuleRequest operation.
        Returns:
        A Java Future containing the result of the EnableTopicRule operation returned by the service.
      • enableTopicRuleAsync

        Future<EnableTopicRuleResult> enableTopicRuleAsync​(EnableTopicRuleRequest enableTopicRuleRequest,
                                                           AsyncHandler<EnableTopicRuleRequest,​EnableTopicRuleResult> asyncHandler)

        Enables the specified rule.

        Parameters:
        enableTopicRuleRequest - 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

        Future<GetLoggingOptionsResult> getLoggingOptionsAsync​(GetLoggingOptionsRequest getLoggingOptionsRequest)

        Gets the logging options.

        Parameters:
        getLoggingOptionsRequest - The input for the GetLoggingOptions operation.
        Returns:
        A Java Future containing the result of the GetLoggingOptions operation returned by the service.
      • getLoggingOptionsAsync

        Future<GetLoggingOptionsResult> getLoggingOptionsAsync​(GetLoggingOptionsRequest getLoggingOptionsRequest,
                                                               AsyncHandler<GetLoggingOptionsRequest,​GetLoggingOptionsResult> asyncHandler)

        Gets the logging options.

        Parameters:
        getLoggingOptionsRequest - 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

        Future<GetPolicyResult> getPolicyAsync​(GetPolicyRequest getPolicyRequest)

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

        Parameters:
        getPolicyRequest - The input for the GetPolicy operation.
        Returns:
        A Java Future containing the result of the GetPolicy operation returned by the service.
      • getPolicyAsync

        Future<GetPolicyResult> getPolicyAsync​(GetPolicyRequest getPolicyRequest,
                                               AsyncHandler<GetPolicyRequest,​GetPolicyResult> asyncHandler)

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

        Parameters:
        getPolicyRequest - 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

        Future<GetPolicyVersionResult> getPolicyVersionAsync​(GetPolicyVersionRequest getPolicyVersionRequest)

        Gets information about the specified policy version.

        Parameters:
        getPolicyVersionRequest - The input for the GetPolicyVersion operation.
        Returns:
        A Java Future containing the result of the GetPolicyVersion operation returned by the service.
      • getPolicyVersionAsync

        Future<GetPolicyVersionResult> getPolicyVersionAsync​(GetPolicyVersionRequest getPolicyVersionRequest,
                                                             AsyncHandler<GetPolicyVersionRequest,​GetPolicyVersionResult> asyncHandler)

        Gets information about the specified policy version.

        Parameters:
        getPolicyVersionRequest - 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

        Future<GetRegistrationCodeResult> getRegistrationCodeAsync​(GetRegistrationCodeRequest getRegistrationCodeRequest)

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

        Parameters:
        getRegistrationCodeRequest - The input to the GetRegistrationCode operation.
        Returns:
        A Java Future containing the result of the GetRegistrationCode operation returned by the service.
      • getRegistrationCodeAsync

        Future<GetRegistrationCodeResult> getRegistrationCodeAsync​(GetRegistrationCodeRequest getRegistrationCodeRequest,
                                                                   AsyncHandler<GetRegistrationCodeRequest,​GetRegistrationCodeResult> asyncHandler)

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

        Parameters:
        getRegistrationCodeRequest - 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

        Future<GetTopicRuleResult> getTopicRuleAsync​(GetTopicRuleRequest getTopicRuleRequest)

        Gets information about the specified rule.

        Parameters:
        getTopicRuleRequest - The input for the GetTopicRule operation.
        Returns:
        A Java Future containing the result of the GetTopicRule operation returned by the service.
      • getTopicRuleAsync

        Future<GetTopicRuleResult> getTopicRuleAsync​(GetTopicRuleRequest getTopicRuleRequest,
                                                     AsyncHandler<GetTopicRuleRequest,​GetTopicRuleResult> asyncHandler)

        Gets information about the specified rule.

        Parameters:
        getTopicRuleRequest - 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

        Future<ListCACertificatesResult> listCACertificatesAsync​(ListCACertificatesRequest listCACertificatesRequest)

        Lists the CA certificates registered for your AWS account.

        The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.

        Parameters:
        listCACertificatesRequest - Input for the ListCACertificates operation.
        Returns:
        A Java Future containing the result of the ListCACertificates operation returned by the service.
      • listCACertificatesAsync

        Future<ListCACertificatesResult> listCACertificatesAsync​(ListCACertificatesRequest listCACertificatesRequest,
                                                                 AsyncHandler<ListCACertificatesRequest,​ListCACertificatesResult> asyncHandler)

        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.

        Parameters:
        listCACertificatesRequest - 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

        Future<ListCertificatesResult> listCertificatesAsync​(ListCertificatesRequest listCertificatesRequest)

        Lists the certificates registered in your AWS account.

        The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.

        Parameters:
        listCertificatesRequest - The input for the ListCertificates operation.
        Returns:
        A Java Future containing the result of the ListCertificates operation returned by the service.
      • listCertificatesAsync

        Future<ListCertificatesResult> listCertificatesAsync​(ListCertificatesRequest listCertificatesRequest,
                                                             AsyncHandler<ListCertificatesRequest,​ListCertificatesResult> asyncHandler)

        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.

        Parameters:
        listCertificatesRequest - 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

        Future<ListCertificatesByCAResult> listCertificatesByCAAsync​(ListCertificatesByCARequest listCertificatesByCARequest)

        List the device certificates signed by the specified CA certificate.

        Parameters:
        listCertificatesByCARequest - The input to the ListCertificatesByCA operation.
        Returns:
        A Java Future containing the result of the ListCertificatesByCA operation returned by the service.
      • listCertificatesByCAAsync

        Future<ListCertificatesByCAResult> listCertificatesByCAAsync​(ListCertificatesByCARequest listCertificatesByCARequest,
                                                                     AsyncHandler<ListCertificatesByCARequest,​ListCertificatesByCAResult> asyncHandler)

        List the device certificates signed by the specified CA certificate.

        Parameters:
        listCertificatesByCARequest - 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

        Future<ListPoliciesResult> listPoliciesAsync​(ListPoliciesRequest listPoliciesRequest)

        Lists your policies.

        Parameters:
        listPoliciesRequest - The input for the ListPolicies operation.
        Returns:
        A Java Future containing the result of the ListPolicies operation returned by the service.
      • listPoliciesAsync

        Future<ListPoliciesResult> listPoliciesAsync​(ListPoliciesRequest listPoliciesRequest,
                                                     AsyncHandler<ListPoliciesRequest,​ListPoliciesResult> asyncHandler)

        Lists your policies.

        Parameters:
        listPoliciesRequest - 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

        Future<ListPolicyVersionsResult> listPolicyVersionsAsync​(ListPolicyVersionsRequest listPolicyVersionsRequest)

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

        Parameters:
        listPolicyVersionsRequest - The input for the ListPolicyVersions operation.
        Returns:
        A Java Future containing the result of the ListPolicyVersions operation returned by the service.
      • listPolicyVersionsAsync

        Future<ListPolicyVersionsResult> listPolicyVersionsAsync​(ListPolicyVersionsRequest listPolicyVersionsRequest,
                                                                 AsyncHandler<ListPolicyVersionsRequest,​ListPolicyVersionsResult> asyncHandler)

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

        Parameters:
        listPolicyVersionsRequest - 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

        Future<ListPrincipalPoliciesResult> listPrincipalPoliciesAsync​(ListPrincipalPoliciesRequest listPrincipalPoliciesRequest)

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

        Parameters:
        listPrincipalPoliciesRequest - The input for the ListPrincipalPolicies operation.
        Returns:
        A Java Future containing the result of the ListPrincipalPolicies operation returned by the service.
      • listPrincipalPoliciesAsync

        Future<ListPrincipalPoliciesResult> listPrincipalPoliciesAsync​(ListPrincipalPoliciesRequest listPrincipalPoliciesRequest,
                                                                       AsyncHandler<ListPrincipalPoliciesRequest,​ListPrincipalPoliciesResult> asyncHandler)

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

        Parameters:
        listPrincipalPoliciesRequest - 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

        Future<ListPrincipalThingsResult> listPrincipalThingsAsync​(ListPrincipalThingsRequest listPrincipalThingsRequest)

        Lists the things associated with the specified principal.

        Parameters:
        listPrincipalThingsRequest - The input for the ListPrincipalThings operation.
        Returns:
        A Java Future containing the result of the ListPrincipalThings operation returned by the service.
      • listPrincipalThingsAsync

        Future<ListPrincipalThingsResult> listPrincipalThingsAsync​(ListPrincipalThingsRequest listPrincipalThingsRequest,
                                                                   AsyncHandler<ListPrincipalThingsRequest,​ListPrincipalThingsResult> asyncHandler)

        Lists the things associated with the specified principal.

        Parameters:
        listPrincipalThingsRequest - 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

        Future<ListThingPrincipalsResult> listThingPrincipalsAsync​(ListThingPrincipalsRequest listThingPrincipalsRequest)

        Lists the principals associated with the specified thing.

        Parameters:
        listThingPrincipalsRequest - The input for the ListThingPrincipal operation.
        Returns:
        A Java Future containing the result of the ListThingPrincipals operation returned by the service.
      • listThingPrincipalsAsync

        Future<ListThingPrincipalsResult> listThingPrincipalsAsync​(ListThingPrincipalsRequest listThingPrincipalsRequest,
                                                                   AsyncHandler<ListThingPrincipalsRequest,​ListThingPrincipalsResult> asyncHandler)

        Lists the principals associated with the specified thing.

        Parameters:
        listThingPrincipalsRequest - 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

        Future<ListThingsResult> listThingsAsync​(ListThingsRequest listThingsRequest)

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

        Parameters:
        listThingsRequest - The input for the ListThings operation.
        Returns:
        A Java Future containing the result of the ListThings operation returned by the service.
      • listThingsAsync

        Future<ListThingsResult> listThingsAsync​(ListThingsRequest listThingsRequest,
                                                 AsyncHandler<ListThingsRequest,​ListThingsResult> asyncHandler)

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

        Parameters:
        listThingsRequest - 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

        Future<ListTopicRulesResult> listTopicRulesAsync​(ListTopicRulesRequest listTopicRulesRequest)

        Lists the rules for the specific topic.

        Parameters:
        listTopicRulesRequest - The input for the ListTopicRules operation.
        Returns:
        A Java Future containing the result of the ListTopicRules operation returned by the service.
      • listTopicRulesAsync

        Future<ListTopicRulesResult> listTopicRulesAsync​(ListTopicRulesRequest listTopicRulesRequest,
                                                         AsyncHandler<ListTopicRulesRequest,​ListTopicRulesResult> asyncHandler)

        Lists the rules for the specific topic.

        Parameters:
        listTopicRulesRequest - 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

        Future<RegisterCACertificateResult> registerCACertificateAsync​(RegisterCACertificateRequest registerCACertificateRequest)

        Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field 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.

        Parameters:
        registerCACertificateRequest - The input to the RegisterCACertificate operation.
        Returns:
        A Java Future containing the result of the RegisterCACertificate operation returned by the service.
      • registerCACertificateAsync

        Future<RegisterCACertificateResult> registerCACertificateAsync​(RegisterCACertificateRequest registerCACertificateRequest,
                                                                       AsyncHandler<RegisterCACertificateRequest,​RegisterCACertificateResult> asyncHandler)

        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.

        Parameters:
        registerCACertificateRequest - 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

        Future<RegisterCertificateResult> registerCertificateAsync​(RegisterCertificateRequest registerCertificateRequest)

        Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.

        Parameters:
        registerCertificateRequest - The input to the RegisterCertificate operation.
        Returns:
        A Java Future containing the result of the RegisterCertificate operation returned by the service.
      • registerCertificateAsync

        Future<RegisterCertificateResult> registerCertificateAsync​(RegisterCertificateRequest registerCertificateRequest,
                                                                   AsyncHandler<RegisterCertificateRequest,​RegisterCertificateResult> asyncHandler)

        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.

        Parameters:
        registerCertificateRequest - 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

        Future<RejectCertificateTransferResult> rejectCertificateTransferAsync​(RejectCertificateTransferRequest rejectCertificateTransferRequest)

        Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.

        To check for pending certificate transfers, call ListCertificates to enumerate your certificates.

        This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.

        Parameters:
        rejectCertificateTransferRequest - The input for the RejectCertificateTransfer operation.
        Returns:
        A Java Future containing the result of the RejectCertificateTransfer operation returned by the service.
      • rejectCertificateTransferAsync

        Future<RejectCertificateTransferResult> rejectCertificateTransferAsync​(RejectCertificateTransferRequest rejectCertificateTransferRequest,
                                                                               AsyncHandler<RejectCertificateTransferRequest,​RejectCertificateTransferResult> asyncHandler)

        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.

        Parameters:
        rejectCertificateTransferRequest - 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

        Future<ReplaceTopicRuleResult> replaceTopicRuleAsync​(ReplaceTopicRuleRequest replaceTopicRuleRequest)

        Replaces the specified rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.

        Parameters:
        replaceTopicRuleRequest - The input for the ReplaceTopicRule operation.
        Returns:
        A Java Future containing the result of the ReplaceTopicRule operation returned by the service.
      • replaceTopicRuleAsync

        Future<ReplaceTopicRuleResult> replaceTopicRuleAsync​(ReplaceTopicRuleRequest replaceTopicRuleRequest,
                                                             AsyncHandler<ReplaceTopicRuleRequest,​ReplaceTopicRuleResult> asyncHandler)

        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.

        Parameters:
        replaceTopicRuleRequest - 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

        Future<SetDefaultPolicyVersionResult> setDefaultPolicyVersionAsync​(SetDefaultPolicyVersionRequest setDefaultPolicyVersionRequest)

        Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API.

        Parameters:
        setDefaultPolicyVersionRequest - The input for the SetDefaultPolicyVersion operation.
        Returns:
        A Java Future containing the result of the SetDefaultPolicyVersion operation returned by the service.
      • setDefaultPolicyVersionAsync

        Future<SetDefaultPolicyVersionResult> setDefaultPolicyVersionAsync​(SetDefaultPolicyVersionRequest setDefaultPolicyVersionRequest,
                                                                           AsyncHandler<SetDefaultPolicyVersionRequest,​SetDefaultPolicyVersionResult> asyncHandler)

        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.

        Parameters:
        setDefaultPolicyVersionRequest - 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

        Future<SetLoggingOptionsResult> setLoggingOptionsAsync​(SetLoggingOptionsRequest setLoggingOptionsRequest)

        Sets the logging options.

        Parameters:
        setLoggingOptionsRequest - The input for the SetLoggingOptions operation.
        Returns:
        A Java Future containing the result of the SetLoggingOptions operation returned by the service.
      • setLoggingOptionsAsync

        Future<SetLoggingOptionsResult> setLoggingOptionsAsync​(SetLoggingOptionsRequest setLoggingOptionsRequest,
                                                               AsyncHandler<SetLoggingOptionsRequest,​SetLoggingOptionsResult> asyncHandler)

        Sets the logging options.

        Parameters:
        setLoggingOptionsRequest - 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

        Future<TransferCertificateResult> transferCertificateAsync​(TransferCertificateRequest transferCertificateRequest)

        Transfers the specified certificate to the specified AWS account.

        You can cancel the transfer until it is acknowledged by the recipient.

        No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target.

        The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it.

        The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them.

        Parameters:
        transferCertificateRequest - The input for the TransferCertificate operation.
        Returns:
        A Java Future containing the result of the TransferCertificate operation returned by the service.
      • transferCertificateAsync

        Future<TransferCertificateResult> transferCertificateAsync​(TransferCertificateRequest transferCertificateRequest,
                                                                   AsyncHandler<TransferCertificateRequest,​TransferCertificateResult> asyncHandler)

        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.

        Parameters:
        transferCertificateRequest - 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

        Future<UpdateCACertificateResult> updateCACertificateAsync​(UpdateCACertificateRequest updateCACertificateRequest)

        Updates a registered CA certificate.

        Parameters:
        updateCACertificateRequest - The input to the UpdateCACertificate operation.
        Returns:
        A Java Future containing the result of the UpdateCACertificate operation returned by the service.
      • updateCACertificateAsync

        Future<UpdateCACertificateResult> updateCACertificateAsync​(UpdateCACertificateRequest updateCACertificateRequest,
                                                                   AsyncHandler<UpdateCACertificateRequest,​UpdateCACertificateResult> asyncHandler)

        Updates a registered CA certificate.

        Parameters:
        updateCACertificateRequest - 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

        Future<UpdateCertificateResult> updateCertificateAsync​(UpdateCertificateRequest updateCertificateRequest)

        Updates the status of the specified certificate. This operation is idempotent.

        Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect currently connected devices, but these devices will be unable to reconnect.

        The ACTIVE state is required to authenticate devices connecting to AWS IoT using a certificate.

        Parameters:
        updateCertificateRequest - The input for the UpdateCertificate operation.
        Returns:
        A Java Future containing the result of the UpdateCertificate operation returned by the service.
      • updateCertificateAsync

        Future<UpdateCertificateResult> updateCertificateAsync​(UpdateCertificateRequest updateCertificateRequest,
                                                               AsyncHandler<UpdateCertificateRequest,​UpdateCertificateResult> asyncHandler)

        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.

        Parameters:
        updateCertificateRequest - 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

        Future<UpdateThingResult> updateThingAsync​(UpdateThingRequest updateThingRequest)

        Updates the data for a thing.

        Parameters:
        updateThingRequest - The input for the UpdateThing operation.
        Returns:
        A Java Future containing the result of the UpdateThing operation returned by the service.
      • updateThingAsync

        Future<UpdateThingResult> updateThingAsync​(UpdateThingRequest updateThingRequest,
                                                   AsyncHandler<UpdateThingRequest,​UpdateThingResult> asyncHandler)

        Updates the data for a thing.

        Parameters:
        updateThingRequest - 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.