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.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2016-10-20 of the Amazon Budgets SDK configuration.

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

You are not authorized to use this operation with the given parameters.

_CreationLimitExceededException :: AsError a => Fold a ServiceError Source #

You've exceeded the notification or subscriber limit.

_DuplicateRecordException :: AsError a => Fold a ServiceError Source #

The budget name already exists. Budget names must be unique within an account.

_ExpiredNextTokenException :: AsError a => Fold a ServiceError Source #

The pagination token expired.

_InternalErrorException :: AsError a => Fold a ServiceError Source #

An error on the server occurred during the processing of your request. Try again later.

_InvalidNextTokenException :: AsError a => Fold a ServiceError Source #

The pagination token is invalid.

_InvalidParameterException :: AsError a => Fold a ServiceError Source #

An error on the client occurred. Typically, the cause is an invalid input value.

_NotFoundException :: AsError a => Fold a ServiceError Source #

We can’t locate the resource that you specified.

_ResourceLockedException :: AsError a => Fold a ServiceError Source #

The request was received and recognized by the server, but the server rejected that particular method for the requested resource.

_ThrottlingException :: AsError a => Fold a ServiceError Source #

The number of API requests has exceeded the maximum allowed API request throttling limit for the account.

ActionStatus

newtype ActionStatus Source #

Constructors

ActionStatus' 

Instances

Instances details
FromJSON ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

FromJSONKey ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

ToJSON ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

ToJSONKey ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

ToByteString ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

ToHeader ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

ToLog ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

ToQuery ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

FromText ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

ToText ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

Methods

toText :: ActionStatus -> Text #

FromXML ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

ToXML ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

Methods

toXML :: ActionStatus -> XML #

Generic ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

Associated Types

type Rep ActionStatus :: Type -> Type #

Read ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

Show ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

NFData ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

Methods

rnf :: ActionStatus -> () #

Eq ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

Ord ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

Hashable ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

type Rep ActionStatus Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionStatus

type Rep ActionStatus = D1 ('MetaData "ActionStatus" "Amazonka.Budgets.Types.ActionStatus" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "ActionStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromActionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ActionSubType

newtype ActionSubType Source #

Constructors

ActionSubType' 

Instances

Instances details
FromJSON ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

FromJSONKey ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

ToJSON ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

ToJSONKey ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

ToByteString ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

ToHeader ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

ToLog ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

ToQuery ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

FromText ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

ToText ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

Methods

toText :: ActionSubType -> Text #

FromXML ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

ToXML ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

Methods

toXML :: ActionSubType -> XML #

Generic ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

Associated Types

type Rep ActionSubType :: Type -> Type #

Read ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

Show ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

NFData ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

Methods

rnf :: ActionSubType -> () #

Eq ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

Ord ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

Hashable ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

type Rep ActionSubType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionSubType

type Rep ActionSubType = D1 ('MetaData "ActionSubType" "Amazonka.Budgets.Types.ActionSubType" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "ActionSubType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromActionSubType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ActionType

newtype ActionType Source #

Constructors

ActionType' 

Fields

Instances

Instances details
FromJSON ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

FromJSONKey ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

ToJSON ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

ToJSONKey ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

ToByteString ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

ToHeader ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

ToLog ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

ToQuery ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

FromText ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

ToText ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

Methods

toText :: ActionType -> Text #

FromXML ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

ToXML ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

Methods

toXML :: ActionType -> XML #

Generic ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

Associated Types

type Rep ActionType :: Type -> Type #

Read ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

Show ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

NFData ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

Methods

rnf :: ActionType -> () #

Eq ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

Ord ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

Hashable ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

type Rep ActionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionType

type Rep ActionType = D1 ('MetaData "ActionType" "Amazonka.Budgets.Types.ActionType" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "ActionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromActionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ApprovalModel

newtype ApprovalModel Source #

Constructors

ApprovalModel' 

Instances

Instances details
FromJSON ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

FromJSONKey ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

ToJSON ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

ToJSONKey ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

ToByteString ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

ToHeader ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

ToLog ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

ToQuery ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

FromText ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

ToText ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

Methods

toText :: ApprovalModel -> Text #

FromXML ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

ToXML ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

Methods

toXML :: ApprovalModel -> XML #

Generic ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

Associated Types

type Rep ApprovalModel :: Type -> Type #

Read ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

Show ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

NFData ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

Methods

rnf :: ApprovalModel -> () #

Eq ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

Ord ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

Hashable ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

type Rep ApprovalModel Source # 
Instance details

Defined in Amazonka.Budgets.Types.ApprovalModel

type Rep ApprovalModel = D1 ('MetaData "ApprovalModel" "Amazonka.Budgets.Types.ApprovalModel" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "ApprovalModel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromApprovalModel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AutoAdjustType

newtype AutoAdjustType Source #

Constructors

AutoAdjustType' 

Instances

Instances details
FromJSON AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

FromJSONKey AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

ToJSON AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

ToJSONKey AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

ToByteString AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

ToHeader AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

ToLog AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

ToQuery AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

FromText AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

ToText AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

FromXML AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

ToXML AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

Methods

toXML :: AutoAdjustType -> XML #

Generic AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

Associated Types

type Rep AutoAdjustType :: Type -> Type #

Read AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

Show AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

NFData AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

Methods

rnf :: AutoAdjustType -> () #

Eq AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

Ord AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

Hashable AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

type Rep AutoAdjustType Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustType

type Rep AutoAdjustType = D1 ('MetaData "AutoAdjustType" "Amazonka.Budgets.Types.AutoAdjustType" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "AutoAdjustType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAutoAdjustType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BudgetType

newtype BudgetType Source #

The type of a budget. It must be one of the following types:

COST, USAGE, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, or SAVINGS_PLANS_COVERAGE.

Constructors

BudgetType' 

Fields

Instances

Instances details
FromJSON BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

FromJSONKey BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

ToJSON BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

ToJSONKey BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

ToByteString BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

ToHeader BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

ToLog BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

ToQuery BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

FromText BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

ToText BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

Methods

toText :: BudgetType -> Text #

FromXML BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

ToXML BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

Methods

toXML :: BudgetType -> XML #

Generic BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

Associated Types

type Rep BudgetType :: Type -> Type #

Read BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

Show BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

NFData BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

Methods

rnf :: BudgetType -> () #

Eq BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

Ord BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

Hashable BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

type Rep BudgetType Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetType

type Rep BudgetType = D1 ('MetaData "BudgetType" "Amazonka.Budgets.Types.BudgetType" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "BudgetType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromBudgetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ComparisonOperator

newtype ComparisonOperator Source #

The comparison operator of a notification. Currently, the service supports the following operators:

GREATER_THAN, LESS_THAN, EQUAL_TO

Instances

Instances details
FromJSON ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

FromJSONKey ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

ToJSON ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

ToJSONKey ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

ToByteString ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

ToHeader ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

ToLog ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

ToQuery ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

FromText ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

ToText ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

FromXML ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

ToXML ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

Generic ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

Associated Types

type Rep ComparisonOperator :: Type -> Type #

Read ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

Show ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

NFData ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

Methods

rnf :: ComparisonOperator -> () #

Eq ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

Ord ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

Hashable ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

type Rep ComparisonOperator Source # 
Instance details

Defined in Amazonka.Budgets.Types.ComparisonOperator

type Rep ComparisonOperator = D1 ('MetaData "ComparisonOperator" "Amazonka.Budgets.Types.ComparisonOperator" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "ComparisonOperator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromComparisonOperator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventType

newtype EventType Source #

Constructors

EventType' 

Fields

Instances

Instances details
FromJSON EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

FromJSONKey EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

ToJSON EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

ToJSONKey EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

ToByteString EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

Methods

toBS :: EventType -> ByteString #

ToHeader EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

ToLog EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

ToQuery EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

FromText EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

ToText EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

Methods

toText :: EventType -> Text #

FromXML EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

ToXML EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

Methods

toXML :: EventType -> XML #

Generic EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

Associated Types

type Rep EventType :: Type -> Type #

Read EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

Show EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

NFData EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

Methods

rnf :: EventType -> () #

Eq EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

Ord EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

Hashable EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

type Rep EventType Source # 
Instance details

Defined in Amazonka.Budgets.Types.EventType

type Rep EventType = D1 ('MetaData "EventType" "Amazonka.Budgets.Types.EventType" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "EventType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ExecutionType

newtype ExecutionType Source #

Constructors

ExecutionType' 

Instances

Instances details
FromJSON ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

FromJSONKey ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

ToJSON ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

ToJSONKey ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

ToByteString ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

ToHeader ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

ToLog ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

ToQuery ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

FromText ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

ToText ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

Methods

toText :: ExecutionType -> Text #

FromXML ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

ToXML ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

Methods

toXML :: ExecutionType -> XML #

Generic ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

Associated Types

type Rep ExecutionType :: Type -> Type #

Read ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

Show ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

NFData ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

Methods

rnf :: ExecutionType -> () #

Eq ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

Ord ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

Hashable ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

type Rep ExecutionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ExecutionType

type Rep ExecutionType = D1 ('MetaData "ExecutionType" "Amazonka.Budgets.Types.ExecutionType" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "ExecutionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromExecutionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

NotificationState

newtype NotificationState Source #

Instances

Instances details
FromJSON NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

FromJSONKey NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

ToJSON NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

ToJSONKey NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

ToByteString NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

ToHeader NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

ToLog NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

ToQuery NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

FromText NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

ToText NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

FromXML NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

ToXML NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

Generic NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

Associated Types

type Rep NotificationState :: Type -> Type #

Read NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

Show NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

NFData NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

Methods

rnf :: NotificationState -> () #

Eq NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

Ord NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

Hashable NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

type Rep NotificationState Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationState

type Rep NotificationState = D1 ('MetaData "NotificationState" "Amazonka.Budgets.Types.NotificationState" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "NotificationState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromNotificationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

NotificationType

newtype NotificationType Source #

The type of a notification. It must be ACTUAL or FORECASTED.

Instances

Instances details
FromJSON NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

FromJSONKey NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

ToJSON NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

ToJSONKey NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

ToByteString NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

ToHeader NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

ToLog NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

ToQuery NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

FromText NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

ToText NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

FromXML NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

ToXML NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

Generic NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

Associated Types

type Rep NotificationType :: Type -> Type #

Read NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

Show NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

NFData NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

Methods

rnf :: NotificationType -> () #

Eq NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

Ord NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

Hashable NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

type Rep NotificationType Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationType

type Rep NotificationType = D1 ('MetaData "NotificationType" "Amazonka.Budgets.Types.NotificationType" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "NotificationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromNotificationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SubscriptionType

newtype SubscriptionType Source #

The subscription type of the subscriber. It can be SMS or EMAIL.

Instances

Instances details
FromJSON SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

FromJSONKey SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

ToJSON SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

ToJSONKey SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

ToByteString SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

ToHeader SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

ToLog SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

ToQuery SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

FromText SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

ToText SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

FromXML SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

ToXML SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

Generic SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

Associated Types

type Rep SubscriptionType :: Type -> Type #

Read SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

Show SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

NFData SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

Methods

rnf :: SubscriptionType -> () #

Eq SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

Ord SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

Hashable SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

type Rep SubscriptionType Source # 
Instance details

Defined in Amazonka.Budgets.Types.SubscriptionType

type Rep SubscriptionType = D1 ('MetaData "SubscriptionType" "Amazonka.Budgets.Types.SubscriptionType" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "SubscriptionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSubscriptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ThresholdType

newtype ThresholdType Source #

The type of threshold for a notification.

Constructors

ThresholdType' 

Instances

Instances details
FromJSON ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

FromJSONKey ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

ToJSON ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

ToJSONKey ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

ToByteString ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

ToHeader ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

ToLog ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

ToQuery ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

FromText ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

ToText ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

Methods

toText :: ThresholdType -> Text #

FromXML ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

ToXML ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

Methods

toXML :: ThresholdType -> XML #

Generic ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

Associated Types

type Rep ThresholdType :: Type -> Type #

Read ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

Show ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

NFData ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

Methods

rnf :: ThresholdType -> () #

Eq ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

Ord ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

Hashable ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

type Rep ThresholdType Source # 
Instance details

Defined in Amazonka.Budgets.Types.ThresholdType

type Rep ThresholdType = D1 ('MetaData "ThresholdType" "Amazonka.Budgets.Types.ThresholdType" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "ThresholdType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromThresholdType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TimeUnit

newtype TimeUnit Source #

The time unit of the budget, such as MONTHLY or QUARTERLY.

Constructors

TimeUnit' 

Fields

Bundled Patterns

pattern TimeUnit_ANNUALLY :: TimeUnit 
pattern TimeUnit_DAILY :: TimeUnit 
pattern TimeUnit_MONTHLY :: TimeUnit 
pattern TimeUnit_QUARTERLY :: TimeUnit 

Instances

Instances details
FromJSON TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

FromJSONKey TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

ToJSON TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

ToJSONKey TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

ToByteString TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

Methods

toBS :: TimeUnit -> ByteString #

ToHeader TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

Methods

toHeader :: HeaderName -> TimeUnit -> [Header] #

ToLog TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

ToQuery TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

FromText TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

ToText TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

Methods

toText :: TimeUnit -> Text #

FromXML TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

ToXML TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

Methods

toXML :: TimeUnit -> XML #

Generic TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

Associated Types

type Rep TimeUnit :: Type -> Type #

Methods

from :: TimeUnit -> Rep TimeUnit x #

to :: Rep TimeUnit x -> TimeUnit #

Read TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

Show TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

NFData TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

Methods

rnf :: TimeUnit -> () #

Eq TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

Ord TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

Hashable TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

Methods

hashWithSalt :: Int -> TimeUnit -> Int #

hash :: TimeUnit -> Int #

type Rep TimeUnit Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimeUnit

type Rep TimeUnit = D1 ('MetaData "TimeUnit" "Amazonka.Budgets.Types.TimeUnit" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'True) (C1 ('MetaCons "TimeUnit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTimeUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Action

data Action Source #

A budget action resource.

See: newAction smart constructor.

Constructors

Action' 

Fields

Instances

Instances details
FromJSON Action Source # 
Instance details

Defined in Amazonka.Budgets.Types.Action

Generic Action Source # 
Instance details

Defined in Amazonka.Budgets.Types.Action

Associated Types

type Rep Action :: Type -> Type #

Methods

from :: Action -> Rep Action x #

to :: Rep Action x -> Action #

Show Action Source # 
Instance details

Defined in Amazonka.Budgets.Types.Action

NFData Action Source # 
Instance details

Defined in Amazonka.Budgets.Types.Action

Methods

rnf :: Action -> () #

Eq Action Source # 
Instance details

Defined in Amazonka.Budgets.Types.Action

Methods

(==) :: Action -> Action -> Bool #

(/=) :: Action -> Action -> Bool #

Hashable Action Source # 
Instance details

Defined in Amazonka.Budgets.Types.Action

Methods

hashWithSalt :: Int -> Action -> Int #

hash :: Action -> Int #

type Rep Action Source # 
Instance details

Defined in Amazonka.Budgets.Types.Action

newAction Source #

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_budgetName :: Lens' Action Text 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.

ActionHistory

data ActionHistory Source #

The historical records for a budget action.

See: newActionHistory smart constructor.

Constructors

ActionHistory' 

Fields

Instances

Instances details
FromJSON ActionHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistory

Generic ActionHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistory

Associated Types

type Rep ActionHistory :: Type -> Type #

Show ActionHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistory

NFData ActionHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistory

Methods

rnf :: ActionHistory -> () #

Eq ActionHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistory

Hashable ActionHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistory

type Rep ActionHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistory

type Rep ActionHistory = D1 ('MetaData "ActionHistory" "Amazonka.Budgets.Types.ActionHistory" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "ActionHistory'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionStatus)) :*: (S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EventType) :*: S1 ('MetaSel ('Just "actionHistoryDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionHistoryDetails))))

newActionHistory Source #

Create a value of ActionHistory 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:timestamp:ActionHistory', actionHistory_timestamp - Undocumented member.

$sel:status:ActionHistory', actionHistory_status - The status of action at the time of the event.

$sel:eventType:ActionHistory', actionHistory_eventType - This distinguishes between whether the events are triggered by the user or are generated by the system.

$sel:actionHistoryDetails:ActionHistory', actionHistory_actionHistoryDetails - The description of the details for the event.

actionHistory_status :: Lens' ActionHistory ActionStatus Source #

The status of action at the time of the event.

actionHistory_eventType :: Lens' ActionHistory EventType Source #

This distinguishes between whether the events are triggered by the user or are generated by the system.

actionHistory_actionHistoryDetails :: Lens' ActionHistory ActionHistoryDetails Source #

The description of the details for the event.

ActionHistoryDetails

data ActionHistoryDetails Source #

The description of the details for the event.

See: newActionHistoryDetails smart constructor.

Constructors

ActionHistoryDetails' 

Fields

Instances

Instances details
FromJSON ActionHistoryDetails Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistoryDetails

Generic ActionHistoryDetails Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistoryDetails

Associated Types

type Rep ActionHistoryDetails :: Type -> Type #

Show ActionHistoryDetails Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistoryDetails

NFData ActionHistoryDetails Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistoryDetails

Methods

rnf :: ActionHistoryDetails -> () #

Eq ActionHistoryDetails Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistoryDetails

Hashable ActionHistoryDetails Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistoryDetails

type Rep ActionHistoryDetails Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionHistoryDetails

type Rep ActionHistoryDetails = D1 ('MetaData "ActionHistoryDetails" "Amazonka.Budgets.Types.ActionHistoryDetails" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "ActionHistoryDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Action)))

newActionHistoryDetails Source #

Create a value of ActionHistoryDetails 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:message:ActionHistoryDetails', actionHistoryDetails_message - Undocumented member.

$sel:action:ActionHistoryDetails', actionHistoryDetails_action - The budget action resource.

ActionThreshold

data ActionThreshold Source #

The trigger threshold of the action.

See: newActionThreshold smart constructor.

Instances

Instances details
FromJSON ActionThreshold Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionThreshold

ToJSON ActionThreshold Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionThreshold

Generic ActionThreshold Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionThreshold

Associated Types

type Rep ActionThreshold :: Type -> Type #

Read ActionThreshold Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionThreshold

Show ActionThreshold Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionThreshold

NFData ActionThreshold Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionThreshold

Methods

rnf :: ActionThreshold -> () #

Eq ActionThreshold Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionThreshold

Hashable ActionThreshold Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionThreshold

type Rep ActionThreshold Source # 
Instance details

Defined in Amazonka.Budgets.Types.ActionThreshold

type Rep ActionThreshold = D1 ('MetaData "ActionThreshold" "Amazonka.Budgets.Types.ActionThreshold" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "ActionThreshold'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actionThresholdValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "actionThresholdType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ThresholdType)))

newActionThreshold Source #

Create a value of ActionThreshold 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:actionThresholdValue:ActionThreshold', actionThreshold_actionThresholdValue - Undocumented member.

$sel:actionThresholdType:ActionThreshold', actionThreshold_actionThresholdType - Undocumented member.

AutoAdjustData

data AutoAdjustData Source #

The parameters that determine the budget amount for an auto-adjusting budget.

See: newAutoAdjustData smart constructor.

Constructors

AutoAdjustData' 

Fields

Instances

Instances details
FromJSON AutoAdjustData Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustData

ToJSON AutoAdjustData Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustData

Generic AutoAdjustData Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustData

Associated Types

type Rep AutoAdjustData :: Type -> Type #

Read AutoAdjustData Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustData

Show AutoAdjustData Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustData

NFData AutoAdjustData Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustData

Methods

rnf :: AutoAdjustData -> () #

Eq AutoAdjustData Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustData

Hashable AutoAdjustData Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustData

type Rep AutoAdjustData Source # 
Instance details

Defined in Amazonka.Budgets.Types.AutoAdjustData

type Rep AutoAdjustData = D1 ('MetaData "AutoAdjustData" "Amazonka.Budgets.Types.AutoAdjustData" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "AutoAdjustData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "historicalOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HistoricalOptions)) :*: (S1 ('MetaSel ('Just "lastAutoAdjustTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "autoAdjustType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AutoAdjustType))))

newAutoAdjustData Source #

Create a value of AutoAdjustData 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:historicalOptions:AutoAdjustData', autoAdjustData_historicalOptions - The parameters that define or describe the historical data that your auto-adjusting budget is based on.

$sel:lastAutoAdjustTime:AutoAdjustData', autoAdjustData_lastAutoAdjustTime - The last time that your budget was auto-adjusted.

$sel:autoAdjustType:AutoAdjustData', autoAdjustData_autoAdjustType - The string that defines whether your budget auto-adjusts based on historical or forecasted data.

autoAdjustData_historicalOptions :: Lens' AutoAdjustData (Maybe HistoricalOptions) Source #

The parameters that define or describe the historical data that your auto-adjusting budget is based on.

autoAdjustData_lastAutoAdjustTime :: Lens' AutoAdjustData (Maybe UTCTime) Source #

The last time that your budget was auto-adjusted.

autoAdjustData_autoAdjustType :: Lens' AutoAdjustData AutoAdjustType Source #

The string that defines whether your budget auto-adjusts based on historical or forecasted data.

Budget

data Budget Source #

Represents the output of the CreateBudget operation. The content consists of the detailed metadata and data file information, and the current status of the budget object.

This is the Amazon Resource Name (ARN) pattern for a budget:

arn:aws:budgets::AccountId:budget/budgetName

See: newBudget smart constructor.

Constructors

Budget' 

Fields

  • autoAdjustData :: Maybe AutoAdjustData

    The parameters that determine the budget amount for an auto-adjusting budget.

  • budgetLimit :: Maybe Spend

    The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget.

    BudgetLimit is required for cost or usage budgets, but optional for RI or Savings Plans utilization or coverage budgets. RI and Savings Plans utilization or coverage budgets default to 100. This is the only valid value for RI or Savings Plans utilization or coverage budgets. You can't use BudgetLimit with PlannedBudgetLimits for CreateBudget and UpdateBudget actions.

  • calculatedSpend :: Maybe CalculatedSpend

    The actual and forecasted cost or usage that the budget tracks.

  • costFilters :: Maybe (HashMap Text [Text])

    The cost filters, such as Region, Service, member account, Tag, or Cost Category, that are applied to a budget.

    Amazon Web Services Budgets supports the following services as a Service filter for RI budgets:

    • Amazon EC2
    • Amazon Redshift
    • Amazon Relational Database Service
    • Amazon ElastiCache
    • Amazon OpenSearch Service
  • costTypes :: Maybe CostTypes

    The types of costs that are included in this COST budget.

    USAGE, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, and SAVINGS_PLANS_COVERAGE budgets do not have CostTypes.

  • lastUpdatedTime :: Maybe POSIX

    The last time that you updated this budget.

  • plannedBudgetLimits :: Maybe (HashMap Text Spend)

    A map containing multiple BudgetLimit, including current or future limits.

    PlannedBudgetLimits is available for cost or usage budget and supports both monthly and quarterly TimeUnit.

    For monthly budgets, provide 12 months of PlannedBudgetLimits values. This must start from the current month and include the next 11 months. The key is the start of the month, UTC in epoch seconds.

    For quarterly budgets, provide four quarters of PlannedBudgetLimits value entries in standard calendar quarter increments. This must start from the current quarter and include the next three quarters. The key is the start of the quarter, UTC in epoch seconds.

    If the planned budget expires before 12 months for monthly or four quarters for quarterly, provide the PlannedBudgetLimits values only for the remaining periods.

    If the budget begins at a date in the future, provide PlannedBudgetLimits values from the start date of the budget.

    After all of the BudgetLimit values in PlannedBudgetLimits are used, the budget continues to use the last limit as the BudgetLimit. At that point, the planned budget provides the same experience as a fixed budget.

    DescribeBudget and DescribeBudgets response along with PlannedBudgetLimits also contain BudgetLimit representing the current month or quarter limit present in PlannedBudgetLimits. This only applies to budgets that are created with PlannedBudgetLimits. Budgets that are created without PlannedBudgetLimits only contain BudgetLimit. They don't contain PlannedBudgetLimits.

  • timePeriod :: Maybe TimePeriod

    The period of time that's covered by a budget. You setthe start date and end date. The start date must come before the end date. The end date must come before 06/15/87 00:00 UTC.

    If you create your budget and don't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, chose DAILY, and didn't set a start date, Amazon Web Services set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, Amazon Web Services set your start date to 01/01/18 00:00 UTC. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.

    You can change either date with the UpdateBudget operation.

    After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers.

  • budgetName :: Text

    The name of a budget. The name must be unique within an account. The : and \ characters aren't allowed in BudgetName.

  • timeUnit :: TimeUnit

    The length of time until a budget resets the actual and forecasted spend.

  • budgetType :: BudgetType

    Specifies whether this budget tracks costs, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage.

Instances

Instances details
FromJSON Budget Source # 
Instance details

Defined in Amazonka.Budgets.Types.Budget

ToJSON Budget Source # 
Instance details

Defined in Amazonka.Budgets.Types.Budget

Generic Budget Source # 
Instance details

Defined in Amazonka.Budgets.Types.Budget

Associated Types

type Rep Budget :: Type -> Type #

Methods

from :: Budget -> Rep Budget x #

to :: Rep Budget x -> Budget #

Read Budget Source # 
Instance details

Defined in Amazonka.Budgets.Types.Budget

Show Budget Source # 
Instance details

Defined in Amazonka.Budgets.Types.Budget

NFData Budget Source # 
Instance details

Defined in Amazonka.Budgets.Types.Budget

Methods

rnf :: Budget -> () #

Eq Budget Source # 
Instance details

Defined in Amazonka.Budgets.Types.Budget

Methods

(==) :: Budget -> Budget -> Bool #

(/=) :: Budget -> Budget -> Bool #

Hashable Budget Source # 
Instance details

Defined in Amazonka.Budgets.Types.Budget

Methods

hashWithSalt :: Int -> Budget -> Int #

hash :: Budget -> Int #

type Rep Budget Source # 
Instance details

Defined in Amazonka.Budgets.Types.Budget

type Rep Budget = D1 ('MetaData "Budget" "Amazonka.Budgets.Types.Budget" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "Budget'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "autoAdjustData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoAdjustData)) :*: S1 ('MetaSel ('Just "budgetLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Spend))) :*: (S1 ('MetaSel ('Just "calculatedSpend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CalculatedSpend)) :*: (S1 ('MetaSel ('Just "costFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text]))) :*: S1 ('MetaSel ('Just "costTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CostTypes))))) :*: ((S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "plannedBudgetLimits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Spend))) :*: S1 ('MetaSel ('Just "timePeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimePeriod)))) :*: (S1 ('MetaSel ('Just "budgetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "timeUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TimeUnit) :*: S1 ('MetaSel ('Just "budgetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BudgetType))))))

newBudget Source #

Create a value of Budget 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:autoAdjustData:Budget', budget_autoAdjustData - The parameters that determine the budget amount for an auto-adjusting budget.

$sel:budgetLimit:Budget', budget_budgetLimit - The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget.

BudgetLimit is required for cost or usage budgets, but optional for RI or Savings Plans utilization or coverage budgets. RI and Savings Plans utilization or coverage budgets default to 100. This is the only valid value for RI or Savings Plans utilization or coverage budgets. You can't use BudgetLimit with PlannedBudgetLimits for CreateBudget and UpdateBudget actions.

$sel:calculatedSpend:Budget', budget_calculatedSpend - The actual and forecasted cost or usage that the budget tracks.

$sel:costFilters:Budget', budget_costFilters - The cost filters, such as Region, Service, member account, Tag, or Cost Category, that are applied to a budget.

Amazon Web Services Budgets supports the following services as a Service filter for RI budgets:

  • Amazon EC2
  • Amazon Redshift
  • Amazon Relational Database Service
  • Amazon ElastiCache
  • Amazon OpenSearch Service

$sel:costTypes:Budget', budget_costTypes - The types of costs that are included in this COST budget.

USAGE, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, and SAVINGS_PLANS_COVERAGE budgets do not have CostTypes.

$sel:lastUpdatedTime:Budget', budget_lastUpdatedTime - The last time that you updated this budget.

$sel:plannedBudgetLimits:Budget', budget_plannedBudgetLimits - A map containing multiple BudgetLimit, including current or future limits.

PlannedBudgetLimits is available for cost or usage budget and supports both monthly and quarterly TimeUnit.

For monthly budgets, provide 12 months of PlannedBudgetLimits values. This must start from the current month and include the next 11 months. The key is the start of the month, UTC in epoch seconds.

For quarterly budgets, provide four quarters of PlannedBudgetLimits value entries in standard calendar quarter increments. This must start from the current quarter and include the next three quarters. The key is the start of the quarter, UTC in epoch seconds.

If the planned budget expires before 12 months for monthly or four quarters for quarterly, provide the PlannedBudgetLimits values only for the remaining periods.

If the budget begins at a date in the future, provide PlannedBudgetLimits values from the start date of the budget.

After all of the BudgetLimit values in PlannedBudgetLimits are used, the budget continues to use the last limit as the BudgetLimit. At that point, the planned budget provides the same experience as a fixed budget.

DescribeBudget and DescribeBudgets response along with PlannedBudgetLimits also contain BudgetLimit representing the current month or quarter limit present in PlannedBudgetLimits. This only applies to budgets that are created with PlannedBudgetLimits. Budgets that are created without PlannedBudgetLimits only contain BudgetLimit. They don't contain PlannedBudgetLimits.

$sel:timePeriod:Budget', budget_timePeriod - The period of time that's covered by a budget. You setthe start date and end date. The start date must come before the end date. The end date must come before 06/15/87 00:00 UTC.

If you create your budget and don't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, chose DAILY, and didn't set a start date, Amazon Web Services set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, Amazon Web Services set your start date to 01/01/18 00:00 UTC. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.

You can change either date with the UpdateBudget operation.

After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers.

$sel:budgetName:Budget', budget_budgetName - The name of a budget. The name must be unique within an account. The : and \ characters aren't allowed in BudgetName.

$sel:timeUnit:Budget', budget_timeUnit - The length of time until a budget resets the actual and forecasted spend.

$sel:budgetType:Budget', budget_budgetType - Specifies whether this budget tracks costs, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage.

budget_autoAdjustData :: Lens' Budget (Maybe AutoAdjustData) Source #

The parameters that determine the budget amount for an auto-adjusting budget.

budget_budgetLimit :: Lens' Budget (Maybe Spend) Source #

The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget.

BudgetLimit is required for cost or usage budgets, but optional for RI or Savings Plans utilization or coverage budgets. RI and Savings Plans utilization or coverage budgets default to 100. This is the only valid value for RI or Savings Plans utilization or coverage budgets. You can't use BudgetLimit with PlannedBudgetLimits for CreateBudget and UpdateBudget actions.

budget_calculatedSpend :: Lens' Budget (Maybe CalculatedSpend) Source #

The actual and forecasted cost or usage that the budget tracks.

budget_costFilters :: Lens' Budget (Maybe (HashMap Text [Text])) Source #

The cost filters, such as Region, Service, member account, Tag, or Cost Category, that are applied to a budget.

Amazon Web Services Budgets supports the following services as a Service filter for RI budgets:

  • Amazon EC2
  • Amazon Redshift
  • Amazon Relational Database Service
  • Amazon ElastiCache
  • Amazon OpenSearch Service

budget_costTypes :: Lens' Budget (Maybe CostTypes) Source #

The types of costs that are included in this COST budget.

USAGE, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, and SAVINGS_PLANS_COVERAGE budgets do not have CostTypes.

budget_lastUpdatedTime :: Lens' Budget (Maybe UTCTime) Source #

The last time that you updated this budget.

budget_plannedBudgetLimits :: Lens' Budget (Maybe (HashMap Text Spend)) Source #

A map containing multiple BudgetLimit, including current or future limits.

PlannedBudgetLimits is available for cost or usage budget and supports both monthly and quarterly TimeUnit.

For monthly budgets, provide 12 months of PlannedBudgetLimits values. This must start from the current month and include the next 11 months. The key is the start of the month, UTC in epoch seconds.

For quarterly budgets, provide four quarters of PlannedBudgetLimits value entries in standard calendar quarter increments. This must start from the current quarter and include the next three quarters. The key is the start of the quarter, UTC in epoch seconds.

If the planned budget expires before 12 months for monthly or four quarters for quarterly, provide the PlannedBudgetLimits values only for the remaining periods.

If the budget begins at a date in the future, provide PlannedBudgetLimits values from the start date of the budget.

After all of the BudgetLimit values in PlannedBudgetLimits are used, the budget continues to use the last limit as the BudgetLimit. At that point, the planned budget provides the same experience as a fixed budget.

DescribeBudget and DescribeBudgets response along with PlannedBudgetLimits also contain BudgetLimit representing the current month or quarter limit present in PlannedBudgetLimits. This only applies to budgets that are created with PlannedBudgetLimits. Budgets that are created without PlannedBudgetLimits only contain BudgetLimit. They don't contain PlannedBudgetLimits.

budget_timePeriod :: Lens' Budget (Maybe TimePeriod) Source #

The period of time that's covered by a budget. You setthe start date and end date. The start date must come before the end date. The end date must come before 06/15/87 00:00 UTC.

If you create your budget and don't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, chose DAILY, and didn't set a start date, Amazon Web Services set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, Amazon Web Services set your start date to 01/01/18 00:00 UTC. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.

You can change either date with the UpdateBudget operation.

After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers.

budget_budgetName :: Lens' Budget Text Source #

The name of a budget. The name must be unique within an account. The : and \ characters aren't allowed in BudgetName.

budget_timeUnit :: Lens' Budget TimeUnit Source #

The length of time until a budget resets the actual and forecasted spend.

budget_budgetType :: Lens' Budget BudgetType Source #

Specifies whether this budget tracks costs, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage.

BudgetNotificationsForAccount

data BudgetNotificationsForAccount Source #

The budget name and associated notifications for an account.

See: newBudgetNotificationsForAccount smart constructor.

Instances

Instances details
FromJSON BudgetNotificationsForAccount Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetNotificationsForAccount

Generic BudgetNotificationsForAccount Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetNotificationsForAccount

Associated Types

type Rep BudgetNotificationsForAccount :: Type -> Type #

Read BudgetNotificationsForAccount Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetNotificationsForAccount

Show BudgetNotificationsForAccount Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetNotificationsForAccount

NFData BudgetNotificationsForAccount Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetNotificationsForAccount

Eq BudgetNotificationsForAccount Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetNotificationsForAccount

Hashable BudgetNotificationsForAccount Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetNotificationsForAccount

type Rep BudgetNotificationsForAccount Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetNotificationsForAccount

type Rep BudgetNotificationsForAccount = D1 ('MetaData "BudgetNotificationsForAccount" "Amazonka.Budgets.Types.BudgetNotificationsForAccount" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "BudgetNotificationsForAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "budgetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "notifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Notification]))))

newBudgetNotificationsForAccount :: BudgetNotificationsForAccount Source #

Create a value of BudgetNotificationsForAccount 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:budgetName:BudgetNotificationsForAccount', budgetNotificationsForAccount_budgetName - Undocumented member.

$sel:notifications:BudgetNotificationsForAccount', budgetNotificationsForAccount_notifications - Undocumented member.

BudgetPerformanceHistory

data BudgetPerformanceHistory Source #

A history of the state of a budget at the end of the budget's specified time period.

See: newBudgetPerformanceHistory smart constructor.

Constructors

BudgetPerformanceHistory' 

Fields

Instances

Instances details
FromJSON BudgetPerformanceHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetPerformanceHistory

Generic BudgetPerformanceHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetPerformanceHistory

Associated Types

type Rep BudgetPerformanceHistory :: Type -> Type #

Read BudgetPerformanceHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetPerformanceHistory

Show BudgetPerformanceHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetPerformanceHistory

NFData BudgetPerformanceHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetPerformanceHistory

Eq BudgetPerformanceHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetPerformanceHistory

Hashable BudgetPerformanceHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetPerformanceHistory

type Rep BudgetPerformanceHistory Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetPerformanceHistory

type Rep BudgetPerformanceHistory = D1 ('MetaData "BudgetPerformanceHistory" "Amazonka.Budgets.Types.BudgetPerformanceHistory" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "BudgetPerformanceHistory'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "budgetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "budgetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BudgetType)) :*: S1 ('MetaSel ('Just "budgetedAndActualAmountsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BudgetedAndActualAmounts])))) :*: (S1 ('MetaSel ('Just "costFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text]))) :*: (S1 ('MetaSel ('Just "costTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CostTypes)) :*: S1 ('MetaSel ('Just "timeUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimeUnit))))))

newBudgetPerformanceHistory :: BudgetPerformanceHistory Source #

Create a value of BudgetPerformanceHistory 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:budgetName:BudgetPerformanceHistory', budgetPerformanceHistory_budgetName - Undocumented member.

$sel:budgetType:BudgetPerformanceHistory', budgetPerformanceHistory_budgetType - Undocumented member.

$sel:budgetedAndActualAmountsList:BudgetPerformanceHistory', budgetPerformanceHistory_budgetedAndActualAmountsList - A list of amounts of cost or usage that you created budgets for, which are compared to your actual costs or usage.

$sel:costFilters:BudgetPerformanceHistory', budgetPerformanceHistory_costFilters - The history of the cost filters for a budget during the specified time period.

$sel:costTypes:BudgetPerformanceHistory', budgetPerformanceHistory_costTypes - The history of the cost types for a budget during the specified time period.

$sel:timeUnit:BudgetPerformanceHistory', budgetPerformanceHistory_timeUnit - Undocumented member.

budgetPerformanceHistory_budgetedAndActualAmountsList :: Lens' BudgetPerformanceHistory (Maybe [BudgetedAndActualAmounts]) Source #

A list of amounts of cost or usage that you created budgets for, which are compared to your actual costs or usage.

budgetPerformanceHistory_costFilters :: Lens' BudgetPerformanceHistory (Maybe (HashMap Text [Text])) Source #

The history of the cost filters for a budget during the specified time period.

budgetPerformanceHistory_costTypes :: Lens' BudgetPerformanceHistory (Maybe CostTypes) Source #

The history of the cost types for a budget during the specified time period.

BudgetedAndActualAmounts

data BudgetedAndActualAmounts Source #

The amount of cost or usage that you created the budget for, compared to your actual costs or usage.

See: newBudgetedAndActualAmounts smart constructor.

Constructors

BudgetedAndActualAmounts' 

Fields

Instances

Instances details
FromJSON BudgetedAndActualAmounts Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetedAndActualAmounts

Generic BudgetedAndActualAmounts Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetedAndActualAmounts

Associated Types

type Rep BudgetedAndActualAmounts :: Type -> Type #

Read BudgetedAndActualAmounts Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetedAndActualAmounts

Show BudgetedAndActualAmounts Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetedAndActualAmounts

NFData BudgetedAndActualAmounts Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetedAndActualAmounts

Eq BudgetedAndActualAmounts Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetedAndActualAmounts

Hashable BudgetedAndActualAmounts Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetedAndActualAmounts

type Rep BudgetedAndActualAmounts Source # 
Instance details

Defined in Amazonka.Budgets.Types.BudgetedAndActualAmounts

type Rep BudgetedAndActualAmounts = D1 ('MetaData "BudgetedAndActualAmounts" "Amazonka.Budgets.Types.BudgetedAndActualAmounts" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "BudgetedAndActualAmounts'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actualAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Spend)) :*: (S1 ('MetaSel ('Just "budgetedAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Spend)) :*: S1 ('MetaSel ('Just "timePeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimePeriod)))))

newBudgetedAndActualAmounts :: BudgetedAndActualAmounts Source #

Create a value of BudgetedAndActualAmounts 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:actualAmount:BudgetedAndActualAmounts', budgetedAndActualAmounts_actualAmount - Your actual costs or usage for a budget period.

$sel:budgetedAmount:BudgetedAndActualAmounts', budgetedAndActualAmounts_budgetedAmount - The amount of cost or usage that you created the budget for.

$sel:timePeriod:BudgetedAndActualAmounts', budgetedAndActualAmounts_timePeriod - The time period that's covered by this budget comparison.

budgetedAndActualAmounts_actualAmount :: Lens' BudgetedAndActualAmounts (Maybe Spend) Source #

Your actual costs or usage for a budget period.

budgetedAndActualAmounts_budgetedAmount :: Lens' BudgetedAndActualAmounts (Maybe Spend) Source #

The amount of cost or usage that you created the budget for.

budgetedAndActualAmounts_timePeriod :: Lens' BudgetedAndActualAmounts (Maybe TimePeriod) Source #

The time period that's covered by this budget comparison.

CalculatedSpend

data CalculatedSpend Source #

The spend objects that are associated with this budget. The actualSpend tracks how much you've used, cost, usage, RI units, or Savings Plans units and the forecastedSpend tracks how much that you're predicted to spend based on your historical usage profile.

For example, if it's the 20th of the month and you have spent 50 dollars on Amazon EC2, your actualSpend is 50 USD, and your forecastedSpend is 75 USD.

See: newCalculatedSpend smart constructor.

Constructors

CalculatedSpend' 

Fields

  • forecastedSpend :: Maybe Spend

    The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.

  • actualSpend :: Spend

    The amount of cost, usage, RI units, or Savings Plans units that you used.

Instances

Instances details
FromJSON CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

ToJSON CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Generic CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Associated Types

type Rep CalculatedSpend :: Type -> Type #

Read CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Show CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

NFData CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Methods

rnf :: CalculatedSpend -> () #

Eq CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Hashable CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

type Rep CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

type Rep CalculatedSpend = D1 ('MetaData "CalculatedSpend" "Amazonka.Budgets.Types.CalculatedSpend" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "CalculatedSpend'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forecastedSpend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Spend)) :*: S1 ('MetaSel ('Just "actualSpend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Spend)))

newCalculatedSpend Source #

Create a value of CalculatedSpend 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:forecastedSpend:CalculatedSpend', calculatedSpend_forecastedSpend - The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.

$sel:actualSpend:CalculatedSpend', calculatedSpend_actualSpend - The amount of cost, usage, RI units, or Savings Plans units that you used.

calculatedSpend_forecastedSpend :: Lens' CalculatedSpend (Maybe Spend) Source #

The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.

calculatedSpend_actualSpend :: Lens' CalculatedSpend Spend Source #

The amount of cost, usage, RI units, or Savings Plans units that you used.

CostTypes

data CostTypes Source #

The types of cost that are included in a COST budget, such as tax and subscriptions.

USAGE, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, and SAVINGS_PLANS_COVERAGE budgets don't have CostTypes.

See: newCostTypes smart constructor.

Constructors

CostTypes' 

Fields

Instances

Instances details
FromJSON CostTypes Source # 
Instance details

Defined in Amazonka.Budgets.Types.CostTypes

ToJSON CostTypes Source # 
Instance details

Defined in Amazonka.Budgets.Types.CostTypes

Generic CostTypes Source # 
Instance details

Defined in Amazonka.Budgets.Types.CostTypes

Associated Types

type Rep CostTypes :: Type -> Type #

Read CostTypes Source # 
Instance details

Defined in Amazonka.Budgets.Types.CostTypes

Show CostTypes Source # 
Instance details

Defined in Amazonka.Budgets.Types.CostTypes

NFData CostTypes Source # 
Instance details

Defined in Amazonka.Budgets.Types.CostTypes

Methods

rnf :: CostTypes -> () #

Eq CostTypes Source # 
Instance details

Defined in Amazonka.Budgets.Types.CostTypes

Hashable CostTypes Source # 
Instance details

Defined in Amazonka.Budgets.Types.CostTypes

type Rep CostTypes Source # 
Instance details

Defined in Amazonka.Budgets.Types.CostTypes

type Rep CostTypes = D1 ('MetaData "CostTypes" "Amazonka.Budgets.Types.CostTypes" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "CostTypes'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "includeCredit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "includeDiscount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "includeOtherSubscription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "includeRecurring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "includeRefund") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "includeSubscription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "includeSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "includeTax") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "includeUpfront") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "useAmortized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "useBlended") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))

newCostTypes :: CostTypes Source #

Create a value of CostTypes 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:includeCredit:CostTypes', costTypes_includeCredit - Specifies whether a budget includes credits.

The default value is true.

$sel:includeDiscount:CostTypes', costTypes_includeDiscount - Specifies whether a budget includes discounts.

The default value is true.

$sel:includeOtherSubscription:CostTypes', costTypes_includeOtherSubscription - Specifies whether a budget includes non-RI subscription costs.

The default value is true.

$sel:includeRecurring:CostTypes', costTypes_includeRecurring - Specifies whether a budget includes recurring fees such as monthly RI fees.

The default value is true.

$sel:includeRefund:CostTypes', costTypes_includeRefund - Specifies whether a budget includes refunds.

The default value is true.

$sel:includeSubscription:CostTypes', costTypes_includeSubscription - Specifies whether a budget includes subscriptions.

The default value is true.

$sel:includeSupport:CostTypes', costTypes_includeSupport - Specifies whether a budget includes support subscription fees.

The default value is true.

$sel:includeTax:CostTypes', costTypes_includeTax - Specifies whether a budget includes taxes.

The default value is true.

$sel:includeUpfront:CostTypes', costTypes_includeUpfront - Specifies whether a budget includes upfront RI costs.

The default value is true.

$sel:useAmortized:CostTypes', costTypes_useAmortized - Specifies whether a budget uses the amortized rate.

The default value is false.

$sel:useBlended:CostTypes', costTypes_useBlended - Specifies whether a budget uses a blended rate.

The default value is false.

costTypes_includeCredit :: Lens' CostTypes (Maybe Bool) Source #

Specifies whether a budget includes credits.

The default value is true.

costTypes_includeDiscount :: Lens' CostTypes (Maybe Bool) Source #

Specifies whether a budget includes discounts.

The default value is true.

costTypes_includeOtherSubscription :: Lens' CostTypes (Maybe Bool) Source #

Specifies whether a budget includes non-RI subscription costs.

The default value is true.

costTypes_includeRecurring :: Lens' CostTypes (Maybe Bool) Source #

Specifies whether a budget includes recurring fees such as monthly RI fees.

The default value is true.

costTypes_includeRefund :: Lens' CostTypes (Maybe Bool) Source #

Specifies whether a budget includes refunds.

The default value is true.

costTypes_includeSubscription :: Lens' CostTypes (Maybe Bool) Source #

Specifies whether a budget includes subscriptions.

The default value is true.

costTypes_includeSupport :: Lens' CostTypes (Maybe Bool) Source #

Specifies whether a budget includes support subscription fees.

The default value is true.

costTypes_includeTax :: Lens' CostTypes (Maybe Bool) Source #

Specifies whether a budget includes taxes.

The default value is true.

costTypes_includeUpfront :: Lens' CostTypes (Maybe Bool) Source #

Specifies whether a budget includes upfront RI costs.

The default value is true.

costTypes_useAmortized :: Lens' CostTypes (Maybe Bool) Source #

Specifies whether a budget uses the amortized rate.

The default value is false.

costTypes_useBlended :: Lens' CostTypes (Maybe Bool) Source #

Specifies whether a budget uses a blended rate.

The default value is false.

Definition

data Definition Source #

Specifies all of the type-specific parameters.

See: newDefinition smart constructor.

Constructors

Definition' 

Fields

Instances

Instances details
FromJSON Definition Source # 
Instance details

Defined in Amazonka.Budgets.Types.Definition

ToJSON Definition Source # 
Instance details

Defined in Amazonka.Budgets.Types.Definition

Generic Definition Source # 
Instance details

Defined in Amazonka.Budgets.Types.Definition

Associated Types

type Rep Definition :: Type -> Type #

Read Definition Source # 
Instance details

Defined in Amazonka.Budgets.Types.Definition

Show Definition Source # 
Instance details

Defined in Amazonka.Budgets.Types.Definition

NFData Definition Source # 
Instance details

Defined in Amazonka.Budgets.Types.Definition

Methods

rnf :: Definition -> () #

Eq Definition Source # 
Instance details

Defined in Amazonka.Budgets.Types.Definition

Hashable Definition Source # 
Instance details

Defined in Amazonka.Budgets.Types.Definition

type Rep Definition Source # 
Instance details

Defined in Amazonka.Budgets.Types.Definition

type Rep Definition = D1 ('MetaData "Definition" "Amazonka.Budgets.Types.Definition" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "Definition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iamActionDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IamActionDefinition)) :*: (S1 ('MetaSel ('Just "scpActionDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScpActionDefinition)) :*: S1 ('MetaSel ('Just "ssmActionDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SsmActionDefinition)))))

newDefinition :: Definition Source #

Create a value of Definition 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:iamActionDefinition:Definition', definition_iamActionDefinition - The Identity and Access Management (IAM) action definition details.

$sel:scpActionDefinition:Definition', definition_scpActionDefinition - The service control policies (SCPs) action definition details.

$sel:ssmActionDefinition:Definition', definition_ssmActionDefinition - The Amazon Web Services Systems Manager (SSM) action definition details.

definition_iamActionDefinition :: Lens' Definition (Maybe IamActionDefinition) Source #

The Identity and Access Management (IAM) action definition details.

definition_scpActionDefinition :: Lens' Definition (Maybe ScpActionDefinition) Source #

The service control policies (SCPs) action definition details.

definition_ssmActionDefinition :: Lens' Definition (Maybe SsmActionDefinition) Source #

The Amazon Web Services Systems Manager (SSM) action definition details.

HistoricalOptions

data HistoricalOptions Source #

The parameters that define or describe the historical data that your auto-adjusting budget is based on.

See: newHistoricalOptions smart constructor.

Constructors

HistoricalOptions' 

Fields

  • lookBackAvailablePeriods :: Maybe Natural

    The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current BudgetLimit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit.

    For example, if you set BudgetAdjustmentPeriod as 4 quarters, but your account had no cost data in the first quarter, then only the last three quarters are included in the calculation. In this scenario, LookBackAvailablePeriods returns 3.

    You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the BudgetAdjustmentPeriod and your historical cost data.

  • budgetAdjustmentPeriod :: Natural

    The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. The maximum value depends on the TimeUnit granularity of the budget:

    • For the DAILY granularity, the maximum value is 60.
    • For the MONTHLY granularity, the maximum value is 12.
    • For the QUARTERLY granularity, the maximum value is 4.
    • For the ANNUALLY granularity, the maximum value is 1.

Instances

Instances details
FromJSON HistoricalOptions Source # 
Instance details

Defined in Amazonka.Budgets.Types.HistoricalOptions

ToJSON HistoricalOptions Source # 
Instance details

Defined in Amazonka.Budgets.Types.HistoricalOptions

Generic HistoricalOptions Source # 
Instance details

Defined in Amazonka.Budgets.Types.HistoricalOptions

Associated Types

type Rep HistoricalOptions :: Type -> Type #

Read HistoricalOptions Source # 
Instance details

Defined in Amazonka.Budgets.Types.HistoricalOptions

Show HistoricalOptions Source # 
Instance details

Defined in Amazonka.Budgets.Types.HistoricalOptions

NFData HistoricalOptions Source # 
Instance details

Defined in Amazonka.Budgets.Types.HistoricalOptions

Methods

rnf :: HistoricalOptions -> () #

Eq HistoricalOptions Source # 
Instance details

Defined in Amazonka.Budgets.Types.HistoricalOptions

Hashable HistoricalOptions Source # 
Instance details

Defined in Amazonka.Budgets.Types.HistoricalOptions

type Rep HistoricalOptions Source # 
Instance details

Defined in Amazonka.Budgets.Types.HistoricalOptions

type Rep HistoricalOptions = D1 ('MetaData "HistoricalOptions" "Amazonka.Budgets.Types.HistoricalOptions" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "HistoricalOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lookBackAvailablePeriods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "budgetAdjustmentPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newHistoricalOptions Source #

Create a value of HistoricalOptions 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:lookBackAvailablePeriods:HistoricalOptions', historicalOptions_lookBackAvailablePeriods - The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current BudgetLimit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit.

For example, if you set BudgetAdjustmentPeriod as 4 quarters, but your account had no cost data in the first quarter, then only the last three quarters are included in the calculation. In this scenario, LookBackAvailablePeriods returns 3.

You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the BudgetAdjustmentPeriod and your historical cost data.

$sel:budgetAdjustmentPeriod:HistoricalOptions', historicalOptions_budgetAdjustmentPeriod - The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. The maximum value depends on the TimeUnit granularity of the budget:

  • For the DAILY granularity, the maximum value is 60.
  • For the MONTHLY granularity, the maximum value is 12.
  • For the QUARTERLY granularity, the maximum value is 4.
  • For the ANNUALLY granularity, the maximum value is 1.

historicalOptions_lookBackAvailablePeriods :: Lens' HistoricalOptions (Maybe Natural) Source #

The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current BudgetLimit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit.

For example, if you set BudgetAdjustmentPeriod as 4 quarters, but your account had no cost data in the first quarter, then only the last three quarters are included in the calculation. In this scenario, LookBackAvailablePeriods returns 3.

You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the BudgetAdjustmentPeriod and your historical cost data.

historicalOptions_budgetAdjustmentPeriod :: Lens' HistoricalOptions Natural Source #

The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. The maximum value depends on the TimeUnit granularity of the budget:

  • For the DAILY granularity, the maximum value is 60.
  • For the MONTHLY granularity, the maximum value is 12.
  • For the QUARTERLY granularity, the maximum value is 4.
  • For the ANNUALLY granularity, the maximum value is 1.

IamActionDefinition

data IamActionDefinition Source #

The Identity and Access Management (IAM) action definition details.

See: newIamActionDefinition smart constructor.

Constructors

IamActionDefinition' 

Fields

Instances

Instances details
FromJSON IamActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.IamActionDefinition

ToJSON IamActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.IamActionDefinition

Generic IamActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.IamActionDefinition

Associated Types

type Rep IamActionDefinition :: Type -> Type #

Read IamActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.IamActionDefinition

Show IamActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.IamActionDefinition

NFData IamActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.IamActionDefinition

Methods

rnf :: IamActionDefinition -> () #

Eq IamActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.IamActionDefinition

Hashable IamActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.IamActionDefinition

type Rep IamActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.IamActionDefinition

type Rep IamActionDefinition = D1 ('MetaData "IamActionDefinition" "Amazonka.Budgets.Types.IamActionDefinition" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "IamActionDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "roles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "users") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "policyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newIamActionDefinition Source #

Create a value of IamActionDefinition 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:groups:IamActionDefinition', iamActionDefinition_groups - A list of groups to be attached. There must be at least one group.

$sel:roles:IamActionDefinition', iamActionDefinition_roles - A list of roles to be attached. There must be at least one role.

$sel:users:IamActionDefinition', iamActionDefinition_users - A list of users to be attached. There must be at least one user.

$sel:policyArn:IamActionDefinition', iamActionDefinition_policyArn - The Amazon Resource Name (ARN) of the policy to be attached.

iamActionDefinition_groups :: Lens' IamActionDefinition (Maybe (NonEmpty Text)) Source #

A list of groups to be attached. There must be at least one group.

iamActionDefinition_roles :: Lens' IamActionDefinition (Maybe (NonEmpty Text)) Source #

A list of roles to be attached. There must be at least one role.

iamActionDefinition_users :: Lens' IamActionDefinition (Maybe (NonEmpty Text)) Source #

A list of users to be attached. There must be at least one user.

iamActionDefinition_policyArn :: Lens' IamActionDefinition Text Source #

The Amazon Resource Name (ARN) of the policy to be attached.

Notification

data Notification Source #

A notification that's associated with a budget. A budget can have up to ten notifications.

Each notification must have at least one subscriber. A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.

For example, if you have a budget for 200 dollars and you want to be notified when you go over 160 dollars, create a notification with the following parameters:

  • A notificationType of ACTUAL
  • A thresholdType of PERCENTAGE
  • A comparisonOperator of GREATER_THAN
  • A notification threshold of 80

See: newNotification smart constructor.

Constructors

Notification' 

Fields

  • notificationState :: Maybe NotificationState

    Specifies whether this notification is in alarm. If a budget notification is in the ALARM state, you passed the set threshold for the budget.

  • thresholdType :: Maybe ThresholdType

    The type of threshold for a notification. For ABSOLUTE_VALUE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend. For example, if you have a budget for 200 dollars and you have a PERCENTAGE threshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.

  • notificationType :: NotificationType

    Specifies whether the notification is for how much you have spent (ACTUAL) or for how much that you're forecasted to spend (FORECASTED).

  • comparisonOperator :: ComparisonOperator

    The comparison that's used for this notification.

  • threshold :: Double

    The threshold that's associated with a notification. Thresholds are always a percentage, and many customers find value being alerted between 50% - 200% of the budgeted amount. The maximum limit for your threshold is 1,000,000% above the budgeted amount.

Instances

Instances details
FromJSON Notification Source # 
Instance details

Defined in Amazonka.Budgets.Types.Notification

ToJSON Notification Source # 
Instance details

Defined in Amazonka.Budgets.Types.Notification

Generic Notification Source # 
Instance details

Defined in Amazonka.Budgets.Types.Notification

Associated Types

type Rep Notification :: Type -> Type #

Read Notification Source # 
Instance details

Defined in Amazonka.Budgets.Types.Notification

Show Notification Source # 
Instance details

Defined in Amazonka.Budgets.Types.Notification

NFData Notification Source # 
Instance details

Defined in Amazonka.Budgets.Types.Notification

Methods

rnf :: Notification -> () #

Eq Notification Source # 
Instance details

Defined in Amazonka.Budgets.Types.Notification

Hashable Notification Source # 
Instance details

Defined in Amazonka.Budgets.Types.Notification

type Rep Notification Source # 
Instance details

Defined in Amazonka.Budgets.Types.Notification

type Rep Notification = D1 ('MetaData "Notification" "Amazonka.Budgets.Types.Notification" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "Notification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "notificationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationState)) :*: S1 ('MetaSel ('Just "thresholdType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThresholdType))) :*: (S1 ('MetaSel ('Just "notificationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotificationType) :*: (S1 ('MetaSel ('Just "comparisonOperator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ComparisonOperator) :*: S1 ('MetaSel ('Just "threshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))))

newNotification Source #

Create a value of Notification 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:notificationState:Notification', notification_notificationState - Specifies whether this notification is in alarm. If a budget notification is in the ALARM state, you passed the set threshold for the budget.

$sel:thresholdType:Notification', notification_thresholdType - The type of threshold for a notification. For ABSOLUTE_VALUE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend. For example, if you have a budget for 200 dollars and you have a PERCENTAGE threshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.

$sel:notificationType:Notification', notification_notificationType - Specifies whether the notification is for how much you have spent (ACTUAL) or for how much that you're forecasted to spend (FORECASTED).

$sel:comparisonOperator:Notification', notification_comparisonOperator - The comparison that's used for this notification.

$sel:threshold:Notification', notification_threshold - The threshold that's associated with a notification. Thresholds are always a percentage, and many customers find value being alerted between 50% - 200% of the budgeted amount. The maximum limit for your threshold is 1,000,000% above the budgeted amount.

notification_notificationState :: Lens' Notification (Maybe NotificationState) Source #

Specifies whether this notification is in alarm. If a budget notification is in the ALARM state, you passed the set threshold for the budget.

notification_thresholdType :: Lens' Notification (Maybe ThresholdType) Source #

The type of threshold for a notification. For ABSOLUTE_VALUE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend. For example, if you have a budget for 200 dollars and you have a PERCENTAGE threshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.

notification_notificationType :: Lens' Notification NotificationType Source #

Specifies whether the notification is for how much you have spent (ACTUAL) or for how much that you're forecasted to spend (FORECASTED).

notification_comparisonOperator :: Lens' Notification ComparisonOperator Source #

The comparison that's used for this notification.

notification_threshold :: Lens' Notification Double Source #

The threshold that's associated with a notification. Thresholds are always a percentage, and many customers find value being alerted between 50% - 200% of the budgeted amount. The maximum limit for your threshold is 1,000,000% above the budgeted amount.

NotificationWithSubscribers

data NotificationWithSubscribers Source #

A notification with subscribers. A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.

See: newNotificationWithSubscribers smart constructor.

Constructors

NotificationWithSubscribers' 

Fields

Instances

Instances details
ToJSON NotificationWithSubscribers Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationWithSubscribers

Generic NotificationWithSubscribers Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationWithSubscribers

Associated Types

type Rep NotificationWithSubscribers :: Type -> Type #

Show NotificationWithSubscribers Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationWithSubscribers

NFData NotificationWithSubscribers Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationWithSubscribers

Eq NotificationWithSubscribers Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationWithSubscribers

Hashable NotificationWithSubscribers Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationWithSubscribers

type Rep NotificationWithSubscribers Source # 
Instance details

Defined in Amazonka.Budgets.Types.NotificationWithSubscribers

type Rep NotificationWithSubscribers = D1 ('MetaData "NotificationWithSubscribers" "Amazonka.Budgets.Types.NotificationWithSubscribers" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "NotificationWithSubscribers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Notification) :*: S1 ('MetaSel ('Just "subscribers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Subscriber))))

newNotificationWithSubscribers Source #

Create a value of NotificationWithSubscribers 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:notification:NotificationWithSubscribers', notificationWithSubscribers_notification - The notification that's associated with a budget.

$sel:subscribers:NotificationWithSubscribers', notificationWithSubscribers_subscribers - A list of subscribers who are subscribed to this notification.

notificationWithSubscribers_subscribers :: Lens' NotificationWithSubscribers (NonEmpty Subscriber) Source #

A list of subscribers who are subscribed to this notification.

ScpActionDefinition

data ScpActionDefinition Source #

The service control policies (SCP) action definition details.

See: newScpActionDefinition smart constructor.

Constructors

ScpActionDefinition' 

Fields

Instances

Instances details
FromJSON ScpActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.ScpActionDefinition

ToJSON ScpActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.ScpActionDefinition

Generic ScpActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.ScpActionDefinition

Associated Types

type Rep ScpActionDefinition :: Type -> Type #

Read ScpActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.ScpActionDefinition

Show ScpActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.ScpActionDefinition

NFData ScpActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.ScpActionDefinition

Methods

rnf :: ScpActionDefinition -> () #

Eq ScpActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.ScpActionDefinition

Hashable ScpActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.ScpActionDefinition

type Rep ScpActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.ScpActionDefinition

type Rep ScpActionDefinition = D1 ('MetaData "ScpActionDefinition" "Amazonka.Budgets.Types.ScpActionDefinition" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "ScpActionDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "targetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newScpActionDefinition Source #

Create a value of ScpActionDefinition 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:policyId:ScpActionDefinition', scpActionDefinition_policyId - The policy ID attached.

$sel:targetIds:ScpActionDefinition', scpActionDefinition_targetIds - A list of target IDs.

Spend

data Spend Source #

The amount of cost or usage that's measured for a budget.

For example, a Spend for 3 GB of S3 usage has the following parameters:

  • An Amount of 3
  • A unit of GB

See: newSpend smart constructor.

Constructors

Spend' 

Fields

  • amount :: Text

    The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.

  • unit :: Text

    The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP.

Instances

Instances details
FromJSON Spend Source # 
Instance details

Defined in Amazonka.Budgets.Types.Spend

ToJSON Spend Source # 
Instance details

Defined in Amazonka.Budgets.Types.Spend

Generic Spend Source # 
Instance details

Defined in Amazonka.Budgets.Types.Spend

Associated Types

type Rep Spend :: Type -> Type #

Methods

from :: Spend -> Rep Spend x #

to :: Rep Spend x -> Spend #

Read Spend Source # 
Instance details

Defined in Amazonka.Budgets.Types.Spend

Show Spend Source # 
Instance details

Defined in Amazonka.Budgets.Types.Spend

Methods

showsPrec :: Int -> Spend -> ShowS #

show :: Spend -> String #

showList :: [Spend] -> ShowS #

NFData Spend Source # 
Instance details

Defined in Amazonka.Budgets.Types.Spend

Methods

rnf :: Spend -> () #

Eq Spend Source # 
Instance details

Defined in Amazonka.Budgets.Types.Spend

Methods

(==) :: Spend -> Spend -> Bool #

(/=) :: Spend -> Spend -> Bool #

Hashable Spend Source # 
Instance details

Defined in Amazonka.Budgets.Types.Spend

Methods

hashWithSalt :: Int -> Spend -> Int #

hash :: Spend -> Int #

type Rep Spend Source # 
Instance details

Defined in Amazonka.Budgets.Types.Spend

type Rep Spend = D1 ('MetaData "Spend" "Amazonka.Budgets.Types.Spend" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "Spend'" 'PrefixI 'True) (S1 ('MetaSel ('Just "amount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSpend Source #

Create a value of Spend 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:amount:Spend', spend_amount - The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.

$sel:unit:Spend', spend_unit - The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP.

spend_amount :: Lens' Spend Text Source #

The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.

spend_unit :: Lens' Spend Text Source #

The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP.

SsmActionDefinition

data SsmActionDefinition Source #

The Amazon Web Services Systems Manager (SSM) action definition details.

See: newSsmActionDefinition smart constructor.

Constructors

SsmActionDefinition' 

Fields

Instances

Instances details
FromJSON SsmActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.SsmActionDefinition

ToJSON SsmActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.SsmActionDefinition

Generic SsmActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.SsmActionDefinition

Associated Types

type Rep SsmActionDefinition :: Type -> Type #

Read SsmActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.SsmActionDefinition

Show SsmActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.SsmActionDefinition

NFData SsmActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.SsmActionDefinition

Methods

rnf :: SsmActionDefinition -> () #

Eq SsmActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.SsmActionDefinition

Hashable SsmActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.SsmActionDefinition

type Rep SsmActionDefinition Source # 
Instance details

Defined in Amazonka.Budgets.Types.SsmActionDefinition

type Rep SsmActionDefinition = D1 ('MetaData "SsmActionDefinition" "Amazonka.Budgets.Types.SsmActionDefinition" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "SsmActionDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actionSubType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionSubType) :*: (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "instanceIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))))

newSsmActionDefinition Source #

Create a value of SsmActionDefinition 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:actionSubType:SsmActionDefinition', ssmActionDefinition_actionSubType - The action subType.

$sel:region:SsmActionDefinition', ssmActionDefinition_region - The Region to run the SSM document.

$sel:instanceIds:SsmActionDefinition', ssmActionDefinition_instanceIds - The EC2 and RDS instance IDs.

ssmActionDefinition_region :: Lens' SsmActionDefinition Text Source #

The Region to run the SSM document.

Subscriber

data Subscriber Source #

The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon SNS topic or an email address.

For example, an email subscriber has the following parameters:

  • A subscriptionType of EMAIL
  • An address of example@example.com

See: newSubscriber smart constructor.

Constructors

Subscriber' 

Fields

  • subscriptionType :: SubscriptionType

    The type of notification that Amazon Web Services sends to a subscriber.

  • address :: Sensitive Text

    The address that Amazon Web Services sends budget notifications to, either an SNS topic or an email.

    When you create a subscriber, the value of Address can't contain line breaks.

Instances

Instances details
FromJSON Subscriber Source # 
Instance details

Defined in Amazonka.Budgets.Types.Subscriber

ToJSON Subscriber Source # 
Instance details

Defined in Amazonka.Budgets.Types.Subscriber

Generic Subscriber Source # 
Instance details

Defined in Amazonka.Budgets.Types.Subscriber

Associated Types

type Rep Subscriber :: Type -> Type #

Show Subscriber Source # 
Instance details

Defined in Amazonka.Budgets.Types.Subscriber

NFData Subscriber Source # 
Instance details

Defined in Amazonka.Budgets.Types.Subscriber

Methods

rnf :: Subscriber -> () #

Eq Subscriber Source # 
Instance details

Defined in Amazonka.Budgets.Types.Subscriber

Hashable Subscriber Source # 
Instance details

Defined in Amazonka.Budgets.Types.Subscriber

type Rep Subscriber Source # 
Instance details

Defined in Amazonka.Budgets.Types.Subscriber

type Rep Subscriber = D1 ('MetaData "Subscriber" "Amazonka.Budgets.Types.Subscriber" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "Subscriber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscriptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SubscriptionType) :*: S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))

newSubscriber Source #

Create a value of Subscriber 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:subscriptionType:Subscriber', subscriber_subscriptionType - The type of notification that Amazon Web Services sends to a subscriber.

$sel:address:Subscriber', subscriber_address - The address that Amazon Web Services sends budget notifications to, either an SNS topic or an email.

When you create a subscriber, the value of Address can't contain line breaks.

subscriber_subscriptionType :: Lens' Subscriber SubscriptionType Source #

The type of notification that Amazon Web Services sends to a subscriber.

subscriber_address :: Lens' Subscriber Text Source #

The address that Amazon Web Services sends budget notifications to, either an SNS topic or an email.

When you create a subscriber, the value of Address can't contain line breaks.

TimePeriod

data TimePeriod Source #

The period of time that's covered by a budget. The period has a start date and an end date. The start date must come before the end date. There are no restrictions on the end date.

See: newTimePeriod smart constructor.

Constructors

TimePeriod' 

Fields

  • end :: Maybe POSIX

    The end date for a budget. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.

    After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers. You can change your end date with the UpdateBudget operation.

  • start :: Maybe POSIX

    The start date for a budget. If you created your budget and didn't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, chose DAILY, and didn't set a start date, Amazon Web Services set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, Amazon Web Services set your start date to 01/01/18 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.

    You can change your start date with the UpdateBudget operation.

Instances

Instances details
FromJSON TimePeriod Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimePeriod

ToJSON TimePeriod Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimePeriod

Generic TimePeriod Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimePeriod

Associated Types

type Rep TimePeriod :: Type -> Type #

Read TimePeriod Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimePeriod

Show TimePeriod Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimePeriod

NFData TimePeriod Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimePeriod

Methods

rnf :: TimePeriod -> () #

Eq TimePeriod Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimePeriod

Hashable TimePeriod Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimePeriod

type Rep TimePeriod Source # 
Instance details

Defined in Amazonka.Budgets.Types.TimePeriod

type Rep TimePeriod = D1 ('MetaData "TimePeriod" "Amazonka.Budgets.Types.TimePeriod" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "TimePeriod'" 'PrefixI 'True) (S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))

newTimePeriod :: TimePeriod Source #

Create a value of TimePeriod 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:end:TimePeriod', timePeriod_end - The end date for a budget. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.

After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers. You can change your end date with the UpdateBudget operation.

$sel:start:TimePeriod', timePeriod_start - The start date for a budget. If you created your budget and didn't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, chose DAILY, and didn't set a start date, Amazon Web Services set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, Amazon Web Services set your start date to 01/01/18 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.

You can change your start date with the UpdateBudget operation.

timePeriod_end :: Lens' TimePeriod (Maybe UTCTime) Source #

The end date for a budget. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.

After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers. You can change your end date with the UpdateBudget operation.

timePeriod_start :: Lens' TimePeriod (Maybe UTCTime) Source #

The start date for a budget. If you created your budget and didn't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, chose DAILY, and didn't set a start date, Amazon Web Services set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, Amazon Web Services set your start date to 01/01/18 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.

You can change your start date with the UpdateBudget operation.