libZSservicesZSamazonka-budgetsZSamazonka-budgets
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Show CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Generic CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Associated Types

type Rep CreateBudgetAction :: Type -> Type #

NFData CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Methods

rnf :: CreateBudgetAction -> () #

Hashable CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

ToJSON CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

AWSRequest CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Associated Types

type AWSResponse 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

type Rep CreateBudgetAction Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

type AWSResponse 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:

$sel:accountId:CreateBudgetAction', createBudgetAction_accountId - Undocumented member.

$sel:budgetName:CreateBudgetAction', createBudgetAction_budgetName - Undocumented member.

$sel:notificationType:CreateBudgetAction', createBudgetAction_notificationType - Undocumented member.

$sel:actionType: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.

$sel:actionThreshold:CreateBudgetAction', createBudgetAction_actionThreshold - Undocumented member.

$sel:definition:CreateBudgetAction', createBudgetAction_definition - Undocumented member.

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

$sel:approvalModel:CreateBudgetAction', createBudgetAction_approvalModel - This specifies if the action needs manual or automatic approval.

$sel:subscribers: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
Eq CreateBudgetActionResponse Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Read CreateBudgetActionResponse Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Show CreateBudgetActionResponse Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Generic CreateBudgetActionResponse Source # 
Instance details

Defined in Amazonka.Budgets.CreateBudgetAction

Associated Types

type Rep CreateBudgetActionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-budgetsZSamazonka-budgets" '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.

$sel:accountId:CreateBudgetAction', createBudgetActionResponse_accountId - Undocumented member.

$sel:budgetName:CreateBudgetAction', createBudgetActionResponse_budgetName - Undocumented member.

$sel:actionId: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.