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
2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 | |