| 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.DeleteSlotTypeVersion
Description
Deletes a specific version of a slot type. To delete all versions of a slot type, use the DeleteSlotType operation.
This operation requires permissions for the lex:DeleteSlotTypeVersion
action.
Synopsis
- data DeleteSlotTypeVersion = DeleteSlotTypeVersion' {}
- newDeleteSlotTypeVersion :: Text -> Text -> DeleteSlotTypeVersion
- deleteSlotTypeVersion_name :: Lens' DeleteSlotTypeVersion Text
- deleteSlotTypeVersion_version :: Lens' DeleteSlotTypeVersion Text
- data DeleteSlotTypeVersionResponse = DeleteSlotTypeVersionResponse' {
- newDeleteSlotTypeVersionResponse :: DeleteSlotTypeVersionResponse
Creating a Request
data DeleteSlotTypeVersion Source #
See: newDeleteSlotTypeVersion smart constructor.
Constructors
| DeleteSlotTypeVersion' | |
Instances
newDeleteSlotTypeVersion Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteSlotTypeVersion |
Create a value of DeleteSlotTypeVersion 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:
DeleteSlotTypeVersion, deleteSlotTypeVersion_name - The name of the slot type.
DeleteSlotTypeVersion, deleteSlotTypeVersion_version - The version of the slot type to delete. You cannot delete the $LATEST
version of the slot type. To delete the $LATEST version, use the
DeleteSlotType operation.
Request Lenses
deleteSlotTypeVersion_name :: Lens' DeleteSlotTypeVersion Text Source #
The name of the slot type.
deleteSlotTypeVersion_version :: Lens' DeleteSlotTypeVersion Text Source #
The version of the slot type to delete. You cannot delete the $LATEST
version of the slot type. To delete the $LATEST version, use the
DeleteSlotType operation.
Destructuring the Response
data DeleteSlotTypeVersionResponse Source #
See: newDeleteSlotTypeVersionResponse smart constructor.
Constructors
| DeleteSlotTypeVersionResponse' | |
Instances
| Generic DeleteSlotTypeVersionResponse Source # | |
Defined in Amazonka.LexModels.DeleteSlotTypeVersion Associated Types type Rep DeleteSlotTypeVersionResponse :: Type -> Type # | |
| Read DeleteSlotTypeVersionResponse Source # | |
| Show DeleteSlotTypeVersionResponse Source # | |
Defined in Amazonka.LexModels.DeleteSlotTypeVersion Methods showsPrec :: Int -> DeleteSlotTypeVersionResponse -> ShowS # show :: DeleteSlotTypeVersionResponse -> String # showList :: [DeleteSlotTypeVersionResponse] -> ShowS # | |
| NFData DeleteSlotTypeVersionResponse Source # | |
Defined in Amazonka.LexModels.DeleteSlotTypeVersion Methods rnf :: DeleteSlotTypeVersionResponse -> () # | |
| Eq DeleteSlotTypeVersionResponse Source # | |
Defined in Amazonka.LexModels.DeleteSlotTypeVersion | |
| type Rep DeleteSlotTypeVersionResponse Source # | |
Defined in Amazonka.LexModels.DeleteSlotTypeVersion | |
newDeleteSlotTypeVersionResponse :: DeleteSlotTypeVersionResponse Source #
Create a value of DeleteSlotTypeVersionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.