list_application_versions

list_application_versions(**kwargs)

Lists versions for the specified application.

See also: AWS API Documentation

Request Syntax

response = client.list_application_versions(
    ApplicationId='string',
    MaxItems=123,
    NextToken='string'
)
Parameters
  • ApplicationId (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the application.

  • MaxItems (integer) -- The total number of items to return.
  • NextToken (string) -- A token to specify where to start paginating.
Return type

dict

Returns

Response Syntax

{
    'NextToken': 'string',
    'Versions': [
        {
            'ApplicationId': 'string',
            'CreationTime': 'string',
            'SemanticVersion': 'string',
            'SourceCodeUrl': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    Success

    • NextToken (string) --

      The token to request the next page of results.

    • Versions (list) --

      An array of version summaries for the application.

      • (dict) --

        An application version summary.

        • ApplicationId (string) --

          The application Amazon Resource Name (ARN).

        • CreationTime (string) --

          The date and time this resource was created.

        • SemanticVersion (string) --

          The semantic version of the application:

        • SourceCodeUrl (string) --

          A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

Exceptions

  • ServerlessApplicationRepository.Client.exceptions.NotFoundException
  • ServerlessApplicationRepository.Client.exceptions.TooManyRequestsException
  • ServerlessApplicationRepository.Client.exceptions.BadRequestException
  • ServerlessApplicationRepository.Client.exceptions.InternalServerErrorException
  • ServerlessApplicationRepository.Client.exceptions.ForbiddenException