pub struct DeleteEnvironmentConfiguration { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteEnvironmentConfiguration
.
Deletes the draft configuration associated with the running environment.
Updating a running environment with any configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings
while the update is in progress or if the update fails. The DeploymentStatus
for the draft configuration indicates whether the deployment is in process or has failed. The draft configuration remains in existence until it is deleted with this action.
Implementations§
source§impl DeleteEnvironmentConfiguration
impl DeleteEnvironmentConfiguration
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteEnvironmentConfiguration, AwsResponseRetryClassifier>, SdkError<DeleteEnvironmentConfigurationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteEnvironmentConfiguration, AwsResponseRetryClassifier>, SdkError<DeleteEnvironmentConfigurationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeleteEnvironmentConfigurationOutput, SdkError<DeleteEnvironmentConfigurationError>>
pub async fn send(
self
) -> Result<DeleteEnvironmentConfigurationOutput, SdkError<DeleteEnvironmentConfigurationError>>
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 application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of the application the environment is associated with.
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of the application the environment is associated with.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of the environment to delete the draft configuration from.
sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of the environment to delete the draft configuration from.
Trait Implementations§
source§impl Clone for DeleteEnvironmentConfiguration
impl Clone for DeleteEnvironmentConfiguration
source§fn clone(&self) -> DeleteEnvironmentConfiguration
fn clone(&self) -> DeleteEnvironmentConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more