| 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 |
Amazonka.Budgets.Types.Action
Description
Synopsis
- data Action = Action' {}
- newAction :: Text -> Text -> NotificationType -> ActionType -> ActionThreshold -> Definition -> Text -> ApprovalModel -> ActionStatus -> NonEmpty Subscriber -> Action
- action_actionId :: Lens' Action Text
- action_budgetName :: Lens' Action Text
- action_notificationType :: Lens' Action NotificationType
- action_actionType :: Lens' Action ActionType
- action_actionThreshold :: Lens' Action ActionThreshold
- action_definition :: Lens' Action Definition
- action_executionRoleArn :: Lens' Action Text
- action_approvalModel :: Lens' Action ApprovalModel
- action_status :: Lens' Action ActionStatus
- action_subscribers :: Lens' Action (NonEmpty Subscriber)
Documentation
A budget action resource.
See: newAction smart constructor.
Constructors
| Action' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> NotificationType | |
| -> ActionType | |
| -> ActionThreshold | |
| -> Definition | |
| -> Text | |
| -> ApprovalModel | |
| -> ActionStatus | |
| -> NonEmpty Subscriber | |
| -> Action |
Create a value of Action 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:actionId:Action', action_actionId - A system-generated universally unique identifier (UUID) for the action.
$sel:budgetName:Action', action_budgetName - Undocumented member.
$sel:notificationType:Action', action_notificationType - Undocumented member.
$sel:actionType:Action', action_actionType - The type of action. This defines the type of tasks that can be carried
out by this action. This field also determines the format for
definition.
$sel:actionThreshold:Action', action_actionThreshold - The trigger threshold of the action.
$sel:definition:Action', action_definition - Where you specify all of the type-specific parameters.
$sel:executionRoleArn:Action', action_executionRoleArn - The role passed for action execution and reversion. Roles and actions
must be in the same account.
$sel:approvalModel:Action', action_approvalModel - This specifies if the action needs manual or automatic approval.
$sel:status:Action', action_status - The status of the action.
$sel:subscribers:Action', action_subscribers - Undocumented member.
action_actionId :: Lens' Action Text Source #
A system-generated universally unique identifier (UUID) for the action.
action_notificationType :: Lens' Action NotificationType Source #
Undocumented member.
action_actionType :: Lens' Action ActionType Source #
The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
action_actionThreshold :: Lens' Action ActionThreshold Source #
The trigger threshold of the action.
action_definition :: Lens' Action Definition Source #
Where you specify all of the type-specific parameters.
action_executionRoleArn :: Lens' Action Text Source #
The role passed for action execution and reversion. Roles and actions must be in the same account.
action_approvalModel :: Lens' Action ApprovalModel Source #
This specifies if the action needs manual or automatic approval.
action_status :: Lens' Action ActionStatus Source #
The status of the action.
action_subscribers :: Lens' Action (NonEmpty Subscriber) Source #
Undocumented member.