Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Stops the assessment run that is specified by the ARN of the assessment run.
Creating a Request
Creates a value of StopAssessmentRun
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sarStopAction
- 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.sarAssessmentRunARN
- The ARN of the assessment run that you want to stop.
data StopAssessmentRun Source #
See: stopAssessmentRun
smart constructor.
Instances
Request Lenses
sarStopAction :: 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.
sarAssessmentRunARN :: Lens' StopAssessmentRun Text Source #
The ARN of the assessment run that you want to stop.
Destructuring the Response
stopAssessmentRunResponse :: StopAssessmentRunResponse Source #
Creates a value of StopAssessmentRunResponse
with the minimum fields required to make a request.
data StopAssessmentRunResponse Source #
See: stopAssessmentRunResponse
smart constructor.