Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.Inspector.StopAssessmentRun
Description
Stops the assessment run that is specified by the ARN of the assessment run.
Synopsis
- data StopAssessmentRun = StopAssessmentRun' {}
- newStopAssessmentRun :: Text -> StopAssessmentRun
- stopAssessmentRun_stopAction :: Lens' StopAssessmentRun (Maybe StopAction)
- stopAssessmentRun_assessmentRunArn :: Lens' StopAssessmentRun Text
- data StopAssessmentRunResponse = StopAssessmentRunResponse' {
- newStopAssessmentRunResponse :: StopAssessmentRunResponse
Creating a Request
data StopAssessmentRun Source #
See: newStopAssessmentRun
smart constructor.
Constructors
StopAssessmentRun' | |
Fields
|
Instances
Create a value of StopAssessmentRun
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:stopAction:StopAssessmentRun'
, stopAssessmentRun_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.
$sel:assessmentRunArn:StopAssessmentRun'
, stopAssessmentRun_assessmentRunArn
- The ARN of the assessment run that you want to stop.
Request Lenses
stopAssessmentRun_stopAction :: Lens' StopAssessmentRun (Maybe StopAction) Source #
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.
stopAssessmentRun_assessmentRunArn :: Lens' StopAssessmentRun Text Source #
The ARN of the assessment run that you want to stop.
Destructuring the Response
data StopAssessmentRunResponse Source #
See: newStopAssessmentRunResponse
smart constructor.
Constructors
StopAssessmentRunResponse' | |
Instances
newStopAssessmentRunResponse :: StopAssessmentRunResponse Source #
Create a value of StopAssessmentRunResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.