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 |
Lists all the custom patterns that have been created.
Synopsis
- data ListCustomEntityTypes = ListCustomEntityTypes' {}
- newListCustomEntityTypes :: ListCustomEntityTypes
- listCustomEntityTypes_maxResults :: Lens' ListCustomEntityTypes (Maybe Natural)
- listCustomEntityTypes_nextToken :: Lens' ListCustomEntityTypes (Maybe Text)
- data ListCustomEntityTypesResponse = ListCustomEntityTypesResponse' {}
- newListCustomEntityTypesResponse :: Int -> ListCustomEntityTypesResponse
- listCustomEntityTypesResponse_customEntityTypes :: Lens' ListCustomEntityTypesResponse (Maybe [CustomEntityType])
- listCustomEntityTypesResponse_nextToken :: Lens' ListCustomEntityTypesResponse (Maybe Text)
- listCustomEntityTypesResponse_httpStatus :: Lens' ListCustomEntityTypesResponse Int
Creating a Request
data ListCustomEntityTypes Source #
See: newListCustomEntityTypes
smart constructor.
Instances
newListCustomEntityTypes :: ListCustomEntityTypes Source #
Create a value of ListCustomEntityTypes
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:maxResults:ListCustomEntityTypes'
, listCustomEntityTypes_maxResults
- The maximum number of results to return.
ListCustomEntityTypes
, listCustomEntityTypes_nextToken
- A paginated token to offset the results.
Request Lenses
listCustomEntityTypes_maxResults :: Lens' ListCustomEntityTypes (Maybe Natural) Source #
The maximum number of results to return.
listCustomEntityTypes_nextToken :: Lens' ListCustomEntityTypes (Maybe Text) Source #
A paginated token to offset the results.
Destructuring the Response
data ListCustomEntityTypesResponse Source #
See: newListCustomEntityTypesResponse
smart constructor.
ListCustomEntityTypesResponse' | |
|
Instances
newListCustomEntityTypesResponse Source #
Create a value of ListCustomEntityTypesResponse
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:customEntityTypes:ListCustomEntityTypesResponse'
, listCustomEntityTypesResponse_customEntityTypes
- A list of CustomEntityType
objects representing custom patterns.
ListCustomEntityTypes
, listCustomEntityTypesResponse_nextToken
- A pagination token, if more results are available.
$sel:httpStatus:ListCustomEntityTypesResponse'
, listCustomEntityTypesResponse_httpStatus
- The response's http status code.
Response Lenses
listCustomEntityTypesResponse_customEntityTypes :: Lens' ListCustomEntityTypesResponse (Maybe [CustomEntityType]) Source #
A list of CustomEntityType
objects representing custom patterns.
listCustomEntityTypesResponse_nextToken :: Lens' ListCustomEntityTypesResponse (Maybe Text) Source #
A pagination token, if more results are available.
listCustomEntityTypesResponse_httpStatus :: Lens' ListCustomEntityTypesResponse Int Source #
The response's http status code.