Struct aws_sdk_ec2::input::RevokeClientVpnIngressInput
source · #[non_exhaustive]pub struct RevokeClientVpnIngressInput { /* private fields */ }
Implementations§
source§impl RevokeClientVpnIngressInput
impl RevokeClientVpnIngressInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RevokeClientVpnIngress, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RevokeClientVpnIngress, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<RevokeClientVpnIngress
>
Examples found in repository?
src/client.rs (line 75941)
75927 75928 75929 75930 75931 75932 75933 75934 75935 75936 75937 75938 75939 75940 75941 75942 75943 75944 75945 75946 75947 75948 75949 75950 75951 75952 75953 75954 75955 75956 75957 75958 75959 75960 75961 75962 75963 75964 75965 75966 75967 75968 75969
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::RevokeClientVpnIngress,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::RevokeClientVpnIngressError>,
> {
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::RevokeClientVpnIngressOutput,
aws_smithy_http::result::SdkError<crate::error::RevokeClientVpnIngressError>,
> {
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 RevokeClientVpnIngressInput
.
source§impl RevokeClientVpnIngressInput
impl RevokeClientVpnIngressInput
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 with which the authorization rule is associated.
sourcepub fn target_network_cidr(&self) -> Option<&str>
pub fn target_network_cidr(&self) -> Option<&str>
The IPv4 address range, in CIDR notation, of the network for which access is being removed.
sourcepub fn access_group_id(&self) -> Option<&str>
pub fn access_group_id(&self) -> Option<&str>
The ID of the Active Directory group for which to revoke access.
sourcepub fn revoke_all_groups(&self) -> Option<bool>
pub fn revoke_all_groups(&self) -> Option<bool>
Indicates whether access should be revoked for all clients.
Trait Implementations§
source§impl Clone for RevokeClientVpnIngressInput
impl Clone for RevokeClientVpnIngressInput
source§fn clone(&self) -> RevokeClientVpnIngressInput
fn clone(&self) -> RevokeClientVpnIngressInput
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