update_flow_media_stream
async
¶
update_flow_media_stream(
flow_arn: FlowArn,
media_stream_name: str,
*,
config_overrides: Optional[AsyncMediaConnectClientConfig] = None,
attributes: Optional[MediaStreamAttributesRequest] = None,
clock_rate: Optional[int] = None,
description: Optional[str] = None,
media_stream_type: Optional[MediaStreamType] = None,
video_format: Optional[str] = None,
) -> UpdateFlowMediaStreamResponse
Updates an existing media stream.
Parameters:
-
attributes(Optional[MediaStreamAttributesRequest], default:None) –The attributes that you want to assign to the media stream.
-
clock_rate(Optional[int], default:None) –The sample rate for the stream. This value in measured in kHz.
-
description(Optional[str], default:None) –A description that can help you quickly identify what your media stream is used for.
-
flow_arn(FlowArn) –The Amazon Resource Name (ARN) of the flow that is associated with the media stream that you updated.
-
media_stream_name(str) –The media stream that you updated.
-
media_stream_type(Optional[MediaStreamType], default:None) –The type of media stream.
-
video_format(Optional[str], default:None) –The resolution of the video.
Raises:
-
BadRequestException–This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message.
-
ForbiddenException–You do not have sufficient access to perform this action.
-
InternalServerErrorException–The server encountered an internal error and is unable to complete the request.
-
NotFoundException–One or more of the resources in the request does not exist in the system.
-
ServiceUnavailableException–The service is currently unavailable or busy.
-
TooManyRequestsException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediaconnect/_services/async_media_connect.py
2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 | |