Struct rusoto_health::EventFilter
source · [−]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.
A map of entity tags attached to the affected entity.
Currently, the tags
property isn't supported.
Trait Implementations
sourceimpl Clone for EventFilter
impl Clone for EventFilter
sourcefn clone(&self) -> EventFilter
fn clone(&self) -> EventFilter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EventFilter
impl Debug for EventFilter
sourceimpl Default for EventFilter
impl Default for EventFilter
sourcefn default() -> EventFilter
fn default() -> EventFilter
Returns the “default value” for a type. Read more
sourceimpl PartialEq<EventFilter> for EventFilter
impl PartialEq<EventFilter> for EventFilter
sourcefn eq(&self, other: &EventFilter) -> bool
fn eq(&self, other: &EventFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EventFilter) -> bool
fn ne(&self, other: &EventFilter) -> bool
This method tests for !=
.
sourceimpl Serialize for EventFilter
impl Serialize for EventFilter
impl StructuralPartialEq for EventFilter
Auto Trait Implementations
impl RefUnwindSafe for EventFilter
impl Send for EventFilter
impl Sync for EventFilter
impl Unpin for EventFilter
impl UnwindSafe for EventFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more