PartnerCentralAnalytics / Paginator / ListDataSubscriptions

ListDataSubscriptions

class PartnerCentralAnalytics.Paginator.ListDataSubscriptions
paginator = client.get_paginator('list_data_subscriptions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from PartnerCentralAnalytics.Client.list_data_subscriptions().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The catalog whose subscriptions to list.

  • 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

{
    'dataSubscriptions': [
        {
            'dataSubscriptionIdentifier': 'string',
            'datasetName': 'string',
            'deliveryState': 'ACTIVE'|'INITIAL_DELIVERY'|'DELAYED'|'ACTION_NEEDED'|'CANCELLED',
            'deliveredThrough': datetime(2015, 1, 1),
            'lastDeliveryTime': datetime(2015, 1, 1),
            'deliveryStateMessage': 'string',
            'initialDeliveryProgress': {
                'daysDelivered': 123,
                'daysTotal': 123
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • dataSubscriptions (list) –

      The data subscriptions owned by the caller, as summaries. Empty when the caller has no subscriptions. Call GetDataSubscription for the full detail of an entry.

      • (dict) –

        A summary of a data subscription.

        • dataSubscriptionIdentifier (string) –

          The ARN of a data subscription.

        • datasetName (string) –

          Specifies the name of a dataset. A bare dataset name (not an ARN); the resource ARN is composed by the runtime/authorizer.

        • deliveryState (string) –

          The delivery state of the subscription, summarizing whether data is arriving in your bucket as expected. See DeliveryState for what each value means. Absent when the service cannot determine it.

        • deliveredThrough (datetime) –

          The extract date through which data has been delivered to your bucket. Same value as deliveryCompleteness; prefer this member. Absent until the first successful delivery.

        • lastDeliveryTime (datetime) –

          When the most recent delivery cycle finished. Absent until a delivery cycle has finished.

        • deliveryStateMessage (string) –

          A message that explains the delivery state. Present when deliveryState is ACTION_NEEDED, where it describes why the last write to your bucket was refused so you can fix the bucket policy or KMS key.

        • initialDeliveryProgress (dict) –

          How far the first fill of the dataset’s history has progressed. Present only when deliveryState is INITIAL_DELIVERY.

          • daysDelivered (integer) –

            The number of days of history delivered to your bucket so far. Zero before the first day is delivered.

          • daysTotal (integer) –

            The total number of days of history the initial delivery covers, from the dataset’s first available date up to the most recent complete day.

    • NextToken (string) –

      A token to resume pagination.