Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

create_pricing_plan

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) --

    The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

    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.ThrottlingException
  • BillingConductor.Client.exceptions.ConflictException
  • BillingConductor.Client.exceptions.AccessDeniedException
  • BillingConductor.Client.exceptions.ValidationException
  • BillingConductor.Client.exceptions.ServiceLimitExceededException
  • BillingConductor.Client.exceptions.InternalServerException
  • BillingConductor.Client.exceptions.ResourceNotFoundException