Skip to content

List Assessment Targets

inspector_list_assessment_targets R Documentation

Lists the ARNs of the assessment targets within this AWS account

Description

Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.

Usage

inspector_list_assessment_targets(filter, nextToken, maxResults)

Arguments

filter

You can use this parameter to specify a subset of data to be included in the action's response.

For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

nextToken

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTargets action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

maxResults

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.

Value

A list with the following syntax:

list(
  assessmentTargetArns = list(
    "string"
  ),
  nextToken = "string"
)

Request syntax

svc$list_assessment_targets(
  filter = list(
    assessmentTargetNamePattern = "string"
  ),
  nextToken = "string",
  maxResults = 123
)

Examples

## Not run: 
# Lists the ARNs of the assessment targets within this AWS account.
svc$list_assessment_targets(
  maxResults = 123L
)

## End(Not run)