CleanRoomsService / Paginator / ListCollaborationPrivacyBudgets

ListCollaborationPrivacyBudgets#

class CleanRoomsService.Paginator.ListCollaborationPrivacyBudgets#
paginator = client.get_paginator('list_collaboration_privacy_budgets')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from CleanRoomsService.Client.list_collaboration_privacy_budgets().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    collaborationIdentifier='string',
    privacyBudgetType='DIFFERENTIAL_PRIVACY',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • collaborationIdentifier (string) –

    [REQUIRED]

    A unique identifier for one of your collaborations.

  • privacyBudgetType (string) –

    [REQUIRED]

    Specifies the type of the privacy budget.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'collaborationPrivacyBudgetSummaries': [
        {
            'id': 'string',
            'privacyBudgetTemplateId': 'string',
            'privacyBudgetTemplateArn': 'string',
            'collaborationId': 'string',
            'collaborationArn': 'string',
            'creatorAccountId': 'string',
            'type': 'DIFFERENTIAL_PRIVACY',
            'createTime': datetime(2015, 1, 1),
            'updateTime': datetime(2015, 1, 1),
            'budget': {
                'differentialPrivacy': {
                    'aggregations': [
                        {
                            'type': 'AVG'|'COUNT'|'COUNT_DISTINCT'|'SUM'|'STDDEV',
                            'maxCount': 123,
                            'remainingCount': 123
                        },
                    ],
                    'epsilon': 123
                }
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • collaborationPrivacyBudgetSummaries (list) –

      Summaries of the collaboration privacy budgets.

      • (dict) –

        A summary of the collaboration privacy budgets. This summary includes the collaboration information, creation information, epsilon provided, and utility in terms of aggregations.

        • id (string) –

          The unique identifier of the collaboration privacy budget.

        • privacyBudgetTemplateId (string) –

          The unique identifier of the collaboration privacy budget template.

        • privacyBudgetTemplateArn (string) –

          The ARN of the collaboration privacy budget template.

        • collaborationId (string) –

          The unique identifier of the collaboration that includes this privacy budget.

        • collaborationArn (string) –

          The ARN of the collaboration that includes this privacy budget.

        • creatorAccountId (string) –

          The unique identifier of the account that created this privacy budget.

        • type (string) –

          The type of privacy budget template.

        • createTime (datetime) –

          The time at which the privacy budget was created.

        • updateTime (datetime) –

          The most recent time at which the privacy budget was updated.

        • budget (dict) –

          The includes epsilon provided and utility in terms of aggregations.

          Note

          This is a Tagged Union structure. Only one of the following top level keys will be set: differentialPrivacy. 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'}
          
          • differentialPrivacy (dict) –

            An object that specifies the epsilon parameter and the utility in terms of total aggregations, as well as the remaining aggregations available.

            • aggregations (list) –

              This information includes the configured epsilon value and the utility in terms of total aggregations, as well as the remaining aggregations.

              • (dict) –

                Information about the total number of aggregations, as well as the remaining aggregations.

                • type (string) –

                  The different types of aggregation functions that you can perform.

                • maxCount (integer) –

                  The maximum number of aggregation functions that you can perform with the given privacy budget.

                • remainingCount (integer) –

                  The remaining number of aggregation functions that can be run with the available privacy budget.

            • epsilon (integer) –

              The epsilon value that you configured.

    • NextToken (string) –

      A token to resume pagination.