ListPlatformBranches - AWS Elastic Beanstalk


Lists the platform branches available for your account in an AWS Region. Provides summary information about each platform branch.

For definitions of platform branch and other platform-related terms, see AWS Elastic Beanstalk Platforms Glossary.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.


Criteria for restricting the resulting list of platform branches. The filter is evaluated as a logical conjunction (AND) of the separate SearchFilter terms.

The following list shows valid attribute values for each of the SearchFilter terms. Most operators take a single value. The in and not_in operators can take multiple values.

  • Attribute = BranchName:

    • Operator: = | != | begins_with | ends_with | contains | in | not_in

  • Attribute = LifecycleState:

    • Operator: = | != | in | not_in

    • Values: beta | supported | deprecated | retired

  • Attribute = PlatformName:

    • Operator: = | != | begins_with | ends_with | contains | in | not_in

  • Attribute = TierType:

    • Operator: = | !=

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

Array size: limited to 10 SearchFilter objects.

Within each SearchFilter item, the Values array is limited to 10 items.

Type: Array of SearchFilter objects

Required: No


The maximum number of platform branch values returned in one call.

Type: Integer

Valid Range: Minimum value of 1.

Required: No


For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.

If no NextToken is specified, the first page is retrieved.

Type: String

Required: No

Response Elements

The following elements are returned by the service.


In a paginated request, if this value isn't null, it's the token that you can pass in a subsequent request to get the next response page.

Type: String


Summary information about the platform branches.

Type: Array of PlatformBranchSummary objects


For information about the errors that are common to all actions, see Common Errors.


The following example requests the list of PHP platform branches that are in the Normal Maintenance state.

The request has some URL-encoded characters. %3D is the equals sign (=), and %20 is the space character.

Sample Request &Filters.member.1.Operator=%3D &Filters.member.1.Values.member.1=PHP &Filters.member.1.Attribute=LifecycleState &Filters.member.1.Operator=%3D &Filters.member.1.Values.member.1=Supported &Operation=ListPlatformBranches &AuthParams

Sample Response

<ListPlatformBranches xmlns=""> <ListPlatformBranchesResult> <PlatformBranchSummaryList> <member> <BranchName>PHP 7.3</BranchName> <LifecycleState>Supported</BranchName> <PlatformName>PHP</BranchName> </member> <member> <BranchName>PHP 7.2</BranchName> <LifecycleState>Supported</BranchName> <PlatformName>PHP</BranchName> </member> </PlatformBranchSummaryList> </ListPlatformBranchesResult> <ResponseMetadata> <RequestId>7705f0bc-f28e-11df-8a78-9f77047e0d0c</RequestId> </ResponseMetadata> </ListPlatformBranchesResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: