2026/12/04 - Partner Central Analytics API - 7 new api methods
Changes This release adds the Partner Central Analytics API. AWS Partners can create and manage data subscriptions that deliver Partner Central analytics datasets to an Amazon S3 bucket they own.
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
client.list_data_subscriptions(
catalog='string',
maxResults=123,
nextToken='string'
)
string
[REQUIRED]
The catalog whose subscriptions to list.
integer
The maximum number of subscriptions to return per page.
string
Opaque pagination token from a previous response.
dict
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.
Creates a data subscription that delivers a partner analytics dataset to an S3 bucket in the caller's AWS account on a schedule. The delivery destination is validated before the subscription is created: the service performs a test write to the bucket as its delivery principal using the supplied KMS key. Subscriptions are immutable; delete and recreate to change one.
See also: AWS API Documentation
Request Syntax
client.create_data_subscription(
catalog='string',
datasetName='string',
deliveryMethod='S3',
s3Arn='string',
kmsKeyArn='string',
clientToken='string',
tags={
'string': 'string'
}
)
string
[REQUIRED]
The catalog the subscription belongs to.
string
[REQUIRED]
The name of the dataset to subscribe to.
string
[REQUIRED]
How the dataset is delivered.
string
[REQUIRED]
The ARN of the S3 bucket in the caller's account that receives deliveries.
string
[REQUIRED]
The ARN of the caller-owned KMS key used to encrypt delivered objects.
string
A unique, case-sensitive identifier that ensures the idempotency of the request. Reusing a token within 24 hours with the same parameters returns the original subscription; reusing it with different parameters is rejected.
dict
Optional tags to apply to the subscription at creation (tag-on-create). Up to 50 tags; key length 1-128, value length 0-256; keys beginning with the reserved aws: prefix are rejected. The backend authorizes the tags (aws:RequestTag / aws:TagKeys) and registers them with Tagris as part of the create.
(string) --
(string) --
dict
Response Syntax
{
'dataSubscriptionIdentifier': 'string'
}
Response Structure
(dict) --
dataSubscriptionIdentifier (string) --
The ARN of the created data subscription.
Deletes a data subscription owned by the calling account. Delivery stops immediately; data already delivered stays in the caller's bucket. Deleting an already-deleted subscription succeeds.
See also: AWS API Documentation
Request Syntax
client.delete_data_subscription(
catalog='string',
dataSubscriptionIdentifier='string'
)
string
[REQUIRED]
The catalog the subscription belongs to.
string
[REQUIRED]
The ARN of the data subscription to delete.
dict
Response Syntax
{}
Response Structure
(dict) --
Lists the tags on a data subscription owned by the calling account.
See also: AWS API Documentation
Request Syntax
client.list_tags_for_resource(
resourceArn='string',
catalog='string'
)
string
[REQUIRED]
The ARN of the data subscription.
string
[REQUIRED]
The catalog the subscription belongs to.
dict
Response Syntax
{
'tags': {
'string': 'string'
}
}
Response Structure
(dict) --
tags (dict) --
The tags on the subscription.
(string) --
(string) --
Adds or overwrites tags on a data subscription owned by the calling account.
See also: AWS API Documentation
Request Syntax
client.tag_resource(
resourceArn='string',
catalog='string',
tags={
'string': 'string'
}
)
string
[REQUIRED]
The ARN of the data subscription to tag.
string
[REQUIRED]
The catalog the subscription belongs to.
dict
[REQUIRED]
The tags to add or overwrite. Up to 50 tags; key length 1-128, value length 0-256; keys beginning with the reserved aws: prefix are rejected.
(string) --
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
Removes the named tag keys from a data subscription owned by the calling account.
See also: AWS API Documentation
Request Syntax
client.untag_resource(
resourceArn='string',
catalog='string',
tagKeys=[
'string',
]
)
string
[REQUIRED]
The ARN of the data subscription to untag.
string
[REQUIRED]
The catalog the subscription belongs to.
list
[REQUIRED]
The tag keys to remove.
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
Returns the full details of a data subscription owned by the calling account, including its delivery status and how far delivery has progressed.
See also: AWS API Documentation
Request Syntax
client.get_data_subscription(
catalog='string',
dataSubscriptionIdentifier='string'
)
string
[REQUIRED]
The catalog the subscription belongs to.
string
[REQUIRED]
The ARN of the data subscription.
dict
Response Syntax
{
'dataSubscriptionIdentifier': 'string',
'catalog': 'string',
'datasetName': 'string',
'deliveryMethod': 'S3',
's3Arn': 'string',
'kmsKeyArn': 'string',
'createTimestamp': datetime(2015, 1, 1),
'deliveryCompleteness': datetime(2015, 1, 1),
'deliveryStatus': 'Initiated'|'Pending'|'Created'|'Create_Failed'|'Deleted'|'Delete_Failed',
'deliveryStatusMessage': 'string',
'deleteTimestamp': datetime(2015, 1, 1),
'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
}
}
Response Structure
(dict) --
dataSubscriptionIdentifier (string) --
The ARN of a data subscription.
catalog (string) --
Specifies the catalog associated with the request.
datasetName (string) --
Specifies the name of a dataset. A bare dataset name (not an ARN); the resource ARN is composed by the runtime/authorizer.
deliveryMethod (string) --
How a dataset is delivered.
s3Arn (string) --
The ARN of an S3 bucket.
kmsKeyArn (string) --
The ARN of a KMS key.
createTimestamp (datetime) --
When the subscription was created.
deliveryCompleteness (datetime) --
The extract date through which data has been delivered. Absent until the first successful delivery.
deliveryStatus (string) --
The lifecycle state of the subscription.
deliveryStatusMessage (string) --
Additional detail about the delivery status, when available.
deleteTimestamp (datetime) --
When the subscription was deleted. Present only on deleted subscriptions.
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.