amazonka-certificatemanager-1.6.1: Amazon Certificate Manager 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.CertificateManager.AddTagsToCertificate

Contents

Description

Adds one or more tags to an ACM certificate. 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 certificate 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 certificate if you want to identify a specific characteristic of that certificate, or you can apply the same tag to multiple certificates if you want to filter for a common relationship among those certificates. Similarly, you can apply the same tag to multiple resources if you want to specify a relationship among those resources. For example, you can add the same tag to an ACM certificate and an Elastic Load Balancing load balancer to indicate that they are both used by the same website. For more information, see Tagging ACM certificates .

To remove one or more tags, use the RemoveTagsFromCertificate action. To view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action.

Synopsis

Creating a Request

addTagsToCertificate Source #

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

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

data AddTagsToCertificate Source #

See: addTagsToCertificate smart constructor.

Instances
Eq AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Data AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Methods

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

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

toConstr :: AddTagsToCertificate -> Constr #

dataTypeOf :: AddTagsToCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Show AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Generic AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Associated Types

type Rep AddTagsToCertificate :: Type -> Type #

Hashable AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

ToJSON AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

AWSRequest AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Associated Types

type Rs AddTagsToCertificate :: Type #

ToHeaders AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

ToPath AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

ToQuery AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

NFData AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Methods

rnf :: AddTagsToCertificate -> () #

type Rep AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

type Rep AddTagsToCertificate = D1 (MetaData "AddTagsToCertificate" "Network.AWS.CertificateManager.AddTagsToCertificate" "amazonka-certificatemanager-1.6.1-4shwck4gg3E1zBQz4D8KdL" False) (C1 (MetaCons "AddTagsToCertificate'" PrefixI True) (S1 (MetaSel (Just "_attcCertificateARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_attcTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 Tag))))
type Rs AddTagsToCertificate Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Request Lenses

attcCertificateARN :: Lens' AddTagsToCertificate Text Source #

String that contains the ARN of the ACM certificate to which the tag is to be applied. This must be of the 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 .

attcTags :: Lens' AddTagsToCertificate (NonEmpty Tag) Source #

The key-value pair that defines the tag. The tag value is optional.

Destructuring the Response

addTagsToCertificateResponse :: AddTagsToCertificateResponse Source #

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

data AddTagsToCertificateResponse Source #

See: addTagsToCertificateResponse smart constructor.

Instances
Eq AddTagsToCertificateResponse Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Data AddTagsToCertificateResponse Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Methods

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

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

toConstr :: AddTagsToCertificateResponse -> Constr #

dataTypeOf :: AddTagsToCertificateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddTagsToCertificateResponse Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Show AddTagsToCertificateResponse Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Generic AddTagsToCertificateResponse Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

Associated Types

type Rep AddTagsToCertificateResponse :: Type -> Type #

NFData AddTagsToCertificateResponse Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

type Rep AddTagsToCertificateResponse Source # 
Instance details

Defined in Network.AWS.CertificateManager.AddTagsToCertificate

type Rep AddTagsToCertificateResponse = D1 (MetaData "AddTagsToCertificateResponse" "Network.AWS.CertificateManager.AddTagsToCertificate" "amazonka-certificatemanager-1.6.1-4shwck4gg3E1zBQz4D8KdL" False) (C1 (MetaCons "AddTagsToCertificateResponse'" PrefixI False) (U1 :: Type -> Type))