Struct aws_sdk_ec2::input::ModifyClientVpnEndpointInput
source · #[non_exhaustive]pub struct ModifyClientVpnEndpointInput { /* private fields */ }
Implementations§
source§impl ModifyClientVpnEndpointInput
impl ModifyClientVpnEndpointInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyClientVpnEndpoint, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyClientVpnEndpoint, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyClientVpnEndpoint
>
Examples found in repository?
63252 63253 63254 63255 63256 63257 63258 63259 63260 63261 63262 63263 63264 63265 63266 63267 63268 63269 63270 63271 63272 63273 63274 63275 63276 63277 63278 63279 63280 63281 63282 63283 63284 63285 63286 63287 63288 63289 63290 63291 63292 63293 63294
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyClientVpnEndpoint,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ModifyClientVpnEndpointError>,
> {
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::ModifyClientVpnEndpointOutput,
aws_smithy_http::result::SdkError<crate::error::ModifyClientVpnEndpointError>,
> {
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 ModifyClientVpnEndpointInput
.
source§impl ModifyClientVpnEndpointInput
impl ModifyClientVpnEndpointInput
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 to modify.
sourcepub fn server_certificate_arn(&self) -> Option<&str>
pub fn server_certificate_arn(&self) -> Option<&str>
The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager (ACM).
sourcepub fn connection_log_options(&self) -> Option<&ConnectionLogOptions>
pub fn connection_log_options(&self) -> Option<&ConnectionLogOptions>
Information about the client connection logging options.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
-
Client connection requests
-
Client connection results (successful and unsuccessful)
-
Reasons for unsuccessful client connection requests
-
Client connection termination time
sourcepub fn dns_servers(&self) -> Option<&DnsServersOptionsModifyStructure>
pub fn dns_servers(&self) -> Option<&DnsServersOptionsModifyStructure>
Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.
sourcepub fn vpn_port(&self) -> Option<i32>
pub fn vpn_port(&self) -> Option<i32>
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
Valid Values: 443
| 1194
Default Value: 443
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A brief description of the Client VPN endpoint.
sourcepub fn split_tunnel(&self) -> Option<bool>
pub fn split_tunnel(&self) -> Option<bool>
Indicates whether the VPN is split-tunnel.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn security_group_ids(&self) -> Option<&[String]>
pub fn security_group_ids(&self) -> Option<&[String]>
The IDs of one or more security groups to apply to the target network.
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The ID of the VPC to associate with the Client VPN endpoint.
sourcepub fn self_service_portal(&self) -> Option<&SelfServicePortal>
pub fn self_service_portal(&self) -> Option<&SelfServicePortal>
Specify whether to enable the self-service portal for the Client VPN endpoint.
sourcepub fn client_connect_options(&self) -> Option<&ClientConnectOptions>
pub fn client_connect_options(&self) -> Option<&ClientConnectOptions>
The options for managing connection authorization for new client connections.
sourcepub fn session_timeout_hours(&self) -> Option<i32>
pub fn session_timeout_hours(&self) -> Option<i32>
The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
Trait Implementations§
source§impl Clone for ModifyClientVpnEndpointInput
impl Clone for ModifyClientVpnEndpointInput
source§fn clone(&self) -> ModifyClientVpnEndpointInput
fn clone(&self) -> ModifyClientVpnEndpointInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more