QuickSight / Client / list_spaces

list_spaces

QuickSight.Client.list_spaces(**kwargs)

Lists all Amazon QuickSight spaces in an Amazon Web Services account.

See also: AWS API Documentation

Request Syntax

response = client.list_spaces(
    AwsAccountId='string',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • AwsAccountId (string) –

    [REQUIRED]

    The ID of the Amazon Web Services account that contains the spaces.

  • NextToken (string) – The token for the next set of results, or null if there are no more results.

  • MaxResults (integer) – The maximum number of results to return.

Return type:

dict

Returns:

Response Syntax

{
    'spaceId': 'string',
    'spaceArn': 'string',
    'SpaceSummaries': [
        {
            'spaceId': 'string',
            'spaceArn': 'string',
            'name': 'string',
            'description': 'string',
            'updatedAt': datetime(2015, 1, 1),
            'consumedSourceSize': 123,
            'consumedSourceDocCount': 123,
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'createdByArn': 'string',
            'resourcesCount': 123
        },
    ],
    'NextToken': 'string',
    'RequestId': 'string'
}

Response Structure

  • (dict) –

    • spaceId (string) –

      The ID of the space.

    • spaceArn (string) –

      The ARN of the space.

    • SpaceSummaries (list) –

      A list of space summaries.

      • (dict) –

        A summary of an Amazon QuickSight space.

        • spaceId (string) –

          The ID of the space.

        • spaceArn (string) –

          The ARN of the space.

        • name (string) –

          The display name of the space.

        • description (string) –

          The description of the space.

        • updatedAt (datetime) –

          The date and time that the space was last updated.

        • consumedSourceSize (integer) –

          The total consumed source size in bytes.

        • consumedSourceDocCount (integer) –

          The number of consumed source documents.

        • createdAt (datetime) –

          The date and time that the space was created.

        • createdBy (string) –

          The user who created the space.

        • createdByArn (string) –

          The ARN of the user who created the space.

        • resourcesCount (integer) –

          The number of resources in the space.

    • NextToken (string) –

      The token for the next set of results, or null if there are no more results.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

Exceptions

  • QuickSight.Client.exceptions.ThrottlingException

  • QuickSight.Client.exceptions.InvalidParameterValueException

  • QuickSight.Client.exceptions.InternalFailureException

  • QuickSight.Client.exceptions.ResourceNotFoundException

  • QuickSight.Client.exceptions.AccessDeniedException