amazonka-billingconductor-2.0: Amazon BillingConductor SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.BillingConductor.CreateBillingGroup

Description

Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.

Synopsis

Creating a Request

data CreateBillingGroup Source #

See: newCreateBillingGroup smart constructor.

Constructors

CreateBillingGroup' 

Fields

Instances

Instances details
ToJSON CreateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

ToHeaders CreateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

ToPath CreateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

ToQuery CreateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

AWSRequest CreateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

Associated Types

type AWSResponse CreateBillingGroup #

Generic CreateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

Associated Types

type Rep CreateBillingGroup :: Type -> Type #

Show CreateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

NFData CreateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

Methods

rnf :: CreateBillingGroup -> () #

Eq CreateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

Hashable CreateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

type AWSResponse CreateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

type Rep CreateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

type Rep CreateBillingGroup = D1 ('MetaData "CreateBillingGroup" "Amazonka.BillingConductor.CreateBillingGroup" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "CreateBillingGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "primaryAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))) :*: (S1 ('MetaSel ('Just "accountGrouping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AccountGrouping) :*: S1 ('MetaSel ('Just "computationPreference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ComputationPreference)))))

newCreateBillingGroup Source #

Create a value of CreateBillingGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clientToken:CreateBillingGroup', createBillingGroup_clientToken - The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

CreateBillingGroup, createBillingGroup_description - The description of the billing group.

CreateBillingGroup, createBillingGroup_primaryAccountId - The account ID that serves as the main account in a billing group.

$sel:tags:CreateBillingGroup', createBillingGroup_tags - A map that contains tag keys and tag values that are attached to a billing group. This feature isn't available during the beta.

CreateBillingGroup, createBillingGroup_name - The billing group name. The names must be unique.

$sel:accountGrouping:CreateBillingGroup', createBillingGroup_accountGrouping - The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated family.

CreateBillingGroup, createBillingGroup_computationPreference - The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.

Request Lenses

createBillingGroup_clientToken :: Lens' CreateBillingGroup (Maybe Text) Source #

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

createBillingGroup_description :: Lens' CreateBillingGroup (Maybe Text) Source #

The description of the billing group.

createBillingGroup_primaryAccountId :: Lens' CreateBillingGroup (Maybe Text) Source #

The account ID that serves as the main account in a billing group.

createBillingGroup_tags :: Lens' CreateBillingGroup (Maybe (HashMap Text Text)) Source #

A map that contains tag keys and tag values that are attached to a billing group. This feature isn't available during the beta.

createBillingGroup_name :: Lens' CreateBillingGroup Text Source #

The billing group name. The names must be unique.

createBillingGroup_accountGrouping :: Lens' CreateBillingGroup AccountGrouping Source #

The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated family.

createBillingGroup_computationPreference :: Lens' CreateBillingGroup ComputationPreference Source #

The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.

Destructuring the Response

data CreateBillingGroupResponse Source #

See: newCreateBillingGroupResponse smart constructor.

Constructors

CreateBillingGroupResponse' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the created billing group.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic CreateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

Associated Types

type Rep CreateBillingGroupResponse :: Type -> Type #

Read CreateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

Show CreateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

NFData CreateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

Eq CreateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

type Rep CreateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.CreateBillingGroup

type Rep CreateBillingGroupResponse = D1 ('MetaData "CreateBillingGroupResponse" "Amazonka.BillingConductor.CreateBillingGroup" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "CreateBillingGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateBillingGroupResponse Source #

Create a value of CreateBillingGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateBillingGroupResponse, createBillingGroupResponse_arn - The Amazon Resource Name (ARN) of the created billing group.

$sel:httpStatus:CreateBillingGroupResponse', createBillingGroupResponse_httpStatus - The response's http status code.

Response Lenses

createBillingGroupResponse_arn :: Lens' CreateBillingGroupResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the created billing group.