@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIotClient extends AmazonWebServiceClient implements AWSIot
AWS IoT provides secure, bi-directional communication between Internet-connected devices (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 device (Registry), configure logging, and create and manage policies and credentials to authenticate devices.
For more information about how AWS IoT works, see the Developer Guide.
For information about how to use the credentials provider for AWS IoT, see Authorizing Direct Calls to AWS Services.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Constructor and Description |
|---|
AWSIotClient()
Deprecated.
|
AWSIotClient(AWSCredentials awsCredentials)
Deprecated.
use
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AWSIotClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build(); |
AWSIotClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
|
AWSIotClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSIotClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSIotClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
AWSIotClient(ClientConfiguration clientConfiguration)
Deprecated.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdown@Deprecated public AWSIotClient()
AWSIotClientBuilder.defaultClient()All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain@Deprecated public AWSIotClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this client connects to AWS IoT (ex: proxy settings,
retry counts, etc.).DefaultAWSCredentialsProviderChain@Deprecated public AWSIotClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AWSIotClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build();All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.@Deprecated public AWSIotClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration - The client configuration options controlling how this client connects to AWS IoT (ex: proxy settings,
retry counts, etc.).@Deprecated public AWSIotClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.@Deprecated public AWSIotClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this client connects to AWS IoT (ex: proxy settings,
retry counts, etc.).@Deprecated public AWSIotClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsClientBuilder.withMetricsCollector(RequestMetricCollector)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this client connects to AWS IoT (ex: proxy settings,
retry counts, etc.).requestMetricCollector - optional request metric collectorpublic static AWSIotClientBuilder builder()
public AcceptCertificateTransferResult acceptCertificateTransfer(AcceptCertificateTransferRequest request)
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.
acceptCertificateTransfer in interface AWSIotacceptCertificateTransferRequest - The input for the AcceptCertificateTransfer operation.ResourceNotFoundException - The specified resource does not exist.TransferAlreadyCompletedException - You can't revert the certificate transfer because the transfer is already complete.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public AddThingToBillingGroupResult addThingToBillingGroup(AddThingToBillingGroupRequest request)
Adds a thing to a billing group.
addThingToBillingGroup in interface AWSIotaddThingToBillingGroupRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public AddThingToThingGroupResult addThingToThingGroup(AddThingToThingGroupRequest request)
Adds a thing to a thing group.
addThingToThingGroup in interface AWSIotaddThingToThingGroupRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public AssociateTargetsWithJobResult associateTargetsWithJob(AssociateTargetsWithJobRequest request)
Associates a group with a continuous job. The following criteria must be met:
The job must have been created with the targetSelection field set to "CONTINUOUS".
The job status must currently be "IN_PROGRESS".
The total number of targets associated with a job must not exceed 100.
associateTargetsWithJob in interface AWSIotassociateTargetsWithJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.public AttachPolicyResult attachPolicy(AttachPolicyRequest request)
Attaches a policy to the specified target.
attachPolicy in interface AWSIotattachPolicyRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.@Deprecated public AttachPrincipalPolicyResult attachPrincipalPolicy(AttachPrincipalPolicyRequest request)
Attaches the specified policy to the specified principal (certificate or other credential).
Note: This API is deprecated. Please use AttachPolicy instead.
attachPrincipalPolicy in interface AWSIotattachPrincipalPolicyRequest - The input for the AttachPrincipalPolicy operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.public AttachSecurityProfileResult attachSecurityProfile(AttachSecurityProfileRequest request)
Associates a Device Defender security profile with a thing group or with this account. Each thing group or account can have up to five security profiles associated with it.
attachSecurityProfile in interface AWSIotattachSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.LimitExceededException - A limit has been exceeded.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public AttachThingPrincipalResult attachThingPrincipal(AttachThingPrincipalRequest request)
Attaches the specified principal to the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
attachThingPrincipal in interface AWSIotattachThingPrincipalRequest - The input for the AttachThingPrincipal operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public CancelAuditTaskResult cancelAuditTask(CancelAuditTaskRequest request)
Cancels an audit that is in progress. The audit can be either scheduled or on-demand. If the audit is not in progress, an "InvalidRequestException" occurs.
cancelAuditTask in interface AWSIotcancelAuditTaskRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public CancelCertificateTransferResult cancelCertificateTransfer(CancelCertificateTransferRequest request)
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.
cancelCertificateTransfer in interface AWSIotcancelCertificateTransferRequest - The input for the CancelCertificateTransfer operation.ResourceNotFoundException - The specified resource does not exist.TransferAlreadyCompletedException - You can't revert the certificate transfer because the transfer is already complete.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public CancelJobResult cancelJob(CancelJobRequest request)
Cancels a job.
cancelJob in interface AWSIotcancelJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.public CancelJobExecutionResult cancelJobExecution(CancelJobExecutionRequest request)
Cancels the execution of a job for a given thing.
cancelJobExecution in interface AWSIotcancelJobExecutionRequest - InvalidRequestException - The request is not valid.InvalidStateTransitionException - An attempt was made to change to an invalid state, for example by deleting a job or a job execution which
is "IN_PROGRESS" without setting the force parameter.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.public ClearDefaultAuthorizerResult clearDefaultAuthorizer(ClearDefaultAuthorizerRequest request)
Clears the default authorizer.
clearDefaultAuthorizer in interface AWSIotclearDefaultAuthorizerRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public CreateAuthorizerResult createAuthorizer(CreateAuthorizerRequest request)
Creates an authorizer.
createAuthorizer in interface AWSIotcreateAuthorizerRequest - ResourceAlreadyExistsException - The resource already exists.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public CreateBillingGroupResult createBillingGroup(CreateBillingGroupRequest request)
Creates a billing group.
createBillingGroup in interface AWSIotcreateBillingGroupRequest - InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public CreateCertificateFromCsrResult createCertificateFromCsr(CreateCertificateFromCsrRequest request)
Creates an X.509 certificate using the specified certificate signing request.
Note: The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves.
Note: Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs.
Assuming a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr AWS CLI command to create a certificate for the corresponding CSR.
The aws iot create-certificate-from-csr part of the command can also be run in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
createCertificateFromCsr in interface AWSIotcreateCertificateFromCsrRequest - The input for the CreateCertificateFromCsr operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public CreateDynamicThingGroupResult createDynamicThingGroup(CreateDynamicThingGroupRequest request)
Creates a dynamic thing group.
createDynamicThingGroup in interface AWSIotcreateDynamicThingGroupRequest - InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.InvalidQueryException - The query is invalid.LimitExceededException - A limit has been exceeded.public CreateJobResult createJob(CreateJobRequest request)
Creates a job.
createJob in interface AWSIotcreateJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ResourceAlreadyExistsException - The resource already exists.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.public CreateKeysAndCertificateResult createKeysAndCertificate(CreateKeysAndCertificateRequest request)
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.
createKeysAndCertificate in interface AWSIotcreateKeysAndCertificateRequest - The input for the CreateKeysAndCertificate operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public CreateOTAUpdateResult createOTAUpdate(CreateOTAUpdateRequest request)
Creates an AWS IoT OTAUpdate on a target group of things or groups.
createOTAUpdate in interface AWSIotcreateOTAUpdateRequest - InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ResourceNotFoundException - The specified resource does not exist.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.ServiceUnavailableException - The service is temporarily unavailable.public CreatePolicyResult createPolicy(CreatePolicyRequest request)
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.
createPolicy in interface AWSIotcreatePolicyRequest - The input for the CreatePolicy operation.ResourceAlreadyExistsException - The resource already exists.MalformedPolicyException - The policy documentation is not valid.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public CreatePolicyVersionResult createPolicyVersion(CreatePolicyVersionRequest request)
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).
createPolicyVersion in interface AWSIotcreatePolicyVersionRequest - The input for the CreatePolicyVersion operation.ResourceNotFoundException - The specified resource does not exist.MalformedPolicyException - The policy documentation is not valid.VersionsLimitExceededException - The number of policy versions exceeds the limit.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public CreateRoleAliasResult createRoleAlias(CreateRoleAliasRequest request)
Creates a role alias.
createRoleAlias in interface AWSIotcreateRoleAliasRequest - ResourceAlreadyExistsException - The resource already exists.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public CreateScheduledAuditResult createScheduledAudit(CreateScheduledAuditRequest request)
Creates a scheduled audit that is run at a specified time interval.
createScheduledAudit in interface AWSIotcreateScheduledAuditRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.public CreateSecurityProfileResult createSecurityProfile(CreateSecurityProfileRequest request)
Creates a Device Defender security profile.
createSecurityProfile in interface AWSIotcreateSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public CreateStreamResult createStream(CreateStreamRequest request)
Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with a stream. The total size of a file associated with the stream cannot exceed more than 2 MB. The stream will be created with version 0. If a stream is created with the same streamID as a stream that existed and was deleted within last 90 days, we will resurrect that old stream by incrementing the version by 1.
createStream in interface AWSIotcreateStreamRequest - InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ResourceNotFoundException - The specified resource does not exist.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public CreateThingResult createThing(CreateThingRequest request)
Creates a thing record in the registry.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
createThing in interface AWSIotcreateThingRequest - The input for the CreateThing operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceAlreadyExistsException - The resource already exists.ResourceNotFoundException - The specified resource does not exist.public CreateThingGroupResult createThingGroup(CreateThingGroupRequest request)
Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
createThingGroup in interface AWSIotcreateThingGroupRequest - InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public CreateThingTypeResult createThingType(CreateThingTypeRequest request)
Creates a new thing type.
createThingType in interface AWSIotcreateThingTypeRequest - The input for the CreateThingType operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceAlreadyExistsException - The resource already exists.public CreateTopicRuleResult createTopicRule(CreateTopicRuleRequest request)
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.
createTopicRule in interface AWSIotcreateTopicRuleRequest - The input for the CreateTopicRule operation.SqlParseException - The Rule-SQL expression can't be parsed correctly.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ServiceUnavailableException - The service is temporarily unavailable.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.public DeleteAccountAuditConfigurationResult deleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest request)
Restores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled.
deleteAccountAuditConfiguration in interface AWSIotdeleteAccountAuditConfigurationRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public DeleteAuthorizerResult deleteAuthorizer(DeleteAuthorizerRequest request)
Deletes an authorizer.
deleteAuthorizer in interface AWSIotdeleteAuthorizerRequest - DeleteConflictException - You can't delete the resource because it is attached to one or more resources.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DeleteBillingGroupResult deleteBillingGroup(DeleteBillingGroupRequest request)
Deletes the billing group.
deleteBillingGroup in interface AWSIotdeleteBillingGroupRequest - InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public DeleteCACertificateResult deleteCACertificate(DeleteCACertificateRequest request)
Deletes a registered CA certificate.
deleteCACertificate in interface AWSIotdeleteCACertificateRequest - Input for the DeleteCACertificate operation.InvalidRequestException - The request is not valid.CertificateStateException - The certificate operation is not allowed.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public DeleteCertificateResult deleteCertificate(DeleteCertificateRequest request)
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.
deleteCertificate in interface AWSIotdeleteCertificateRequest - The input for the DeleteCertificate operation.CertificateStateException - The certificate operation is not allowed.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public DeleteDynamicThingGroupResult deleteDynamicThingGroup(DeleteDynamicThingGroupRequest request)
Deletes a dynamic thing group.
deleteDynamicThingGroup in interface AWSIotdeleteDynamicThingGroupRequest - InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public DeleteJobResult deleteJob(DeleteJobRequest request)
Deletes a job and its related job executions.
Deleting a job may take time, depending on the number of job executions created for the job and various other factors. While the job is being deleted, the status of the job will be shown as "DELETION_IN_PROGRESS". Attempting to delete or cancel a job whose status is already "DELETION_IN_PROGRESS" will result in an error.
Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException will occur.
deleteJob in interface AWSIotdeleteJobRequest - InvalidRequestException - The request is not valid.InvalidStateTransitionException - An attempt was made to change to an invalid state, for example by deleting a job or a job execution which
is "IN_PROGRESS" without setting the force parameter.ResourceNotFoundException - The specified resource does not exist.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.public DeleteJobExecutionResult deleteJobExecution(DeleteJobExecutionRequest request)
Deletes a job execution.
deleteJobExecution in interface AWSIotdeleteJobExecutionRequest - InvalidRequestException - The request is not valid.InvalidStateTransitionException - An attempt was made to change to an invalid state, for example by deleting a job or a job execution which
is "IN_PROGRESS" without setting the force parameter.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.public DeleteOTAUpdateResult deleteOTAUpdate(DeleteOTAUpdateRequest request)
Delete an OTA update.
deleteOTAUpdate in interface AWSIotdeleteOTAUpdateRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.ServiceUnavailableException - The service is temporarily unavailable.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.public DeletePolicyResult deletePolicy(DeletePolicyRequest request)
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.
deletePolicy in interface AWSIotdeletePolicyRequest - The input for the DeletePolicy operation.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DeletePolicyVersionResult deletePolicyVersion(DeletePolicyVersionRequest request)
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.
deletePolicyVersion in interface AWSIotdeletePolicyVersionRequest - The input for the DeletePolicyVersion operation.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DeleteRegistrationCodeResult deleteRegistrationCode(DeleteRegistrationCodeRequest request)
Deletes a CA certificate registration code.
deleteRegistrationCode in interface AWSIotdeleteRegistrationCodeRequest - The input for the DeleteRegistrationCode operation.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DeleteRoleAliasResult deleteRoleAlias(DeleteRoleAliasRequest request)
Deletes a role alias
deleteRoleAlias in interface AWSIotdeleteRoleAliasRequest - DeleteConflictException - You can't delete the resource because it is attached to one or more resources.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public DeleteScheduledAuditResult deleteScheduledAudit(DeleteScheduledAuditRequest request)
Deletes a scheduled audit.
deleteScheduledAudit in interface AWSIotdeleteScheduledAuditRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public DeleteSecurityProfileResult deleteSecurityProfile(DeleteSecurityProfileRequest request)
Deletes a Device Defender security profile.
deleteSecurityProfile in interface AWSIotdeleteSecurityProfileRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.public DeleteStreamResult deleteStream(DeleteStreamRequest request)
Deletes a stream.
deleteStream in interface AWSIotdeleteStreamRequest - ResourceNotFoundException - The specified resource does not exist.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DeleteThingResult deleteThing(DeleteThingRequest request)
Deletes the specified thing. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist.
deleteThing in interface AWSIotdeleteThingRequest - The input for the DeleteThing operation.ResourceNotFoundException - The specified resource does not exist.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DeleteThingGroupResult deleteThingGroup(DeleteThingGroupRequest request)
Deletes a thing group.
deleteThingGroup in interface AWSIotdeleteThingGroupRequest - InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public DeleteThingTypeResult deleteThingType(DeleteThingTypeRequest request)
Deletes the specified thing type. You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.
deleteThingType in interface AWSIotdeleteThingTypeRequest - The input for the DeleteThingType operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DeleteTopicRuleResult deleteTopicRule(DeleteTopicRuleRequest request)
Deletes the rule.
deleteTopicRule in interface AWSIotdeleteTopicRuleRequest - The input for the DeleteTopicRule operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.public DeleteV2LoggingLevelResult deleteV2LoggingLevel(DeleteV2LoggingLevelRequest request)
Deletes a logging level.
deleteV2LoggingLevel in interface AWSIotdeleteV2LoggingLevelRequest - InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.public DeprecateThingTypeResult deprecateThingType(DeprecateThingTypeRequest request)
Deprecates a thing type. You can not associate new things with deprecated thing type.
deprecateThingType in interface AWSIotdeprecateThingTypeRequest - The input for the DeprecateThingType operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DescribeAccountAuditConfigurationResult describeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest request)
Gets information about the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
describeAccountAuditConfiguration in interface AWSIotdescribeAccountAuditConfigurationRequest - ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public DescribeAuditTaskResult describeAuditTask(DescribeAuditTaskRequest request)
Gets information about a Device Defender audit.
describeAuditTask in interface AWSIotdescribeAuditTaskRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public DescribeAuthorizerResult describeAuthorizer(DescribeAuthorizerRequest request)
Describes an authorizer.
describeAuthorizer in interface AWSIotdescribeAuthorizerRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DescribeBillingGroupResult describeBillingGroup(DescribeBillingGroupRequest request)
Returns information about a billing group.
describeBillingGroup in interface AWSIotdescribeBillingGroupRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public DescribeCACertificateResult describeCACertificate(DescribeCACertificateRequest request)
Describes a registered CA certificate.
describeCACertificate in interface AWSIotdescribeCACertificateRequest - The input for the DescribeCACertificate operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public DescribeCertificateResult describeCertificate(DescribeCertificateRequest request)
Gets information about the specified certificate.
describeCertificate in interface AWSIotdescribeCertificateRequest - The input for the DescribeCertificate operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public DescribeDefaultAuthorizerResult describeDefaultAuthorizer(DescribeDefaultAuthorizerRequest request)
Describes the default authorizer.
describeDefaultAuthorizer in interface AWSIotdescribeDefaultAuthorizerRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DescribeEndpointResult describeEndpoint(DescribeEndpointRequest request)
Returns a unique endpoint specific to the AWS account making the call.
describeEndpoint in interface AWSIotdescribeEndpointRequest - The input for the DescribeEndpoint operation.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.UnauthorizedException - You are not authorized to perform this operation.ThrottlingException - The rate exceeds the limit.public DescribeEventConfigurationsResult describeEventConfigurations(DescribeEventConfigurationsRequest request)
Describes event configurations.
describeEventConfigurations in interface AWSIotdescribeEventConfigurationsRequest - InternalFailureException - An unexpected error has occurred.ThrottlingException - The rate exceeds the limit.public DescribeIndexResult describeIndex(DescribeIndexRequest request)
Describes a search index.
describeIndex in interface AWSIotdescribeIndexRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public DescribeJobResult describeJob(DescribeJobRequest request)
Describes a job.
describeJob in interface AWSIotdescribeJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.public DescribeJobExecutionResult describeJobExecution(DescribeJobExecutionRequest request)
Describes a job execution.
describeJobExecution in interface AWSIotdescribeJobExecutionRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.public DescribeRoleAliasResult describeRoleAlias(DescribeRoleAliasRequest request)
Describes a role alias.
describeRoleAlias in interface AWSIotdescribeRoleAliasRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public DescribeScheduledAuditResult describeScheduledAudit(DescribeScheduledAuditRequest request)
Gets information about a scheduled audit.
describeScheduledAudit in interface AWSIotdescribeScheduledAuditRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public DescribeSecurityProfileResult describeSecurityProfile(DescribeSecurityProfileRequest request)
Gets information about a Device Defender security profile.
describeSecurityProfile in interface AWSIotdescribeSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public DescribeStreamResult describeStream(DescribeStreamRequest request)
Gets information about a stream.
describeStream in interface AWSIotdescribeStreamRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DescribeThingResult describeThing(DescribeThingRequest request)
Gets information about the specified thing.
describeThing in interface AWSIotdescribeThingRequest - The input for the DescribeThing operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DescribeThingGroupResult describeThingGroup(DescribeThingGroupRequest request)
Describe a thing group.
describeThingGroup in interface AWSIotdescribeThingGroupRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public DescribeThingRegistrationTaskResult describeThingRegistrationTask(DescribeThingRegistrationTaskRequest request)
Describes a bulk thing provisioning task.
describeThingRegistrationTask in interface AWSIotdescribeThingRegistrationTaskRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public DescribeThingTypeResult describeThingType(DescribeThingTypeRequest request)
Gets information about the specified thing type.
describeThingType in interface AWSIotdescribeThingTypeRequest - The input for the DescribeThingType operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DetachPolicyResult detachPolicy(DetachPolicyRequest request)
Detaches a policy from the specified target.
detachPolicy in interface AWSIotdetachPolicyRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.@Deprecated public DetachPrincipalPolicyResult detachPrincipalPolicy(DetachPrincipalPolicyRequest request)
Removes the specified policy from the specified certificate.
Note: This API is deprecated. Please use DetachPolicy instead.
detachPrincipalPolicy in interface AWSIotdetachPrincipalPolicyRequest - The input for the DetachPrincipalPolicy operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DetachSecurityProfileResult detachSecurityProfile(DetachSecurityProfileRequest request)
Disassociates a Device Defender security profile from a thing group or from this account.
detachSecurityProfile in interface AWSIotdetachSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public DetachThingPrincipalResult detachThingPrincipal(DetachThingPrincipalRequest request)
Detaches the specified principal from the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
This call is asynchronous. It might take several seconds for the detachment to propagate.
detachThingPrincipal in interface AWSIotdetachThingPrincipalRequest - The input for the DetachThingPrincipal operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public DisableTopicRuleResult disableTopicRule(DisableTopicRuleRequest request)
Disables the rule.
disableTopicRule in interface AWSIotdisableTopicRuleRequest - The input for the DisableTopicRuleRequest operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.public EnableTopicRuleResult enableTopicRule(EnableTopicRuleRequest request)
Enables the rule.
enableTopicRule in interface AWSIotenableTopicRuleRequest - The input for the EnableTopicRuleRequest operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.public GetEffectivePoliciesResult getEffectivePolicies(GetEffectivePoliciesRequest request)
Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the AWS IoT device gateway.
getEffectivePolicies in interface AWSIotgetEffectivePoliciesRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.public GetIndexingConfigurationResult getIndexingConfiguration(GetIndexingConfigurationRequest request)
Gets the search configuration.
getIndexingConfiguration in interface AWSIotgetIndexingConfigurationRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public GetJobDocumentResult getJobDocument(GetJobDocumentRequest request)
Gets a job document.
getJobDocument in interface AWSIotgetJobDocumentRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.public GetLoggingOptionsResult getLoggingOptions(GetLoggingOptionsRequest request)
Gets the logging options.
NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead.
getLoggingOptions in interface AWSIotgetLoggingOptionsRequest - The input for the GetLoggingOptions operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.public GetOTAUpdateResult getOTAUpdate(GetOTAUpdateRequest request)
Gets an OTA update.
getOTAUpdate in interface AWSIotgetOTAUpdateRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.ServiceUnavailableException - The service is temporarily unavailable.ResourceNotFoundException - The specified resource does not exist.public GetPolicyResult getPolicy(GetPolicyRequest request)
Gets information about the specified policy with the policy document of the default version.
getPolicy in interface AWSIotgetPolicyRequest - The input for the GetPolicy operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public GetPolicyVersionResult getPolicyVersion(GetPolicyVersionRequest request)
Gets information about the specified policy version.
getPolicyVersion in interface AWSIotgetPolicyVersionRequest - The input for the GetPolicyVersion operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public GetRegistrationCodeResult getRegistrationCode(GetRegistrationCodeRequest request)
Gets a registration code used to register a CA certificate with AWS IoT.
getRegistrationCode in interface AWSIotgetRegistrationCodeRequest - The input to the GetRegistrationCode operation.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.public GetTopicRuleResult getTopicRule(GetTopicRuleRequest request)
Gets information about the rule.
getTopicRule in interface AWSIotgetTopicRuleRequest - The input for the GetTopicRule operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.public GetV2LoggingOptionsResult getV2LoggingOptions(GetV2LoggingOptionsRequest request)
Gets the fine grained logging options.
getV2LoggingOptions in interface AWSIotgetV2LoggingOptionsRequest - InternalException - An unexpected error has occurred.NotConfiguredException - The resource is not configured.ServiceUnavailableException - The service is temporarily unavailable.public ListActiveViolationsResult listActiveViolations(ListActiveViolationsRequest request)
Lists the active violations for a given Device Defender security profile.
listActiveViolations in interface AWSIotlistActiveViolationsRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public ListAttachedPoliciesResult listAttachedPolicies(ListAttachedPoliciesRequest request)
Lists the policies attached to the specified thing group.
listAttachedPolicies in interface AWSIotlistAttachedPoliciesRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.public ListAuditFindingsResult listAuditFindings(ListAuditFindingsRequest request)
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 180 days.)
listAuditFindings in interface AWSIotlistAuditFindingsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public ListAuditTasksResult listAuditTasks(ListAuditTasksRequest request)
Lists the Device Defender audits that have been performed during a given time period.
listAuditTasks in interface AWSIotlistAuditTasksRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public ListAuthorizersResult listAuthorizers(ListAuthorizersRequest request)
Lists the authorizers registered in your account.
listAuthorizers in interface AWSIotlistAuthorizersRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public ListBillingGroupsResult listBillingGroups(ListBillingGroupsRequest request)
Lists the billing groups you have created.
listBillingGroups in interface AWSIotlistBillingGroupsRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.public ListCACertificatesResult listCACertificates(ListCACertificatesRequest request)
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.
listCACertificates in interface AWSIotlistCACertificatesRequest - Input for the ListCACertificates operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public ListCertificatesResult listCertificates(ListCertificatesRequest request)
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.
listCertificates in interface AWSIotlistCertificatesRequest - The input for the ListCertificates operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public ListCertificatesByCAResult listCertificatesByCA(ListCertificatesByCARequest request)
List the device certificates signed by the specified CA certificate.
listCertificatesByCA in interface AWSIotlistCertificatesByCARequest - The input to the ListCertificatesByCA operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public ListIndicesResult listIndices(ListIndicesRequest request)
Lists the search indices.
listIndices in interface AWSIotlistIndicesRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public ListJobExecutionsForJobResult listJobExecutionsForJob(ListJobExecutionsForJobRequest request)
Lists the job executions for a job.
listJobExecutionsForJob in interface AWSIotlistJobExecutionsForJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.public ListJobExecutionsForThingResult listJobExecutionsForThing(ListJobExecutionsForThingRequest request)
Lists the job executions for the specified thing.
listJobExecutionsForThing in interface AWSIotlistJobExecutionsForThingRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.public ListJobsResult listJobs(ListJobsRequest request)
Lists jobs.
listJobs in interface AWSIotlistJobsRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.public ListOTAUpdatesResult listOTAUpdates(ListOTAUpdatesRequest request)
Lists OTA updates.
listOTAUpdates in interface AWSIotlistOTAUpdatesRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.ServiceUnavailableException - The service is temporarily unavailable.public ListOutgoingCertificatesResult listOutgoingCertificates(ListOutgoingCertificatesRequest request)
Lists certificates that are being transferred but not yet accepted.
listOutgoingCertificates in interface AWSIotlistOutgoingCertificatesRequest - The input to the ListOutgoingCertificates operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public ListPoliciesResult listPolicies(ListPoliciesRequest request)
Lists your policies.
listPolicies in interface AWSIotlistPoliciesRequest - The input for the ListPolicies operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.@Deprecated public ListPolicyPrincipalsResult listPolicyPrincipals(ListPolicyPrincipalsRequest request)
Lists the principals associated with the specified policy.
Note: This API is deprecated. Please use ListTargetsForPolicy instead.
listPolicyPrincipals in interface AWSIotlistPolicyPrincipalsRequest - The input for the ListPolicyPrincipals operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public ListPolicyVersionsResult listPolicyVersions(ListPolicyVersionsRequest request)
Lists the versions of the specified policy and identifies the default version.
listPolicyVersions in interface AWSIotlistPolicyVersionsRequest - The input for the ListPolicyVersions operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.@Deprecated public ListPrincipalPoliciesResult listPrincipalPolicies(ListPrincipalPoliciesRequest request)
Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.
Note: This API is deprecated. Please use ListAttachedPolicies instead.
listPrincipalPolicies in interface AWSIotlistPrincipalPoliciesRequest - The input for the ListPrincipalPolicies operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public ListPrincipalThingsResult listPrincipalThings(ListPrincipalThingsRequest request)
Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
listPrincipalThings in interface AWSIotlistPrincipalThingsRequest - The input for the ListPrincipalThings operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public ListRoleAliasesResult listRoleAliases(ListRoleAliasesRequest request)
Lists the role aliases registered in your account.
listRoleAliases in interface AWSIotlistRoleAliasesRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public ListScheduledAuditsResult listScheduledAudits(ListScheduledAuditsRequest request)
Lists all of your scheduled audits.
listScheduledAudits in interface AWSIotlistScheduledAuditsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public ListSecurityProfilesResult listSecurityProfiles(ListSecurityProfilesRequest request)
Lists the Device Defender security profiles you have created. You can use filters to list only those security profiles associated with a thing group or only those associated with your account.
listSecurityProfiles in interface AWSIotlistSecurityProfilesRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public ListSecurityProfilesForTargetResult listSecurityProfilesForTarget(ListSecurityProfilesForTargetRequest request)
Lists the Device Defender security profiles attached to a target (thing group).
listSecurityProfilesForTarget in interface AWSIotlistSecurityProfilesForTargetRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public ListStreamsResult listStreams(ListStreamsRequest request)
Lists all of the streams in your AWS account.
listStreams in interface AWSIotlistStreamsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags (metadata) you have assigned to the resource.
listTagsForResource in interface AWSIotlistTagsForResourceRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.public ListTargetsForPolicyResult listTargetsForPolicy(ListTargetsForPolicyRequest request)
List targets for the specified policy.
listTargetsForPolicy in interface AWSIotlistTargetsForPolicyRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.public ListTargetsForSecurityProfileResult listTargetsForSecurityProfile(ListTargetsForSecurityProfileRequest request)
Lists the targets (thing groups) associated with a given Device Defender security profile.
listTargetsForSecurityProfile in interface AWSIotlistTargetsForSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public ListThingGroupsResult listThingGroups(ListThingGroupsRequest request)
List the thing groups in your account.
listThingGroups in interface AWSIotlistThingGroupsRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public ListThingGroupsForThingResult listThingGroupsForThing(ListThingGroupsForThingRequest request)
List the thing groups to which the specified thing belongs.
listThingGroupsForThing in interface AWSIotlistThingGroupsForThingRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public ListThingPrincipalsResult listThingPrincipals(ListThingPrincipalsRequest request)
Lists the principals associated with the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
listThingPrincipals in interface AWSIotlistThingPrincipalsRequest - The input for the ListThingPrincipal operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public ListThingRegistrationTaskReportsResult listThingRegistrationTaskReports(ListThingRegistrationTaskReportsRequest request)
Information about the thing registration tasks.
listThingRegistrationTaskReports in interface AWSIotlistThingRegistrationTaskReportsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.public ListThingRegistrationTasksResult listThingRegistrationTasks(ListThingRegistrationTasksRequest request)
List bulk thing provisioning tasks.
listThingRegistrationTasks in interface AWSIotlistThingRegistrationTasksRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.public ListThingTypesResult listThingTypes(ListThingTypesRequest request)
Lists the existing thing types.
listThingTypes in interface AWSIotlistThingTypesRequest - The input for the ListThingTypes operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public ListThingsResult listThings(ListThingsRequest request)
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
listThings in interface AWSIotlistThingsRequest - The input for the ListThings operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public ListThingsInBillingGroupResult listThingsInBillingGroup(ListThingsInBillingGroupRequest request)
Lists the things you have added to the given billing group.
listThingsInBillingGroup in interface AWSIotlistThingsInBillingGroupRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.public ListThingsInThingGroupResult listThingsInThingGroup(ListThingsInThingGroupRequest request)
Lists the things in the specified group.
listThingsInThingGroup in interface AWSIotlistThingsInThingGroupRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public ListTopicRulesResult listTopicRules(ListTopicRulesRequest request)
Lists the rules for the specific topic.
listTopicRules in interface AWSIotlistTopicRulesRequest - The input for the ListTopicRules operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.public ListV2LoggingLevelsResult listV2LoggingLevels(ListV2LoggingLevelsRequest request)
Lists logging levels.
listV2LoggingLevels in interface AWSIotlistV2LoggingLevelsRequest - InternalException - An unexpected error has occurred.NotConfiguredException - The resource is not configured.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.public ListViolationEventsResult listViolationEvents(ListViolationEventsRequest request)
Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior or thing (device).
listViolationEvents in interface AWSIotlistViolationEventsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public RegisterCACertificateResult registerCACertificate(RegisterCACertificateRequest request)
Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API.
registerCACertificate in interface AWSIotregisterCACertificateRequest - The input to the RegisterCACertificate operation.ResourceAlreadyExistsException - The resource already exists.RegistrationCodeValidationException - The registration code is invalid.InvalidRequestException - The request is not valid.CertificateValidationException - The certificate is invalid.ThrottlingException - The rate exceeds the limit.LimitExceededException - A limit has been exceeded.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public RegisterCertificateResult registerCertificate(RegisterCertificateRequest request)
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.
registerCertificate in interface AWSIotregisterCertificateRequest - The input to the RegisterCertificate operation.ResourceAlreadyExistsException - The resource already exists.InvalidRequestException - The request is not valid.CertificateValidationException - The certificate is invalid.CertificateStateException - The certificate operation is not allowed.CertificateConflictException - Unable to verify the CA certificate used to sign the device certificate you are attempting to register.
This is happens when you have registered more than one CA certificate that has the same subject field and
public key.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public RegisterThingResult registerThing(RegisterThingRequest request)
Provisions a thing.
registerThing in interface AWSIotregisterThingRequest - InternalFailureException - An unexpected error has occurred.ServiceUnavailableException - The service is temporarily unavailable.InvalidRequestException - The request is not valid.UnauthorizedException - You are not authorized to perform this operation.ThrottlingException - The rate exceeds the limit.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.ResourceRegistrationFailureException - The resource registration failed.public RejectCertificateTransferResult rejectCertificateTransfer(RejectCertificateTransferRequest request)
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.
rejectCertificateTransfer in interface AWSIotrejectCertificateTransferRequest - The input for the RejectCertificateTransfer operation.ResourceNotFoundException - The specified resource does not exist.TransferAlreadyCompletedException - You can't revert the certificate transfer because the transfer is already complete.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public RemoveThingFromBillingGroupResult removeThingFromBillingGroup(RemoveThingFromBillingGroupRequest request)
Removes the given thing from the billing group.
removeThingFromBillingGroup in interface AWSIotremoveThingFromBillingGroupRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public RemoveThingFromThingGroupResult removeThingFromThingGroup(RemoveThingFromThingGroupRequest request)
Remove the specified thing from the specified group.
removeThingFromThingGroup in interface AWSIotremoveThingFromThingGroupRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public ReplaceTopicRuleResult replaceTopicRule(ReplaceTopicRuleRequest request)
Replaces the 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.
replaceTopicRule in interface AWSIotreplaceTopicRuleRequest - The input for the ReplaceTopicRule operation.SqlParseException - The Rule-SQL expression can't be parsed correctly.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.public SearchIndexResult searchIndex(SearchIndexRequest request)
The query search index.
searchIndex in interface AWSIotsearchIndexRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.InvalidQueryException - The query is invalid.IndexNotReadyException - The index is not ready.public SetDefaultAuthorizerResult setDefaultAuthorizer(SetDefaultAuthorizerRequest request)
Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.
setDefaultAuthorizer in interface AWSIotsetDefaultAuthorizerRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceAlreadyExistsException - The resource already exists.public SetDefaultPolicyVersionResult setDefaultPolicyVersion(SetDefaultPolicyVersionRequest request)
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.
setDefaultPolicyVersion in interface AWSIotsetDefaultPolicyVersionRequest - The input for the SetDefaultPolicyVersion operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public SetLoggingOptionsResult setLoggingOptions(SetLoggingOptionsRequest request)
Sets the logging options.
NOTE: use of this command is not recommended. Use SetV2LoggingOptions instead.
setLoggingOptions in interface AWSIotsetLoggingOptionsRequest - The input for the SetLoggingOptions operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.public SetV2LoggingLevelResult setV2LoggingLevel(SetV2LoggingLevelRequest request)
Sets the logging level.
setV2LoggingLevel in interface AWSIotsetV2LoggingLevelRequest - InternalException - An unexpected error has occurred.NotConfiguredException - The resource is not configured.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.public SetV2LoggingOptionsResult setV2LoggingOptions(SetV2LoggingOptionsRequest request)
Sets the logging options for the V2 logging service.
setV2LoggingOptions in interface AWSIotsetV2LoggingOptionsRequest - InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.public StartOnDemandAuditTaskResult startOnDemandAuditTask(StartOnDemandAuditTaskRequest request)
Starts an on-demand Device Defender audit.
startOnDemandAuditTask in interface AWSIotstartOnDemandAuditTaskRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.public StartThingRegistrationTaskResult startThingRegistrationTask(StartThingRegistrationTaskRequest request)
Creates a bulk thing provisioning task.
startThingRegistrationTask in interface AWSIotstartThingRegistrationTaskRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.public StopThingRegistrationTaskResult stopThingRegistrationTask(StopThingRegistrationTaskRequest request)
Cancels a bulk thing provisioning task.
stopThingRegistrationTask in interface AWSIotstopThingRegistrationTaskRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public TagResourceResult tagResource(TagResourceRequest request)
Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
tagResource in interface AWSIottagResourceRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.LimitExceededException - A limit has been exceeded.public TestAuthorizationResult testAuthorization(TestAuthorizationRequest request)
Tests if a specified principal is authorized to perform an AWS IoT action on a specified resource. Use this to test and debug the authorization behavior of devices that connect to the AWS IoT device gateway.
testAuthorization in interface AWSIottestAuthorizationRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.public TestInvokeAuthorizerResult testInvokeAuthorizer(TestInvokeAuthorizerRequest request)
Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the AWS IoT device gateway.
testInvokeAuthorizer in interface AWSIottestInvokeAuthorizerRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.InvalidResponseException - The response is invalid.public TransferCertificateResult transferCertificate(TransferCertificateRequest request)
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.
transferCertificate in interface AWSIottransferCertificateRequest - The input for the TransferCertificate operation.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.CertificateStateException - The certificate operation is not allowed.TransferConflictException - You can't transfer the certificate because authorization policies are still attached.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes the given tags (metadata) from the resource.
untagResource in interface AWSIotuntagResourceRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.public UpdateAccountAuditConfigurationResult updateAccountAuditConfiguration(UpdateAccountAuditConfigurationRequest request)
Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
updateAccountAuditConfiguration in interface AWSIotupdateAccountAuditConfigurationRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public UpdateAuthorizerResult updateAuthorizer(UpdateAuthorizerRequest request)
Updates an authorizer.
updateAuthorizer in interface AWSIotupdateAuthorizerRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public UpdateBillingGroupResult updateBillingGroup(UpdateBillingGroupRequest request)
Updates information about the billing group.
updateBillingGroup in interface AWSIotupdateBillingGroupRequest - InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public UpdateCACertificateResult updateCACertificate(UpdateCACertificateRequest request)
Updates a registered CA certificate.
updateCACertificate in interface AWSIotupdateCACertificateRequest - The input to the UpdateCACertificate operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public UpdateCertificateResult updateCertificate(UpdateCertificateRequest request)
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.
updateCertificate in interface AWSIotupdateCertificateRequest - The input for the UpdateCertificate operation.ResourceNotFoundException - The specified resource does not exist.CertificateStateException - The certificate operation is not allowed.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public UpdateDynamicThingGroupResult updateDynamicThingGroup(UpdateDynamicThingGroupRequest request)
Updates a dynamic thing group.
updateDynamicThingGroup in interface AWSIotupdateDynamicThingGroupRequest - InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.InvalidQueryException - The query is invalid.public UpdateEventConfigurationsResult updateEventConfigurations(UpdateEventConfigurationsRequest request)
Updates the event configurations.
updateEventConfigurations in interface AWSIotupdateEventConfigurationsRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ThrottlingException - The rate exceeds the limit.public UpdateIndexingConfigurationResult updateIndexingConfiguration(UpdateIndexingConfigurationRequest request)
Updates the search configuration.
updateIndexingConfiguration in interface AWSIotupdateIndexingConfigurationRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public UpdateJobResult updateJob(UpdateJobRequest request)
Updates supported fields of the specified job.
updateJob in interface AWSIotupdateJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.public UpdateRoleAliasResult updateRoleAlias(UpdateRoleAliasRequest request)
Updates a role alias.
updateRoleAlias in interface AWSIotupdateRoleAliasRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public UpdateScheduledAuditResult updateScheduledAudit(UpdateScheduledAuditRequest request)
Updates a scheduled audit, including what checks are performed and how often the audit takes place.
updateScheduledAudit in interface AWSIotupdateScheduledAuditRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public UpdateSecurityProfileResult updateSecurityProfile(UpdateSecurityProfileRequest request)
Updates a Device Defender security profile.
updateSecurityProfile in interface AWSIotupdateSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public UpdateStreamResult updateStream(UpdateStreamRequest request)
Updates an existing stream. The stream version will be incremented by one.
updateStream in interface AWSIotupdateStreamRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.public UpdateThingResult updateThing(UpdateThingRequest request)
Updates the data for a thing.
updateThing in interface AWSIotupdateThingRequest - The input for the UpdateThing operation.InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public UpdateThingGroupResult updateThingGroup(UpdateThingGroupRequest request)
Update a thing group.
updateThingGroup in interface AWSIotupdateThingGroupRequest - InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public UpdateThingGroupsForThingResult updateThingGroupsForThing(UpdateThingGroupsForThingRequest request)
Updates the groups to which the thing belongs.
updateThingGroupsForThing in interface AWSIotupdateThingGroupsForThingRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.public ValidateSecurityProfileBehaviorsResult validateSecurityProfileBehaviors(ValidateSecurityProfileBehaviorsRequest request)
Validates a Device Defender security profile behaviors specification.
validateSecurityProfileBehaviors in interface AWSIotvalidateSecurityProfileBehaviorsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSIotrequest - The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.