BillingConductor.Client.
create_billing_group
(**kwargs)¶Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.
See also: AWS API Documentation
Request Syntax
response = client.create_billing_group(
ClientToken='string',
Name='string',
AccountGrouping={
'LinkedAccountIds': [
'string',
]
},
ComputationPreference={
'PricingPlanArn': 'string'
},
PrimaryAccountId='string',
Description='string',
Tags={
'string': '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.
[REQUIRED]
The billing group name. The names must be unique.
[REQUIRED]
The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated family.
The account IDs that make up the billing group. Account IDs must be a part of the consolidated billing family, and not associated with another billing group.
[REQUIRED]
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
The Amazon Resource Name (ARN) of the pricing plan that's used to compute the Amazon Web Services charges for a billing group.
A map that contains tag keys and tag values that are attached to a billing group. This feature isn't available during the beta.
dict
Response Syntax
{
'Arn': 'string'
}
Response Structure
(dict) --
Arn (string) --
The Amazon Resource Name (ARN) of the created billing group.
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