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.UpdateBillingGroup

Description

This updates an existing billing group.

Synopsis

Creating a Request

data UpdateBillingGroup Source #

See: newUpdateBillingGroup smart constructor.

Constructors

UpdateBillingGroup' 

Fields

Instances

Instances details
ToJSON UpdateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

ToHeaders UpdateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

ToPath UpdateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

ToQuery UpdateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

AWSRequest UpdateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

Associated Types

type AWSResponse UpdateBillingGroup #

Generic UpdateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

Associated Types

type Rep UpdateBillingGroup :: Type -> Type #

Show UpdateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

NFData UpdateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

Methods

rnf :: UpdateBillingGroup -> () #

Eq UpdateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

Hashable UpdateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

type AWSResponse UpdateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

type Rep UpdateBillingGroup Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

type Rep UpdateBillingGroup = D1 ('MetaData "UpdateBillingGroup" "Amazonka.BillingConductor.UpdateBillingGroup" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "UpdateBillingGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "computationPreference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComputationPreference)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BillingGroupStatus)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateBillingGroup Source #

Create a value of UpdateBillingGroup 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:

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

UpdateBillingGroup, updateBillingGroup_description - A description of the billing group.

UpdateBillingGroup, updateBillingGroup_name - The name of the billing group. The names must be unique to each billing group.

UpdateBillingGroup, updateBillingGroup_status - The status of the billing group. Only one of the valid values can be used.

UpdateBillingGroup, updateBillingGroup_arn - The Amazon Resource Name (ARN) of the billing group being updated.

Request Lenses

updateBillingGroup_computationPreference :: Lens' UpdateBillingGroup (Maybe ComputationPreference) Source #

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

updateBillingGroup_description :: Lens' UpdateBillingGroup (Maybe Text) Source #

A description of the billing group.

updateBillingGroup_name :: Lens' UpdateBillingGroup (Maybe Text) Source #

The name of the billing group. The names must be unique to each billing group.

updateBillingGroup_status :: Lens' UpdateBillingGroup (Maybe BillingGroupStatus) Source #

The status of the billing group. Only one of the valid values can be used.

updateBillingGroup_arn :: Lens' UpdateBillingGroup Text Source #

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

Destructuring the Response

data UpdateBillingGroupResponse Source #

See: newUpdateBillingGroupResponse smart constructor.

Constructors

UpdateBillingGroupResponse' 

Fields

Instances

Instances details
Generic UpdateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

Associated Types

type Rep UpdateBillingGroupResponse :: Type -> Type #

Show UpdateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

NFData UpdateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

Eq UpdateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

type Rep UpdateBillingGroupResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateBillingGroup

newUpdateBillingGroupResponse Source #

Create a value of UpdateBillingGroupResponse 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:

UpdateBillingGroup, updateBillingGroupResponse_arn - The Amazon Resource Name (ARN) of the billing group that was updated.

UpdateBillingGroup, updateBillingGroupResponse_description - A description of the billing group.

UpdateBillingGroupResponse, updateBillingGroupResponse_lastModifiedTime - The most recent time when the billing group was modified.

UpdateBillingGroup, updateBillingGroupResponse_name - The name of the billing group. The names must be unique to each billing group.

UpdateBillingGroupResponse, updateBillingGroupResponse_pricingPlanArn - The Amazon Resource Name (ARN) of the pricing plan to compute Amazon Web Services charges for the billing group.

UpdateBillingGroupResponse, updateBillingGroupResponse_primaryAccountId - The account ID that serves as the main account in a billing group.

UpdateBillingGroupResponse, updateBillingGroupResponse_size - The number of accounts in the particular billing group.

UpdateBillingGroup, updateBillingGroupResponse_status - The status of the billing group. Only one of the valid values can be used.

UpdateBillingGroupResponse, updateBillingGroupResponse_statusReason - The reason why the billing group is in its current status.

$sel:httpStatus:UpdateBillingGroupResponse', updateBillingGroupResponse_httpStatus - The response's http status code.

Response Lenses

updateBillingGroupResponse_arn :: Lens' UpdateBillingGroupResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the billing group that was updated.

updateBillingGroupResponse_lastModifiedTime :: Lens' UpdateBillingGroupResponse (Maybe Integer) Source #

The most recent time when the billing group was modified.

updateBillingGroupResponse_name :: Lens' UpdateBillingGroupResponse (Maybe Text) Source #

The name of the billing group. The names must be unique to each billing group.

updateBillingGroupResponse_pricingPlanArn :: Lens' UpdateBillingGroupResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the pricing plan to compute Amazon Web Services charges for the billing group.

updateBillingGroupResponse_primaryAccountId :: Lens' UpdateBillingGroupResponse (Maybe Text) Source #

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

updateBillingGroupResponse_size :: Lens' UpdateBillingGroupResponse (Maybe Natural) Source #

The number of accounts in the particular billing group.

updateBillingGroupResponse_status :: Lens' UpdateBillingGroupResponse (Maybe BillingGroupStatus) Source #

The status of the billing group. Only one of the valid values can be used.

updateBillingGroupResponse_statusReason :: Lens' UpdateBillingGroupResponse (Maybe Text) Source #

The reason why the billing group is in its current status.