PartnerCentralAnalytics / Client / list_data_subscriptions
list_data_subscriptions¶
- PartnerCentralAnalytics.Client.list_data_subscriptions(**kwargs)¶
Lists the data subscriptions owned by the calling account in the given catalog. Deleted subscriptions are not listed; use GetDataSubscription to retrieve a deleted subscription by its ARN.
See also: AWS API Documentation
Request Syntax
response = client.list_data_subscriptions( catalog='string', maxResults=123, nextToken='string' )
- Parameters:
catalog (string) –
[REQUIRED]
The catalog whose subscriptions to list.
maxResults (integer) – The maximum number of subscriptions to return per page.
nextToken (string) – Opaque pagination token 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) –
Opaque pagination token to fetch the next page. Absent when no more results exist.
Exceptions
PartnerCentralAnalytics.Client.exceptions.TooManyRequestsExceptionPartnerCentralAnalytics.Client.exceptions.InternalServerExceptionPartnerCentralAnalytics.Client.exceptions.AccessDeniedExceptionPartnerCentralAnalytics.Client.exceptions.BadRequestException