Struct aws_sdk_apprunner::operation::delete_auto_scaling_configuration::builders::DeleteAutoScalingConfigurationFluentBuilder
source · pub struct DeleteAutoScalingConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteAutoScalingConfiguration
.
Delete an App Runner automatic scaling configuration resource. You can delete a top level auto scaling configuration, a specific revision of one, or all revisions associated with the top level configuration. You can't delete the default auto scaling configuration or a configuration that's used by one or more App Runner services.
Implementations§
source§impl DeleteAutoScalingConfigurationFluentBuilder
impl DeleteAutoScalingConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &DeleteAutoScalingConfigurationInputBuilder
pub fn as_input(&self) -> &DeleteAutoScalingConfigurationInputBuilder
Access the DeleteAutoScalingConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<DeleteAutoScalingConfigurationOutput, SdkError<DeleteAutoScalingConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteAutoScalingConfigurationOutput, SdkError<DeleteAutoScalingConfigurationError, 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<DeleteAutoScalingConfigurationOutput, DeleteAutoScalingConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteAutoScalingConfigurationOutput, DeleteAutoScalingConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn auto_scaling_configuration_arn(self, input: impl Into<String>) -> Self
pub fn auto_scaling_configuration_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to delete.
The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name
or .../name/revision
. If a revision isn't specified, the latest active revision is deleted.
sourcepub fn set_auto_scaling_configuration_arn(self, input: Option<String>) -> Self
pub fn set_auto_scaling_configuration_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to delete.
The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name
or .../name/revision
. If a revision isn't specified, the latest active revision is deleted.
sourcepub fn get_auto_scaling_configuration_arn(&self) -> &Option<String>
pub fn get_auto_scaling_configuration_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to delete.
The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name
or .../name/revision
. If a revision isn't specified, the latest active revision is deleted.
sourcepub fn delete_all_revisions(self, input: bool) -> Self
pub fn delete_all_revisions(self, input: bool) -> Self
Set to true
to delete all of the revisions associated with the AutoScalingConfigurationArn
parameter value.
When DeleteAllRevisions
is set to true
, the only valid value for the Amazon Resource Name (ARN) is a partial ARN ending with: .../name
.
sourcepub fn set_delete_all_revisions(self, input: Option<bool>) -> Self
pub fn set_delete_all_revisions(self, input: Option<bool>) -> Self
Set to true
to delete all of the revisions associated with the AutoScalingConfigurationArn
parameter value.
When DeleteAllRevisions
is set to true
, the only valid value for the Amazon Resource Name (ARN) is a partial ARN ending with: .../name
.
sourcepub fn get_delete_all_revisions(&self) -> &Option<bool>
pub fn get_delete_all_revisions(&self) -> &Option<bool>
Set to true
to delete all of the revisions associated with the AutoScalingConfigurationArn
parameter value.
When DeleteAllRevisions
is set to true
, the only valid value for the Amazon Resource Name (ARN) is a partial ARN ending with: .../name
.
Trait Implementations§
source§impl Clone for DeleteAutoScalingConfigurationFluentBuilder
impl Clone for DeleteAutoScalingConfigurationFluentBuilder
source§fn clone(&self) -> DeleteAutoScalingConfigurationFluentBuilder
fn clone(&self) -> DeleteAutoScalingConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more