paws.security.identity (version 0.1.0)

inspector_list_event_subscriptions: Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template

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

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

svc$list_event_subscriptions(
  resourceArn = "string",
  nextToken = "string",
  maxResults = 123
)

Examples

Run this code
# NOT RUN {
# Lists all the event subscriptions for the assessment template that is
# specified by the ARN of the assessment template.
# }
# NOT RUN {
svc$list_event_subscriptions(
  maxResults = 123L,
  resourceArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2..."
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab