Method: Aws::ServerlessApplicationRepository::Client#list_applications

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

#list_applications(params = {}) ⇒ Types::ListApplicationsResponse

Lists applications owned by the requester.

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_applications({
  max_items: 1,
  next_token: "__string",
})

Response structure


resp.applications #=> Array
resp.applications[0].application_id #=> String
resp.applications[0].author #=> String
resp.applications[0].creation_time #=> String
resp.applications[0].description #=> String
resp.applications[0].home_page_url #=> String
resp.applications[0].labels #=> Array
resp.applications[0].labels[0] #=> String
resp.applications[0].name #=> String
resp.applications[0].spdx_license_id #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :max_items (Integer)
  • :next_token (String)

Returns:

See Also:



1102
1103
1104
1105
# File 'lib/aws-sdk-serverlessapplicationrepository/client.rb', line 1102

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