update_flow_media_stream
¶
update_flow_media_stream(
flow_arn: FlowArn,
media_stream_name: str,
*,
config_overrides: Optional[MediaConnectClientConfig] = 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/media_connect.py
3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 | |