Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- getBuiltinSlotTypes :: GetBuiltinSlotTypes
- data GetBuiltinSlotTypes
- gbstLocale :: Lens' GetBuiltinSlotTypes (Maybe Locale)
- gbstNextToken :: Lens' GetBuiltinSlotTypes (Maybe Text)
- gbstSignatureContains :: Lens' GetBuiltinSlotTypes (Maybe Text)
- gbstMaxResults :: Lens' GetBuiltinSlotTypes (Maybe Natural)
- getBuiltinSlotTypesResponse :: Int -> GetBuiltinSlotTypesResponse
- data GetBuiltinSlotTypesResponse
- gbstrsNextToken :: Lens' GetBuiltinSlotTypesResponse (Maybe Text)
- gbstrsSlotTypes :: Lens' GetBuiltinSlotTypesResponse [BuiltinSlotTypeMetadata]
- gbstrsResponseStatus :: Lens' GetBuiltinSlotTypesResponse Int
Creating a Request
getBuiltinSlotTypes :: GetBuiltinSlotTypes Source #
Creates a value of GetBuiltinSlotTypes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbstLocale
- A list of locales that the slot type supports.gbstNextToken
- 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.gbstSignatureContains
- 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."gbstMaxResults
- The maximum number of slot types to return in the response. The default is 10.
data GetBuiltinSlotTypes Source #
See: getBuiltinSlotTypes
smart constructor.
Request Lenses
gbstLocale :: Lens' GetBuiltinSlotTypes (Maybe Locale) Source #
A list of locales that the slot type supports.
gbstNextToken :: 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.
gbstSignatureContains :: 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."
gbstMaxResults :: Lens' GetBuiltinSlotTypes (Maybe Natural) Source #
The maximum number of slot types to return in the response. The default is 10.
Destructuring the Response
getBuiltinSlotTypesResponse Source #
Creates a value of GetBuiltinSlotTypesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbstrsNextToken
- 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.gbstrsSlotTypes
- An array ofBuiltInSlotTypeMetadata
objects, one entry for each slot type returned.gbstrsResponseStatus
- -- | The response status code.
data GetBuiltinSlotTypesResponse Source #
See: getBuiltinSlotTypesResponse
smart constructor.
Response Lenses
gbstrsNextToken :: 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.
gbstrsSlotTypes :: Lens' GetBuiltinSlotTypesResponse [BuiltinSlotTypeMetadata] Source #
An array of BuiltInSlotTypeMetadata
objects, one entry for each slot type returned.
gbstrsResponseStatus :: Lens' GetBuiltinSlotTypesResponse Int Source #
- - | The response status code.