@Generated(value="software.amazon.awssdk:codegen") public interface IotJobsDataPlaneAsyncClient extends SdkClient
builder() method.
AWS IoT Jobs is a service that allows you to define a set of jobs — remote operations that are sent to and executed on one or more devices connected to AWS IoT. For example, you can define a job that instructs a set of devices to download and install application or firmware updates, reboot, rotate certificates, or perform remote troubleshooting operations.
To create a job, you make a job document which is a description of the remote operations to be performed, and you specify a list of targets that should perform the operations. The targets can be individual things, thing groups or both.
AWS IoT Jobs sends a message to inform the targets that a job is available. The target starts the execution of the job by downloading the job document, performing the operations it specifies, and reporting its progress to AWS IoT. The Jobs service provides commands to track the progress of a job on a specific target and for all the targets of the job
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
serviceNameclosestatic final String SERVICE_NAME
static IotJobsDataPlaneAsyncClient create()
IotJobsDataPlaneAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static IotJobsDataPlaneAsyncClientBuilder builder()
IotJobsDataPlaneAsyncClient.default CompletableFuture<DescribeJobExecutionResponse> describeJobExecution(DescribeJobExecutionRequest describeJobExecutionRequest)
Gets details of a job execution.
describeJobExecutionRequest - default CompletableFuture<DescribeJobExecutionResponse> describeJobExecution(Consumer<DescribeJobExecutionRequest.Builder> describeJobExecutionRequest)
Gets details of a job execution.
This is a convenience which creates an instance of the DescribeJobExecutionRequest.Builder avoiding the
need to create one manually via DescribeJobExecutionRequest.builder()
describeJobExecutionRequest - A Consumer that will call methods on DescribeJobExecutionRequest.Builder to create a
request.default CompletableFuture<GetPendingJobExecutionsResponse> getPendingJobExecutions(GetPendingJobExecutionsRequest getPendingJobExecutionsRequest)
Gets the list of all jobs for a thing that are not in a terminal status.
getPendingJobExecutionsRequest - default CompletableFuture<GetPendingJobExecutionsResponse> getPendingJobExecutions(Consumer<GetPendingJobExecutionsRequest.Builder> getPendingJobExecutionsRequest)
Gets the list of all jobs for a thing that are not in a terminal status.
This is a convenience which creates an instance of the GetPendingJobExecutionsRequest.Builder avoiding
the need to create one manually via GetPendingJobExecutionsRequest.builder()
getPendingJobExecutionsRequest - A Consumer that will call methods on GetPendingJobExecutionsRequest.Builder to create a
request.default CompletableFuture<StartNextPendingJobExecutionResponse> startNextPendingJobExecution(StartNextPendingJobExecutionRequest startNextPendingJobExecutionRequest)
Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.
startNextPendingJobExecutionRequest - default CompletableFuture<StartNextPendingJobExecutionResponse> startNextPendingJobExecution(Consumer<StartNextPendingJobExecutionRequest.Builder> startNextPendingJobExecutionRequest)
Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.
This is a convenience which creates an instance of the StartNextPendingJobExecutionRequest.Builder
avoiding the need to create one manually via StartNextPendingJobExecutionRequest.builder()
startNextPendingJobExecutionRequest - A Consumer that will call methods on StartNextPendingJobExecutionRequest.Builder to create
a request.default CompletableFuture<UpdateJobExecutionResponse> updateJobExecution(UpdateJobExecutionRequest updateJobExecutionRequest)
Updates the status of a job execution.
updateJobExecutionRequest - default CompletableFuture<UpdateJobExecutionResponse> updateJobExecution(Consumer<UpdateJobExecutionRequest.Builder> updateJobExecutionRequest)
Updates the status of a job execution.
This is a convenience which creates an instance of the UpdateJobExecutionRequest.Builder avoiding the
need to create one manually via UpdateJobExecutionRequest.builder()
updateJobExecutionRequest - A Consumer that will call methods on UpdateJobExecutionRequest.Builder to create a
request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.