pub struct AllocateConnectionOnInterconnect { /* private fields */ }Expand description
Fluent builder constructing a request to AllocateConnectionOnInterconnect.
Deprecated. Use AllocateHostedConnection instead.
Creates a hosted connection on an interconnect.
Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the specified interconnect.
Intended for use by Direct Connect Partners only.
Implementations§
source§impl AllocateConnectionOnInterconnect
impl AllocateConnectionOnInterconnect
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AllocateConnectionOnInterconnect, AwsResponseRetryClassifier>, SdkError<AllocateConnectionOnInterconnectError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AllocateConnectionOnInterconnect, AwsResponseRetryClassifier>, SdkError<AllocateConnectionOnInterconnectError>>
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<AllocateConnectionOnInterconnectOutput, SdkError<AllocateConnectionOnInterconnectError>>
pub async fn send(
self
) -> Result<AllocateConnectionOnInterconnectOutput, SdkError<AllocateConnectionOnInterconnectError>>
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 bandwidth(self, input: impl Into<String>) -> Self
pub fn bandwidth(self, input: impl Into<String>) -> Self
The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.
sourcepub fn set_bandwidth(self, input: Option<String>) -> Self
pub fn set_bandwidth(self, input: Option<String>) -> Self
The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.
sourcepub fn connection_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
The name of the provisioned connection.
sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
The name of the provisioned connection.
sourcepub fn owner_account(self, input: impl Into<String>) -> Self
pub fn owner_account(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account of the customer for whom the connection will be provisioned.
sourcepub fn set_owner_account(self, input: Option<String>) -> Self
pub fn set_owner_account(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account of the customer for whom the connection will be provisioned.
sourcepub fn interconnect_id(self, input: impl Into<String>) -> Self
pub fn interconnect_id(self, input: impl Into<String>) -> Self
The ID of the interconnect on which the connection will be provisioned.
sourcepub fn set_interconnect_id(self, input: Option<String>) -> Self
pub fn set_interconnect_id(self, input: Option<String>) -> Self
The ID of the interconnect on which the connection will be provisioned.
Trait Implementations§
source§impl Clone for AllocateConnectionOnInterconnect
impl Clone for AllocateConnectionOnInterconnect
source§fn clone(&self) -> AllocateConnectionOnInterconnect
fn clone(&self) -> AllocateConnectionOnInterconnect
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more