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 |
Removes the specified intent.
Deleting an intent also deletes the slots associated with the intent.
Synopsis
- data DeleteIntent = DeleteIntent' {}
- newDeleteIntent :: Text -> Text -> Text -> Text -> DeleteIntent
- deleteIntent_intentId :: Lens' DeleteIntent Text
- deleteIntent_botId :: Lens' DeleteIntent Text
- deleteIntent_botVersion :: Lens' DeleteIntent Text
- deleteIntent_localeId :: Lens' DeleteIntent Text
- data DeleteIntentResponse = DeleteIntentResponse' {
- newDeleteIntentResponse :: DeleteIntentResponse
Creating a Request
data DeleteIntent Source #
See: newDeleteIntent
smart constructor.
DeleteIntent' | |
|
Instances
Create a value of DeleteIntent
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:
DeleteIntent
, deleteIntent_intentId
- The unique identifier of the intent to delete.
DeleteIntent
, deleteIntent_botId
- The identifier of the bot associated with the intent.
DeleteIntent
, deleteIntent_botVersion
- The version of the bot associated with the intent.
DeleteIntent
, deleteIntent_localeId
- The identifier of the language and locale where the bot will be deleted.
The string must match one of the supported locales. For more
information, see
Supported languages.
Request Lenses
deleteIntent_intentId :: Lens' DeleteIntent Text Source #
The unique identifier of the intent to delete.
deleteIntent_botId :: Lens' DeleteIntent Text Source #
The identifier of the bot associated with the intent.
deleteIntent_botVersion :: Lens' DeleteIntent Text Source #
The version of the bot associated with the intent.
deleteIntent_localeId :: Lens' DeleteIntent Text Source #
The identifier of the language and locale where the bot will be deleted. The string must match one of the supported locales. For more information, see Supported languages.
Destructuring the Response
data DeleteIntentResponse Source #
See: newDeleteIntentResponse
smart constructor.
Instances
Generic DeleteIntentResponse Source # | |
Defined in Amazonka.LexV2Models.DeleteIntent type Rep DeleteIntentResponse :: Type -> Type # from :: DeleteIntentResponse -> Rep DeleteIntentResponse x # to :: Rep DeleteIntentResponse x -> DeleteIntentResponse # | |
Read DeleteIntentResponse Source # | |
Show DeleteIntentResponse Source # | |
Defined in Amazonka.LexV2Models.DeleteIntent showsPrec :: Int -> DeleteIntentResponse -> ShowS # show :: DeleteIntentResponse -> String # showList :: [DeleteIntentResponse] -> ShowS # | |
NFData DeleteIntentResponse Source # | |
Defined in Amazonka.LexV2Models.DeleteIntent rnf :: DeleteIntentResponse -> () # | |
Eq DeleteIntentResponse Source # | |
Defined in Amazonka.LexV2Models.DeleteIntent (==) :: DeleteIntentResponse -> DeleteIntentResponse -> Bool # (/=) :: DeleteIntentResponse -> DeleteIntentResponse -> Bool # | |
type Rep DeleteIntentResponse Source # | |
newDeleteIntentResponse :: DeleteIntentResponse Source #
Create a value of DeleteIntentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.