| 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.Nimble.ListStreamingSessions
Description
Lists the streaming sessions in a studio.
This operation returns paginated results.
Synopsis
- data ListStreamingSessions = ListStreamingSessions' {}
- newListStreamingSessions :: Text -> ListStreamingSessions
- listStreamingSessions_createdBy :: Lens' ListStreamingSessions (Maybe Text)
- listStreamingSessions_nextToken :: Lens' ListStreamingSessions (Maybe Text)
- listStreamingSessions_ownedBy :: 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.
Constructors
| ListStreamingSessions' | |
Fields
| |
Instances
newListStreamingSessions Source #
Arguments
| :: Text | |
| -> ListStreamingSessions |
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:
ListStreamingSessions, listStreamingSessions_createdBy - Filters the request to streaming sessions created by the given user.
ListStreamingSessions, listStreamingSessions_nextToken - The token for the next set of results, or null if there are no more
results.
ListStreamingSessions, listStreamingSessions_ownedBy - Filters the request to streaming session owned by the given user
$sel:sessionIds:ListStreamingSessions', listStreamingSessions_sessionIds - Filters the request to only the provided session IDs.
ListStreamingSessions, listStreamingSessions_studioId - The studio ID.
Request Lenses
listStreamingSessions_createdBy :: Lens' ListStreamingSessions (Maybe Text) Source #
Filters the request to streaming sessions created by the given user.
listStreamingSessions_nextToken :: Lens' ListStreamingSessions (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listStreamingSessions_ownedBy :: Lens' ListStreamingSessions (Maybe Text) Source #
Filters the request to streaming session owned by the given user
listStreamingSessions_sessionIds :: Lens' ListStreamingSessions (Maybe Text) Source #
Filters the request to only the provided session IDs.
listStreamingSessions_studioId :: Lens' ListStreamingSessions Text Source #
The studio ID.
Destructuring the Response
data ListStreamingSessionsResponse Source #
See: newListStreamingSessionsResponse smart constructor.
Constructors
| ListStreamingSessionsResponse' | |
Fields
| |
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:
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.