Learn R Programming

paws.security.identity (version 0.1.0)

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)

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
# NOT RUN {
# Stops the assessment run that is specified by the ARN of the assessment
# run.
# }
# NOT RUN {
svc$stop_assessment_run(
  assessmentRunArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-..."
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab