Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data EventDestination = EventDestination' {}
- newEventDestination :: Text -> Bool -> NonEmpty EventType -> EventDestination
- eventDestination_cloudWatchLogsDestination :: Lens' EventDestination (Maybe CloudWatchLogsDestination)
- eventDestination_kinesisFirehoseDestination :: Lens' EventDestination (Maybe KinesisFirehoseDestination)
- eventDestination_snsDestination :: Lens' EventDestination (Maybe SnsDestination)
- eventDestination_eventDestinationName :: Lens' EventDestination Text
- eventDestination_enabled :: Lens' EventDestination Bool
- eventDestination_matchingEventTypes :: Lens' EventDestination (NonEmpty EventType)
Documentation
data EventDestination Source #
Contains information about an event destination.
Event destinations are associated with configuration sets, which enable you to publish message sending events to Amazon CloudWatch, Amazon Kinesis Data Firehose, or Amazon SNS.
See: newEventDestination
smart constructor.
EventDestination' | |
|
Instances
:: Text | |
-> Bool | |
-> NonEmpty EventType | |
-> EventDestination |
Create a value of EventDestination
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cloudWatchLogsDestination:EventDestination'
, eventDestination_cloudWatchLogsDestination
- An object that contains information about an event destination that
sends logging events to Amazon CloudWatch logs.
$sel:kinesisFirehoseDestination:EventDestination'
, eventDestination_kinesisFirehoseDestination
- An object that contains information about an event destination for
logging to Amazon Kinesis Data Firehose.
$sel:snsDestination:EventDestination'
, eventDestination_snsDestination
- An object that contains information about an event destination that
sends logging events to Amazon SNS.
$sel:eventDestinationName:EventDestination'
, eventDestination_eventDestinationName
- The name of the EventDestination.
$sel:enabled:EventDestination'
, eventDestination_enabled
- When set to true events will be logged.
$sel:matchingEventTypes:EventDestination'
, eventDestination_matchingEventTypes
- An array of event types that determine which events to log.
eventDestination_cloudWatchLogsDestination :: Lens' EventDestination (Maybe CloudWatchLogsDestination) Source #
An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.
eventDestination_kinesisFirehoseDestination :: Lens' EventDestination (Maybe KinesisFirehoseDestination) Source #
An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.
eventDestination_snsDestination :: Lens' EventDestination (Maybe SnsDestination) Source #
An object that contains information about an event destination that sends logging events to Amazon SNS.
eventDestination_eventDestinationName :: Lens' EventDestination Text Source #
The name of the EventDestination.
eventDestination_enabled :: Lens' EventDestination Bool Source #
When set to true events will be logged.
eventDestination_matchingEventTypes :: Lens' EventDestination (NonEmpty EventType) Source #
An array of event types that determine which events to log.