Struct rusoto_ec2::RevokeSecurityGroupEgressRequest
[−]
[src]
pub struct RevokeSecurityGroupEgressRequest { pub cidr_ip: Option<String>, pub dry_run: Option<bool>, pub from_port: Option<i64>, pub group_id: String, pub ip_permissions: Option<Vec<IpPermission>>, pub ip_protocol: Option<String>, pub source_security_group_name: Option<String>, pub source_security_group_owner_id: Option<String>, pub to_port: Option<i64>, }
Contains the parameters for RevokeSecurityGroupEgress.
Fields
cidr_ip: Option<String>
The CIDR IP address range. We recommend that you specify the CIDR range in a set of IP permissions instead.
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
.
from_port: Option<i64>
The start of port range for the TCP and UDP protocols, or an ICMP type number. We recommend that you specify the port range in a set of IP permissions instead.
group_id: String
The ID of the security group.
ip_permissions: Option<Vec<IpPermission>>
A set of IP permissions. You can't specify a destination security group and a CIDR IP address range.
ip_protocol: Option<String>
The IP protocol name or number. We recommend that you specify the protocol in a set of IP permissions instead.
source_security_group_name: Option<String>
The name of a destination security group. To revoke outbound access to a destination security group, we recommend that you use a set of IP permissions instead.
source_security_group_owner_id: Option<String>
The AWS account number for a destination security group. To revoke outbound access to a destination security group, we recommend that you use a set of IP permissions instead.
to_port: Option<i64>
The end of port range for the TCP and UDP protocols, or an ICMP type number. We recommend that you specify the port range in a set of IP permissions instead.
Trait Implementations
impl Default for RevokeSecurityGroupEgressRequest
[src]
fn default() -> RevokeSecurityGroupEgressRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for RevokeSecurityGroupEgressRequest
[src]
impl Clone for RevokeSecurityGroupEgressRequest
[src]
fn clone(&self) -> RevokeSecurityGroupEgressRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more