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.

Creates a project, including project resources. This action creates a project based on a submitted project request. A set of source code files and a toolchain template file can be included with the project request. If these are not provided, an empty project is created.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateProjectAsync.

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

Syntax

C#
public virtual CreateProjectResponse CreateProject(
         CreateProjectRequest request
)

Parameters

request
Type: Amazon.CodeStar.Model.CreateProjectRequest

Container for the necessary parameters to execute the CreateProject service method.

Return Value


The response from the CreateProject service method, as returned by CodeStar.

Exceptions

ExceptionCondition
ConcurrentModificationException Another modification is being made. That modification must complete before you can make your change.
InvalidServiceRoleException The service role is not valid.
LimitExceededException A resource limit has been exceeded.
ProjectAlreadyExistsException An AWS CodeStar project with the same ID already exists in this region for the AWS account. AWS CodeStar project IDs must be unique within a region for the AWS account.
ProjectConfigurationException Project configuration information is required but not specified.
ProjectCreationFailedException The project creation request was valid, but a nonspecific exception or error occurred during project creation. The project could not be created in AWS CodeStar.
ValidationException The specified input is either not valid, or it could not be validated.

Version Information

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

See Also