AWS SDK Version 3 for .NET
API Reference

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.

Returns list of event descriptions matching criteria up to the last 6 weeks.

This action returns the most recent 1,000 events from the specified NextToken.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DescribeEventsAsync.

Namespace: Amazon.ElasticBeanstalk
Assembly: AWSSDK.ElasticBeanstalk.dll
Version: 3.x.y.z

Syntax

C#
public virtual DescribeEventsResponse DescribeEvents(
         DescribeEventsRequest request
)

Parameters

request
Type: Amazon.ElasticBeanstalk.Model.DescribeEventsRequest

Container for the necessary parameters to execute the DescribeEvents service method.

Return Value


The response from the DescribeEvents service method, as returned by ElasticBeanstalk.

Examples

The following operation retrieves events for an environment named my-env:

To view events for an environment


var client = new AmazonElasticBeanstalkClient();
var response = client.DescribeEvents(new DescribeEventsRequest 
{
    EnvironmentName = "my-env"
});

List<EventDescription> events = response.Events;

            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also