Applications applicationId Versions - AWS Serverless Application Repository
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 AWS 服务入门

Applications applicationId Versions

URI

/applications/applicationId/versions

HTTP Methods

GET

Operation ID: ListApplicationVersions

Lists versions for the specified application.

Path Parameters
Name Type Required Description
applicationId String True

The ID of the application to get.

Query Parameters
Name Type Required Description
maxItems String False

The total number of items to return.

nextToken String False

A token to specify where to start paginating.

Responses
Status Code Response Model Description
200 ApplicationVersionPage

Success

400 BadRequestException

One of the parameters in the request is invalid.

403 ForbiddenException

The client is not authenticated.

404 NotFoundException

The resource (for example, an access policy statement) specified in the request doesn't exist.

429 TooManyRequestsException

The client is sending more than the allowed number of requests per unit of time.

500 InternalServerErrorException

The AWS Serverless Application Repository service encountered an internal error.

Schemas

Response Bodies

Example ApplicationVersionPage

{ "versions": [ { "applicationId": "string", "semanticVersion": "string", "sourceCodeUrl": "string", "creationTime": "string" } ], "nextToken": "string" }

Example BadRequestException

{ "message": "string", "errorCode": "string" }

Example ForbiddenException

{ "message": "string", "errorCode": "string" }

Example NotFoundException

{ "message": "string", "errorCode": "string" }

Example TooManyRequestsException

{ "message": "string", "errorCode": "string" }

Example InternalServerErrorException

{ "message": "string", "errorCode": "string" }

Properties

ApplicationVersionPage

A list of version summaries for the application.

Property Type Required Description
versions

Array of type VersionSummary

True

An array of version summaries for the application.

nextToken

string

False

The token to request the next page of results.

BadRequestException

One of the parameters in the request is invalid.

Property Type Required Description
message

string

False

One of the parameters in the request is invalid.

errorCode

string

False

400

ForbiddenException

The client is not authenticated.

Property Type Required Description
message

string

False

The client is not authenticated.

errorCode

string

False

403

InternalServerErrorException

The AWS Serverless Application Repository service encountered an internal error.

Property Type Required Description
message

string

False

The AWS Serverless Application Repository service encountered an internal error.

errorCode

string

False

500

NotFoundException

The resource (for example, an access policy statement) specified in the request doesn't exist.

Property Type Required Description
message

string

False

The resource (for example, an access policy statement) specified in the request doesn't exist.

errorCode

string

False

404

TooManyRequestsException

The client is sending more than the allowed number of requests per unit of time.

Property Type Required Description
message

string

False

The client is sending more than the allowed number of requests per unit of time.

errorCode

string

False

429

VersionSummary

An application version summary.

Property Type Required Description
applicationId

string

True

The application Amazon Resource Name (ARN).

semanticVersion

string

True

The semantic version of the application:

https://semver.org/

sourceCodeUrl

string

False

A link to a public repository for the source code of your application.

creationTime

string

True

The date and time this resource was created.

See Also

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

ListApplicationVersions