Lightsail / Client / get_container_api_metadata

get_container_api_metadata#

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

Request Syntax

response = client.get_container_api_metadata()
Return type:

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

  • Lightsail.Client.exceptions.ServiceException

  • Lightsail.Client.exceptions.AccessDeniedException

  • Lightsail.Client.exceptions.UnauthenticatedException