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 |
Updates a scene.
Synopsis
- data UpdateScene = UpdateScene' {
- capabilities :: Maybe [Text]
- contentLocation :: Maybe Text
- description :: Maybe Text
- workspaceId :: Text
- sceneId :: Text
- newUpdateScene :: Text -> Text -> UpdateScene
- updateScene_capabilities :: Lens' UpdateScene (Maybe [Text])
- updateScene_contentLocation :: Lens' UpdateScene (Maybe Text)
- updateScene_description :: Lens' UpdateScene (Maybe Text)
- updateScene_workspaceId :: Lens' UpdateScene Text
- updateScene_sceneId :: Lens' UpdateScene Text
- data UpdateSceneResponse = UpdateSceneResponse' {
- httpStatus :: Int
- updateDateTime :: POSIX
- newUpdateSceneResponse :: Int -> UTCTime -> UpdateSceneResponse
- updateSceneResponse_httpStatus :: Lens' UpdateSceneResponse Int
- updateSceneResponse_updateDateTime :: Lens' UpdateSceneResponse UTCTime
Creating a Request
data UpdateScene Source #
See: newUpdateScene
smart constructor.
UpdateScene' | |
|
Instances
Create a value of UpdateScene
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:capabilities:UpdateScene'
, updateScene_capabilities
- A list of capabilities that the scene uses to render.
UpdateScene
, updateScene_contentLocation
- The relative path that specifies the location of the content definition
file.
UpdateScene
, updateScene_description
- The description of this scene.
UpdateScene
, updateScene_workspaceId
- The ID of the workspace that contains the scene.
UpdateScene
, updateScene_sceneId
- The ID of the scene.
Request Lenses
updateScene_capabilities :: Lens' UpdateScene (Maybe [Text]) Source #
A list of capabilities that the scene uses to render.
updateScene_contentLocation :: Lens' UpdateScene (Maybe Text) Source #
The relative path that specifies the location of the content definition file.
updateScene_description :: Lens' UpdateScene (Maybe Text) Source #
The description of this scene.
updateScene_workspaceId :: Lens' UpdateScene Text Source #
The ID of the workspace that contains the scene.
updateScene_sceneId :: Lens' UpdateScene Text Source #
The ID of the scene.
Destructuring the Response
data UpdateSceneResponse Source #
See: newUpdateSceneResponse
smart constructor.
UpdateSceneResponse' | |
|
Instances
newUpdateSceneResponse Source #
Create a value of UpdateSceneResponse
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:UpdateSceneResponse'
, updateSceneResponse_httpStatus
- The response's http status code.
UpdateSceneResponse
, updateSceneResponse_updateDateTime
- The date and time when the scene was last updated.
Response Lenses
updateSceneResponse_httpStatus :: Lens' UpdateSceneResponse Int Source #
The response's http status code.
updateSceneResponse_updateDateTime :: Lens' UpdateSceneResponse UTCTime Source #
The date and time when the scene was last updated.