#[non_exhaustive]pub struct RevokeSecurityGroupEgressInput {
pub dry_run: Option<bool>,
pub group_id: Option<String>,
pub ip_permissions: Option<Vec<IpPermission>>,
pub security_group_rule_ids: Option<Vec<String>>,
pub cidr_ip: Option<String>,
pub from_port: Option<i32>,
pub ip_protocol: Option<String>,
pub to_port: Option<i32>,
pub source_security_group_name: Option<String>,
pub source_security_group_owner_id: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dry_run: 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
.
group_id: Option<String>
The ID of the security group.
ip_permissions: Option<Vec<IpPermission>>
The sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.
security_group_rule_ids: Option<Vec<String>>
The IDs of the security group rules.
cidr_ip: Option<String>
Not supported. Use a set of IP permissions to specify the CIDR.
from_port: Option<i32>
Not supported. Use a set of IP permissions to specify the port.
ip_protocol: Option<String>
Not supported. Use a set of IP permissions to specify the protocol name or number.
to_port: Option<i32>
Not supported. Use a set of IP permissions to specify the port.
source_security_group_name: Option<String>
Not supported. Use a set of IP permissions to specify a destination security group.
source_security_group_owner_id: Option<String>
Not supported. Use a set of IP permissions to specify a destination security group.
Implementations§
source§impl RevokeSecurityGroupEgressInput
impl RevokeSecurityGroupEgressInput
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 ip_permissions(&self) -> &[IpPermission]
pub fn ip_permissions(&self) -> &[IpPermission]
The sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ip_permissions.is_none()
.
sourcepub fn security_group_rule_ids(&self) -> &[String]
pub fn security_group_rule_ids(&self) -> &[String]
The IDs of the security group rules.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_rule_ids.is_none()
.
sourcepub fn cidr_ip(&self) -> Option<&str>
pub fn cidr_ip(&self) -> Option<&str>
Not supported. Use a set of IP permissions to specify the CIDR.
sourcepub fn from_port(&self) -> Option<i32>
pub fn from_port(&self) -> Option<i32>
Not supported. Use a set of IP permissions to specify the port.
sourcepub fn ip_protocol(&self) -> Option<&str>
pub fn ip_protocol(&self) -> Option<&str>
Not supported. Use a set of IP permissions to specify the protocol name or number.
sourcepub fn to_port(&self) -> Option<i32>
pub fn to_port(&self) -> Option<i32>
Not supported. Use a set of IP permissions to specify the port.
sourcepub fn source_security_group_name(&self) -> Option<&str>
pub fn source_security_group_name(&self) -> Option<&str>
Not supported. Use a set of IP permissions to specify a destination security group.
sourcepub fn source_security_group_owner_id(&self) -> Option<&str>
pub fn source_security_group_owner_id(&self) -> Option<&str>
Not supported. Use a set of IP permissions to specify a destination security group.
source§impl RevokeSecurityGroupEgressInput
impl RevokeSecurityGroupEgressInput
sourcepub fn builder() -> RevokeSecurityGroupEgressInputBuilder
pub fn builder() -> RevokeSecurityGroupEgressInputBuilder
Creates a new builder-style object to manufacture RevokeSecurityGroupEgressInput
.
Trait Implementations§
source§impl Clone for RevokeSecurityGroupEgressInput
impl Clone for RevokeSecurityGroupEgressInput
source§fn clone(&self) -> RevokeSecurityGroupEgressInput
fn clone(&self) -> RevokeSecurityGroupEgressInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RevokeSecurityGroupEgressInput
impl PartialEq for RevokeSecurityGroupEgressInput
source§fn eq(&self, other: &RevokeSecurityGroupEgressInput) -> bool
fn eq(&self, other: &RevokeSecurityGroupEgressInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RevokeSecurityGroupEgressInput
Auto Trait Implementations§
impl Freeze for RevokeSecurityGroupEgressInput
impl RefUnwindSafe for RevokeSecurityGroupEgressInput
impl Send for RevokeSecurityGroupEgressInput
impl Sync for RevokeSecurityGroupEgressInput
impl Unpin for RevokeSecurityGroupEgressInput
impl UnwindSafe for RevokeSecurityGroupEgressInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more