@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSSnowDeviceManagement
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSSnowDeviceManagement
instead.
Amazon Web Services Snow Device Management documentation.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CancelTaskResult |
cancelTask(CancelTaskRequest cancelTaskRequest)
Sends a cancel request for a specified task.
|
CreateTaskResult |
createTask(CreateTaskRequest createTaskRequest)
Instructs one or more devices to start a task, such as unlocking or rebooting.
|
DescribeDeviceResult |
describeDevice(DescribeDeviceRequest describeDeviceRequest)
Checks device-specific information, such as the device type, software version, IP addresses, and lock status.
|
DescribeDeviceEc2InstancesResult |
describeDeviceEc2Instances(DescribeDeviceEc2InstancesRequest describeDeviceEc2InstancesRequest)
Checks the current state of the Amazon EC2 instances.
|
DescribeExecutionResult |
describeExecution(DescribeExecutionRequest describeExecutionRequest)
Checks the status of a remote task running on one or more target devices.
|
DescribeTaskResult |
describeTask(DescribeTaskRequest describeTaskRequest)
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 listDeviceResourcesRequest)
Returns a list of the Amazon Web Services resources available for a device.
|
ListDevicesResult |
listDevices(ListDevicesRequest listDevicesRequest)
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 listExecutionsRequest)
Returns the status of tasks for one or more target devices.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of tags for a managed device or task.
|
ListTasksResult |
listTasks(ListTasksRequest listTasksRequest)
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 tagResourceRequest)
Adds or replaces tags on a device or task.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag from a device or task.
|
static final String ENDPOINT_PREFIX
CancelTaskResult cancelTask(CancelTaskRequest cancelTaskRequest)
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.
cancelTaskRequest
- ThrottlingException
- The request was denied due to request throttling.InternalServerException
- An unexpected error occurred while processing the request.ResourceNotFoundException
- The request references a resource that doesn't exist.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You don't have sufficient access to perform this action.CreateTaskResult createTask(CreateTaskRequest createTaskRequest)
Instructs one or more devices to start a task, such as unlocking or rebooting.
createTaskRequest
- ServiceQuotaExceededException
- The request would cause a service quota to be exceeded.ThrottlingException
- The request was denied due to request throttling.InternalServerException
- An unexpected error occurred while processing the request.ResourceNotFoundException
- The request references a resource that doesn't exist.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You don't have sufficient access to perform this action.DescribeDeviceResult describeDevice(DescribeDeviceRequest describeDeviceRequest)
Checks device-specific information, such as the device type, software version, IP addresses, and lock status.
describeDeviceRequest
- ThrottlingException
- The request was denied due to request throttling.InternalServerException
- An unexpected error occurred while processing the request.ResourceNotFoundException
- The request references a resource that doesn't exist.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You don't have sufficient access to perform this action.DescribeDeviceEc2InstancesResult describeDeviceEc2Instances(DescribeDeviceEc2InstancesRequest describeDeviceEc2InstancesRequest)
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.
describeDeviceEc2InstancesRequest
- ThrottlingException
- The request was denied due to request throttling.InternalServerException
- An unexpected error occurred while processing the request.ResourceNotFoundException
- The request references a resource that doesn't exist.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You don't have sufficient access to perform this action.DescribeExecutionResult describeExecution(DescribeExecutionRequest describeExecutionRequest)
Checks the status of a remote task running on one or more target devices.
describeExecutionRequest
- ThrottlingException
- The request was denied due to request throttling.InternalServerException
- An unexpected error occurred while processing the request.ResourceNotFoundException
- The request references a resource that doesn't exist.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You don't have sufficient access to perform this action.DescribeTaskResult describeTask(DescribeTaskRequest describeTaskRequest)
Checks the metadata for a given task on a device.
describeTaskRequest
- ThrottlingException
- The request was denied due to request throttling.InternalServerException
- An unexpected error occurred while processing the request.ResourceNotFoundException
- The request references a resource that doesn't exist.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You don't have sufficient access to perform this action.ListDeviceResourcesResult listDeviceResources(ListDeviceResourcesRequest listDeviceResourcesRequest)
Returns a list of the Amazon Web Services resources available for a device. Currently, Amazon EC2 instances are the only supported resource type.
listDeviceResourcesRequest
- ThrottlingException
- The request was denied due to request throttling.InternalServerException
- An unexpected error occurred while processing the request.ResourceNotFoundException
- The request references a resource that doesn't exist.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You don't have sufficient access to perform this action.ListDevicesResult listDevices(ListDevicesRequest listDevicesRequest)
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.
listDevicesRequest
- ThrottlingException
- The request was denied due to request throttling.InternalServerException
- An unexpected error occurred while processing the request.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You don't have sufficient access to perform this action.ListExecutionsResult listExecutions(ListExecutionsRequest listExecutionsRequest)
Returns the status of tasks for one or more target devices.
listExecutionsRequest
- ThrottlingException
- The request was denied due to request throttling.InternalServerException
- An unexpected error occurred while processing the request.ResourceNotFoundException
- The request references a resource that doesn't exist.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You don't have sufficient access to perform this action.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of tags for a managed device or task.
listTagsForResourceRequest
- InternalServerException
- An unexpected error occurred while processing the request.ResourceNotFoundException
- The request references a resource that doesn't exist.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ListTasksResult listTasks(ListTasksRequest listTasksRequest)
Returns a list of tasks that can be filtered by state.
listTasksRequest
- ThrottlingException
- The request was denied due to request throttling.InternalServerException
- An unexpected error occurred while processing the request.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You don't have sufficient access to perform this action.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Adds or replaces tags on a device or task.
tagResourceRequest
- InternalServerException
- An unexpected error occurred while processing the request.ResourceNotFoundException
- The request references a resource that doesn't exist.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag from a device or task.
untagResourceRequest
- InternalServerException
- An unexpected error occurred while processing the request.ResourceNotFoundException
- The request references a resource that doesn't exist.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.void shutdown()
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 a request.
request
- The originally executed request.