Struct aws_sdk_inspector::operation::create_exclusions_preview::builders::CreateExclusionsPreviewFluentBuilder
source · pub struct CreateExclusionsPreviewFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateExclusionsPreview.
Starts the generation of an exclusions preview for the specified assessment template. The exclusions preview lists the potential exclusions (ExclusionPreview) that Inspector can detect before it runs the assessment.
Implementations§
source§impl CreateExclusionsPreviewFluentBuilder
impl CreateExclusionsPreviewFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateExclusionsPreview, AwsResponseRetryClassifier>, SdkError<CreateExclusionsPreviewError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateExclusionsPreview, AwsResponseRetryClassifier>, SdkError<CreateExclusionsPreviewError>>
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<CreateExclusionsPreviewOutput, SdkError<CreateExclusionsPreviewError>>
pub async fn send( self ) -> Result<CreateExclusionsPreviewOutput, SdkError<CreateExclusionsPreviewError>>
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 assessment_template_arn(self, input: impl Into<String>) -> Self
pub fn assessment_template_arn(self, input: impl Into<String>) -> Self
The ARN that specifies the assessment template for which you want to create an exclusions preview.
sourcepub fn set_assessment_template_arn(self, input: Option<String>) -> Self
pub fn set_assessment_template_arn(self, input: Option<String>) -> Self
The ARN that specifies the assessment template for which you want to create an exclusions preview.
Trait Implementations§
source§impl Clone for CreateExclusionsPreviewFluentBuilder
impl Clone for CreateExclusionsPreviewFluentBuilder
source§fn clone(&self) -> CreateExclusionsPreviewFluentBuilder
fn clone(&self) -> CreateExclusionsPreviewFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more