libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer
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.CostExplorer.ListCostCategoryDefinitions

Description

Returns the name, ARN, NumberOfRules and effective dates of all Cost Categories defined in the account. You have the option to use EffectiveOn to return a list of Cost Categories that were active on a specific date. If there is no EffectiveOn specified, you’ll see Cost Categories that are effective on the current date. If Cost Category is still effective, EffectiveEnd is omitted in the response. ListCostCategoryDefinitions supports pagination. The request can have a MaxResults range up to 100.

Synopsis

Creating a Request

data ListCostCategoryDefinitions Source #

See: newListCostCategoryDefinitions smart constructor.

Constructors

ListCostCategoryDefinitions' 

Fields

  • effectiveOn :: Maybe Text

    The date when the Cost Category was effective.

  • nextToken :: Maybe Text

    The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

  • maxResults :: Maybe Natural

    The number of entries a paginated response contains.

Instances

Instances details
Eq ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

Read ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

Show ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

Generic ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

Associated Types

type Rep ListCostCategoryDefinitions :: Type -> Type #

NFData ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

Hashable ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

ToJSON ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

AWSRequest ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

ToHeaders ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

ToPath ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

ToQuery ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

type Rep ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

type Rep ListCostCategoryDefinitions = D1 ('MetaData "ListCostCategoryDefinitions" "Amazonka.CostExplorer.ListCostCategoryDefinitions" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "ListCostCategoryDefinitions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "effectiveOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListCostCategoryDefinitions Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

newListCostCategoryDefinitions :: ListCostCategoryDefinitions Source #

Create a value of ListCostCategoryDefinitions 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:effectiveOn:ListCostCategoryDefinitions', listCostCategoryDefinitions_effectiveOn - The date when the Cost Category was effective.

$sel:nextToken:ListCostCategoryDefinitions', listCostCategoryDefinitions_nextToken - The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

$sel:maxResults:ListCostCategoryDefinitions', listCostCategoryDefinitions_maxResults - The number of entries a paginated response contains.

Request Lenses

listCostCategoryDefinitions_nextToken :: Lens' ListCostCategoryDefinitions (Maybe Text) Source #

The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

listCostCategoryDefinitions_maxResults :: Lens' ListCostCategoryDefinitions (Maybe Natural) Source #

The number of entries a paginated response contains.

Destructuring the Response

data ListCostCategoryDefinitionsResponse Source #

Constructors

ListCostCategoryDefinitionsResponse' 

Fields

Instances

Instances details
Eq ListCostCategoryDefinitionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

Read ListCostCategoryDefinitionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

Show ListCostCategoryDefinitionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

Generic ListCostCategoryDefinitionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

NFData ListCostCategoryDefinitionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

type Rep ListCostCategoryDefinitionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.ListCostCategoryDefinitions

type Rep ListCostCategoryDefinitionsResponse = D1 ('MetaData "ListCostCategoryDefinitionsResponse" "Amazonka.CostExplorer.ListCostCategoryDefinitions" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "ListCostCategoryDefinitionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "costCategoryReferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CostCategoryReference])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListCostCategoryDefinitionsResponse Source #

Create a value of ListCostCategoryDefinitionsResponse 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:costCategoryReferences:ListCostCategoryDefinitionsResponse', listCostCategoryDefinitionsResponse_costCategoryReferences - A reference to a Cost Category containing enough information to identify the Cost Category.

$sel:nextToken:ListCostCategoryDefinitions', listCostCategoryDefinitionsResponse_nextToken - The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

$sel:httpStatus:ListCostCategoryDefinitionsResponse', listCostCategoryDefinitionsResponse_httpStatus - The response's http status code.

Response Lenses

listCostCategoryDefinitionsResponse_costCategoryReferences :: Lens' ListCostCategoryDefinitionsResponse (Maybe [CostCategoryReference]) Source #

A reference to a Cost Category containing enough information to identify the Cost Category.

listCostCategoryDefinitionsResponse_nextToken :: Lens' ListCostCategoryDefinitionsResponse (Maybe Text) Source #

The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.