@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSSnowDeviceManagementAsync extends AbstractAWSSnowDeviceManagement implements AWSSnowDeviceManagementAsync
AWSSnowDeviceManagementAsync
. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<CancelTaskResult> |
cancelTaskAsync(CancelTaskRequest request)
Sends a cancel request for a specified task.
|
Future<CancelTaskResult> |
cancelTaskAsync(CancelTaskRequest request,
AsyncHandler<CancelTaskRequest,CancelTaskResult> asyncHandler)
Sends a cancel request for a specified task.
|
Future<CreateTaskResult> |
createTaskAsync(CreateTaskRequest request)
Instructs one or more devices to start a task, such as unlocking or rebooting.
|
Future<CreateTaskResult> |
createTaskAsync(CreateTaskRequest request,
AsyncHandler<CreateTaskRequest,CreateTaskResult> asyncHandler)
Instructs one or more devices to start a task, such as unlocking or rebooting.
|
Future<DescribeDeviceResult> |
describeDeviceAsync(DescribeDeviceRequest request)
Checks device-specific information, such as the device type, software version, IP addresses, and lock status.
|
Future<DescribeDeviceResult> |
describeDeviceAsync(DescribeDeviceRequest request,
AsyncHandler<DescribeDeviceRequest,DescribeDeviceResult> asyncHandler)
Checks device-specific information, such as the device type, software version, IP addresses, and lock status.
|
Future<DescribeDeviceEc2InstancesResult> |
describeDeviceEc2InstancesAsync(DescribeDeviceEc2InstancesRequest request)
Checks the current state of the Amazon EC2 instances.
|
Future<DescribeDeviceEc2InstancesResult> |
describeDeviceEc2InstancesAsync(DescribeDeviceEc2InstancesRequest request,
AsyncHandler<DescribeDeviceEc2InstancesRequest,DescribeDeviceEc2InstancesResult> asyncHandler)
Checks the current state of the Amazon EC2 instances.
|
Future<DescribeExecutionResult> |
describeExecutionAsync(DescribeExecutionRequest request)
Checks the status of a remote task running on one or more target devices.
|
Future<DescribeExecutionResult> |
describeExecutionAsync(DescribeExecutionRequest request,
AsyncHandler<DescribeExecutionRequest,DescribeExecutionResult> asyncHandler)
Checks the status of a remote task running on one or more target devices.
|
Future<DescribeTaskResult> |
describeTaskAsync(DescribeTaskRequest request)
Checks the metadata for a given task on a device.
|
Future<DescribeTaskResult> |
describeTaskAsync(DescribeTaskRequest request,
AsyncHandler<DescribeTaskRequest,DescribeTaskResult> asyncHandler)
Checks the metadata for a given task on a device.
|
Future<ListDeviceResourcesResult> |
listDeviceResourcesAsync(ListDeviceResourcesRequest request)
Returns a list of the Amazon Web Services resources available for a device.
|
Future<ListDeviceResourcesResult> |
listDeviceResourcesAsync(ListDeviceResourcesRequest request,
AsyncHandler<ListDeviceResourcesRequest,ListDeviceResourcesResult> asyncHandler)
Returns a list of the Amazon Web Services resources available for a device.
|
Future<ListDevicesResult> |
listDevicesAsync(ListDevicesRequest request)
Returns a list of all devices on your Amazon Web Services account that have Amazon Web Services Snow Device
Management enabled in the Amazon Web Services Region where the command is run.
|
Future<ListDevicesResult> |
listDevicesAsync(ListDevicesRequest request,
AsyncHandler<ListDevicesRequest,ListDevicesResult> asyncHandler)
Returns a list of all devices on your Amazon Web Services account that have Amazon Web Services Snow Device
Management enabled in the Amazon Web Services Region where the command is run.
|
Future<ListExecutionsResult> |
listExecutionsAsync(ListExecutionsRequest request)
Returns the status of tasks for one or more target devices.
|
Future<ListExecutionsResult> |
listExecutionsAsync(ListExecutionsRequest request,
AsyncHandler<ListExecutionsRequest,ListExecutionsResult> asyncHandler)
Returns the status of tasks for one or more target devices.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request)
Returns a list of tags for a managed device or task.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Returns a list of tags for a managed device or task.
|
Future<ListTasksResult> |
listTasksAsync(ListTasksRequest request)
Returns a list of tasks that can be filtered by state.
|
Future<ListTasksResult> |
listTasksAsync(ListTasksRequest request,
AsyncHandler<ListTasksRequest,ListTasksResult> asyncHandler)
Returns a list of tasks that can be filtered by state.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request)
Adds or replaces tags on a device or task.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request,
AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Adds or replaces tags on a device or task.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request)
Removes a tag from a device or task.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request,
AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes a tag from a device or task.
|
cancelTask, createTask, describeDevice, describeDeviceEc2Instances, describeExecution, describeTask, getCachedResponseMetadata, listDeviceResources, listDevices, listExecutions, listTagsForResource, listTasks, shutdown, tagResource, untagResource
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelTask, createTask, describeDevice, describeDeviceEc2Instances, describeExecution, describeTask, getCachedResponseMetadata, listDeviceResources, listDevices, listExecutions, listTagsForResource, listTasks, shutdown, tagResource, untagResource
public Future<CancelTaskResult> cancelTaskAsync(CancelTaskRequest request)
AWSSnowDeviceManagementAsync
Sends a cancel request for a specified task. You can cancel a task only if it's still in a QUEUED
state. Tasks that are already running can't be cancelled.
A task might still run if it's processed from the queue before the CancelTask
operation changes the
task's state.
cancelTaskAsync
in interface AWSSnowDeviceManagementAsync
public Future<CancelTaskResult> cancelTaskAsync(CancelTaskRequest request, AsyncHandler<CancelTaskRequest,CancelTaskResult> asyncHandler)
AWSSnowDeviceManagementAsync
Sends a cancel request for a specified task. You can cancel a task only if it's still in a QUEUED
state. Tasks that are already running can't be cancelled.
A task might still run if it's processed from the queue before the CancelTask
operation changes the
task's state.
cancelTaskAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateTaskResult> createTaskAsync(CreateTaskRequest request)
AWSSnowDeviceManagementAsync
Instructs one or more devices to start a task, such as unlocking or rebooting.
createTaskAsync
in interface AWSSnowDeviceManagementAsync
public Future<CreateTaskResult> createTaskAsync(CreateTaskRequest request, AsyncHandler<CreateTaskRequest,CreateTaskResult> asyncHandler)
AWSSnowDeviceManagementAsync
Instructs one or more devices to start a task, such as unlocking or rebooting.
createTaskAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDeviceResult> describeDeviceAsync(DescribeDeviceRequest request)
AWSSnowDeviceManagementAsync
Checks device-specific information, such as the device type, software version, IP addresses, and lock status.
describeDeviceAsync
in interface AWSSnowDeviceManagementAsync
public Future<DescribeDeviceResult> describeDeviceAsync(DescribeDeviceRequest request, AsyncHandler<DescribeDeviceRequest,DescribeDeviceResult> asyncHandler)
AWSSnowDeviceManagementAsync
Checks device-specific information, such as the device type, software version, IP addresses, and lock status.
describeDeviceAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDeviceEc2InstancesResult> describeDeviceEc2InstancesAsync(DescribeDeviceEc2InstancesRequest request)
AWSSnowDeviceManagementAsync
Checks the current state of the Amazon EC2 instances. The output is similar to describeDevice
, but
the results are sourced from the device cache in the Amazon Web Services Cloud and include a subset of the
available fields.
describeDeviceEc2InstancesAsync
in interface AWSSnowDeviceManagementAsync
public Future<DescribeDeviceEc2InstancesResult> describeDeviceEc2InstancesAsync(DescribeDeviceEc2InstancesRequest request, AsyncHandler<DescribeDeviceEc2InstancesRequest,DescribeDeviceEc2InstancesResult> asyncHandler)
AWSSnowDeviceManagementAsync
Checks the current state of the Amazon EC2 instances. The output is similar to describeDevice
, but
the results are sourced from the device cache in the Amazon Web Services Cloud and include a subset of the
available fields.
describeDeviceEc2InstancesAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeExecutionResult> describeExecutionAsync(DescribeExecutionRequest request)
AWSSnowDeviceManagementAsync
Checks the status of a remote task running on one or more target devices.
describeExecutionAsync
in interface AWSSnowDeviceManagementAsync
public Future<DescribeExecutionResult> describeExecutionAsync(DescribeExecutionRequest request, AsyncHandler<DescribeExecutionRequest,DescribeExecutionResult> asyncHandler)
AWSSnowDeviceManagementAsync
Checks the status of a remote task running on one or more target devices.
describeExecutionAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeTaskResult> describeTaskAsync(DescribeTaskRequest request)
AWSSnowDeviceManagementAsync
Checks the metadata for a given task on a device.
describeTaskAsync
in interface AWSSnowDeviceManagementAsync
public Future<DescribeTaskResult> describeTaskAsync(DescribeTaskRequest request, AsyncHandler<DescribeTaskRequest,DescribeTaskResult> asyncHandler)
AWSSnowDeviceManagementAsync
Checks the metadata for a given task on a device.
describeTaskAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDeviceResourcesResult> listDeviceResourcesAsync(ListDeviceResourcesRequest request)
AWSSnowDeviceManagementAsync
Returns a list of the Amazon Web Services resources available for a device. Currently, Amazon EC2 instances are the only supported resource type.
listDeviceResourcesAsync
in interface AWSSnowDeviceManagementAsync
public Future<ListDeviceResourcesResult> listDeviceResourcesAsync(ListDeviceResourcesRequest request, AsyncHandler<ListDeviceResourcesRequest,ListDeviceResourcesResult> asyncHandler)
AWSSnowDeviceManagementAsync
Returns a list of the Amazon Web Services resources available for a device. Currently, Amazon EC2 instances are the only supported resource type.
listDeviceResourcesAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDevicesResult> listDevicesAsync(ListDevicesRequest request)
AWSSnowDeviceManagementAsync
Returns a list of all devices on your Amazon Web Services account that have Amazon Web Services Snow Device Management enabled in the Amazon Web Services Region where the command is run.
listDevicesAsync
in interface AWSSnowDeviceManagementAsync
public Future<ListDevicesResult> listDevicesAsync(ListDevicesRequest request, AsyncHandler<ListDevicesRequest,ListDevicesResult> asyncHandler)
AWSSnowDeviceManagementAsync
Returns a list of all devices on your Amazon Web Services account that have Amazon Web Services Snow Device Management enabled in the Amazon Web Services Region where the command is run.
listDevicesAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListExecutionsResult> listExecutionsAsync(ListExecutionsRequest request)
AWSSnowDeviceManagementAsync
Returns the status of tasks for one or more target devices.
listExecutionsAsync
in interface AWSSnowDeviceManagementAsync
public Future<ListExecutionsResult> listExecutionsAsync(ListExecutionsRequest request, AsyncHandler<ListExecutionsRequest,ListExecutionsResult> asyncHandler)
AWSSnowDeviceManagementAsync
Returns the status of tasks for one or more target devices.
listExecutionsAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSSnowDeviceManagementAsync
Returns a list of tags for a managed device or task.
listTagsForResourceAsync
in interface AWSSnowDeviceManagementAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSSnowDeviceManagementAsync
Returns a list of tags for a managed device or task.
listTagsForResourceAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTasksResult> listTasksAsync(ListTasksRequest request)
AWSSnowDeviceManagementAsync
Returns a list of tasks that can be filtered by state.
listTasksAsync
in interface AWSSnowDeviceManagementAsync
public Future<ListTasksResult> listTasksAsync(ListTasksRequest request, AsyncHandler<ListTasksRequest,ListTasksResult> asyncHandler)
AWSSnowDeviceManagementAsync
Returns a list of tasks that can be filtered by state.
listTasksAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSSnowDeviceManagementAsync
Adds or replaces tags on a device or task.
tagResourceAsync
in interface AWSSnowDeviceManagementAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSSnowDeviceManagementAsync
Adds or replaces tags on a device or task.
tagResourceAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSSnowDeviceManagementAsync
Removes a tag from a device or task.
untagResourceAsync
in interface AWSSnowDeviceManagementAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSSnowDeviceManagementAsync
Removes a tag from a device or task.
untagResourceAsync
in interface AWSSnowDeviceManagementAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.