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 |
Get a list of cost allocation tags. All inputs in the API are optional and serve as filters. By default, all cost allocation tags are returned.
Synopsis
- data ListCostAllocationTags = ListCostAllocationTags' {}
- newListCostAllocationTags :: ListCostAllocationTags
- listCostAllocationTags_maxResults :: Lens' ListCostAllocationTags (Maybe Natural)
- listCostAllocationTags_nextToken :: Lens' ListCostAllocationTags (Maybe Text)
- listCostAllocationTags_status :: Lens' ListCostAllocationTags (Maybe CostAllocationTagStatus)
- listCostAllocationTags_tagKeys :: Lens' ListCostAllocationTags (Maybe (NonEmpty Text))
- listCostAllocationTags_type :: Lens' ListCostAllocationTags (Maybe CostAllocationTagType)
- data ListCostAllocationTagsResponse = ListCostAllocationTagsResponse' {}
- newListCostAllocationTagsResponse :: Int -> ListCostAllocationTagsResponse
- listCostAllocationTagsResponse_costAllocationTags :: Lens' ListCostAllocationTagsResponse (Maybe [CostAllocationTag])
- listCostAllocationTagsResponse_nextToken :: Lens' ListCostAllocationTagsResponse (Maybe Text)
- listCostAllocationTagsResponse_httpStatus :: Lens' ListCostAllocationTagsResponse Int
Creating a Request
data ListCostAllocationTags Source #
See: newListCostAllocationTags
smart constructor.
ListCostAllocationTags' | |
|
Instances
newListCostAllocationTags :: ListCostAllocationTags Source #
Create a value of ListCostAllocationTags
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:maxResults:ListCostAllocationTags'
, listCostAllocationTags_maxResults
- The maximum number of objects that are returned for this request. By
default, the request returns 100 results.
ListCostAllocationTags
, listCostAllocationTags_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.
ListCostAllocationTags
, listCostAllocationTags_status
- The status of cost allocation tag keys that are returned for this
request.
$sel:tagKeys:ListCostAllocationTags'
, listCostAllocationTags_tagKeys
- The list of cost allocation tag keys that are returned for this request.
ListCostAllocationTags
, listCostAllocationTags_type
- The type of CostAllocationTag
object that are returned for this
request. The AWSGenerated
type tags are tags that Amazon Web Services
defines and applies to support Amazon Web Services resources for cost
allocation purposes. The UserDefined
type tags are tags that you
define, create, and apply to resources.
Request Lenses
listCostAllocationTags_maxResults :: Lens' ListCostAllocationTags (Maybe Natural) Source #
The maximum number of objects that are returned for this request. By default, the request returns 100 results.
listCostAllocationTags_nextToken :: Lens' ListCostAllocationTags (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.
listCostAllocationTags_status :: Lens' ListCostAllocationTags (Maybe CostAllocationTagStatus) Source #
The status of cost allocation tag keys that are returned for this request.
listCostAllocationTags_tagKeys :: Lens' ListCostAllocationTags (Maybe (NonEmpty Text)) Source #
The list of cost allocation tag keys that are returned for this request.
listCostAllocationTags_type :: Lens' ListCostAllocationTags (Maybe CostAllocationTagType) Source #
The type of CostAllocationTag
object that are returned for this
request. The AWSGenerated
type tags are tags that Amazon Web Services
defines and applies to support Amazon Web Services resources for cost
allocation purposes. The UserDefined
type tags are tags that you
define, create, and apply to resources.
Destructuring the Response
data ListCostAllocationTagsResponse Source #
See: newListCostAllocationTagsResponse
smart constructor.
ListCostAllocationTagsResponse' | |
|
Instances
newListCostAllocationTagsResponse Source #
Create a value of ListCostAllocationTagsResponse
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:costAllocationTags:ListCostAllocationTagsResponse'
, listCostAllocationTagsResponse_costAllocationTags
- A list of cost allocation tags that includes the detailed metadata for
each one.
ListCostAllocationTags
, listCostAllocationTagsResponse_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:ListCostAllocationTagsResponse'
, listCostAllocationTagsResponse_httpStatus
- The response's http status code.
Response Lenses
listCostAllocationTagsResponse_costAllocationTags :: Lens' ListCostAllocationTagsResponse (Maybe [CostAllocationTag]) Source #
A list of cost allocation tags that includes the detailed metadata for each one.
listCostAllocationTagsResponse_nextToken :: Lens' ListCostAllocationTagsResponse (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.
listCostAllocationTagsResponse_httpStatus :: Lens' ListCostAllocationTagsResponse Int Source #
The response's http status code.