amazonka-cloudwatch-logs-1.6.1: Amazon CloudWatch Logs 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.CloudWatchLogs.TagLogGroup

Contents

Description

Adds or updates the specified tags for the specified log group.

To list the tags for a log group, use ListTagsLogGroup . To remove tags, use UntagLogGroup .

For more information about tags, see Tag Log Groups in Amazon CloudWatch Logs in the Amazon CloudWatch Logs User Guide .

Synopsis

Creating a Request

tagLogGroup Source #

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

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

data TagLogGroup Source #

See: tagLogGroup smart constructor.

Instances
Eq TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Data TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Methods

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

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

toConstr :: TagLogGroup -> Constr #

dataTypeOf :: TagLogGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Show TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Generic TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Associated Types

type Rep TagLogGroup :: Type -> Type #

Hashable TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

ToJSON TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

AWSRequest TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Associated Types

type Rs TagLogGroup :: Type #

ToHeaders TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Methods

toHeaders :: TagLogGroup -> [Header] #

ToPath TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

ToQuery TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

NFData TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Methods

rnf :: TagLogGroup -> () #

type Rep TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

type Rep TagLogGroup = D1 (MetaData "TagLogGroup" "Network.AWS.CloudWatchLogs.TagLogGroup" "amazonka-cloudwatch-logs-1.6.1-3MDuvRaDmjeBjiAkGx8qXs" False) (C1 (MetaCons "TagLogGroup'" PrefixI True) (S1 (MetaSel (Just "_tlgLogGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tlgTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Map Text Text))))
type Rs TagLogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Request Lenses

tlgLogGroupName :: Lens' TagLogGroup Text Source #

The name of the log group.

tlgTags :: Lens' TagLogGroup (HashMap Text Text) Source #

The key-value pairs to use for the tags.

Destructuring the Response

tagLogGroupResponse :: TagLogGroupResponse Source #

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

data TagLogGroupResponse Source #

See: tagLogGroupResponse smart constructor.

Instances
Eq TagLogGroupResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Data TagLogGroupResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Methods

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

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

toConstr :: TagLogGroupResponse -> Constr #

dataTypeOf :: TagLogGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TagLogGroupResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Show TagLogGroupResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Generic TagLogGroupResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Associated Types

type Rep TagLogGroupResponse :: Type -> Type #

NFData TagLogGroupResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

Methods

rnf :: TagLogGroupResponse -> () #

type Rep TagLogGroupResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.TagLogGroup

type Rep TagLogGroupResponse = D1 (MetaData "TagLogGroupResponse" "Network.AWS.CloudWatchLogs.TagLogGroup" "amazonka-cloudwatch-logs-1.6.1-3MDuvRaDmjeBjiAkGx8qXs" False) (C1 (MetaCons "TagLogGroupResponse'" PrefixI False) (U1 :: Type -> Type))