AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Implementation for accessing ServerlessApplicationRepository

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:

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonServiceClient
    Amazon.ServerlessApplicationRepository.AmazonServerlessApplicationRepositoryClient

Namespace: Amazon.ServerlessApplicationRepository
Assembly: AWSSDK.ServerlessApplicationRepository.dll
Version: 3.x.y.z

Syntax

C#
public class AmazonServerlessApplicationRepositoryClient : AmazonServiceClient
         IAmazonServerlessApplicationRepository, IAmazonService, IDisposable

The AmazonServerlessApplicationRepositoryClient type exposes the following members

Constructors

NameDescription
Public Method AmazonServerlessApplicationRepositoryClient()

Constructs AmazonServerlessApplicationRepositoryClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             

Public Method AmazonServerlessApplicationRepositoryClient(RegionEndpoint)

Constructs AmazonServerlessApplicationRepositoryClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             

Public Method AmazonServerlessApplicationRepositoryClient(AmazonServerlessApplicationRepositoryConfig)

Constructs AmazonServerlessApplicationRepositoryClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             

Public Method AmazonServerlessApplicationRepositoryClient(AWSCredentials)

Constructs AmazonServerlessApplicationRepositoryClient with AWS Credentials

Public Method AmazonServerlessApplicationRepositoryClient(AWSCredentials, RegionEndpoint)

Constructs AmazonServerlessApplicationRepositoryClient with AWS Credentials

Public Method AmazonServerlessApplicationRepositoryClient(AWSCredentials, AmazonServerlessApplicationRepositoryConfig)

Constructs AmazonServerlessApplicationRepositoryClient with AWS Credentials and an AmazonServerlessApplicationRepositoryClient Configuration object.

Public Method AmazonServerlessApplicationRepositoryClient(string, string)

Constructs AmazonServerlessApplicationRepositoryClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonServerlessApplicationRepositoryClient(string, string, RegionEndpoint)

Constructs AmazonServerlessApplicationRepositoryClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonServerlessApplicationRepositoryClient(string, string, AmazonServerlessApplicationRepositoryConfig)

Constructs AmazonServerlessApplicationRepositoryClient with AWS Access Key ID, AWS Secret Key and an AmazonServerlessApplicationRepositoryClient Configuration object.

Public Method AmazonServerlessApplicationRepositoryClient(string, string, string)

Constructs AmazonServerlessApplicationRepositoryClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonServerlessApplicationRepositoryClient(string, string, string, RegionEndpoint)

Constructs AmazonServerlessApplicationRepositoryClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonServerlessApplicationRepositoryClient(string, string, string, AmazonServerlessApplicationRepositoryConfig)

Constructs AmazonServerlessApplicationRepositoryClient with AWS Access Key ID, AWS Secret Key and an AmazonServerlessApplicationRepositoryClient Configuration object.

Properties

NameTypeDescription
Public Property Config Amazon.Runtime.IClientConfig Inherited from Amazon.Runtime.AmazonServiceClient.
Public Property Paginators Amazon.ServerlessApplicationRepository.Model.IServerlessApplicationRepositoryPaginatorFactory

Paginators for the service

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method CreateApplication(CreateApplicationRequest)

Creates an application, optionally including an AWS SAM file to create the first application version in the same call.

Public Method CreateApplicationAsync(CreateApplicationRequest, CancellationToken)

Creates an application, optionally including an AWS SAM file to create the first application version in the same call.

Public Method CreateApplicationVersion(CreateApplicationVersionRequest)

Creates an application version.

Public Method CreateApplicationVersionAsync(CreateApplicationVersionRequest, CancellationToken)

Creates an application version.

Public Method CreateCloudFormationChangeSet(CreateCloudFormationChangeSetRequest)

Creates an AWS CloudFormation change set for the given application.

Public Method CreateCloudFormationChangeSetAsync(CreateCloudFormationChangeSetRequest, CancellationToken)

Creates an AWS CloudFormation change set for the given application.

Public Method CreateCloudFormationTemplate(CreateCloudFormationTemplateRequest)

Creates an AWS CloudFormation template.

Public Method CreateCloudFormationTemplateAsync(CreateCloudFormationTemplateRequest, CancellationToken)

Creates an AWS CloudFormation template.

Public Method DeleteApplication(DeleteApplicationRequest)

Deletes the specified application.

Public Method DeleteApplicationAsync(DeleteApplicationRequest, CancellationToken)

Deletes the specified application.

Public Method DetermineServiceOperationEndpoint(AmazonWebServiceRequest)

Returns the endpoint that will be used for a particular request.

Public Method Dispose() Inherited from Amazon.Runtime.AmazonServiceClient.
Public Method GetApplication(GetApplicationRequest)

Gets the specified application.

Public Method GetApplicationAsync(GetApplicationRequest, CancellationToken)

Gets the specified application.

Public Method GetApplicationPolicy(GetApplicationPolicyRequest)

Retrieves the policy for the application.

Public Method GetApplicationPolicyAsync(GetApplicationPolicyRequest, CancellationToken)

Retrieves the policy for the application.

Public Method GetCloudFormationTemplate(GetCloudFormationTemplateRequest)

Gets the specified AWS CloudFormation template.

Public Method GetCloudFormationTemplateAsync(GetCloudFormationTemplateRequest, CancellationToken)

Gets the specified AWS CloudFormation template.

Public Method ListApplicationDependencies(ListApplicationDependenciesRequest)

Retrieves the list of applications nested in the containing application.

Public Method ListApplicationDependenciesAsync(ListApplicationDependenciesRequest, CancellationToken)

Retrieves the list of applications nested in the containing application.

Public Method ListApplications(ListApplicationsRequest)

Lists applications owned by the requester.

Public Method ListApplicationsAsync(ListApplicationsRequest, CancellationToken)

Lists applications owned by the requester.

Public Method ListApplicationVersions(ListApplicationVersionsRequest)

Lists versions for the specified application.

Public Method ListApplicationVersionsAsync(ListApplicationVersionsRequest, CancellationToken)

Lists versions for the specified application.

Public Method PutApplicationPolicy(PutApplicationPolicyRequest)

Sets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .

Public Method PutApplicationPolicyAsync(PutApplicationPolicyRequest, CancellationToken)

Sets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .

Public Method UnshareApplication(UnshareApplicationRequest)

Unshares an application from an AWS Organization.

This operation can be called only from the organization's master account.

Public Method UnshareApplicationAsync(UnshareApplicationRequest, CancellationToken)

Unshares an application from an AWS Organization.

This operation can be called only from the organization's master account.

Public Method UpdateApplication(UpdateApplicationRequest)

Updates the specified application.

Public Method UpdateApplicationAsync(UpdateApplicationRequest, CancellationToken)

Updates the specified application.

Events

NameDescription
Event AfterResponseEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event BeforeRequestEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event ExceptionEvent Inherited from Amazon.Runtime.AmazonServiceClient.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5