SecurityAgent / Client / list_agent_spaces

list_agent_spaces

SecurityAgent.Client.list_agent_spaces(**kwargs)

Lists agent spaces

See also: AWS API Documentation

Request Syntax

response = client.list_agent_spaces(
    nextToken='string',
    maxResults=123
)
Parameters:
  • nextToken (string) – Token for pagination

  • maxResults (integer) – Maximum number of agent spaces to return

Return type:

dict

Returns:

Response Syntax

{
    'agentSpaceSummaries': [
        {
            'agentSpaceId': 'string',
            'name': 'string',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    Output for the ListAgentSpaces operation

    • agentSpaceSummaries (list) –

      List of agent space summaries

      • (dict) –

        Summary information for an agent space

        • agentSpaceId (string) –

          Unique identifier of the agent space

        • name (string) –

          Name of the agent space

        • createdAt (datetime) –

          Timestamp when the agent space was created

        • updatedAt (datetime) –

          Timestamp when the agent space was last updated

    • nextToken (string) –

      Token for next page of results