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 DocumentDB 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 #
Represents the input to ListTagsForResource.
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 DocumentDB resource with tags to be listed. This value is 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 DocumentDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).
Destructuring the Response
data ListTagsForResourceResponse Source #
Represents the output of ListTagsForResource.
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
- A list of one or more tags.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
Response Lenses
listTagsForResourceResponse_tagList :: Lens' ListTagsForResourceResponse (Maybe [Tag]) Source #
A list of one or more tags.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int Source #
The response's http status code.