Struct aws_sdk_securityhub::input::UpdateFindingsInput
source · #[non_exhaustive]pub struct UpdateFindingsInput { /* private fields */ }
Implementations§
source§impl UpdateFindingsInput
impl UpdateFindingsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFindings, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFindings, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateFindings
>
Examples found in repository?
src/client.rs (line 5430)
5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateFindings,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateFindingsError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateFindingsOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateFindingsError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateFindingsInput
.
source§impl UpdateFindingsInput
impl UpdateFindingsInput
sourcepub fn filters(&self) -> Option<&AwsSecurityFindingFilters>
pub fn filters(&self) -> Option<&AwsSecurityFindingFilters>
A collection of attributes that specify which findings you want to update.
sourcepub fn note(&self) -> Option<&NoteUpdate>
pub fn note(&self) -> Option<&NoteUpdate>
The updated note for the finding.
sourcepub fn record_state(&self) -> Option<&RecordState>
pub fn record_state(&self) -> Option<&RecordState>
The updated record state for the finding.
Trait Implementations§
source§impl Clone for UpdateFindingsInput
impl Clone for UpdateFindingsInput
source§fn clone(&self) -> UpdateFindingsInput
fn clone(&self) -> UpdateFindingsInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more