QuickSight / Client / list_space_resources

list_space_resources

QuickSight.Client.list_space_resources(**kwargs)

Lists the resources in an Amazon QuickSight space.

See also: AWS API Documentation

Request Syntax

response = client.list_space_resources(
    AwsAccountId='string',
    SpaceId='string'
)
Parameters:
  • AwsAccountId (string) –

    [REQUIRED]

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

  • SpaceId (string) –

    [REQUIRED]

    The ID of the space that you want to list resources for.

Return type:

dict

Returns:

Response Syntax

{
    'spaceId': 'string',
    'spaceArn': 'string',
    'SpaceResources': [
        {
            'ResourceType': 'TOPIC'|'DASHBOARD'|'KNOWLEDGE_BASE'|'SPACE'|'ACTION_CONNECTOR'|'DATA_SET'|'ARTIFACT',
            'ResourceDetails': {
                'resourceArn': 'string'
            },
            'ResourceName': 'string',
            'UpdatedAt': datetime(2015, 1, 1)
        },
    ],
    'RequestId': 'string'
}

Response Structure

  • (dict) –

    • spaceId (string) –

      The ID of the space.

    • spaceArn (string) –

      The ARN of the space.

    • SpaceResources (list) –

      A list of resource summaries in the space.

      • (dict) –

        A summary of a resource in a space.

        • ResourceType (string) –

          The type of the resource.

        • ResourceDetails (dict) –

          The details of the resource.

          Note

          This is a Tagged Union structure. Only one of the following top level keys will be set: resourceArn. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

          'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
          
          • resourceArn (string) –

            The ARN of the QuickSight resource.

        • ResourceName (string) –

          The name of the resource.

        • UpdatedAt (datetime) –

          The date and time that the resource was last updated.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

Exceptions