Struct aws_sdk_devopsguru::types::SearchInsightsFilters
source · #[non_exhaustive]pub struct SearchInsightsFilters {
pub severities: Option<Vec<InsightSeverity>>,
pub statuses: Option<Vec<InsightStatus>>,
pub resource_collection: Option<ResourceCollection>,
pub service_collection: Option<ServiceCollection>,
}
Expand description
Specifies values used to filter responses when searching for insights. You can use a ResourceCollection
, ServiceCollection
, array of severities, and an array of status values. Each filter type contains one or more values to search for. If you specify multiple filter types, the filter types are joined with an AND
, and the request returns only results that match all of the specified filters.
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.severities: Option<Vec<InsightSeverity>>
An array of severity values used to search for insights.
statuses: Option<Vec<InsightStatus>>
An array of status values used to search for insights.
resource_collection: Option<ResourceCollection>
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
service_collection: Option<ServiceCollection>
A collection of the names of Amazon Web Services services.
Implementations§
source§impl SearchInsightsFilters
impl SearchInsightsFilters
sourcepub fn severities(&self) -> &[InsightSeverity]
pub fn severities(&self) -> &[InsightSeverity]
An array of severity values used to search for insights.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .severities.is_none()
.
sourcepub fn statuses(&self) -> &[InsightStatus]
pub fn statuses(&self) -> &[InsightStatus]
An array of status values used to search for insights.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .statuses.is_none()
.
sourcepub fn resource_collection(&self) -> Option<&ResourceCollection>
pub fn resource_collection(&self) -> Option<&ResourceCollection>
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn service_collection(&self) -> Option<&ServiceCollection>
pub fn service_collection(&self) -> Option<&ServiceCollection>
A collection of the names of Amazon Web Services services.
source§impl SearchInsightsFilters
impl SearchInsightsFilters
sourcepub fn builder() -> SearchInsightsFiltersBuilder
pub fn builder() -> SearchInsightsFiltersBuilder
Creates a new builder-style object to manufacture SearchInsightsFilters
.
Trait Implementations§
source§impl Clone for SearchInsightsFilters
impl Clone for SearchInsightsFilters
source§fn clone(&self) -> SearchInsightsFilters
fn clone(&self) -> SearchInsightsFilters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchInsightsFilters
impl Debug for SearchInsightsFilters
source§impl PartialEq for SearchInsightsFilters
impl PartialEq for SearchInsightsFilters
source§fn eq(&self, other: &SearchInsightsFilters) -> bool
fn eq(&self, other: &SearchInsightsFilters) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchInsightsFilters
Auto Trait Implementations§
impl Freeze for SearchInsightsFilters
impl RefUnwindSafe for SearchInsightsFilters
impl Send for SearchInsightsFilters
impl Sync for SearchInsightsFilters
impl Unpin for SearchInsightsFilters
impl UnwindSafe for SearchInsightsFilters
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