Struct aws_sdk_securityhub::input::GetFindingsInput
source · [−]#[non_exhaustive]pub struct GetFindingsInput {
pub filters: Option<AwsSecurityFindingFilters>,
pub sort_criteria: Option<Vec<SortCriterion>>,
pub next_token: Option<String>,
pub max_results: 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: i32
The maximum number of findings to return.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetFindings, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetFindings, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetFindings
>
Creates a new builder-style object to manufacture GetFindingsInput
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
.
The finding attributes used to sort the list of returned findings.
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.
The maximum number of findings to return.
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 GetFindingsInput
impl Send for GetFindingsInput
impl Sync for GetFindingsInput
impl Unpin for GetFindingsInput
impl UnwindSafe for GetFindingsInput
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