OpsWorks / Client / describe_operating_systems

describe_operating_systems#

OpsWorks.Client.describe_operating_systems()#

Describes the operating systems that are supported by AWS OpsWorks Stacks.

See also: AWS API Documentation

Request Syntax

response = client.describe_operating_systems()
Return type:

dict

Returns:

Response Syntax

{
    'OperatingSystems': [
        {
            'Name': 'string',
            'Id': 'string',
            'Type': 'string',
            'ConfigurationManagers': [
                {
                    'Name': 'string',
                    'Version': 'string'
                },
            ],
            'ReportedName': 'string',
            'ReportedVersion': 'string',
            'Supported': True|False
        },
    ]
}

Response Structure

  • (dict) –

    The response to a DescribeOperatingSystems request.

    • OperatingSystems (list) –

      Contains information in response to a DescribeOperatingSystems request.

      • (dict) –

        Describes supported operating systems in AWS OpsWorks Stacks.

        • Name (string) –

          The name of the operating system, such as Amazon Linux 2018.03.

        • Id (string) –

          The ID of a supported operating system, such as Amazon Linux 2018.03.

        • Type (string) –

          The type of a supported operating system, either Linux or Windows.

        • ConfigurationManagers (list) –

          Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.

          • (dict) –

            A block that contains information about the configuration manager (Chef) and the versions of the configuration manager that are supported for an operating system.

            • Name (string) –

              The name of the configuration manager, which is Chef.

            • Version (string) –

              The versions of the configuration manager that are supported by an operating system.

        • ReportedName (string) –

          A short name for the operating system manufacturer.

        • ReportedVersion (string) –

          The version of the operating system, including the release and edition, if applicable.

        • Supported (boolean) –

          Indicates that an operating system is not supported for new instances.