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 |
Lists all scenes in a workspace.
Synopsis
- data ListScenes = ListScenes' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- workspaceId :: Text
- newListScenes :: Text -> ListScenes
- listScenes_maxResults :: Lens' ListScenes (Maybe Natural)
- listScenes_nextToken :: Lens' ListScenes (Maybe Text)
- listScenes_workspaceId :: Lens' ListScenes Text
- data ListScenesResponse = ListScenesResponse' {
- nextToken :: Maybe Text
- sceneSummaries :: Maybe [SceneSummary]
- httpStatus :: Int
- newListScenesResponse :: Int -> ListScenesResponse
- listScenesResponse_nextToken :: Lens' ListScenesResponse (Maybe Text)
- listScenesResponse_sceneSummaries :: Lens' ListScenesResponse (Maybe [SceneSummary])
- listScenesResponse_httpStatus :: Lens' ListScenesResponse Int
Creating a Request
data ListScenes Source #
See: newListScenes
smart constructor.
ListScenes' | |
|
Instances
:: Text | |
-> ListScenes |
Create a value of ListScenes
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:maxResults:ListScenes'
, listScenes_maxResults
- Specifies the maximum number of results to display.
ListScenes
, listScenes_nextToken
- The string that specifies the next page of results.
ListScenes
, listScenes_workspaceId
- The ID of the workspace that contains the scenes.
Request Lenses
listScenes_maxResults :: Lens' ListScenes (Maybe Natural) Source #
Specifies the maximum number of results to display.
listScenes_nextToken :: Lens' ListScenes (Maybe Text) Source #
The string that specifies the next page of results.
listScenes_workspaceId :: Lens' ListScenes Text Source #
The ID of the workspace that contains the scenes.
Destructuring the Response
data ListScenesResponse Source #
See: newListScenesResponse
smart constructor.
ListScenesResponse' | |
|
Instances
newListScenesResponse Source #
Create a value of ListScenesResponse
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:
ListScenes
, listScenesResponse_nextToken
- The string that specifies the next page of results.
$sel:sceneSummaries:ListScenesResponse'
, listScenesResponse_sceneSummaries
- A list of objects that contain information about the scenes.
$sel:httpStatus:ListScenesResponse'
, listScenesResponse_httpStatus
- The response's http status code.
Response Lenses
listScenesResponse_nextToken :: Lens' ListScenesResponse (Maybe Text) Source #
The string that specifies the next page of results.
listScenesResponse_sceneSummaries :: Lens' ListScenesResponse (Maybe [SceneSummary]) Source #
A list of objects that contain information about the scenes.
listScenesResponse_httpStatus :: Lens' ListScenesResponse Int Source #
The response's http status code.