CleanRoomsService / Client / list_collaborations

list_collaborations#

CleanRoomsService.Client.list_collaborations(**kwargs)#

Lists collaborations the caller owns, is active in, or has been invited to.

See also: AWS API Documentation

Request Syntax

response = client.list_collaborations(
    nextToken='string',
    maxResults=123,
    memberStatus='INVITED'|'ACTIVE'
)
Parameters:
  • nextToken (string) – The pagination token that’s used to fetch the next set of results.

  • maxResults (integer) – The maximum number of results that are returned for an API request call. The service chooses a default number if you don’t set one. The service might return a nextToken even if the maxResults value has not been met.

  • memberStatus (string) – The caller’s status in a collaboration.

Return type:

dict

Returns:

Response Syntax

{
    'nextToken': 'string',
    'collaborationList': [
        {
            'id': 'string',
            'arn': 'string',
            'name': 'string',
            'creatorAccountId': 'string',
            'creatorDisplayName': 'string',
            'createTime': datetime(2015, 1, 1),
            'updateTime': datetime(2015, 1, 1),
            'memberStatus': 'INVITED'|'ACTIVE'|'LEFT'|'REMOVED',
            'membershipId': 'string',
            'membershipArn': 'string',
            'analyticsEngine': 'SPARK'|'CLEAN_ROOMS_SQL'
        },
    ]
}

Response Structure

  • (dict) –

    • nextToken (string) –

      The pagination token that’s used to fetch the next set of results.

    • collaborationList (list) –

      The list of collaborations.

      • (dict) –

        The metadata of the collaboration.

        • id (string) –

          The identifier for the collaboration.

        • arn (string) –

          The ARN of the collaboration.

        • name (string) –

          A human-readable identifier provided by the collaboration owner. Display names are not unique.

        • creatorAccountId (string) –

          The identifier used to reference members of the collaboration. Currently only supports Amazon Web Services account ID.

        • creatorDisplayName (string) –

          The display name of the collaboration creator.

        • createTime (datetime) –

          The time when the collaboration was created.

        • updateTime (datetime) –

          The time the collaboration metadata was last updated.

        • memberStatus (string) –

          The status of a member in a collaboration.

        • membershipId (string) –

          The identifier of a member in a collaboration.

        • membershipArn (string) –

          The ARN of a member in a collaboration.

        • analyticsEngine (string) –

          The analytics engine.

Exceptions