Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns list of event descriptions matching criteria up to the last 6 weeks.
http://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeEvents.html
- data DescribeEvents
- describeEvents :: DescribeEvents
- deApplicationName :: Lens' DescribeEvents (Maybe Text)
- deEndTime :: Lens' DescribeEvents (Maybe UTCTime)
- deEnvironmentId :: Lens' DescribeEvents (Maybe Text)
- deEnvironmentName :: Lens' DescribeEvents (Maybe Text)
- deMaxRecords :: Lens' DescribeEvents (Maybe Natural)
- deNextToken :: Lens' DescribeEvents (Maybe Text)
- deRequestId :: Lens' DescribeEvents (Maybe Text)
- deSeverity :: Lens' DescribeEvents (Maybe EventSeverity)
- deStartTime :: Lens' DescribeEvents (Maybe UTCTime)
- deTemplateName :: Lens' DescribeEvents (Maybe Text)
- deVersionLabel :: Lens' DescribeEvents (Maybe Text)
- data DescribeEventsResponse
- describeEventsResponse :: DescribeEventsResponse
- derEvents :: Lens' DescribeEventsResponse [EventDescription]
- derNextToken :: Lens' DescribeEventsResponse (Maybe Text)
Request
data DescribeEvents Source
Request constructor
describeEvents :: DescribeEvents Source
DescribeEvents
constructor.
The fields accessible through corresponding lenses are:
deApplicationName
::
Maybe
Text
deEndTime
::
Maybe
UTCTime
deEnvironmentId
::
Maybe
Text
deEnvironmentName
::
Maybe
Text
deMaxRecords
::
Maybe
Natural
deNextToken
::
Maybe
Text
deRequestId
::
Maybe
Text
deSeverity
::
Maybe
EventSeverity
deStartTime
::
Maybe
UTCTime
deTemplateName
::
Maybe
Text
deVersionLabel
::
Maybe
Text
Request lenses
deApplicationName :: Lens' DescribeEvents (Maybe Text) Source
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
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
.
deEnvironmentId :: Lens' DescribeEvents (Maybe Text) Source
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
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.
deNextToken :: Lens' DescribeEvents (Maybe Text) Source
Pagination token. If specified, the events return the next batch of results.
deRequestId :: Lens' DescribeEvents (Maybe Text) Source
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
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.
deStartTime :: Lens' DescribeEvents (Maybe UTCTime) Source
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
deTemplateName :: Lens' DescribeEvents (Maybe Text) Source
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
deVersionLabel :: Lens' DescribeEvents (Maybe Text) Source
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
Response
Response constructor
describeEventsResponse :: DescribeEventsResponse Source
DescribeEventsResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
derEvents :: Lens' DescribeEventsResponse [EventDescription] Source
A list of EventDescription
.
derNextToken :: 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.