amazonka-certificatemanager-pca-1.6.0: 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.TagCertificateAuthority

Contents

Description

Adds one or more tags to your private CA. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. You specify the private CA on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair. You can apply a tag to just one private CA if you want to identify a specific characteristic of that CA, or you can apply the same tag to multiple private CAs if you want to filter for a common relationship among those CAs. To remove one or more tags, use the UntagCertificateAuthority function. Call the ListTags function to see what tags are associated with your CA.

Synopsis

Creating a Request

tagCertificateAuthority Source #

Creates a value of TagCertificateAuthority with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • tcaCertificateAuthorityARN - The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority . This must be of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012
  • tcaTags - List of tags to be associated with the CA.

data TagCertificateAuthority Source #

See: tagCertificateAuthority smart constructor.

Instances

Eq TagCertificateAuthority Source # 
Data TagCertificateAuthority Source # 

Methods

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

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

toConstr :: TagCertificateAuthority -> Constr #

dataTypeOf :: TagCertificateAuthority -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TagCertificateAuthority Source # 
Show TagCertificateAuthority Source # 
Generic TagCertificateAuthority Source # 
Hashable TagCertificateAuthority Source # 
ToJSON TagCertificateAuthority Source # 
NFData TagCertificateAuthority Source # 

Methods

rnf :: TagCertificateAuthority -> () #

AWSRequest TagCertificateAuthority Source # 
ToHeaders TagCertificateAuthority Source # 
ToPath TagCertificateAuthority Source # 
ToQuery TagCertificateAuthority Source # 
type Rep TagCertificateAuthority Source # 
type Rep TagCertificateAuthority = D1 * (MetaData "TagCertificateAuthority" "Network.AWS.CertificateManagerPCA.TagCertificateAuthority" "amazonka-certificatemanager-pca-1.6.0-745TdprsK5d4KxFM63j3hX" False) (C1 * (MetaCons "TagCertificateAuthority'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_tcaCertificateAuthorityARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_tcaTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (List1 Tag)))))
type Rs TagCertificateAuthority Source # 

Request Lenses

tcaCertificateAuthorityARN :: Lens' TagCertificateAuthority Text Source #

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority . This must be of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012

tcaTags :: Lens' TagCertificateAuthority (NonEmpty Tag) Source #

List of tags to be associated with the CA.

Destructuring the Response

tagCertificateAuthorityResponse :: TagCertificateAuthorityResponse Source #

Creates a value of TagCertificateAuthorityResponse with the minimum fields required to make a request.

data TagCertificateAuthorityResponse Source #

See: tagCertificateAuthorityResponse smart constructor.

Instances

Eq TagCertificateAuthorityResponse Source # 
Data TagCertificateAuthorityResponse Source # 

Methods

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

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

toConstr :: TagCertificateAuthorityResponse -> Constr #

dataTypeOf :: TagCertificateAuthorityResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TagCertificateAuthorityResponse Source # 
Show TagCertificateAuthorityResponse Source # 
Generic TagCertificateAuthorityResponse Source # 
NFData TagCertificateAuthorityResponse Source # 
type Rep TagCertificateAuthorityResponse Source # 
type Rep TagCertificateAuthorityResponse = D1 * (MetaData "TagCertificateAuthorityResponse" "Network.AWS.CertificateManagerPCA.TagCertificateAuthority" "amazonka-certificatemanager-pca-1.6.0-745TdprsK5d4KxFM63j3hX" False) (C1 * (MetaCons "TagCertificateAuthorityResponse'" PrefixI False) (U1 *))