Learn R Programming

paws.security.identity (version 0.1.12)

inspector_stop_assessment_run: Stops the assessment run that is specified by the ARN of the assessment run

Description

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

Usage

inspector_stop_assessment_run(assessmentRunArn, stopAction)

Value

An empty list.

Arguments

assessmentRunArn

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

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.

Request syntax

svc$stop_assessment_run(
  assessmentRunArn = "string",
  stopAction = "START_EVALUATION"|"SKIP_EVALUATION"
)

Examples

Run this code
if (FALSE) {
# Stops the assessment run that is specified by the ARN of the assessment
# run.
svc$stop_assessment_run(
  assessmentRunArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvg..."
)
}

Run the code above in your browser using DataLab