Struct aws_sdk_codestar::client::fluent_builders::DeleteProject
source · [−]pub struct DeleteProject<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteProject
.
Deletes a project, including project resources. Does not delete users associated with the project, but does delete the IAM roles that allowed access to the project.
Implementations
impl<C, M, R> DeleteProject<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteProject<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteProjectOutput, SdkError<DeleteProjectError>> where
R::Policy: SmithyRetryPolicy<DeleteProjectInputOperationOutputAlias, DeleteProjectOutput, DeleteProjectError, DeleteProjectInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteProjectOutput, SdkError<DeleteProjectError>> where
R::Policy: SmithyRetryPolicy<DeleteProjectInputOperationOutputAlias, DeleteProjectOutput, DeleteProjectError, DeleteProjectInputOperationRetryAlias>,
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 ID of the project to be deleted in AWS CodeStar.
The ID of the project to be deleted in AWS CodeStar.
A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.
A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.
Whether to send a delete request for the primary stack in AWS CloudFormation originally used to generate the project and its resources. This option will delete all AWS resources for the project (except for any buckets in Amazon S3) as well as deleting the project itself. Recommended for most use cases.
Whether to send a delete request for the primary stack in AWS CloudFormation originally used to generate the project and its resources. This option will delete all AWS resources for the project (except for any buckets in Amazon S3) as well as deleting the project itself. Recommended for most use cases.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteProject<C, M, R>
impl<C, M, R> Unpin for DeleteProject<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteProject<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