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 |
Updates a budget action.
Synopsis
- data UpdateBudgetAction = UpdateBudgetAction' {}
- newUpdateBudgetAction :: Text -> Text -> Text -> UpdateBudgetAction
- updateBudgetAction_actionThreshold :: Lens' UpdateBudgetAction (Maybe ActionThreshold)
- updateBudgetAction_approvalModel :: Lens' UpdateBudgetAction (Maybe ApprovalModel)
- updateBudgetAction_definition :: Lens' UpdateBudgetAction (Maybe Definition)
- updateBudgetAction_executionRoleArn :: Lens' UpdateBudgetAction (Maybe Text)
- updateBudgetAction_notificationType :: Lens' UpdateBudgetAction (Maybe NotificationType)
- 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 #
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:
UpdateBudgetAction
, updateBudgetAction_actionThreshold
- Undocumented member.
UpdateBudgetAction
, updateBudgetAction_approvalModel
- This specifies if the action needs manual or automatic approval.
UpdateBudgetAction
, updateBudgetAction_definition
- Undocumented member.
UpdateBudgetAction
, updateBudgetAction_executionRoleArn
- The role passed for action execution and reversion. Roles and actions
must be in the same account.
UpdateBudgetAction
, updateBudgetAction_notificationType
- Undocumented member.
UpdateBudgetAction
, updateBudgetAction_subscribers
- Undocumented member.
UpdateBudgetAction
, updateBudgetAction_accountId
- Undocumented member.
UpdateBudgetAction
, updateBudgetAction_budgetName
- Undocumented member.
UpdateBudgetAction
, updateBudgetAction_actionId
- A system-generated universally unique identifier (UUID) for the action.
Request Lenses
updateBudgetAction_actionThreshold :: Lens' UpdateBudgetAction (Maybe ActionThreshold) Source #
Undocumented member.
updateBudgetAction_approvalModel :: Lens' UpdateBudgetAction (Maybe ApprovalModel) Source #
This specifies if the action needs manual or automatic approval.
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_notificationType :: Lens' UpdateBudgetAction (Maybe NotificationType) Source #
Undocumented member.
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.
UpdateBudgetAction
, updateBudgetActionResponse_accountId
- Undocumented member.
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.