#[non_exhaustive]pub struct UpdateConnectionInput { /* private fields */ }Implementations§
source§impl UpdateConnectionInput
impl UpdateConnectionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateConnection, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateConnection, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateConnection>
Examples found in repository?
src/client.rs (line 9725)
9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateConnection,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateConnectionError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateConnectionOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateConnectionError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateConnectionInput.
source§impl UpdateConnectionInput
impl UpdateConnectionInput
sourcepub fn global_network_id(&self) -> Option<&str>
pub fn global_network_id(&self) -> Option<&str>
The ID of the global network.
sourcepub fn connection_id(&self) -> Option<&str>
pub fn connection_id(&self) -> Option<&str>
The ID of the connection.
sourcepub fn link_id(&self) -> Option<&str>
pub fn link_id(&self) -> Option<&str>
The ID of the link for the first device in the connection.
sourcepub fn connected_link_id(&self) -> Option<&str>
pub fn connected_link_id(&self) -> Option<&str>
The ID of the link for the second device in the connection.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the connection.
Length Constraints: Maximum length of 256 characters.
Trait Implementations§
source§impl Clone for UpdateConnectionInput
impl Clone for UpdateConnectionInput
source§fn clone(&self) -> UpdateConnectionInput
fn clone(&self) -> UpdateConnectionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more