Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns the name, Amazon Resource 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
- data ListCostCategoryDefinitions = ListCostCategoryDefinitions' {
- effectiveOn :: Maybe Text
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- newListCostCategoryDefinitions :: ListCostCategoryDefinitions
- listCostCategoryDefinitions_effectiveOn :: Lens' ListCostCategoryDefinitions (Maybe Text)
- listCostCategoryDefinitions_maxResults :: Lens' ListCostCategoryDefinitions (Maybe Natural)
- listCostCategoryDefinitions_nextToken :: Lens' ListCostCategoryDefinitions (Maybe Text)
- data ListCostCategoryDefinitionsResponse = ListCostCategoryDefinitionsResponse' {}
- newListCostCategoryDefinitionsResponse :: Int -> ListCostCategoryDefinitionsResponse
- listCostCategoryDefinitionsResponse_costCategoryReferences :: Lens' ListCostCategoryDefinitionsResponse (Maybe [CostCategoryReference])
- listCostCategoryDefinitionsResponse_nextToken :: Lens' ListCostCategoryDefinitionsResponse (Maybe Text)
- listCostCategoryDefinitionsResponse_httpStatus :: Lens' ListCostCategoryDefinitionsResponse Int
Creating a Request
data ListCostCategoryDefinitions Source #
See: newListCostCategoryDefinitions
smart constructor.
ListCostCategoryDefinitions' | |
|
Instances
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:maxResults:ListCostCategoryDefinitions'
, listCostCategoryDefinitions_maxResults
- The number of entries a paginated response contains.
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.
Request Lenses
listCostCategoryDefinitions_effectiveOn :: Lens' ListCostCategoryDefinitions (Maybe Text) Source #
The date when the Cost Category was effective.
listCostCategoryDefinitions_maxResults :: Lens' ListCostCategoryDefinitions (Maybe Natural) Source #
The number of entries a paginated response contains.
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.
Destructuring the Response
data ListCostCategoryDefinitionsResponse Source #
See: newListCostCategoryDefinitionsResponse
smart constructor.
ListCostCategoryDefinitionsResponse' | |
|
Instances
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 that contains enough information to
identify the Cost Category.
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 that contains 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.
listCostCategoryDefinitionsResponse_httpStatus :: Lens' ListCostCategoryDefinitionsResponse Int Source #
The response's http status code.