list_applications

ServerlessApplicationRepository.Client.list_applications(**kwargs)

Lists applications owned by the requester.

See also: AWS API Documentation

Request Syntax

response = client.list_applications(
    MaxItems=123,
    NextToken='string'
)
Parameters
  • 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

{
    'Applications': [
        {
            'ApplicationId': 'string',
            'Author': 'string',
            'CreationTime': 'string',
            'Description': 'string',
            'HomePageUrl': 'string',
            'Labels': [
                'string',
            ],
            'Name': 'string',
            'SpdxLicenseId': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    Success

    • Applications (list) --

      An array of application summaries.

      • (dict) --

        Summary of details about the application.

        • ApplicationId (string) --

          The application Amazon Resource Name (ARN).

        • Author (string) --

          The name of the author publishing the app.

          Minimum length=1. Maximum length=127.

          Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

        • CreationTime (string) --

          The date and time this resource was created.

        • Description (string) --

          The description of the application.

          Minimum length=1. Maximum length=256

        • HomePageUrl (string) --

          A URL with more information about the application, for example the location of your GitHub repository for the application.

        • Labels (list) --

          Labels to improve discovery of apps in search results.

          Minimum length=1. Maximum length=127. Maximum number of labels: 10

          Pattern: "^[a-zA-Z0-9+\-_:\/@]+$";

          • (string) --
        • Name (string) --

          The name of the application.

          Minimum length=1. Maximum length=140

          Pattern: "[a-zA-Z0-9\-]+";

        • SpdxLicenseId (string) --

          A valid identifier from https://spdx.org/licenses/.

    • NextToken (string) --

      The token to request the next page of results.

Exceptions

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