Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
StopAssessmentRun' | |
|
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.
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.
Instances
Generic StopAssessmentRunResponse Source # | |
Defined in Amazonka.Inspector.StopAssessmentRun type Rep StopAssessmentRunResponse :: Type -> Type # | |
Read StopAssessmentRunResponse Source # | |
Show StopAssessmentRunResponse Source # | |
Defined in Amazonka.Inspector.StopAssessmentRun showsPrec :: Int -> StopAssessmentRunResponse -> ShowS # show :: StopAssessmentRunResponse -> String # showList :: [StopAssessmentRunResponse] -> ShowS # | |
NFData StopAssessmentRunResponse Source # | |
Defined in Amazonka.Inspector.StopAssessmentRun rnf :: StopAssessmentRunResponse -> () # | |
Eq StopAssessmentRunResponse Source # | |
type Rep StopAssessmentRunResponse Source # | |
Defined in Amazonka.Inspector.StopAssessmentRun |
newStopAssessmentRunResponse :: StopAssessmentRunResponse Source #
Create a value of StopAssessmentRunResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.