| 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.IotTwinMaker.DeleteScene
Description
Deletes a scene.
Synopsis
- data DeleteScene = DeleteScene' {
- workspaceId :: Text
- sceneId :: Text
- newDeleteScene :: Text -> Text -> DeleteScene
- deleteScene_workspaceId :: Lens' DeleteScene Text
- deleteScene_sceneId :: Lens' DeleteScene Text
- data DeleteSceneResponse = DeleteSceneResponse' {
- httpStatus :: Int
- newDeleteSceneResponse :: Int -> DeleteSceneResponse
- deleteSceneResponse_httpStatus :: Lens' DeleteSceneResponse Int
Creating a Request
data DeleteScene Source #
See: newDeleteScene smart constructor.
Constructors
| DeleteScene' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteScene |
Create a value of DeleteScene 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:
DeleteScene, deleteScene_workspaceId - The ID of the workspace.
DeleteScene, deleteScene_sceneId - The ID of the scene to delete.
Request Lenses
deleteScene_workspaceId :: Lens' DeleteScene Text Source #
The ID of the workspace.
deleteScene_sceneId :: Lens' DeleteScene Text Source #
The ID of the scene to delete.
Destructuring the Response
data DeleteSceneResponse Source #
See: newDeleteSceneResponse smart constructor.
Constructors
| DeleteSceneResponse' | |
Fields
| |
Instances
newDeleteSceneResponse Source #
Arguments
| :: Int | |
| -> DeleteSceneResponse |
Create a value of DeleteSceneResponse 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:httpStatus:DeleteSceneResponse', deleteSceneResponse_httpStatus - The response's http status code.
Response Lenses
deleteSceneResponse_httpStatus :: Lens' DeleteSceneResponse Int Source #
The response's http status code.