amazonka-cloudwatch-logs-1.4.4: Amazon CloudWatch Logs SDK.

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

Network.AWS.CloudWatchLogs.PutDestinationPolicy

Contents

Description

Creates or updates an access policy associated with an existing Destination. An access policy is an IAM policy document that is used to authorize claims to register a subscription filter against a given destination.

Synopsis

Creating a Request

putDestinationPolicy Source #

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

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

data PutDestinationPolicy Source #

See: putDestinationPolicy smart constructor.

Instances

Eq PutDestinationPolicy Source # 
Data PutDestinationPolicy Source # 

Methods

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

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

toConstr :: PutDestinationPolicy -> Constr #

dataTypeOf :: PutDestinationPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutDestinationPolicy Source # 
Show PutDestinationPolicy Source # 
Generic PutDestinationPolicy Source # 
Hashable PutDestinationPolicy Source # 
NFData PutDestinationPolicy Source # 

Methods

rnf :: PutDestinationPolicy -> () #

AWSRequest PutDestinationPolicy Source # 
ToPath PutDestinationPolicy Source # 
ToHeaders PutDestinationPolicy Source # 
ToQuery PutDestinationPolicy Source # 
ToJSON PutDestinationPolicy Source # 
type Rep PutDestinationPolicy Source # 
type Rep PutDestinationPolicy = D1 (MetaData "PutDestinationPolicy" "Network.AWS.CloudWatchLogs.PutDestinationPolicy" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" False) (C1 (MetaCons "PutDestinationPolicy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pdpDestinationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_pdpAccessPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs PutDestinationPolicy Source # 

Request Lenses

pdpDestinationName :: Lens' PutDestinationPolicy Text Source #

A name for an existing destination.

pdpAccessPolicy :: Lens' PutDestinationPolicy Text Source #

An IAM policy document that authorizes cross-account users to deliver their log events to associated destination.

Destructuring the Response

putDestinationPolicyResponse :: PutDestinationPolicyResponse Source #

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

data PutDestinationPolicyResponse Source #

See: putDestinationPolicyResponse smart constructor.

Instances

Eq PutDestinationPolicyResponse Source # 
Data PutDestinationPolicyResponse Source # 

Methods

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

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

toConstr :: PutDestinationPolicyResponse -> Constr #

dataTypeOf :: PutDestinationPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutDestinationPolicyResponse Source # 
Show PutDestinationPolicyResponse Source # 
Generic PutDestinationPolicyResponse Source # 
NFData PutDestinationPolicyResponse Source # 
type Rep PutDestinationPolicyResponse Source # 
type Rep PutDestinationPolicyResponse = D1 (MetaData "PutDestinationPolicyResponse" "Network.AWS.CloudWatchLogs.PutDestinationPolicy" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" False) (C1 (MetaCons "PutDestinationPolicyResponse'" PrefixI False) U1)