Struct aws_sdk_securityhub::input::UpdateInsightInput
source · #[non_exhaustive]pub struct UpdateInsightInput { /* private fields */ }
Implementations§
source§impl UpdateInsightInput
impl UpdateInsightInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateInsight, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateInsight, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateInsight
>
Examples found in repository?
src/client.rs (line 5529)
5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateInsight,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateInsightError>,
> {
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::UpdateInsightOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateInsightError>,
> {
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 UpdateInsightInput
.
source§impl UpdateInsightInput
impl UpdateInsightInput
sourcepub fn insight_arn(&self) -> Option<&str>
pub fn insight_arn(&self) -> Option<&str>
The ARN of the insight that you want to update.
sourcepub fn filters(&self) -> Option<&AwsSecurityFindingFilters>
pub fn filters(&self) -> Option<&AwsSecurityFindingFilters>
The updated filters that define this insight.
sourcepub fn group_by_attribute(&self) -> Option<&str>
pub fn group_by_attribute(&self) -> Option<&str>
The updated GroupBy
attribute that defines this insight.
Trait Implementations§
source§impl Clone for UpdateInsightInput
impl Clone for UpdateInsightInput
source§fn clone(&self) -> UpdateInsightInput
fn clone(&self) -> UpdateInsightInput
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