Skip to content

ModifyEventSubscriptionMessage

Source code in docs_src/capo_redshift/types/modify_event_subscription_message.py
class ModifyEventSubscriptionMessage(TypedDict, closed=True):
    subscription_name: NotRequired["capo_redshift.types.string.String"]
    """<p>The name of the modified Amazon Redshift event notification subscription.</p>"""
    sns_topic_arn: NotRequired["capo_redshift.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the SNS topic to be used by the event notification subscription.</p>"""
    source_type: NotRequired["capo_redshift.types.string.String"]
    """<p>The type of source that will be generating the events. For example, if you want to be notified of events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your Amazon Web Services account. You must specify a source type in order to specify source IDs.</p> <p>Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.</p>"""
    source_ids: NotRequired["capo_redshift.types.source_ids_list.SourceIdsList"]
    """<p>A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the same type as was specified in the source type parameter. The event subscription will return only events generated by the specified objects. If not specified, then events are returned for all objects within the source type specified.</p> <p>Example: my-cluster-1, my-cluster-2</p> <p>Example: my-snapshot-20131010</p>"""
    event_categories: NotRequired[
        "capo_redshift.types.event_categories_list.EventCategoriesList"
    ]
    """<p>Specifies the Amazon Redshift event categories to be published by the event notification subscription.</p> <p>Values: configuration, management, monitoring, security, pending</p>"""
    severity: NotRequired["capo_redshift.types.string.String"]
    """<p>Specifies the Amazon Redshift event severity to be published by the event notification subscription.</p> <p>Values: ERROR, INFO</p>"""
    enabled: NotRequired["capo_redshift.types.boolean_optional.BooleanOptional"]
    """<p>A Boolean value indicating if the subscription is enabled. <code>true</code> indicates the subscription is enabled </p>"""

enabled instance-attribute

enabled: NotRequired[BooleanOptional]

A Boolean value indicating if the subscription is enabled. true indicates the subscription is enabled

event_categories instance-attribute

event_categories: NotRequired[EventCategoriesList]

Specifies the Amazon Redshift event categories to be published by the event notification subscription.

Values: configuration, management, monitoring, security, pending

severity instance-attribute

severity: NotRequired[String]

Specifies the Amazon Redshift event severity to be published by the event notification subscription.

Values: ERROR, INFO

sns_topic_arn instance-attribute

sns_topic_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the SNS topic to be used by the event notification subscription.

source_ids instance-attribute

source_ids: NotRequired[SourceIdsList]

A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the same type as was specified in the source type parameter. The event subscription will return only events generated by the specified objects. If not specified, then events are returned for all objects within the source type specified.

Example: my-cluster-1, my-cluster-2

Example: my-snapshot-20131010

source_type instance-attribute

source_type: NotRequired[String]

The type of source that will be generating the events. For example, if you want to be notified of events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your Amazon Web Services account. You must specify a source type in order to specify source IDs.

Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.

subscription_name instance-attribute

subscription_name: NotRequired[String]

The name of the modified Amazon Redshift event notification subscription.