CodeBuild / Client / list_sandboxes

list_sandboxes

CodeBuild.Client.list_sandboxes(**kwargs)

Gets a list of sandboxes.

See also: AWS API Documentation

Request Syntax

response = client.list_sandboxes(
    maxResults=123,
    sortOrder='ASCENDING'|'DESCENDING',
    nextToken='string'
)
Parameters:
  • maxResults (integer) – The maximum number of sandbox records to be retrieved.

  • sortOrder (string) – The order in which sandbox records should be retrieved.

  • nextToken (string) – The next token, if any, to get paginated results. You will get this value from previous execution of list sandboxes.

Return type:

dict

Returns:

Response Syntax

{
    'ids': [
        'string',
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • ids (list) –

      Information about the requested sandbox IDs.

      • (string) –

    • nextToken (string) –

      Information about the next token to get paginated results.

Exceptions