#[non_exhaustive]pub struct ApplySecurityGroupsToClientVpnTargetNetworkInput { /* private fields */ }
Implementations§
source§impl ApplySecurityGroupsToClientVpnTargetNetworkInput
impl ApplySecurityGroupsToClientVpnTargetNetworkInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ApplySecurityGroupsToClientVpnTargetNetwork, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ApplySecurityGroupsToClientVpnTargetNetwork, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ApplySecurityGroupsToClientVpnTargetNetwork
>
Examples found in repository?
src/client.rs (line 9572)
9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ApplySecurityGroupsToClientVpnTargetNetwork,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::ApplySecurityGroupsToClientVpnTargetNetworkError,
>,
> {
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::ApplySecurityGroupsToClientVpnTargetNetworkOutput,
aws_smithy_http::result::SdkError<
crate::error::ApplySecurityGroupsToClientVpnTargetNetworkError,
>,
> {
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 ApplySecurityGroupsToClientVpnTargetNetworkInput
.
source§impl ApplySecurityGroupsToClientVpnTargetNetworkInput
impl ApplySecurityGroupsToClientVpnTargetNetworkInput
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.
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The ID of the VPC in which the associated target network is located.
sourcepub fn security_group_ids(&self) -> Option<&[String]>
pub fn security_group_ids(&self) -> Option<&[String]>
The IDs of the security groups to apply to the associated target network. Up to 5 security groups can be applied to an associated target network.
Trait Implementations§
source§impl Clone for ApplySecurityGroupsToClientVpnTargetNetworkInput
impl Clone for ApplySecurityGroupsToClientVpnTargetNetworkInput
source§fn clone(&self) -> ApplySecurityGroupsToClientVpnTargetNetworkInput
fn clone(&self) -> ApplySecurityGroupsToClientVpnTargetNetworkInput
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