create_source_location
async
¶
create_source_location(
http_configuration: HttpConfiguration,
source_location_name: __string,
*,
config_overrides: Optional[AsyncMediaTailorClientConfig] = None,
access_configuration: Optional[AccessConfiguration] = None,
default_segment_delivery_configuration: Optional[
DefaultSegmentDeliveryConfiguration
] = None,
segment_delivery_configurations: Optional[
__listOfSegmentDeliveryConfiguration
] = None,
tags: Optional[__mapOf__string] = None,
) -> CreateSourceLocationResponse
Creates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
Parameters:
-
access_configuration(Optional[AccessConfiguration], default:None) –Access configuration parameters. Configures the type of authentication used to access content from your source location.
-
default_segment_delivery_configuration(Optional[DefaultSegmentDeliveryConfiguration], default:None) –The optional configuration for the server that serves segments.
-
http_configuration(HttpConfiguration) –The source's HTTP package configurations.
-
segment_delivery_configurations(Optional[__listOfSegmentDeliveryConfiguration], default:None) –A list of the segment delivery configurations associated with this resource.
-
source_location_name(__string) –The name associated with the source location.
-
tags(Optional[__mapOf__string], default:None) –The tags to assign to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediatailor/_services/async_media_tailor.py
2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 | |