Skip to content

Create Streaming Url

appstream_create_streaming_url R Documentation

Creates a temporary URL to start an AppStream 2

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.

Usage

appstream_create_streaming_url(StackName, FleetName, UserId,
  ApplicationId, Validity, SessionContext)

Arguments

StackName

[required] The name of the stack.

FleetName

[required] The name of the fleet.

UserId

[required] The identifier of the user.

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.

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.

SessionContext

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

Value

A list with the following syntax:

list(
  StreamingURL = "string",
  Expires = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$create_streaming_url(
  StackName = "string",
  FleetName = "string",
  UserId = "string",
  ApplicationId = "string",
  Validity = 123,
  SessionContext = "string"
)