create_source_location
¶
create_source_location(
http_configuration: HttpConfiguration,
source_location_name: __string,
*,
config_overrides: Optional[MediaTailorClientConfig] = 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/media_tailor.py
2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 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 | |