Struct aws_sdk_inspector::input::StopAssessmentRunInput
source · [−]#[non_exhaustive]pub struct StopAssessmentRunInput {
pub assessment_run_arn: Option<String>,
pub stop_action: Option<StopAction>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.assessment_run_arn: Option<String>The ARN of the assessment run that you want to stop.
stop_action: Option<StopAction>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.
Implementations
sourceimpl StopAssessmentRunInput
impl StopAssessmentRunInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopAssessmentRun, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopAssessmentRun, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StopAssessmentRun>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StopAssessmentRunInput
sourceimpl StopAssessmentRunInput
impl StopAssessmentRunInput
sourcepub fn assessment_run_arn(&self) -> Option<&str>
pub fn assessment_run_arn(&self) -> Option<&str>
The ARN of the assessment run that you want to stop.
sourcepub fn stop_action(&self) -> Option<&StopAction>
pub fn stop_action(&self) -> Option<&StopAction>
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
sourceimpl Clone for StopAssessmentRunInput
impl Clone for StopAssessmentRunInput
sourcefn clone(&self) -> StopAssessmentRunInput
fn clone(&self) -> StopAssessmentRunInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for StopAssessmentRunInput
impl Debug for StopAssessmentRunInput
sourceimpl PartialEq<StopAssessmentRunInput> for StopAssessmentRunInput
impl PartialEq<StopAssessmentRunInput> for StopAssessmentRunInput
sourcefn eq(&self, other: &StopAssessmentRunInput) -> bool
fn eq(&self, other: &StopAssessmentRunInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StopAssessmentRunInput) -> bool
fn ne(&self, other: &StopAssessmentRunInput) -> bool
This method tests for !=.
impl StructuralPartialEq for StopAssessmentRunInput
Auto Trait Implementations
impl RefUnwindSafe for StopAssessmentRunInput
impl Send for StopAssessmentRunInput
impl Sync for StopAssessmentRunInput
impl Unpin for StopAssessmentRunInput
impl UnwindSafe for StopAssessmentRunInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more