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 |
Returns information about the event types available for configuring notifications.
This operation returns paginated results.
Synopsis
- data ListEventTypes = ListEventTypes' {}
- newListEventTypes :: ListEventTypes
- listEventTypes_filters :: Lens' ListEventTypes (Maybe [ListEventTypesFilter])
- listEventTypes_maxResults :: Lens' ListEventTypes (Maybe Natural)
- listEventTypes_nextToken :: Lens' ListEventTypes (Maybe Text)
- data ListEventTypesResponse = ListEventTypesResponse' {
- eventTypes :: Maybe [EventTypeSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListEventTypesResponse :: Int -> ListEventTypesResponse
- listEventTypesResponse_eventTypes :: Lens' ListEventTypesResponse (Maybe [EventTypeSummary])
- listEventTypesResponse_nextToken :: Lens' ListEventTypesResponse (Maybe Text)
- listEventTypesResponse_httpStatus :: Lens' ListEventTypesResponse Int
Creating a Request
data ListEventTypes Source #
See: newListEventTypes
smart constructor.
ListEventTypes' | |
|
Instances
newListEventTypes :: ListEventTypes Source #
Create a value of ListEventTypes
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:filters:ListEventTypes'
, listEventTypes_filters
- The filters to use to return information by service or resource type.
$sel:maxResults:ListEventTypes'
, listEventTypes_maxResults
- A non-negative integer used to limit the number of returned results. The
default number is 50. The maximum number of results that can be returned
is 100.
ListEventTypes
, listEventTypes_nextToken
- An enumeration token that, when provided in a request, returns the next
batch of the results.
Request Lenses
listEventTypes_filters :: Lens' ListEventTypes (Maybe [ListEventTypesFilter]) Source #
The filters to use to return information by service or resource type.
listEventTypes_maxResults :: Lens' ListEventTypes (Maybe Natural) Source #
A non-negative integer used to limit the number of returned results. The default number is 50. The maximum number of results that can be returned is 100.
listEventTypes_nextToken :: Lens' ListEventTypes (Maybe Text) Source #
An enumeration token that, when provided in a request, returns the next batch of the results.
Destructuring the Response
data ListEventTypesResponse Source #
See: newListEventTypesResponse
smart constructor.
ListEventTypesResponse' | |
|
Instances
newListEventTypesResponse Source #
Create a value of ListEventTypesResponse
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:eventTypes:ListEventTypesResponse'
, listEventTypesResponse_eventTypes
- Information about each event, including service name, resource type,
event ID, and event name.
ListEventTypes
, listEventTypesResponse_nextToken
- An enumeration token that can be used in a request to return the next
batch of the results.
$sel:httpStatus:ListEventTypesResponse'
, listEventTypesResponse_httpStatus
- The response's http status code.
Response Lenses
listEventTypesResponse_eventTypes :: Lens' ListEventTypesResponse (Maybe [EventTypeSummary]) Source #
Information about each event, including service name, resource type, event ID, and event name.
listEventTypesResponse_nextToken :: Lens' ListEventTypesResponse (Maybe Text) Source #
An enumeration token that can be used in a request to return the next batch of the results.
listEventTypesResponse_httpStatus :: Lens' ListEventTypesResponse Int Source #
The response's http status code.