pub struct AllocateHostedConnection<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to AllocateHostedConnection.
Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects.
Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the specified interconnect or LAG of interconnects. Amazon Web Services polices the hosted connection for the specified capacity and the Direct Connect Partner must also police the hosted connection for the specified capacity.
Intended for use by Direct Connect Partners only.
Implementations
impl<C, M, R> AllocateHostedConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AllocateHostedConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AllocateHostedConnectionOutput, SdkError<AllocateHostedConnectionError>> where
R::Policy: SmithyRetryPolicy<AllocateHostedConnectionInputOperationOutputAlias, AllocateHostedConnectionOutput, AllocateHostedConnectionError, AllocateHostedConnectionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AllocateHostedConnectionOutput, SdkError<AllocateHostedConnectionError>> where
R::Policy: SmithyRetryPolicy<AllocateHostedConnectionInputOperationOutputAlias, AllocateHostedConnectionOutput, AllocateHostedConnectionError, AllocateHostedConnectionInputOperationRetryAlias>,
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.
The ID of the interconnect or LAG.
The ID of the interconnect or LAG.
The ID of the Amazon Web Services account ID of the customer for the connection.
The ID of the Amazon Web Services account ID of the customer for the connection.
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.
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.
The name of the hosted connection.
The name of the hosted connection.
The dedicated VLAN provisioned to the hosted connection.
Appends an item to tags.
To override the contents of this collection use set_tags.
The tags associated with the connection.
The tags associated with the connection.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for AllocateHostedConnection<C, M, R>
impl<C, M, R> Send for AllocateHostedConnection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AllocateHostedConnection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AllocateHostedConnection<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AllocateHostedConnection<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more