
com.amazonaws.services.iot.AWSIotAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-iot Show documentation
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.iot;
import com.amazonaws.services.iot.model.*;
/**
* Interface for accessing AWS IoT asynchronously. Each asynchronous method will
* return a Java Future object representing the asynchronous operation;
* overloads which accept an {@code 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.
*
*/
public interface AWSIotAsync extends AWSIot {
/**
*
* 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.
*
*
* @param acceptCertificateTransferRequest
* The input for the AcceptCertificateTransfer operation.
* @return A Java Future containing the result of the
* AcceptCertificateTransfer operation returned by the service.
* @sample AWSIotAsync.AcceptCertificateTransfer
*/
java.util.concurrent.Future 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.
*
*
* @param acceptCertificateTransferRequest
* The input for the AcceptCertificateTransfer operation.
* @param 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.
* @return A Java Future containing the result of the
* AcceptCertificateTransfer operation returned by the service.
* @sample AWSIotAsyncHandler.AcceptCertificateTransfer
*/
java.util.concurrent.Future acceptCertificateTransferAsync(
AcceptCertificateTransferRequest acceptCertificateTransferRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Attaches the specified policy to the specified principal (certificate or
* other credential).
*
*
* @param attachPrincipalPolicyRequest
* The input for the AttachPrincipalPolicy operation.
* @return A Java Future containing the result of the AttachPrincipalPolicy
* operation returned by the service.
* @sample AWSIotAsync.AttachPrincipalPolicy
*/
java.util.concurrent.Future attachPrincipalPolicyAsync(
AttachPrincipalPolicyRequest attachPrincipalPolicyRequest);
/**
*
* Attaches the specified policy to the specified principal (certificate or
* other credential).
*
*
* @param attachPrincipalPolicyRequest
* The input for the AttachPrincipalPolicy operation.
* @param 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.
* @return A Java Future containing the result of the AttachPrincipalPolicy
* operation returned by the service.
* @sample AWSIotAsyncHandler.AttachPrincipalPolicy
*/
java.util.concurrent.Future attachPrincipalPolicyAsync(
AttachPrincipalPolicyRequest attachPrincipalPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Attaches the specified principal to the specified thing.
*
*
* @param attachThingPrincipalRequest
* The input for the AttachThingPrincipal operation.
* @return A Java Future containing the result of the AttachThingPrincipal
* operation returned by the service.
* @sample AWSIotAsync.AttachThingPrincipal
*/
java.util.concurrent.Future attachThingPrincipalAsync(
AttachThingPrincipalRequest attachThingPrincipalRequest);
/**
*
* Attaches the specified principal to the specified thing.
*
*
* @param attachThingPrincipalRequest
* The input for the AttachThingPrincipal operation.
* @param 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.
* @return A Java Future containing the result of the AttachThingPrincipal
* operation returned by the service.
* @sample AWSIotAsyncHandler.AttachThingPrincipal
*/
java.util.concurrent.Future attachThingPrincipalAsync(
AttachThingPrincipalRequest attachThingPrincipalRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param cancelCertificateTransferRequest
* The input for the CancelCertificateTransfer operation.
* @return A Java Future containing the result of the
* CancelCertificateTransfer operation returned by the service.
* @sample AWSIotAsync.CancelCertificateTransfer
*/
java.util.concurrent.Future 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.
*
*
* @param cancelCertificateTransferRequest
* The input for the CancelCertificateTransfer operation.
* @param 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.
* @return A Java Future containing the result of the
* CancelCertificateTransfer operation returned by the service.
* @sample AWSIotAsyncHandler.CancelCertificateTransfer
*/
java.util.concurrent.Future cancelCertificateTransferAsync(
CancelCertificateTransferRequest cancelCertificateTransferRequest,
com.amazonaws.handlers.AsyncHandler 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"
*
*
* @param createCertificateFromCsrRequest
* The input for the CreateCertificateFromCsr operation.
* @return A Java Future containing the result of the
* CreateCertificateFromCsr operation returned by the service.
* @sample AWSIotAsync.CreateCertificateFromCsr
*/
java.util.concurrent.Future 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"
*
*
* @param createCertificateFromCsrRequest
* The input for the CreateCertificateFromCsr operation.
* @param 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.
* @return A Java Future containing the result of the
* CreateCertificateFromCsr operation returned by the service.
* @sample AWSIotAsyncHandler.CreateCertificateFromCsr
*/
java.util.concurrent.Future createCertificateFromCsrAsync(
CreateCertificateFromCsrRequest createCertificateFromCsrRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param createKeysAndCertificateRequest
* The input for the CreateKeysAndCertificate operation.
* @return A Java Future containing the result of the
* CreateKeysAndCertificate operation returned by the service.
* @sample AWSIotAsync.CreateKeysAndCertificate
*/
java.util.concurrent.Future 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.
*
*
* @param createKeysAndCertificateRequest
* The input for the CreateKeysAndCertificate operation.
* @param 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.
* @return A Java Future containing the result of the
* CreateKeysAndCertificate operation returned by the service.
* @sample AWSIotAsyncHandler.CreateKeysAndCertificate
*/
java.util.concurrent.Future createKeysAndCertificateAsync(
CreateKeysAndCertificateRequest createKeysAndCertificateRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param createPolicyRequest
* The input for the CreatePolicy operation.
* @return A Java Future containing the result of the CreatePolicy operation
* returned by the service.
* @sample AWSIotAsync.CreatePolicy
*/
java.util.concurrent.Future 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.
*
*
* @param createPolicyRequest
* The input for the CreatePolicy operation.
* @param 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.
* @return A Java Future containing the result of the CreatePolicy operation
* returned by the service.
* @sample AWSIotAsyncHandler.CreatePolicy
*/
java.util.concurrent.Future createPolicyAsync(
CreatePolicyRequest createPolicyRequest,
com.amazonaws.handlers.AsyncHandler 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).
*
*
* @param createPolicyVersionRequest
* The input for the CreatePolicyVersion operation.
* @return A Java Future containing the result of the CreatePolicyVersion
* operation returned by the service.
* @sample AWSIotAsync.CreatePolicyVersion
*/
java.util.concurrent.Future 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).
*
*
* @param createPolicyVersionRequest
* The input for the CreatePolicyVersion operation.
* @param 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.
* @return A Java Future containing the result of the CreatePolicyVersion
* operation returned by the service.
* @sample AWSIotAsyncHandler.CreatePolicyVersion
*/
java.util.concurrent.Future createPolicyVersionAsync(
CreatePolicyVersionRequest createPolicyVersionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a thing in the Thing Registry.
*
*
* @param createThingRequest
* The input for the CreateThing operation.
* @return A Java Future containing the result of the CreateThing operation
* returned by the service.
* @sample AWSIotAsync.CreateThing
*/
java.util.concurrent.Future createThingAsync(
CreateThingRequest createThingRequest);
/**
*
* Creates a thing in the Thing Registry.
*
*
* @param createThingRequest
* The input for the CreateThing operation.
* @param 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.
* @return A Java Future containing the result of the CreateThing operation
* returned by the service.
* @sample AWSIotAsyncHandler.CreateThing
*/
java.util.concurrent.Future createThingAsync(
CreateThingRequest createThingRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param createTopicRuleRequest
* The input for the CreateTopicRule operation.
* @return A Java Future containing the result of the CreateTopicRule
* operation returned by the service.
* @sample AWSIotAsync.CreateTopicRule
*/
java.util.concurrent.Future 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.
*
*
* @param createTopicRuleRequest
* The input for the CreateTopicRule operation.
* @param 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.
* @return A Java Future containing the result of the CreateTopicRule
* operation returned by the service.
* @sample AWSIotAsyncHandler.CreateTopicRule
*/
java.util.concurrent.Future createTopicRuleAsync(
CreateTopicRuleRequest createTopicRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a registered CA certificate.
*
*
* @param deleteCACertificateRequest
* Input for the DeleteCACertificate operation.
* @return A Java Future containing the result of the DeleteCACertificate
* operation returned by the service.
* @sample AWSIotAsync.DeleteCACertificate
*/
java.util.concurrent.Future deleteCACertificateAsync(
DeleteCACertificateRequest deleteCACertificateRequest);
/**
*
* Deletes a registered CA certificate.
*
*
* @param deleteCACertificateRequest
* Input for the DeleteCACertificate operation.
* @param 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.
* @return A Java Future containing the result of the DeleteCACertificate
* operation returned by the service.
* @sample AWSIotAsyncHandler.DeleteCACertificate
*/
java.util.concurrent.Future deleteCACertificateAsync(
DeleteCACertificateRequest deleteCACertificateRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param deleteCertificateRequest
* The input for the DeleteCertificate operation.
* @return A Java Future containing the result of the DeleteCertificate
* operation returned by the service.
* @sample AWSIotAsync.DeleteCertificate
*/
java.util.concurrent.Future 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.
*
*
* @param deleteCertificateRequest
* The input for the DeleteCertificate operation.
* @param 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.
* @return A Java Future containing the result of the DeleteCertificate
* operation returned by the service.
* @sample AWSIotAsyncHandler.DeleteCertificate
*/
java.util.concurrent.Future deleteCertificateAsync(
DeleteCertificateRequest deleteCertificateRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param deletePolicyRequest
* The input for the DeletePolicy operation.
* @return A Java Future containing the result of the DeletePolicy operation
* returned by the service.
* @sample AWSIotAsync.DeletePolicy
*/
java.util.concurrent.Future 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.
*
*
* @param deletePolicyRequest
* The input for the DeletePolicy operation.
* @param 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.
* @return A Java Future containing the result of the DeletePolicy operation
* returned by the service.
* @sample AWSIotAsyncHandler.DeletePolicy
*/
java.util.concurrent.Future deletePolicyAsync(
DeletePolicyRequest deletePolicyRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param deletePolicyVersionRequest
* The input for the DeletePolicyVersion operation.
* @return A Java Future containing the result of the DeletePolicyVersion
* operation returned by the service.
* @sample AWSIotAsync.DeletePolicyVersion
*/
java.util.concurrent.Future 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.
*
*
* @param deletePolicyVersionRequest
* The input for the DeletePolicyVersion operation.
* @param 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.
* @return A Java Future containing the result of the DeletePolicyVersion
* operation returned by the service.
* @sample AWSIotAsyncHandler.DeletePolicyVersion
*/
java.util.concurrent.Future deletePolicyVersionAsync(
DeletePolicyVersionRequest deletePolicyVersionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a CA certificate registration code.
*
*
* @param deleteRegistrationCodeRequest
* The input for the DeleteRegistrationCode operation.
* @return A Java Future containing the result of the DeleteRegistrationCode
* operation returned by the service.
* @sample AWSIotAsync.DeleteRegistrationCode
*/
java.util.concurrent.Future deleteRegistrationCodeAsync(
DeleteRegistrationCodeRequest deleteRegistrationCodeRequest);
/**
*
* Deletes a CA certificate registration code.
*
*
* @param deleteRegistrationCodeRequest
* The input for the DeleteRegistrationCode operation.
* @param 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.
* @return A Java Future containing the result of the DeleteRegistrationCode
* operation returned by the service.
* @sample AWSIotAsyncHandler.DeleteRegistrationCode
*/
java.util.concurrent.Future deleteRegistrationCodeAsync(
DeleteRegistrationCodeRequest deleteRegistrationCodeRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the specified thing from the Thing Registry.
*
*
* @param deleteThingRequest
* The input for the DeleteThing operation.
* @return A Java Future containing the result of the DeleteThing operation
* returned by the service.
* @sample AWSIotAsync.DeleteThing
*/
java.util.concurrent.Future deleteThingAsync(
DeleteThingRequest deleteThingRequest);
/**
*
* Deletes the specified thing from the Thing Registry.
*
*
* @param deleteThingRequest
* The input for the DeleteThing operation.
* @param 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.
* @return A Java Future containing the result of the DeleteThing operation
* returned by the service.
* @sample AWSIotAsyncHandler.DeleteThing
*/
java.util.concurrent.Future deleteThingAsync(
DeleteThingRequest deleteThingRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the specified rule.
*
*
* @param deleteTopicRuleRequest
* The input for the DeleteTopicRule operation.
* @return A Java Future containing the result of the DeleteTopicRule
* operation returned by the service.
* @sample AWSIotAsync.DeleteTopicRule
*/
java.util.concurrent.Future deleteTopicRuleAsync(
DeleteTopicRuleRequest deleteTopicRuleRequest);
/**
*
* Deletes the specified rule.
*
*
* @param deleteTopicRuleRequest
* The input for the DeleteTopicRule operation.
* @param 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.
* @return A Java Future containing the result of the DeleteTopicRule
* operation returned by the service.
* @sample AWSIotAsyncHandler.DeleteTopicRule
*/
java.util.concurrent.Future deleteTopicRuleAsync(
DeleteTopicRuleRequest deleteTopicRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Describes a registered CA certificate.
*
*
* @param describeCACertificateRequest
* The input for the DescribeCACertificate operation.
* @return A Java Future containing the result of the DescribeCACertificate
* operation returned by the service.
* @sample AWSIotAsync.DescribeCACertificate
*/
java.util.concurrent.Future describeCACertificateAsync(
DescribeCACertificateRequest describeCACertificateRequest);
/**
*
* Describes a registered CA certificate.
*
*
* @param describeCACertificateRequest
* The input for the DescribeCACertificate operation.
* @param 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.
* @return A Java Future containing the result of the DescribeCACertificate
* operation returned by the service.
* @sample AWSIotAsyncHandler.DescribeCACertificate
*/
java.util.concurrent.Future describeCACertificateAsync(
DescribeCACertificateRequest describeCACertificateRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about the specified certificate.
*
*
* @param describeCertificateRequest
* The input for the DescribeCertificate operation.
* @return A Java Future containing the result of the DescribeCertificate
* operation returned by the service.
* @sample AWSIotAsync.DescribeCertificate
*/
java.util.concurrent.Future describeCertificateAsync(
DescribeCertificateRequest describeCertificateRequest);
/**
*
* Gets information about the specified certificate.
*
*
* @param describeCertificateRequest
* The input for the DescribeCertificate operation.
* @param 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.
* @return A Java Future containing the result of the DescribeCertificate
* operation returned by the service.
* @sample AWSIotAsyncHandler.DescribeCertificate
*/
java.util.concurrent.Future describeCertificateAsync(
DescribeCertificateRequest describeCertificateRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param describeEndpointRequest
* The input for the DescribeEndpoint operation.
* @return A Java Future containing the result of the DescribeEndpoint
* operation returned by the service.
* @sample AWSIotAsync.DescribeEndpoint
*/
java.util.concurrent.Future 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.
*
*
* @param describeEndpointRequest
* The input for the DescribeEndpoint operation.
* @param 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.
* @return A Java Future containing the result of the DescribeEndpoint
* operation returned by the service.
* @sample AWSIotAsyncHandler.DescribeEndpoint
*/
java.util.concurrent.Future describeEndpointAsync(
DescribeEndpointRequest describeEndpointRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about the specified thing.
*
*
* @param describeThingRequest
* The input for the DescribeThing operation.
* @return A Java Future containing the result of the DescribeThing
* operation returned by the service.
* @sample AWSIotAsync.DescribeThing
*/
java.util.concurrent.Future describeThingAsync(
DescribeThingRequest describeThingRequest);
/**
*
* Gets information about the specified thing.
*
*
* @param describeThingRequest
* The input for the DescribeThing operation.
* @param 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.
* @return A Java Future containing the result of the DescribeThing
* operation returned by the service.
* @sample AWSIotAsyncHandler.DescribeThing
*/
java.util.concurrent.Future describeThingAsync(
DescribeThingRequest describeThingRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes the specified policy from the specified certificate.
*
*
* @param detachPrincipalPolicyRequest
* The input for the DetachPrincipalPolicy operation.
* @return A Java Future containing the result of the DetachPrincipalPolicy
* operation returned by the service.
* @sample AWSIotAsync.DetachPrincipalPolicy
*/
java.util.concurrent.Future detachPrincipalPolicyAsync(
DetachPrincipalPolicyRequest detachPrincipalPolicyRequest);
/**
*
* Removes the specified policy from the specified certificate.
*
*
* @param detachPrincipalPolicyRequest
* The input for the DetachPrincipalPolicy operation.
* @param 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.
* @return A Java Future containing the result of the DetachPrincipalPolicy
* operation returned by the service.
* @sample AWSIotAsyncHandler.DetachPrincipalPolicy
*/
java.util.concurrent.Future detachPrincipalPolicyAsync(
DetachPrincipalPolicyRequest detachPrincipalPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Detaches the specified principal from the specified thing.
*
*
* @param detachThingPrincipalRequest
* The input for the DetachThingPrincipal operation.
* @return A Java Future containing the result of the DetachThingPrincipal
* operation returned by the service.
* @sample AWSIotAsync.DetachThingPrincipal
*/
java.util.concurrent.Future detachThingPrincipalAsync(
DetachThingPrincipalRequest detachThingPrincipalRequest);
/**
*
* Detaches the specified principal from the specified thing.
*
*
* @param detachThingPrincipalRequest
* The input for the DetachThingPrincipal operation.
* @param 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.
* @return A Java Future containing the result of the DetachThingPrincipal
* operation returned by the service.
* @sample AWSIotAsyncHandler.DetachThingPrincipal
*/
java.util.concurrent.Future detachThingPrincipalAsync(
DetachThingPrincipalRequest detachThingPrincipalRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Disables the specified rule.
*
*
* @param disableTopicRuleRequest
* The input for the DisableTopicRuleRequest operation.
* @return A Java Future containing the result of the DisableTopicRule
* operation returned by the service.
* @sample AWSIotAsync.DisableTopicRule
*/
java.util.concurrent.Future disableTopicRuleAsync(
DisableTopicRuleRequest disableTopicRuleRequest);
/**
*
* Disables the specified rule.
*
*
* @param disableTopicRuleRequest
* The input for the DisableTopicRuleRequest operation.
* @param 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.
* @return A Java Future containing the result of the DisableTopicRule
* operation returned by the service.
* @sample AWSIotAsyncHandler.DisableTopicRule
*/
java.util.concurrent.Future disableTopicRuleAsync(
DisableTopicRuleRequest disableTopicRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Enables the specified rule.
*
*
* @param enableTopicRuleRequest
* The input for the EnableTopicRuleRequest operation.
* @return A Java Future containing the result of the EnableTopicRule
* operation returned by the service.
* @sample AWSIotAsync.EnableTopicRule
*/
java.util.concurrent.Future enableTopicRuleAsync(
EnableTopicRuleRequest enableTopicRuleRequest);
/**
*
* Enables the specified rule.
*
*
* @param enableTopicRuleRequest
* The input for the EnableTopicRuleRequest operation.
* @param 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.
* @return A Java Future containing the result of the EnableTopicRule
* operation returned by the service.
* @sample AWSIotAsyncHandler.EnableTopicRule
*/
java.util.concurrent.Future enableTopicRuleAsync(
EnableTopicRuleRequest enableTopicRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets the logging options.
*
*
* @param getLoggingOptionsRequest
* The input for the GetLoggingOptions operation.
* @return A Java Future containing the result of the GetLoggingOptions
* operation returned by the service.
* @sample AWSIotAsync.GetLoggingOptions
*/
java.util.concurrent.Future getLoggingOptionsAsync(
GetLoggingOptionsRequest getLoggingOptionsRequest);
/**
*
* Gets the logging options.
*
*
* @param getLoggingOptionsRequest
* The input for the GetLoggingOptions operation.
* @param 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.
* @return A Java Future containing the result of the GetLoggingOptions
* operation returned by the service.
* @sample AWSIotAsyncHandler.GetLoggingOptions
*/
java.util.concurrent.Future getLoggingOptionsAsync(
GetLoggingOptionsRequest getLoggingOptionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about the specified policy with the policy document of
* the default version.
*
*
* @param getPolicyRequest
* The input for the GetPolicy operation.
* @return A Java Future containing the result of the GetPolicy operation
* returned by the service.
* @sample AWSIotAsync.GetPolicy
*/
java.util.concurrent.Future getPolicyAsync(
GetPolicyRequest getPolicyRequest);
/**
*
* Gets information about the specified policy with the policy document of
* the default version.
*
*
* @param getPolicyRequest
* The input for the GetPolicy operation.
* @param 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.
* @return A Java Future containing the result of the GetPolicy operation
* returned by the service.
* @sample AWSIotAsyncHandler.GetPolicy
*/
java.util.concurrent.Future getPolicyAsync(
GetPolicyRequest getPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about the specified policy version.
*
*
* @param getPolicyVersionRequest
* The input for the GetPolicyVersion operation.
* @return A Java Future containing the result of the GetPolicyVersion
* operation returned by the service.
* @sample AWSIotAsync.GetPolicyVersion
*/
java.util.concurrent.Future getPolicyVersionAsync(
GetPolicyVersionRequest getPolicyVersionRequest);
/**
*
* Gets information about the specified policy version.
*
*
* @param getPolicyVersionRequest
* The input for the GetPolicyVersion operation.
* @param 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.
* @return A Java Future containing the result of the GetPolicyVersion
* operation returned by the service.
* @sample AWSIotAsyncHandler.GetPolicyVersion
*/
java.util.concurrent.Future getPolicyVersionAsync(
GetPolicyVersionRequest getPolicyVersionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a registration code used to register a CA certificate with AWS IoT.
*
*
* @param getRegistrationCodeRequest
* The input to the GetRegistrationCode operation.
* @return A Java Future containing the result of the GetRegistrationCode
* operation returned by the service.
* @sample AWSIotAsync.GetRegistrationCode
*/
java.util.concurrent.Future getRegistrationCodeAsync(
GetRegistrationCodeRequest getRegistrationCodeRequest);
/**
*
* Gets a registration code used to register a CA certificate with AWS IoT.
*
*
* @param getRegistrationCodeRequest
* The input to the GetRegistrationCode operation.
* @param 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.
* @return A Java Future containing the result of the GetRegistrationCode
* operation returned by the service.
* @sample AWSIotAsyncHandler.GetRegistrationCode
*/
java.util.concurrent.Future getRegistrationCodeAsync(
GetRegistrationCodeRequest getRegistrationCodeRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about the specified rule.
*
*
* @param getTopicRuleRequest
* The input for the GetTopicRule operation.
* @return A Java Future containing the result of the GetTopicRule operation
* returned by the service.
* @sample AWSIotAsync.GetTopicRule
*/
java.util.concurrent.Future getTopicRuleAsync(
GetTopicRuleRequest getTopicRuleRequest);
/**
*
* Gets information about the specified rule.
*
*
* @param getTopicRuleRequest
* The input for the GetTopicRule operation.
* @param 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.
* @return A Java Future containing the result of the GetTopicRule operation
* returned by the service.
* @sample AWSIotAsyncHandler.GetTopicRule
*/
java.util.concurrent.Future getTopicRuleAsync(
GetTopicRuleRequest getTopicRuleRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param listCACertificatesRequest
* Input for the ListCACertificates operation.
* @return A Java Future containing the result of the ListCACertificates
* operation returned by the service.
* @sample AWSIotAsync.ListCACertificates
*/
java.util.concurrent.Future 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.
*
*
* @param listCACertificatesRequest
* Input for the ListCACertificates operation.
* @param 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.
* @return A Java Future containing the result of the ListCACertificates
* operation returned by the service.
* @sample AWSIotAsyncHandler.ListCACertificates
*/
java.util.concurrent.Future listCACertificatesAsync(
ListCACertificatesRequest listCACertificatesRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param listCertificatesRequest
* The input for the ListCertificates operation.
* @return A Java Future containing the result of the ListCertificates
* operation returned by the service.
* @sample AWSIotAsync.ListCertificates
*/
java.util.concurrent.Future 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.
*
*
* @param listCertificatesRequest
* The input for the ListCertificates operation.
* @param 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.
* @return A Java Future containing the result of the ListCertificates
* operation returned by the service.
* @sample AWSIotAsyncHandler.ListCertificates
*/
java.util.concurrent.Future listCertificatesAsync(
ListCertificatesRequest listCertificatesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* List the device certificates signed by the specified CA certificate.
*
*
* @param listCertificatesByCARequest
* The input to the ListCertificatesByCA operation.
* @return A Java Future containing the result of the ListCertificatesByCA
* operation returned by the service.
* @sample AWSIotAsync.ListCertificatesByCA
*/
java.util.concurrent.Future listCertificatesByCAAsync(
ListCertificatesByCARequest listCertificatesByCARequest);
/**
*
* List the device certificates signed by the specified CA certificate.
*
*
* @param listCertificatesByCARequest
* The input to the ListCertificatesByCA operation.
* @param 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.
* @return A Java Future containing the result of the ListCertificatesByCA
* operation returned by the service.
* @sample AWSIotAsyncHandler.ListCertificatesByCA
*/
java.util.concurrent.Future listCertificatesByCAAsync(
ListCertificatesByCARequest listCertificatesByCARequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists your policies.
*
*
* @param listPoliciesRequest
* The input for the ListPolicies operation.
* @return A Java Future containing the result of the ListPolicies operation
* returned by the service.
* @sample AWSIotAsync.ListPolicies
*/
java.util.concurrent.Future listPoliciesAsync(
ListPoliciesRequest listPoliciesRequest);
/**
*
* Lists your policies.
*
*
* @param listPoliciesRequest
* The input for the ListPolicies operation.
* @param 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.
* @return A Java Future containing the result of the ListPolicies operation
* returned by the service.
* @sample AWSIotAsyncHandler.ListPolicies
*/
java.util.concurrent.Future listPoliciesAsync(
ListPoliciesRequest listPoliciesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the versions of the specified policy, and identifies the default
* version.
*
*
* @param listPolicyVersionsRequest
* The input for the ListPolicyVersions operation.
* @return A Java Future containing the result of the ListPolicyVersions
* operation returned by the service.
* @sample AWSIotAsync.ListPolicyVersions
*/
java.util.concurrent.Future listPolicyVersionsAsync(
ListPolicyVersionsRequest listPolicyVersionsRequest);
/**
*
* Lists the versions of the specified policy, and identifies the default
* version.
*
*
* @param listPolicyVersionsRequest
* The input for the ListPolicyVersions operation.
* @param 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.
* @return A Java Future containing the result of the ListPolicyVersions
* operation returned by the service.
* @sample AWSIotAsyncHandler.ListPolicyVersions
*/
java.util.concurrent.Future listPolicyVersionsAsync(
ListPolicyVersionsRequest listPolicyVersionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the policies attached to the specified principal. If you use an
* Cognito identity, the ID must be in AmazonCognito Identity format.
*
*
* @param listPrincipalPoliciesRequest
* The input for the ListPrincipalPolicies operation.
* @return A Java Future containing the result of the ListPrincipalPolicies
* operation returned by the service.
* @sample AWSIotAsync.ListPrincipalPolicies
*/
java.util.concurrent.Future 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.
*
*
* @param listPrincipalPoliciesRequest
* The input for the ListPrincipalPolicies operation.
* @param 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.
* @return A Java Future containing the result of the ListPrincipalPolicies
* operation returned by the service.
* @sample AWSIotAsyncHandler.ListPrincipalPolicies
*/
java.util.concurrent.Future listPrincipalPoliciesAsync(
ListPrincipalPoliciesRequest listPrincipalPoliciesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the things associated with the specified principal.
*
*
* @param listPrincipalThingsRequest
* The input for the ListPrincipalThings operation.
* @return A Java Future containing the result of the ListPrincipalThings
* operation returned by the service.
* @sample AWSIotAsync.ListPrincipalThings
*/
java.util.concurrent.Future listPrincipalThingsAsync(
ListPrincipalThingsRequest listPrincipalThingsRequest);
/**
*
* Lists the things associated with the specified principal.
*
*
* @param listPrincipalThingsRequest
* The input for the ListPrincipalThings operation.
* @param 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.
* @return A Java Future containing the result of the ListPrincipalThings
* operation returned by the service.
* @sample AWSIotAsyncHandler.ListPrincipalThings
*/
java.util.concurrent.Future listPrincipalThingsAsync(
ListPrincipalThingsRequest listPrincipalThingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the principals associated with the specified thing.
*
*
* @param listThingPrincipalsRequest
* The input for the ListThingPrincipal operation.
* @return A Java Future containing the result of the ListThingPrincipals
* operation returned by the service.
* @sample AWSIotAsync.ListThingPrincipals
*/
java.util.concurrent.Future listThingPrincipalsAsync(
ListThingPrincipalsRequest listThingPrincipalsRequest);
/**
*
* Lists the principals associated with the specified thing.
*
*
* @param listThingPrincipalsRequest
* The input for the ListThingPrincipal operation.
* @param 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.
* @return A Java Future containing the result of the ListThingPrincipals
* operation returned by the service.
* @sample AWSIotAsyncHandler.ListThingPrincipals
*/
java.util.concurrent.Future listThingPrincipalsAsync(
ListThingPrincipalsRequest listThingPrincipalsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists your things. You can pass an AttributeName or AttributeValue to
* filter your things (for example,
* "ListThings where AttributeName=Color and AttributeValue=Red").
*
*
* @param listThingsRequest
* The input for the ListThings operation.
* @return A Java Future containing the result of the ListThings operation
* returned by the service.
* @sample AWSIotAsync.ListThings
*/
java.util.concurrent.Future 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").
*
*
* @param listThingsRequest
* The input for the ListThings operation.
* @param 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.
* @return A Java Future containing the result of the ListThings operation
* returned by the service.
* @sample AWSIotAsyncHandler.ListThings
*/
java.util.concurrent.Future listThingsAsync(
ListThingsRequest listThingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the rules for the specific topic.
*
*
* @param listTopicRulesRequest
* The input for the ListTopicRules operation.
* @return A Java Future containing the result of the ListTopicRules
* operation returned by the service.
* @sample AWSIotAsync.ListTopicRules
*/
java.util.concurrent.Future listTopicRulesAsync(
ListTopicRulesRequest listTopicRulesRequest);
/**
*
* Lists the rules for the specific topic.
*
*
* @param listTopicRulesRequest
* The input for the ListTopicRules operation.
* @param 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.
* @return A Java Future containing the result of the ListTopicRules
* operation returned by the service.
* @sample AWSIotAsyncHandler.ListTopicRules
*/
java.util.concurrent.Future listTopicRulesAsync(
ListTopicRulesRequest listTopicRulesRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param registerCACertificateRequest
* The input to the RegisterCACertificate operation.
* @return A Java Future containing the result of the RegisterCACertificate
* operation returned by the service.
* @sample AWSIotAsync.RegisterCACertificate
*/
java.util.concurrent.Future 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.
*
*
* @param registerCACertificateRequest
* The input to the RegisterCACertificate operation.
* @param 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.
* @return A Java Future containing the result of the RegisterCACertificate
* operation returned by the service.
* @sample AWSIotAsyncHandler.RegisterCACertificate
*/
java.util.concurrent.Future registerCACertificateAsync(
RegisterCACertificateRequest registerCACertificateRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param registerCertificateRequest
* The input to the RegisterCertificate operation.
* @return A Java Future containing the result of the RegisterCertificate
* operation returned by the service.
* @sample AWSIotAsync.RegisterCertificate
*/
java.util.concurrent.Future 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.
*
*
* @param registerCertificateRequest
* The input to the RegisterCertificate operation.
* @param 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.
* @return A Java Future containing the result of the RegisterCertificate
* operation returned by the service.
* @sample AWSIotAsyncHandler.RegisterCertificate
*/
java.util.concurrent.Future registerCertificateAsync(
RegisterCertificateRequest registerCertificateRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param rejectCertificateTransferRequest
* The input for the RejectCertificateTransfer operation.
* @return A Java Future containing the result of the
* RejectCertificateTransfer operation returned by the service.
* @sample AWSIotAsync.RejectCertificateTransfer
*/
java.util.concurrent.Future 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.
*
*
* @param rejectCertificateTransferRequest
* The input for the RejectCertificateTransfer operation.
* @param 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.
* @return A Java Future containing the result of the
* RejectCertificateTransfer operation returned by the service.
* @sample AWSIotAsyncHandler.RejectCertificateTransfer
*/
java.util.concurrent.Future rejectCertificateTransferAsync(
RejectCertificateTransferRequest rejectCertificateTransferRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param replaceTopicRuleRequest
* The input for the ReplaceTopicRule operation.
* @return A Java Future containing the result of the ReplaceTopicRule
* operation returned by the service.
* @sample AWSIotAsync.ReplaceTopicRule
*/
java.util.concurrent.Future 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.
*
*
* @param replaceTopicRuleRequest
* The input for the ReplaceTopicRule operation.
* @param 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.
* @return A Java Future containing the result of the ReplaceTopicRule
* operation returned by the service.
* @sample AWSIotAsyncHandler.ReplaceTopicRule
*/
java.util.concurrent.Future replaceTopicRuleAsync(
ReplaceTopicRuleRequest replaceTopicRuleRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param setDefaultPolicyVersionRequest
* The input for the SetDefaultPolicyVersion operation.
* @return A Java Future containing the result of the
* SetDefaultPolicyVersion operation returned by the service.
* @sample AWSIotAsync.SetDefaultPolicyVersion
*/
java.util.concurrent.Future 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.
*
*
* @param setDefaultPolicyVersionRequest
* The input for the SetDefaultPolicyVersion operation.
* @param 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.
* @return A Java Future containing the result of the
* SetDefaultPolicyVersion operation returned by the service.
* @sample AWSIotAsyncHandler.SetDefaultPolicyVersion
*/
java.util.concurrent.Future setDefaultPolicyVersionAsync(
SetDefaultPolicyVersionRequest setDefaultPolicyVersionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Sets the logging options.
*
*
* @param setLoggingOptionsRequest
* The input for the SetLoggingOptions operation.
* @return A Java Future containing the result of the SetLoggingOptions
* operation returned by the service.
* @sample AWSIotAsync.SetLoggingOptions
*/
java.util.concurrent.Future setLoggingOptionsAsync(
SetLoggingOptionsRequest setLoggingOptionsRequest);
/**
*
* Sets the logging options.
*
*
* @param setLoggingOptionsRequest
* The input for the SetLoggingOptions operation.
* @param 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.
* @return A Java Future containing the result of the SetLoggingOptions
* operation returned by the service.
* @sample AWSIotAsyncHandler.SetLoggingOptions
*/
java.util.concurrent.Future setLoggingOptionsAsync(
SetLoggingOptionsRequest setLoggingOptionsRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param transferCertificateRequest
* The input for the TransferCertificate operation.
* @return A Java Future containing the result of the TransferCertificate
* operation returned by the service.
* @sample AWSIotAsync.TransferCertificate
*/
java.util.concurrent.Future 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.
*
*
* @param transferCertificateRequest
* The input for the TransferCertificate operation.
* @param 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.
* @return A Java Future containing the result of the TransferCertificate
* operation returned by the service.
* @sample AWSIotAsyncHandler.TransferCertificate
*/
java.util.concurrent.Future transferCertificateAsync(
TransferCertificateRequest transferCertificateRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a registered CA certificate.
*
*
* @param updateCACertificateRequest
* The input to the UpdateCACertificate operation.
* @return A Java Future containing the result of the UpdateCACertificate
* operation returned by the service.
* @sample AWSIotAsync.UpdateCACertificate
*/
java.util.concurrent.Future updateCACertificateAsync(
UpdateCACertificateRequest updateCACertificateRequest);
/**
*
* Updates a registered CA certificate.
*
*
* @param updateCACertificateRequest
* The input to the UpdateCACertificate operation.
* @param 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.
* @return A Java Future containing the result of the UpdateCACertificate
* operation returned by the service.
* @sample AWSIotAsyncHandler.UpdateCACertificate
*/
java.util.concurrent.Future updateCACertificateAsync(
UpdateCACertificateRequest updateCACertificateRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param updateCertificateRequest
* The input for the UpdateCertificate operation.
* @return A Java Future containing the result of the UpdateCertificate
* operation returned by the service.
* @sample AWSIotAsync.UpdateCertificate
*/
java.util.concurrent.Future 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.
*
*
* @param updateCertificateRequest
* The input for the UpdateCertificate operation.
* @param 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.
* @return A Java Future containing the result of the UpdateCertificate
* operation returned by the service.
* @sample AWSIotAsyncHandler.UpdateCertificate
*/
java.util.concurrent.Future updateCertificateAsync(
UpdateCertificateRequest updateCertificateRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the data for a thing.
*
*
* @param updateThingRequest
* The input for the UpdateThing operation.
* @return A Java Future containing the result of the UpdateThing operation
* returned by the service.
* @sample AWSIotAsync.UpdateThing
*/
java.util.concurrent.Future updateThingAsync(
UpdateThingRequest updateThingRequest);
/**
*
* Updates the data for a thing.
*
*
* @param updateThingRequest
* The input for the UpdateThing operation.
* @param 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.
* @return A Java Future containing the result of the UpdateThing operation
* returned by the service.
* @sample AWSIotAsyncHandler.UpdateThing
*/
java.util.concurrent.Future updateThingAsync(
UpdateThingRequest updateThingRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}