Struct aws_sdk_health::model::OrganizationEventFilter[][src]

#[non_exhaustive]
pub struct OrganizationEventFilter { pub event_type_codes: Option<Vec<String>>, pub aws_account_ids: Option<Vec<String>>, pub services: Option<Vec<String>>, pub regions: Option<Vec<String>>, pub start_time: Option<DateTimeRange>, pub end_time: Option<DateTimeRange>, pub last_updated_time: Option<DateTimeRange>, pub entity_arns: Option<Vec<String>>, pub entity_values: Option<Vec<String>>, pub event_type_categories: Option<Vec<EventTypeCategory>>, pub event_status_codes: Option<Vec<EventStatusCode>>, }
Expand description

The values to filter results from the DescribeEventsForOrganization operation.

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.
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".

aws_account_ids: Option<Vec<String>>

A list of 12-digit AWS account numbers that contains the affected entities.

services: Option<Vec<String>>

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

regions: Option<Vec<String>>

A list of AWS Regions.

start_time: Option<DateTimeRange>

A range of dates and times that is used by the EventFilter and EntityFilter objects. If from is set and to is set: match items where the timestamp (startTime, endTime, or lastUpdatedTime) is between from and to inclusive. If from is set and to is not set: match items where the timestamp value is equal to or after from. If from is not set and to is set: match items where the timestamp value is equal to or before to.

end_time: Option<DateTimeRange>

A range of dates and times that is used by the EventFilter and EntityFilter objects. If from is set and to is set: match items where the timestamp (startTime, endTime, or lastUpdatedTime) is between from and to inclusive. If from is set and to is not set: match items where the timestamp value is equal to or after from. If from is not set and to is set: match items where the timestamp value is equal to or before to.

last_updated_time: Option<DateTimeRange>

A range of dates and times that is used by the EventFilter and EntityFilter objects. If from is set and to is set: match items where the timestamp (startTime, endTime, or lastUpdatedTime) is between from and to inclusive. If from is set and to is not set: match items where the timestamp value is equal to or after from. If from is not set and to is set: match items where the timestamp value is equal to or before to.

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_type_categories: Option<Vec<EventTypeCategory>>

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

event_status_codes: Option<Vec<EventStatusCode>>

A list of event status codes.

Implementations

Creates a new builder-style object to manufacture OrganizationEventFilter

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

Performs the conversion.

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

Performs the conversion.

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)

recently added

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