Struct aws_sdk_inspector::operation::start_assessment_run::builders::StartAssessmentRunFluentBuilder
source · pub struct StartAssessmentRunFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to StartAssessmentRun.
Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
Implementations§
source§impl StartAssessmentRunFluentBuilder
impl StartAssessmentRunFluentBuilder
sourcepub fn as_input(&self) -> &StartAssessmentRunInputBuilder
pub fn as_input(&self) -> &StartAssessmentRunInputBuilder
Access the StartAssessmentRun as a reference.
sourcepub async fn send(
self
) -> Result<StartAssessmentRunOutput, SdkError<StartAssessmentRunError, HttpResponse>>
pub async fn send( self ) -> Result<StartAssessmentRunOutput, SdkError<StartAssessmentRunError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<StartAssessmentRunOutput, StartAssessmentRunError>, SdkError<StartAssessmentRunError>>
pub async fn customize( self ) -> Result<CustomizableOperation<StartAssessmentRunOutput, StartAssessmentRunError>, SdkError<StartAssessmentRunError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn assessment_template_arn(self, input: impl Into<String>) -> Self
pub fn assessment_template_arn(self, input: impl Into<String>) -> Self
The ARN of the assessment template of the assessment run that you want to start.
sourcepub fn set_assessment_template_arn(self, input: Option<String>) -> Self
pub fn set_assessment_template_arn(self, input: Option<String>) -> Self
The ARN of the assessment template of the assessment run that you want to start.
sourcepub fn get_assessment_template_arn(&self) -> &Option<String>
pub fn get_assessment_template_arn(&self) -> &Option<String>
The ARN of the assessment template of the assessment run that you want to start.
sourcepub fn assessment_run_name(self, input: impl Into<String>) -> Self
pub fn assessment_run_name(self, input: impl Into<String>) -> Self
You can specify the name for the assessment run. The name must be unique for the assessment template whose ARN is used to start the assessment run.
sourcepub fn set_assessment_run_name(self, input: Option<String>) -> Self
pub fn set_assessment_run_name(self, input: Option<String>) -> Self
You can specify the name for the assessment run. The name must be unique for the assessment template whose ARN is used to start the assessment run.
sourcepub fn get_assessment_run_name(&self) -> &Option<String>
pub fn get_assessment_run_name(&self) -> &Option<String>
You can specify the name for the assessment run. The name must be unique for the assessment template whose ARN is used to start the assessment run.
Trait Implementations§
source§impl Clone for StartAssessmentRunFluentBuilder
impl Clone for StartAssessmentRunFluentBuilder
source§fn clone(&self) -> StartAssessmentRunFluentBuilder
fn clone(&self) -> StartAssessmentRunFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more