AppStream / Client / create_image_builder_streaming_url

create_image_builder_streaming_url#

AppStream.Client.create_image_builder_streaming_url(**kwargs)#

Creates a URL to start an image builder streaming session.

See also: AWS API Documentation

Request Syntax

response = client.create_image_builder_streaming_url(
    Name='string',
    Validity=123
)
Parameters:
  • Name (string) –

    [REQUIRED]

    The name of the image builder.

  • Validity (integer) – The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds.

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

  • AppStream.Client.exceptions.ResourceNotFoundException