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
3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 | |