Struct aws_sdk_inspector::client::fluent_builders::StopAssessmentRun [−][src]
pub struct StopAssessmentRun<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to StopAssessmentRun.
Stops the assessment run that is specified by the ARN of the assessment run.
Implementations
impl<C, M, R> StopAssessmentRun<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StopAssessmentRun<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StopAssessmentRunOutput, SdkError<StopAssessmentRunError>> where
R::Policy: SmithyRetryPolicy<StopAssessmentRunInputOperationOutputAlias, StopAssessmentRunOutput, StopAssessmentRunError, StopAssessmentRunInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StopAssessmentRunOutput, SdkError<StopAssessmentRunError>> where
R::Policy: SmithyRetryPolicy<StopAssessmentRunInputOperationOutputAlias, StopAssessmentRunOutput, StopAssessmentRunError, StopAssessmentRunInputOperationRetryAlias>,
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 run that you want to stop.
The ARN of the assessment run that you want to stop.
An input option that can be set to either START_EVALUATION or SKIP_EVALUATION. START_EVALUATION (the default value), stops the AWS agent from collecting data and begins the results evaluation and the findings generation process. SKIP_EVALUATION cancels the assessment run immediately, after which no findings are generated.
An input option that can be set to either START_EVALUATION or SKIP_EVALUATION. START_EVALUATION (the default value), stops the AWS agent from collecting data and begins the results evaluation and the findings generation process. SKIP_EVALUATION cancels the assessment run immediately, after which no findings are generated.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for StopAssessmentRun<C, M, R>
impl<C, M, R> Send for StopAssessmentRun<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StopAssessmentRun<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StopAssessmentRun<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for StopAssessmentRun<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
