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

Amazonka.Budgets.DescribeBudgets

Description

Lists the budgets that are associated with an account.

The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeBudgets Source #

Request of DescribeBudgets

See: newDescribeBudgets smart constructor.

Constructors

DescribeBudgets' 

Fields

  • nextToken :: Maybe Text

    The pagination token that you include in your request to indicate the next set of results that you want to retrieve.

  • maxResults :: Maybe Natural

    An optional integer that represents how many entries a paginated response contains. The maximum is 100.

  • accountId :: Text

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

Instances

Instances details
Eq DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

Read DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

Show DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

Generic DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

Associated Types

type Rep DescribeBudgets :: Type -> Type #

NFData DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

Methods

rnf :: DescribeBudgets -> () #

Hashable DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

ToJSON DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

AWSPager DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

AWSRequest DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

Associated Types

type AWSResponse DescribeBudgets #

ToHeaders DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

ToPath DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

ToQuery DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

type Rep DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

type Rep DescribeBudgets = D1 ('MetaData "DescribeBudgets" "Amazonka.Budgets.DescribeBudgets" "libZSservicesZSamazonka-budgetsZSamazonka-budgets" 'False) (C1 ('MetaCons "DescribeBudgets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DescribeBudgets Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

newDescribeBudgets Source #

Create a value of DescribeBudgets 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:nextToken:DescribeBudgets', describeBudgets_nextToken - The pagination token that you include in your request to indicate the next set of results that you want to retrieve.

$sel:maxResults:DescribeBudgets', describeBudgets_maxResults - An optional integer that represents how many entries a paginated response contains. The maximum is 100.

$sel:accountId:DescribeBudgets', describeBudgets_accountId - The accountId that is associated with the budgets that you want descriptions of.

Request Lenses

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

The pagination token that you include in your request to indicate the next set of results that you want to retrieve.

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

An optional integer that represents how many entries a paginated response contains. The maximum is 100.

describeBudgets_accountId :: Lens' DescribeBudgets Text Source #

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

Destructuring the Response

data DescribeBudgetsResponse Source #

Response of DescribeBudgets

See: newDescribeBudgetsResponse smart constructor.

Constructors

DescribeBudgetsResponse' 

Fields

Instances

Instances details
Eq DescribeBudgetsResponse Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

Read DescribeBudgetsResponse Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

Show DescribeBudgetsResponse Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

Generic DescribeBudgetsResponse Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

Associated Types

type Rep DescribeBudgetsResponse :: Type -> Type #

NFData DescribeBudgetsResponse Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

Methods

rnf :: DescribeBudgetsResponse -> () #

type Rep DescribeBudgetsResponse Source # 
Instance details

Defined in Amazonka.Budgets.DescribeBudgets

type Rep DescribeBudgetsResponse = D1 ('MetaData "DescribeBudgetsResponse" "Amazonka.Budgets.DescribeBudgets" "libZSservicesZSamazonka-budgetsZSamazonka-budgets" 'False) (C1 ('MetaCons "DescribeBudgetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "budgets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Budget])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeBudgetsResponse Source #

Create a value of DescribeBudgetsResponse 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:nextToken:DescribeBudgets', describeBudgetsResponse_nextToken - The pagination token in the service response that indicates the next set of results that you can retrieve.

$sel:budgets:DescribeBudgetsResponse', describeBudgetsResponse_budgets - A list of budgets.

$sel:httpStatus:DescribeBudgetsResponse', describeBudgetsResponse_httpStatus - The response's http status code.

Response Lenses

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

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