Struct aws_sdk_health::types::EventTypeFilter
source · #[non_exhaustive]pub struct EventTypeFilter {
pub event_type_codes: Option<Vec<String>>,
pub services: Option<Vec<String>>,
pub event_type_categories: Option<Vec<EventTypeCategory>>,
}
Expand description
The values to use to filter results from the DescribeEventTypes 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 event type codes.
services: Option<Vec<String>>
The Amazon Web Services associated with the event. For example, EC2
, RDS
.
event_type_categories: Option<Vec<EventTypeCategory>>
A list of event type category codes. Possible values are issue
, accountNotification
, or scheduledChange
. Currently, the investigation
value isn't supported at this time.
Implementations§
source§impl EventTypeFilter
impl EventTypeFilter
sourcepub fn event_type_codes(&self) -> &[String]
pub fn event_type_codes(&self) -> &[String]
A list of event type codes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .event_type_codes.is_none()
.
sourcepub fn services(&self) -> &[String]
pub fn services(&self) -> &[String]
The Amazon Web Services associated with the event. For example, EC2
, RDS
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .services.is_none()
.
sourcepub fn event_type_categories(&self) -> &[EventTypeCategory]
pub fn event_type_categories(&self) -> &[EventTypeCategory]
A list of event type category codes. Possible values are issue
, accountNotification
, or scheduledChange
. Currently, the investigation
value isn't supported at this time.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .event_type_categories.is_none()
.
source§impl EventTypeFilter
impl EventTypeFilter
sourcepub fn builder() -> EventTypeFilterBuilder
pub fn builder() -> EventTypeFilterBuilder
Creates a new builder-style object to manufacture EventTypeFilter
.
Trait Implementations§
source§impl Clone for EventTypeFilter
impl Clone for EventTypeFilter
source§fn clone(&self) -> EventTypeFilter
fn clone(&self) -> EventTypeFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EventTypeFilter
impl Debug for EventTypeFilter
source§impl PartialEq for EventTypeFilter
impl PartialEq for EventTypeFilter
source§fn eq(&self, other: &EventTypeFilter) -> bool
fn eq(&self, other: &EventTypeFilter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventTypeFilter
Auto Trait Implementations§
impl Freeze for EventTypeFilter
impl RefUnwindSafe for EventTypeFilter
impl Send for EventTypeFilter
impl Sync for EventTypeFilter
impl Unpin for EventTypeFilter
impl UnwindSafe for EventTypeFilter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more