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 |
Lists the streaming image resources in a studio.
This operation returns paginated results.
Synopsis
- data ListStreamingSessions = ListStreamingSessions' {}
- newListStreamingSessions :: Text -> ListStreamingSessions
- listStreamingSessions_ownedBy :: Lens' ListStreamingSessions (Maybe Text)
- listStreamingSessions_createdBy :: Lens' ListStreamingSessions (Maybe Text)
- listStreamingSessions_nextToken :: Lens' ListStreamingSessions (Maybe Text)
- listStreamingSessions_sessionIds :: Lens' ListStreamingSessions (Maybe Text)
- listStreamingSessions_studioId :: Lens' ListStreamingSessions Text
- data ListStreamingSessionsResponse = ListStreamingSessionsResponse' {
- nextToken :: Maybe Text
- sessions :: Maybe [StreamingSession]
- httpStatus :: Int
- newListStreamingSessionsResponse :: Int -> ListStreamingSessionsResponse
- listStreamingSessionsResponse_nextToken :: Lens' ListStreamingSessionsResponse (Maybe Text)
- listStreamingSessionsResponse_sessions :: Lens' ListStreamingSessionsResponse (Maybe [StreamingSession])
- listStreamingSessionsResponse_httpStatus :: Lens' ListStreamingSessionsResponse Int
Creating a Request
data ListStreamingSessions Source #
See: newListStreamingSessions
smart constructor.
ListStreamingSessions' | |
|
Instances
newListStreamingSessions Source #
Create a value of ListStreamingSessions
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:ownedBy:ListStreamingSessions'
, listStreamingSessions_ownedBy
- The user ID of the user that owns the streaming session.
$sel:createdBy:ListStreamingSessions'
, listStreamingSessions_createdBy
- The user ID of the user that created the streaming session.
$sel:nextToken:ListStreamingSessions'
, listStreamingSessions_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:sessionIds:ListStreamingSessions'
, listStreamingSessions_sessionIds
- A collection of session IDs.
$sel:studioId:ListStreamingSessions'
, listStreamingSessions_studioId
- The studio ID.
Request Lenses
listStreamingSessions_ownedBy :: Lens' ListStreamingSessions (Maybe Text) Source #
The user ID of the user that owns the streaming session.
listStreamingSessions_createdBy :: Lens' ListStreamingSessions (Maybe Text) Source #
The user ID of the user that created the streaming session.
listStreamingSessions_nextToken :: Lens' ListStreamingSessions (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listStreamingSessions_sessionIds :: Lens' ListStreamingSessions (Maybe Text) Source #
A collection of session IDs.
listStreamingSessions_studioId :: Lens' ListStreamingSessions Text Source #
The studio ID.
Destructuring the Response
data ListStreamingSessionsResponse Source #
See: newListStreamingSessionsResponse
smart constructor.
ListStreamingSessionsResponse' | |
|
Instances
newListStreamingSessionsResponse Source #
Create a value of ListStreamingSessionsResponse
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:nextToken:ListStreamingSessions'
, listStreamingSessionsResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:sessions:ListStreamingSessionsResponse'
, listStreamingSessionsResponse_sessions
- A collection of streaming sessions.
$sel:httpStatus:ListStreamingSessionsResponse'
, listStreamingSessionsResponse_httpStatus
- The response's http status code.
Response Lenses
listStreamingSessionsResponse_nextToken :: Lens' ListStreamingSessionsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listStreamingSessionsResponse_sessions :: Lens' ListStreamingSessionsResponse (Maybe [StreamingSession]) Source #
A collection of streaming sessions.
listStreamingSessionsResponse_httpStatus :: Lens' ListStreamingSessionsResponse Int Source #
The response's http status code.