start_composition
¶
start_composition(
stage_arn: StageArn,
destinations: DestinationConfigurationList,
*,
config_overrides: Optional[IVSRealTimeClientConfig] = None,
idempotency_token: Optional[CompositionClientToken] = None,
layout: Optional[LayoutConfiguration] = None,
tags: Optional[Tags] = None,
) -> StartCompositionResponse
Starts a Composition from a stage based on the configuration provided in the request.
A Composition is an ephemeral resource that exists after this operation returns successfully. Composition stops and the resource is deleted:
-
When StopComposition is called.
-
After a 1-minute timeout, when all participants are disconnected from the stage.
-
After a 1-minute timeout, if there are no participants in the stage when StartComposition is called.
-
When broadcasting to the IVS channel fails and all retries are exhausted.
-
When broadcasting is disconnected and all attempts to reconnect are exhausted.
Parameters:
-
stage_arn(StageArn) –ARN of the stage to be used for compositing.
-
idempotency_token(Optional[CompositionClientToken], default:None) –Idempotency token.
-
layout(Optional[LayoutConfiguration], default:None) –Layout object to configure composition parameters.
-
destinations(DestinationConfigurationList) –Array of destination configuration.
-
tags(Optional[Tags], default:None) –Tags attached to the resource. Array of maps, each of the form
string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–Unexpected error during processing of request.
-
PendingVerification–Your account is pending verification.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ServiceQuotaExceededException–Request would cause a service quota to be exceeded.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ivs_realtime/_services/ivs_real_time.py
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 | |