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

Contents

Description

Amazon CloudWatch Events helps you to respond to state changes in your AWS resources. When your resources change state, they automatically send events into an event stream. You can create rules that match selected events in the stream and route them to targets to take action. You can also use rules to take action on a pre-determined schedule. For example, you can configure rules to:

  • Automatically invoke an AWS Lambda function to update DNS entries when an event notifies you that Amazon EC2 instance enters the running state.
  • Direct specific API records from CloudTrail to an Amazon Kinesis stream for detailed analysis of potential security or availability risks.
  • Periodically invoke a built-in target to create a snapshot of an Amazon EBS volume.

For more information about the features of Amazon CloudWatch Events, see the Amazon CloudWatch Events User Guide .

Synopsis

Service Configuration

cloudWatchEvents :: Service Source #

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

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by CloudWatchEvents.

PolicyLengthExceededException

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

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

ConcurrentModificationException

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

There is concurrent modification on a rule or target.

InvalidEventPatternException

InternalException

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

This exception occurs due to unexpected causes.

ResourceNotFoundException

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

An entity that you specified does not exist.

LimitExceededException

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

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

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

RemoveTargets

DeleteRule

ListRules

PutRule

DisableRule

PutPermission

ListTargetsByRule

RemovePermission

DescribeRule

EnableRule

ListRuleNamesByTarget

TestEventPattern

DescribeEventBus

PutTargets

PutEvents

Types

RuleState

data RuleState Source #

Constructors

Disabled 
Enabled 
Instances
Bounded RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Enum RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Eq RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Data RuleState Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Read RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Show RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Generic RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Associated Types

type Rep RuleState :: Type -> Type #

Hashable RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

ToJSON RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

FromJSON RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

ToHeader RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

ToQuery RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

ToByteString RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Methods

toBS :: RuleState -> ByteString #

FromText RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

ToText RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Methods

toText :: RuleState -> Text #

NFData RuleState Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Sum

Methods

rnf :: RuleState -> () #

type Rep RuleState Source # 
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-Gr8NdACzlKB7o8reClGMUI" False) (C1 (MetaCons "Disabled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Enabled" PrefixI False) (U1 :: Type -> Type))

BatchArrayProperties

data BatchArrayProperties Source #

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

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data BatchArrayProperties Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show BatchArrayProperties Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic BatchArrayProperties Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep BatchArrayProperties :: Type -> Type #

Hashable BatchArrayProperties Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON BatchArrayProperties Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON BatchArrayProperties Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData BatchArrayProperties Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: BatchArrayProperties -> () #

type Rep BatchArrayProperties Source # 
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-Gr8NdACzlKB7o8reClGMUI" True) (C1 (MetaCons "BatchArrayProperties'" PrefixI True) (S1 (MetaSel (Just "_bapSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))))

batchArrayProperties :: BatchArrayProperties Source #

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

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

BatchParameters

data BatchParameters Source #

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

See: batchParameters smart constructor.

Instances
Eq BatchParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data BatchParameters Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show BatchParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic BatchParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep BatchParameters :: Type -> Type #

Hashable BatchParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON BatchParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON BatchParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData BatchParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: BatchParameters -> () #

type Rep BatchParameters Source # 
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-Gr8NdACzlKB7o8reClGMUI" 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 Source #

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

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

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

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

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

BatchRetryStrategy

data BatchRetryStrategy Source #

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

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data BatchRetryStrategy Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show BatchRetryStrategy Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic BatchRetryStrategy Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep BatchRetryStrategy :: Type -> Type #

Hashable BatchRetryStrategy Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON BatchRetryStrategy Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON BatchRetryStrategy Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData BatchRetryStrategy Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: BatchRetryStrategy -> () #

type Rep BatchRetryStrategy Source # 
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-Gr8NdACzlKB7o8reClGMUI" True) (C1 (MetaCons "BatchRetryStrategy'" PrefixI True) (S1 (MetaSel (Just "_brsAttempts") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))))

batchRetryStrategy :: BatchRetryStrategy Source #

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

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

EcsParameters

data EcsParameters Source #

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

See: ecsParameters smart constructor.

Instances
Eq EcsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data EcsParameters Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show EcsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic EcsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep EcsParameters :: Type -> Type #

Hashable EcsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON EcsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON EcsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData EcsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: EcsParameters -> () #

type Rep EcsParameters Source # 
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-Gr8NdACzlKB7o8reClGMUI" 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 Source #

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

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

epTaskDefinitionARN :: Lens' EcsParameters Text Source #

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

InputTransformer

data InputTransformer Source #

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

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data InputTransformer Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show InputTransformer Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic InputTransformer Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep InputTransformer :: Type -> Type #

Hashable InputTransformer Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON InputTransformer Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON InputTransformer Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData InputTransformer Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: InputTransformer -> () #

type Rep InputTransformer Source # 
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-Gr8NdACzlKB7o8reClGMUI" 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 Source #

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

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

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

KinesisParameters

data KinesisParameters Source #

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

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data KinesisParameters Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show KinesisParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic KinesisParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep KinesisParameters :: Type -> Type #

Hashable KinesisParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON KinesisParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON KinesisParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData KinesisParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: KinesisParameters -> () #

type Rep KinesisParameters Source # 
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-Gr8NdACzlKB7o8reClGMUI" True) (C1 (MetaCons "KinesisParameters'" PrefixI True) (S1 (MetaSel (Just "_kpPartitionKeyPath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

kinesisParameters Source #

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

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

Represents an event to be submitted.

See: putEventsRequestEntry smart constructor.

Instances
Eq PutEventsRequestEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data PutEventsRequestEntry Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show PutEventsRequestEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic PutEventsRequestEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep PutEventsRequestEntry :: Type -> Type #

Hashable PutEventsRequestEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON PutEventsRequestEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData PutEventsRequestEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: PutEventsRequestEntry -> () #

type Rep PutEventsRequestEntry Source # 
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-Gr8NdACzlKB7o8reClGMUI" 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 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 - 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) Source #

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

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

PutEventsResultEntry

data PutEventsResultEntry Source #

Represents an event that failed to be submitted.

See: putEventsResultEntry smart constructor.

Instances
Eq PutEventsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data PutEventsResultEntry Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show PutEventsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic PutEventsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep PutEventsResultEntry :: Type -> Type #

Hashable PutEventsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON PutEventsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData PutEventsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: PutEventsResultEntry -> () #

type Rep PutEventsResultEntry Source # 
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-Gr8NdACzlKB7o8reClGMUI" 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 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 that indicates why the event submission failed.

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

The error message that explains why the event submission failed.

PutTargetsResultEntry

data PutTargetsResultEntry Source #

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

See: putTargetsResultEntry smart constructor.

Instances
Eq PutTargetsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data PutTargetsResultEntry Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show PutTargetsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic PutTargetsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep PutTargetsResultEntry :: Type -> Type #

Hashable PutTargetsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON PutTargetsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData PutTargetsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: PutTargetsResultEntry -> () #

type Rep PutTargetsResultEntry Source # 
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-Gr8NdACzlKB7o8reClGMUI" 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 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 - 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) Source #

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

The error message that explains why the target addition failed.

RemoveTargetsResultEntry

data RemoveTargetsResultEntry Source #

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

See: removeTargetsResultEntry smart constructor.

Instances
Eq RemoveTargetsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data RemoveTargetsResultEntry Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show RemoveTargetsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic RemoveTargetsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep RemoveTargetsResultEntry :: Type -> Type #

Hashable RemoveTargetsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON RemoveTargetsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData RemoveTargetsResultEntry Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

type Rep RemoveTargetsResultEntry Source # 
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-Gr8NdACzlKB7o8reClGMUI" 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 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 - 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) Source #

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

The error message that explains why the target removal failed.

Rule

data Rule Source #

Contains information about a rule in Amazon CloudWatch Events.

See: rule smart constructor.

Instances
Eq Rule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

Data Rule Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show Rule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

showsPrec :: Int -> Rule -> ShowS #

show :: Rule -> String #

showList :: [Rule] -> ShowS #

Generic Rule Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

hashWithSalt :: Int -> Rule -> Int #

hash :: Rule -> Int #

FromJSON Rule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData Rule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: Rule -> () #

type Rep Rule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

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

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

The state of the rule.

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 name of the rule.

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

The description of the rule.

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

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

RunCommandParameters

data RunCommandParameters Source #

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

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data RunCommandParameters Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show RunCommandParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic RunCommandParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep RunCommandParameters :: Type -> Type #

Hashable RunCommandParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON RunCommandParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON RunCommandParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData RunCommandParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: RunCommandParameters -> () #

type Rep RunCommandParameters Source # 
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-Gr8NdACzlKB7o8reClGMUI" True) (C1 (MetaCons "RunCommandParameters'" PrefixI True) (S1 (MetaSel (Just "_rcpRunCommandTargets") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (List1 RunCommandTarget))))

runCommandParameters Source #

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

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

RunCommandTarget

data RunCommandTarget Source #

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

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data RunCommandTarget Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show RunCommandTarget Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic RunCommandTarget Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep RunCommandTarget :: Type -> Type #

Hashable RunCommandTarget Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON RunCommandTarget Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON RunCommandTarget Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData RunCommandTarget Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: RunCommandTarget -> () #

type Rep RunCommandTarget Source # 
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-Gr8NdACzlKB7o8reClGMUI" 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 Source #

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

Can be either tag: tag-key or InstanceIds .

rctValues :: Lens' RunCommandTarget (NonEmpty Text) Source #

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

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

See: sqsParameters smart constructor.

Instances
Eq SqsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Data SqsParameters Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show SqsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic SqsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Associated Types

type Rep SqsParameters :: Type -> Type #

Hashable SqsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

ToJSON SqsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON SqsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData SqsParameters Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: SqsParameters -> () #

type Rep SqsParameters Source # 
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-Gr8NdACzlKB7o8reClGMUI" True) (C1 (MetaCons "SqsParameters'" PrefixI True) (S1 (MetaSel (Just "_spMessageGroupId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

sqsParameters :: SqsParameters Source #

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

The FIFO message group ID to use as the target.

Target

data Target Source #

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

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

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

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

Data Target Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Show Target Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Generic Target Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

hashWithSalt :: Int -> Target -> Int #

hash :: Target -> Int #

ToJSON Target Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

FromJSON Target Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

NFData Target Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

Methods

rnf :: Target -> () #

type Rep Target Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.Types.Product

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:

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

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

tKinesisParameters :: Lens' Target (Maybe KinesisParameters) Source #

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

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

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

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

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

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

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

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

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

The ID of the target.

tARN :: Lens' Target Text Source #

The Amazon Resource Name (ARN) of the target.