aws_sdk_globalaccelerator/client/
delete_custom_routing_accelerator.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteCustomRoutingAccelerator`](crate::operation::delete_custom_routing_accelerator::builders::DeleteCustomRoutingAcceleratorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`accelerator_arn(impl Into<String>)`](crate::operation::delete_custom_routing_accelerator::builders::DeleteCustomRoutingAcceleratorFluentBuilder::accelerator_arn) / [`set_accelerator_arn(Option<String>)`](crate::operation::delete_custom_routing_accelerator::builders::DeleteCustomRoutingAcceleratorFluentBuilder::set_accelerator_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the custom routing accelerator to delete.</p><br>
7    /// - On success, responds with [`DeleteCustomRoutingAcceleratorOutput`](crate::operation::delete_custom_routing_accelerator::DeleteCustomRoutingAcceleratorOutput)
8    /// - On failure, responds with [`SdkError<DeleteCustomRoutingAcceleratorError>`](crate::operation::delete_custom_routing_accelerator::DeleteCustomRoutingAcceleratorError)
9    pub fn delete_custom_routing_accelerator(
10        &self,
11    ) -> crate::operation::delete_custom_routing_accelerator::builders::DeleteCustomRoutingAcceleratorFluentBuilder {
12        crate::operation::delete_custom_routing_accelerator::builders::DeleteCustomRoutingAcceleratorFluentBuilder::new(self.handle.clone())
13    }
14}