| Copyright | (c) 2013-2017 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 |
| Language | Haskell2010 |
Network.AWS.ResourceGroupsTagging.GetTagValues
Description
Returns all tag values for the specified key in the specified region for the AWS account.
This operation returns paginated results.
- getTagValues :: Text -> GetTagValues
- data GetTagValues
- gtvPaginationToken :: Lens' GetTagValues (Maybe Text)
- gtvKey :: Lens' GetTagValues Text
- getTagValuesResponse :: Int -> GetTagValuesResponse
- data GetTagValuesResponse
- gtvrsPaginationToken :: Lens' GetTagValuesResponse (Maybe Text)
- gtvrsTagValues :: Lens' GetTagValuesResponse [Text]
- gtvrsResponseStatus :: Lens' GetTagValuesResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetTagValues |
Creates a value of GetTagValues with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtvPaginationToken- A string that indicates that additional data is available. Leave this value empty for your initial request. If the response includes a PaginationToken, use that string for this value to request an additional page of data.gtvKey- The key for which you want to list all existing values in the specified region for the AWS account.
data GetTagValues Source #
See: getTagValues smart constructor.
Instances
Request Lenses
gtvPaginationToken :: Lens' GetTagValues (Maybe Text) Source #
A string that indicates that additional data is available. Leave this value empty for your initial request. If the response includes a PaginationToken, use that string for this value to request an additional page of data.
gtvKey :: Lens' GetTagValues Text Source #
The key for which you want to list all existing values in the specified region for the AWS account.
Destructuring the Response
Arguments
| :: Int | |
| -> GetTagValuesResponse |
Creates a value of GetTagValuesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtvrsPaginationToken- A string that indicates that the response contains more data than can be returned in a single response. To receive additional data, specify this string for thePaginationTokenvalue in a subsequent request.gtvrsTagValues- A list of all tag values for the specified key in the AWS account.gtvrsResponseStatus- -- | The response status code.
data GetTagValuesResponse Source #
See: getTagValuesResponse smart constructor.
Response Lenses
gtvrsPaginationToken :: Lens' GetTagValuesResponse (Maybe Text) Source #
A string that indicates that the response contains more data than can be returned in a single response. To receive additional data, specify this string for the PaginationToken value in a subsequent request.
gtvrsTagValues :: Lens' GetTagValuesResponse [Text] Source #
A list of all tag values for the specified key in the AWS account.
gtvrsResponseStatus :: Lens' GetTagValuesResponse Int Source #
- - | The response status code.