pub struct CreateInterconnect { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateInterconnect
.
Creates an interconnect between an Direct Connect Partner's network and a specific Direct Connect location.
An interconnect is a connection that is capable of hosting other connections. The Direct Connect Partner can use an interconnect to provide Direct Connect hosted connections to customers through their own network services. Like a standard connection, an interconnect links the partner's network to an Direct Connect location over a standard Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an Direct Connect router.
You can automatically add the new interconnect to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new interconnect is allocated on the same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no interconnect is created.
For each end customer, the Direct Connect Partner provisions a connection on their interconnect by calling AllocateHostedConnection
. The end customer can then connect to Amazon Web Services resources by creating a virtual interface on their connection, using the VLAN assigned to them by the Direct Connect Partner.
Intended for use by Direct Connect Partners only.
Implementations
sourceimpl CreateInterconnect
impl CreateInterconnect
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateInterconnect, AwsResponseRetryClassifier>, SdkError<CreateInterconnectError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateInterconnect, AwsResponseRetryClassifier>, SdkError<CreateInterconnectError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateInterconnectOutput, SdkError<CreateInterconnectError>>
pub async fn send(
self
) -> Result<CreateInterconnectOutput, SdkError<CreateInterconnectError>>
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 interconnect_name(self, input: impl Into<String>) -> Self
pub fn interconnect_name(self, input: impl Into<String>) -> Self
The name of the interconnect.
sourcepub fn set_interconnect_name(self, input: Option<String>) -> Self
pub fn set_interconnect_name(self, input: Option<String>) -> Self
The name of the interconnect.
sourcepub fn bandwidth(self, input: impl Into<String>) -> Self
pub fn bandwidth(self, input: impl Into<String>) -> Self
The port bandwidth, in Gbps. The possible values are 1 and 10.
sourcepub fn set_bandwidth(self, input: Option<String>) -> Self
pub fn set_bandwidth(self, input: Option<String>) -> Self
The port bandwidth, in Gbps. The possible values are 1 and 10.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The location of the interconnect.
sourcepub fn set_lag_id(self, input: Option<String>) -> Self
pub fn set_lag_id(self, input: Option<String>) -> Self
The ID of the LAG.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags to associate with the interconnect.
The tags to associate with the interconnect.
sourcepub fn provider_name(self, input: impl Into<String>) -> Self
pub fn provider_name(self, input: impl Into<String>) -> Self
The name of the service provider associated with the interconnect.
sourcepub fn set_provider_name(self, input: Option<String>) -> Self
pub fn set_provider_name(self, input: Option<String>) -> Self
The name of the service provider associated with the interconnect.
Trait Implementations
sourceimpl Clone for CreateInterconnect
impl Clone for CreateInterconnect
sourcefn clone(&self) -> CreateInterconnect
fn clone(&self) -> CreateInterconnect
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more