create_vod_source

MediaTailor.Client.create_vod_source(**kwargs)

The VOD source configuration parameters.

See also: AWS API Documentation

Request Syntax

response = client.create_vod_source(
    HttpPackageConfigurations=[
        {
            'Path': 'string',
            'SourceGroup': 'string',
            'Type': 'DASH'|'HLS'
        },
    ],
    SourceLocationName='string',
    Tags={
        'string': 'string'
    },
    VodSourceName='string'
)
Parameters
  • HttpPackageConfigurations (list) --

    [REQUIRED]

    A list of HTTP package configuration parameters for this VOD source.

    • (dict) --

      The HTTP package configuration properties for the requested VOD source.

      • Path (string) -- [REQUIRED]

        The relative path to the URL for this VOD source. This is combined with SourceLocation::HttpConfiguration::BaseUrl to form a valid URL.

      • SourceGroup (string) -- [REQUIRED]

        The name of the source group. This has to match one of the Channel::Outputs::SourceGroup .

      • Type (string) -- [REQUIRED]

        The streaming protocol for this package configuration. Supported values are HLS and DASH .

  • SourceLocationName (string) --

    [REQUIRED]

    The name of the source location for this VOD source.

  • Tags (dict) --

    The tags to assign to the VOD source. 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.

    • (string) --
      • (string) --
  • VodSourceName (string) --

    [REQUIRED]

    The name associated with the VOD source.>

Return type

dict

Returns

Response Syntax

{
    'Arn': 'string',
    'CreationTime': datetime(2015, 1, 1),
    'HttpPackageConfigurations': [
        {
            'Path': 'string',
            'SourceGroup': 'string',
            'Type': 'DASH'|'HLS'
        },
    ],
    'LastModifiedTime': datetime(2015, 1, 1),
    'SourceLocationName': 'string',
    'Tags': {
        'string': 'string'
    },
    'VodSourceName': 'string'
}

Response Structure

  • (dict) --

    • Arn (string) --

      The ARN to assign to this VOD source.

    • CreationTime (datetime) --

      The time the VOD source was created.

    • HttpPackageConfigurations (list) --

      A list of HTTP package configuration parameters for this VOD source.

      • (dict) --

        The HTTP package configuration properties for the requested VOD source.

        • Path (string) --

          The relative path to the URL for this VOD source. This is combined with SourceLocation::HttpConfiguration::BaseUrl to form a valid URL.

        • SourceGroup (string) --

          The name of the source group. This has to match one of the Channel::Outputs::SourceGroup .

        • Type (string) --

          The streaming protocol for this package configuration. Supported values are HLS and DASH .

    • LastModifiedTime (datetime) --

      The time the VOD source was last modified.

    • SourceLocationName (string) --

      The name to assign to the source location for this VOD source.

    • Tags (dict) --

      The tags to assign to the VOD source. 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.

      • (string) --
        • (string) --
    • VodSourceName (string) --

      The name to assign to the VOD source.