create_channel
async
¶
create_channel(
*,
config_overrides: Optional[AsyncMediaLiveClientConfig] = None,
cdi_input_specification: Optional[CdiInputSpecification] = None,
channel_class: Optional[ChannelClass] = None,
destinations: Optional[__listOfOutputDestination] = None,
encoder_settings: Optional[EncoderSettings] = None,
input_attachments: Optional[__listOfInputAttachment] = None,
input_specification: Optional[InputSpecification] = None,
log_level: Optional[LogLevel] = None,
maintenance: Optional[MaintenanceCreateSettings] = None,
name: Optional[__string] = None,
request_id: Optional[__string] = None,
reserved: Optional[__string] = None,
role_arn: Optional[__string] = None,
tags: Optional[Tags] = None,
vpc: Optional[VpcOutputSettings] = None,
anywhere_settings: Optional[AnywhereSettings] = None,
channel_engine_version: Optional[ChannelEngineVersionRequest] = None,
dry_run: Optional[__boolean] = None,
linked_channel_settings: Optional[LinkedChannelSettings] = None,
channel_security_groups: Optional[__listOf__string] = None,
inference_settings: Optional[InferenceSettings] = None,
) -> CreateChannelResponse
Creates a new channel
Parameters:
-
cdi_input_specification(Optional[CdiInputSpecification], default:None) –Specification of CDI inputs for this channel
-
channel_class(Optional[ChannelClass], default:None) –The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
-
input_attachments(Optional[__listOfInputAttachment], default:None) –List of input attachments for channel.
-
input_specification(Optional[InputSpecification], default:None) –Specification of network and file inputs for this channel
-
log_level(Optional[LogLevel], default:None) –The log level to write to CloudWatch Logs.
-
maintenance(Optional[MaintenanceCreateSettings], default:None) –Maintenance settings for this channel.
-
name(Optional[__string], default:None) –Name of channel.
-
request_id(Optional[__string], default:None) –Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.
-
reserved(Optional[__string], default:None) –Deprecated field that's only usable by whitelisted customers.
-
role_arn(Optional[__string], default:None) –An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.
-
tags(Optional[Tags], default:None) –A collection of key-value pairs.
-
vpc(Optional[VpcOutputSettings], default:None) –Settings for the VPC outputs
-
anywhere_settings(Optional[AnywhereSettings], default:None) –The Elemental Anywhere settings for this channel.
-
channel_engine_version(Optional[ChannelEngineVersionRequest], default:None) –The desired engine version for this channel.
-
linked_channel_settings(Optional[LinkedChannelSettings], default:None) –The linked channel settings for the channel.
-
channel_security_groups(Optional[__listOf__string], default:None) –A list of IDs for all the Input Security Groups attached to the channel.
-
inference_settings(Optional[InferenceSettings], default:None) –Include this setting to include Elemental Inference features in this channel.
Raises:
-
BadGatewayException–Placeholder documentation for BadGatewayException
-
BadRequestException–Placeholder documentation for BadRequestException
-
ConflictException–Placeholder documentation for ConflictException
-
ForbiddenException–Placeholder documentation for ForbiddenException
-
GatewayTimeoutException–Placeholder documentation for GatewayTimeoutException
-
InternalServerErrorException–Placeholder documentation for InternalServerErrorException
-
TooManyRequestsException–Placeholder documentation for TooManyRequestsException
-
UnprocessableEntityException–Placeholder documentation for UnprocessableEntityException
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_medialive/_services/async_media_live.py
907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 | |