amazonka-budgets-2.0: Amazon Budgets SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Budgets.CreateBudgetAction

Description

Creates a budget action.

Synopsis

Creating a Request

data CreateBudgetAction Source #

See: newCreateBudgetAction smart constructor.

Constructors

CreateBudgetAction' 

Fields

Instances

Instances details
ToJSON CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

ToHeaders CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

ToPath CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

ToQuery CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

AWSRequest CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Associated Types

type AWSResponse CreateBudgetAction #

Generic CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Associated Types

type Rep CreateBudgetAction :: Type -> Type #

Show CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

NFData CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Methods

rnf :: CreateBudgetAction -> () #

Eq CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Hashable CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

type AWSResponse CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

type Rep CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

newCreateBudgetAction Source #

Create a value of CreateBudgetAction 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:

CreateBudgetAction, createBudgetAction_accountId - Undocumented member.

CreateBudgetAction, createBudgetAction_budgetName - Undocumented member.

CreateBudgetAction, createBudgetAction_notificationType - Undocumented member.

CreateBudgetAction, createBudgetAction_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.

CreateBudgetAction, createBudgetAction_actionThreshold - Undocumented member.

CreateBudgetAction, createBudgetAction_definition - Undocumented member.

CreateBudgetAction, createBudgetAction_executionRoleArn - The role passed for action execution and reversion. Roles and actions must be in the same account.

CreateBudgetAction, createBudgetAction_approvalModel - This specifies if the action needs manual or automatic approval.

CreateBudgetAction, createBudgetAction_subscribers - Undocumented member.

Request Lenses

createBudgetAction_actionType :: Lens' CreateBudgetAction 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.

createBudgetAction_executionRoleArn :: Lens' CreateBudgetAction Text Source #

The role passed for action execution and reversion. Roles and actions must be in the same account.

createBudgetAction_approvalModel :: Lens' CreateBudgetAction ApprovalModel Source #

This specifies if the action needs manual or automatic approval.

Destructuring the Response

data CreateBudgetActionResponse Source #

See: newCreateBudgetActionResponse smart constructor.

Constructors

CreateBudgetActionResponse' 

Fields

Instances

Instances details
Generic CreateBudgetActionResponse Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Associated Types

type Rep CreateBudgetActionResponse :: Type -> Type #

Read CreateBudgetActionResponse Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Show CreateBudgetActionResponse Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

NFData CreateBudgetActionResponse Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Eq CreateBudgetActionResponse Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

type Rep CreateBudgetActionResponse Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

type Rep CreateBudgetActionResponse = D1 ('MetaData "CreateBudgetActionResponse" "Amazonka.Budgets.CreateBudgetAction" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "CreateBudgetActionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "budgetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "actionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateBudgetActionResponse Source #

Create a value of CreateBudgetActionResponse 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:CreateBudgetActionResponse', createBudgetActionResponse_httpStatus - The response's http status code.

CreateBudgetAction, createBudgetActionResponse_accountId - Undocumented member.

CreateBudgetAction, createBudgetActionResponse_budgetName - Undocumented member.

CreateBudgetActionResponse, createBudgetActionResponse_actionId - A system-generated universally unique identifier (UUID) for the action.

Response Lenses

createBudgetActionResponse_actionId :: Lens' CreateBudgetActionResponse Text Source #

A system-generated universally unique identifier (UUID) for the action.