Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This updates an existing billing group.
Synopsis
- data UpdateBillingGroup = UpdateBillingGroup' {}
- newUpdateBillingGroup :: Text -> UpdateBillingGroup
- updateBillingGroup_computationPreference :: Lens' UpdateBillingGroup (Maybe ComputationPreference)
- updateBillingGroup_description :: Lens' UpdateBillingGroup (Maybe Text)
- updateBillingGroup_name :: Lens' UpdateBillingGroup (Maybe Text)
- updateBillingGroup_status :: Lens' UpdateBillingGroup (Maybe BillingGroupStatus)
- updateBillingGroup_arn :: Lens' UpdateBillingGroup Text
- data UpdateBillingGroupResponse = UpdateBillingGroupResponse' {
- arn :: Maybe Text
- description :: Maybe (Sensitive Text)
- lastModifiedTime :: Maybe Integer
- name :: Maybe (Sensitive Text)
- pricingPlanArn :: Maybe Text
- primaryAccountId :: Maybe Text
- size :: Maybe Natural
- status :: Maybe BillingGroupStatus
- statusReason :: Maybe Text
- httpStatus :: Int
- newUpdateBillingGroupResponse :: Int -> UpdateBillingGroupResponse
- updateBillingGroupResponse_arn :: Lens' UpdateBillingGroupResponse (Maybe Text)
- updateBillingGroupResponse_description :: Lens' UpdateBillingGroupResponse (Maybe Text)
- updateBillingGroupResponse_lastModifiedTime :: Lens' UpdateBillingGroupResponse (Maybe Integer)
- updateBillingGroupResponse_name :: Lens' UpdateBillingGroupResponse (Maybe Text)
- updateBillingGroupResponse_pricingPlanArn :: Lens' UpdateBillingGroupResponse (Maybe Text)
- updateBillingGroupResponse_primaryAccountId :: Lens' UpdateBillingGroupResponse (Maybe Text)
- updateBillingGroupResponse_size :: Lens' UpdateBillingGroupResponse (Maybe Natural)
- updateBillingGroupResponse_status :: Lens' UpdateBillingGroupResponse (Maybe BillingGroupStatus)
- updateBillingGroupResponse_statusReason :: Lens' UpdateBillingGroupResponse (Maybe Text)
- updateBillingGroupResponse_httpStatus :: Lens' UpdateBillingGroupResponse Int
Creating a Request
data UpdateBillingGroup Source #
See: newUpdateBillingGroup
smart constructor.
UpdateBillingGroup' | |
|
Instances
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.
UpdateBillingGroupResponse' | |
|
Instances
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_description :: Lens' UpdateBillingGroupResponse (Maybe Text) Source #
A description of the billing group.
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.
updateBillingGroupResponse_httpStatus :: Lens' UpdateBillingGroupResponse Int Source #
The response's http status code.