Copyright | (c) 2013-2018 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 |
Returns information about a built-in intent.
This operation requires permission for the lex:GetBuiltinIntent
action.
Synopsis
- getBuiltinIntent :: Text -> GetBuiltinIntent
- data GetBuiltinIntent
- gbiSignature :: Lens' GetBuiltinIntent Text
- getBuiltinIntentResponse :: Int -> GetBuiltinIntentResponse
- data GetBuiltinIntentResponse
- gbirsSignature :: Lens' GetBuiltinIntentResponse (Maybe Text)
- gbirsSlots :: Lens' GetBuiltinIntentResponse [BuiltinIntentSlot]
- gbirsSupportedLocales :: Lens' GetBuiltinIntentResponse [Locale]
- gbirsResponseStatus :: Lens' GetBuiltinIntentResponse Int
Creating a Request
Creates a value of GetBuiltinIntent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbiSignature
- The unique identifier for a built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit .
data GetBuiltinIntent Source #
See: getBuiltinIntent
smart constructor.
Instances
Request Lenses
gbiSignature :: Lens' GetBuiltinIntent Text Source #
The unique identifier for a built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit .
Destructuring the Response
getBuiltinIntentResponse Source #
Creates a value of GetBuiltinIntentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbirsSignature
- The unique identifier for a built-in intent.gbirsSlots
- An array ofBuiltinIntentSlot
objects, one entry for each slot type in the intent.gbirsSupportedLocales
- A list of locales that the intent supports.gbirsResponseStatus
- -- | The response status code.
data GetBuiltinIntentResponse Source #
See: getBuiltinIntentResponse
smart constructor.
Instances
Response Lenses
gbirsSignature :: Lens' GetBuiltinIntentResponse (Maybe Text) Source #
The unique identifier for a built-in intent.
gbirsSlots :: Lens' GetBuiltinIntentResponse [BuiltinIntentSlot] Source #
An array of BuiltinIntentSlot
objects, one entry for each slot type in the intent.
gbirsSupportedLocales :: Lens' GetBuiltinIntentResponse [Locale] Source #
A list of locales that the intent supports.
gbirsResponseStatus :: Lens' GetBuiltinIntentResponse Int Source #
- - | The response status code.