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 |
Gets a list of built-in slot types that meet the specified criteria.
Synopsis
- data ListBuiltInSlotTypes = ListBuiltInSlotTypes' {}
- newListBuiltInSlotTypes :: Text -> ListBuiltInSlotTypes
- listBuiltInSlotTypes_maxResults :: Lens' ListBuiltInSlotTypes (Maybe Natural)
- listBuiltInSlotTypes_nextToken :: Lens' ListBuiltInSlotTypes (Maybe Text)
- listBuiltInSlotTypes_sortBy :: Lens' ListBuiltInSlotTypes (Maybe BuiltInSlotTypeSortBy)
- listBuiltInSlotTypes_localeId :: Lens' ListBuiltInSlotTypes Text
- data ListBuiltInSlotTypesResponse = ListBuiltInSlotTypesResponse' {}
- newListBuiltInSlotTypesResponse :: Int -> ListBuiltInSlotTypesResponse
- listBuiltInSlotTypesResponse_builtInSlotTypeSummaries :: Lens' ListBuiltInSlotTypesResponse (Maybe [BuiltInSlotTypeSummary])
- listBuiltInSlotTypesResponse_localeId :: Lens' ListBuiltInSlotTypesResponse (Maybe Text)
- listBuiltInSlotTypesResponse_nextToken :: Lens' ListBuiltInSlotTypesResponse (Maybe Text)
- listBuiltInSlotTypesResponse_httpStatus :: Lens' ListBuiltInSlotTypesResponse Int
Creating a Request
data ListBuiltInSlotTypes Source #
See: newListBuiltInSlotTypes
smart constructor.
ListBuiltInSlotTypes' | |
|
Instances
newListBuiltInSlotTypes Source #
Create a value of ListBuiltInSlotTypes
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:ListBuiltInSlotTypes'
, listBuiltInSlotTypes_maxResults
- The maximum number of built-in slot types to return in each page of
results. If there are fewer results than the max page size, only the
actual number of results are returned.
ListBuiltInSlotTypes
, listBuiltInSlotTypes_nextToken
- If the response from the ListBuiltInSlotTypes
operation contains more
results than specified in the maxResults
parameter, a token is
returned in the response. Use that token in the nextToken
parameter to
return the next page of results.
$sel:sortBy:ListBuiltInSlotTypes'
, listBuiltInSlotTypes_sortBy
- Determines the sort order for the response from the
ListBuiltInSlotTypes
operation. You can choose to sort by the slot
type signature in either ascending or descending order.
ListBuiltInSlotTypes
, listBuiltInSlotTypes_localeId
- The identifier of the language and locale of the slot types to list. The
string must match one of the supported locales. For more information,
see
Supported languages.
Request Lenses
listBuiltInSlotTypes_maxResults :: Lens' ListBuiltInSlotTypes (Maybe Natural) Source #
The maximum number of built-in slot types to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
listBuiltInSlotTypes_nextToken :: Lens' ListBuiltInSlotTypes (Maybe Text) Source #
If the response from the ListBuiltInSlotTypes
operation contains more
results than specified in the maxResults
parameter, a token is
returned in the response. Use that token in the nextToken
parameter to
return the next page of results.
listBuiltInSlotTypes_sortBy :: Lens' ListBuiltInSlotTypes (Maybe BuiltInSlotTypeSortBy) Source #
Determines the sort order for the response from the
ListBuiltInSlotTypes
operation. You can choose to sort by the slot
type signature in either ascending or descending order.
listBuiltInSlotTypes_localeId :: Lens' ListBuiltInSlotTypes Text Source #
The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more information, see Supported languages.
Destructuring the Response
data ListBuiltInSlotTypesResponse Source #
See: newListBuiltInSlotTypesResponse
smart constructor.
ListBuiltInSlotTypesResponse' | |
|
Instances
newListBuiltInSlotTypesResponse Source #
Create a value of ListBuiltInSlotTypesResponse
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:builtInSlotTypeSummaries:ListBuiltInSlotTypesResponse'
, listBuiltInSlotTypesResponse_builtInSlotTypeSummaries
- Summary information for the built-in slot types that meet the filter
criteria specified in the request. The length of the list is specified
in the maxResults
parameter of the request. If there are more slot
types available, the nextToken
field contains a token to get the next
page of results.
ListBuiltInSlotTypes
, listBuiltInSlotTypesResponse_localeId
- The language and locale of the slot types in the list.
ListBuiltInSlotTypes
, listBuiltInSlotTypesResponse_nextToken
- A token that indicates whether there are more results to return in a
response to the ListBuiltInSlotTypes
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of
a LIstBuiltInSlotTypes
operation request to get the next page of
results.
$sel:httpStatus:ListBuiltInSlotTypesResponse'
, listBuiltInSlotTypesResponse_httpStatus
- The response's http status code.
Response Lenses
listBuiltInSlotTypesResponse_builtInSlotTypeSummaries :: Lens' ListBuiltInSlotTypesResponse (Maybe [BuiltInSlotTypeSummary]) Source #
Summary information for the built-in slot types that meet the filter
criteria specified in the request. The length of the list is specified
in the maxResults
parameter of the request. If there are more slot
types available, the nextToken
field contains a token to get the next
page of results.
listBuiltInSlotTypesResponse_localeId :: Lens' ListBuiltInSlotTypesResponse (Maybe Text) Source #
The language and locale of the slot types in the list.
listBuiltInSlotTypesResponse_nextToken :: Lens' ListBuiltInSlotTypesResponse (Maybe Text) Source #
A token that indicates whether there are more results to return in a
response to the ListBuiltInSlotTypes
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of
a LIstBuiltInSlotTypes
operation request to get the next page of
results.
listBuiltInSlotTypesResponse_httpStatus :: Lens' ListBuiltInSlotTypesResponse Int Source #
The response's http status code.