#[non_exhaustive]
pub struct ModifyEventSubscriptionInput { pub subscription_name: Option<String>, pub sns_topic_arn: Option<String>, pub source_type: Option<String>, pub source_ids: Option<Vec<String>>, pub event_categories: Option<Vec<String>>, pub severity: Option<String>, pub enabled: Option<bool>, }
Expand description

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
subscription_name: Option<String>

The name of the modified Amazon Redshift event notification subscription.

sns_topic_arn: Option<String>

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

source_type: Option<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.

source_ids: Option<Vec<String>>

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

event_categories: Option<Vec<String>>

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

Values: configuration, management, monitoring, security, pending

severity: Option<String>

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

Values: ERROR, INFO

enabled: Option<bool>

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

Implementations

Consumes the builder and constructs an Operation<ModifyEventSubscription>

Creates a new builder-style object to manufacture ModifyEventSubscriptionInput

The name of the modified Amazon Redshift event notification subscription.

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

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.

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

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

Values: configuration, management, monitoring, security, pending

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

Values: ERROR, INFO

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more