Struct aws_sdk_ec2::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressInput
source · #[non_exhaustive]pub struct AuthorizeSecurityGroupEgressInput {
pub dry_run: Option<bool>,
pub group_id: Option<String>,
pub ip_permissions: Option<Vec<IpPermission>>,
pub tag_specifications: Option<Vec<TagSpecification>>,
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.
tag_specifications: Option<Vec<TagSpecification>>
The tags applied to the security group rule.
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 AuthorizeSecurityGroupEgressInput
impl AuthorizeSecurityGroupEgressInput
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 tag_specifications(&self) -> &[TagSpecification]
pub fn tag_specifications(&self) -> &[TagSpecification]
The tags applied to the security group rule.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tag_specifications.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 AuthorizeSecurityGroupEgressInput
impl AuthorizeSecurityGroupEgressInput
sourcepub fn builder() -> AuthorizeSecurityGroupEgressInputBuilder
pub fn builder() -> AuthorizeSecurityGroupEgressInputBuilder
Creates a new builder-style object to manufacture AuthorizeSecurityGroupEgressInput
.
Trait Implementations§
source§impl Clone for AuthorizeSecurityGroupEgressInput
impl Clone for AuthorizeSecurityGroupEgressInput
source§fn clone(&self) -> AuthorizeSecurityGroupEgressInput
fn clone(&self) -> AuthorizeSecurityGroupEgressInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AuthorizeSecurityGroupEgressInput
impl PartialEq for AuthorizeSecurityGroupEgressInput
source§fn eq(&self, other: &AuthorizeSecurityGroupEgressInput) -> bool
fn eq(&self, other: &AuthorizeSecurityGroupEgressInput) -> bool
self
and other
values to be equal, and is used
by ==
.