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 fields in a Cases domain.
Synopsis
- data ListFields = ListFields' {}
- newListFields :: Text -> ListFields
- listFields_maxResults :: Lens' ListFields (Maybe Natural)
- listFields_nextToken :: Lens' ListFields (Maybe Text)
- listFields_domainId :: Lens' ListFields Text
- data ListFieldsResponse = ListFieldsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- fields :: [FieldSummary]
- newListFieldsResponse :: Int -> ListFieldsResponse
- listFieldsResponse_nextToken :: Lens' ListFieldsResponse (Maybe Text)
- listFieldsResponse_httpStatus :: Lens' ListFieldsResponse Int
- listFieldsResponse_fields :: Lens' ListFieldsResponse [FieldSummary]
Creating a Request
data ListFields Source #
See: newListFields
smart constructor.
ListFields' | |
|
Instances
:: Text | |
-> ListFields |
Create a value of ListFields
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:ListFields'
, listFields_maxResults
- The maximum number of results to return per page.
ListFields
, listFields_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
ListFields
, listFields_domainId
- The unique identifier of the Cases domain.
Request Lenses
listFields_maxResults :: Lens' ListFields (Maybe Natural) Source #
The maximum number of results to return per page.
listFields_nextToken :: Lens' ListFields (Maybe Text) Source #
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
listFields_domainId :: Lens' ListFields Text Source #
The unique identifier of the Cases domain.
Destructuring the Response
data ListFieldsResponse Source #
See: newListFieldsResponse
smart constructor.
ListFieldsResponse' | |
|
Instances
newListFieldsResponse Source #
Create a value of ListFieldsResponse
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:
ListFields
, listFieldsResponse_nextToken
- The token for the next set of results. This is null if there are no more
results to return.
$sel:httpStatus:ListFieldsResponse'
, listFieldsResponse_httpStatus
- The response's http status code.
ListFieldsResponse
, listFieldsResponse_fields
- List of detailed field information.
Response Lenses
listFieldsResponse_nextToken :: Lens' ListFieldsResponse (Maybe Text) Source #
The token for the next set of results. This is null if there are no more results to return.
listFieldsResponse_httpStatus :: Lens' ListFieldsResponse Int Source #
The response's http status code.
listFieldsResponse_fields :: Lens' ListFieldsResponse [FieldSummary] Source #
List of detailed field information.