Billing / Client / associate_contract

associate_contract

Billing.Client.associate_contract(**kwargs)

Private Pricing contracts let eligible payer accounts manage private pricing agreements with Amazon Web Services. This operation associates a private pricing contract with the caller’s Amazon Web Services account. The caller must be a payer (management) account listed on the contract. This operation is idempotent, so retrying a request that already succeeded is safe.

See also: AWS API Documentation

Request Syntax

response = client.associate_contract(
    contractArn='string',
    contractDocumentId='string'
)
Parameters:
  • contractArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the contract to associate with your account.

  • contractDocumentId (string) –

    [REQUIRED]

    The contract ID from the contract document. It can be found in the top right corner of your contract’s pages. This value confirms that you have access to the contract you are associating.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions