Struct aws_sdk_codestar::client::fluent_builders::CreateProject
source · [−]pub struct CreateProject<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to 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.
Implementations
impl<C, M, R> CreateProject<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateProject<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateProjectOutput, SdkError<CreateProjectError>> where
R::Policy: SmithyRetryPolicy<CreateProjectInputOperationOutputAlias, CreateProjectOutput, CreateProjectError, CreateProjectInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateProjectOutput, SdkError<CreateProjectError>> where
R::Policy: SmithyRetryPolicy<CreateProjectInputOperationOutputAlias, CreateProjectOutput, CreateProjectError, CreateProjectInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The display name for the project to be created in AWS CodeStar.
The display name for the project to be created in AWS CodeStar.
The ID of the project to be created in AWS CodeStar.
The ID of the project to be created in AWS CodeStar.
The description of the project, if any.
The description of the project, if any.
A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request.
A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request.
Appends an item to sourceCode
.
To override the contents of this collection use set_source_code
.
A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.
A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.
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.
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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags created for the project.
The tags created for the project.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateProject<C, M, R>
impl<C, M, R> Unpin for CreateProject<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateProject<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more