Copyright | (c) 2013-2018 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 |
Gets the Tags
collection for a given resource.
- getTags :: Text -> GetTags
- data GetTags
- gtLimit :: Lens' GetTags (Maybe Int)
- gtPosition :: Lens' GetTags (Maybe Text)
- gtResourceARN :: Lens' GetTags Text
- getTagsResponse :: Int -> GetTagsResponse
- data GetTagsResponse
- gtrsTags :: Lens' GetTagsResponse (HashMap Text Text)
- gtrsResponseStatus :: Lens' GetTagsResponse Int
Creating a Request
Creates a value of GetTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtLimit
- (Not currently supported) The maximum number of returned results per page. The default value is 25 and the maximum value is 500.gtPosition
- (Not currently supported) The current pagination position in the paged result set.gtResourceARN
- [Required] The ARN of a resource that can be tagged. The resource ARN must be URL-encoded. At present,Stage
is the only taggable resource.
Gets the Tags
collection for a given resource.
See: getTags
smart constructor.
Request Lenses
gtLimit :: Lens' GetTags (Maybe Int) Source #
(Not currently supported) The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
gtPosition :: Lens' GetTags (Maybe Text) Source #
(Not currently supported) The current pagination position in the paged result set.
gtResourceARN :: Lens' GetTags Text Source #
- Required
- The ARN of a resource that can be tagged. The resource ARN must be URL-encoded. At present,
Stage
is the only taggable resource.
Destructuring the Response
Creates a value of GetTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtrsTags
- The collection of tags. Each tag element is associated with a given resource.gtrsResponseStatus
- -- | The response status code.
data GetTagsResponse Source #
The collection of tags. Each tag element is associated with a given resource.
See: getTagsResponse
smart constructor.
Response Lenses
gtrsTags :: Lens' GetTagsResponse (HashMap Text Text) Source #
The collection of tags. Each tag element is associated with a given resource.
gtrsResponseStatus :: Lens' GetTagsResponse Int Source #
- - | The response status code.