| 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 | 
Amazonka.LexModels.GetBuiltinSlotTypes
Description
Gets a list of built-in slot types that meet the specified criteria.
For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit.
This operation requires permission for the lex:GetBuiltInSlotTypes
 action.
This operation returns paginated results.
Synopsis
- data GetBuiltinSlotTypes = GetBuiltinSlotTypes' {}
 - newGetBuiltinSlotTypes :: GetBuiltinSlotTypes
 - getBuiltinSlotTypes_locale :: Lens' GetBuiltinSlotTypes (Maybe Locale)
 - getBuiltinSlotTypes_maxResults :: Lens' GetBuiltinSlotTypes (Maybe Natural)
 - getBuiltinSlotTypes_nextToken :: Lens' GetBuiltinSlotTypes (Maybe Text)
 - getBuiltinSlotTypes_signatureContains :: Lens' GetBuiltinSlotTypes (Maybe Text)
 - data GetBuiltinSlotTypesResponse = GetBuiltinSlotTypesResponse' {}
 - newGetBuiltinSlotTypesResponse :: Int -> GetBuiltinSlotTypesResponse
 - getBuiltinSlotTypesResponse_nextToken :: Lens' GetBuiltinSlotTypesResponse (Maybe Text)
 - getBuiltinSlotTypesResponse_slotTypes :: Lens' GetBuiltinSlotTypesResponse (Maybe [BuiltinSlotTypeMetadata])
 - getBuiltinSlotTypesResponse_httpStatus :: Lens' GetBuiltinSlotTypesResponse Int
 
Creating a Request
data GetBuiltinSlotTypes Source #
See: newGetBuiltinSlotTypes smart constructor.
Constructors
| GetBuiltinSlotTypes' | |
Fields 
  | |
Instances
newGetBuiltinSlotTypes :: GetBuiltinSlotTypes Source #
Create a value of GetBuiltinSlotTypes 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:locale:GetBuiltinSlotTypes', getBuiltinSlotTypes_locale - A list of locales that the slot type supports.
$sel:maxResults:GetBuiltinSlotTypes', getBuiltinSlotTypes_maxResults - The maximum number of slot types to return in the response. The default
 is 10.
GetBuiltinSlotTypes, getBuiltinSlotTypes_nextToken - A pagination token that fetches the next page of slot types. If the
 response to this API call is truncated, Amazon Lex returns a pagination
 token in the response. To fetch the next page of slot types, specify the
 pagination token in the next request.
$sel:signatureContains:GetBuiltinSlotTypes', getBuiltinSlotTypes_signatureContains - Substring to match in built-in slot type signatures. A slot type will be
 returned if any part of its signature matches the substring. For
 example, "xyz" matches both "xyzabc" and "abcxyz."
Request Lenses
getBuiltinSlotTypes_locale :: Lens' GetBuiltinSlotTypes (Maybe Locale) Source #
A list of locales that the slot type supports.
getBuiltinSlotTypes_maxResults :: Lens' GetBuiltinSlotTypes (Maybe Natural) Source #
The maximum number of slot types to return in the response. The default is 10.
getBuiltinSlotTypes_nextToken :: Lens' GetBuiltinSlotTypes (Maybe Text) Source #
A pagination token that fetches the next page of slot types. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of slot types, specify the pagination token in the next request.
getBuiltinSlotTypes_signatureContains :: Lens' GetBuiltinSlotTypes (Maybe Text) Source #
Substring to match in built-in slot type signatures. A slot type will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."
Destructuring the Response
data GetBuiltinSlotTypesResponse Source #
See: newGetBuiltinSlotTypesResponse smart constructor.
Constructors
| GetBuiltinSlotTypesResponse' | |
Fields 
  | |
Instances
newGetBuiltinSlotTypesResponse Source #
Create a value of GetBuiltinSlotTypesResponse 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:
GetBuiltinSlotTypes, getBuiltinSlotTypesResponse_nextToken - If the response is truncated, the response includes a pagination token
 that you can use in your next request to fetch the next page of slot
 types.
$sel:slotTypes:GetBuiltinSlotTypesResponse', getBuiltinSlotTypesResponse_slotTypes - An array of BuiltInSlotTypeMetadata objects, one entry for each slot
 type returned.
$sel:httpStatus:GetBuiltinSlotTypesResponse', getBuiltinSlotTypesResponse_httpStatus - The response's http status code.
Response Lenses
getBuiltinSlotTypesResponse_nextToken :: Lens' GetBuiltinSlotTypesResponse (Maybe Text) Source #
If the response is truncated, the response includes a pagination token that you can use in your next request to fetch the next page of slot types.
getBuiltinSlotTypesResponse_slotTypes :: Lens' GetBuiltinSlotTypesResponse (Maybe [BuiltinSlotTypeMetadata]) Source #
An array of BuiltInSlotTypeMetadata objects, one entry for each slot
 type returned.
getBuiltinSlotTypesResponse_httpStatus :: Lens' GetBuiltinSlotTypesResponse Int Source #
The response's http status code.