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 a StreamingSessionStream for a streaming session.
Invoke this operation to poll the resource after invoking CreateStreamingSessionStream.
After the StreamingSessionStream changes to the state READY, the url property will contain a stream to be used with the DCV streaming client.
Synopsis
- data GetStreamingSessionStream = GetStreamingSessionStream' {}
- newGetStreamingSessionStream :: Text -> Text -> Text -> GetStreamingSessionStream
- getStreamingSessionStream_studioId :: Lens' GetStreamingSessionStream Text
- getStreamingSessionStream_streamId :: Lens' GetStreamingSessionStream Text
- getStreamingSessionStream_sessionId :: Lens' GetStreamingSessionStream Text
- data GetStreamingSessionStreamResponse = GetStreamingSessionStreamResponse' {}
- newGetStreamingSessionStreamResponse :: Int -> GetStreamingSessionStreamResponse
- getStreamingSessionStreamResponse_stream :: Lens' GetStreamingSessionStreamResponse (Maybe StreamingSessionStream)
- getStreamingSessionStreamResponse_httpStatus :: Lens' GetStreamingSessionStreamResponse Int
Creating a Request
data GetStreamingSessionStream Source #
See: newGetStreamingSessionStream
smart constructor.
Instances
newGetStreamingSessionStream Source #
:: Text | |
-> Text | |
-> Text | |
-> GetStreamingSessionStream |
Create a value of GetStreamingSessionStream
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:GetStreamingSessionStream'
, getStreamingSessionStream_studioId
- The studio ID.
$sel:streamId:GetStreamingSessionStream'
, getStreamingSessionStream_streamId
- The stream ID.
$sel:sessionId:GetStreamingSessionStream'
, getStreamingSessionStream_sessionId
- The session ID.
Request Lenses
getStreamingSessionStream_studioId :: Lens' GetStreamingSessionStream Text Source #
The studio ID.
getStreamingSessionStream_streamId :: Lens' GetStreamingSessionStream Text Source #
The stream ID.
getStreamingSessionStream_sessionId :: Lens' GetStreamingSessionStream Text Source #
The session ID.
Destructuring the Response
data GetStreamingSessionStreamResponse Source #
See: newGetStreamingSessionStreamResponse
smart constructor.
GetStreamingSessionStreamResponse' | |
|
Instances
Eq GetStreamingSessionStreamResponse Source # | |
Read GetStreamingSessionStreamResponse Source # | |
Show GetStreamingSessionStreamResponse Source # | |
Generic GetStreamingSessionStreamResponse Source # | |
NFData GetStreamingSessionStreamResponse Source # | |
Defined in Amazonka.Nimble.GetStreamingSessionStream rnf :: GetStreamingSessionStreamResponse -> () # | |
type Rep GetStreamingSessionStreamResponse Source # | |
Defined in Amazonka.Nimble.GetStreamingSessionStream type Rep GetStreamingSessionStreamResponse = D1 ('MetaData "GetStreamingSessionStreamResponse" "Amazonka.Nimble.GetStreamingSessionStream" "libZSservicesZSamazonka-nimbleZSamazonka-nimble" 'False) (C1 ('MetaCons "GetStreamingSessionStreamResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stream") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamingSessionStream)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetStreamingSessionStreamResponse Source #
Create a value of GetStreamingSessionStreamResponse
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:stream:GetStreamingSessionStreamResponse'
, getStreamingSessionStreamResponse_stream
- The stream.
$sel:httpStatus:GetStreamingSessionStreamResponse'
, getStreamingSessionStreamResponse_httpStatus
- The response's http status code.
Response Lenses
getStreamingSessionStreamResponse_stream :: Lens' GetStreamingSessionStreamResponse (Maybe StreamingSessionStream) Source #
The stream.
getStreamingSessionStreamResponse_httpStatus :: Lens' GetStreamingSessionStreamResponse Int Source #
The response's http status code.