pub struct DeleteEndpointConfig { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteEndpointConfig
.
Deletes an endpoint configuration. The DeleteEndpointConfig
API deletes only the specified configuration. It does not delete endpoints created using the configuration.
You must not delete an EndpointConfig
in use by an endpoint that is live or while the UpdateEndpoint
or CreateEndpoint
operations are being performed on the endpoint. If you delete the EndpointConfig
of an endpoint that is active or being created or updated you may lose visibility into the instance type the endpoint is using. The endpoint must be deleted in order to stop incurring charges.
Implementations§
source§impl DeleteEndpointConfig
impl DeleteEndpointConfig
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteEndpointConfig, AwsResponseRetryClassifier>, SdkError<DeleteEndpointConfigError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteEndpointConfig, AwsResponseRetryClassifier>, SdkError<DeleteEndpointConfigError>>
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<DeleteEndpointConfigOutput, SdkError<DeleteEndpointConfigError>>
pub async fn send(
self
) -> Result<DeleteEndpointConfigOutput, SdkError<DeleteEndpointConfigError>>
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 endpoint_config_name(self, input: impl Into<String>) -> Self
pub fn endpoint_config_name(self, input: impl Into<String>) -> Self
The name of the endpoint configuration that you want to delete.
sourcepub fn set_endpoint_config_name(self, input: Option<String>) -> Self
pub fn set_endpoint_config_name(self, input: Option<String>) -> Self
The name of the endpoint configuration that you want to delete.
Trait Implementations§
source§impl Clone for DeleteEndpointConfig
impl Clone for DeleteEndpointConfig
source§fn clone(&self) -> DeleteEndpointConfig
fn clone(&self) -> DeleteEndpointConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more