#[non_exhaustive]pub struct GetVpnConnectionDeviceSampleConfigurationInput { /* private fields */ }
Implementations§
source§impl GetVpnConnectionDeviceSampleConfigurationInput
impl GetVpnConnectionDeviceSampleConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetVpnConnectionDeviceSampleConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetVpnConnectionDeviceSampleConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetVpnConnectionDeviceSampleConfiguration
>
Examples found in repository?
src/client.rs (line 61375)
61359 61360 61361 61362 61363 61364 61365 61366 61367 61368 61369 61370 61371 61372 61373 61374 61375 61376 61377 61378 61379 61380 61381 61382 61383 61384 61385 61386 61387 61388 61389 61390 61391 61392 61393 61394 61395 61396 61397 61398 61399 61400 61401 61402 61403 61404 61405
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetVpnConnectionDeviceSampleConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::GetVpnConnectionDeviceSampleConfigurationError,
>,
> {
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::GetVpnConnectionDeviceSampleConfigurationOutput,
aws_smithy_http::result::SdkError<
crate::error::GetVpnConnectionDeviceSampleConfigurationError,
>,
> {
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 GetVpnConnectionDeviceSampleConfigurationInput
.
source§impl GetVpnConnectionDeviceSampleConfigurationInput
impl GetVpnConnectionDeviceSampleConfigurationInput
sourcepub fn vpn_connection_id(&self) -> Option<&str>
pub fn vpn_connection_id(&self) -> Option<&str>
The VpnConnectionId
specifies the Site-to-Site VPN connection used for the sample configuration.
sourcepub fn vpn_connection_device_type_id(&self) -> Option<&str>
pub fn vpn_connection_device_type_id(&self) -> Option<&str>
Device identifier provided by the GetVpnConnectionDeviceTypes
API.
sourcepub fn internet_key_exchange_version(&self) -> Option<&str>
pub fn internet_key_exchange_version(&self) -> Option<&str>
The IKE version to be used in the sample configuration file for your customer gateway device. You can specify one of the following versions: ikev1
or ikev2
.
Trait Implementations§
source§impl Clone for GetVpnConnectionDeviceSampleConfigurationInput
impl Clone for GetVpnConnectionDeviceSampleConfigurationInput
source§fn clone(&self) -> GetVpnConnectionDeviceSampleConfigurationInput
fn clone(&self) -> GetVpnConnectionDeviceSampleConfigurationInput
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