inspector_list_assessment_templates: Lists the assessment templates that correspond to the...

Description Usage Arguments Request syntax Examples

View source: R/inspector_operations.R

Description

Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.

Usage

1
2
inspector_list_assessment_templates(assessmentTargetArns, filter,
  nextToken, maxResults)

Arguments

assessmentTargetArns

A list of ARNs that specifies the assessment targets whose assessment templates you want to list.

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 ListAssessmentTemplates 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.

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
svc$list_assessment_templates(
  assessmentTargetArns = list(
    "string"
  ),
  filter = list(
    namePattern = "string",
    durationRange = list(
      minSeconds = 123,
      maxSeconds = 123
    ),
    rulesPackageArns = list(
      "string"
    )
  ),
  nextToken = "string",
  maxResults = 123
)

Examples

1
2
3
4
5
6
7
8
# Lists the assessment templates that correspond to the assessment targets
# that are specified by the ARNs of the assessment targets.
svc$list_assessment_templates(
  assessmentTargetArns = list(
    "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq"
  ),
  maxResults = 123L
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.