Copyright | (c) 2013-2016 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 the event types that meet the specified filter criteria. If no filter criteria are specified, all event types are returned, in no particular order.
- describeEventTypes :: DescribeEventTypes
- data DescribeEventTypes
- detLocale :: Lens' DescribeEventTypes (Maybe Text)
- detNextToken :: Lens' DescribeEventTypes (Maybe Text)
- detFilter :: Lens' DescribeEventTypes (Maybe EventTypeFilter)
- detMaxResults :: Lens' DescribeEventTypes (Maybe Natural)
- describeEventTypesResponse :: Int -> DescribeEventTypesResponse
- data DescribeEventTypesResponse
- detrsEventTypes :: Lens' DescribeEventTypesResponse [EventType]
- detrsNextToken :: Lens' DescribeEventTypesResponse (Maybe Text)
- detrsResponseStatus :: Lens' DescribeEventTypesResponse Int
Creating a Request
describeEventTypes :: DescribeEventTypes Source #
Creates a value of DescribeEventTypes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
detLocale
- The locale (language) to return information in. The default is English.detNextToken
- If the results of a search are large, only a portion of the results are returned, and anextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.detFilter
- Values to narrow the results returned.detMaxResults
- The maximum number of items to return in one batch.
data DescribeEventTypes Source #
See: describeEventTypes
smart constructor.
Request Lenses
detLocale :: Lens' DescribeEventTypes (Maybe Text) Source #
The locale (language) to return information in. The default is English.
detNextToken :: Lens' DescribeEventTypes (Maybe Text) Source #
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
detFilter :: Lens' DescribeEventTypes (Maybe EventTypeFilter) Source #
Values to narrow the results returned.
detMaxResults :: Lens' DescribeEventTypes (Maybe Natural) Source #
The maximum number of items to return in one batch.
Destructuring the Response
describeEventTypesResponse Source #
Creates a value of DescribeEventTypesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
detrsEventTypes
- List of event types to be matched with.detrsNextToken
- If the results of a search are large, only a portion of the results are returned, and anextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.detrsResponseStatus
- -- | The response status code.
data DescribeEventTypesResponse Source #
See: describeEventTypesResponse
smart constructor.
Response Lenses
detrsEventTypes :: Lens' DescribeEventTypesResponse [EventType] Source #
List of event types to be matched with.
detrsNextToken :: Lens' DescribeEventTypesResponse (Maybe Text) Source #
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
detrsResponseStatus :: Lens' DescribeEventTypesResponse Int Source #
- - | The response status code.