amazonka-cloudwatch-events-1.4.4: Amazon CloudWatch Events 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.CloudWatchEvents.Types

Contents

Description

 

Synopsis

Service Configuration

cloudWatchEvents :: Service Source #

API version '2015-10-07' of the Amazon CloudWatch Events SDK configuration.

Errors

_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception occurs if there is concurrent modification on rule or target.

_InternalException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception occurs due to unexpected causes.

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception occurs if you try to create more rules or add more targets to a rule than allowed by default.

RuleState

data RuleState Source #

Constructors

Disabled 
Enabled 

Instances

Bounded RuleState Source # 
Enum RuleState Source # 
Eq RuleState Source # 
Data RuleState Source # 

Methods

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

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

toConstr :: RuleState -> Constr #

dataTypeOf :: RuleState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord RuleState Source # 
Read RuleState Source # 
Show RuleState Source # 
Generic RuleState Source # 

Associated Types

type Rep RuleState :: * -> * #

Hashable RuleState Source # 
NFData RuleState Source # 

Methods

rnf :: RuleState -> () #

ToHeader RuleState Source # 
ToQuery RuleState Source # 
ToByteString RuleState Source # 

Methods

toBS :: RuleState -> ByteString #

FromJSON RuleState Source # 

Methods

parseJSON :: Value -> Parser RuleState #

ToJSON RuleState Source # 

Methods

toJSON :: RuleState -> Value #

toEncoding :: RuleState -> Encoding #

FromText RuleState Source # 

Methods

parser :: Parser RuleState #

ToText RuleState Source # 

Methods

toText :: RuleState -> Text #

type Rep RuleState Source # 
type Rep RuleState = D1 (MetaData "RuleState" "Network.AWS.CloudWatchEvents.Types.Sum" "amazonka-cloudwatch-events-1.4.4-KZ4l8o6fE916IyhwOgxY8Z" False) ((:+:) (C1 (MetaCons "Disabled" PrefixI False) U1) (C1 (MetaCons "Enabled" PrefixI False) U1))

PutEventsRequestEntry

data PutEventsRequestEntry Source #

Contains information about the event to be used in PutEvents.

See: putEventsRequestEntry smart constructor.

Instances

Eq PutEventsRequestEntry Source # 
Data PutEventsRequestEntry Source # 

Methods

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

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

toConstr :: PutEventsRequestEntry -> Constr #

dataTypeOf :: PutEventsRequestEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutEventsRequestEntry Source # 
Show PutEventsRequestEntry Source # 
Generic PutEventsRequestEntry Source # 
Hashable PutEventsRequestEntry Source # 
NFData PutEventsRequestEntry Source # 

Methods

rnf :: PutEventsRequestEntry -> () #

ToJSON PutEventsRequestEntry Source # 
type Rep PutEventsRequestEntry Source # 
type Rep PutEventsRequestEntry = D1 (MetaData "PutEventsRequestEntry" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.4.4-KZ4l8o6fE916IyhwOgxY8Z" False) (C1 (MetaCons "PutEventsRequestEntry'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pereTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_pereDetailType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_pereResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_pereSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pereDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

putEventsRequestEntry :: PutEventsRequestEntry Source #

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

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

pereTime :: Lens' PutEventsRequestEntry (Maybe UTCTime) Source #

Timestamp of event, per RFC3339. If no timestamp is provided, the timestamp of the PutEvents call will be used.

pereDetailType :: Lens' PutEventsRequestEntry (Maybe Text) Source #

Free-form string used to decide what fields to expect in the event detail.

pereResources :: Lens' PutEventsRequestEntry [Text] Source #

AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.

pereSource :: Lens' PutEventsRequestEntry (Maybe Text) Source #

The source of the event.

pereDetail :: Lens' PutEventsRequestEntry (Maybe Text) Source #

In the JSON sense, an object containing fields, which may also contain nested sub-objects. No constraints are imposed on its contents.

PutEventsResultEntry

data PutEventsResultEntry Source #

A PutEventsResult contains a list of PutEventsResultEntry.

See: putEventsResultEntry smart constructor.

Instances

Eq PutEventsResultEntry Source # 
Data PutEventsResultEntry Source # 

Methods

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

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

toConstr :: PutEventsResultEntry -> Constr #

dataTypeOf :: PutEventsResultEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutEventsResultEntry Source # 
Show PutEventsResultEntry Source # 
Generic PutEventsResultEntry Source # 
Hashable PutEventsResultEntry Source # 
NFData PutEventsResultEntry Source # 

Methods

rnf :: PutEventsResultEntry -> () #

FromJSON PutEventsResultEntry Source # 
type Rep PutEventsResultEntry Source # 
type Rep PutEventsResultEntry = D1 (MetaData "PutEventsResultEntry" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.4.4-KZ4l8o6fE916IyhwOgxY8Z" False) (C1 (MetaCons "PutEventsResultEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pereErrorCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pereErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pereEventId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

putEventsResultEntry :: PutEventsResultEntry Source #

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

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

pereErrorCode :: Lens' PutEventsResultEntry (Maybe Text) Source #

The error code representing why the event submission failed on this entry.

pereErrorMessage :: Lens' PutEventsResultEntry (Maybe Text) Source #

The error message explaining why the event submission failed on this entry.

pereEventId :: Lens' PutEventsResultEntry (Maybe Text) Source #

The ID of the event submitted to Amazon CloudWatch Events.

PutTargetsResultEntry

data PutTargetsResultEntry Source #

A PutTargetsResult contains a list of PutTargetsResultEntry.

See: putTargetsResultEntry smart constructor.

Instances

Eq PutTargetsResultEntry Source # 
Data PutTargetsResultEntry Source # 

Methods

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

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

toConstr :: PutTargetsResultEntry -> Constr #

dataTypeOf :: PutTargetsResultEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutTargetsResultEntry Source # 
Show PutTargetsResultEntry Source # 
Generic PutTargetsResultEntry Source # 
Hashable PutTargetsResultEntry Source # 
NFData PutTargetsResultEntry Source # 

Methods

rnf :: PutTargetsResultEntry -> () #

FromJSON PutTargetsResultEntry Source # 
type Rep PutTargetsResultEntry Source # 
type Rep PutTargetsResultEntry = D1 (MetaData "PutTargetsResultEntry" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.4.4-KZ4l8o6fE916IyhwOgxY8Z" False) (C1 (MetaCons "PutTargetsResultEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ptreTargetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ptreErrorCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ptreErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

putTargetsResultEntry :: PutTargetsResultEntry Source #

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

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

ptreTargetId :: Lens' PutTargetsResultEntry (Maybe Text) Source #

The ID of the target submitted to Amazon CloudWatch Events.

ptreErrorCode :: Lens' PutTargetsResultEntry (Maybe Text) Source #

The error code representing why the target submission failed on this entry.

ptreErrorMessage :: Lens' PutTargetsResultEntry (Maybe Text) Source #

The error message explaining why the target submission failed on this entry.

RemoveTargetsResultEntry

data RemoveTargetsResultEntry Source #

The ID of the target requested to be removed from the rule by Amazon CloudWatch Events.

See: removeTargetsResultEntry smart constructor.

Instances

Eq RemoveTargetsResultEntry Source # 
Data RemoveTargetsResultEntry Source # 

Methods

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

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

toConstr :: RemoveTargetsResultEntry -> Constr #

dataTypeOf :: RemoveTargetsResultEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RemoveTargetsResultEntry Source # 
Show RemoveTargetsResultEntry Source # 
Generic RemoveTargetsResultEntry Source # 
Hashable RemoveTargetsResultEntry Source # 
NFData RemoveTargetsResultEntry Source # 
FromJSON RemoveTargetsResultEntry Source # 
type Rep RemoveTargetsResultEntry Source # 
type Rep RemoveTargetsResultEntry = D1 (MetaData "RemoveTargetsResultEntry" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.4.4-KZ4l8o6fE916IyhwOgxY8Z" False) (C1 (MetaCons "RemoveTargetsResultEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rtreTargetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rtreErrorCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rtreErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

removeTargetsResultEntry :: RemoveTargetsResultEntry Source #

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

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

rtreTargetId :: Lens' RemoveTargetsResultEntry (Maybe Text) Source #

The ID of the target requested to be removed by Amazon CloudWatch Events.

rtreErrorCode :: Lens' RemoveTargetsResultEntry (Maybe Text) Source #

The error code representing why the target removal failed on this entry.

rtreErrorMessage :: Lens' RemoveTargetsResultEntry (Maybe Text) Source #

The error message explaining why the target removal failed on this entry.

Rule

data Rule Source #

Contains information about a rule in Amazon CloudWatch Events. A ListRulesResult contains a list of Rules.

See: rule smart constructor.

Instances

Eq Rule Source # 

Methods

(==) :: Rule -> Rule -> Bool #

(/=) :: Rule -> Rule -> Bool #

Data Rule Source # 

Methods

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

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

toConstr :: Rule -> Constr #

dataTypeOf :: Rule -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Rule Source # 
Show Rule Source # 

Methods

showsPrec :: Int -> Rule -> ShowS #

show :: Rule -> String #

showList :: [Rule] -> ShowS #

Generic Rule Source # 

Associated Types

type Rep Rule :: * -> * #

Methods

from :: Rule -> Rep Rule x #

to :: Rep Rule x -> Rule #

Hashable Rule Source # 

Methods

hashWithSalt :: Int -> Rule -> Int #

hash :: Rule -> Int #

NFData Rule Source # 

Methods

rnf :: Rule -> () #

FromJSON Rule Source # 

Methods

parseJSON :: Value -> Parser Rule #

type Rep Rule Source # 

rule :: Rule Source #

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

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

rEventPattern :: Lens' Rule (Maybe Text) Source #

The event pattern of the rule.

rState :: Lens' Rule (Maybe RuleState) Source #

The rule's state.

rARN :: Lens' Rule (Maybe Text) Source #

The Amazon Resource Name (ARN) of the rule.

rScheduleExpression :: Lens' Rule (Maybe Text) Source #

The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".

rName :: Lens' Rule (Maybe Text) Source #

The rule's name.

rDescription :: Lens' Rule (Maybe Text) Source #

The description of the rule.

rRoleARN :: Lens' Rule (Maybe Text) Source #

The Amazon Resource Name (ARN) associated with the role that is used for target invocation.

Target

data Target Source #

Targets are the resources that can be invoked when a rule is triggered. For example, AWS Lambda functions, Amazon Kinesis streams, and built-in targets.

Input and InputPath are mutually-exclusive and optional parameters of a target. When a rule is triggered due to a matched event, if for a target:

  • Neither Input nor InputPath is specified, then the entire event is passed to the target in JSON form.
  • InputPath is specified in the form of JSONPath (e.g. >.detail), then only the part of the event specified in the path is passed to the target (e.g. only the detail part of the event is passed).
  • Input is specified in the form of a valid JSON, then the matched event is overridden with this constant.

See: target smart constructor.

Instances

Eq Target Source # 

Methods

(==) :: Target -> Target -> Bool #

(/=) :: Target -> Target -> Bool #

Data Target Source # 

Methods

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

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

toConstr :: Target -> Constr #

dataTypeOf :: Target -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Target Source # 
Show Target Source # 
Generic Target Source # 

Associated Types

type Rep Target :: * -> * #

Methods

from :: Target -> Rep Target x #

to :: Rep Target x -> Target #

Hashable Target Source # 

Methods

hashWithSalt :: Int -> Target -> Int #

hash :: Target -> Int #

NFData Target Source # 

Methods

rnf :: Target -> () #

FromJSON Target Source # 

Methods

parseJSON :: Value -> Parser Target #

ToJSON Target Source # 

Methods

toJSON :: Target -> Value #

toEncoding :: Target -> Encoding #

type Rep Target Source # 
type Rep Target = D1 (MetaData "Target" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.4.4-KZ4l8o6fE916IyhwOgxY8Z" False) (C1 (MetaCons "Target'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tInputPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

target Source #

Arguments

:: Text

tId

-> Text

tARN

-> Target 

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

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

tInput :: Lens' Target (Maybe Text) Source #

Valid JSON text passed to the target. For more information about JSON text, see The JavaScript Object Notation (JSON) Data Interchange Format.

tInputPath :: Lens' Target (Maybe Text) Source #

The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. For more information about JSON paths, see JSONPath.

tId :: Lens' Target Text Source #

The unique target assignment ID.

tARN :: Lens' Target Text Source #

The Amazon Resource Name (ARN) associated of the target.