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
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OrganizationEventFilter
impl Send for OrganizationEventFilter
impl Sync for OrganizationEventFilter
impl Unpin for OrganizationEventFilter
impl UnwindSafe for OrganizationEventFilter
Blanket Implementations
Mutably borrows from an owned value. Read more
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