#[non_exhaustive]pub struct ModifyVpnConnectionOptionsInput { /* private fields */ }
Implementations§
source§impl ModifyVpnConnectionOptionsInput
impl ModifyVpnConnectionOptionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyVpnConnectionOptions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyVpnConnectionOptions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyVpnConnectionOptions
>
Examples found in repository?
src/client.rs (line 70465)
70451 70452 70453 70454 70455 70456 70457 70458 70459 70460 70461 70462 70463 70464 70465 70466 70467 70468 70469 70470 70471 70472 70473 70474 70475 70476 70477 70478 70479 70480 70481 70482 70483 70484 70485 70486 70487 70488 70489 70490 70491 70492 70493
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyVpnConnectionOptions,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ModifyVpnConnectionOptionsError>,
> {
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::ModifyVpnConnectionOptionsOutput,
aws_smithy_http::result::SdkError<crate::error::ModifyVpnConnectionOptionsError>,
> {
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 ModifyVpnConnectionOptionsInput
.
source§impl ModifyVpnConnectionOptionsInput
impl ModifyVpnConnectionOptionsInput
sourcepub fn vpn_connection_id(&self) -> Option<&str>
pub fn vpn_connection_id(&self) -> Option<&str>
The ID of the Site-to-Site VPN connection.
sourcepub fn local_ipv4_network_cidr(&self) -> Option<&str>
pub fn local_ipv4_network_cidr(&self) -> Option<&str>
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
sourcepub fn remote_ipv4_network_cidr(&self) -> Option<&str>
pub fn remote_ipv4_network_cidr(&self) -> Option<&str>
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
sourcepub fn local_ipv6_network_cidr(&self) -> Option<&str>
pub fn local_ipv6_network_cidr(&self) -> Option<&str>
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
sourcepub fn remote_ipv6_network_cidr(&self) -> Option<&str>
pub fn remote_ipv6_network_cidr(&self) -> Option<&str>
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
Trait Implementations§
source§impl Clone for ModifyVpnConnectionOptionsInput
impl Clone for ModifyVpnConnectionOptionsInput
source§fn clone(&self) -> ModifyVpnConnectionOptionsInput
fn clone(&self) -> ModifyVpnConnectionOptionsInput
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