Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns all tag keys currently in use in the specified Region for the calling AWS account.
This operation supports pagination, where the response can be sent in
multiple pages. You should check the PaginationToken
response
parameter to determine if there are additional results available to
return. Repeat the query, passing the PaginationToken
response
parameter value as an input to the next request until you recieve a
null
value. A null value for PaginationToken
indicates that there
are no more results waiting to be returned.
This operation returns paginated results.
Synopsis
- data GetTagKeys = GetTagKeys' {}
- newGetTagKeys :: GetTagKeys
- getTagKeys_paginationToken :: Lens' GetTagKeys (Maybe Text)
- data GetTagKeysResponse = GetTagKeysResponse' {
- paginationToken :: Maybe Text
- tagKeys :: Maybe [Text]
- httpStatus :: Int
- newGetTagKeysResponse :: Int -> GetTagKeysResponse
- getTagKeysResponse_paginationToken :: Lens' GetTagKeysResponse (Maybe Text)
- getTagKeysResponse_tagKeys :: Lens' GetTagKeysResponse (Maybe [Text])
- getTagKeysResponse_httpStatus :: Lens' GetTagKeysResponse Int
Creating a Request
data GetTagKeys Source #
See: newGetTagKeys
smart constructor.
GetTagKeys' | |
|
Instances
newGetTagKeys :: GetTagKeys Source #
Create a value of GetTagKeys
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:paginationToken:GetTagKeys'
, getTagKeys_paginationToken
- Specifies a PaginationToken
response value from a previous request to
indicate that you want the next page of results. Leave this parameter
empty in your initial request.
Request Lenses
getTagKeys_paginationToken :: Lens' GetTagKeys (Maybe Text) Source #
Specifies a PaginationToken
response value from a previous request to
indicate that you want the next page of results. Leave this parameter
empty in your initial request.
Destructuring the Response
data GetTagKeysResponse Source #
See: newGetTagKeysResponse
smart constructor.
GetTagKeysResponse' | |
|
Instances
newGetTagKeysResponse Source #
Create a value of GetTagKeysResponse
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:paginationToken:GetTagKeys'
, getTagKeysResponse_paginationToken
- A string that indicates that there is more data available than this
response contains. To receive the next part of the response, specify
this response value as the PaginationToken
value in the request for
the next page.
$sel:tagKeys:GetTagKeysResponse'
, getTagKeysResponse_tagKeys
- A list of all tag keys in the AWS account.
$sel:httpStatus:GetTagKeysResponse'
, getTagKeysResponse_httpStatus
- The response's http status code.
Response Lenses
getTagKeysResponse_paginationToken :: Lens' GetTagKeysResponse (Maybe Text) Source #
A string that indicates that there is more data available than this
response contains. To receive the next part of the response, specify
this response value as the PaginationToken
value in the request for
the next page.
getTagKeysResponse_tagKeys :: Lens' GetTagKeysResponse (Maybe [Text]) Source #
A list of all tag keys in the AWS account.
getTagKeysResponse_httpStatus :: Lens' GetTagKeysResponse Int Source #
The response's http status code.