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 |
Retrieves a list of tags associated with a resource.
Synopsis
- data GetTags = GetTags' {
- resourceArn :: Text
- newGetTags :: Text -> GetTags
- 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
See: newGetTags
smart constructor.
GetTags' | |
|
Instances
Eq GetTags Source # | |
Read GetTags Source # | |
Show GetTags Source # | |
Generic GetTags Source # | |
NFData GetTags Source # | |
Defined in Amazonka.Glue.GetTags | |
Hashable GetTags Source # | |
Defined in Amazonka.Glue.GetTags | |
ToJSON GetTags Source # | |
Defined in Amazonka.Glue.GetTags | |
AWSRequest GetTags Source # | |
Defined in Amazonka.Glue.GetTags type AWSResponse GetTags # request :: GetTags -> Request GetTags # response :: MonadResource m => Logger -> Service -> Proxy GetTags -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetTags))) # | |
ToHeaders GetTags Source # | |
Defined in Amazonka.Glue.GetTags | |
ToPath GetTags Source # | |
Defined in Amazonka.Glue.GetTags toPath :: GetTags -> ByteString # | |
ToQuery GetTags Source # | |
Defined in Amazonka.Glue.GetTags toQuery :: GetTags -> QueryString # | |
type Rep GetTags Source # | |
Defined in Amazonka.Glue.GetTags | |
type AWSResponse GetTags Source # | |
Defined in Amazonka.Glue.GetTags |
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:resourceArn:GetTags'
, getTags_resourceArn
- The Amazon Resource Name (ARN) of the resource for which to retrieve
tags.
Request Lenses
getTags_resourceArn :: Lens' GetTags Text Source #
The Amazon Resource Name (ARN) of the resource for which to retrieve tags.
Destructuring the Response
data GetTagsResponse Source #
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 requested tags.
$sel:httpStatus:GetTagsResponse'
, getTagsResponse_httpStatus
- The response's http status code.
Response Lenses
getTagsResponse_tags :: Lens' GetTagsResponse (Maybe (HashMap Text Text)) Source #
The requested tags.
getTagsResponse_httpStatus :: Lens' GetTagsResponse Int Source #
The response's http status code.