@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 AWSSnowDeviceManagementpublic CreateTaskResult createTask(CreateTaskRequest request)
AWSSnowDeviceManagementInstructs one or more devices to start a task, such as unlocking or rebooting.
createTask in interface AWSSnowDeviceManagementpublic DescribeDeviceResult describeDevice(DescribeDeviceRequest request)
AWSSnowDeviceManagementChecks device-specific information, such as the device type, software version, IP addresses, and lock status.
describeDevice in interface AWSSnowDeviceManagementpublic 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 AWSSnowDeviceManagementpublic DescribeExecutionResult describeExecution(DescribeExecutionRequest request)
AWSSnowDeviceManagementChecks the status of a remote task running on one or more target devices.
describeExecution in interface AWSSnowDeviceManagementpublic DescribeTaskResult describeTask(DescribeTaskRequest request)
AWSSnowDeviceManagementChecks the metadata for a given task on a device.
describeTask in interface AWSSnowDeviceManagementpublic ListDeviceResourcesResult listDeviceResources(ListDeviceResourcesRequest request)
AWSSnowDeviceManagementReturns 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 AWSSnowDeviceManagementpublic ListDevicesResult listDevices(ListDevicesRequest request)
AWSSnowDeviceManagementReturns 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 AWSSnowDeviceManagementpublic ListExecutionsResult listExecutions(ListExecutionsRequest request)
AWSSnowDeviceManagementReturns the status of tasks for one or more target devices.
listExecutions in interface AWSSnowDeviceManagementpublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSSnowDeviceManagementReturns a list of tags for a managed device or task.
listTagsForResource in interface AWSSnowDeviceManagementpublic ListTasksResult listTasks(ListTasksRequest request)
AWSSnowDeviceManagementReturns a list of tasks that can be filtered by state.
listTasks in interface AWSSnowDeviceManagementpublic TagResourceResult tagResource(TagResourceRequest request)
AWSSnowDeviceManagementAdds or replaces tags on a device or task.
tagResource in interface AWSSnowDeviceManagementpublic UntagResourceResult untagResource(UntagResourceRequest request)
AWSSnowDeviceManagementRemoves a tag from a device or task.
untagResource in interface AWSSnowDeviceManagementpublic void shutdown()
AWSSnowDeviceManagementshutdown in interface AWSSnowDeviceManagementpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSSnowDeviceManagementResponse 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 AWSSnowDeviceManagementrequest - The originally executed request.