create_media_stream_pipeline
async
¶
create_media_stream_pipeline(
sources: MediaStreamSourceList,
sinks: MediaStreamSinkList,
*,
config_overrides: Optional[AsyncChimeSDKMediaPipelinesClientConfig] = None,
client_request_token: Optional[ClientRequestToken] = None,
tags: Optional[TagList] = None,
) -> CreateMediaStreamPipelineResponse
Creates a streaming media pipeline.
Parameters:
-
sources(MediaStreamSourceList) –The data sources for the media pipeline.
-
sinks(MediaStreamSinkList) –The data sink for the media pipeline.
-
client_request_token(Optional[ClientRequestToken], default:None) –The token assigned to the client making the request.
-
tags(Optional[TagList], default:None) –The tags assigned to the media pipeline.
Raises:
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
NotFoundException–One or more of the resources in the request does not exist in the system.
-
ResourceLimitExceededException–The request exceeds the resource limit.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The client exceeded its request rate limit.
-
UnauthorizedClientException–The client is not currently authorized to make the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime_sdk_media_pipelines/_services/async_chime_sdk_media_pipelines.py
830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 | |