{ "smithy": "2.0", "shapes": { "com.amazonaws.snowdevicemanagement#AccessDeniedException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

You don't have sufficient access to perform this action.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.snowdevicemanagement#AttachmentStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ATTACHING", "name": "ATTACHING" }, { "value": "ATTACHED", "name": "ATTACHED" }, { "value": "DETACHING", "name": "DETACHING" }, { "value": "DETACHED", "name": "DETACHED" } ] } }, "com.amazonaws.snowdevicemanagement#CancelTask": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#CancelTaskInput" }, "output": { "target": "com.amazonaws.snowdevicemanagement#CancelTaskOutput" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#AccessDeniedException" }, { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ResourceNotFoundException" }, { "target": "com.amazonaws.snowdevicemanagement#ThrottlingException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Sends a cancel request for a specified task. You can cancel a task only if it's still in a\n QUEUED state. Tasks that are already running can't be cancelled.

\n \n

A task might still run if it's processed from the queue before the\n CancelTask operation changes the task's state.

\n
", "smithy.api#http": { "code": 200, "method": "POST", "uri": "/task/{taskId}/cancel" } } }, "com.amazonaws.snowdevicemanagement#CancelTaskInput": { "type": "structure", "members": { "taskId": { "target": "com.amazonaws.snowdevicemanagement#TaskId", "traits": { "smithy.api#documentation": "

The ID of the task that you are attempting to cancel. You can retrieve a task ID by using\n the ListTasks operation.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.snowdevicemanagement#CancelTaskOutput": { "type": "structure", "members": { "taskId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ID of the task that you are attempting to cancel.

" } } } }, "com.amazonaws.snowdevicemanagement#Capacity": { "type": "structure", "members": { "name": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The name of the type of capacity, such as memory.

", "smithy.api#length": { "min": 0, "max": 100 } } }, "unit": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The unit of measure for the type of capacity.

", "smithy.api#length": { "min": 0, "max": 20 } } }, "total": { "target": "smithy.api#Long", "traits": { "smithy.api#documentation": "

The total capacity on the device.

" } }, "used": { "target": "smithy.api#Long", "traits": { "smithy.api#documentation": "

The amount of capacity used on the device.

" } }, "available": { "target": "smithy.api#Long", "traits": { "smithy.api#documentation": "

The amount of capacity available for use on the device.

" } } }, "traits": { "smithy.api#documentation": "

The physical capacity of the Amazon Web Services Snow Family device.

" } }, "com.amazonaws.snowdevicemanagement#CapacityList": { "type": "list", "member": { "target": "com.amazonaws.snowdevicemanagement#Capacity" }, "traits": { "smithy.api#length": { "min": 0, "max": 100 } } }, "com.amazonaws.snowdevicemanagement#Command": { "type": "union", "members": { "unlock": { "target": "com.amazonaws.snowdevicemanagement#Unlock", "traits": { "smithy.api#documentation": "

Unlocks the device.

" } }, "reboot": { "target": "com.amazonaws.snowdevicemanagement#Reboot", "traits": { "smithy.api#documentation": "

Reboots the device.

" } } }, "traits": { "smithy.api#documentation": "

The command given to the device to execute.

" } }, "com.amazonaws.snowdevicemanagement#CpuOptions": { "type": "structure", "members": { "coreCount": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

The number of cores that the CPU can use.

" } }, "threadsPerCore": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

The number of threads per core in the CPU.

" } } }, "traits": { "smithy.api#documentation": "

The options for how a device's CPU is configured.

" } }, "com.amazonaws.snowdevicemanagement#CreateTask": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#CreateTaskInput" }, "output": { "target": "com.amazonaws.snowdevicemanagement#CreateTaskOutput" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#AccessDeniedException" }, { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ResourceNotFoundException" }, { "target": "com.amazonaws.snowdevicemanagement#ServiceQuotaExceededException" }, { "target": "com.amazonaws.snowdevicemanagement#ThrottlingException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Instructs one or more devices to start a task, such as unlocking or rebooting.

", "smithy.api#http": { "code": 200, "method": "POST", "uri": "/task" } } }, "com.amazonaws.snowdevicemanagement#CreateTaskInput": { "type": "structure", "members": { "targets": { "target": "com.amazonaws.snowdevicemanagement#TargetList", "traits": { "smithy.api#documentation": "

A list of managed device IDs.

", "smithy.api#required": {} } }, "command": { "target": "com.amazonaws.snowdevicemanagement#Command", "traits": { "smithy.api#documentation": "

The task to be performed. Only one task is executed on a device at a time.

", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.snowdevicemanagement#TaskDescriptionString", "traits": { "smithy.api#documentation": "

A description of the task and its targets.

" } }, "tags": { "target": "com.amazonaws.snowdevicemanagement#TagMap", "traits": { "smithy.api#documentation": "

Optional metadata that you assign to a resource. You can use tags to categorize a resource\n in different ways, such as by purpose, owner, or environment.

" } }, "clientToken": { "target": "com.amazonaws.snowdevicemanagement#IdempotencyToken", "traits": { "smithy.api#documentation": "

A token ensuring that the action is called only once with the specified details.

", "smithy.api#idempotencyToken": {} } } } }, "com.amazonaws.snowdevicemanagement#CreateTaskOutput": { "type": "structure", "members": { "taskId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ID of the task that you created.

" } }, "taskArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task that you created.

" } } } }, "com.amazonaws.snowdevicemanagement#DescribeDevice": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#DescribeDeviceInput" }, "output": { "target": "com.amazonaws.snowdevicemanagement#DescribeDeviceOutput" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#AccessDeniedException" }, { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ResourceNotFoundException" }, { "target": "com.amazonaws.snowdevicemanagement#ThrottlingException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Checks device-specific information, such as the device type, software version, IP\n addresses, and lock status.

", "smithy.api#http": { "code": 200, "method": "POST", "uri": "/managed-device/{managedDeviceId}/describe" }, "smithy.api#readonly": {} } }, "com.amazonaws.snowdevicemanagement#DescribeDeviceEc2Input": { "type": "structure", "members": { "managedDeviceId": { "target": "com.amazonaws.snowdevicemanagement#ManagedDeviceId", "traits": { "smithy.api#documentation": "

The ID of the managed device.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "instanceIds": { "target": "com.amazonaws.snowdevicemanagement#InstanceIdsList", "traits": { "smithy.api#documentation": "

A list of instance IDs associated with the managed device.

", "smithy.api#required": {} } } } }, "com.amazonaws.snowdevicemanagement#DescribeDeviceEc2Instances": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#DescribeDeviceEc2Input" }, "output": { "target": "com.amazonaws.snowdevicemanagement#DescribeDeviceEc2Output" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#AccessDeniedException" }, { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ResourceNotFoundException" }, { "target": "com.amazonaws.snowdevicemanagement#ThrottlingException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Checks the current state of the Amazon EC2 instances. The output is similar to\n describeDevice, but the results are sourced from the device cache in the\n Amazon Web Services Cloud and include a subset of the available fields.

", "smithy.api#http": { "code": 200, "method": "POST", "uri": "/managed-device/{managedDeviceId}/resources/ec2/describe" }, "smithy.api#readonly": {} } }, "com.amazonaws.snowdevicemanagement#DescribeDeviceEc2Output": { "type": "structure", "members": { "instances": { "target": "com.amazonaws.snowdevicemanagement#InstanceSummaryList", "traits": { "smithy.api#documentation": "

A list of structures containing information about each instance.

" } } } }, "com.amazonaws.snowdevicemanagement#DescribeDeviceInput": { "type": "structure", "members": { "managedDeviceId": { "target": "com.amazonaws.snowdevicemanagement#ManagedDeviceId", "traits": { "smithy.api#documentation": "

The ID of the device that you are checking the information of.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.snowdevicemanagement#DescribeDeviceOutput": { "type": "structure", "members": { "lastReachedOutAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

When the device last contacted the Amazon Web Services Cloud. Indicates that the device is\n online.

" } }, "lastUpdatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

When the device last pushed an update to the Amazon Web Services Cloud. Indicates when the device cache\n was refreshed.

" } }, "tags": { "target": "com.amazonaws.snowdevicemanagement#TagMap", "traits": { "smithy.api#documentation": "

Optional metadata that you assign to a resource. You can use tags to categorize a resource\n in different ways, such as by purpose, owner, or environment.

" } }, "managedDeviceId": { "target": "com.amazonaws.snowdevicemanagement#ManagedDeviceId", "traits": { "smithy.api#documentation": "

The ID of the device that you checked the information for.

" } }, "managedDeviceArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the device.

" } }, "deviceType": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The type of Amazon Web Services Snow Family device.

" } }, "associatedWithJob": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ID of the job used when ordering the device.

" } }, "deviceState": { "target": "com.amazonaws.snowdevicemanagement#UnlockState", "traits": { "smithy.api#documentation": "

The current state of the device.

" } }, "physicalNetworkInterfaces": { "target": "com.amazonaws.snowdevicemanagement#PhysicalNetworkInterfaceList", "traits": { "smithy.api#documentation": "

The network interfaces available on the device.

" } }, "deviceCapacities": { "target": "com.amazonaws.snowdevicemanagement#CapacityList", "traits": { "smithy.api#documentation": "

The hardware specifications of the device.

" } }, "software": { "target": "com.amazonaws.snowdevicemanagement#SoftwareInformation", "traits": { "smithy.api#documentation": "

The software installed on the device.

" } } } }, "com.amazonaws.snowdevicemanagement#DescribeExecution": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#DescribeExecutionInput" }, "output": { "target": "com.amazonaws.snowdevicemanagement#DescribeExecutionOutput" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#AccessDeniedException" }, { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ResourceNotFoundException" }, { "target": "com.amazonaws.snowdevicemanagement#ThrottlingException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Checks the status of a remote task running on one or more target devices.

", "smithy.api#http": { "code": 200, "method": "POST", "uri": "/task/{taskId}/execution/{managedDeviceId}" }, "smithy.api#readonly": {} } }, "com.amazonaws.snowdevicemanagement#DescribeExecutionInput": { "type": "structure", "members": { "taskId": { "target": "com.amazonaws.snowdevicemanagement#TaskId", "traits": { "smithy.api#documentation": "

The ID of the task that the action is describing.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "managedDeviceId": { "target": "com.amazonaws.snowdevicemanagement#ManagedDeviceId", "traits": { "smithy.api#documentation": "

The ID of the managed device.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.snowdevicemanagement#DescribeExecutionOutput": { "type": "structure", "members": { "taskId": { "target": "com.amazonaws.snowdevicemanagement#TaskId", "traits": { "smithy.api#documentation": "

The ID of the task being executed on the device.

" } }, "executionId": { "target": "com.amazonaws.snowdevicemanagement#ExecutionId", "traits": { "smithy.api#documentation": "

The ID of the execution.

" } }, "managedDeviceId": { "target": "com.amazonaws.snowdevicemanagement#ManagedDeviceId", "traits": { "smithy.api#documentation": "

The ID of the managed device that the task is being executed on.

" } }, "state": { "target": "com.amazonaws.snowdevicemanagement#ExecutionState", "traits": { "smithy.api#documentation": "

The current state of the execution.

" } }, "startedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

When the execution began.

" } }, "lastUpdatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

When the status of the execution was last updated.

" } } } }, "com.amazonaws.snowdevicemanagement#DescribeTask": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#DescribeTaskInput" }, "output": { "target": "com.amazonaws.snowdevicemanagement#DescribeTaskOutput" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#AccessDeniedException" }, { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ResourceNotFoundException" }, { "target": "com.amazonaws.snowdevicemanagement#ThrottlingException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Checks the metadata for a given task on a device.

", "smithy.api#http": { "code": 200, "method": "POST", "uri": "/task/{taskId}" }, "smithy.api#readonly": {} } }, "com.amazonaws.snowdevicemanagement#DescribeTaskInput": { "type": "structure", "members": { "taskId": { "target": "com.amazonaws.snowdevicemanagement#TaskId", "traits": { "smithy.api#documentation": "

The ID of the task to be described.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.snowdevicemanagement#DescribeTaskOutput": { "type": "structure", "members": { "taskId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ID of the task.

" } }, "taskArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task.

" } }, "targets": { "target": "com.amazonaws.snowdevicemanagement#TargetList", "traits": { "smithy.api#documentation": "

The managed devices that the task was sent to.

" } }, "state": { "target": "com.amazonaws.snowdevicemanagement#TaskState", "traits": { "smithy.api#documentation": "

The current state of the task.

" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

When the CreateTask operation was called.

" } }, "lastUpdatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

When the state of the task was last updated.

" } }, "completedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

When the task was completed.

" } }, "description": { "target": "com.amazonaws.snowdevicemanagement#TaskDescriptionString", "traits": { "smithy.api#documentation": "

The description provided of the task and managed devices.

" } }, "tags": { "target": "com.amazonaws.snowdevicemanagement#TagMap", "traits": { "smithy.api#documentation": "

Optional metadata that you assign to a resource. You can use tags to categorize a resource\n in different ways, such as by purpose, owner, or environment.

" } } } }, "com.amazonaws.snowdevicemanagement#DeviceSummary": { "type": "structure", "members": { "managedDeviceId": { "target": "com.amazonaws.snowdevicemanagement#ManagedDeviceId", "traits": { "smithy.api#documentation": "

The ID of the device.

" } }, "managedDeviceArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the device.

" } }, "associatedWithJob": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ID of the job used to order the device.

" } }, "tags": { "target": "com.amazonaws.snowdevicemanagement#TagMap", "traits": { "smithy.api#documentation": "

Optional metadata that you assign to a resource. You can use tags to categorize a resource\n in different ways, such as by purpose, owner, or environment.

" } } }, "traits": { "smithy.api#documentation": "

Identifying information about the device.

" } }, "com.amazonaws.snowdevicemanagement#DeviceSummaryList": { "type": "list", "member": { "target": "com.amazonaws.snowdevicemanagement#DeviceSummary" } }, "com.amazonaws.snowdevicemanagement#EbsInstanceBlockDevice": { "type": "structure", "members": { "attachTime": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

When the attachment was initiated.

" } }, "deleteOnTermination": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

A value that indicates whether the volume is deleted on instance termination.

" } }, "status": { "target": "com.amazonaws.snowdevicemanagement#AttachmentStatus", "traits": { "smithy.api#documentation": "

The attachment state.

" } }, "volumeId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ID of the Amazon EBS volume.

" } } }, "traits": { "smithy.api#documentation": "

Describes a parameter used to set up an Amazon Elastic Block Store (Amazon EBS) volume\n in a block device mapping.

" } }, "com.amazonaws.snowdevicemanagement#Execution": { "type": "resource", "identifiers": { "taskId": { "target": "com.amazonaws.snowdevicemanagement#TaskId" }, "managedDeviceId": { "target": "com.amazonaws.snowdevicemanagement#ManagedDeviceId" } }, "read": { "target": "com.amazonaws.snowdevicemanagement#DescribeExecution" }, "list": { "target": "com.amazonaws.snowdevicemanagement#ListExecutions" } }, "com.amazonaws.snowdevicemanagement#ExecutionId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.snowdevicemanagement#ExecutionState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "QUEUED", "name": "QUEUED" }, { "value": "IN_PROGRESS", "name": "IN_PROGRESS" }, { "value": "CANCELED", "name": "CANCELED" }, { "value": "FAILED", "name": "FAILED" }, { "value": "SUCCEEDED", "name": "SUCCEEDED" }, { "value": "REJECTED", "name": "REJECTED" }, { "value": "TIMED_OUT", "name": "TIMED_OUT" } ] } }, "com.amazonaws.snowdevicemanagement#ExecutionSummary": { "type": "structure", "members": { "taskId": { "target": "com.amazonaws.snowdevicemanagement#TaskId", "traits": { "smithy.api#documentation": "

The ID of the task.

" } }, "executionId": { "target": "com.amazonaws.snowdevicemanagement#ExecutionId", "traits": { "smithy.api#documentation": "

The ID of the execution.

" } }, "managedDeviceId": { "target": "com.amazonaws.snowdevicemanagement#ManagedDeviceId", "traits": { "smithy.api#documentation": "

The ID of the managed device that the task is being executed on.

" } }, "state": { "target": "com.amazonaws.snowdevicemanagement#ExecutionState", "traits": { "smithy.api#documentation": "

The state of the execution.

" } } }, "traits": { "smithy.api#documentation": "

The summary of a task execution on a specified device.

" } }, "com.amazonaws.snowdevicemanagement#ExecutionSummaryList": { "type": "list", "member": { "target": "com.amazonaws.snowdevicemanagement#ExecutionSummary" } }, "com.amazonaws.snowdevicemanagement#IdempotencyToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "[!-~]+" } }, "com.amazonaws.snowdevicemanagement#Instance": { "type": "structure", "members": { "imageId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ID of the AMI used to launch the instance.

" } }, "amiLaunchIndex": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

The Amazon Machine Image (AMI) launch index, which you can use to find this instance in\n the launch group.

" } }, "instanceId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ID of the instance.

" } }, "state": { "target": "com.amazonaws.snowdevicemanagement#InstanceState" }, "instanceType": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The instance type.

" } }, "privateIpAddress": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The private IPv4 address assigned to the instance.

" } }, "publicIpAddress": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The public IPv4 address assigned to the instance.

" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

When the instance was created.

" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

When the instance was last updated.

" } }, "blockDeviceMappings": { "target": "com.amazonaws.snowdevicemanagement#InstanceBlockDeviceMappingList", "traits": { "smithy.api#documentation": "

Any block device mapping entries for the instance.

" } }, "securityGroups": { "target": "com.amazonaws.snowdevicemanagement#SecurityGroupIdentifierList", "traits": { "smithy.api#documentation": "

The security groups for the instance.

" } }, "cpuOptions": { "target": "com.amazonaws.snowdevicemanagement#CpuOptions", "traits": { "smithy.api#documentation": "

The CPU options for the instance.

" } }, "rootDeviceName": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The device name of the root device volume (for example, /dev/sda1).

" } } }, "traits": { "smithy.api#documentation": "

The description of an\n instance.\n Currently, Amazon EC2 instances are the only supported instance type.

" } }, "com.amazonaws.snowdevicemanagement#InstanceBlockDeviceMapping": { "type": "structure", "members": { "deviceName": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The block device name.

" } }, "ebs": { "target": "com.amazonaws.snowdevicemanagement#EbsInstanceBlockDevice", "traits": { "smithy.api#documentation": "

The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS)\n volumes when the instance is launched.

" } } }, "traits": { "smithy.api#documentation": "

The description of a block device mapping.

" } }, "com.amazonaws.snowdevicemanagement#InstanceBlockDeviceMappingList": { "type": "list", "member": { "target": "com.amazonaws.snowdevicemanagement#InstanceBlockDeviceMapping" } }, "com.amazonaws.snowdevicemanagement#InstanceIdsList": { "type": "list", "member": { "target": "smithy.api#String" } }, "com.amazonaws.snowdevicemanagement#InstanceState": { "type": "structure", "members": { "code": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

The state of the instance as a 16-bit unsigned integer.

\n

The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values\n between 256 and 65,535. These numerical values are used for internal purposes and should be\n ignored.

\n

The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values\n between 0 and 255.

\n

The valid values for the instance state code are all in the range of the low byte. These\n values are:

\n \n

You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in\n decimal.

" } }, "name": { "target": "com.amazonaws.snowdevicemanagement#InstanceStateName", "traits": { "smithy.api#documentation": "

The current\n state\n of the instance.

" } } }, "traits": { "smithy.api#documentation": "

The description of the current state of an instance.

" } }, "com.amazonaws.snowdevicemanagement#InstanceStateName": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "PENDING", "name": "PENDING" }, { "value": "RUNNING", "name": "RUNNING" }, { "value": "SHUTTING_DOWN", "name": "SHUTTING_DOWN" }, { "value": "TERMINATED", "name": "TERMINATED" }, { "value": "STOPPING", "name": "STOPPING" }, { "value": "STOPPED", "name": "STOPPED" } ] } }, "com.amazonaws.snowdevicemanagement#InstanceSummary": { "type": "structure", "members": { "instance": { "target": "com.amazonaws.snowdevicemanagement#Instance", "traits": { "smithy.api#documentation": "

A structure containing details about the instance.

" } }, "lastUpdatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

When the instance summary was last updated.

" } } }, "traits": { "smithy.api#documentation": "

The details about the instance.

" } }, "com.amazonaws.snowdevicemanagement#InstanceSummaryList": { "type": "list", "member": { "target": "com.amazonaws.snowdevicemanagement#InstanceSummary" } }, "com.amazonaws.snowdevicemanagement#InternalServerException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

An unexpected error occurred while processing the request.

", "smithy.api#error": "server", "smithy.api#httpError": 500, "smithy.api#retryable": {} } }, "com.amazonaws.snowdevicemanagement#IpAddressAssignment": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "DHCP", "name": "DHCP" }, { "value": "STATIC", "name": "STATIC" } ] } }, "com.amazonaws.snowdevicemanagement#JobId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.snowdevicemanagement#ListDeviceResources": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#ListDeviceResourcesInput" }, "output": { "target": "com.amazonaws.snowdevicemanagement#ListDeviceResourcesOutput" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#AccessDeniedException" }, { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ResourceNotFoundException" }, { "target": "com.amazonaws.snowdevicemanagement#ThrottlingException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Returns a list of the Amazon Web Services resources available for a device. Currently, Amazon EC2 instances are the only supported resource type.

", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/managed-device/{managedDeviceId}/resources" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", "items": "resources" }, "smithy.api#readonly": {} } }, "com.amazonaws.snowdevicemanagement#ListDeviceResourcesInput": { "type": "structure", "members": { "managedDeviceId": { "target": "com.amazonaws.snowdevicemanagement#ManagedDeviceId", "traits": { "smithy.api#documentation": "

The ID of the managed device that you are listing the resources of.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "type": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A structure used to filter the results by type of resource.

", "smithy.api#httpQuery": "type", "smithy.api#length": { "min": 1, "max": 50 } } }, "maxResults": { "target": "com.amazonaws.snowdevicemanagement#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of resources per page.

", "smithy.api#httpQuery": "maxResults" } }, "nextToken": { "target": "com.amazonaws.snowdevicemanagement#NextToken", "traits": { "smithy.api#documentation": "

A pagination token to continue to the next page of results.

", "smithy.api#httpQuery": "nextToken" } } } }, "com.amazonaws.snowdevicemanagement#ListDeviceResourcesOutput": { "type": "structure", "members": { "resources": { "target": "com.amazonaws.snowdevicemanagement#ResourceSummaryList", "traits": { "smithy.api#documentation": "

A structure defining the resource's type, Amazon Resource Name (ARN), and ID.

" } }, "nextToken": { "target": "com.amazonaws.snowdevicemanagement#NextToken", "traits": { "smithy.api#documentation": "

A pagination token to continue to the next page of results.

" } } } }, "com.amazonaws.snowdevicemanagement#ListDevices": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#ListDevicesInput" }, "output": { "target": "com.amazonaws.snowdevicemanagement#ListDevicesOutput" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#AccessDeniedException" }, { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ThrottlingException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Returns a list of all devices on your Amazon Web Services account that have Amazon Web Services Snow Device Management\n enabled in the Amazon Web Services Region where the command is run.

", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/managed-devices" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", "items": "devices" }, "smithy.api#readonly": {} } }, "com.amazonaws.snowdevicemanagement#ListDevicesInput": { "type": "structure", "members": { "jobId": { "target": "com.amazonaws.snowdevicemanagement#JobId", "traits": { "smithy.api#documentation": "

The ID of the job used to order the device.

", "smithy.api#httpQuery": "jobId" } }, "maxResults": { "target": "com.amazonaws.snowdevicemanagement#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of devices to list per page.

", "smithy.api#httpQuery": "maxResults" } }, "nextToken": { "target": "com.amazonaws.snowdevicemanagement#NextToken", "traits": { "smithy.api#documentation": "

A pagination token to continue to the next page of results.

", "smithy.api#httpQuery": "nextToken" } } } }, "com.amazonaws.snowdevicemanagement#ListDevicesOutput": { "type": "structure", "members": { "devices": { "target": "com.amazonaws.snowdevicemanagement#DeviceSummaryList", "traits": { "smithy.api#documentation": "

A list of device structures that contain information about the device.

" } }, "nextToken": { "target": "com.amazonaws.snowdevicemanagement#NextToken", "traits": { "smithy.api#documentation": "

A pagination token to continue to the next page of devices.

" } } } }, "com.amazonaws.snowdevicemanagement#ListExecutions": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#ListExecutionsInput" }, "output": { "target": "com.amazonaws.snowdevicemanagement#ListExecutionsOutput" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#AccessDeniedException" }, { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ResourceNotFoundException" }, { "target": "com.amazonaws.snowdevicemanagement#ThrottlingException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Returns the status of tasks for one or more target devices.

", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/executions" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", "items": "executions" }, "smithy.api#readonly": {} } }, "com.amazonaws.snowdevicemanagement#ListExecutionsInput": { "type": "structure", "members": { "taskId": { "target": "com.amazonaws.snowdevicemanagement#TaskId", "traits": { "smithy.api#documentation": "

The ID of the task.

", "smithy.api#httpQuery": "taskId", "smithy.api#required": {} } }, "state": { "target": "com.amazonaws.snowdevicemanagement#ExecutionState", "traits": { "smithy.api#documentation": "

A structure used to filter the tasks by their current state.

", "smithy.api#httpQuery": "state" } }, "maxResults": { "target": "com.amazonaws.snowdevicemanagement#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of tasks to list per page.

", "smithy.api#httpQuery": "maxResults" } }, "nextToken": { "target": "com.amazonaws.snowdevicemanagement#NextToken", "traits": { "smithy.api#documentation": "

A pagination token to continue to the next page of tasks.

", "smithy.api#httpQuery": "nextToken" } } } }, "com.amazonaws.snowdevicemanagement#ListExecutionsOutput": { "type": "structure", "members": { "executions": { "target": "com.amazonaws.snowdevicemanagement#ExecutionSummaryList", "traits": { "smithy.api#documentation": "

A list of executions. Each execution contains the task ID, the device that the task is\n executing on, the execution ID, and the status of the execution.

" } }, "nextToken": { "target": "com.amazonaws.snowdevicemanagement#NextToken", "traits": { "smithy.api#documentation": "

A pagination token to continue to the next page of executions.

" } } } }, "com.amazonaws.snowdevicemanagement#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#ListTagsForResourceInput" }, "output": { "target": "com.amazonaws.snowdevicemanagement#ListTagsForResourceOutput" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ResourceNotFoundException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Returns a list of tags for a managed device or task.

", "smithy.api#http": { "method": "GET", "uri": "/tags/{resourceArn}" }, "smithy.api#readonly": {} } }, "com.amazonaws.snowdevicemanagement#ListTagsForResourceInput": { "type": "structure", "members": { "resourceArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the device or task.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.snowdevicemanagement#ListTagsForResourceOutput": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.snowdevicemanagement#TagMap", "traits": { "smithy.api#documentation": "

The list of tags for the device or task.

" } } } }, "com.amazonaws.snowdevicemanagement#ListTasks": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#ListTasksInput" }, "output": { "target": "com.amazonaws.snowdevicemanagement#ListTasksOutput" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#AccessDeniedException" }, { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ThrottlingException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Returns a list of tasks that can be filtered by state.

", "smithy.api#http": { "code": 200, "method": "GET", "uri": "/tasks" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", "items": "tasks" }, "smithy.api#readonly": {} } }, "com.amazonaws.snowdevicemanagement#ListTasksInput": { "type": "structure", "members": { "state": { "target": "com.amazonaws.snowdevicemanagement#TaskState", "traits": { "smithy.api#documentation": "

A structure used to filter the list of tasks.

", "smithy.api#httpQuery": "state" } }, "maxResults": { "target": "com.amazonaws.snowdevicemanagement#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of tasks per page.

", "smithy.api#httpQuery": "maxResults" } }, "nextToken": { "target": "com.amazonaws.snowdevicemanagement#NextToken", "traits": { "smithy.api#documentation": "

A pagination token to continue to the next page of tasks.

", "smithy.api#httpQuery": "nextToken" } } } }, "com.amazonaws.snowdevicemanagement#ListTasksOutput": { "type": "structure", "members": { "tasks": { "target": "com.amazonaws.snowdevicemanagement#TaskSummaryList", "traits": { "smithy.api#documentation": "

A list of task structures containing details about each task.

" } }, "nextToken": { "target": "com.amazonaws.snowdevicemanagement#NextToken", "traits": { "smithy.api#documentation": "

A pagination token to continue to the next page of tasks.

" } } } }, "com.amazonaws.snowdevicemanagement#ManagedDevice": { "type": "resource", "identifiers": { "managedDeviceId": { "target": "com.amazonaws.snowdevicemanagement#ManagedDeviceId" } }, "read": { "target": "com.amazonaws.snowdevicemanagement#DescribeDevice" }, "list": { "target": "com.amazonaws.snowdevicemanagement#ListDevices" }, "operations": [ { "target": "com.amazonaws.snowdevicemanagement#DescribeDeviceEc2Instances" }, { "target": "com.amazonaws.snowdevicemanagement#ListDeviceResources" } ], "traits": { "aws.api#arn": { "template": "managed-device/{managedDeviceId}" } } }, "com.amazonaws.snowdevicemanagement#ManagedDeviceId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.snowdevicemanagement#MaxResults": { "type": "integer", "traits": { "smithy.api#range": { "min": 1, "max": 100 } } }, "com.amazonaws.snowdevicemanagement#NextToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": "[a-zA-Z0-9+/=]*" } }, "com.amazonaws.snowdevicemanagement#PhysicalConnectorType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "RJ45", "name": "RJ45" }, { "value": "SFP_PLUS", "name": "SFP_PLUS" }, { "value": "QSFP", "name": "QSFP" }, { "value": "RJ45_2", "name": "RJ45_2" }, { "value": "WIFI", "name": "WIFI" } ] } }, "com.amazonaws.snowdevicemanagement#PhysicalNetworkInterface": { "type": "structure", "members": { "physicalNetworkInterfaceId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The physical network interface ID.

" } }, "physicalConnectorType": { "target": "com.amazonaws.snowdevicemanagement#PhysicalConnectorType", "traits": { "smithy.api#documentation": "

The\n physical\n connector type.

" } }, "ipAddressAssignment": { "target": "com.amazonaws.snowdevicemanagement#IpAddressAssignment", "traits": { "smithy.api#documentation": "

A value that describes whether the IP address is dynamic or persistent.

" } }, "ipAddress": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The IP address of the device.

" } }, "netmask": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The netmask used to divide the IP address into subnets.

" } }, "defaultGateway": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The default gateway of the device.

" } }, "macAddress": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The MAC address of the device.

" } } }, "traits": { "smithy.api#documentation": "

The details about the physical network interface for the device.

" } }, "com.amazonaws.snowdevicemanagement#PhysicalNetworkInterfaceList": { "type": "list", "member": { "target": "com.amazonaws.snowdevicemanagement#PhysicalNetworkInterface" } }, "com.amazonaws.snowdevicemanagement#Reboot": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "

A structure used to reboot the device.

" } }, "com.amazonaws.snowdevicemanagement#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The request references a resource that doesn't exist.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.snowdevicemanagement#ResourceSummary": { "type": "structure", "members": { "resourceType": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The resource type.

", "smithy.api#required": {} } }, "arn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" } }, "id": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ID of the resource.

" } } }, "traits": { "smithy.api#documentation": "

A summary of a resource available on the device.

" } }, "com.amazonaws.snowdevicemanagement#ResourceSummaryList": { "type": "list", "member": { "target": "com.amazonaws.snowdevicemanagement#ResourceSummary" } }, "com.amazonaws.snowdevicemanagement#SecurityGroupIdentifier": { "type": "structure", "members": { "groupId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The security group ID.

" } }, "groupName": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The security group name.

" } } }, "traits": { "smithy.api#documentation": "

Information about the device's security group.

" } }, "com.amazonaws.snowdevicemanagement#SecurityGroupIdentifierList": { "type": "list", "member": { "target": "com.amazonaws.snowdevicemanagement#SecurityGroupIdentifier" } }, "com.amazonaws.snowdevicemanagement#ServiceQuotaExceededException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The request would cause a service quota to be exceeded.

", "smithy.api#error": "client", "smithy.api#httpError": 402 } }, "com.amazonaws.snowdevicemanagement#SnowDeviceManagement": { "type": "service", "version": "2021-08-04", "operations": [ { "target": "com.amazonaws.snowdevicemanagement#ListTagsForResource" }, { "target": "com.amazonaws.snowdevicemanagement#TagResource" }, { "target": "com.amazonaws.snowdevicemanagement#UntagResource" } ], "resources": [ { "target": "com.amazonaws.snowdevicemanagement#ManagedDevice" }, { "target": "com.amazonaws.snowdevicemanagement#Task" } ], "traits": { "aws.api#service": { "arnNamespace": "snow-device-management", "sdkId": "Snow Device Management" }, "aws.auth#sigv4": { "name": "snow-device-management" }, "aws.protocols#restJson1": {}, "smithy.api#cors": {}, "smithy.api#documentation": "

Amazon Web Services Snow Device Management documentation.

", "smithy.api#title": "AWS Snow Device Management", "smithy.rules#endpointBdd": { "version": "1.1", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "isSet", "argv": [ { "ref": "Region" } ] }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "results": [ { "conditions": [], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://snow-device-management-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://snow-device-management-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://snow-device-management.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://snow-device-management.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "root": 2, "nodeCount": 13, "nodes": "/////wAAAAH/////AAAAAAAAAAwAAAADAAAAAQAAAAQF9eELAAAAAgAAAAUF9eELAAAAAwAAAAgAAAAGAAAABAAAAAcF9eEKAAAABQX14QgF9eEJAAAABAAAAAoAAAAJAAAABgX14QYF9eEHAAAABQAAAAsF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAANAAAABAX14QIF9eED" }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] } ] }, { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://snow-device-management-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://snow-device-management-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://snow-device-management.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } ], "type": "tree" }, { "conditions": [], "endpoint": { "url": "https://snow-device-management.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ] }, "smithy.rules#endpointTests": { "testCases": [ { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://snow-device-management-fips.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://snow-device-management-fips.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://snow-device-management.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://snow-device-management.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://snow-device-management-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://snow-device-management-fips.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://snow-device-management.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://snow-device-management.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://snow-device-management-fips.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://snow-device-management-fips.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://snow-device-management.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://snow-device-management.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://snow-device-management-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://snow-device-management.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://snow-device-management-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://snow-device-management.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips disabled and dualstack enabled", "expect": { "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } }, { "documentation": "Missing region", "expect": { "error": "Invalid Configuration: Missing Region" } } ], "version": "1.0" } } }, "com.amazonaws.snowdevicemanagement#SoftwareInformation": { "type": "structure", "members": { "installedVersion": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The version of the software currently installed on the device.

" } }, "installingVersion": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The version of the software being installed on the device.

" } }, "installState": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The state of the software that is installed or that is being installed on the\n device.

" } } }, "traits": { "smithy.api#documentation": "

Information about the software on the device.

" } }, "com.amazonaws.snowdevicemanagement#TagKeys": { "type": "list", "member": { "target": "smithy.api#String" } }, "com.amazonaws.snowdevicemanagement#TagMap": { "type": "map", "key": { "target": "smithy.api#String" }, "value": { "target": "smithy.api#String" } }, "com.amazonaws.snowdevicemanagement#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#TagResourceInput" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ResourceNotFoundException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Adds or replaces tags on a device or task.

", "smithy.api#http": { "method": "POST", "uri": "/tags/{resourceArn}" } } }, "com.amazonaws.snowdevicemanagement#TagResourceInput": { "type": "structure", "members": { "resourceArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the device or task.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.snowdevicemanagement#TagMap", "traits": { "smithy.api#documentation": "

Optional metadata that you assign to a resource. You can use tags to categorize a resource\n in different ways, such as by purpose, owner, or environment.

", "smithy.api#required": {} } } } }, "com.amazonaws.snowdevicemanagement#TargetList": { "type": "list", "member": { "target": "smithy.api#String" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.snowdevicemanagement#Task": { "type": "resource", "identifiers": { "taskId": { "target": "com.amazonaws.snowdevicemanagement#TaskId" } }, "create": { "target": "com.amazonaws.snowdevicemanagement#CreateTask" }, "read": { "target": "com.amazonaws.snowdevicemanagement#DescribeTask" }, "list": { "target": "com.amazonaws.snowdevicemanagement#ListTasks" }, "operations": [ { "target": "com.amazonaws.snowdevicemanagement#CancelTask" } ], "resources": [ { "target": "com.amazonaws.snowdevicemanagement#Execution" } ], "traits": { "aws.api#arn": { "template": "task/{taskId}" } } }, "com.amazonaws.snowdevicemanagement#TaskDescriptionString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "[A-Za-z0-9 _.,!#]*" } }, "com.amazonaws.snowdevicemanagement#TaskId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.snowdevicemanagement#TaskState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "IN_PROGRESS", "name": "IN_PROGRESS" }, { "value": "CANCELED", "name": "CANCELED" }, { "value": "COMPLETED", "name": "COMPLETED" } ] } }, "com.amazonaws.snowdevicemanagement#TaskSummary": { "type": "structure", "members": { "taskId": { "target": "com.amazonaws.snowdevicemanagement#TaskId", "traits": { "smithy.api#documentation": "

The task ID.

", "smithy.api#required": {} } }, "taskArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task.

" } }, "state": { "target": "com.amazonaws.snowdevicemanagement#TaskState", "traits": { "smithy.api#documentation": "

The state of the task assigned to one or many devices.

" } }, "tags": { "target": "com.amazonaws.snowdevicemanagement#TagMap", "traits": { "smithy.api#documentation": "

Optional metadata that you assign to a resource. You can use tags to categorize a resource\n in different ways, such as by purpose, owner, or environment.

" } } }, "traits": { "smithy.api#documentation": "

Information about the task assigned to one or many devices.

" } }, "com.amazonaws.snowdevicemanagement#TaskSummaryList": { "type": "list", "member": { "target": "com.amazonaws.snowdevicemanagement#TaskSummary" } }, "com.amazonaws.snowdevicemanagement#ThrottlingException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The request was denied due to request throttling.

", "smithy.api#error": "client", "smithy.api#httpError": 429, "smithy.api#retryable": { "throttling": true } } }, "com.amazonaws.snowdevicemanagement#Unlock": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "

A structure used to unlock a device.

" } }, "com.amazonaws.snowdevicemanagement#UnlockState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "UNLOCKED", "name": "UNLOCKED" }, { "value": "LOCKED", "name": "LOCKED" }, { "value": "UNLOCKING", "name": "UNLOCKING" } ] } }, "com.amazonaws.snowdevicemanagement#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.snowdevicemanagement#UntagResourceInput" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" }, { "target": "com.amazonaws.snowdevicemanagement#ResourceNotFoundException" }, { "target": "com.amazonaws.snowdevicemanagement#ValidationException" } ], "traits": { "smithy.api#documentation": "

Removes a tag from a device or task.

", "smithy.api#http": { "method": "DELETE", "uri": "/tags/{resourceArn}" }, "smithy.api#idempotent": {} } }, "com.amazonaws.snowdevicemanagement#UntagResourceInput": { "type": "structure", "members": { "resourceArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the device or task.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tagKeys": { "target": "com.amazonaws.snowdevicemanagement#TagKeys", "traits": { "smithy.api#documentation": "

Optional metadata that you assign to a resource. You can use tags to categorize a resource\n in different ways, such as by purpose, owner, or environment.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } } } }, "com.amazonaws.snowdevicemanagement#ValidationException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The input fails to satisfy the constraints specified by an Amazon Web Services service.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } } } }