create_streaming_url

AppStream.Client.create_streaming_url(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.create_streaming_url(
    StackName='string',
    FleetName='string',
    UserId='string',
    ApplicationId='string',
    Validity=123,
    SessionContext='string'
)
Parameters
  • StackName (string) --

    [REQUIRED]

    The name of the stack.

  • FleetName (string) --

    [REQUIRED]

    The name of the fleet.

  • UserId (string) --

    [REQUIRED]

    The identifier of the user.

  • ApplicationId (string) -- 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 (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.
  • SessionContext (string) -- The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide .
Return type

dict

Returns

Response Syntax

{
    'StreamingURL': 'string',
    'Expires': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • StreamingURL (string) --

      The URL to start the AppStream 2.0 streaming session.

    • Expires (datetime) --

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

Exceptions

  • AppStream.Client.exceptions.ResourceNotFoundException
  • AppStream.Client.exceptions.ResourceNotAvailableException
  • AppStream.Client.exceptions.OperationNotPermittedException
  • AppStream.Client.exceptions.InvalidParameterCombinationException