PartnerCentralRevenueMeasurementAPI / Client / list_revenue_attributions

list_revenue_attributions

PartnerCentralRevenueMeasurementAPI.Client.list_revenue_attributions(**kwargs)

Returns a paginated list of revenue attributions with optional filters.

See also: AWS API Documentation

Request Syntax

response = 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'
)
Parameters:
  • Catalog (string) –

    [REQUIRED]

    The catalog to list revenue attributions from.

  • Identifiers (list) –

    Filter results to only include revenue attributions with the specified identifiers.

    • (string) –

  • CreatedAfter (datetime) – Filter results to only include revenue attributions created after this timestamp.

  • CreatedBefore (datetime) – Filter results to only include revenue attributions created before this timestamp.

  • SortBy (string) – The field to sort revenue attributions by.

  • SortOrder (string) – The direction to sort results.

  • MaxResults (integer) – The maximum number of results to return in a single call.

  • NextToken (string) – Token for pagination. Use the value returned in the previous response to retrieve the next page.

Return type:

dict

Returns:

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.

Exceptions