Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates a budget action.
Synopsis
- data UpdateBudgetAction = UpdateBudgetAction' {}
- newUpdateBudgetAction :: Text -> Text -> Text -> UpdateBudgetAction
- updateBudgetAction_definition :: Lens' UpdateBudgetAction (Maybe Definition)
- updateBudgetAction_executionRoleArn :: Lens' UpdateBudgetAction (Maybe Text)
- updateBudgetAction_actionThreshold :: Lens' UpdateBudgetAction (Maybe ActionThreshold)
- updateBudgetAction_notificationType :: Lens' UpdateBudgetAction (Maybe NotificationType)
- updateBudgetAction_approvalModel :: Lens' UpdateBudgetAction (Maybe ApprovalModel)
- updateBudgetAction_subscribers :: Lens' UpdateBudgetAction (Maybe (NonEmpty Subscriber))
- updateBudgetAction_accountId :: Lens' UpdateBudgetAction Text
- updateBudgetAction_budgetName :: Lens' UpdateBudgetAction Text
- updateBudgetAction_actionId :: Lens' UpdateBudgetAction Text
- data UpdateBudgetActionResponse = UpdateBudgetActionResponse' {
- httpStatus :: Int
- accountId :: Text
- budgetName :: Text
- oldAction :: Action
- newAction' :: Action
- newUpdateBudgetActionResponse :: Int -> Text -> Text -> Action -> Action -> UpdateBudgetActionResponse
- updateBudgetActionResponse_httpStatus :: Lens' UpdateBudgetActionResponse Int
- updateBudgetActionResponse_accountId :: Lens' UpdateBudgetActionResponse Text
- updateBudgetActionResponse_budgetName :: Lens' UpdateBudgetActionResponse Text
- updateBudgetActionResponse_oldAction :: Lens' UpdateBudgetActionResponse Action
- updateBudgetActionResponse_newAction :: Lens' UpdateBudgetActionResponse Action
Creating a Request
data UpdateBudgetAction Source #
See: newUpdateBudgetAction
smart constructor.
UpdateBudgetAction' | |
|
Instances
newUpdateBudgetAction Source #
:: Text | |
-> Text | |
-> Text | |
-> UpdateBudgetAction |
Create a value of UpdateBudgetAction
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:definition:UpdateBudgetAction'
, updateBudgetAction_definition
- Undocumented member.
$sel:executionRoleArn:UpdateBudgetAction'
, updateBudgetAction_executionRoleArn
- The role passed for action execution and reversion. Roles and actions
must be in the same account.
$sel:actionThreshold:UpdateBudgetAction'
, updateBudgetAction_actionThreshold
- Undocumented member.
$sel:notificationType:UpdateBudgetAction'
, updateBudgetAction_notificationType
- Undocumented member.
$sel:approvalModel:UpdateBudgetAction'
, updateBudgetAction_approvalModel
- This specifies if the action needs manual or automatic approval.
$sel:subscribers:UpdateBudgetAction'
, updateBudgetAction_subscribers
- Undocumented member.
$sel:accountId:UpdateBudgetAction'
, updateBudgetAction_accountId
- Undocumented member.
$sel:budgetName:UpdateBudgetAction'
, updateBudgetAction_budgetName
- Undocumented member.
$sel:actionId:UpdateBudgetAction'
, updateBudgetAction_actionId
- A system-generated universally unique identifier (UUID) for the action.
Request Lenses
updateBudgetAction_definition :: Lens' UpdateBudgetAction (Maybe Definition) Source #
Undocumented member.
updateBudgetAction_executionRoleArn :: Lens' UpdateBudgetAction (Maybe Text) Source #
The role passed for action execution and reversion. Roles and actions must be in the same account.
updateBudgetAction_actionThreshold :: Lens' UpdateBudgetAction (Maybe ActionThreshold) Source #
Undocumented member.
updateBudgetAction_notificationType :: Lens' UpdateBudgetAction (Maybe NotificationType) Source #
Undocumented member.
updateBudgetAction_approvalModel :: Lens' UpdateBudgetAction (Maybe ApprovalModel) Source #
This specifies if the action needs manual or automatic approval.
updateBudgetAction_subscribers :: Lens' UpdateBudgetAction (Maybe (NonEmpty Subscriber)) Source #
Undocumented member.
updateBudgetAction_accountId :: Lens' UpdateBudgetAction Text Source #
Undocumented member.
updateBudgetAction_budgetName :: Lens' UpdateBudgetAction Text Source #
Undocumented member.
updateBudgetAction_actionId :: Lens' UpdateBudgetAction Text Source #
A system-generated universally unique identifier (UUID) for the action.
Destructuring the Response
data UpdateBudgetActionResponse Source #
See: newUpdateBudgetActionResponse
smart constructor.
UpdateBudgetActionResponse' | |
|
Instances
newUpdateBudgetActionResponse Source #
Create a value of UpdateBudgetActionResponse
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:httpStatus:UpdateBudgetActionResponse'
, updateBudgetActionResponse_httpStatus
- The response's http status code.
$sel:accountId:UpdateBudgetAction'
, updateBudgetActionResponse_accountId
- Undocumented member.
$sel:budgetName:UpdateBudgetAction'
, updateBudgetActionResponse_budgetName
- Undocumented member.
$sel:oldAction:UpdateBudgetActionResponse'
, updateBudgetActionResponse_oldAction
- The previous action resource information.
$sel:newAction':UpdateBudgetActionResponse'
, updateBudgetActionResponse_newAction
- The updated action resource information.
Response Lenses
updateBudgetActionResponse_httpStatus :: Lens' UpdateBudgetActionResponse Int Source #
The response's http status code.
updateBudgetActionResponse_accountId :: Lens' UpdateBudgetActionResponse Text Source #
Undocumented member.
updateBudgetActionResponse_budgetName :: Lens' UpdateBudgetActionResponse Text Source #
Undocumented member.
updateBudgetActionResponse_oldAction :: Lens' UpdateBudgetActionResponse Action Source #
The previous action resource information.
updateBudgetActionResponse_newAction :: Lens' UpdateBudgetActionResponse Action Source #
The updated action resource information.