#[non_exhaustive]pub struct GetFindingsInput {
pub filters: Option<AwsSecurityFindingFilters>,
pub sort_criteria: Option<Vec<SortCriterion>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.filters: Option<AwsSecurityFindingFilters>
The finding attributes used to define a condition to filter the returned findings.
You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.
Note that in the available filter fields, WorkflowState
is deprecated. To search for a finding based on its workflow status, use WorkflowStatus
.
sort_criteria: Option<Vec<SortCriterion>>
The finding attributes used to sort the list of returned findings.
next_token: Option<String>
The token that is required for pagination. On your first call to the GetFindings
operation, set the value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
max_results: Option<i32>
The maximum number of findings to return.
Implementations§
source§impl GetFindingsInput
impl GetFindingsInput
sourcepub fn filters(&self) -> Option<&AwsSecurityFindingFilters>
pub fn filters(&self) -> Option<&AwsSecurityFindingFilters>
The finding attributes used to define a condition to filter the returned findings.
You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.
Note that in the available filter fields, WorkflowState
is deprecated. To search for a finding based on its workflow status, use WorkflowStatus
.
sourcepub fn sort_criteria(&self) -> &[SortCriterion]
pub fn sort_criteria(&self) -> &[SortCriterion]
The finding attributes used to sort the list of returned findings.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sort_criteria.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token that is required for pagination. On your first call to the GetFindings
operation, set the value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of findings to return.
source§impl GetFindingsInput
impl GetFindingsInput
sourcepub fn builder() -> GetFindingsInputBuilder
pub fn builder() -> GetFindingsInputBuilder
Creates a new builder-style object to manufacture GetFindingsInput
.
Trait Implementations§
source§impl Clone for GetFindingsInput
impl Clone for GetFindingsInput
source§fn clone(&self) -> GetFindingsInput
fn clone(&self) -> GetFindingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFindingsInput
impl Debug for GetFindingsInput
source§impl PartialEq for GetFindingsInput
impl PartialEq for GetFindingsInput
source§fn eq(&self, other: &GetFindingsInput) -> bool
fn eq(&self, other: &GetFindingsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetFindingsInput
Auto Trait Implementations§
impl Freeze for GetFindingsInput
impl RefUnwindSafe for GetFindingsInput
impl Send for GetFindingsInput
impl Sync for GetFindingsInput
impl Unpin for GetFindingsInput
impl UnwindSafe for GetFindingsInput
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