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 |
Returns a list of the tags assigned to the specified 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.
ListTagsForResources' | |
|
Instances
newListTagsForResources Source #
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:
$sel:resourceArn:ListTagsForResources'
, listTagsForResources_resourceArn
- The Amazon Resource Name (ARN) for the resource. You can get this from
the response to any request to the resource.
Request Lenses
listTagsForResources_resourceArn :: Lens' ListTagsForResources Text Source #
The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource.
Destructuring the Response
data ListTagsForResourcesResponse Source #
See: newListTagsForResourcesResponse
smart constructor.
Instances
Eq ListTagsForResourcesResponse Source # | |
Read ListTagsForResourcesResponse Source # | |
Show ListTagsForResourcesResponse Source # | |
Generic ListTagsForResourcesResponse Source # | |
NFData ListTagsForResourcesResponse Source # | |
Defined in Amazonka.Route53RecoveryReadiness.ListTagsForResources rnf :: ListTagsForResourcesResponse -> () # | |
type Rep ListTagsForResourcesResponse Source # | |
Defined in Amazonka.Route53RecoveryReadiness.ListTagsForResources type Rep ListTagsForResourcesResponse = D1 ('MetaData "ListTagsForResourcesResponse" "Amazonka.Route53RecoveryReadiness.ListTagsForResources" "libZSservicesZSamazonka-route53-recovery-readinessZSamazonka-route53-recovery-readiness" 'False) (C1 ('MetaCons "ListTagsForResourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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:
$sel:tags:ListTagsForResourcesResponse'
, listTagsForResourcesResponse_tags
- Undocumented member.
$sel:httpStatus:ListTagsForResourcesResponse'
, listTagsForResourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listTagsForResourcesResponse_tags :: Lens' ListTagsForResourcesResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
listTagsForResourcesResponse_httpStatus :: Lens' ListTagsForResourcesResponse Int Source #
The response's http status code.