logo
pub struct EventFilter {
Show 13 fields pub availability_zones: Option<Vec<String>>, pub end_times: Option<Vec<DateTimeRange>>, pub entity_arns: Option<Vec<String>>, pub entity_values: Option<Vec<String>>, pub event_arns: Option<Vec<String>>, pub event_status_codes: Option<Vec<String>>, pub event_type_categories: Option<Vec<String>>, pub event_type_codes: Option<Vec<String>>, pub last_updated_times: Option<Vec<DateTimeRange>>, pub regions: Option<Vec<String>>, pub services: Option<Vec<String>>, pub start_times: Option<Vec<DateTimeRange>>, pub tags: Option<Vec<HashMap<String, String>>>,
}
Expand description

The values to use to filter results from the DescribeEvents and DescribeEventAggregates operations.

Fields

availability_zones: Option<Vec<String>>

A list of AWS Availability Zones.

end_times: Option<Vec<DateTimeRange>>

A list of dates and times that the event ended.

entity_arns: Option<Vec<String>>

A list of entity ARNs (unique identifiers).

entity_values: Option<Vec<String>>

A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).

event_arns: Option<Vec<String>>

A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"

event_status_codes: Option<Vec<String>>

A list of event status codes.

event_type_categories: Option<Vec<String>>

A list of event type category codes (issue, scheduledChange, or accountNotification).

event_type_codes: Option<Vec<String>>

A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".

last_updated_times: Option<Vec<DateTimeRange>>

A list of dates and times that the event was last updated.

regions: Option<Vec<String>>

A list of AWS Regions.

services: Option<Vec<String>>

The AWS services associated with the event. For example, EC2, RDS.

start_times: Option<Vec<DateTimeRange>>

A list of dates and times that the event began.

tags: Option<Vec<HashMap<String, String>>>

A map of entity tags attached to the affected entity.

Currently, the tags property isn't supported.

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

Returns the “default value” for a type. Read more

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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.

Should always be Self

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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