Skip to content

/AWS1/CL_STR=>CREATEPROJECT()

About CreateProject

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.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/STRPROJECTNAME /AWS1/STRPROJECTNAME

The display name for the project to be created in AWS CodeStar.

IV_ID TYPE /AWS1/STRPROJECTID /AWS1/STRPROJECTID

The ID of the project to be created in AWS CodeStar.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/STRPROJECTDESCRIPTION /AWS1/STRPROJECTDESCRIPTION

The description of the project, if any.

IV_CLIENTREQUESTTOKEN TYPE /AWS1/STRCLIENTREQUESTTOKEN /AWS1/STRCLIENTREQUESTTOKEN

A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request.

IT_SOURCECODE TYPE /AWS1/CL_STRCODE=>TT_SOURCECODE TT_SOURCECODE

A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.

IO_TOOLCHAIN TYPE REF TO /AWS1/CL_STRTOOLCHAIN /AWS1/CL_STRTOOLCHAIN

The name of the toolchain template file submitted with the project request. If this parameter is specified, the request must also include the sourceCode parameter.

IT_TAGS TYPE /AWS1/CL_STRTAGS_W=>TT_TAGS TT_TAGS

The tags created for the project.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_STRCREATEPROJECTRSLT /AWS1/CL_STRCREATEPROJECTRSLT