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 |
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.
Instances
newDeleteSlotTypeVersion Source #
:: 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:
$sel:name:DeleteSlotTypeVersion'
, deleteSlotTypeVersion_name
- The name of the slot type.
$sel:version: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.
Instances
newDeleteSlotTypeVersionResponse :: DeleteSlotTypeVersionResponse Source #
Create a value of DeleteSlotTypeVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.