Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_nextToken :: Lens' ListEventTypes (Maybe Text)
- listEventTypes_maxResults :: Lens' ListEventTypes (Maybe Natural)
- 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:nextToken:ListEventTypes'
, listEventTypes_nextToken
- An enumeration token that, when provided in a request, returns the next
batch of the results.
$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.
Request Lenses
listEventTypes_filters :: Lens' ListEventTypes (Maybe [ListEventTypesFilter]) Source #
The filters to use to return information by service or resource type.
listEventTypes_nextToken :: Lens' ListEventTypes (Maybe Text) Source #
An enumeration token that, when provided in a request, returns the next batch of the results.
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.
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.
$sel:nextToken: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.