Struct aws_sdk_sagemaker::client::fluent_builders::DeleteEndpointConfig
source ·
[−]pub struct DeleteEndpointConfig<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
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
impl<C, M, R> DeleteEndpointConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteEndpointConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteEndpointConfigOutput, SdkError<DeleteEndpointConfigError>> where
R::Policy: SmithyRetryPolicy<DeleteEndpointConfigInputOperationOutputAlias, DeleteEndpointConfigOutput, DeleteEndpointConfigError, DeleteEndpointConfigInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteEndpointConfigOutput, SdkError<DeleteEndpointConfigError>> where
R::Policy: SmithyRetryPolicy<DeleteEndpointConfigInputOperationOutputAlias, DeleteEndpointConfigOutput, DeleteEndpointConfigError, DeleteEndpointConfigInputOperationRetryAlias>,
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 name of the endpoint configuration that you want to delete.
The name of the endpoint configuration that you want to delete.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteEndpointConfig<C, M, R>
impl<C, M, R> Send for DeleteEndpointConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteEndpointConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteEndpointConfig<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteEndpointConfig<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