create_streaming_url
async
¶
create_streaming_url(
*,
config_overrides: Optional[AsyncAppStreamClientConfig] = 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/async_app_stream.py
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 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 | |