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 permissions for the security group rules.
tag_specifications: Option<Vec<TagSpecification>>
The tags applied to the security group rule.
cidr_ip: Option<String>
Not supported. Use IP permissions instead.
from_port: Option<i32>
Not supported. Use IP permissions instead.
ip_protocol: Option<String>
Not supported. Use IP permissions instead.
to_port: Option<i32>
Not supported. Use IP permissions instead.
source_security_group_name: Option<String>
Not supported. Use IP permissions instead.
source_security_group_owner_id: Option<String>
Not supported. Use IP permissions instead.
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 permissions for 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 .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 ip_protocol(&self) -> Option<&str>
pub fn ip_protocol(&self) -> Option<&str>
Not supported. Use IP permissions instead.
sourcepub fn source_security_group_name(&self) -> Option<&str>
pub fn source_security_group_name(&self) -> Option<&str>
Not supported. Use IP permissions instead.
sourcepub fn source_security_group_owner_id(&self) -> Option<&str>
pub fn source_security_group_owner_id(&self) -> Option<&str>
Not supported. Use IP permissions instead.
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 ==
.