Struct aws_sdk_directconnect::client::fluent_builders::UpdateConnection [−][src]
pub struct UpdateConnection<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to UpdateConnection.
Updates the Direct Connect dedicated connection configuration.
You can update the following parameters for a connection:
-
The connection name
-
The connection's MAC Security (MACsec) encryption mode.
Implementations
impl<C, M, R> UpdateConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateConnectionOutput, SdkError<UpdateConnectionError>> where
R::Policy: SmithyRetryPolicy<UpdateConnectionInputOperationOutputAlias, UpdateConnectionOutput, UpdateConnectionError, UpdateConnectionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateConnectionOutput, SdkError<UpdateConnectionError>> where
R::Policy: SmithyRetryPolicy<UpdateConnectionInputOperationOutputAlias, UpdateConnectionOutput, UpdateConnectionError, UpdateConnectionInputOperationRetryAlias>,
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 dedicated connection.
You can use DescribeConnections to retrieve the connection ID.
The ID of the dedicated connection.
You can use DescribeConnections to retrieve the connection ID.
The name of the connection.
The name of the connection.
The connection MAC Security (MACsec) encryption mode.
The valid values are no_encrypt, should_encrypt, and must_encrypt.
The connection MAC Security (MACsec) encryption mode.
The valid values are no_encrypt, should_encrypt, and must_encrypt.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateConnection<C, M, R>
impl<C, M, R> Send for UpdateConnection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateConnection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateConnection<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateConnection<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