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 |
Executes a budget action.
Synopsis
- data ExecuteBudgetAction = ExecuteBudgetAction' {}
- newExecuteBudgetAction :: Text -> Text -> Text -> ExecutionType -> ExecuteBudgetAction
- executeBudgetAction_accountId :: Lens' ExecuteBudgetAction Text
- executeBudgetAction_budgetName :: Lens' ExecuteBudgetAction Text
- executeBudgetAction_actionId :: Lens' ExecuteBudgetAction Text
- executeBudgetAction_executionType :: Lens' ExecuteBudgetAction ExecutionType
- data ExecuteBudgetActionResponse = ExecuteBudgetActionResponse' {
- httpStatus :: Int
- accountId :: Text
- budgetName :: Text
- actionId :: Text
- executionType :: ExecutionType
- newExecuteBudgetActionResponse :: Int -> Text -> Text -> Text -> ExecutionType -> ExecuteBudgetActionResponse
- executeBudgetActionResponse_httpStatus :: Lens' ExecuteBudgetActionResponse Int
- executeBudgetActionResponse_accountId :: Lens' ExecuteBudgetActionResponse Text
- executeBudgetActionResponse_budgetName :: Lens' ExecuteBudgetActionResponse Text
- executeBudgetActionResponse_actionId :: Lens' ExecuteBudgetActionResponse Text
- executeBudgetActionResponse_executionType :: Lens' ExecuteBudgetActionResponse ExecutionType
Creating a Request
data ExecuteBudgetAction Source #
See: newExecuteBudgetAction
smart constructor.
ExecuteBudgetAction' | |
|
Instances
newExecuteBudgetAction Source #
:: Text | |
-> Text | |
-> Text | |
-> ExecutionType | |
-> ExecuteBudgetAction |
Create a value of ExecuteBudgetAction
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:accountId:ExecuteBudgetAction'
, executeBudgetAction_accountId
- Undocumented member.
$sel:budgetName:ExecuteBudgetAction'
, executeBudgetAction_budgetName
- Undocumented member.
$sel:actionId:ExecuteBudgetAction'
, executeBudgetAction_actionId
- A system-generated universally unique identifier (UUID) for the action.
$sel:executionType:ExecuteBudgetAction'
, executeBudgetAction_executionType
- The type of execution.
Request Lenses
executeBudgetAction_accountId :: Lens' ExecuteBudgetAction Text Source #
Undocumented member.
executeBudgetAction_budgetName :: Lens' ExecuteBudgetAction Text Source #
Undocumented member.
executeBudgetAction_actionId :: Lens' ExecuteBudgetAction Text Source #
A system-generated universally unique identifier (UUID) for the action.
executeBudgetAction_executionType :: Lens' ExecuteBudgetAction ExecutionType Source #
The type of execution.
Destructuring the Response
data ExecuteBudgetActionResponse Source #
See: newExecuteBudgetActionResponse
smart constructor.
ExecuteBudgetActionResponse' | |
|
Instances
newExecuteBudgetActionResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> Text | |
-> ExecutionType | |
-> ExecuteBudgetActionResponse |
Create a value of ExecuteBudgetActionResponse
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:ExecuteBudgetActionResponse'
, executeBudgetActionResponse_httpStatus
- The response's http status code.
$sel:accountId:ExecuteBudgetAction'
, executeBudgetActionResponse_accountId
- Undocumented member.
$sel:budgetName:ExecuteBudgetAction'
, executeBudgetActionResponse_budgetName
- Undocumented member.
$sel:actionId:ExecuteBudgetAction'
, executeBudgetActionResponse_actionId
- A system-generated universally unique identifier (UUID) for the action.
$sel:executionType:ExecuteBudgetAction'
, executeBudgetActionResponse_executionType
- The type of execution.
Response Lenses
executeBudgetActionResponse_httpStatus :: Lens' ExecuteBudgetActionResponse Int Source #
The response's http status code.
executeBudgetActionResponse_accountId :: Lens' ExecuteBudgetActionResponse Text Source #
Undocumented member.
executeBudgetActionResponse_budgetName :: Lens' ExecuteBudgetActionResponse Text Source #
Undocumented member.
executeBudgetActionResponse_actionId :: Lens' ExecuteBudgetActionResponse Text Source #
A system-generated universally unique identifier (UUID) for the action.
executeBudgetActionResponse_executionType :: Lens' ExecuteBudgetActionResponse ExecutionType Source #
The type of execution.