PartnerCentralRevenueMeasurementAPI / Client / create_marketplace_revenue_share_allocation
create_marketplace_revenue_share_allocation¶
- PartnerCentralRevenueMeasurementAPI.Client.create_marketplace_revenue_share_allocation(**kwargs)¶
Creates a new marketplace revenue share allocation for the specified product.
See also: AWS API Documentation
Request Syntax
response = client.create_marketplace_revenue_share_allocation( Catalog='AWS'|'Sandbox', ProductId='string', ClientToken='string', EffectiveFrom='string', EffectiveUntil='string', RevenueSharePercent='string' )
- Parameters:
Catalog (string) –
[REQUIRED]
The catalog in which to create the allocation.
ProductId (string) –
[REQUIRED]
The AWS Marketplace product identifier for the parent revenue share.
ClientToken (string) –
A unique token to ensure idempotency of the create request.
This field is autopopulated if not provided.
EffectiveFrom (string) –
[REQUIRED]
The effective start date for the allocation. Must be the first day of a month.
EffectiveUntil (string) – The effective end date for the allocation. Must be the last day of a month (YYYY-MM-DD). Omit for open-ended allocations.
RevenueSharePercent (string) –
[REQUIRED]
The revenue share percentage for this allocation.
- Return type:
dict
- Returns:
Response Syntax
{ 'MarketplaceRevenueShareAllocationId': 'string', 'ProductId': 'string', 'ProductName': 'string', 'Arn': 'string', 'EffectiveFrom': 'string', 'EffectiveUntil': 'string', 'RevenueSharePercent': 'string', 'Status': 'ACTIVE'|'INACTIVE', 'CreatedDate': datetime(2015, 1, 1), 'LastModifiedDate': datetime(2015, 1, 1), 'LatestMarketplaceRevenueShareRevision': 'string' }
Response Structure
(dict) –
MarketplaceRevenueShareAllocationId (string) –
The unique identifier of the newly created allocation.
ProductId (string) –
The AWS Marketplace product identifier.
ProductName (string) –
The display name of the AWS Marketplace product.
Arn (string) –
The Amazon Resource Name (ARN) of the allocation.
EffectiveFrom (string) –
The effective start date of the allocation.
EffectiveUntil (string) –
The effective end date of the allocation, or null if open-ended.
RevenueSharePercent (string) –
The revenue share percentage.
Status (string) –
The status of the allocation.
CreatedDate (datetime) –
The date when the allocation was created.
LastModifiedDate (datetime) –
The date when the allocation was last modified.
LatestMarketplaceRevenueShareRevision (string) –
The latest revision of the parent marketplace revenue share.
Exceptions
PartnerCentralRevenueMeasurementAPI.Client.exceptions.ThrottlingExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.ValidationExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.AccessDeniedExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.InternalServerExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.ResourceNotFoundExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.ConflictException