#[non_exhaustive]pub struct TerminateClientVpnConnectionsInput { /* private fields */ }
Implementations§
source§impl TerminateClientVpnConnectionsInput
impl TerminateClientVpnConnectionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TerminateClientVpnConnections, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TerminateClientVpnConnections, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<TerminateClientVpnConnections
>
Examples found in repository?
src/client.rs (line 78394)
78380 78381 78382 78383 78384 78385 78386 78387 78388 78389 78390 78391 78392 78393 78394 78395 78396 78397 78398 78399 78400 78401 78402 78403 78404 78405 78406 78407 78408 78409 78410 78411 78412 78413 78414 78415 78416 78417 78418 78419 78420 78421 78422
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::TerminateClientVpnConnections,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::TerminateClientVpnConnectionsError>,
> {
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::TerminateClientVpnConnectionsOutput,
aws_smithy_http::result::SdkError<crate::error::TerminateClientVpnConnectionsError>,
> {
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 TerminateClientVpnConnectionsInput
.
source§impl TerminateClientVpnConnectionsInput
impl TerminateClientVpnConnectionsInput
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 to which the client is connected.
sourcepub fn connection_id(&self) -> Option<&str>
pub fn connection_id(&self) -> Option<&str>
The ID of the client connection to be terminated.
Trait Implementations§
source§impl Clone for TerminateClientVpnConnectionsInput
impl Clone for TerminateClientVpnConnectionsInput
source§fn clone(&self) -> TerminateClientVpnConnectionsInput
fn clone(&self) -> TerminateClientVpnConnectionsInput
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