ServerlessApplicationRepository class

The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find and deploy serverless applications in the AWS Cloud. For more information about serverless applications, see Serverless Computing and Applications on the AWS website.

The AWS Serverless Application Repository is deeply integrated with the AWS Lambda console, so that developers of all levels can get started with serverless computing without needing to learn anything new. You can use category keywords to browse for applications such as web and mobile backends, data processing applications, or chatbots. You can also search for applications by name, publisher, or event source. To use an application, you simply choose it, configure any required fields, and deploy it with a few clicks.

You can also easily publish applications, sharing them publicly with the community at large, or privately within your team or across your organization. To publish a serverless application (or app), you can use the AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS SDKs to upload the code. Along with the code, you upload a simple manifest file, also known as the AWS Serverless Application Model (AWS SAM) template. For more information about AWS SAM, see AWS Serverless Application Model (AWS SAM) on the AWS Labs GitHub repository.

The AWS Serverless Application Repository Developer Guide contains more information about the two developer experiences available:

  • Consuming Applications – Browse for applications and view information about them, including source code and readme files. Also install, configure, and deploy applications of your choosing.

    Publishing Applications – Configure and upload applications to make them available to other developers, and publish new versions of applications.

Constructors

ServerlessApplicationRepository({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
createApplication({required String author, required String description, required String name, String? homePageUrl, List<String>? labels, String? licenseBody, String? licenseUrl, String? readmeBody, String? readmeUrl, String? semanticVersion, String? sourceCodeArchiveUrl, String? sourceCodeUrl, String? spdxLicenseId, String? templateBody, String? templateUrl}) Future<CreateApplicationResponse>
Creates an application, optionally including an AWS SAM file to create the first application version in the same call.
createApplicationVersion({required String applicationId, required String semanticVersion, String? sourceCodeArchiveUrl, String? sourceCodeUrl, String? templateBody, String? templateUrl}) Future<CreateApplicationVersionResponse>
Creates an application version.
createCloudFormationChangeSet({required String applicationId, required String stackName, List<String>? capabilities, String? changeSetName, String? clientToken, String? description, List<String>? notificationArns, List<ParameterValue>? parameterOverrides, List<String>? resourceTypes, RollbackConfiguration? rollbackConfiguration, String? semanticVersion, List<Tag>? tags, String? templateId}) Future<CreateCloudFormationChangeSetResponse>
Creates an AWS CloudFormation change set for the given application.
createCloudFormationTemplate({required String applicationId, String? semanticVersion}) Future<CreateCloudFormationTemplateResponse>
Creates an AWS CloudFormation template.
deleteApplication({required String applicationId}) Future<void>
Deletes the specified application.
getApplication({required String applicationId, String? semanticVersion}) Future<GetApplicationResponse>
Gets the specified application.
getApplicationPolicy({required String applicationId}) Future<GetApplicationPolicyResponse>
Retrieves the policy for the application.
getCloudFormationTemplate({required String applicationId, required String templateId}) Future<GetCloudFormationTemplateResponse>
Gets the specified AWS CloudFormation template.
listApplicationDependencies({required String applicationId, int? maxItems, String? nextToken, String? semanticVersion}) Future<ListApplicationDependenciesResponse>
Retrieves the list of applications nested in the containing application.
listApplications({int? maxItems, String? nextToken}) Future<ListApplicationsResponse>
Lists applications owned by the requester.
listApplicationVersions({required String applicationId, int? maxItems, String? nextToken}) Future<ListApplicationVersionsResponse>
Lists versions for the specified application.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putApplicationPolicy({required String applicationId, required List<ApplicationPolicyStatement> statements}) Future<PutApplicationPolicyResponse>
Sets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .
toString() String
A string representation of this object.
inherited
unshareApplication({required String applicationId, required String organizationId}) Future<void>
Unshares an application from an AWS Organization.
updateApplication({required String applicationId, String? author, String? description, String? homePageUrl, List<String>? labels, String? readmeBody, String? readmeUrl}) Future<UpdateApplicationResponse>
Updates the specified application.

Operators

operator ==(Object other) bool
The equality operator.
inherited