libZSservicesZSamazonka-nimbleZSamazonka-nimble
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Nimble.CreateStreamingSessionStream

Description

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 state READY.

Synopsis

Creating a Request

data CreateStreamingSessionStream Source #

A list collection streams.

See: newCreateStreamingSessionStream smart constructor.

Constructors

CreateStreamingSessionStream' 

Fields

  • expirationInSeconds :: Maybe Natural

    The expiration time in seconds.

  • clientToken :: Maybe Text

    To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.

  • studioId :: Text

    The studio ID.

  • sessionId :: Text

    The session ID.

Instances

Instances details
Eq CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

Read CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

Show CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

Generic CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

Associated Types

type Rep CreateStreamingSessionStream :: Type -> Type #

NFData CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

Hashable CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

ToJSON CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

AWSRequest CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

ToHeaders CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

ToPath CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

ToQuery CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

type Rep CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

type Rep CreateStreamingSessionStream = D1 ('MetaData "CreateStreamingSessionStream" "Amazonka.Nimble.CreateStreamingSessionStream" "libZSservicesZSamazonka-nimbleZSamazonka-nimble" 'False) (C1 ('MetaCons "CreateStreamingSessionStream'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "expirationInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "studioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateStreamingSessionStream Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

newCreateStreamingSessionStream Source #

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:expirationInSeconds:CreateStreamingSessionStream', createStreamingSessionStream_expirationInSeconds - The expiration time in seconds.

$sel:clientToken:CreateStreamingSessionStream', createStreamingSessionStream_clientToken - To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.

$sel:studioId:CreateStreamingSessionStream', createStreamingSessionStream_studioId - The studio ID.

$sel:sessionId:CreateStreamingSessionStream', createStreamingSessionStream_sessionId - The session ID.

Request Lenses

createStreamingSessionStream_clientToken :: Lens' CreateStreamingSessionStream (Maybe Text) Source #

To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.

Destructuring the Response

data CreateStreamingSessionStreamResponse Source #

Constructors

CreateStreamingSessionStreamResponse' 

Fields

Instances

Instances details
Eq CreateStreamingSessionStreamResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

Read CreateStreamingSessionStreamResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

Show CreateStreamingSessionStreamResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

Generic CreateStreamingSessionStreamResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

NFData CreateStreamingSessionStreamResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

type Rep CreateStreamingSessionStreamResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSessionStream

type Rep CreateStreamingSessionStreamResponse = D1 ('MetaData "CreateStreamingSessionStreamResponse" "Amazonka.Nimble.CreateStreamingSessionStream" "libZSservicesZSamazonka-nimbleZSamazonka-nimble" 'False) (C1 ('MetaCons "CreateStreamingSessionStreamResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stream") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamingSessionStream)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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