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 |
Gets StreamingSession resource.
Invoke this operation to poll for a streaming session state while creating or deleting a session.
Synopsis
- data GetStreamingSession = GetStreamingSession' {}
- newGetStreamingSession :: Text -> Text -> GetStreamingSession
- getStreamingSession_sessionId :: Lens' GetStreamingSession Text
- getStreamingSession_studioId :: Lens' GetStreamingSession Text
- data GetStreamingSessionResponse = GetStreamingSessionResponse' {}
- newGetStreamingSessionResponse :: Int -> GetStreamingSessionResponse
- getStreamingSessionResponse_session :: Lens' GetStreamingSessionResponse (Maybe StreamingSession)
- getStreamingSessionResponse_httpStatus :: Lens' GetStreamingSessionResponse Int
Creating a Request
data GetStreamingSession Source #
See: newGetStreamingSession
smart constructor.
Instances
newGetStreamingSession Source #
Create a value of GetStreamingSession
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:
GetStreamingSession
, getStreamingSession_sessionId
- The streaming session ID.
GetStreamingSession
, getStreamingSession_studioId
- The studio ID.
Request Lenses
getStreamingSession_sessionId :: Lens' GetStreamingSession Text Source #
The streaming session ID.
getStreamingSession_studioId :: Lens' GetStreamingSession Text Source #
The studio ID.
Destructuring the Response
data GetStreamingSessionResponse Source #
See: newGetStreamingSessionResponse
smart constructor.
GetStreamingSessionResponse' | |
|
Instances
newGetStreamingSessionResponse Source #
Create a value of GetStreamingSessionResponse
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:session:GetStreamingSessionResponse'
, getStreamingSessionResponse_session
- The session.
$sel:httpStatus:GetStreamingSessionResponse'
, getStreamingSessionResponse_httpStatus
- The response's http status code.
Response Lenses
getStreamingSessionResponse_session :: Lens' GetStreamingSessionResponse (Maybe StreamingSession) Source #
The session.
getStreamingSessionResponse_httpStatus :: Lens' GetStreamingSessionResponse Int Source #
The response's http status code.