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 values for the specified key that are used in the specified AWS 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 GetTagValues = GetTagValues' {
- paginationToken :: Maybe Text
- key :: Text
- newGetTagValues :: Text -> GetTagValues
- getTagValues_paginationToken :: Lens' GetTagValues (Maybe Text)
- getTagValues_key :: Lens' GetTagValues Text
- data GetTagValuesResponse = GetTagValuesResponse' {
- paginationToken :: Maybe Text
- tagValues :: Maybe [Text]
- httpStatus :: Int
- newGetTagValuesResponse :: Int -> GetTagValuesResponse
- getTagValuesResponse_paginationToken :: Lens' GetTagValuesResponse (Maybe Text)
- getTagValuesResponse_tagValues :: Lens' GetTagValuesResponse (Maybe [Text])
- getTagValuesResponse_httpStatus :: Lens' GetTagValuesResponse Int
Creating a Request
data GetTagValues Source #
See: newGetTagValues
smart constructor.
GetTagValues' | |
|
Instances
Create a value of GetTagValues
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:GetTagValues'
, getTagValues_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.
$sel:key:GetTagValues'
, getTagValues_key
- Specifies the tag key for which you want to list all existing values
that are currently used in the specified AWS Region for the calling AWS
account.
Request Lenses
getTagValues_paginationToken :: Lens' GetTagValues (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.
getTagValues_key :: Lens' GetTagValues Text Source #
Specifies the tag key for which you want to list all existing values that are currently used in the specified AWS Region for the calling AWS account.
Destructuring the Response
data GetTagValuesResponse Source #
See: newGetTagValuesResponse
smart constructor.
GetTagValuesResponse' | |
|
Instances
newGetTagValuesResponse Source #
Create a value of GetTagValuesResponse
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:GetTagValues'
, getTagValuesResponse_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:tagValues:GetTagValuesResponse'
, getTagValuesResponse_tagValues
- A list of all tag values for the specified key currently used in the
specified AWS Region for the calling AWS account.
$sel:httpStatus:GetTagValuesResponse'
, getTagValuesResponse_httpStatus
- The response's http status code.
Response Lenses
getTagValuesResponse_paginationToken :: Lens' GetTagValuesResponse (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.
getTagValuesResponse_tagValues :: Lens' GetTagValuesResponse (Maybe [Text]) Source #
A list of all tag values for the specified key currently used in the specified AWS Region for the calling AWS account.
getTagValuesResponse_httpStatus :: Lens' GetTagValuesResponse Int Source #
The response's http status code.