| 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.GetBuiltinIntent
Description
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.
Constructors
| GetBuiltinIntent' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> GetBuiltinIntent | 
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:
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.
Constructors
| GetBuiltinIntentResponse' | |
Fields 
  | |
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:
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.
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.