2026/12/04 - AWS Marketplace Reporting Service - 7 new api methods
Changes This release adds data subscription APIs to Marketplace Reporting. Sellers can create and manage subscriptions that deliver their marketplace reporting datasets to an Amazon S3 bucket they own.
Lists the data subscriptions owned by the calling account. 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(
maxResults=123,
nextToken='string'
)
integer
The maximum number of subscriptions to return per page.
string
Opaque pagination token from a previous response.
dict
Response Syntax
{
'dataSubscriptions': [
{
'dataSubscriptionIdentifier': 'string',
'datasetIdentifier': 'string'
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
dataSubscriptions (list) --
The data subscriptions owned by the calling account, one summary per subscription. Empty when the account has no active subscriptions.
(dict) --
A summary of a data subscription.
dataSubscriptionIdentifier (string) --
The ARN of a data subscription.
datasetIdentifier (string) --
The ARN of a seller dataset.
nextToken (string) --
Opaque pagination token to fetch the next page. Absent when no more results exist.
Creates a data subscription that delivers a seller 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(
datasetIdentifier='string',
deliveryMethod='S3',
s3Arn='string',
kmsKeyArn='string',
clientToken='string',
tags={
'string': 'string'
}
)
string
[REQUIRED]
The ARN of the seller dataset to subscribe to. The account in the ARN must be the calling account.
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
Tags to apply to the new subscription. 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
{
'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(
dataSubscriptionIdentifier='string'
)
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'
)
string
[REQUIRED]
The ARN of the data subscription.
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',
tags={
'string': 'string'
}
)
string
[REQUIRED]
The ARN of the data subscription to tag.
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',
tagKeys=[
'string',
]
)
string
[REQUIRED]
The ARN of the data subscription to untag.
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(
dataSubscriptionIdentifier='string'
)
string
[REQUIRED]
The ARN of the data subscription.
dict
Response Syntax
{
'dataSubscriptionIdentifier': 'string',
'datasetIdentifier': '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)
}
Response Structure
(dict) --
dataSubscriptionIdentifier (string) --
The ARN of a data subscription.
datasetIdentifier (string) --
The ARN of a seller dataset.
deliveryMethod (string) --
How a dataset is delivered. Only S3 is available at launch.
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.