Struct aws_sdk_globalaccelerator::operation::delete_accelerator::builders::DeleteAcceleratorFluentBuilder
source · pub struct DeleteAcceleratorFluentBuilder { /* private fields */ }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 Identity and access management in the Global Accelerator Developer Guide.
Implementations§
source§impl DeleteAcceleratorFluentBuilder
impl DeleteAcceleratorFluentBuilder
sourcepub fn as_input(&self) -> &DeleteAcceleratorInputBuilder
pub fn as_input(&self) -> &DeleteAcceleratorInputBuilder
Access the DeleteAccelerator as a reference.
sourcepub async fn send(
self
) -> Result<DeleteAcceleratorOutput, SdkError<DeleteAcceleratorError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteAcceleratorOutput, SdkError<DeleteAcceleratorError, 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<DeleteAcceleratorOutput, DeleteAcceleratorError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteAcceleratorOutput, DeleteAcceleratorError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn accelerator_arn(self, input: impl Into<String>) -> Self
pub fn accelerator_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an accelerator.
sourcepub fn set_accelerator_arn(self, input: Option<String>) -> Self
pub fn set_accelerator_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an accelerator.
sourcepub fn get_accelerator_arn(&self) -> &Option<String>
pub fn get_accelerator_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an accelerator.
Trait Implementations§
source§impl Clone for DeleteAcceleratorFluentBuilder
impl Clone for DeleteAcceleratorFluentBuilder
source§fn clone(&self) -> DeleteAcceleratorFluentBuilder
fn clone(&self) -> DeleteAcceleratorFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for DeleteAcceleratorFluentBuilder
impl !RefUnwindSafe for DeleteAcceleratorFluentBuilder
impl Send for DeleteAcceleratorFluentBuilder
impl Sync for DeleteAcceleratorFluentBuilder
impl Unpin for DeleteAcceleratorFluentBuilder
impl !UnwindSafe for DeleteAcceleratorFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more