Amazon.ElasticBeanstalk.AmazonElasticBeanstalkClient.CreateApplicationVersion C# (CSharp) Метод

CreateApplicationVersion() публичный Метод

Creates an application version for the specified application. You can create an application version from a source bundle in Amazon S3, a commit in AWS CodeCommit, or the output of an AWS CodeBuild build as follows:

Specify a commit in an AWS CodeCommit repository with SourceBuildInformation.

Specify a build in an AWS CodeBuild with SourceBuildInformation and BuildConfiguration.

Specify a source bundle in S3 with SourceBundle

Omit both SourceBuildInformation and SourceBundle to use the default sample application.

Once you create an application version with a specified Amazon S3 bucket and key location, you cannot change that Amazon S3 location. If you change the Amazon S3 location, you receive an exception when you attempt to launch an environment from the application version.

/// AWS CodeBuild is not available in the specified region. /// /// The specified account does not have sufficient privileges for one of more AWS services. /// /// The specified S3 bucket does not belong to the S3 region in which the service is running. /// The following regions are supported: /// ///
  • /// /// IAD/us-east-1 /// ///
  • /// /// PDX/us-west-2 /// ///
  • /// /// DUB/eu-west-1 /// ///
/// /// The specified account has reached its limit of applications. /// /// The specified account has reached its limit of application versions. ///
public CreateApplicationVersion ( CreateApplicationVersionRequest request ) : CreateApplicationVersionResponse
request Amazon.ElasticBeanstalk.Model.CreateApplicationVersionRequest Container for the necessary parameters to execute the CreateApplicationVersion service method.
Результат Amazon.ElasticBeanstalk.Model.CreateApplicationVersionResponse
        public CreateApplicationVersionResponse CreateApplicationVersion(CreateApplicationVersionRequest request)
        {
            var marshaller = new CreateApplicationVersionRequestMarshaller();
            var unmarshaller = CreateApplicationVersionResponseUnmarshaller.Instance;

            return Invoke<CreateApplicationVersionRequest,CreateApplicationVersionResponse>(request, marshaller, unmarshaller);
        }
AmazonElasticBeanstalkClient