AWS Marketplace Reporting Service

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.

ListDataSubscriptions (new) Link ¶

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'
)
type maxResults:

integer

param maxResults:

The maximum number of subscriptions to return per page.

type nextToken:

string

param nextToken:

Opaque pagination token from a previous response.

rtype:

dict

returns:

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.

CreateDataSubscription (new) Link ¶

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'
    }
)
type datasetIdentifier:

string

param datasetIdentifier:

[REQUIRED]

The ARN of the seller dataset to subscribe to. The account in the ARN must be the calling account.

type deliveryMethod:

string

param deliveryMethod:

[REQUIRED]

How the dataset is delivered.

type s3Arn:

string

param s3Arn:

[REQUIRED]

The ARN of the S3 bucket in the caller's account that receives deliveries.

type kmsKeyArn:

string

param kmsKeyArn:

[REQUIRED]

The ARN of the caller-owned KMS key used to encrypt delivered objects.

type clientToken:

string

param clientToken:

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.

type tags:

dict

param tags:

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) --

rtype:

dict

returns:

Response Syntax

{
    'dataSubscriptionIdentifier': 'string'
}

Response Structure

  • (dict) --

    • dataSubscriptionIdentifier (string) --

      The ARN of the created data subscription.

DeleteDataSubscription (new) Link ¶

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'
)
type dataSubscriptionIdentifier:

string

param dataSubscriptionIdentifier:

[REQUIRED]

The ARN of the data subscription to delete.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

ListTagsForResource (new) Link ¶

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'
)
type resourceArn:

string

param resourceArn:

[REQUIRED]

The ARN of the data subscription.

rtype:

dict

returns:

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • tags (dict) --

      The tags on the subscription.

      • (string) --

        • (string) --

TagResource (new) Link ¶

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'
    }
)
type resourceArn:

string

param resourceArn:

[REQUIRED]

The ARN of the data subscription to tag.

type tags:

dict

param tags:

[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) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

UntagResource (new) Link ¶

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',
    ]
)
type resourceArn:

string

param resourceArn:

[REQUIRED]

The ARN of the data subscription to untag.

type tagKeys:

list

param tagKeys:

[REQUIRED]

The tag keys to remove.

  • (string) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

GetDataSubscription (new) Link ¶

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'
)
type dataSubscriptionIdentifier:

string

param dataSubscriptionIdentifier:

[REQUIRED]

The ARN of the data subscription.

rtype:

dict

returns:

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.