amazonka-appstream-2.0: Amazon AppStream 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.AppStream.CreateStreamingURL

Description

Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.

Synopsis

Creating a Request

data CreateStreamingURL Source #

See: newCreateStreamingURL smart constructor.

Constructors

CreateStreamingURL' 

Fields

  • applicationId :: Maybe Text

    The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant. If your fleet is enabled for the Desktop stream view, you can also choose to launch directly to the operating system desktop. To do so, specify Desktop.

  • sessionContext :: Maybe Text

    The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide.

  • validity :: Maybe Integer

    The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.

  • stackName :: Text

    The name of the stack.

  • fleetName :: Text

    The name of the fleet.

  • userId :: Text

    The identifier of the user.

Instances

Instances details
ToJSON CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

ToHeaders CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

ToPath CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

ToQuery CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

AWSRequest CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Associated Types

type AWSResponse CreateStreamingURL #

Generic CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Associated Types

type Rep CreateStreamingURL :: Type -> Type #

Read CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Show CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

NFData CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Methods

rnf :: CreateStreamingURL -> () #

Eq CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Hashable CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

type AWSResponse CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

type Rep CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

type Rep CreateStreamingURL = D1 ('MetaData "CreateStreamingURL" "Amazonka.AppStream.CreateStreamingURL" "amazonka-appstream-2.0-2EgS7yjN1zMCngYkSFPgOd" 'False) (C1 ('MetaCons "CreateStreamingURL'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sessionContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "validity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "stackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "fleetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateStreamingURL Source #

Create a value of CreateStreamingURL 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:applicationId:CreateStreamingURL', createStreamingURL_applicationId - The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant. If your fleet is enabled for the Desktop stream view, you can also choose to launch directly to the operating system desktop. To do so, specify Desktop.

$sel:sessionContext:CreateStreamingURL', createStreamingURL_sessionContext - The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide.

$sel:validity:CreateStreamingURL', createStreamingURL_validity - The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.

CreateStreamingURL, createStreamingURL_stackName - The name of the stack.

CreateStreamingURL, createStreamingURL_fleetName - The name of the fleet.

CreateStreamingURL, createStreamingURL_userId - The identifier of the user.

Request Lenses

createStreamingURL_applicationId :: Lens' CreateStreamingURL (Maybe Text) Source #

The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant. If your fleet is enabled for the Desktop stream view, you can also choose to launch directly to the operating system desktop. To do so, specify Desktop.

createStreamingURL_sessionContext :: Lens' CreateStreamingURL (Maybe Text) Source #

The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide.

createStreamingURL_validity :: Lens' CreateStreamingURL (Maybe Integer) Source #

The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.

Destructuring the Response

data CreateStreamingURLResponse Source #

See: newCreateStreamingURLResponse smart constructor.

Constructors

CreateStreamingURLResponse' 

Fields

Instances

Instances details
Generic CreateStreamingURLResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Associated Types

type Rep CreateStreamingURLResponse :: Type -> Type #

Read CreateStreamingURLResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Show CreateStreamingURLResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

NFData CreateStreamingURLResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Eq CreateStreamingURLResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

type Rep CreateStreamingURLResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

type Rep CreateStreamingURLResponse = D1 ('MetaData "CreateStreamingURLResponse" "Amazonka.AppStream.CreateStreamingURL" "amazonka-appstream-2.0-2EgS7yjN1zMCngYkSFPgOd" 'False) (C1 ('MetaCons "CreateStreamingURLResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expires") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "streamingURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateStreamingURLResponse Source #

Create a value of CreateStreamingURLResponse 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:expires:CreateStreamingURLResponse', createStreamingURLResponse_expires - The elapsed time, in seconds after the Unix epoch, when this URL expires.

$sel:streamingURL:CreateStreamingURLResponse', createStreamingURLResponse_streamingURL - The URL to start the AppStream 2.0 streaming session.

$sel:httpStatus:CreateStreamingURLResponse', createStreamingURLResponse_httpStatus - The response's http status code.

Response Lenses

createStreamingURLResponse_expires :: Lens' CreateStreamingURLResponse (Maybe UTCTime) Source #

The elapsed time, in seconds after the Unix epoch, when this URL expires.

createStreamingURLResponse_streamingURL :: Lens' CreateStreamingURLResponse (Maybe Text) Source #

The URL to start the AppStream 2.0 streaming session.