update_input
(**kwargs)¶Updates an input.
See also: AWS API Documentation
Request Syntax
response = client.update_input(
Destinations=[
{
'StreamName': 'string'
},
],
InputDevices=[
{
'Id': 'string'
},
],
InputId='string',
InputSecurityGroups=[
'string',
],
MediaConnectFlows=[
{
'FlowArn': 'string'
},
],
Name='string',
RoleArn='string',
Sources=[
{
'PasswordParam': 'string',
'Url': 'string',
'Username': 'string'
},
]
)
Destination settings for PUSH type inputs.
Settings for the devices.
A list of security groups referenced by IDs to attach to the input.
A list of the MediaConnect Flow ARNs that you want to use as the source of the input. You can specify as few as one Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a separate Availability Zone as this ensures your EML input is redundant to AZ issues.
The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty.
dict
Response Syntax
{
'Input': {
'Arn': 'string',
'AttachedChannels': [
'string',
],
'Destinations': [
{
'Ip': 'string',
'Port': 'string',
'Url': 'string',
'Vpc': {
'AvailabilityZone': 'string',
'NetworkInterfaceId': 'string'
}
},
],
'Id': 'string',
'InputClass': 'STANDARD'|'SINGLE_PIPELINE',
'InputDevices': [
{
'Id': 'string'
},
],
'InputPartnerIds': [
'string',
],
'InputSourceType': 'STATIC'|'DYNAMIC',
'MediaConnectFlows': [
{
'FlowArn': 'string'
},
],
'Name': 'string',
'RoleArn': 'string',
'SecurityGroups': [
'string',
],
'Sources': [
{
'PasswordParam': 'string',
'Url': 'string',
'Username': 'string'
},
],
'State': 'CREATING'|'DETACHED'|'ATTACHED'|'DELETING'|'DELETED',
'Tags': {
'string': 'string'
},
'Type': 'UDP_PUSH'|'RTP_PUSH'|'RTMP_PUSH'|'RTMP_PULL'|'URL_PULL'|'MP4_FILE'|'MEDIACONNECT'|'INPUT_DEVICE'|'AWS_CDI'|'TS_FILE'
}
}
Response Structure
Exceptions
MediaLive.Client.exceptions.BadRequestException
MediaLive.Client.exceptions.InternalServerErrorException
MediaLive.Client.exceptions.ForbiddenException
MediaLive.Client.exceptions.BadGatewayException
MediaLive.Client.exceptions.NotFoundException
MediaLive.Client.exceptions.GatewayTimeoutException
MediaLive.Client.exceptions.ConflictException