PartnerCentralRevenueMeasurementAPI / Client / get_revenue_attribution
get_revenue_attribution¶
- PartnerCentralRevenueMeasurementAPI.Client.get_revenue_attribution(**kwargs)¶
Retrieves the details of a specific revenue attribution.
See also: AWS API Documentation
Request Syntax
response = client.get_revenue_attribution( Catalog='AWS'|'Sandbox', Identifier='string', Revision='string' )
- Parameters:
Catalog (string) –
[REQUIRED]
The catalog that the revenue attribution belongs to.
Identifier (string) –
[REQUIRED]
The unique identifier of the revenue attribution to retrieve. Accepts a direct ID or ARN.
Revision (string) – The revision of the attribution to retrieve. Omit to return the latest revision.
- Return type:
dict
- Returns:
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.
Exceptions
PartnerCentralRevenueMeasurementAPI.Client.exceptions.ThrottlingExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.ValidationExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.AccessDeniedExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.InternalServerExceptionPartnerCentralRevenueMeasurementAPI.Client.exceptions.ResourceNotFoundException