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

Contents

Description

 
Synopsis

Service Configuration

cloudWatchEvents :: Service #

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

Errors

_PolicyLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError #

The event bus policy is too long. For more information, see the limits.

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

There is concurrent modification on a rule or target.

_InvalidEventPatternException :: AsError a => Getting (First ServiceError) a ServiceError #

The event pattern is not valid.

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

This exception occurs due to unexpected causes.

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError #

An entity that you specified does not exist.

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

You tried to create more rules or add more targets to a rule than is allowed.

RuleState

data RuleState #

Constructors

Disabled 
Enabled 
Instances
Bounded RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Enum RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Eq RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Data RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Read RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Show RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Generic RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Associated Types

type Rep RuleState :: Type -> Type #

Hashable RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

ToJSON RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

FromJSON RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

ToHeader RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

ToQuery RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

ToByteString RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Methods

toBS :: RuleState -> ByteString #

FromText RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

ToText RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Methods

toText :: RuleState -> Text #

NFData RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Methods

rnf :: RuleState -> () #

type Rep RuleState # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

type Rep RuleState = D1 (MetaData "RuleState" "Network.AWS.CloudWatchEvents.Types.Sum" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" False) (C1 (MetaCons "Disabled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Enabled" PrefixI False) (U1 :: Type -> Type))

BatchArrayProperties

data BatchArrayProperties #

The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.

See: batchArrayProperties smart constructor.

Instances
Eq BatchArrayProperties # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data BatchArrayProperties # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

toConstr :: BatchArrayProperties -> Constr #

dataTypeOf :: BatchArrayProperties -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchArrayProperties # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show BatchArrayProperties # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic BatchArrayProperties # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep BatchArrayProperties :: Type -> Type #

Hashable BatchArrayProperties # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON BatchArrayProperties # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON BatchArrayProperties # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData BatchArrayProperties # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: BatchArrayProperties -> () #

type Rep BatchArrayProperties # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

type Rep BatchArrayProperties = D1 (MetaData "BatchArrayProperties" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" True) (C1 (MetaCons "BatchArrayProperties'" PrefixI True) (S1 (MetaSel (Just "_bapSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))))

batchArrayProperties :: BatchArrayProperties #

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

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

  • bapSize - The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000.

bapSize :: Lens' BatchArrayProperties (Maybe Int) #

The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000.

BatchParameters

data BatchParameters #

The custom parameters to be used when the target is an AWS Batch job.

See: batchParameters smart constructor.

Instances
Eq BatchParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data BatchParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

toConstr :: BatchParameters -> Constr #

dataTypeOf :: BatchParameters -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show BatchParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic BatchParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep BatchParameters :: Type -> Type #

Hashable BatchParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON BatchParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON BatchParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData BatchParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: BatchParameters -> () #

type Rep BatchParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

type Rep BatchParameters = D1 (MetaData "BatchParameters" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" False) (C1 (MetaCons "BatchParameters'" PrefixI True) ((S1 (MetaSel (Just "_bpRetryStrategy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BatchRetryStrategy)) :*: S1 (MetaSel (Just "_bpArrayProperties") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BatchArrayProperties))) :*: (S1 (MetaSel (Just "_bpJobDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bpJobName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

batchParameters #

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

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

  • bpRetryStrategy - The retry strategy to use for failed jobs, if the target is an AWS Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1 to 10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
  • bpArrayProperties - The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.
  • bpJobDefinition - The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist.
  • bpJobName - The name to use for this execution of the job, if the target is an AWS Batch job.

bpRetryStrategy :: Lens' BatchParameters (Maybe BatchRetryStrategy) #

The retry strategy to use for failed jobs, if the target is an AWS Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1 to 10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.

bpArrayProperties :: Lens' BatchParameters (Maybe BatchArrayProperties) #

The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.

bpJobDefinition :: Lens' BatchParameters Text #

The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist.

bpJobName :: Lens' BatchParameters Text #

The name to use for this execution of the job, if the target is an AWS Batch job.

BatchRetryStrategy

data BatchRetryStrategy #

The retry strategy to use for failed jobs, if the target is an AWS Batch job. If you specify a retry strategy here, it overrides the retry strategy defined in the job definition.

See: batchRetryStrategy smart constructor.

Instances
Eq BatchRetryStrategy # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data BatchRetryStrategy # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

toConstr :: BatchRetryStrategy -> Constr #

dataTypeOf :: BatchRetryStrategy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchRetryStrategy # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show BatchRetryStrategy # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic BatchRetryStrategy # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep BatchRetryStrategy :: Type -> Type #

Hashable BatchRetryStrategy # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON BatchRetryStrategy # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON BatchRetryStrategy # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData BatchRetryStrategy # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: BatchRetryStrategy -> () #

type Rep BatchRetryStrategy # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

type Rep BatchRetryStrategy = D1 (MetaData "BatchRetryStrategy" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" True) (C1 (MetaCons "BatchRetryStrategy'" PrefixI True) (S1 (MetaSel (Just "_brsAttempts") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))))

batchRetryStrategy :: BatchRetryStrategy #

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

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

  • brsAttempts - The number of times to attempt to retry, if the job fails. Valid values are 1 to 10.

brsAttempts :: Lens' BatchRetryStrategy (Maybe Int) #

The number of times to attempt to retry, if the job fails. Valid values are 1 to 10.

EcsParameters

data EcsParameters #

The custom parameters to be used when the target is an Amazon ECS cluster.

See: ecsParameters smart constructor.

Instances
Eq EcsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data EcsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

toConstr :: EcsParameters -> Constr #

dataTypeOf :: EcsParameters -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EcsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show EcsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic EcsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep EcsParameters :: Type -> Type #

Hashable EcsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON EcsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON EcsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData EcsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: EcsParameters -> () #

type Rep EcsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

type Rep EcsParameters = D1 (MetaData "EcsParameters" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" False) (C1 (MetaCons "EcsParameters'" PrefixI True) (S1 (MetaSel (Just "_epTaskCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_epTaskDefinitionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

ecsParameters #

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

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

  • epTaskCount - The number of tasks to create based on the TaskDefinition . The default is one.
  • epTaskDefinitionARN - The ARN of the task definition to use if the event target is an Amazon ECS cluster.

epTaskCount :: Lens' EcsParameters (Maybe Natural) #

The number of tasks to create based on the TaskDefinition . The default is one.

epTaskDefinitionARN :: Lens' EcsParameters Text #

The ARN of the task definition to use if the event target is an Amazon ECS cluster.

InputTransformer

data InputTransformer #

Contains the parameters needed for you to provide custom input to a target based on one or more pieces of data extracted from the event.

See: inputTransformer smart constructor.

Instances
Eq InputTransformer # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data InputTransformer # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

toConstr :: InputTransformer -> Constr #

dataTypeOf :: InputTransformer -> DataType #

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

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

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

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

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

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

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

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

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

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

Read InputTransformer # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show InputTransformer # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic InputTransformer # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep InputTransformer :: Type -> Type #

Hashable InputTransformer # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON InputTransformer # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON InputTransformer # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData InputTransformer # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: InputTransformer -> () #

type Rep InputTransformer # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

type Rep InputTransformer = D1 (MetaData "InputTransformer" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" False) (C1 (MetaCons "InputTransformer'" PrefixI True) (S1 (MetaSel (Just "_itInputPathsMap") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_itInputTemplate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

inputTransformer #

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

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

  • itInputPathsMap - Map of JSON paths to be extracted from the event. These are key-value pairs, where each value is a JSON path. You must use JSON dot notation, not bracket notation.
  • itInputTemplate - Input template where you can use the values of the keys from InputPathsMap to customize the data sent to the target.

itInputPathsMap :: Lens' InputTransformer (HashMap Text Text) #

Map of JSON paths to be extracted from the event. These are key-value pairs, where each value is a JSON path. You must use JSON dot notation, not bracket notation.

itInputTemplate :: Lens' InputTransformer Text #

Input template where you can use the values of the keys from InputPathsMap to customize the data sent to the target.

KinesisParameters

data KinesisParameters #

This object enables you to specify a JSON path to extract from the event and use as the partition key for the Amazon Kinesis stream, so that you can control the shard to which the event goes. If you do not include this parameter, the default is to use the eventId as the partition key.

See: kinesisParameters smart constructor.

Instances
Eq KinesisParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data KinesisParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

toConstr :: KinesisParameters -> Constr #

dataTypeOf :: KinesisParameters -> DataType #

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

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

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

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

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

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

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

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

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

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

Read KinesisParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show KinesisParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic KinesisParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep KinesisParameters :: Type -> Type #

Hashable KinesisParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON KinesisParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON KinesisParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData KinesisParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: KinesisParameters -> () #

type Rep KinesisParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

type Rep KinesisParameters = D1 (MetaData "KinesisParameters" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" True) (C1 (MetaCons "KinesisParameters'" PrefixI True) (S1 (MetaSel (Just "_kpPartitionKeyPath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

kinesisParameters #

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

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

kpPartitionKeyPath :: Lens' KinesisParameters Text #

The JSON path to be extracted from the event and used as the partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide .

PutEventsRequestEntry

data PutEventsRequestEntry #

Represents an event to be submitted.

See: putEventsRequestEntry smart constructor.

Instances
Eq PutEventsRequestEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data PutEventsRequestEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show PutEventsRequestEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic PutEventsRequestEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep PutEventsRequestEntry :: Type -> Type #

Hashable PutEventsRequestEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON PutEventsRequestEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData PutEventsRequestEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: PutEventsRequestEntry -> () #

type Rep PutEventsRequestEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

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

putEventsRequestEntry :: PutEventsRequestEntry #

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 - The timestamp of the event, per RFC3339 . If no timestamp is provided, the timestamp of the PutEvents call is used.
  • pereDetailType - Free-form string used to decide what fields to expect in the event detail.
  • pereResources - AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
  • pereSource - The source of the event.
  • pereDetail - A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.

pereTime :: Lens' PutEventsRequestEntry (Maybe UTCTime) #

The timestamp of the event, per RFC3339 . If no timestamp is provided, the timestamp of the PutEvents call is used.

pereDetailType :: Lens' PutEventsRequestEntry (Maybe Text) #

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

pereResources :: Lens' PutEventsRequestEntry [Text] #

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) #

The source of the event.

pereDetail :: Lens' PutEventsRequestEntry (Maybe Text) #

A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.

PutEventsResultEntry

data PutEventsResultEntry #

Represents an event that failed to be submitted.

See: putEventsResultEntry smart constructor.

Instances
Eq PutEventsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data PutEventsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show PutEventsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic PutEventsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep PutEventsResultEntry :: Type -> Type #

Hashable PutEventsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON PutEventsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData PutEventsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: PutEventsResultEntry -> () #

type Rep PutEventsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

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

putEventsResultEntry :: PutEventsResultEntry #

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) #

The error code that indicates why the event submission failed.

pereErrorMessage :: Lens' PutEventsResultEntry (Maybe Text) #

The error message that explains why the event submission failed.

PutTargetsResultEntry

data PutTargetsResultEntry #

Represents a target that failed to be added to a rule.

See: putTargetsResultEntry smart constructor.

Instances
Eq PutTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data PutTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show PutTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic PutTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep PutTargetsResultEntry :: Type -> Type #

Hashable PutTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON PutTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData PutTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: PutTargetsResultEntry -> () #

type Rep PutTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

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

putTargetsResultEntry :: PutTargetsResultEntry #

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 - The ID of the target.
  • ptreErrorCode - The error code that indicates why the target addition failed. If the value is ConcurrentModificationException , too many requests were made at the same time.
  • ptreErrorMessage - The error message that explains why the target addition failed.

ptreErrorCode :: Lens' PutTargetsResultEntry (Maybe Text) #

The error code that indicates why the target addition failed. If the value is ConcurrentModificationException , too many requests were made at the same time.

ptreErrorMessage :: Lens' PutTargetsResultEntry (Maybe Text) #

The error message that explains why the target addition failed.

RemoveTargetsResultEntry

data RemoveTargetsResultEntry #

Represents a target that failed to be removed from a rule.

See: removeTargetsResultEntry smart constructor.

Instances
Eq RemoveTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data RemoveTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show RemoveTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic RemoveTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep RemoveTargetsResultEntry :: Type -> Type #

Hashable RemoveTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON RemoveTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData RemoveTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

type Rep RemoveTargetsResultEntry # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

type Rep RemoveTargetsResultEntry = D1 (MetaData "RemoveTargetsResultEntry" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" False) (C1 (MetaCons "RemoveTargetsResultEntry'" PrefixI True) (S1 (MetaSel (Just "_rtreTargetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rtreErrorCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rtreErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

removeTargetsResultEntry :: RemoveTargetsResultEntry #

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 - The ID of the target.
  • rtreErrorCode - The error code that indicates why the target removal failed. If the value is ConcurrentModificationException , too many requests were made at the same time.
  • rtreErrorMessage - The error message that explains why the target removal failed.

rtreErrorCode :: Lens' RemoveTargetsResultEntry (Maybe Text) #

The error code that indicates why the target removal failed. If the value is ConcurrentModificationException , too many requests were made at the same time.

rtreErrorMessage :: Lens' RemoveTargetsResultEntry (Maybe Text) #

The error message that explains why the target removal failed.

Rule

data Rule #

Contains information about a rule in Amazon CloudWatch Events.

See: rule smart constructor.

Instances
Eq Rule # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

Data Rule # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show Rule # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

showsPrec :: Int -> Rule -> ShowS #

show :: Rule -> String #

showList :: [Rule] -> ShowS #

Generic Rule # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep Rule :: Type -> Type #

Methods

from :: Rule -> Rep Rule x #

to :: Rep Rule x -> Rule #

Hashable Rule # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

hashWithSalt :: Int -> Rule -> Int #

hash :: Rule -> Int #

FromJSON Rule # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData Rule # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: Rule -> () #

type Rep Rule # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

rule :: Rule #

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 - The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon CloudWatch Events User Guide .
  • rState - The state of the rule.
  • rARN - The Amazon Resource Name (ARN) of the rule.
  • rScheduleExpression - The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
  • rName - The name of the rule.
  • rDescription - The description of the rule.
  • rRoleARN - The Amazon Resource Name (ARN) of the role that is used for target invocation.

rEventPattern :: Lens' Rule (Maybe Text) #

The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon CloudWatch Events User Guide .

rState :: Lens' Rule (Maybe RuleState) #

The state of the rule.

rARN :: Lens' Rule (Maybe Text) #

The Amazon Resource Name (ARN) of the rule.

rScheduleExpression :: Lens' Rule (Maybe Text) #

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

rName :: Lens' Rule (Maybe Text) #

The name of the rule.

rDescription :: Lens' Rule (Maybe Text) #

The description of the rule.

rRoleARN :: Lens' Rule (Maybe Text) #

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

RunCommandParameters

data RunCommandParameters #

This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.

See: runCommandParameters smart constructor.

Instances
Eq RunCommandParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data RunCommandParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

toConstr :: RunCommandParameters -> Constr #

dataTypeOf :: RunCommandParameters -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RunCommandParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show RunCommandParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic RunCommandParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep RunCommandParameters :: Type -> Type #

Hashable RunCommandParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON RunCommandParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON RunCommandParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData RunCommandParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: RunCommandParameters -> () #

type Rep RunCommandParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

type Rep RunCommandParameters = D1 (MetaData "RunCommandParameters" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" True) (C1 (MetaCons "RunCommandParameters'" PrefixI True) (S1 (MetaSel (Just "_rcpRunCommandTargets") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (List1 RunCommandTarget))))

runCommandParameters #

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

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

  • rcpRunCommandTargets - Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.

rcpRunCommandTargets :: Lens' RunCommandParameters (NonEmpty RunCommandTarget) #

Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.

RunCommandTarget

data RunCommandTarget #

Information about the EC2 instances that are to be sent the command, specified as key-value pairs. Each RunCommandTarget block can include only one key, but this key may specify multiple values.

See: runCommandTarget smart constructor.

Instances
Eq RunCommandTarget # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data RunCommandTarget # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

toConstr :: RunCommandTarget -> Constr #

dataTypeOf :: RunCommandTarget -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RunCommandTarget # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show RunCommandTarget # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic RunCommandTarget # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep RunCommandTarget :: Type -> Type #

Hashable RunCommandTarget # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON RunCommandTarget # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON RunCommandTarget # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData RunCommandTarget # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: RunCommandTarget -> () #

type Rep RunCommandTarget # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

type Rep RunCommandTarget = D1 (MetaData "RunCommandTarget" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" False) (C1 (MetaCons "RunCommandTarget'" PrefixI True) (S1 (MetaSel (Just "_rctKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rctValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 Text))))

runCommandTarget #

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

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

  • rctKey - Can be either tag: tag-key or InstanceIds .
  • rctValues - If Key is tag: tag-key , Values is a list of tag values. If Key is InstanceIds , Values is a list of Amazon EC2 instance IDs.

rctKey :: Lens' RunCommandTarget Text #

Can be either tag: tag-key or InstanceIds .

rctValues :: Lens' RunCommandTarget (NonEmpty Text) #

If Key is tag: tag-key , Values is a list of tag values. If Key is InstanceIds , Values is a list of Amazon EC2 instance IDs.

SqsParameters

data SqsParameters #

This structure includes the custom parameter to be used when the target is an SQS FIFO queue.

See: sqsParameters smart constructor.

Instances
Eq SqsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data SqsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

toConstr :: SqsParameters -> Constr #

dataTypeOf :: SqsParameters -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SqsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show SqsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic SqsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep SqsParameters :: Type -> Type #

Hashable SqsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON SqsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON SqsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData SqsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: SqsParameters -> () #

type Rep SqsParameters # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

type Rep SqsParameters = D1 (MetaData "SqsParameters" "Network.AWS.CloudWatchEvents.Types.Product" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" True) (C1 (MetaCons "SqsParameters'" PrefixI True) (S1 (MetaSel (Just "_spMessageGroupId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

sqsParameters :: SqsParameters #

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

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

spMessageGroupId :: Lens' SqsParameters (Maybe Text) #

The FIFO message group ID to use as the target.

Target

data Target #

Targets are the resources to be invoked when a rule is triggered. Target types include EC2 instances, AWS Lambda functions, Amazon Kinesis streams, Amazon ECS tasks, AWS Step Functions state machines, Run Command, and built-in targets.

See: target smart constructor.

Instances
Eq Target # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

Data Target # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show Target # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic Target # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep Target :: Type -> Type #

Methods

from :: Target -> Rep Target x #

to :: Rep Target x -> Target #

Hashable Target # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

hashWithSalt :: Int -> Target -> Int #

hash :: Target -> Int #

ToJSON Target # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON Target # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData Target # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: Target -> () #

type Rep Target # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

target #

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:

  • tRunCommandParameters - Parameters used when you are using the rule to invoke Amazon EC2 Run Command.
  • tKinesisParameters - The custom parameter you can use to control shard assignment, when the target is an Amazon Kinesis stream. If you do not include this parameter, the default is to use the eventId as the partition key.
  • tInputTransformer - Settings to enable you to provide custom input to a target based on certain event data. You can extract one or more key-value pairs from the event and then use that data to send customized input to the target.
  • tSqsParameters - Contains the message group ID to use when the target is a FIFO queue.
  • tInput - Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format .
  • tBatchParameters - Contains the job definition, job name, and other parameters if the event target is an AWS Batch job. For more information about AWS Batch, see Jobs in the AWS Batch User Guide .
  • tEcsParameters - Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task. For more information about Amazon ECS tasks, see Task Definitions in the Amazon EC2 Container Service Developer Guide .
  • tInputPath - The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. You must use JSON dot notation, not bracket notation. For more information about JSON paths, see JSONPath .
  • tRoleARN - The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. If one rule triggers multiple targets, you can use a different IAM role for each target.
  • tId - The ID of the target.
  • tARN - The Amazon Resource Name (ARN) of the target.

tRunCommandParameters :: Lens' Target (Maybe RunCommandParameters) #

Parameters used when you are using the rule to invoke Amazon EC2 Run Command.

tKinesisParameters :: Lens' Target (Maybe KinesisParameters) #

The custom parameter you can use to control shard assignment, when the target is an Amazon Kinesis stream. If you do not include this parameter, the default is to use the eventId as the partition key.

tInputTransformer :: Lens' Target (Maybe InputTransformer) #

Settings to enable you to provide custom input to a target based on certain event data. You can extract one or more key-value pairs from the event and then use that data to send customized input to the target.

tSqsParameters :: Lens' Target (Maybe SqsParameters) #

Contains the message group ID to use when the target is a FIFO queue.

tInput :: Lens' Target (Maybe Text) #

Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format .

tBatchParameters :: Lens' Target (Maybe BatchParameters) #

Contains the job definition, job name, and other parameters if the event target is an AWS Batch job. For more information about AWS Batch, see Jobs in the AWS Batch User Guide .

tEcsParameters :: Lens' Target (Maybe EcsParameters) #

Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task. For more information about Amazon ECS tasks, see Task Definitions in the Amazon EC2 Container Service Developer Guide .

tInputPath :: Lens' Target (Maybe Text) #

The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. You must use JSON dot notation, not bracket notation. For more information about JSON paths, see JSONPath .

tRoleARN :: Lens' Target (Maybe Text) #

The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. If one rule triggers multiple targets, you can use a different IAM role for each target.

tId :: Lens' Target Text #

The ID of the target.

tARN :: Lens' Target Text #

The Amazon Resource Name (ARN) of the target.