List tasks by status - Amazon Snowball Edge Developer Guide
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

List tasks by status

Use the list-tasks command to return a list of tasks from the devices in the Amazon Region where the command is run. To filter the results by IN_PROGRESS, COMPLETED, or CANCELED status, use the --state parameter. --max-results and --next-token are optional. For more information, see Using Amazon CLI pagination options in the "Amazon Command Line Interface User Guide".

To list tasks by status, use the following command. Replace each user input placeholder with your own information.


aws snow-device-management list-tasks \ --state IN_PROGRESS \ --next-token K8VAMqKiP2Cf4xGkmH8GMyZrgOF8FUb+d1OKTP9+P4pUb+8PhW+6MiXh4= \ --max-results 10


ValidationException InternalServerException ThrottlingException AccessDeniedException


{ "tasks": [ { "state": "IN_PROGRESS", "tags": {}, "taskId": "st-ficthmqoc2phtlef", "taskArn": "arn:aws:snow-device-management:us-west-2:000000000000:task/st-ficthmqoc2phtlef" } ] }