Provides details about a specific video on demand (VOD) source in a specific source location.
Parameters:
-
source_location_name
(__string)
–
The name of the source location associated with this VOD Source.
-
vod_source_name
(__string)
–
The name of the VOD Source.
Raises:
Source code in docs_src/capo_mediatailor/_services/media_tailor.py
| def describe_vod_source(
self,
source_location_name: "capo_mediatailor.types.__string.__string",
vod_source_name: "capo_mediatailor.types.__string.__string",
*,
config_overrides: Optional[MediaTailorClientConfig] = None,
) -> (
"capo_mediatailor.types.describe_vod_source_response.DescribeVodSourceResponse"
):
"""<p>Provides details about a specific video on demand (VOD) source in a specific source location.</p>
Args:
source_location_name: <p>The name of the source location associated with this VOD Source.</p>
vod_source_name: <p>The name of the VOD Source.</p>
Raises:
capo_mediatailor.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_mediatailor.types.describe_vod_source_request.DescribeVodSourceRequest]",
) -> OperationResponse[
"capo_mediatailor.types.describe_vod_source_response.DescribeVodSourceResponse"
]:
import capo_mediatailor._operations.media_tailor.describe_vod_source
output, http_response = (
capo_mediatailor._operations.media_tailor.describe_vod_source.describe_vod_source(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeVodSource")
)
input_: capo_mediatailor.types.describe_vod_source_request.DescribeVodSourceRequest = {
"source_location_name": source_location_name,
"vod_source_name": vod_source_name,
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|