amazonka-budgets-1.6.1: Amazon Budgets SDK.

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

Network.AWS.Budgets

Contents

Description

Budgets enable you to plan your service usage, service costs, and your RI utilization. You can also track how close your plan is to your budgeted amount or to the free tier limits. Budgets provide you with a quick way to see your usage-to-date and current estimated charges from AWS and to see how much your predicted usage accrues in charges by the end of the month. Budgets also compare current estimates and charges to the amount that you indicated you want to use or spend and lets you see how much of your budget has been used. AWS updates your budget status several times a day. Budgets track your unblended costs, subscriptions, and refunds. You can create the following types of budgets:

  • Cost budgets allow you to say how much you want to spend on a service.
  • Usage budgets allow you to say how many hours you want to use for one or more services.
  • RI utilization budgets allow you to define a utilization threshold and receive alerts when RIs are tracking below that threshold.

You can create up to 20,000 budgets per AWS master account. Your first two budgets are free of charge. Each additional budget costs $0.02 per day. You can set up optional notifications that warn you if you exceed, or are forecasted to exceed, your budgeted amount. You can have notifications sent to an Amazon SNS topic, to an email address, or to both. For more information, see Creating an Amazon SNS Topic for Budget Notifications . AWS Free Tier usage alerts via AWS Budgets are provided for you, and do not count toward your budget limits.

Service Endpoint

The AWS Budgets API provides the following endpoint:

For information about costs associated with the AWS Budgets API, see AWS Cost Management Pricing .

Synopsis

Service Configuration

budgets :: Service #

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

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by Budgets.

InvalidParameterException

_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError #

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

InternalErrorException

_InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError #

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

ExpiredNextTokenException

_ExpiredNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError #

The pagination token expired.

NotFoundException

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError #

We can’t locate the resource that you specified.

InvalidNextTokenException

_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError #

The pagination token is invalid.

DuplicateRecordException

_DuplicateRecordException :: AsError a => Getting (First ServiceError) a ServiceError #

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

CreationLimitExceededException

_CreationLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError #

You've exceeded the notification or subscriber limit.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DescribeSubscribersForNotification

DescribeNotificationsForBudget

DescribeBudgets

CreateSubscriber

UpdateBudget

DeleteBudget

DeleteNotification

UpdateNotification

DescribeBudget

UpdateSubscriber

DeleteSubscriber

CreateBudget

CreateNotification

Types

BudgetType

data BudgetType #

The type of a budget. It should be COST, USAGE, or RI_UTILIZATION.

Instances
Bounded BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Enum BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Eq BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Data BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BudgetType -> c BudgetType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BudgetType #

toConstr :: BudgetType -> Constr #

dataTypeOf :: BudgetType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BudgetType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BudgetType) #

gmapT :: (forall b. Data b => b -> b) -> BudgetType -> BudgetType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BudgetType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BudgetType -> r #

gmapQ :: (forall d. Data d => d -> u) -> BudgetType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BudgetType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BudgetType -> m BudgetType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BudgetType -> m BudgetType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BudgetType -> m BudgetType #

Ord BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Read BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Show BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Generic BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Associated Types

type Rep BudgetType :: Type -> Type #

Hashable BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToJSON BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

FromJSON BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToHeader BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToQuery BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToByteString BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

FromText BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToText BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

toText :: BudgetType -> Text #

NFData BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

rnf :: BudgetType -> () #

type Rep BudgetType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

type Rep BudgetType = D1 (MetaData "BudgetType" "Network.AWS.Budgets.Types.Sum" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) ((C1 (MetaCons "Cost" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "RiCoverage" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "RiUtilization" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Usage" PrefixI False) (U1 :: Type -> Type)))

ComparisonOperator

data ComparisonOperator #

The comparison operator of a notification. Currently we support less than, equal to and greater than.

Constructors

EqualTo 
GreaterThan 
LessThan 
Instances
Bounded ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Enum ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Eq ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Data ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ComparisonOperator -> c ComparisonOperator #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ComparisonOperator #

toConstr :: ComparisonOperator -> Constr #

dataTypeOf :: ComparisonOperator -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ComparisonOperator) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ComparisonOperator) #

gmapT :: (forall b. Data b => b -> b) -> ComparisonOperator -> ComparisonOperator #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ComparisonOperator -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ComparisonOperator -> r #

gmapQ :: (forall d. Data d => d -> u) -> ComparisonOperator -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ComparisonOperator -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ComparisonOperator -> m ComparisonOperator #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ComparisonOperator -> m ComparisonOperator #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ComparisonOperator -> m ComparisonOperator #

Ord ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Read ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Show ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Generic ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Associated Types

type Rep ComparisonOperator :: Type -> Type #

Hashable ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToJSON ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

FromJSON ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToHeader ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToQuery ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToByteString ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

FromText ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToText ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

NFData ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

rnf :: ComparisonOperator -> () #

type Rep ComparisonOperator # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

type Rep ComparisonOperator = D1 (MetaData "ComparisonOperator" "Network.AWS.Budgets.Types.Sum" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) (C1 (MetaCons "EqualTo" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "GreaterThan" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LessThan" PrefixI False) (U1 :: Type -> Type)))

NotificationType

data NotificationType #

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

Constructors

Actual 
Forecasted 
Instances
Bounded NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Enum NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Eq NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Data NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NotificationType -> c NotificationType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NotificationType #

toConstr :: NotificationType -> Constr #

dataTypeOf :: NotificationType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NotificationType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NotificationType) #

gmapT :: (forall b. Data b => b -> b) -> NotificationType -> NotificationType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NotificationType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NotificationType -> r #

gmapQ :: (forall d. Data d => d -> u) -> NotificationType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NotificationType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NotificationType -> m NotificationType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NotificationType -> m NotificationType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NotificationType -> m NotificationType #

Ord NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Read NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Show NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Generic NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Associated Types

type Rep NotificationType :: Type -> Type #

Hashable NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToJSON NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

FromJSON NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToHeader NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToQuery NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToByteString NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

FromText NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToText NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

NFData NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

rnf :: NotificationType -> () #

type Rep NotificationType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

type Rep NotificationType = D1 (MetaData "NotificationType" "Network.AWS.Budgets.Types.Sum" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) (C1 (MetaCons "Actual" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Forecasted" PrefixI False) (U1 :: Type -> Type))

SubscriptionType

data SubscriptionType #

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

Constructors

Email 
SNS 
Instances
Bounded SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Enum SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Eq SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Data SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SubscriptionType -> c SubscriptionType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SubscriptionType #

toConstr :: SubscriptionType -> Constr #

dataTypeOf :: SubscriptionType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SubscriptionType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SubscriptionType) #

gmapT :: (forall b. Data b => b -> b) -> SubscriptionType -> SubscriptionType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SubscriptionType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SubscriptionType -> r #

gmapQ :: (forall d. Data d => d -> u) -> SubscriptionType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SubscriptionType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SubscriptionType -> m SubscriptionType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SubscriptionType -> m SubscriptionType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SubscriptionType -> m SubscriptionType #

Ord SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Read SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Show SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Generic SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Associated Types

type Rep SubscriptionType :: Type -> Type #

Hashable SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToJSON SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

FromJSON SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToHeader SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToQuery SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToByteString SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

FromText SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToText SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

NFData SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

rnf :: SubscriptionType -> () #

type Rep SubscriptionType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

type Rep SubscriptionType = D1 (MetaData "SubscriptionType" "Network.AWS.Budgets.Types.Sum" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) (C1 (MetaCons "Email" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SNS" PrefixI False) (U1 :: Type -> Type))

ThresholdType

data ThresholdType #

The type of threshold for a notification. It can be PERCENTAGE or ABSOLUTE_VALUE.

Constructors

AbsoluteValue 
Percentage 
Instances
Bounded ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Enum ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Eq ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Data ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ThresholdType -> c ThresholdType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ThresholdType #

toConstr :: ThresholdType -> Constr #

dataTypeOf :: ThresholdType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ThresholdType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ThresholdType) #

gmapT :: (forall b. Data b => b -> b) -> ThresholdType -> ThresholdType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ThresholdType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ThresholdType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ThresholdType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ThresholdType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ThresholdType -> m ThresholdType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ThresholdType -> m ThresholdType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ThresholdType -> m ThresholdType #

Ord ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Read ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Show ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Generic ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Associated Types

type Rep ThresholdType :: Type -> Type #

Hashable ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToJSON ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

FromJSON ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToHeader ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToQuery ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToByteString ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

FromText ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToText ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

toText :: ThresholdType -> Text #

NFData ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

rnf :: ThresholdType -> () #

type Rep ThresholdType # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

type Rep ThresholdType = D1 (MetaData "ThresholdType" "Network.AWS.Budgets.Types.Sum" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) (C1 (MetaCons "AbsoluteValue" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Percentage" PrefixI False) (U1 :: Type -> Type))

TimeUnit

data TimeUnit #

The time unit of the budget. e.g. MONTHLY, QUARTERLY, etc.

Constructors

Annually 
Daily 
Monthly 
Quarterly 
Instances
Bounded TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Enum TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Eq TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Data TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TimeUnit -> c TimeUnit #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TimeUnit #

toConstr :: TimeUnit -> Constr #

dataTypeOf :: TimeUnit -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TimeUnit) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TimeUnit) #

gmapT :: (forall b. Data b => b -> b) -> TimeUnit -> TimeUnit #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TimeUnit -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TimeUnit -> r #

gmapQ :: (forall d. Data d => d -> u) -> TimeUnit -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TimeUnit -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TimeUnit -> m TimeUnit #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeUnit -> m TimeUnit #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeUnit -> m TimeUnit #

Ord TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Read TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Show TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Generic TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Associated Types

type Rep TimeUnit :: Type -> Type #

Methods

from :: TimeUnit -> Rep TimeUnit x #

to :: Rep TimeUnit x -> TimeUnit #

Hashable TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

hashWithSalt :: Int -> TimeUnit -> Int #

hash :: TimeUnit -> Int #

ToJSON TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

FromJSON TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToHeader TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

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

ToQuery TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToByteString TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

toBS :: TimeUnit -> ByteString #

FromText TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

ToText TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

toText :: TimeUnit -> Text #

NFData TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

Methods

rnf :: TimeUnit -> () #

type Rep TimeUnit # 
Instance details

Defined in Network.AWS.Budgets.Types.Sum

type Rep TimeUnit = D1 (MetaData "TimeUnit" "Network.AWS.Budgets.Types.Sum" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) ((C1 (MetaCons "Annually" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Daily" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Monthly" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Quarterly" PrefixI False) (U1 :: Type -> Type)))

Budget

data Budget #

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 .

The ARN pattern for a budget is: arn:aws:budgetservice::AccountId:budget/budgetName

See: budget smart constructor.

Instances
Eq Budget # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

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

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

Data Budget # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Budget -> c Budget #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Budget #

toConstr :: Budget -> Constr #

dataTypeOf :: Budget -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Budget) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Budget) #

gmapT :: (forall b. Data b => b -> b) -> Budget -> Budget #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Budget -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Budget -> r #

gmapQ :: (forall d. Data d => d -> u) -> Budget -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Budget -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Budget -> m Budget #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Budget -> m Budget #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Budget -> m Budget #

Read Budget # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Show Budget # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Generic Budget # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Associated Types

type Rep Budget :: Type -> Type #

Methods

from :: Budget -> Rep Budget x #

to :: Rep Budget x -> Budget #

Hashable Budget # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

hashWithSalt :: Int -> Budget -> Int #

hash :: Budget -> Int #

ToJSON Budget # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

FromJSON Budget # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

NFData Budget # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

rnf :: Budget -> () #

type Rep Budget # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

budget #

Creates a value of Budget with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • bCalculatedSpend - The actual and forecasted cost or usage being tracked by a budget.
  • bBudgetLimit - The total amount of cost, usage, or RI utilization that you want to track with your budget. BudgetLimit is required for cost or usage budgets, but optional for RI utilization budgets. RI utilization budgets default to the only valid value for RI utilization budgets, which is 100 .
  • bTimePeriod - The period of time covered by a budget. 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. If you created your budget and didn't specify a start date, AWS defaults to the start of your chosen time period (i.e. DAILY, MONTHLY, QUARTERLY, ANNUALLY). For example, if you created your budget on January 24th 2018, chose DAILY , and didn't set a start date, AWS set your start date to 012418 00:00 UTC . If you chose MONTHLY , AWS set your start date to 010118 00:00 UTC . If you didn't specify an end date, AWS set your end date to 061587 00:00 UTC . The defaults are the same for the AWS Billing and Cost Management console and the API. You can change either date with the UpdateBudget operation. After the end date, AWS deletes the budget and all associated notifications and subscribers.
  • bCostTypes - The types of costs included in this budget.
  • bCostFilters - The cost filters applied to a budget, such as service or region.
  • bBudgetName - The name of a budget. Unique within accounts. : and @ characters are not allowed in the BudgetName@ .
  • bTimeUnit - The length of time until a budget resets the actual and forecasted spend.
  • bBudgetType - Whether this budget tracks monetary costs, usage, or RI utilization.

bCalculatedSpend :: Lens' Budget (Maybe CalculatedSpend) #

The actual and forecasted cost or usage being tracked by a budget.

bBudgetLimit :: Lens' Budget (Maybe Spend) #

The total amount of cost, usage, or RI utilization that you want to track with your budget. BudgetLimit is required for cost or usage budgets, but optional for RI utilization budgets. RI utilization budgets default to the only valid value for RI utilization budgets, which is 100 .

bTimePeriod :: Lens' Budget (Maybe TimePeriod) #

The period of time covered by a budget. 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. If you created your budget and didn't specify a start date, AWS defaults to the start of your chosen time period (i.e. DAILY, MONTHLY, QUARTERLY, ANNUALLY). For example, if you created your budget on January 24th 2018, chose DAILY , and didn't set a start date, AWS set your start date to 012418 00:00 UTC . If you chose MONTHLY , AWS set your start date to 010118 00:00 UTC . If you didn't specify an end date, AWS set your end date to 061587 00:00 UTC . The defaults are the same for the AWS Billing and Cost Management console and the API. You can change either date with the UpdateBudget operation. After the end date, AWS deletes the budget and all associated notifications and subscribers.

bCostTypes :: Lens' Budget (Maybe CostTypes) #

The types of costs included in this budget.

bCostFilters :: Lens' Budget (HashMap Text [Text]) #

The cost filters applied to a budget, such as service or region.

bBudgetName :: Lens' Budget Text #

The name of a budget. Unique within accounts. : and @ characters are not allowed in the BudgetName@ .

bTimeUnit :: Lens' Budget TimeUnit #

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

bBudgetType :: Lens' Budget BudgetType #

Whether this budget tracks monetary costs, usage, or RI utilization.

CalculatedSpend

data CalculatedSpend #

The spend objects associated with this budget. The actualSpend tracks how much you've used, cost, usage, or RI units, and the forecastedSpend tracks how much you are predicted to spend if your current usage remains steady.

For example, if it is 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: calculatedSpend smart constructor.

Instances
Eq CalculatedSpend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Data CalculatedSpend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CalculatedSpend -> c CalculatedSpend #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CalculatedSpend #

toConstr :: CalculatedSpend -> Constr #

dataTypeOf :: CalculatedSpend -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CalculatedSpend) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CalculatedSpend) #

gmapT :: (forall b. Data b => b -> b) -> CalculatedSpend -> CalculatedSpend #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CalculatedSpend -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CalculatedSpend -> r #

gmapQ :: (forall d. Data d => d -> u) -> CalculatedSpend -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CalculatedSpend -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CalculatedSpend -> m CalculatedSpend #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CalculatedSpend -> m CalculatedSpend #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CalculatedSpend -> m CalculatedSpend #

Read CalculatedSpend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Show CalculatedSpend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Generic CalculatedSpend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Associated Types

type Rep CalculatedSpend :: Type -> Type #

Hashable CalculatedSpend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

ToJSON CalculatedSpend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

FromJSON CalculatedSpend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

NFData CalculatedSpend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

rnf :: CalculatedSpend -> () #

type Rep CalculatedSpend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

type Rep CalculatedSpend = D1 (MetaData "CalculatedSpend" "Network.AWS.Budgets.Types.Product" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) (C1 (MetaCons "CalculatedSpend'" PrefixI True) (S1 (MetaSel (Just "_csForecastedSpend") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Spend)) :*: S1 (MetaSel (Just "_csActualSpend") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Spend)))

calculatedSpend #

Creates a value of CalculatedSpend with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • csForecastedSpend - The amount of cost, usage, or RI units that you are forecasted to use.
  • csActualSpend - The amount of cost, usage, or RI units that you have used.

csForecastedSpend :: Lens' CalculatedSpend (Maybe Spend) #

The amount of cost, usage, or RI units that you are forecasted to use.

csActualSpend :: Lens' CalculatedSpend Spend #

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

CostTypes

data CostTypes #

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

See: costTypes smart constructor.

Instances
Eq CostTypes # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Data CostTypes # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CostTypes -> c CostTypes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CostTypes #

toConstr :: CostTypes -> Constr #

dataTypeOf :: CostTypes -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CostTypes) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CostTypes) #

gmapT :: (forall b. Data b => b -> b) -> CostTypes -> CostTypes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CostTypes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CostTypes -> r #

gmapQ :: (forall d. Data d => d -> u) -> CostTypes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CostTypes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CostTypes -> m CostTypes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CostTypes -> m CostTypes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CostTypes -> m CostTypes #

Read CostTypes # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Show CostTypes # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Generic CostTypes # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Associated Types

type Rep CostTypes :: Type -> Type #

Hashable CostTypes # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

ToJSON CostTypes # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

FromJSON CostTypes # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

NFData CostTypes # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

rnf :: CostTypes -> () #

type Rep CostTypes # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

type Rep CostTypes = D1 (MetaData "CostTypes" "Network.AWS.Budgets.Types.Product" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) (C1 (MetaCons "CostTypes'" PrefixI True) (((S1 (MetaSel (Just "_ctUseAmortized") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ctIncludeRecurring") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_ctUseBlended") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_ctIncludeSupport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ctIncludeDiscount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "_ctIncludeSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_ctIncludeRefund") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ctIncludeUpfront") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "_ctIncludeOtherSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_ctIncludeTax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ctIncludeCredit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))))

costTypes :: CostTypes #

Creates a value of CostTypes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ctUseAmortized - Specifies whether a budget uses the amortized rate. The default value is false .
  • ctIncludeRecurring - Specifies whether a budget includes recurring fees such as monthly RI fees. The default value is true .
  • ctUseBlended - Specifies whether a budget uses blended rate. The default value is false .
  • ctIncludeSupport - Specifies whether a budget includes support subscription fees. The default value is true .
  • ctIncludeDiscount - Specifies whether a budget includes discounts. The default value is true .
  • ctIncludeSubscription - Specifies whether a budget includes subscriptions. The default value is true .
  • ctIncludeRefund - Specifies whether a budget includes refunds. The default value is true .
  • ctIncludeUpfront - Specifies whether a budget includes upfront RI costs. The default value is true .
  • ctIncludeOtherSubscription - Specifies whether a budget includes non-RI subscription costs. The default value is true .
  • ctIncludeTax - Specifies whether a budget includes taxes. The default value is true .
  • ctIncludeCredit - Specifies whether a budget includes credits. The default value is true .

ctUseAmortized :: Lens' CostTypes (Maybe Bool) #

Specifies whether a budget uses the amortized rate. The default value is false .

ctIncludeRecurring :: Lens' CostTypes (Maybe Bool) #

Specifies whether a budget includes recurring fees such as monthly RI fees. The default value is true .

ctUseBlended :: Lens' CostTypes (Maybe Bool) #

Specifies whether a budget uses blended rate. The default value is false .

ctIncludeSupport :: Lens' CostTypes (Maybe Bool) #

Specifies whether a budget includes support subscription fees. The default value is true .

ctIncludeDiscount :: Lens' CostTypes (Maybe Bool) #

Specifies whether a budget includes discounts. The default value is true .

ctIncludeSubscription :: Lens' CostTypes (Maybe Bool) #

Specifies whether a budget includes subscriptions. The default value is true .

ctIncludeRefund :: Lens' CostTypes (Maybe Bool) #

Specifies whether a budget includes refunds. The default value is true .

ctIncludeUpfront :: Lens' CostTypes (Maybe Bool) #

Specifies whether a budget includes upfront RI costs. The default value is true .

ctIncludeOtherSubscription :: Lens' CostTypes (Maybe Bool) #

Specifies whether a budget includes non-RI subscription costs. The default value is true .

ctIncludeTax :: Lens' CostTypes (Maybe Bool) #

Specifies whether a budget includes taxes. The default value is true .

ctIncludeCredit :: Lens' CostTypes (Maybe Bool) #

Specifies whether a budget includes credits. The default value is true .

Notification

data Notification #

A notification associated with a budget. A budget can have up to five notifications.

Each notification must have at least one subscriber. A notification can have one SNS subscriber and up to ten 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 comparisonOperator of GREATER_THAN
  • A notification threshold of 80

See: notification smart constructor.

Instances
Eq Notification # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Data Notification # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Notification -> c Notification #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Notification #

toConstr :: Notification -> Constr #

dataTypeOf :: Notification -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Notification) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Notification) #

gmapT :: (forall b. Data b => b -> b) -> Notification -> Notification #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Notification -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Notification -> r #

gmapQ :: (forall d. Data d => d -> u) -> Notification -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Notification -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Notification -> m Notification #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Notification -> m Notification #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Notification -> m Notification #

Read Notification # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Show Notification # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Generic Notification # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Associated Types

type Rep Notification :: Type -> Type #

Hashable Notification # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

ToJSON Notification # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

FromJSON Notification # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

NFData Notification # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

rnf :: Notification -> () #

type Rep Notification # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

type Rep Notification = D1 (MetaData "Notification" "Network.AWS.Budgets.Types.Product" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) (C1 (MetaCons "Notification'" PrefixI True) ((S1 (MetaSel (Just "_nThresholdType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThresholdType)) :*: S1 (MetaSel (Just "_nNotificationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 NotificationType)) :*: (S1 (MetaSel (Just "_nComparisonOperator") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ComparisonOperator) :*: S1 (MetaSel (Just "_nThreshold") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Double))))

notification #

Creates a value of Notification with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • nThresholdType - The type of threshold for a notification. For ACTUAL thresholds, AWS notifies you when you go over the threshold, and for FORECASTED thresholds AWS notifies you when you are forecasted to go over the threshold.
  • nNotificationType - Whether the notification is for how much you have spent (ACTUAL ) or for how much you are forecasted to spend (FORECASTED ).
  • nComparisonOperator - The comparison used for this notification.
  • nThreshold - The threshold associated with a notification. Thresholds are always a percentage.

nThresholdType :: Lens' Notification (Maybe ThresholdType) #

The type of threshold for a notification. For ACTUAL thresholds, AWS notifies you when you go over the threshold, and for FORECASTED thresholds AWS notifies you when you are forecasted to go over the threshold.

nNotificationType :: Lens' Notification NotificationType #

Whether the notification is for how much you have spent (ACTUAL ) or for how much you are forecasted to spend (FORECASTED ).

nComparisonOperator :: Lens' Notification ComparisonOperator #

The comparison used for this notification.

nThreshold :: Lens' Notification Double #

The threshold associated with a notification. Thresholds are always a percentage.

NotificationWithSubscribers

data NotificationWithSubscribers #

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

See: notificationWithSubscribers smart constructor.

Instances
Eq NotificationWithSubscribers # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Data NotificationWithSubscribers # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NotificationWithSubscribers -> c NotificationWithSubscribers #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NotificationWithSubscribers #

toConstr :: NotificationWithSubscribers -> Constr #

dataTypeOf :: NotificationWithSubscribers -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NotificationWithSubscribers) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NotificationWithSubscribers) #

gmapT :: (forall b. Data b => b -> b) -> NotificationWithSubscribers -> NotificationWithSubscribers #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NotificationWithSubscribers -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NotificationWithSubscribers -> r #

gmapQ :: (forall d. Data d => d -> u) -> NotificationWithSubscribers -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NotificationWithSubscribers -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NotificationWithSubscribers -> m NotificationWithSubscribers #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NotificationWithSubscribers -> m NotificationWithSubscribers #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NotificationWithSubscribers -> m NotificationWithSubscribers #

Read NotificationWithSubscribers # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Show NotificationWithSubscribers # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Generic NotificationWithSubscribers # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Associated Types

type Rep NotificationWithSubscribers :: Type -> Type #

Hashable NotificationWithSubscribers # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

ToJSON NotificationWithSubscribers # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

NFData NotificationWithSubscribers # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

type Rep NotificationWithSubscribers # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

type Rep NotificationWithSubscribers = D1 (MetaData "NotificationWithSubscribers" "Network.AWS.Budgets.Types.Product" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) (C1 (MetaCons "NotificationWithSubscribers'" PrefixI True) (S1 (MetaSel (Just "_nwsNotification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Notification) :*: S1 (MetaSel (Just "_nwsSubscribers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 Subscriber))))

notificationWithSubscribers #

Creates a value of NotificationWithSubscribers with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

nwsNotification :: Lens' NotificationWithSubscribers Notification #

The notification associated with a budget.

nwsSubscribers :: Lens' NotificationWithSubscribers (NonEmpty Subscriber) #

A list of subscribers who are subscribed to this notification.

Spend

data Spend #

The amount of cost or usage being measured for a budget.

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

  • An Amount of 3
  • A unit of GB

See: spend smart constructor.

Instances
Eq Spend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

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

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

Data Spend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Spend -> c Spend #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Spend #

toConstr :: Spend -> Constr #

dataTypeOf :: Spend -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Spend) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Spend) #

gmapT :: (forall b. Data b => b -> b) -> Spend -> Spend #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Spend -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Spend -> r #

gmapQ :: (forall d. Data d => d -> u) -> Spend -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Spend -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Spend -> m Spend #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Spend -> m Spend #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Spend -> m Spend #

Read Spend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Show Spend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

showsPrec :: Int -> Spend -> ShowS #

show :: Spend -> String #

showList :: [Spend] -> ShowS #

Generic Spend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Associated Types

type Rep Spend :: Type -> Type #

Methods

from :: Spend -> Rep Spend x #

to :: Rep Spend x -> Spend #

Hashable Spend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

hashWithSalt :: Int -> Spend -> Int #

hash :: Spend -> Int #

ToJSON Spend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

FromJSON Spend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

NFData Spend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

rnf :: Spend -> () #

type Rep Spend # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

type Rep Spend = D1 (MetaData "Spend" "Network.AWS.Budgets.Types.Product" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) (C1 (MetaCons "Spend'" PrefixI True) (S1 (MetaSel (Just "_sAmount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sUnit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

spend #

Arguments

:: Text

sAmount

-> Text

sUnit

-> Spend 

Creates a value of Spend with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sAmount - The cost or usage amount associated with a budget forecast, actual spend, or budget threshold.
  • sUnit - The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB.

sAmount :: Lens' Spend Text #

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

sUnit :: Lens' Spend Text #

The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB.

Subscriber

data Subscriber #

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

For example, an email subscriber would have the following parameters:

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

See: subscriber smart constructor.

Instances
Eq Subscriber # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Data Subscriber # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Subscriber -> c Subscriber #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Subscriber #

toConstr :: Subscriber -> Constr #

dataTypeOf :: Subscriber -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Subscriber) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Subscriber) #

gmapT :: (forall b. Data b => b -> b) -> Subscriber -> Subscriber #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Subscriber -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Subscriber -> r #

gmapQ :: (forall d. Data d => d -> u) -> Subscriber -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Subscriber -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Subscriber -> m Subscriber #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Subscriber -> m Subscriber #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Subscriber -> m Subscriber #

Read Subscriber # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Show Subscriber # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Generic Subscriber # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Associated Types

type Rep Subscriber :: Type -> Type #

Hashable Subscriber # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

ToJSON Subscriber # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

FromJSON Subscriber # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

NFData Subscriber # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

rnf :: Subscriber -> () #

type Rep Subscriber # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

type Rep Subscriber = D1 (MetaData "Subscriber" "Network.AWS.Budgets.Types.Product" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) (C1 (MetaCons "Subscriber'" PrefixI True) (S1 (MetaSel (Just "_sSubscriptionType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SubscriptionType) :*: S1 (MetaSel (Just "_sAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

subscriber #

Creates a value of Subscriber with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sSubscriptionType - The type of notification that AWS sends to a subscriber.
  • sAddress - The address that AWS sends budget notifications to, either an SNS topic or an email.

sSubscriptionType :: Lens' Subscriber SubscriptionType #

The type of notification that AWS sends to a subscriber.

sAddress :: Lens' Subscriber Text #

The address that AWS sends budget notifications to, either an SNS topic or an email.

TimePeriod

data TimePeriod #

The period of time covered by a budget. 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: timePeriod smart constructor.

Instances
Eq TimePeriod # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Data TimePeriod # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TimePeriod -> c TimePeriod #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TimePeriod #

toConstr :: TimePeriod -> Constr #

dataTypeOf :: TimePeriod -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TimePeriod) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TimePeriod) #

gmapT :: (forall b. Data b => b -> b) -> TimePeriod -> TimePeriod #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TimePeriod -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TimePeriod -> r #

gmapQ :: (forall d. Data d => d -> u) -> TimePeriod -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TimePeriod -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TimePeriod -> m TimePeriod #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TimePeriod -> m TimePeriod #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TimePeriod -> m TimePeriod #

Read TimePeriod # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Show TimePeriod # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Generic TimePeriod # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Associated Types

type Rep TimePeriod :: Type -> Type #

Hashable TimePeriod # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

ToJSON TimePeriod # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

FromJSON TimePeriod # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

NFData TimePeriod # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

Methods

rnf :: TimePeriod -> () #

type Rep TimePeriod # 
Instance details

Defined in Network.AWS.Budgets.Types.Product

type Rep TimePeriod = D1 (MetaData "TimePeriod" "Network.AWS.Budgets.Types.Product" "amazonka-budgets-1.6.1-EdQyusEM8vn7ZXYZ0qO5fX" False) (C1 (MetaCons "TimePeriod'" PrefixI True) (S1 (MetaSel (Just "_tpStart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_tpEnd") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))))

timePeriod :: TimePeriod #

Creates a value of TimePeriod with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • tpStart - The start date for a budget. If you created your budget and didn't specify a start date, AWS defaults to the start of your chosen time period (i.e. DAILY, MONTHLY, QUARTERLY, ANNUALLY). For example, if you created your budget on January 24th 2018, chose DAILY , and didn't set a start date, AWS set your start date to 012418 00:00 UTC . If you chose MONTHLY , AWS set your start date to 010118 00:00 UTC . The defaults are the same for the AWS Billing and Cost Management console and the API. You can change your start date with the UpdateBudget operation.
  • tpEnd - The end date for a budget. If you didn't specify an end date, AWS set your end date to 061587 00:00 UTC . The defaults are the same for the AWS Billing and Cost Management console and the API. After the end date, AWS deletes the budget and all associated notifications and subscribers. You can change your end date with the UpdateBudget operation.

tpStart :: Lens' TimePeriod (Maybe UTCTime) #

The start date for a budget. If you created your budget and didn't specify a start date, AWS defaults to the start of your chosen time period (i.e. DAILY, MONTHLY, QUARTERLY, ANNUALLY). For example, if you created your budget on January 24th 2018, chose DAILY , and didn't set a start date, AWS set your start date to 012418 00:00 UTC . If you chose MONTHLY , AWS set your start date to 010118 00:00 UTC . The defaults are the same for the AWS Billing and Cost Management console and the API. You can change your start date with the UpdateBudget operation.

tpEnd :: Lens' TimePeriod (Maybe UTCTime) #

The end date for a budget. If you didn't specify an end date, AWS set your end date to 061587 00:00 UTC . The defaults are the same for the AWS Billing and Cost Management console and the API. After the end date, AWS deletes the budget and all associated notifications and subscribers. You can change your end date with the UpdateBudget operation.