PartnerCentralRevenueMeasurementAPI / Client / create_marketplace_revenue_share
create_marketplace_revenue_share¶
- PartnerCentralRevenueMeasurementAPI.Client.create_marketplace_revenue_share(**kwargs)¶
Creates a new marketplace revenue share resource in the specified catalog.
See also: AWS API Documentation
Request Syntax
response = client.create_marketplace_revenue_share( Catalog='AWS'|'Sandbox', ClientToken='string', ProductId='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
- Parameters:
Catalog (string) –
[REQUIRED]
The catalog in which to create the marketplace revenue share.
ClientToken (string) –
A unique token to ensure idempotency of the create request.
This field is autopopulated if not provided.
ProductId (string) –
[REQUIRED]
The AWS Marketplace product identifier for this revenue share.
Tags (list) –
Tags to associate with the marketplace revenue share 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.
- Return type:
dict
- Returns:
Response Syntax
{ 'ProductId': 'string', 'Arn': 'string', 'Catalog': 'AWS'|'Sandbox', 'ProductCode': 'string', 'ProductName': 'string', 'CreatedDate': datetime(2015, 1, 1), 'LastModifiedDate': datetime(2015, 1, 1), 'Revision': 123 }
Response Structure
(dict) –
ProductId (string) –
The AWS Marketplace product identifier of the newly created revenue share.
Arn (string) –
The Amazon Resource Name (ARN) of the newly created marketplace revenue share.
Catalog (string) –
The catalog that the marketplace revenue share belongs to.
ProductCode (string) –
The AWS Marketplace product code.
ProductName (string) –
The display name of the AWS Marketplace product.
CreatedDate (datetime) –
The date when the marketplace revenue share was created.
LastModifiedDate (datetime) –
The date when the marketplace revenue share was last modified.
Revision (integer) –
The revision number of the newly created marketplace revenue share.
Exceptions
PartnerCentralRevenueMeasurementAPI.Client.exceptions.ServiceQuotaExceededExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.ThrottlingExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.ValidationExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.AccessDeniedExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.InternalServerExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.ConflictExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.ResourceNotFoundException