Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- describeEvents :: DescribeEvents
- data DescribeEvents
- deRequestId :: Lens' DescribeEvents (Maybe Text)
- deTemplateName :: Lens' DescribeEvents (Maybe Text)
- deStartTime :: Lens' DescribeEvents (Maybe UTCTime)
- deSeverity :: Lens' DescribeEvents (Maybe EventSeverity)
- deNextToken :: Lens' DescribeEvents (Maybe Text)
- deVersionLabel :: Lens' DescribeEvents (Maybe Text)
- deEnvironmentName :: Lens' DescribeEvents (Maybe Text)
- deMaxRecords :: Lens' DescribeEvents (Maybe Natural)
- deEndTime :: Lens' DescribeEvents (Maybe UTCTime)
- deApplicationName :: Lens' DescribeEvents (Maybe Text)
- deEnvironmentId :: Lens' DescribeEvents (Maybe Text)
- describeEventsResponse :: Int -> DescribeEventsResponse
- data DescribeEventsResponse
- dersNextToken :: Lens' DescribeEventsResponse (Maybe Text)
- dersEvents :: Lens' DescribeEventsResponse [EventDescription]
- dersResponseStatus :: Lens' DescribeEventsResponse Int
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:
data DescribeEvents Source
This documentation target is not reported in the API reference.
See: describeEvents
smart constructor.
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
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:
data DescribeEventsResponse Source
Result message wrapping a list of event descriptions.
See: describeEventsResponse
smart constructor.
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.
dersEvents :: Lens' DescribeEventsResponse [EventDescription] Source
A list of EventDescription.
dersResponseStatus :: Lens' DescribeEventsResponse Int Source
The response status code.