{-# OPTIONS_GHC -fno-warn-unused-imports #-} {-# OPTIONS_GHC -fno-warn-duplicate-exports #-} -- Derived from AWS service descriptions, licensed under Apache 2.0. -- | -- Module : Network.AWS.CloudWatchEvents -- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- 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 Amazon CloudWatch Events features, see the . -- module Network.AWS.CloudWatchEvents ( -- * Service Configuration cloudWatchEvents -- * Errors -- $errors -- ** ConcurrentModificationException , _ConcurrentModificationException -- ** InvalidEventPatternException , _InvalidEventPatternException -- ** InternalException , _InternalException -- ** ResourceNotFoundException , _ResourceNotFoundException -- ** LimitExceededException , _LimitExceededException -- * Waiters -- $waiters -- * Operations -- $operations -- ** RemoveTargets , module Network.AWS.CloudWatchEvents.RemoveTargets -- ** DeleteRule , module Network.AWS.CloudWatchEvents.DeleteRule -- ** ListRules , module Network.AWS.CloudWatchEvents.ListRules -- ** PutRule , module Network.AWS.CloudWatchEvents.PutRule -- ** DisableRule , module Network.AWS.CloudWatchEvents.DisableRule -- ** ListTargetsByRule , module Network.AWS.CloudWatchEvents.ListTargetsByRule -- ** DescribeRule , module Network.AWS.CloudWatchEvents.DescribeRule -- ** EnableRule , module Network.AWS.CloudWatchEvents.EnableRule -- ** ListRuleNamesByTarget , module Network.AWS.CloudWatchEvents.ListRuleNamesByTarget -- ** TestEventPattern , module Network.AWS.CloudWatchEvents.TestEventPattern -- ** PutTargets , module Network.AWS.CloudWatchEvents.PutTargets -- ** PutEvents , module Network.AWS.CloudWatchEvents.PutEvents -- * Types -- ** RuleState , RuleState (..) -- ** PutEventsRequestEntry , PutEventsRequestEntry , putEventsRequestEntry , pereTime , pereDetailType , pereResources , pereSource , pereDetail -- ** PutEventsResultEntry , PutEventsResultEntry , putEventsResultEntry , pereErrorCode , pereErrorMessage , pereEventId -- ** PutTargetsResultEntry , PutTargetsResultEntry , putTargetsResultEntry , ptreTargetId , ptreErrorCode , ptreErrorMessage -- ** RemoveTargetsResultEntry , RemoveTargetsResultEntry , removeTargetsResultEntry , rtreTargetId , rtreErrorCode , rtreErrorMessage -- ** Rule , Rule , rule , rEventPattern , rState , rARN , rScheduleExpression , rName , rDescription , rRoleARN -- ** Target , Target , target , tInput , tInputPath , tId , tARN ) where import Network.AWS.CloudWatchEvents.DeleteRule import Network.AWS.CloudWatchEvents.DescribeRule import Network.AWS.CloudWatchEvents.DisableRule import Network.AWS.CloudWatchEvents.EnableRule import Network.AWS.CloudWatchEvents.ListRuleNamesByTarget import Network.AWS.CloudWatchEvents.ListRules import Network.AWS.CloudWatchEvents.ListTargetsByRule import Network.AWS.CloudWatchEvents.PutEvents import Network.AWS.CloudWatchEvents.PutRule import Network.AWS.CloudWatchEvents.PutTargets import Network.AWS.CloudWatchEvents.RemoveTargets import Network.AWS.CloudWatchEvents.TestEventPattern import Network.AWS.CloudWatchEvents.Types import Network.AWS.CloudWatchEvents.Waiters {- $errors Error matchers are designed for use with the functions provided by . This allows catching (and rethrowing) service specific errors returned by 'CloudWatchEvents'. -} {- $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. -} {- $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. -}