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 |
Creates a streaming session stream for a streaming session.
After invoking this API, invoke GetStreamingSessionStream with the
returned streamId to poll the resource until it is in the READY
state.
Synopsis
- data CreateStreamingSessionStream = CreateStreamingSessionStream' {}
- newCreateStreamingSessionStream :: Text -> Text -> CreateStreamingSessionStream
- createStreamingSessionStream_clientToken :: Lens' CreateStreamingSessionStream (Maybe Text)
- createStreamingSessionStream_expirationInSeconds :: Lens' CreateStreamingSessionStream (Maybe Natural)
- createStreamingSessionStream_sessionId :: Lens' CreateStreamingSessionStream Text
- createStreamingSessionStream_studioId :: Lens' CreateStreamingSessionStream Text
- data CreateStreamingSessionStreamResponse = CreateStreamingSessionStreamResponse' {}
- newCreateStreamingSessionStreamResponse :: Int -> CreateStreamingSessionStreamResponse
- createStreamingSessionStreamResponse_stream :: Lens' CreateStreamingSessionStreamResponse (Maybe StreamingSessionStream)
- createStreamingSessionStreamResponse_httpStatus :: Lens' CreateStreamingSessionStreamResponse Int
Creating a Request
data CreateStreamingSessionStream Source #
See: newCreateStreamingSessionStream
smart constructor.
CreateStreamingSessionStream' | |
|
Instances
newCreateStreamingSessionStream Source #
:: Text | |
-> Text | |
-> CreateStreamingSessionStream |
Create a value of CreateStreamingSessionStream
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:clientToken:CreateStreamingSessionStream'
, createStreamingSessionStream_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. If you don’t specify a client token, the
Amazon Web Services SDK automatically generates a client token and uses
it for the request to ensure idempotency.
$sel:expirationInSeconds:CreateStreamingSessionStream'
, createStreamingSessionStream_expirationInSeconds
- The expiration time in seconds.
CreateStreamingSessionStream
, createStreamingSessionStream_sessionId
- The streaming session ID.
CreateStreamingSessionStream
, createStreamingSessionStream_studioId
- The studio ID.
Request Lenses
createStreamingSessionStream_clientToken :: Lens' CreateStreamingSessionStream (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
createStreamingSessionStream_expirationInSeconds :: Lens' CreateStreamingSessionStream (Maybe Natural) Source #
The expiration time in seconds.
createStreamingSessionStream_sessionId :: Lens' CreateStreamingSessionStream Text Source #
The streaming session ID.
createStreamingSessionStream_studioId :: Lens' CreateStreamingSessionStream Text Source #
The studio ID.
Destructuring the Response
data CreateStreamingSessionStreamResponse Source #
See: newCreateStreamingSessionStreamResponse
smart constructor.
CreateStreamingSessionStreamResponse' | |
|
Instances
newCreateStreamingSessionStreamResponse Source #
Create a value of CreateStreamingSessionStreamResponse
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:CreateStreamingSessionStreamResponse'
, createStreamingSessionStreamResponse_stream
- The stream.
$sel:httpStatus:CreateStreamingSessionStreamResponse'
, createStreamingSessionStreamResponse_httpStatus
- The response's http status code.
Response Lenses
createStreamingSessionStreamResponse_stream :: Lens' CreateStreamingSessionStreamResponse (Maybe StreamingSessionStream) Source #
The stream.
createStreamingSessionStreamResponse_httpStatus :: Lens' CreateStreamingSessionStreamResponse Int Source #
The response's http status code.