amazonka-elasticbeanstalk-1.3.0: Amazon Elastic Beanstalk SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElasticBeanstalk.DescribeEvents

Contents

Description

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.

See: AWS API Reference for DescribeEvents.

This operation returns paginated results.

Synopsis

Creating a Request

describeEvents :: DescribeEvents Source

Creates a value of DescribeEvents with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

deRequestId :: Lens' DescribeEvents (Maybe Text) Source

If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.

deTemplateName :: Lens' DescribeEvents (Maybe Text) Source

If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.

deStartTime :: Lens' DescribeEvents (Maybe UTCTime) Source

If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.

deSeverity :: Lens' DescribeEvents (Maybe EventSeverity) Source

If specified, limits the events returned from this call to include only those with the specified severity or higher.

deNextToken :: Lens' DescribeEvents (Maybe Text) Source

Pagination token. If specified, the events return the next batch of results.

deVersionLabel :: Lens' DescribeEvents (Maybe Text) Source

If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.

deEnvironmentName :: Lens' DescribeEvents (Maybe Text) Source

If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.

deMaxRecords :: Lens' DescribeEvents (Maybe Natural) Source

Specifies the maximum number of events that can be returned, beginning with the most recent event.

deEndTime :: Lens' DescribeEvents (Maybe UTCTime) Source

If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime.

deApplicationName :: Lens' DescribeEvents (Maybe Text) Source

If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.

deEnvironmentId :: Lens' DescribeEvents (Maybe Text) Source

If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.

Destructuring the Response

describeEventsResponse Source

Creates a value of DescribeEventsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dersNextToken :: Lens' DescribeEventsResponse (Maybe Text) Source

If returned, this indicates that there are more results to obtain. Use this token in the next DescribeEvents call to get the next batch of events.