BillingConductor / Client / create_pricing_plan

create_pricing_plan

BillingConductor.Client.create_pricing_plan(**kwargs)

Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.

See also: AWS API Documentation

Request Syntax

response = client.create_pricing_plan(
    ClientToken='string',
    Name='string',
    Description='string',
    PricingRuleArns=[
        'string',
    ],
    Tags={
        'string': 'string'
    }
)
Parameters:
  • ClientToken (string) –

    A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.

    This field is autopopulated if not provided.

  • Name (string) –

    [REQUIRED]

    The name of the pricing plan. The names must be unique to each pricing plan.

  • Description (string) – The description of the pricing plan.

  • PricingRuleArns (list) –

    A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.

    • (string) –

  • Tags (dict) –

    A map that contains tag keys and tag values that are attached to a pricing plan.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string'
}

Response Structure

  • (dict) –

    • Arn (string) –

      The Amazon Resource Name (ARN) of the created pricing plan.

Exceptions

  • BillingConductor.Client.exceptions.ConflictException

  • BillingConductor.Client.exceptions.ThrottlingException

  • BillingConductor.Client.exceptions.AccessDeniedException

  • BillingConductor.Client.exceptions.ValidationException

  • BillingConductor.Client.exceptions.ServiceLimitExceededException

  • BillingConductor.Client.exceptions.InternalServerException

  • BillingConductor.Client.exceptions.ResourceNotFoundException