#[non_exhaustive]pub struct ExportClientVpnClientConfigurationInput { /* private fields */ }
Implementations§
source§impl ExportClientVpnClientConfigurationInput
impl ExportClientVpnClientConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExportClientVpnClientConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExportClientVpnClientConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ExportClientVpnClientConfiguration
>
Examples found in repository?
src/client.rs (line 56767)
56751 56752 56753 56754 56755 56756 56757 56758 56759 56760 56761 56762 56763 56764 56765 56766 56767 56768 56769 56770 56771 56772 56773 56774 56775 56776 56777 56778 56779 56780 56781 56782 56783 56784 56785 56786 56787 56788 56789 56790 56791 56792 56793 56794 56795 56796 56797
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ExportClientVpnClientConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::ExportClientVpnClientConfigurationError,
>,
> {
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::ExportClientVpnClientConfigurationOutput,
aws_smithy_http::result::SdkError<
crate::error::ExportClientVpnClientConfigurationError,
>,
> {
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 ExportClientVpnClientConfigurationInput
.
source§impl ExportClientVpnClientConfigurationInput
impl ExportClientVpnClientConfigurationInput
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.
Trait Implementations§
source§impl Clone for ExportClientVpnClientConfigurationInput
impl Clone for ExportClientVpnClientConfigurationInput
source§fn clone(&self) -> ExportClientVpnClientConfigurationInput
fn clone(&self) -> ExportClientVpnClientConfigurationInput
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