2026/07/07 - Partner Central Revenue Measurement API - 18 new api methods
Changes Add support for AWS Partner Central Revenue Measurement API for creating, managing, and tracking revenue attributions and marketplace revenue share allocations.
Returns a paginated list of committed allocations with support for filtering by entity, customer, status, or date range.
See also: AWS API Documentation
Request Syntax
client.list_revenue_attribution_allocations(
Catalog='AWS'|'Sandbox',
RevenueAttributionIdentifier='string',
EntityTypeFilters=[
'OFFER'|'OPPORTUNITY',
],
EntityIdentifierFilters=[
'string',
],
CustomerAwsAccountIdFilters=[
'string',
],
StatusFilter='ACTIVE'|'INACTIVE',
AfterEffectiveFrom='string',
BeforeEffectiveFrom='string',
AfterEffectiveUntil='string',
BeforeEffectiveUntil='string',
SortBy='EffectiveFrom',
SortOrder='ASCENDING'|'DESCENDING',
RevenueAttributionRevision='string',
MaxResults=123,
NextToken='string'
)
string
[REQUIRED]
The catalog that contains the resource.
string
[REQUIRED]
The revenue attribution identifier to query.
list
Filter by deal entity types.
(string) --
list
Filter by deal entity identifiers.
(string) --
list
Filter by customer AWS account IDs for associated deal entities.
(string) --
string
Filter by allocation status.
string
Inclusive lower bound for EffectiveFrom date filter.
string
Exclusive upper bound for EffectiveFrom date filter (half-open range).
string
Inclusive lower bound for EffectiveUntil date filter.
string
Exclusive upper bound for EffectiveUntil date filter (half-open range).
string
Field to sort by.
string
Sort direction. Defaults to ASCENDING.
string
Point-in-time revision number to query.
integer
Maximum results per page.
string
Pagination token from previous response.
dict
Response Syntax
{
'RevenueAttributionAllocationSummaries': [
{
'RevenueAttributionAllocationId': 'string',
'RevenueAttributionIdentifier': 'string',
'EntityType': 'OFFER'|'OPPORTUNITY',
'EntityIdentifier': 'string',
'EntityName': 'string',
'CustomerAwsAccountId': 'string',
'RevenueSharePercent': 'string',
'EffectiveFrom': 'string',
'EffectiveUntil': 'string',
'Status': 'ACTIVE'|'INACTIVE'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
RevenueAttributionAllocationSummaries (list) --
Paginated list of allocations matching filters.
(dict) --
Summary information about a revenue attribution allocation.
RevenueAttributionAllocationId (string) --
Unique allocation identifier.
RevenueAttributionIdentifier (string) --
The revenue attribution identifier.
EntityType (string) --
The type of the associated deal entity.
EntityIdentifier (string) --
The unique identifier of the associated deal entity.
EntityName (string) --
The display name of the associated deal entity.
CustomerAwsAccountId (string) --
The customer AWS account ID for this associated deal entity.
RevenueSharePercent (string) --
Revenue share percentage.
EffectiveFrom (string) --
First day of the effective month.
EffectiveUntil (string) --
Last day of the effective month.
Status (string) --
Current allocation status.
NextToken (string) --
Token for next page. Absent if no more results.
Retrieves the current status of a previously submitted allocations task. When COMPLETE, includes the latest revision. When FAILED, includes error details.
See also: AWS API Documentation
Request Syntax
client.get_revenue_attribution_allocations_task(
Catalog='AWS'|'Sandbox',
RevenueAttributionIdentifier='string'
)
string
[REQUIRED]
The catalog that contains the resource.
string
[REQUIRED]
The revenue attribution identifier.
dict
Response Syntax
{
'TaskId': 'string',
'Status': 'IN_PROGRESS'|'COMPLETE'|'FAILED',
'Catalog': 'AWS'|'Sandbox',
'RevenueAttributionArn': 'string',
'StartedAt': datetime(2015, 1, 1),
'EndedAt': datetime(2015, 1, 1),
'TotalRevenueAttributionAllocationRecords': 123,
'Description': 'string',
'RevenueAttributionLatestRevision': 'string',
'ErrorDetailList': [
{
'RevenueAttributionAllocationId': 'string',
'EntityType': 'OFFER'|'OPPORTUNITY',
'EntityId': 'string',
'CustomerAwsAccountId': 'string',
'EffectiveFrom': 'string',
'EffectiveUntil': 'string',
'Action': 'CREATE'|'UPDATE',
'ErrorCode': 'ALLOCATION_CAP_EXCEEDED'|'RESOURCE_NOT_FOUND'|'IMMUTABLE_ALLOCATION'|'ACCESS_DENIED'|'INVALID_VALUE'|'CONCURRENT_MODIFICATION'|'INTERNAL_ERROR',
'ErrorMessage': 'string'
},
]
}
Response Structure
(dict) --
TaskId (string) --
The unique identifier for the asynchronous task.
Status (string) --
Current task status.
Catalog (string) --
The catalog used for this task.
RevenueAttributionArn (string) --
ARN of the revenue attribution resource.
StartedAt (datetime) --
When processing started.
EndedAt (datetime) --
When processing ended. Only present when COMPLETE or FAILED.
TotalRevenueAttributionAllocationRecords (integer) --
Total revenue attribution allocation records in the batch.
Description (string) --
Human-readable description, if provided at creation.
RevenueAttributionLatestRevision (string) --
The revision number assigned to this batch. Only present when COMPLETE.
ErrorDetailList (list) --
All errors discovered during async processing. Only present when FAILED.
(dict) --
Details of a validation error for a single revenue attribution allocation record.
RevenueAttributionAllocationId (string) --
The allocation identifier. Present for UPDATE actions; absent for CREATE actions.
EntityType (string) --
The deal entity type of the failing record.
EntityId (string) --
The deal entity identifier of the failing record.
CustomerAwsAccountId (string) --
The customer AWS account ID of the failing record.
EffectiveFrom (string) --
Effective start date of the failing record.
EffectiveUntil (string) --
Effective end date of the failing record.
Action (string) --
The action that was attempted.
ErrorCode (string) --
Machine-readable error code.
ErrorMessage (string) --
Human-readable error description.
Retrieves the details of a specific revenue attribution.
See also: AWS API Documentation
Request Syntax
client.get_revenue_attribution(
Catalog='AWS'|'Sandbox',
Identifier='string',
Revision='string'
)
string
[REQUIRED]
The catalog that the revenue attribution belongs to.
string
[REQUIRED]
The unique identifier of the revenue attribution to retrieve. Accepts a direct ID or ARN.
string
The revision of the attribution to retrieve. Omit to return the latest revision.
dict
Response Syntax
{
'Arn': 'string',
'Id': 'string',
'Catalog': 'AWS'|'Sandbox',
'Name': 'string',
'Description': 'string',
'TenancyModel': 'MULTI_TENANT'|'SINGLE_TENANT',
'MarketplaceProduct': {
'ProductId': 'string',
'ProductCode': 'string',
'ProductName': 'string'
},
'CreatedDate': datetime(2015, 1, 1),
'LastModifiedDate': datetime(2015, 1, 1),
'Revision': 'string',
'LatestRevision': 'string',
'EffectiveFrom': 'string',
'EffectiveUntil': 'string',
'TotalActiveRevenueAttributionAllocationCount': 123,
'TotalRevenueAttributionAllocationCount': 123
}
Response Structure
(dict) --
Arn (string) --
The Amazon Resource Name (ARN) of the revenue attribution.
Id (string) --
The unique identifier of the revenue attribution.
Catalog (string) --
The catalog that the revenue attribution belongs to.
Name (string) --
The display name of the revenue attribution.
Description (string) --
A description of the revenue attribution.
TenancyModel (string) --
The tenancy model for this revenue attribution.
MarketplaceProduct (dict) --
The associated AWS Marketplace product listing, if set.
ProductId (string) --
The product identifier provided at attribution creation.
ProductCode (string) --
The AWS Marketplace product code resolved using the product identifier.
ProductName (string) --
The display name of the AWS Marketplace product.
CreatedDate (datetime) --
The date when the revenue attribution was created.
LastModifiedDate (datetime) --
The date when the revenue attribution was last modified.
Revision (string) --
The revision of the retrieved attribution.
LatestRevision (string) --
The latest revision of the attribution.
EffectiveFrom (string) --
The date from which this revenue attribution is effective, derived from the earliest allocation start date (YYYY-MM-DD).
EffectiveUntil (string) --
The date until which this revenue attribution is effective, derived from the latest allocation end date (YYYY-MM-DD).
TotalActiveRevenueAttributionAllocationCount (integer) --
The total number of allocations under this revenue attribution whose Status is ACTIVE.
TotalRevenueAttributionAllocationCount (integer) --
The total number of allocations under this revenue attribution, counting both ACTIVE and INACTIVE.
Retrieves a single allocation by its RevenueAttributionAllocationId. Supports optional point-in-time version queries.
See also: AWS API Documentation
Request Syntax
client.get_revenue_attribution_allocation(
Catalog='AWS'|'Sandbox',
RevenueAttributionIdentifier='string',
RevenueAttributionAllocationId='string',
RevenueAttributionRevision='string'
)
string
[REQUIRED]
The catalog that contains the resource.
string
[REQUIRED]
The revenue attribution identifier.
string
[REQUIRED]
The allocation identifier.
string
Point-in-time revision number to query.
dict
Response Syntax
{
'RevenueAttributionAllocationId': 'string',
'RevenueAttributionIdentifier': 'string',
'EntityType': 'OFFER'|'OPPORTUNITY',
'EntityIdentifier': 'string',
'EntityName': 'string',
'CustomerAwsAccountId': 'string',
'RevenueSharePercent': 'string',
'EffectiveFrom': 'string',
'EffectiveUntil': 'string',
'Status': 'ACTIVE'|'INACTIVE',
'CreatedDate': datetime(2015, 1, 1),
'LastModifiedDate': datetime(2015, 1, 1),
'RevenueAttributionRevision': 'string',
'RevenueAttributionLatestRevision': 'string'
}
Response Structure
(dict) --
RevenueAttributionAllocationId (string) --
Unique allocation identifier.
RevenueAttributionIdentifier (string) --
The revenue attribution identifier.
EntityType (string) --
The type of the associated deal entity.
EntityIdentifier (string) --
The unique identifier of the associated deal entity.
EntityName (string) --
The display name of the associated deal entity.
CustomerAwsAccountId (string) --
The customer AWS account ID for this associated deal entity.
RevenueSharePercent (string) --
Revenue share percentage.
EffectiveFrom (string) --
First day of the effective month.
EffectiveUntil (string) --
Last day of the effective month.
Status (string) --
Current allocation status.
CreatedDate (datetime) --
When the allocation was first created.
LastModifiedDate (datetime) --
When the allocation was last modified.
RevenueAttributionRevision (string) --
The revision of this allocation version.
RevenueAttributionLatestRevision (string) --
The latest committed revision.
Returns the tags associated with the specified resource.
See also: AWS API Documentation
Request Syntax
client.list_tags_for_resource(
resourceArn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to list tags for.
dict
Response Syntax
{
'tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
(dict) --
tags (list) --
The tags associated with the resource.
(dict) --
A key-value pair used for organizing and managing resources through metadata tags.
Key (string) --
The key portion of the tag.
Value (string) --
The value portion of the tag.
Returns a paginated list of revenue attributions with optional filters.
See also: AWS API Documentation
Request Syntax
client.list_revenue_attributions(
Catalog='AWS'|'Sandbox',
Identifiers=[
'string',
],
CreatedAfter=datetime(2015, 1, 1),
CreatedBefore=datetime(2015, 1, 1),
SortBy='LastModifiedDate',
SortOrder='ASCENDING'|'DESCENDING',
MaxResults=123,
NextToken='string'
)
string
[REQUIRED]
The catalog to list revenue attributions from.
list
Filter results to only include revenue attributions with the specified identifiers.
(string) --
datetime
Filter results to only include revenue attributions created after this timestamp.
datetime
Filter results to only include revenue attributions created before this timestamp.
string
The field to sort revenue attributions by.
string
The direction to sort results.
integer
The maximum number of results to return in a single call.
string
Token for pagination. Use the value returned in the previous response to retrieve the next page.
dict
Response Syntax
{
'RevenueAttributionSummaries': [
{
'Arn': 'string',
'Id': 'string',
'Catalog': 'AWS'|'Sandbox',
'Name': 'string',
'TenancyModel': 'MULTI_TENANT'|'SINGLE_TENANT',
'MarketplaceProduct': {
'ProductId': 'string',
'ProductCode': 'string',
'ProductName': 'string'
},
'CreatedDate': datetime(2015, 1, 1),
'LastModifiedDate': datetime(2015, 1, 1),
'LatestRevision': 'string',
'EffectiveFrom': 'string',
'EffectiveUntil': 'string',
'TotalActiveRevenueAttributionAllocationCount': 123,
'TotalRevenueAttributionAllocationCount': 123
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
RevenueAttributionSummaries (list) --
The list of revenue attribution summaries.
(dict) --
Summary representation of a revenue attribution returned in list operations.
Arn (string) --
The Amazon Resource Name (ARN) of the revenue attribution.
Id (string) --
The unique identifier of the revenue attribution.
Catalog (string) --
The catalog that the revenue attribution belongs to.
Name (string) --
The display name of the revenue attribution.
TenancyModel (string) --
The tenancy model for this revenue attribution.
MarketplaceProduct (dict) --
The AWS Marketplace product attributes associated with this attribution, if set.
ProductId (string) --
The product identifier provided at attribution creation.
ProductCode (string) --
The AWS Marketplace product code resolved using the product identifier.
ProductName (string) --
The display name of the AWS Marketplace product.
CreatedDate (datetime) --
The date when the revenue attribution was created.
LastModifiedDate (datetime) --
The date when the revenue attribution was last modified.
LatestRevision (string) --
The latest revision of the revenue attribution resource.
EffectiveFrom (string) --
The date from which this revenue attribution is effective, derived from the earliest allocation start date (YYYY-MM-DD).
EffectiveUntil (string) --
The date until which this revenue attribution is effective, derived from the latest allocation end date (YYYY-MM-DD).
TotalActiveRevenueAttributionAllocationCount (integer) --
The total number of allocations under this revenue attribution whose Status is ACTIVE.
TotalRevenueAttributionAllocationCount (integer) --
The total number of allocations under this revenue attribution, counting both ACTIVE and INACTIVE.
NextToken (string) --
Token for pagination. Present if there are more results available.
Submits a batch of up to 250 allocation changes (CREATE and/or UPDATE) for asynchronous processing. Returns a TaskId for tracking.
See also: AWS API Documentation
Request Syntax
client.start_revenue_attribution_allocations_task(
Catalog='AWS'|'Sandbox',
RevenueAttributionIdentifier='string',
RevenueAttributionRevision='string',
RevenueShareAllocations=[
{
'Action': 'CREATE'|'UPDATE',
'RevenueAttributionAllocationId': 'string',
'EntityType': 'OFFER'|'OPPORTUNITY',
'EntityIdentifier': 'string',
'CustomerAwsAccountId': 'string',
'RevenueSharePercent': 'string',
'EffectiveFrom': 'string',
'EffectiveUntil': 'string',
'Status': 'ACTIVE'|'INACTIVE'
},
],
ClientToken='string',
Description='string'
)
string
[REQUIRED]
The catalog context for this operation.
string
[REQUIRED]
The revenue attribution identifier.
string
[REQUIRED]
Current revision of the revenue attribution for optimistic locking.
list
[REQUIRED]
The list of allocation changes to process in this batch.
(dict) --
A single allocation change within a batch request.
Action (string) -- [REQUIRED]
The operation type: CREATE or UPDATE.
RevenueAttributionAllocationId (string) --
The allocation to update. Required when Action is UPDATE.
EntityType (string) -- [REQUIRED]
The type of the associated deal entity.
EntityIdentifier (string) -- [REQUIRED]
The unique identifier of the associated deal entity.
CustomerAwsAccountId (string) -- [REQUIRED]
The customer AWS account ID for this associated deal entity.
RevenueSharePercent (string) -- [REQUIRED]
Revenue share percentage.
EffectiveFrom (string) -- [REQUIRED]
The effective start date for this allocation.
EffectiveUntil (string) -- [REQUIRED]
The effective end date for this allocation.
Status (string) --
Allocation status. Defaults to ACTIVE on CREATE.
string
Idempotency token for deduplication and retry.
This field is autopopulated if not provided.
string
Human-readable description of the batch.
dict
Response Syntax
{
'TaskId': 'string',
'Status': 'IN_PROGRESS'|'COMPLETE'|'FAILED',
'Catalog': 'AWS'|'Sandbox',
'RevenueAttributionArn': 'string',
'StartedAt': datetime(2015, 1, 1),
'TotalRevenueAttributionAllocationRecords': 123
}
Response Structure
(dict) --
TaskId (string) --
Unique identifier for the submitted task.
Status (string) --
Initial task status. Always IN_PROGRESS on successful submission.
Catalog (string) --
The catalog used for this task.
RevenueAttributionArn (string) --
ARN of the revenue attribution resource.
StartedAt (datetime) --
When processing started.
TotalRevenueAttributionAllocationRecords (integer) --
Total revenue attribution allocation records in the batch.
Adds or overwrites one or more tags for the specified resource.
See also: AWS API Documentation
Request Syntax
client.tag_resource(
resourceArn='string',
tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to tag.
list
[REQUIRED]
The tags to add to the resource.
(dict) --
A key-value pair used for organizing and managing resources through metadata tags.
Key (string) -- [REQUIRED]
The key portion of the tag.
Value (string) -- [REQUIRED]
The value portion of the tag.
None
Updates an existing revenue attribution record.
See also: AWS API Documentation
Request Syntax
client.update_revenue_attribution(
Catalog='AWS'|'Sandbox',
Identifier='string',
ClientToken='string',
Description='string',
Revision='string'
)
string
[REQUIRED]
The catalog that the revenue attribution belongs to.
string
[REQUIRED]
The unique identifier of the revenue attribution to update. Accepts a direct ID or ARN.
string
A unique token to ensure idempotency of the update request.
This field is autopopulated if not provided.
string
The updated description of the revenue attribution.
string
[REQUIRED]
The current revision of the revenue attribution. Must match the server's current value.
dict
Response Syntax
{
'Id': 'string',
'Arn': 'string',
'Description': 'string',
'LastModifiedDate': datetime(2015, 1, 1),
'LatestRevision': 'string'
}
Response Structure
(dict) --
Id (string) --
The unique identifier of the updated revenue attribution.
Arn (string) --
The Amazon Resource Name (ARN) of the updated revenue attribution.
Description (string) --
The updated description of the revenue attribution.
LastModifiedDate (datetime) --
The date when the attribution was last modified.
LatestRevision (string) --
The latest revision of the attribution after the update.
Creates a new revenue attribution record in the specified catalog.
See also: AWS API Documentation
Request Syntax
client.create_revenue_attribution(
Catalog='AWS'|'Sandbox',
ClientToken='string',
Name='string',
Description='string',
TenancyModel='MULTI_TENANT'|'SINGLE_TENANT',
ProductIdentifier='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
string
[REQUIRED]
The catalog in which to create the revenue attribution.
string
A unique token to ensure idempotency of the create request.
This field is autopopulated if not provided.
string
[REQUIRED]
The name of the revenue attribution. Must be unique within the catalog and the partner's account.
string
A description of the revenue attribution.
string
[REQUIRED]
The tenancy model for this revenue attribution.
string
The unique product identifier in AWS Marketplace. Accepts a product entity ID (e.g., prod-abc123def4567) or a product ARN.
list
Tags to associate with the revenue attribution upon creation.
(dict) --
A key-value pair used for organizing and managing resources through metadata tags.
Key (string) -- [REQUIRED]
The key portion of the tag.
Value (string) -- [REQUIRED]
The value portion of the tag.
dict
Response Syntax
{
'Id': 'string',
'Arn': 'string',
'Name': 'string',
'Description': 'string',
'TenancyModel': 'MULTI_TENANT'|'SINGLE_TENANT',
'MarketplaceProduct': {
'ProductId': 'string',
'ProductCode': 'string',
'ProductName': 'string'
},
'Revision': 'string'
}
Response Structure
(dict) --
Id (string) --
The unique identifier of the newly created revenue attribution.
Arn (string) --
The Amazon Resource Name (ARN) of the newly created revenue attribution.
Name (string) --
The name of the revenue attribution.
Description (string) --
The description of the revenue attribution.
TenancyModel (string) --
The tenancy model for this revenue attribution.
MarketplaceProduct (dict) --
The associated AWS Marketplace product listing, if set at creation.
ProductId (string) --
The product identifier provided at attribution creation.
ProductCode (string) --
The AWS Marketplace product code resolved using the product identifier.
ProductName (string) --
The display name of the AWS Marketplace product.
Revision (string) --
The revision of the newly created attribution resource.
Removes one or more tags from the specified resource.
See also: AWS API Documentation
Request Syntax
client.untag_resource(
resourceArn='string',
tagKeys=[
'string',
]
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to remove tags from.
list
[REQUIRED]
The tag keys to remove from the resource.
(string) --
None