amazonka-nimble-2.0: Amazon NimbleStudio SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Synopsis

Creating a Request

data CreateStreamingSession Source #

See: newCreateStreamingSession smart constructor.

Constructors

CreateStreamingSession' 

Fields

  • clientToken :: Maybe Text

    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.

  • ec2InstanceType :: Maybe StreamingInstanceType

    The EC2 Instance type used for the streaming session.

  • ownedBy :: Maybe Text

    The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

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

  • launchProfileId :: Text

    The ID of the launch profile used to control access from the streaming session.

  • studioId :: Text

    The studio ID.

Instances

Instances details
ToJSON CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.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

AWSRequest CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Associated Types

type AWSResponse CreateStreamingSession #

Generic CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Associated Types

type Rep CreateStreamingSession :: Type -> Type #

Read CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Show CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

NFData CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Methods

rnf :: CreateStreamingSession -> () #

Eq CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Hashable CreateStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

type AWSResponse 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" "amazonka-nimble-2.0-GaSxVwPXmRh7tifR7EIdTs" 'False) (C1 ('MetaCons "CreateStreamingSession'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ec2InstanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamingInstanceType)) :*: S1 ('MetaSel ('Just "ownedBy") '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 "launchProfileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "studioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:clientToken:CreateStreamingSession', createStreamingSession_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.

CreateStreamingSession, createStreamingSession_ec2InstanceType - The EC2 Instance type used for the streaming session.

CreateStreamingSession, createStreamingSession_ownedBy - The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

CreateStreamingSession, createStreamingSession_streamingImageId - The ID of the streaming image.

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

CreateStreamingSession, createStreamingSession_launchProfileId - The ID of the launch profile used to control access from the streaming session.

CreateStreamingSession, createStreamingSession_studioId - The studio ID.

Request Lenses

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

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

The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

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.

createStreamingSession_launchProfileId :: Lens' CreateStreamingSession Text Source #

The ID of the launch profile used to control access from the streaming session.

Destructuring the Response

data CreateStreamingSessionResponse Source #

See: newCreateStreamingSessionResponse smart constructor.

Constructors

CreateStreamingSessionResponse' 

Fields

Instances

Instances details
Generic CreateStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Associated Types

type Rep CreateStreamingSessionResponse :: Type -> Type #

Read CreateStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Show CreateStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

NFData CreateStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingSession

Eq 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" "amazonka-nimble-2.0-GaSxVwPXmRh7tifR7EIdTs" '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