| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticBeanstalk.DescribeEvents
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.
This operation returns paginated results.
Synopsis
- data DescribeEvents = DescribeEvents' {
- applicationName :: Maybe Text
- endTime :: Maybe ISO8601
- environmentId :: Maybe Text
- environmentName :: Maybe Text
- maxRecords :: Maybe Natural
- nextToken :: Maybe Text
- platformArn :: Maybe Text
- requestId :: Maybe Text
- severity :: Maybe EventSeverity
- startTime :: Maybe ISO8601
- templateName :: Maybe Text
- versionLabel :: Maybe Text
- newDescribeEvents :: DescribeEvents
- describeEvents_applicationName :: Lens' DescribeEvents (Maybe Text)
- describeEvents_endTime :: Lens' DescribeEvents (Maybe UTCTime)
- describeEvents_environmentId :: Lens' DescribeEvents (Maybe Text)
- describeEvents_environmentName :: Lens' DescribeEvents (Maybe Text)
- describeEvents_maxRecords :: Lens' DescribeEvents (Maybe Natural)
- describeEvents_nextToken :: Lens' DescribeEvents (Maybe Text)
- describeEvents_platformArn :: Lens' DescribeEvents (Maybe Text)
- describeEvents_requestId :: Lens' DescribeEvents (Maybe Text)
- describeEvents_severity :: Lens' DescribeEvents (Maybe EventSeverity)
- describeEvents_startTime :: Lens' DescribeEvents (Maybe UTCTime)
- describeEvents_templateName :: Lens' DescribeEvents (Maybe Text)
- describeEvents_versionLabel :: Lens' DescribeEvents (Maybe Text)
- data DescribeEventsResponse = DescribeEventsResponse' {
- events :: Maybe [EventDescription]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeEventsResponse :: Int -> DescribeEventsResponse
- describeEventsResponse_events :: Lens' DescribeEventsResponse (Maybe [EventDescription])
- describeEventsResponse_nextToken :: Lens' DescribeEventsResponse (Maybe Text)
- describeEventsResponse_httpStatus :: Lens' DescribeEventsResponse Int
Creating a Request
data DescribeEvents Source #
Request to retrieve a list of events for an environment.
See: newDescribeEvents smart constructor.
Constructors
| DescribeEvents' | |
Fields
| |
Instances
newDescribeEvents :: DescribeEvents Source #
Create a value of DescribeEvents with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeEvents, describeEvents_applicationName - If specified, AWS Elastic Beanstalk restricts the returned descriptions
to include only those associated with this application.
$sel:endTime:DescribeEvents', describeEvents_endTime - If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur up to, but not including, the EndTime.
DescribeEvents, describeEvents_environmentId - If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this environment.
DescribeEvents, describeEvents_environmentName - If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this environment.
$sel:maxRecords:DescribeEvents', describeEvents_maxRecords - Specifies the maximum number of events that can be returned, beginning
with the most recent event.
DescribeEvents, describeEvents_nextToken - Pagination token. If specified, the events return the next batch of
results.
DescribeEvents, describeEvents_platformArn - The ARN of a custom platform version. If specified, AWS Elastic
Beanstalk restricts the returned descriptions to those associated with
this custom platform version.
DescribeEvents, describeEvents_requestId - If specified, AWS Elastic Beanstalk restricts the described events to
include only those associated with this request ID.
DescribeEvents, describeEvents_severity - If specified, limits the events returned from this call to include only
those with the specified severity or higher.
$sel:startTime:DescribeEvents', describeEvents_startTime - If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that occur on or after this time.
DescribeEvents, describeEvents_templateName - If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those that are associated with this environment configuration.
DescribeEvents, describeEvents_versionLabel - If specified, AWS Elastic Beanstalk restricts the returned descriptions
to those associated with this application version.
Request Lenses
describeEvents_applicationName :: Lens' DescribeEvents (Maybe Text) Source #
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
describeEvents_endTime :: 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.
describeEvents_environmentId :: Lens' DescribeEvents (Maybe Text) Source #
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
describeEvents_environmentName :: Lens' DescribeEvents (Maybe Text) Source #
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
describeEvents_maxRecords :: Lens' DescribeEvents (Maybe Natural) Source #
Specifies the maximum number of events that can be returned, beginning with the most recent event.
describeEvents_nextToken :: Lens' DescribeEvents (Maybe Text) Source #
Pagination token. If specified, the events return the next batch of results.
describeEvents_platformArn :: Lens' DescribeEvents (Maybe Text) Source #
The ARN of a custom platform version. If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this custom platform version.
describeEvents_requestId :: Lens' DescribeEvents (Maybe Text) Source #
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
describeEvents_severity :: Lens' DescribeEvents (Maybe EventSeverity) Source #
If specified, limits the events returned from this call to include only those with the specified severity or higher.
describeEvents_startTime :: Lens' DescribeEvents (Maybe UTCTime) Source #
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
describeEvents_templateName :: Lens' DescribeEvents (Maybe Text) Source #
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
describeEvents_versionLabel :: Lens' DescribeEvents (Maybe Text) Source #
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
Destructuring the Response
data DescribeEventsResponse Source #
Result message wrapping a list of event descriptions.
See: newDescribeEventsResponse smart constructor.
Constructors
| DescribeEventsResponse' | |
Fields
| |
Instances
newDescribeEventsResponse Source #
Create a value of DescribeEventsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:events:DescribeEventsResponse', describeEventsResponse_events - A list of EventDescription.
DescribeEvents, describeEventsResponse_nextToken - 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.
$sel:httpStatus:DescribeEventsResponse', describeEventsResponse_httpStatus - The response's http status code.
Response Lenses
describeEventsResponse_events :: Lens' DescribeEventsResponse (Maybe [EventDescription]) Source #
A list of EventDescription.
describeEventsResponse_nextToken :: 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.
describeEventsResponse_httpStatus :: Lens' DescribeEventsResponse Int Source #
The response's http status code.