Struct aws_sdk_globalaccelerator::client::fluent_builders::DeleteAccelerator [−][src]
pub struct DeleteAccelerator<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteAccelerator
.
Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources
(listeners and endpoint groups). To disable the accelerator, update the accelerator to set Enabled
to false.
When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP addresses. Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses from those ranges.
The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Authentication and Access Control in the AWS Global Accelerator Developer Guide.
Implementations
impl<C, M, R> DeleteAccelerator<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteAccelerator<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteAcceleratorOutput, SdkError<DeleteAcceleratorError>> where
R::Policy: SmithyRetryPolicy<DeleteAcceleratorInputOperationOutputAlias, DeleteAcceleratorOutput, DeleteAcceleratorError, DeleteAcceleratorInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteAcceleratorOutput, SdkError<DeleteAcceleratorError>> where
R::Policy: SmithyRetryPolicy<DeleteAcceleratorInputOperationOutputAlias, DeleteAcceleratorOutput, DeleteAcceleratorError, DeleteAcceleratorInputOperationRetryAlias>,
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 Amazon Resource Name (ARN) of an accelerator.
The Amazon Resource Name (ARN) of an accelerator.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteAccelerator<C, M, R>
impl<C, M, R> Send for DeleteAccelerator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteAccelerator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteAccelerator<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteAccelerator<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