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 |
Deletes the specified slot from an intent.
Synopsis
- data DeleteSlot = DeleteSlot' {}
- newDeleteSlot :: Text -> Text -> Text -> Text -> Text -> DeleteSlot
- deleteSlot_slotId :: Lens' DeleteSlot Text
- deleteSlot_botId :: Lens' DeleteSlot Text
- deleteSlot_botVersion :: Lens' DeleteSlot Text
- deleteSlot_localeId :: Lens' DeleteSlot Text
- deleteSlot_intentId :: Lens' DeleteSlot Text
- data DeleteSlotResponse = DeleteSlotResponse' {
- newDeleteSlotResponse :: DeleteSlotResponse
Creating a Request
data DeleteSlot Source #
See: newDeleteSlot
smart constructor.
DeleteSlot' | |
|
Instances
Create a value of DeleteSlot
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:
DeleteSlot
, deleteSlot_slotId
- The identifier of the slot to delete.
DeleteSlot
, deleteSlot_botId
- The identifier of the bot associated with the slot to delete.
DeleteSlot
, deleteSlot_botVersion
- The version of the bot associated with the slot to delete.
DeleteSlot
, deleteSlot_localeId
- The identifier of the language and locale that the slot will be deleted
from. The string must match one of the supported locales. For more
information, see
Supported languages.
DeleteSlot
, deleteSlot_intentId
- The identifier of the intent associated with the slot.
Request Lenses
deleteSlot_slotId :: Lens' DeleteSlot Text Source #
The identifier of the slot to delete.
deleteSlot_botId :: Lens' DeleteSlot Text Source #
The identifier of the bot associated with the slot to delete.
deleteSlot_botVersion :: Lens' DeleteSlot Text Source #
The version of the bot associated with the slot to delete.
deleteSlot_localeId :: Lens' DeleteSlot Text Source #
The identifier of the language and locale that the slot will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.
deleteSlot_intentId :: Lens' DeleteSlot Text Source #
The identifier of the intent associated with the slot.
Destructuring the Response
data DeleteSlotResponse Source #
See: newDeleteSlotResponse
smart constructor.
Instances
Generic DeleteSlotResponse Source # | |
Defined in Amazonka.LexV2Models.DeleteSlot type Rep DeleteSlotResponse :: Type -> Type # from :: DeleteSlotResponse -> Rep DeleteSlotResponse x # to :: Rep DeleteSlotResponse x -> DeleteSlotResponse # | |
Read DeleteSlotResponse Source # | |
Defined in Amazonka.LexV2Models.DeleteSlot | |
Show DeleteSlotResponse Source # | |
Defined in Amazonka.LexV2Models.DeleteSlot showsPrec :: Int -> DeleteSlotResponse -> ShowS # show :: DeleteSlotResponse -> String # showList :: [DeleteSlotResponse] -> ShowS # | |
NFData DeleteSlotResponse Source # | |
Defined in Amazonka.LexV2Models.DeleteSlot rnf :: DeleteSlotResponse -> () # | |
Eq DeleteSlotResponse Source # | |
Defined in Amazonka.LexV2Models.DeleteSlot (==) :: DeleteSlotResponse -> DeleteSlotResponse -> Bool # (/=) :: DeleteSlotResponse -> DeleteSlotResponse -> Bool # | |
type Rep DeleteSlotResponse Source # | |
newDeleteSlotResponse :: DeleteSlotResponse Source #
Create a value of DeleteSlotResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.