@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSSnowDeviceManagement extends Object implements AWSSnowDeviceManagement
AWSSnowDeviceManagement
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CancelTaskResult |
cancelTask(CancelTaskRequest request)
Sends a cancel request for a specified task.
|
CreateTaskResult |
createTask(CreateTaskRequest request)
Instructs one or more devices to start a task, such as unlocking or rebooting.
|
DescribeDeviceResult |
describeDevice(DescribeDeviceRequest request)
Checks device-specific information, such as the device type, software version, IP addresses, and lock status.
|
DescribeDeviceEc2InstancesResult |
describeDeviceEc2Instances(DescribeDeviceEc2InstancesRequest request)
Checks the current state of the Amazon EC2 instances.
|
DescribeExecutionResult |
describeExecution(DescribeExecutionRequest request)
Checks the status of a remote task running on one or more target devices.
|
DescribeTaskResult |
describeTask(DescribeTaskRequest request)
Checks the metadata for a given task on a device.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
ListDeviceResourcesResult |
listDeviceResources(ListDeviceResourcesRequest request)
Returns a list of the Amazon Web Services resources available for a device.
|
ListDevicesResult |
listDevices(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.
|
ListExecutionsResult |
listExecutions(ListExecutionsRequest request)
Returns the status of tasks for one or more target devices.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Returns a list of tags for a managed device or task.
|
ListTasksResult |
listTasks(ListTasksRequest request)
Returns a list of tasks that can be filtered by state.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds or replaces tags on a device or task.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes a tag from a device or task.
|
public CancelTaskResult cancelTask(CancelTaskRequest request)
AWSSnowDeviceManagement
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.
cancelTask
in interface AWSSnowDeviceManagement
public CreateTaskResult createTask(CreateTaskRequest request)
AWSSnowDeviceManagement
Instructs one or more devices to start a task, such as unlocking or rebooting.
createTask
in interface AWSSnowDeviceManagement
public DescribeDeviceResult describeDevice(DescribeDeviceRequest request)
AWSSnowDeviceManagement
Checks device-specific information, such as the device type, software version, IP addresses, and lock status.
describeDevice
in interface AWSSnowDeviceManagement
public DescribeDeviceEc2InstancesResult describeDeviceEc2Instances(DescribeDeviceEc2InstancesRequest request)
AWSSnowDeviceManagement
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.
describeDeviceEc2Instances
in interface AWSSnowDeviceManagement
public DescribeExecutionResult describeExecution(DescribeExecutionRequest request)
AWSSnowDeviceManagement
Checks the status of a remote task running on one or more target devices.
describeExecution
in interface AWSSnowDeviceManagement
public DescribeTaskResult describeTask(DescribeTaskRequest request)
AWSSnowDeviceManagement
Checks the metadata for a given task on a device.
describeTask
in interface AWSSnowDeviceManagement
public ListDeviceResourcesResult listDeviceResources(ListDeviceResourcesRequest request)
AWSSnowDeviceManagement
Returns a list of the Amazon Web Services resources available for a device. Currently, Amazon EC2 instances are the only supported resource type.
listDeviceResources
in interface AWSSnowDeviceManagement
public ListDevicesResult listDevices(ListDevicesRequest request)
AWSSnowDeviceManagement
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.
listDevices
in interface AWSSnowDeviceManagement
public ListExecutionsResult listExecutions(ListExecutionsRequest request)
AWSSnowDeviceManagement
Returns the status of tasks for one or more target devices.
listExecutions
in interface AWSSnowDeviceManagement
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSSnowDeviceManagement
Returns a list of tags for a managed device or task.
listTagsForResource
in interface AWSSnowDeviceManagement
public ListTasksResult listTasks(ListTasksRequest request)
AWSSnowDeviceManagement
Returns a list of tasks that can be filtered by state.
listTasks
in interface AWSSnowDeviceManagement
public TagResourceResult tagResource(TagResourceRequest request)
AWSSnowDeviceManagement
Adds or replaces tags on a device or task.
tagResource
in interface AWSSnowDeviceManagement
public UntagResourceResult untagResource(UntagResourceRequest request)
AWSSnowDeviceManagement
Removes a tag from a device or task.
untagResource
in interface AWSSnowDeviceManagement
public void shutdown()
AWSSnowDeviceManagement
shutdown
in interface AWSSnowDeviceManagement
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSSnowDeviceManagement
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 a request.
getCachedResponseMetadata
in interface AWSSnowDeviceManagement
request
- The originally executed request.