Struct aws_sdk_securityhub::client::fluent_builders::GetFindings
source · [−]pub struct GetFindings<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to GetFindings
.
Returns a list of findings that match the specified criteria.
If finding aggregation is enabled, then when you call GetFindings
from the aggregation Region, the results include all of the matching findings from both the aggregation Region and the linked Regions.
Implementations
impl<C, M, R> GetFindings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetFindings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<GetFindingsOutput, SdkError<GetFindingsError>> where
R::Policy: SmithyRetryPolicy<GetFindingsInputOperationOutputAlias, GetFindingsOutput, GetFindingsError, GetFindingsInputOperationRetryAlias>,
pub async fn send(self) -> Result<GetFindingsOutput, SdkError<GetFindingsError>> where
R::Policy: SmithyRetryPolicy<GetFindingsInputOperationOutputAlias, GetFindingsOutput, GetFindingsError, GetFindingsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
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 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
.
Appends an item to SortCriteria
.
To override the contents of this collection use set_sort_criteria
.
The finding attributes used to sort the list of returned findings.
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 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.
The maximum number of findings to return.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetFindings<C, M, R>
impl<C, M, R> Unpin for GetFindings<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetFindings<C, M, R>
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