| 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 |
Amazonka.Redshift.Types.EventSubscription
Description
Synopsis
- data EventSubscription = EventSubscription' {
- custSubscriptionId :: Maybe Text
- customerAwsId :: Maybe Text
- enabled :: Maybe Bool
- eventCategoriesList :: Maybe [Text]
- severity :: Maybe Text
- snsTopicArn :: Maybe Text
- sourceIdsList :: Maybe [Text]
- sourceType :: Maybe Text
- status :: Maybe Text
- subscriptionCreationTime :: Maybe ISO8601
- tags :: Maybe [Tag]
- newEventSubscription :: EventSubscription
- eventSubscription_custSubscriptionId :: Lens' EventSubscription (Maybe Text)
- eventSubscription_customerAwsId :: Lens' EventSubscription (Maybe Text)
- eventSubscription_enabled :: Lens' EventSubscription (Maybe Bool)
- eventSubscription_eventCategoriesList :: Lens' EventSubscription (Maybe [Text])
- eventSubscription_severity :: Lens' EventSubscription (Maybe Text)
- eventSubscription_snsTopicArn :: Lens' EventSubscription (Maybe Text)
- eventSubscription_sourceIdsList :: Lens' EventSubscription (Maybe [Text])
- eventSubscription_sourceType :: Lens' EventSubscription (Maybe Text)
- eventSubscription_status :: Lens' EventSubscription (Maybe Text)
- eventSubscription_subscriptionCreationTime :: Lens' EventSubscription (Maybe UTCTime)
- eventSubscription_tags :: Lens' EventSubscription (Maybe [Tag])
Documentation
data EventSubscription Source #
Describes event subscriptions.
See: newEventSubscription smart constructor.
Constructors
| EventSubscription' | |
Fields
| |
Instances
newEventSubscription :: EventSubscription Source #
Create a value of EventSubscription 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:custSubscriptionId:EventSubscription', eventSubscription_custSubscriptionId - The name of the Amazon Redshift event notification subscription.
$sel:customerAwsId:EventSubscription', eventSubscription_customerAwsId - The Amazon Web Services account associated with the Amazon Redshift
event notification subscription.
$sel:enabled:EventSubscription', eventSubscription_enabled - A boolean value indicating whether the subscription is enabled; true
indicates that the subscription is enabled.
$sel:eventCategoriesList:EventSubscription', eventSubscription_eventCategoriesList - The list of Amazon Redshift event categories specified in the event
notification subscription.
Values: Configuration, Management, Monitoring, Security, Pending
$sel:severity:EventSubscription', eventSubscription_severity - The event severity specified in the Amazon Redshift event notification
subscription.
Values: ERROR, INFO
$sel:snsTopicArn:EventSubscription', eventSubscription_snsTopicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event
notification subscription.
$sel:sourceIdsList:EventSubscription', eventSubscription_sourceIdsList - A list of the sources that publish events to the Amazon Redshift event
notification subscription.
$sel:sourceType:EventSubscription', eventSubscription_sourceType - The source type of the events returned by the Amazon Redshift event
notification, such as cluster, cluster-snapshot,
cluster-parameter-group, cluster-security-group, or scheduled-action.
$sel:status:EventSubscription', eventSubscription_status - The status of the Amazon Redshift event notification subscription.
Constraints:
- Can be one of the following: active | no-permission | topic-not-exist
- The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
$sel:subscriptionCreationTime:EventSubscription', eventSubscription_subscriptionCreationTime - The date and time the Amazon Redshift event notification subscription
was created.
$sel:tags:EventSubscription', eventSubscription_tags - The list of tags for the event subscription.
eventSubscription_custSubscriptionId :: Lens' EventSubscription (Maybe Text) Source #
The name of the Amazon Redshift event notification subscription.
eventSubscription_customerAwsId :: Lens' EventSubscription (Maybe Text) Source #
The Amazon Web Services account associated with the Amazon Redshift event notification subscription.
eventSubscription_enabled :: Lens' EventSubscription (Maybe Bool) Source #
A boolean value indicating whether the subscription is enabled; true
indicates that the subscription is enabled.
eventSubscription_eventCategoriesList :: Lens' EventSubscription (Maybe [Text]) Source #
The list of Amazon Redshift event categories specified in the event notification subscription.
Values: Configuration, Management, Monitoring, Security, Pending
eventSubscription_severity :: Lens' EventSubscription (Maybe Text) Source #
The event severity specified in the Amazon Redshift event notification subscription.
Values: ERROR, INFO
eventSubscription_snsTopicArn :: Lens' EventSubscription (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.
eventSubscription_sourceIdsList :: Lens' EventSubscription (Maybe [Text]) Source #
A list of the sources that publish events to the Amazon Redshift event notification subscription.
eventSubscription_sourceType :: Lens' EventSubscription (Maybe Text) Source #
The source type of the events returned by the Amazon Redshift event notification, such as cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, or scheduled-action.
eventSubscription_status :: Lens' EventSubscription (Maybe Text) Source #
The status of the Amazon Redshift event notification subscription.
Constraints:
- Can be one of the following: active | no-permission | topic-not-exist
- The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
eventSubscription_subscriptionCreationTime :: Lens' EventSubscription (Maybe UTCTime) Source #
The date and time the Amazon Redshift event notification subscription was created.
eventSubscription_tags :: Lens' EventSubscription (Maybe [Tag]) Source #
The list of tags for the event subscription.