:doc:`MediaTailor <../../mediatailor>` / Client / update_live_source

******************
update_live_source
******************



.. py:method:: MediaTailor.Client.update_live_source(**kwargs)

  

  Updates a live source's configuration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateLiveSource>`_  


  **Request Syntax**
  ::

    response = client.update_live_source(
        HttpPackageConfigurations=[
            {
                'Path': 'string',
                'SourceGroup': 'string',
                'Type': 'DASH'|'HLS'
            },
        ],
        LiveSourceName='string',
        SourceLocationName='string'
    )
    
  :type HttpPackageConfigurations: list
  :param HttpPackageConfigurations: **[REQUIRED]** 

    A list of HTTP package configurations for the live source on this account.

    

  
    - *(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``.

        

      
    

  :type LiveSourceName: string
  :param LiveSourceName: **[REQUIRED]** 

    The name of the live source.

    

  
  :type SourceLocationName: string
  :param SourceLocationName: **[REQUIRED]** 

    The name of the source location associated with this Live Source.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

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

    

    - *(dict) --* 
      

      - **Arn** *(string) --* 

        The Amazon Resource Name (ARN) associated with this live source.

        
      

      - **CreationTime** *(datetime) --* 

        The timestamp that indicates when the live source was created.

        
      

      - **HttpPackageConfigurations** *(list) --* 

        A list of HTTP package configurations for the live source on this account.

        
        

        - *(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 timestamp that indicates when the live source was last modified.

        
      

      - **LiveSourceName** *(string) --* 

        The name of the live source.

        
      

      - **SourceLocationName** *(string) --* 

        The name of the source location associated with the live source.

        
      

      - **Tags** *(dict) --* 

        The tags to assign to the live 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 <https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html>`__.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  