:doc:`Lightsail <../../lightsail>` / Client / get_container_api_metadata

**************************
get_container_api_metadata
**************************



.. py:method:: Lightsail.Client.get_container_api_metadata()

  

  Returns information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerAPIMetadata>`_  


  **Request Syntax**
  ::

    response = client.get_container_api_metadata()
    
    
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'metadata': [
              {
                  'string': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **metadata** *(list) --* 

        Metadata about Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.

        
        

        - *(dict) --* 
          

          - *(string) --* 
            

            - *(string) --* 
      
    
    
  
  **Exceptions**
  
  *   :py:class:`Lightsail.Client.exceptions.ServiceException`

  
  *   :py:class:`Lightsail.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Lightsail.Client.exceptions.UnauthenticatedException`

  
  *   :py:class:`Lightsail.Client.exceptions.RegionSetupInProgressException`

  