AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the ListEventSubscriptions operation. 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.
Namespace: Amazon.Inspector.Model
Assembly: AWSSDK.Inspector.dll
Version: 3.x.y.z
public class ListEventSubscriptionsRequest : AmazonInspectorRequest IAmazonWebServiceRequest
The ListEventSubscriptionsRequest type exposes the following members
Name | Description | |
---|---|---|
ListEventSubscriptionsRequest() |
Name | Type | Description | |
---|---|---|---|
MaxResults | System.Int32 |
Gets and sets the property 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. |
|
NextToken | System.String |
Gets and sets the property 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. |
|
ResourceArn | System.String |
Gets and sets the property ResourceArn. The ARN of the assessment template for which you want to list the existing event subscriptions. |
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template.
var client = new AmazonInspectorClient(); var response = client.ListEventSubscriptions(new ListEventSubscriptionsRequest { MaxResults = 123, ResourceArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0" }); string nextToken = response.NextToken; List<Subscription> subscriptions = response.Subscriptions;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5