aws_sdk_globalaccelerator/client/create_custom_routing_endpoint_group.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 [`CreateCustomRoutingEndpointGroup`](crate::operation::create_custom_routing_endpoint_group::builders::CreateCustomRoutingEndpointGroupFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`listener_arn(impl Into<String>)`](crate::operation::create_custom_routing_endpoint_group::builders::CreateCustomRoutingEndpointGroupFluentBuilder::listener_arn) / [`set_listener_arn(Option<String>)`](crate::operation::create_custom_routing_endpoint_group::builders::CreateCustomRoutingEndpointGroupFluentBuilder::set_listener_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the listener for a custom routing endpoint.</p><br>
7 /// - [`endpoint_group_region(impl Into<String>)`](crate::operation::create_custom_routing_endpoint_group::builders::CreateCustomRoutingEndpointGroupFluentBuilder::endpoint_group_region) / [`set_endpoint_group_region(Option<String>)`](crate::operation::create_custom_routing_endpoint_group::builders::CreateCustomRoutingEndpointGroupFluentBuilder::set_endpoint_group_region):<br>required: **true**<br><p>The Amazon Web Services Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region.</p><br>
8 /// - [`destination_configurations(CustomRoutingDestinationConfiguration)`](crate::operation::create_custom_routing_endpoint_group::builders::CreateCustomRoutingEndpointGroupFluentBuilder::destination_configurations) / [`set_destination_configurations(Option<Vec::<CustomRoutingDestinationConfiguration>>)`](crate::operation::create_custom_routing_endpoint_group::builders::CreateCustomRoutingEndpointGroupFluentBuilder::set_destination_configurations):<br>required: **true**<br><p>Sets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.</p><br>
9 /// - [`idempotency_token(impl Into<String>)`](crate::operation::create_custom_routing_endpoint_group::builders::CreateCustomRoutingEndpointGroupFluentBuilder::idempotency_token) / [`set_idempotency_token(Option<String>)`](crate::operation::create_custom_routing_endpoint_group::builders::CreateCustomRoutingEndpointGroupFluentBuilder::set_idempotency_token):<br>required: **true**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.</p><br>
10 /// - On success, responds with [`CreateCustomRoutingEndpointGroupOutput`](crate::operation::create_custom_routing_endpoint_group::CreateCustomRoutingEndpointGroupOutput) with field(s):
11 /// - [`endpoint_group(Option<CustomRoutingEndpointGroup>)`](crate::operation::create_custom_routing_endpoint_group::CreateCustomRoutingEndpointGroupOutput::endpoint_group): <p>The information about the endpoint group created for a custom routing accelerator.</p>
12 /// - On failure, responds with [`SdkError<CreateCustomRoutingEndpointGroupError>`](crate::operation::create_custom_routing_endpoint_group::CreateCustomRoutingEndpointGroupError)
13 pub fn create_custom_routing_endpoint_group(
14 &self,
15 ) -> crate::operation::create_custom_routing_endpoint_group::builders::CreateCustomRoutingEndpointGroupFluentBuilder {
16 crate::operation::create_custom_routing_endpoint_group::builders::CreateCustomRoutingEndpointGroupFluentBuilder::new(self.handle.clone())
17 }
18}