#[non_exhaustive]pub struct DisassociateClientVpnTargetNetworkInput { /* private fields */ }
Implementations§
source§impl DisassociateClientVpnTargetNetworkInput
impl DisassociateClientVpnTargetNetworkInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateClientVpnTargetNetwork, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateClientVpnTargetNetwork, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisassociateClientVpnTargetNetwork
>
Examples found in repository?
src/client.rs (line 54552)
54536 54537 54538 54539 54540 54541 54542 54543 54544 54545 54546 54547 54548 54549 54550 54551 54552 54553 54554 54555 54556 54557 54558 54559 54560 54561 54562 54563 54564 54565 54566 54567 54568 54569 54570 54571 54572 54573 54574 54575 54576 54577 54578 54579 54580 54581 54582
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisassociateClientVpnTargetNetwork,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::DisassociateClientVpnTargetNetworkError,
>,
> {
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::DisassociateClientVpnTargetNetworkOutput,
aws_smithy_http::result::SdkError<
crate::error::DisassociateClientVpnTargetNetworkError,
>,
> {
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 DisassociateClientVpnTargetNetworkInput
.
source§impl DisassociateClientVpnTargetNetworkInput
impl DisassociateClientVpnTargetNetworkInput
sourcepub fn client_vpn_endpoint_id(&self) -> Option<&str>
pub fn client_vpn_endpoint_id(&self) -> Option<&str>
The ID of the Client VPN endpoint from which to disassociate the target network.
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID of the target network association.
Trait Implementations§
source§impl Clone for DisassociateClientVpnTargetNetworkInput
impl Clone for DisassociateClientVpnTargetNetworkInput
source§fn clone(&self) -> DisassociateClientVpnTargetNetworkInput
fn clone(&self) -> DisassociateClientVpnTargetNetworkInput
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