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.CreateStreamingSession

Description

Creates a streaming session in a studio.

After invoking this operation, you must poll GetStreamingSession until the streaming session is in state READY.

Synopsis

Creating a Request

data CreateStreamingSession Source #

A collection of streaming sessions.

See: newCreateStreamingSession smart constructor.

Constructors

CreateStreamingSession' 

Fields

  • ownedBy :: Maybe Text

    The user ID of the user that owns the streaming session.

  • 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.

  • ec2InstanceType :: Maybe StreamingInstanceType

    The EC2 Instance type used for the streaming session.

  • launchProfileId :: Maybe Text

    The launch profile ID.

  • streamingImageId :: Maybe Text

    The ID of the streaming image.

  • tags :: Maybe (HashMap Text Text)

    A collection of labels, in the form of key:value pairs, that apply to this resource.

  • studioId :: Text

    The studio ID.

Instances

Instances details
Eq CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Read CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Show CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Generic CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Associated Types

type Rep CreateStreamingSession :: Type -> Type #

NFData CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Methods

rnf :: CreateStreamingSession -> () #

Hashable CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

ToJSON CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

AWSRequest CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Associated Types

type AWSResponse CreateStreamingSession #

ToHeaders CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

ToPath CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

ToQuery CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

type Rep CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

type Rep CreateStreamingSession = D1 ('MetaData "CreateStreamingSession" "Amazonka.Nimble.CreateStreamingSession" "libZSservicesZSamazonka-nimbleZSamazonka-nimble" 'False) (C1 ('MetaCons "CreateStreamingSession'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ownedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ec2InstanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamingInstanceType)))) :*: ((S1 ('MetaSel ('Just "launchProfileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "streamingImageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "studioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

newCreateStreamingSession Source #

Create a value of CreateStreamingSession 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:ownedBy:CreateStreamingSession', createStreamingSession_ownedBy - The user ID of the user that owns the streaming session.

$sel:clientToken:CreateStreamingSession', createStreamingSession_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:ec2InstanceType:CreateStreamingSession', createStreamingSession_ec2InstanceType - The EC2 Instance type used for the streaming session.

$sel:launchProfileId:CreateStreamingSession', createStreamingSession_launchProfileId - The launch profile ID.

$sel:streamingImageId:CreateStreamingSession', createStreamingSession_streamingImageId - The ID of the streaming image.

$sel:tags:CreateStreamingSession', createStreamingSession_tags - A collection of labels, in the form of key:value pairs, that apply to this resource.

$sel:studioId:CreateStreamingSession', createStreamingSession_studioId - The studio ID.

Request Lenses

createStreamingSession_ownedBy :: Lens' CreateStreamingSession (Maybe Text) Source #

The user ID of the user that owns the streaming session.

createStreamingSession_clientToken :: Lens' CreateStreamingSession (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.

createStreamingSession_tags :: Lens' CreateStreamingSession (Maybe (HashMap Text Text)) Source #

A collection of labels, in the form of key:value pairs, that apply to this resource.

Destructuring the Response

data CreateStreamingSessionResponse Source #

See: newCreateStreamingSessionResponse smart constructor.

Constructors

CreateStreamingSessionResponse' 

Fields

Instances

Instances details
Eq CreateStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Read CreateStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Show CreateStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Generic CreateStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Associated Types

type Rep CreateStreamingSessionResponse :: Type -> Type #

NFData CreateStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

type Rep CreateStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

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

newCreateStreamingSessionResponse Source #

Create a value of CreateStreamingSessionResponse 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:CreateStreamingSessionResponse', createStreamingSessionResponse_session - The session.

$sel:httpStatus:CreateStreamingSessionResponse', createStreamingSessionResponse_httpStatus - The response's http status code.

Response Lenses