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 |
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_studioId :: Lens' GetStreamingSession Text
- getStreamingSession_sessionId :: 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 #
:: Text | |
-> Text | |
-> GetStreamingSession |
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:
$sel:studioId:GetStreamingSession'
, getStreamingSession_studioId
- The studio ID.
$sel:sessionId:GetStreamingSession'
, getStreamingSession_sessionId
- The session ID.
Request Lenses
getStreamingSession_studioId :: Lens' GetStreamingSession Text Source #
The studio ID.
getStreamingSession_sessionId :: Lens' GetStreamingSession Text Source #
The session 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.