| 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.CertificateManager.ListTagsForCertificate
Description
Lists the tags that have been applied to the ACM certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate, use the AddTagsToCertificate action. To delete a tag, use the RemoveTagsFromCertificate action.
- listTagsForCertificate :: Text -> ListTagsForCertificate
- data ListTagsForCertificate
- ltfcCertificateARN :: Lens' ListTagsForCertificate Text
- listTagsForCertificateResponse :: Int -> ListTagsForCertificateResponse
- data ListTagsForCertificateResponse
- ltfcrsTags :: Lens' ListTagsForCertificateResponse (Maybe (NonEmpty Tag))
- ltfcrsResponseStatus :: Lens' ListTagsForCertificateResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ListTagsForCertificate |
Creates a value of ListTagsForCertificate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfcCertificateARN- String that contains the ARN of the ACM certificate for which you want to list the tags. This must have the following form:arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces .
data ListTagsForCertificate #
See: listTagsForCertificate smart constructor.
Instances
Request Lenses
ltfcCertificateARN :: Lens' ListTagsForCertificate Text #
String that contains the ARN of the ACM certificate for which you want to list the tags. This must have the following form: arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces .
Destructuring the Response
listTagsForCertificateResponse #
Arguments
| :: Int | |
| -> ListTagsForCertificateResponse |
Creates a value of ListTagsForCertificateResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfcrsTags- The key-value pairs that define the applied tags.ltfcrsResponseStatus- -- | The response status code.
data ListTagsForCertificateResponse #
See: listTagsForCertificateResponse smart constructor.
Response Lenses
ltfcrsTags :: Lens' ListTagsForCertificateResponse (Maybe (NonEmpty Tag)) #
The key-value pairs that define the applied tags.
ltfcrsResponseStatus :: Lens' ListTagsForCertificateResponse Int #
- - | The response status code.