Struct aws_sdk_codedeploy::operation::delete_deployment_config::builders::DeleteDeploymentConfigFluentBuilder
source · pub struct DeleteDeploymentConfigFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteDeploymentConfig
.
Deletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.
Implementations§
source§impl DeleteDeploymentConfigFluentBuilder
impl DeleteDeploymentConfigFluentBuilder
sourcepub fn as_input(&self) -> &DeleteDeploymentConfigInputBuilder
pub fn as_input(&self) -> &DeleteDeploymentConfigInputBuilder
Access the DeleteDeploymentConfig as a reference.
sourcepub async fn send(
self
) -> Result<DeleteDeploymentConfigOutput, SdkError<DeleteDeploymentConfigError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteDeploymentConfigOutput, SdkError<DeleteDeploymentConfigError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteDeploymentConfigOutput, DeleteDeploymentConfigError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteDeploymentConfigOutput, DeleteDeploymentConfigError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn deployment_config_name(self, input: impl Into<String>) -> Self
pub fn deployment_config_name(self, input: impl Into<String>) -> Self
The name of a deployment configuration associated with the user or Amazon Web Services account.
sourcepub fn set_deployment_config_name(self, input: Option<String>) -> Self
pub fn set_deployment_config_name(self, input: Option<String>) -> Self
The name of a deployment configuration associated with the user or Amazon Web Services account.
sourcepub fn get_deployment_config_name(&self) -> &Option<String>
pub fn get_deployment_config_name(&self) -> &Option<String>
The name of a deployment configuration associated with the user or Amazon Web Services account.
Trait Implementations§
source§impl Clone for DeleteDeploymentConfigFluentBuilder
impl Clone for DeleteDeploymentConfigFluentBuilder
source§fn clone(&self) -> DeleteDeploymentConfigFluentBuilder
fn clone(&self) -> DeleteDeploymentConfigFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more