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 |
Gets the Tags collection for a given resource.
Synopsis
- data GetTags = GetTags' {}
- newGetTags :: Text -> GetTags
- getTags_limit :: Lens' GetTags (Maybe Int)
- getTags_position :: Lens' GetTags (Maybe Text)
- getTags_resourceArn :: Lens' GetTags Text
- data GetTagsResponse = GetTagsResponse' {}
- newGetTagsResponse :: Int -> GetTagsResponse
- getTagsResponse_tags :: Lens' GetTagsResponse (Maybe (HashMap Text Text))
- getTagsResponse_httpStatus :: Lens' GetTagsResponse Int
Creating a Request
Gets the Tags collection for a given resource.
See: newGetTags
smart constructor.
GetTags' | |
|
Instances
Create a value of GetTags
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:limit:GetTags'
, getTags_limit
- (Not currently supported) The maximum number of returned results per
page. The default value is 25 and the maximum value is 500.
$sel:position:GetTags'
, getTags_position
- (Not currently supported) The current pagination position in the paged
result set.
$sel:resourceArn:GetTags'
, getTags_resourceArn
- [Required] The ARN of a resource that can be tagged.
Request Lenses
getTags_limit :: 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.
getTags_position :: Lens' GetTags (Maybe Text) Source #
(Not currently supported) The current pagination position in the paged result set.
Destructuring the Response
data GetTagsResponse Source #
The collection of tags. Each tag element is associated with a given resource.
See: newGetTagsResponse
smart constructor.
Instances
Create a value of GetTagsResponse
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:tags:GetTagsResponse'
, getTagsResponse_tags
- The collection of tags. Each tag element is associated with a given
resource.
$sel:httpStatus:GetTagsResponse'
, getTagsResponse_httpStatus
- The response's http status code.
Response Lenses
getTagsResponse_tags :: Lens' GetTagsResponse (Maybe (HashMap Text Text)) Source #
The collection of tags. Each tag element is associated with a given resource.
getTagsResponse_httpStatus :: Lens' GetTagsResponse Int Source #
The response's http status code.