create_ingest_configuration
async
¶
create_ingest_configuration(
ingest_protocol: IngestProtocol,
*,
config_overrides: Optional[AsyncIVSRealTimeClientConfig] = None,
name: Optional[IngestConfigurationName] = None,
stage_arn: Optional[IngestConfigurationStageArn] = None,
user_id: Optional[UserId] = None,
attributes: Optional[ParticipantAttributes] = None,
insecure_ingest: Optional[InsecureIngest] = None,
redundant_ingest: Optional[RedundantIngest] = None,
tags: Optional[Tags] = None,
) -> CreateIngestConfigurationResponse
Creates a new IngestConfiguration resource, used to specify the ingest protocol for a stage.
Parameters:
-
name(Optional[IngestConfigurationName], default:None) –Optional name that can be specified for the IngestConfiguration being created.
-
stage_arn(Optional[IngestConfigurationStageArn], default:None) –ARN of the stage with which the IngestConfiguration is associated.
-
user_id(Optional[UserId], default:None) –Customer-assigned name to help identify the participant using the IngestConfiguration; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
-
attributes(Optional[ParticipantAttributes], default:None) –Application-provided attributes to store in the IngestConfiguration and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
-
ingest_protocol(IngestProtocol) –Type of ingest protocol that the user employs to broadcast. If this is set to
RTMP,insecureIngestmust be set totrue. -
insecure_ingest(Optional[InsecureIngest], default:None) –Whether the stage allows insecure RTMP ingest. This must be set to
true, ifingestProtocolis set toRTMP. Default:false. -
redundant_ingest(Optional[RedundantIngest], default:None) –Indicates whether redundant ingest is enabled for the ingest configuration. Default:
false. -
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.
-
PendingVerification–Your account is pending verification.
-
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/async_ivs_real_time.py
342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 | |