@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSSnowDeviceManagementClient extends AmazonWebServiceClient implements AWSSnowDeviceManagement
Amazon Web Services Snow Device Management documentation.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSSnowDeviceManagementClientBuilder |
builder() |
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.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSSnowDeviceManagementClientBuilder builder()
public CancelTaskResult cancelTask(CancelTaskRequest request)
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
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.public CreateTaskResult createTask(CreateTaskRequest request)
Instructs one or more devices to start a task, such as unlocking or rebooting.
createTask
in interface AWSSnowDeviceManagement
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.public DescribeDeviceResult describeDevice(DescribeDeviceRequest request)
Checks device-specific information, such as the device type, software version, IP addresses, and lock status.
describeDevice
in interface AWSSnowDeviceManagement
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.public DescribeDeviceEc2InstancesResult describeDeviceEc2Instances(DescribeDeviceEc2InstancesRequest request)
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
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.public DescribeExecutionResult describeExecution(DescribeExecutionRequest request)
Checks the status of a remote task running on one or more target devices.
describeExecution
in interface AWSSnowDeviceManagement
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.public DescribeTaskResult describeTask(DescribeTaskRequest request)
Checks the metadata for a given task on a device.
describeTask
in interface AWSSnowDeviceManagement
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.public ListDeviceResourcesResult listDeviceResources(ListDeviceResourcesRequest request)
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
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.public 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.
listDevices
in interface AWSSnowDeviceManagement
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.public ListExecutionsResult listExecutions(ListExecutionsRequest request)
Returns the status of tasks for one or more target devices.
listExecutions
in interface AWSSnowDeviceManagement
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.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Returns a list of tags for a managed device or task.
listTagsForResource
in interface AWSSnowDeviceManagement
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.public ListTasksResult listTasks(ListTasksRequest request)
Returns a list of tasks that can be filtered by state.
listTasks
in interface AWSSnowDeviceManagement
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.public TagResourceResult tagResource(TagResourceRequest request)
Adds or replaces tags on a device or task.
tagResource
in interface AWSSnowDeviceManagement
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.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes a tag from a device or task.
untagResource
in interface AWSSnowDeviceManagement
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.public 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 the request.
getCachedResponseMetadata
in interface AWSSnowDeviceManagement
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSSnowDeviceManagement
shutdown
in class AmazonWebServiceClient
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.