inspector_list_event_subscriptions: Lists all the event subscriptions for the assessment template...

Description Usage Arguments Request syntax Examples

View source: R/inspector_operations.R

Description

Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent.

Usage

1
inspector_list_event_subscriptions(resourceArn, nextToken, maxResults)

Arguments

resourceArn

The ARN of the assessment template for which you want to list the existing event subscriptions.

nextToken

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

Examples

1
2
3
4
5
6
# Lists all the event subscriptions for the assessment template that is
# specified by the ARN of the assessment template.
svc$list_event_subscriptions(
  maxResults = 123L,
  resourceArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2..."
)

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