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 |
Lists all tags on an Amazon Neptune resource.
Synopsis
- data ListTagsForResource = ListTagsForResource' {
- filters :: Maybe [Filter]
- resourceName :: Text
- newListTagsForResource :: Text -> ListTagsForResource
- listTagsForResource_filters :: Lens' ListTagsForResource (Maybe [Filter])
- listTagsForResource_resourceName :: Lens' ListTagsForResource Text
- data ListTagsForResourceResponse = ListTagsForResourceResponse' {
- tagList :: Maybe [Tag]
- httpStatus :: Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- listTagsForResourceResponse_tagList :: Lens' ListTagsForResourceResponse (Maybe [Tag])
- listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
Creating a Request
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
ListTagsForResource' | |
|
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
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:filters:ListTagsForResource'
, listTagsForResource_filters
- This parameter is not currently supported.
$sel:resourceName:ListTagsForResource'
, listTagsForResource_resourceName
- The Amazon Neptune resource with tags to be listed. This value is an
Amazon Resource Name (ARN). For information about creating an ARN, see
Constructing an Amazon Resource Name (ARN).
Request Lenses
listTagsForResource_filters :: Lens' ListTagsForResource (Maybe [Filter]) Source #
This parameter is not currently supported.
listTagsForResource_resourceName :: Lens' ListTagsForResource Text Source #
The Amazon Neptune resource with tags to be listed. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).
Destructuring the Response
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
ListTagsForResourceResponse' | |
|
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
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:tagList:ListTagsForResourceResponse'
, listTagsForResourceResponse_tagList
- List of tags returned by the ListTagsForResource operation.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
Response Lenses
listTagsForResourceResponse_tagList :: Lens' ListTagsForResourceResponse (Maybe [Tag]) Source #
List of tags returned by the ListTagsForResource operation.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int Source #
The response's http status code.