| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.CloudHSM.ListTagsForResource
Description
This is documentation for AWS CloudHSM Classic . For more information, see AWS CloudHSM Classic FAQs , the AWS CloudHSM Classic User Guide , and the AWS CloudHSM Classic API Reference .
For information about the current version of AWS CloudHSM , see AWS CloudHSM , the AWS CloudHSM User Guide , and the AWS CloudHSM API Reference .
Returns a list of all tags for the specified AWS CloudHSM resource.
Synopsis
- listTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResource
- ltfrResourceARN :: Lens' ListTagsForResource Text
- listTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data ListTagsForResourceResponse
- ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int
- ltfrrsTagList :: Lens' ListTagsForResourceResponse [Tag]
Creating a Request
Arguments
| :: Text | |
| -> ListTagsForResource |
Creates a value of ListTagsForResource with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfrResourceARN- The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
data ListTagsForResource #
See: listTagsForResource smart constructor.
Instances
Request Lenses
ltfrResourceARN :: Lens' ListTagsForResource Text #
The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
Destructuring the Response
Arguments
| :: Int | |
| -> ListTagsForResourceResponse |
Creates a value of ListTagsForResourceResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfrrsResponseStatus- -- | The response status code.ltfrrsTagList- One or more tags.
data ListTagsForResourceResponse #
See: listTagsForResourceResponse smart constructor.
Instances
Response Lenses
ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int #
- - | The response status code.
ltfrrsTagList :: Lens' ListTagsForResourceResponse [Tag] #
One or more tags.