List Event Subscriptions
inspector_list_event_subscriptions | R Documentation |
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 subscribe_to_event
and unsubscribe_from_event
.
Usage¶
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.
Value¶
A list with the following syntax:
list(
subscriptions = list(
list(
resourceArn = "string",
topicArn = "string",
eventSubscriptions = list(
list(
event = "ASSESSMENT_RUN_STARTED"|"ASSESSMENT_RUN_COMPLETED"|"ASSESSMENT_RUN_STATE_CHANGED"|"FINDING_REPORTED"|"OTHER",
subscribedAt = as.POSIXct(
"2015-01-01"
)
)
)
)
),
nextToken = "string"
)