Method: Aws::ServerlessApplicationRepository::Client#list_application_versions

Defined in:
lib/aws-sdk-serverlessapplicationrepository/client.rb

#list_application_versions(params = {}) ⇒ Types::ListApplicationVersionsResponse

Lists versions for the specified application.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_application_versions({
  application_id: "__string", # required
  max_items: 1,
  next_token: "__string",
})

Response structure


resp.next_token #=> String
resp.versions #=> Array
resp.versions[0].application_id #=> String
resp.versions[0].creation_time #=> String
resp.versions[0].semantic_version #=> String
resp.versions[0].source_code_url #=> String

Parameters:

  • (defaults to: {})

    ({})

Options Hash (params):

  • :application_id (required, String)
  • :max_items (Integer)
  • :next_token (String)

Returns:

  • Returns a response object which responds to the following methods:

See Also:



1059
1060
1061
1062
# File 'lib/aws-sdk-serverlessapplicationrepository/client.rb', line 1059

def list_application_versions(params = {}, options = {})
  req = build_request(:list_application_versions, params)
  req.send_request(options)
end