v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465286243.1 KB

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.

post/#X-Amz-Target=PhotonAdminProxyService.CreateStreamingURL

Headers

X-Amz-Target'PhotonAdminProxyService.CreateStreamingURL' required

Request body

StackNamestring required

The name of the stack.

FleetNamestring required

The name of the fleet.

UserIdstring required

The identifier of the user.

ApplicationIdstring

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

Validityinteger

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

SessionContextstring

The session context. For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/managing-stacks-fleets.html#managing-stacks-fleets-parameters">Session Context</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.

Response

Success

StreamingURLstring

The URL to start the AppStream 2.0 streaming session.

Expiresstring date-time

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