Copyright | (c) 2013-2021 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 |
Returns information about a built-in intent.
This operation requires permission for the lex:GetBuiltinIntent
action.
Synopsis
- data GetBuiltinIntent = GetBuiltinIntent' {}
- newGetBuiltinIntent :: Text -> GetBuiltinIntent
- getBuiltinIntent_signature :: Lens' GetBuiltinIntent Text
- data GetBuiltinIntentResponse = GetBuiltinIntentResponse' {
- signature :: Maybe Text
- slots :: Maybe [BuiltinIntentSlot]
- supportedLocales :: Maybe [Locale]
- httpStatus :: Int
- newGetBuiltinIntentResponse :: Int -> GetBuiltinIntentResponse
- getBuiltinIntentResponse_signature :: Lens' GetBuiltinIntentResponse (Maybe Text)
- getBuiltinIntentResponse_slots :: Lens' GetBuiltinIntentResponse (Maybe [BuiltinIntentSlot])
- getBuiltinIntentResponse_supportedLocales :: Lens' GetBuiltinIntentResponse (Maybe [Locale])
- getBuiltinIntentResponse_httpStatus :: Lens' GetBuiltinIntentResponse Int
Creating a Request
data GetBuiltinIntent Source #
See: newGetBuiltinIntent
smart constructor.
GetBuiltinIntent' | |
|
Instances
Create a value of GetBuiltinIntent
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:signature:GetBuiltinIntent'
, getBuiltinIntent_signature
- 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.
Request Lenses
getBuiltinIntent_signature :: 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
data GetBuiltinIntentResponse Source #
See: newGetBuiltinIntentResponse
smart constructor.
GetBuiltinIntentResponse' | |
|
Instances
newGetBuiltinIntentResponse Source #
Create a value of GetBuiltinIntentResponse
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:signature:GetBuiltinIntent'
, getBuiltinIntentResponse_signature
- The unique identifier for a built-in intent.
$sel:slots:GetBuiltinIntentResponse'
, getBuiltinIntentResponse_slots
- An array of BuiltinIntentSlot
objects, one entry for each slot type in
the intent.
$sel:supportedLocales:GetBuiltinIntentResponse'
, getBuiltinIntentResponse_supportedLocales
- A list of locales that the intent supports.
$sel:httpStatus:GetBuiltinIntentResponse'
, getBuiltinIntentResponse_httpStatus
- The response's http status code.
Response Lenses
getBuiltinIntentResponse_signature :: Lens' GetBuiltinIntentResponse (Maybe Text) Source #
The unique identifier for a built-in intent.
getBuiltinIntentResponse_slots :: Lens' GetBuiltinIntentResponse (Maybe [BuiltinIntentSlot]) Source #
An array of BuiltinIntentSlot
objects, one entry for each slot type in
the intent.
getBuiltinIntentResponse_supportedLocales :: Lens' GetBuiltinIntentResponse (Maybe [Locale]) Source #
A list of locales that the intent supports.
getBuiltinIntentResponse_httpStatus :: Lens' GetBuiltinIntentResponse Int Source #
The response's http status code.