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 |
Retrieves information about a scene.
Synopsis
- data GetScene = GetScene' {
- workspaceId :: Text
- sceneId :: Text
- newGetScene :: Text -> Text -> GetScene
- getScene_workspaceId :: Lens' GetScene Text
- getScene_sceneId :: Lens' GetScene Text
- data GetSceneResponse = GetSceneResponse' {
- capabilities :: Maybe [Text]
- description :: Maybe Text
- httpStatus :: Int
- workspaceId :: Text
- sceneId :: Text
- contentLocation :: Text
- arn :: Text
- creationDateTime :: POSIX
- updateDateTime :: POSIX
- newGetSceneResponse :: Int -> Text -> Text -> Text -> Text -> UTCTime -> UTCTime -> GetSceneResponse
- getSceneResponse_capabilities :: Lens' GetSceneResponse (Maybe [Text])
- getSceneResponse_description :: Lens' GetSceneResponse (Maybe Text)
- getSceneResponse_httpStatus :: Lens' GetSceneResponse Int
- getSceneResponse_workspaceId :: Lens' GetSceneResponse Text
- getSceneResponse_sceneId :: Lens' GetSceneResponse Text
- getSceneResponse_contentLocation :: Lens' GetSceneResponse Text
- getSceneResponse_arn :: Lens' GetSceneResponse Text
- getSceneResponse_creationDateTime :: Lens' GetSceneResponse UTCTime
- getSceneResponse_updateDateTime :: Lens' GetSceneResponse UTCTime
Creating a Request
See: newGetScene
smart constructor.
GetScene' | |
|
Instances
Create a value of GetScene
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:
GetScene
, getScene_workspaceId
- The ID of the workspace that contains the scene.
GetScene
, getScene_sceneId
- The ID of the scene.
Request Lenses
getScene_workspaceId :: Lens' GetScene Text Source #
The ID of the workspace that contains the scene.
Destructuring the Response
data GetSceneResponse Source #
See: newGetSceneResponse
smart constructor.
GetSceneResponse' | |
|
Instances
Create a value of GetSceneResponse
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:GetSceneResponse'
, getSceneResponse_capabilities
- A list of capabilities that the scene uses to render.
GetSceneResponse
, getSceneResponse_description
- The description of the scene.
$sel:httpStatus:GetSceneResponse'
, getSceneResponse_httpStatus
- The response's http status code.
GetScene
, getSceneResponse_workspaceId
- The ID of the workspace that contains the scene.
GetScene
, getSceneResponse_sceneId
- The ID of the scene.
GetSceneResponse
, getSceneResponse_contentLocation
- The relative path that specifies the location of the content definition
file.
GetSceneResponse
, getSceneResponse_arn
- The ARN of the scene.
GetSceneResponse
, getSceneResponse_creationDateTime
- The date and time when the scene was created.
GetSceneResponse
, getSceneResponse_updateDateTime
- The date and time when the scene was last updated.
Response Lenses
getSceneResponse_capabilities :: Lens' GetSceneResponse (Maybe [Text]) Source #
A list of capabilities that the scene uses to render.
getSceneResponse_description :: Lens' GetSceneResponse (Maybe Text) Source #
The description of the scene.
getSceneResponse_httpStatus :: Lens' GetSceneResponse Int Source #
The response's http status code.
getSceneResponse_workspaceId :: Lens' GetSceneResponse Text Source #
The ID of the workspace that contains the scene.
getSceneResponse_sceneId :: Lens' GetSceneResponse Text Source #
The ID of the scene.
getSceneResponse_contentLocation :: Lens' GetSceneResponse Text Source #
The relative path that specifies the location of the content definition file.
getSceneResponse_arn :: Lens' GetSceneResponse Text Source #
The ARN of the scene.
getSceneResponse_creationDateTime :: Lens' GetSceneResponse UTCTime Source #
The date and time when the scene was created.
getSceneResponse_updateDateTime :: Lens' GetSceneResponse UTCTime Source #
The date and time when the scene was last updated.