CleanRoomsService / Client / list_intermediate_table_versions

list_intermediate_table_versions

CleanRoomsService.Client.list_intermediate_table_versions(**kwargs)

Lists the version history of an intermediate table. Each call to PopulateIntermediateTable creates a new version. We recommend using pagination to ensure that the operation returns quickly and successfully.

See also: AWS API Documentation

Request Syntax

response = client.list_intermediate_table_versions(
    membershipIdentifier='string',
    intermediateTableIdentifier='string',
    nextToken='string',
    maxResults=123
)
Parameters:
  • membershipIdentifier (string) –

    [REQUIRED]

    The unique identifier of the membership that contains the intermediate table.

  • intermediateTableIdentifier (string) –

    [REQUIRED]

    The unique identifier of the intermediate table for which to list versions.

  • 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.

Return type:

dict

Returns:

Response Syntax

{
    'intermediateTableVersionSummaries': [
        {
            'versionId': 'string',
            'tableId': 'string',
            'createTime': datetime(2015, 1, 1),
            'analysisId': 'string',
            'status': 'POPULATE_STARTED'|'POPULATE_SUCCESS'|'POPULATE_FAILED'|'RETENTION_PERIOD_EXPIRED',
            'analysisType': 'QUERY',
            'kmsKeyArn': 'string',
            'expirationTime': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • intermediateTableVersionSummaries (list) –

      The list of intermediate table version summaries.

      • (dict) –

        Contains summary information about a version of an intermediate table.

        • versionId (string) –

          The unique identifier of the version.

        • tableId (string) –

          The unique identifier of the intermediate table that this version belongs to.

        • createTime (datetime) –

          The time the version was created.

        • analysisId (string) –

          The identifier of the protected query that created this version.

        • status (string) –

          The status of the version.

        • analysisType (string) –

          The type of analysis that created this version.

        • kmsKeyArn (string) –

          The Amazon Resource Name (ARN) of the KMS key used to encrypt this version’s data.

        • expirationTime (datetime) –

          The time when this version expires based on the retention period.

    • nextToken (string) –

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

Exceptions

  • CleanRoomsService.Client.exceptions.ResourceNotFoundException

  • CleanRoomsService.Client.exceptions.InternalServerException

  • CleanRoomsService.Client.exceptions.ValidationException

  • CleanRoomsService.Client.exceptions.ThrottlingException

  • CleanRoomsService.Client.exceptions.AccessDeniedException