#[non_exhaustive]pub struct ModifyVpnTunnelCertificateInput { /* private fields */ }
Implementations§
source§impl ModifyVpnTunnelCertificateInput
impl ModifyVpnTunnelCertificateInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyVpnTunnelCertificate, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyVpnTunnelCertificate, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyVpnTunnelCertificate
>
Examples found in repository?
src/client.rs (line 70611)
70597 70598 70599 70600 70601 70602 70603 70604 70605 70606 70607 70608 70609 70610 70611 70612 70613 70614 70615 70616 70617 70618 70619 70620 70621 70622 70623 70624 70625 70626 70627 70628 70629 70630 70631 70632 70633 70634 70635 70636 70637 70638 70639
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyVpnTunnelCertificate,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ModifyVpnTunnelCertificateError>,
> {
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::ModifyVpnTunnelCertificateOutput,
aws_smithy_http::result::SdkError<crate::error::ModifyVpnTunnelCertificateError>,
> {
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 ModifyVpnTunnelCertificateInput
.
source§impl ModifyVpnTunnelCertificateInput
impl ModifyVpnTunnelCertificateInput
sourcepub fn vpn_connection_id(&self) -> Option<&str>
pub fn vpn_connection_id(&self) -> Option<&str>
The ID of the Amazon Web Services Site-to-Site VPN connection.
sourcepub fn vpn_tunnel_outside_ip_address(&self) -> Option<&str>
pub fn vpn_tunnel_outside_ip_address(&self) -> Option<&str>
The external IP address of the VPN tunnel.
Trait Implementations§
source§impl Clone for ModifyVpnTunnelCertificateInput
impl Clone for ModifyVpnTunnelCertificateInput
source§fn clone(&self) -> ModifyVpnTunnelCertificateInput
fn clone(&self) -> ModifyVpnTunnelCertificateInput
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