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 |
Lists the tags, if any, that are associated with your private CA. Tags are labels that you can use to identify and organize your CAs. Each tag consists of a key and an optional value. Call the TagCertificateAuthority
function to add one or more tags to your CA. Call the UntagCertificateAuthority
function to remove tags.
- listTags :: Text -> ListTags
- data ListTags
- ltNextToken :: Lens' ListTags (Maybe Text)
- ltMaxResults :: Lens' ListTags (Maybe Natural)
- ltCertificateAuthorityARN :: Lens' ListTags Text
- listTagsResponse :: Int -> ListTagsResponse
- data ListTagsResponse
- ltrsNextToken :: Lens' ListTagsResponse (Maybe Text)
- ltrsTags :: Lens' ListTagsResponse (Maybe (NonEmpty Tag))
- ltrsResponseStatus :: Lens' ListTagsResponse Int
Creating a Request
Creates a value of ListTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltNextToken
- Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the response you just received.ltMaxResults
- Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.ltCertificateAuthorityARN
- The Amazon Resource Name (ARN) that was returned when you called theCreateCertificateAuthority
function. This must be of the form:arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012
See: listTags
smart constructor.
Request Lenses
ltNextToken :: Lens' ListTags (Maybe Text) Source #
Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the response you just received.
ltMaxResults :: Lens' ListTags (Maybe Natural) Source #
Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.
ltCertificateAuthorityARN :: Lens' ListTags Text Source #
The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority
function. This must be of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012
Destructuring the Response
Creates a value of ListTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltrsNextToken
- When the list is truncated, this value is present and should be used for the NextToken parameter in a subsequent pagination request.ltrsTags
- The tags associated with your private CA.ltrsResponseStatus
- -- | The response status code.
data ListTagsResponse Source #
See: listTagsResponse
smart constructor.
Response Lenses
ltrsNextToken :: Lens' ListTagsResponse (Maybe Text) Source #
When the list is truncated, this value is present and should be used for the NextToken parameter in a subsequent pagination request.
ltrsTags :: Lens' ListTagsResponse (Maybe (NonEmpty Tag)) Source #
The tags associated with your private CA.
ltrsResponseStatus :: Lens' ListTagsResponse Int Source #
- - | The response status code.