| 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.GetStreamingSessionStream
Description
Gets a StreamingSessionStream for a streaming session.
Invoke this operation to poll the resource after invoking
CreateStreamingSessionStream.
After the StreamingSessionStream changes to the READY state, 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_sessionId :: Lens' GetStreamingSessionStream Text
- getStreamingSessionStream_streamId :: Lens' GetStreamingSessionStream Text
- getStreamingSessionStream_studioId :: 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.
Constructors
| GetStreamingSessionStream' | |
Instances
newGetStreamingSessionStream Source #
Arguments
| :: 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:
GetStreamingSessionStream, getStreamingSessionStream_sessionId - The streaming session ID.
GetStreamingSessionStream, getStreamingSessionStream_streamId - The streaming session stream ID.
GetStreamingSessionStream, getStreamingSessionStream_studioId - The studio ID.
Request Lenses
getStreamingSessionStream_sessionId :: Lens' GetStreamingSessionStream Text Source #
The streaming session ID.
getStreamingSessionStream_streamId :: Lens' GetStreamingSessionStream Text Source #
The streaming session stream ID.
getStreamingSessionStream_studioId :: Lens' GetStreamingSessionStream Text Source #
The studio ID.
Destructuring the Response
data GetStreamingSessionStreamResponse Source #
See: newGetStreamingSessionStreamResponse smart constructor.
Constructors
| GetStreamingSessionStreamResponse' | |
Fields
| |
Instances
newGetStreamingSessionStreamResponse Source #
Arguments
| :: Int | |
| -> GetStreamingSessionStreamResponse |
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.