create_streaming_url
¶
create_streaming_url(
*,
config_overrides: Optional[AppStreamClientConfig] = None,
stack_name: Optional[String] = None,
fleet_name: Optional[String] = None,
user_id: Optional[StreamingUrlUserId] = None,
application_id: Optional[String] = None,
validity: Optional[Long] = None,
session_context: Optional[String] = None,
) -> CreateStreamingURLResult
Creates a temporary URL to start an WorkSpaces Applications streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.
Parameters:
-
stack_name(Optional[String], default:None) –The name of the stack.
-
fleet_name(Optional[String], default:None) –The name of the fleet.
-
user_id(Optional[StreamingUrlUserId], default:None) –The identifier of the user.
-
application_id(Optional[String], default:None) –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(Optional[Long], default:None) –The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.
-
session_context(Optional[String], default:None) –The session context. For more information, see Session Context in the Amazon WorkSpaces Applications Administration Guide.
Raises:
-
InvalidParameterCombinationException–Indicates an incorrect combination of parameters, or a missing parameter.
-
OperationNotPermittedException–The attempted operation is not permitted.
-
ResourceNotAvailableException–The specified resource exists and is not in use, but isn't available.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appstream/_services/app_stream.py
2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 | |