inspector_preview_agents: Previews the agents installed on the EC2 instances that are...

Description Usage Arguments Request syntax Examples

View source: R/inspector_operations.R

Description

Previews the agents installed on the EC2 instances that are part of the specified assessment target.

Usage

1
inspector_preview_agents(previewAgentsArn, nextToken, maxResults)

Arguments

previewAgentsArn

[required] The ARN of the assessment target whose agents you want to preview.

nextToken

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents 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
svc$preview_agents(
  previewAgentsArn = "string",
  nextToken = "string",
  maxResults = 123
)

Examples

1
2
3
4
5
6
# Previews the agents installed on the EC2 instances that are part of the
# specified assessment target.
svc$preview_agents(
  maxResults = 123L,
  previewAgentsArn = "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq"
)

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