libZSservicesZSamazonka-inspectorZSamazonka-inspector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Inspector.StopAssessmentRun

Description

Stops the assessment run that is specified by the ARN of the assessment run.

Synopsis

Creating a Request

data StopAssessmentRun Source #

See: newStopAssessmentRun smart constructor.

Constructors

StopAssessmentRun' 

Fields

  • stopAction :: Maybe 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.

  • assessmentRunArn :: Text

    The ARN of the assessment run that you want to stop.

Instances

Instances details
Eq StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

Read StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

Show StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

Generic StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

Associated Types

type Rep StopAssessmentRun :: Type -> Type #

NFData StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

Methods

rnf :: StopAssessmentRun -> () #

Hashable StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

ToJSON StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

AWSRequest StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

Associated Types

type AWSResponse StopAssessmentRun #

ToHeaders StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

ToPath StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

ToQuery StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

type Rep StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

type Rep StopAssessmentRun = D1 ('MetaData "StopAssessmentRun" "Amazonka.Inspector.StopAssessmentRun" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "StopAssessmentRun'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stopAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StopAction)) :*: S1 ('MetaSel ('Just "assessmentRunArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopAssessmentRun Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

newStopAssessmentRun Source #

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.

Instances

Instances details
Eq StopAssessmentRunResponse Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

Read StopAssessmentRunResponse Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

Show StopAssessmentRunResponse Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

Generic StopAssessmentRunResponse Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

Associated Types

type Rep StopAssessmentRunResponse :: Type -> Type #

NFData StopAssessmentRunResponse Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

type Rep StopAssessmentRunResponse Source # 
Instance details

Defined in Amazonka.Inspector.StopAssessmentRun

type Rep StopAssessmentRunResponse = D1 ('MetaData "StopAssessmentRunResponse" "Amazonka.Inspector.StopAssessmentRun" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "StopAssessmentRunResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newStopAssessmentRunResponse :: StopAssessmentRunResponse Source #

Create a value of StopAssessmentRunResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.