amazonka-certificatemanager-pca-1.6.1: Amazon Certificate Manager Private Certificate Authority SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CertificateManagerPCA.ListTags

Contents

Description

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.

Synopsis

Creating a Request

listTags Source #

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 the CreateCertificateAuthority function. This must be of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012

data ListTags Source #

See: listTags smart constructor.

Instances
Eq ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Data ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListTags -> c ListTags #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListTags #

toConstr :: ListTags -> Constr #

dataTypeOf :: ListTags -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListTags) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListTags) #

gmapT :: (forall b. Data b => b -> b) -> ListTags -> ListTags #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListTags -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListTags -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListTags -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListTags -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListTags -> m ListTags #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTags -> m ListTags #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTags -> m ListTags #

Read ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Show ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Generic ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Associated Types

type Rep ListTags :: Type -> Type #

Methods

from :: ListTags -> Rep ListTags x #

to :: Rep ListTags x -> ListTags #

Hashable ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Methods

hashWithSalt :: Int -> ListTags -> Int #

hash :: ListTags -> Int #

ToJSON ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

AWSRequest ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Associated Types

type Rs ListTags :: Type #

ToHeaders ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Methods

toHeaders :: ListTags -> [Header] #

ToPath ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

ToQuery ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

NFData ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Methods

rnf :: ListTags -> () #

type Rep ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

type Rep ListTags = D1 (MetaData "ListTags" "Network.AWS.CertificateManagerPCA.ListTags" "amazonka-certificatemanager-pca-1.6.1-HitWzcqvY41EzhTFciBw3m" False) (C1 (MetaCons "ListTags'" PrefixI True) (S1 (MetaSel (Just "_ltNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_ltCertificateAuthorityARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListTags Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

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

listTagsResponse Source #

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.

Instances
Eq ListTagsResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Data ListTagsResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListTagsResponse -> c ListTagsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListTagsResponse #

toConstr :: ListTagsResponse -> Constr #

dataTypeOf :: ListTagsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListTagsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListTagsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListTagsResponse -> ListTagsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListTagsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListTagsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListTagsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListTagsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListTagsResponse -> m ListTagsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTagsResponse -> m ListTagsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTagsResponse -> m ListTagsResponse #

Read ListTagsResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Show ListTagsResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Generic ListTagsResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Associated Types

type Rep ListTagsResponse :: Type -> Type #

NFData ListTagsResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

Methods

rnf :: ListTagsResponse -> () #

type Rep ListTagsResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.ListTags

type Rep ListTagsResponse = D1 (MetaData "ListTagsResponse" "Network.AWS.CertificateManagerPCA.ListTags" "amazonka-certificatemanager-pca-1.6.1-HitWzcqvY41EzhTFciBw3m" False) (C1 (MetaCons "ListTagsResponse'" PrefixI True) (S1 (MetaSel (Just "_ltrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Tag))) :*: S1 (MetaSel (Just "_ltrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

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.