PartnerCentralRevenueMeasurementAPI / Client / update_revenue_attribution

update_revenue_attribution

PartnerCentralRevenueMeasurementAPI.Client.update_revenue_attribution(**kwargs)

Updates an existing revenue attribution record.

See also: AWS API Documentation

Request Syntax

response = client.update_revenue_attribution(
    Catalog='AWS'|'Sandbox',
    Identifier='string',
    ClientToken='string',
    Description='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 update. Accepts a direct ID or ARN.

  • ClientToken (string) –

    A unique token to ensure idempotency of the update request.

    This field is autopopulated if not provided.

  • Description (string) – The updated description of the revenue attribution.

  • Revision (string) –

    [REQUIRED]

    The current revision of the revenue attribution. Must match the server’s current value.

Return type:

dict

Returns:

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.

Exceptions

  • PartnerCentralRevenueMeasurementAPI.Client.exceptions.ThrottlingException

  • PartnerCentralRevenueMeasurementAPI.Client.exceptions.ValidationException

  • PartnerCentralRevenueMeasurementAPI.Client.exceptions.AccessDeniedException

  • PartnerCentralRevenueMeasurementAPI.Client.exceptions.InternalServerException

  • PartnerCentralRevenueMeasurementAPI.Client.exceptions.ConflictException

  • PartnerCentralRevenueMeasurementAPI.Client.exceptions.ResourceNotFoundException