ivsrealtime / Client / create_ingest_configuration
create_ingest_configuration#
- ivsrealtime.Client.create_ingest_configuration(**kwargs)#
Creates a new IngestConfiguration resource, used to specify the ingest protocol for a stage.
See also: AWS API Documentation
Request Syntax
response = client.create_ingest_configuration( name='string', stageArn='string', userId='string', attributes={ 'string': 'string' }, ingestProtocol='RTMP'|'RTMPS', insecureIngest=True|False, tags={ 'string': 'string' } )
- Parameters:
name (string) – Optional name that can be specified for the IngestConfiguration being created.
stageArn (string) – ARN of the stage with which the IngestConfiguration is associated.
userId (string) – 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 (dict) –
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.
(string) –
(string) –
ingestProtocol (string) –
[REQUIRED]
Type of ingest protocol that the user employs to broadcast. If this is set to
RTMP
,insecureIngest
must be set totrue
.insecureIngest (boolean) – Whether the stage allows insecure RTMP ingest. This must be set to
true
, ifingestProtocol
is set toRTMP
. Default:false
.tags (dict) –
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.(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'ingestConfiguration': { 'name': 'string', 'arn': 'string', 'ingestProtocol': 'RTMP'|'RTMPS', 'streamKey': 'string', 'stageArn': 'string', 'participantId': 'string', 'state': 'ACTIVE'|'INACTIVE', 'userId': 'string', 'attributes': { 'string': 'string' }, 'tags': { 'string': 'string' } } }
Response Structure
(dict) –
ingestConfiguration (dict) –
The IngestConfiguration that was created.
name (string) –
Ingest name
arn (string) –
Ingest configuration ARN.
ingestProtocol (string) –
Type of ingest protocol that the user employs for broadcasting.
streamKey (string) –
Ingest-key value for the RTMP(S) protocol.
stageArn (string) –
ARN of the stage with which the IngestConfiguration is associated.
participantId (string) –
ID of the participant within the stage.
state (string) –
State of the ingest configuration. It is
ACTIVE
if a publisher currently is publishing to the stage associated with the ingest configuration.userId (string) –
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 (dict) –
Application-provided attributes to 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.
(string) –
(string) –
tags (dict) –
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.(string) –
(string) –
Exceptions