Struct aws_sdk_ec2::input::DeleteClientVpnEndpointInput
source · #[non_exhaustive]pub struct DeleteClientVpnEndpointInput { /* private fields */ }
Implementations§
source§impl DeleteClientVpnEndpointInput
impl DeleteClientVpnEndpointInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteClientVpnEndpoint, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteClientVpnEndpoint, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteClientVpnEndpoint
>
Examples found in repository?
src/client.rs (line 25789)
25775 25776 25777 25778 25779 25780 25781 25782 25783 25784 25785 25786 25787 25788 25789 25790 25791 25792 25793 25794 25795 25796 25797 25798 25799 25800 25801 25802 25803 25804 25805 25806 25807 25808 25809 25810 25811 25812 25813 25814 25815 25816 25817
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteClientVpnEndpoint,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteClientVpnEndpointError>,
> {
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::DeleteClientVpnEndpointOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteClientVpnEndpointError>,
> {
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 DeleteClientVpnEndpointInput
.
source§impl DeleteClientVpnEndpointInput
impl DeleteClientVpnEndpointInput
sourcepub fn client_vpn_endpoint_id(&self) -> Option<&str>
pub fn client_vpn_endpoint_id(&self) -> Option<&str>
The ID of the Client VPN to be deleted.
Trait Implementations§
source§impl Clone for DeleteClientVpnEndpointInput
impl Clone for DeleteClientVpnEndpointInput
source§fn clone(&self) -> DeleteClientVpnEndpointInput
fn clone(&self) -> DeleteClientVpnEndpointInput
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