Struct aws_sdk_macie2::client::fluent_builders::GetFindings
source · [−]pub struct GetFindings { /* private fields */ }
Expand description
Fluent builder constructing a request to GetFindings
.
Retrieves the details of one or more findings.
Implementations
sourceimpl GetFindings
impl GetFindings
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetFindings, AwsResponseRetryClassifier>, SdkError<GetFindingsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetFindings, AwsResponseRetryClassifier>, SdkError<GetFindingsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<GetFindingsOutput, SdkError<GetFindingsError>>
pub async fn send(self) -> Result<GetFindingsOutput, SdkError<GetFindingsError>>
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.
sourcepub fn finding_ids(self, input: impl Into<String>) -> Self
pub fn finding_ids(self, input: impl Into<String>) -> Self
Appends an item to findingIds
.
To override the contents of this collection use set_finding_ids
.
An array of strings that lists the unique identifiers for the findings to retrieve. You can specify as many as 50 unique identifiers in this array.
sourcepub fn set_finding_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_finding_ids(self, input: Option<Vec<String>>) -> Self
An array of strings that lists the unique identifiers for the findings to retrieve. You can specify as many as 50 unique identifiers in this array.
sourcepub fn sort_criteria(self, input: SortCriteria) -> Self
pub fn sort_criteria(self, input: SortCriteria) -> Self
The criteria for sorting the results of the request.
sourcepub fn set_sort_criteria(self, input: Option<SortCriteria>) -> Self
pub fn set_sort_criteria(self, input: Option<SortCriteria>) -> Self
The criteria for sorting the results of the request.
Trait Implementations
sourceimpl Clone for GetFindings
impl Clone for GetFindings
sourcefn clone(&self) -> GetFindings
fn clone(&self) -> GetFindings
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more