aws_sdk_globalaccelerator/client/
add_custom_routing_endpoints.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 [`AddCustomRoutingEndpoints`](crate::operation::add_custom_routing_endpoints::builders::AddCustomRoutingEndpointsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`endpoint_configurations(CustomRoutingEndpointConfiguration)`](crate::operation::add_custom_routing_endpoints::builders::AddCustomRoutingEndpointsFluentBuilder::endpoint_configurations) / [`set_endpoint_configurations(Option<Vec::<CustomRoutingEndpointConfiguration>>)`](crate::operation::add_custom_routing_endpoints::builders::AddCustomRoutingEndpointsFluentBuilder::set_endpoint_configurations):<br>required: **true**<br><p>The list of endpoint objects to add to a custom routing accelerator.</p><br>
7    ///   - [`endpoint_group_arn(impl Into<String>)`](crate::operation::add_custom_routing_endpoints::builders::AddCustomRoutingEndpointsFluentBuilder::endpoint_group_arn) / [`set_endpoint_group_arn(Option<String>)`](crate::operation::add_custom_routing_endpoints::builders::AddCustomRoutingEndpointsFluentBuilder::set_endpoint_group_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the endpoint group for the custom routing endpoint.</p><br>
8    /// - On success, responds with [`AddCustomRoutingEndpointsOutput`](crate::operation::add_custom_routing_endpoints::AddCustomRoutingEndpointsOutput) with field(s):
9    ///   - [`endpoint_descriptions(Option<Vec::<CustomRoutingEndpointDescription>>)`](crate::operation::add_custom_routing_endpoints::AddCustomRoutingEndpointsOutput::endpoint_descriptions): <p>The endpoint objects added to the custom routing accelerator.</p>
10    ///   - [`endpoint_group_arn(Option<String>)`](crate::operation::add_custom_routing_endpoints::AddCustomRoutingEndpointsOutput::endpoint_group_arn): <p>The Amazon Resource Name (ARN) of the endpoint group for the custom routing endpoint.</p>
11    /// - On failure, responds with [`SdkError<AddCustomRoutingEndpointsError>`](crate::operation::add_custom_routing_endpoints::AddCustomRoutingEndpointsError)
12    pub fn add_custom_routing_endpoints(&self) -> crate::operation::add_custom_routing_endpoints::builders::AddCustomRoutingEndpointsFluentBuilder {
13        crate::operation::add_custom_routing_endpoints::builders::AddCustomRoutingEndpointsFluentBuilder::new(self.handle.clone())
14    }
15}