Struct aws_sdk_inspector::client::fluent_builders::StartAssessmentRun [−][src]
pub struct StartAssessmentRun<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }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
impl<C, M, R> StartAssessmentRun<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartAssessmentRun<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartAssessmentRunOutput, SdkError<StartAssessmentRunError>> where
R::Policy: SmithyRetryPolicy<StartAssessmentRunInputOperationOutputAlias, StartAssessmentRunOutput, StartAssessmentRunError, StartAssessmentRunInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartAssessmentRunOutput, SdkError<StartAssessmentRunError>> where
R::Policy: SmithyRetryPolicy<StartAssessmentRunInputOperationOutputAlias, StartAssessmentRunOutput, StartAssessmentRunError, StartAssessmentRunInputOperationRetryAlias>,
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.
The ARN of the assessment template of the assessment run that you want to start.
The ARN of the assessment template of the assessment run that you want to start.
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for StartAssessmentRun<C, M, R>
impl<C, M, R> Send for StartAssessmentRun<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartAssessmentRun<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartAssessmentRun<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for StartAssessmentRun<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
