libZSservicesZSamazonka-appstreamZSamazonka-appstream
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.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

  • sessionContext :: Maybe Text

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

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

  • 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
Eq CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Read CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Show CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Generic CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Associated Types

type Rep CreateStreamingURL :: Type -> Type #

NFData CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Methods

rnf :: CreateStreamingURL -> () #

Hashable CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

ToJSON CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

AWSRequest CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Associated Types

type AWSResponse 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

type Rep CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

type Rep CreateStreamingURL = D1 ('MetaData "CreateStreamingURL" "Amazonka.AppStream.CreateStreamingURL" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "CreateStreamingURL'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sessionContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "applicationId") '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)))))
type AWSResponse CreateStreamingURL Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

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:sessionContext:CreateStreamingURL', createStreamingURL_sessionContext - The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide.

$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: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.

$sel:stackName:CreateStreamingURL', createStreamingURL_stackName - The name of the stack.

$sel:fleetName:CreateStreamingURL', createStreamingURL_fleetName - The name of the fleet.

$sel:userId:CreateStreamingURL', createStreamingURL_userId - The identifier of the user.

Request Lenses

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_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_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
Eq CreateStreamingURLResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Read CreateStreamingURLResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Show CreateStreamingURLResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Generic CreateStreamingURLResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateStreamingURL

Associated Types

type Rep CreateStreamingURLResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "CreateStreamingURLResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamingURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "expires") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: 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:streamingURL:CreateStreamingURLResponse', createStreamingURLResponse_streamingURL - The URL to start the AppStream 2.0 streaming session.

$sel:expires:CreateStreamingURLResponse', createStreamingURLResponse_expires - The elapsed time, in seconds after the Unix epoch, when this URL expires.

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

Response Lenses

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

The URL to start the AppStream 2.0 streaming session.

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

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