DescribeApplicationVersions - AWS Elastic Beanstalk

DescribeApplicationVersions

Retrieve a list of application versions.

Request Parameters

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

ApplicationName

Specify an application name to show only application versions for that application.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Required: No

MaxRecords

For a paginated request. Specify a maximum number of application versions to include in each response.

If no MaxRecords is specified, all available application versions are retrieved in a single response.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 1000.

Required: No

NextToken

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

VersionLabels.member.N

Specify a version label to show a specific application version.

Type: Array of strings

Length Constraints: Minimum length of 1. Maximum length of 100.

Required: No

Response Elements

The following elements are returned by the service.

ApplicationVersions.member.N

List of ApplicationVersionDescription objects sorted in order of creation.

Type: Array of ApplicationVersionDescription objects

NextToken

In a paginated request, the token that you can pass in a subsequent request to get the next response page.

Type: String

Errors

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

Examples

Example

This example illustrates one usage of DescribeApplicationVersions.

Sample Request

https://elasticbeanstalk.us-west-2.amazonaws.com/?ApplicationName=SampleApp &Operation=DescribeApplicationVersions &AuthParams

Sample Response

<DescribeApplicationVersionsResponse xmlns="https://elasticbeanstalk.amazonaws.com/docs/2010-12-01/"> <DescribeApplicationVersionsResult> <ApplicationVersions> <member> <SourceBundle> <S3Bucket>amazonaws.com</S3Bucket> <S3Key>sample.war</S3Key> </SourceBundle> <VersionLabel>Version1</VersionLabel> <Description>description</Description> <ApplicationName>SampleApp</ApplicationName> <DateCreated>2010-11-17T03:21:59.161Z</DateCreated> <DateUpdated>2010-11-17T03:21:59.161Z</DateUpdated> </member> </ApplicationVersions> </DescribeApplicationVersionsResult> <ResponseMetadata> <RequestId>773cd80a-f26c-11df-8a78-9f77047e0d0c</RequestId> </ResponseMetadata> </DescribeApplicationVersionsResponse>

See Also

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