Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.Route53RecoveryReadiness.ListTagsForResources
Description
Lists the tags for a resource.
Synopsis
- data ListTagsForResources = ListTagsForResources' {
- resourceArn :: Text
- newListTagsForResources :: Text -> ListTagsForResources
- listTagsForResources_resourceArn :: Lens' ListTagsForResources Text
- data ListTagsForResourcesResponse = ListTagsForResourcesResponse' {}
- newListTagsForResourcesResponse :: Int -> ListTagsForResourcesResponse
- listTagsForResourcesResponse_tags :: Lens' ListTagsForResourcesResponse (Maybe (HashMap Text Text))
- listTagsForResourcesResponse_httpStatus :: Lens' ListTagsForResourcesResponse Int
Creating a Request
data ListTagsForResources Source #
See: newListTagsForResources
smart constructor.
Constructors
ListTagsForResources' | |
Fields
|
Instances
newListTagsForResources Source #
Arguments
:: Text | |
-> ListTagsForResources |
Create a value of ListTagsForResources
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:
ListTagsForResources
, listTagsForResources_resourceArn
- The Amazon Resource Name (ARN) for a resource.
Request Lenses
listTagsForResources_resourceArn :: Lens' ListTagsForResources Text Source #
The Amazon Resource Name (ARN) for a resource.
Destructuring the Response
data ListTagsForResourcesResponse Source #
See: newListTagsForResourcesResponse
smart constructor.
Constructors
ListTagsForResourcesResponse' | |
Instances
newListTagsForResourcesResponse Source #
Create a value of ListTagsForResourcesResponse
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:
ListTagsForResourcesResponse
, listTagsForResourcesResponse_tags
-
$sel:httpStatus:ListTagsForResourcesResponse'
, listTagsForResourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listTagsForResourcesResponse_tags :: Lens' ListTagsForResourcesResponse (Maybe (HashMap Text Text)) Source #
listTagsForResourcesResponse_httpStatus :: Lens' ListTagsForResourcesResponse Int Source #
The response's http status code.