ElasticBeanstalk / Paginator / ListPlatformVersions

ListPlatformVersions#

class ElasticBeanstalk.Paginator.ListPlatformVersions#
paginator = client.get_paginator('list_platform_versions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from ElasticBeanstalk.Client.list_platform_versions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    Filters=[
        {
            'Type': 'string',
            'Operator': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • Filters (list) –

    Criteria for restricting the resulting list of platform versions. The filter is interpreted as a logical conjunction (AND) of the separate PlatformFilter terms.

    • (dict) –

      Describes criteria to restrict the results when listing platform versions.

      The filter is evaluated as follows: Type Operator Values[1]

      • Type (string) –

        The platform version attribute to which the filter values are applied.

        Valid values: PlatformName | PlatformVersion | PlatformStatus | PlatformBranchName | PlatformLifecycleState | PlatformOwner | SupportedTier | SupportedAddon | ProgrammingLanguageName | OperatingSystemName

      • Operator (string) –

        The operator to apply to the Type with each of the Values .

        Valid values: = | != | < | <= | > | >= | contains | begins_with | ends_with

      • Values (list) –

        The list of values applied to the filtering platform version attribute. Only one value is supported for all current operators.

        The following list shows valid filter values for some filter attributes.

        • PlatformStatus : Creating | Failed | Ready | Deleting | Deleted

        • PlatformLifecycleState : recommended

        • SupportedTier : WebServer/Standard | Worker/SQS/HTTP

        • SupportedAddon : Log/S3 | Monitoring/Healthd | WorkerDaemon/SQSD

        • (string) –

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'PlatformSummaryList': [
        {
            'PlatformArn': 'string',
            'PlatformOwner': 'string',
            'PlatformStatus': 'Creating'|'Failed'|'Ready'|'Deleting'|'Deleted',
            'PlatformCategory': 'string',
            'OperatingSystemName': 'string',
            'OperatingSystemVersion': 'string',
            'SupportedTierList': [
                'string',
            ],
            'SupportedAddonList': [
                'string',
            ],
            'PlatformLifecycleState': 'string',
            'PlatformVersion': 'string',
            'PlatformBranchName': 'string',
            'PlatformBranchLifecycleState': 'string'
        },
    ],

}

Response Structure

  • (dict) –

    • PlatformSummaryList (list) –

      Summary information about the platform versions.

      • (dict) –

        Summary information about a platform version.

        • PlatformArn (string) –

          The ARN of the platform version.

        • PlatformOwner (string) –

          The AWS account ID of the person who created the platform version.

        • PlatformStatus (string) –

          The status of the platform version. You can create an environment from the platform version once it is ready.

        • PlatformCategory (string) –

          The category of platform version.

        • OperatingSystemName (string) –

          The operating system used by the platform version.

        • OperatingSystemVersion (string) –

          The version of the operating system used by the platform version.

        • SupportedTierList (list) –

          The tiers in which the platform version runs.

          • (string) –

        • SupportedAddonList (list) –

          The additions associated with the platform version.

          • (string) –

        • PlatformLifecycleState (string) –

          The state of the platform version in its lifecycle.

          Possible values: recommended | empty

          If an empty value is returned, the platform version is supported but isn’t the recommended one for its branch.

        • PlatformVersion (string) –

          The version string of the platform version.

        • PlatformBranchName (string) –

          The platform branch to which the platform version belongs.

        • PlatformBranchLifecycleState (string) –

          The state of the platform version’s branch in its lifecycle.

          Possible values: beta | supported | deprecated | retired