amazonka-budgets-1.6.0: 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.DescribeBudgets

Contents

Description

Lists the budgets associated with an account.

Synopsis

Creating a Request

describeBudgets Source #

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

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

  • dbNextToken - The pagination token that indicates the next set of results to retrieve.
  • dbMaxResults - Optional integer. Specifies the maximum number of results to return in response.
  • dbAccountId - The accountId that is associated with the budgets that you want descriptions of.

data DescribeBudgets Source #

Request of DescribeBudgets

See: describeBudgets smart constructor.

Instances

Eq DescribeBudgets Source # 
Data DescribeBudgets Source # 

Methods

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

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

toConstr :: DescribeBudgets -> Constr #

dataTypeOf :: DescribeBudgets -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeBudgets Source # 
Show DescribeBudgets Source # 
Generic DescribeBudgets Source # 
Hashable DescribeBudgets Source # 
ToJSON DescribeBudgets Source # 
NFData DescribeBudgets Source # 

Methods

rnf :: DescribeBudgets -> () #

AWSRequest DescribeBudgets Source # 
ToHeaders DescribeBudgets Source # 
ToPath DescribeBudgets Source # 
ToQuery DescribeBudgets Source # 
type Rep DescribeBudgets Source # 
type Rep DescribeBudgets = D1 * (MetaData "DescribeBudgets" "Network.AWS.Budgets.DescribeBudgets" "amazonka-budgets-1.6.0-14CyUEdTAnlAUnGAOMHs8t" False) (C1 * (MetaCons "DescribeBudgets'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dbNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dbMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_dbAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs DescribeBudgets Source # 

Request Lenses

dbNextToken :: Lens' DescribeBudgets (Maybe Text) Source #

The pagination token that indicates the next set of results to retrieve.

dbMaxResults :: Lens' DescribeBudgets (Maybe Natural) Source #

Optional integer. Specifies the maximum number of results to return in response.

dbAccountId :: Lens' DescribeBudgets Text Source #

The accountId that is associated with the budgets that you want descriptions of.

Destructuring the Response

describeBudgetsResponse Source #

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

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

data DescribeBudgetsResponse Source #

Response of DescribeBudgets

See: describeBudgetsResponse smart constructor.

Instances

Eq DescribeBudgetsResponse Source # 
Data DescribeBudgetsResponse Source # 

Methods

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

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

toConstr :: DescribeBudgetsResponse -> Constr #

dataTypeOf :: DescribeBudgetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeBudgetsResponse Source # 
Show DescribeBudgetsResponse Source # 
Generic DescribeBudgetsResponse Source # 
NFData DescribeBudgetsResponse Source # 

Methods

rnf :: DescribeBudgetsResponse -> () #

type Rep DescribeBudgetsResponse Source # 
type Rep DescribeBudgetsResponse = D1 * (MetaData "DescribeBudgetsResponse" "Network.AWS.Budgets.DescribeBudgets" "amazonka-budgets-1.6.0-14CyUEdTAnlAUnGAOMHs8t" False) (C1 * (MetaCons "DescribeBudgetsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dbrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dbrsBudgets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Budget]))) (S1 * (MetaSel (Just Symbol "_dbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

dbrsNextToken :: Lens' DescribeBudgetsResponse (Maybe Text) Source #

The pagination token that indicates the next set of results that you can retrieve.