paws.security.identity (version 0.1.0)

inspector_list_assessment_run_agents: Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs

Description

Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.

Usage

inspector_list_assessment_run_agents(assessmentRunArn, filter,
  nextToken, maxResults)

Arguments

assessmentRunArn

[required] The ARN that specifies the assessment run whose agents 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 ListAssessmentRunAgents 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 that you want in the response. The default value is 10. The maximum value is 500.

Request syntax

svc$list_assessment_run_agents(
  assessmentRunArn = "string",
  filter = list(
    agentHealths = list(
      "HEALTHY"|"UNHEALTHY"|"UNKNOWN"
    ),
    agentHealthCodes = list(
      "IDLE"|"RUNNING"|"SHUTDOWN"|"UNHEALTHY"|"THROTTLED"|"UNKNOWN"
    )
  ),
  nextToken = "string",
  maxResults = 123
)

Examples

Run this code
# NOT RUN {
# Lists the agents of the assessment runs that are specified by the ARNs
# of the assessment runs.
# }
# NOT RUN {
svc$list_assessment_run_agents(
  assessmentRunArn = "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-...",
  maxResults = 123L
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace