pub struct RevokeSecurityGroupEgress { /* private fields */ }
Expand description

Fluent builder constructing a request to RevokeSecurityGroupEgress.

[VPC only] Removes the specified outbound (egress) rules from a security group for EC2-VPC. This action does not apply to security groups for use in EC2-Classic.

You can specify rules using either rule IDs or security group rule properties. If you use rule properties, the values that you specify (for example, ports) must match the existing rule's values exactly. Each rule has a protocol, from and to ports, and destination (CIDR range, security group, or prefix list). For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not need to specify the description to revoke the rule.

[Default VPC] If the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked.

Amazon Web Services recommends that you describe the security group to verify that the rules were removed.

Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.

Implementations§

Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.

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, which can be set when configuring the client.

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.

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.

The ID of the security group.

The ID of the security group.

Appends an item to IpPermissions.

To override the contents of this collection use set_ip_permissions.

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.

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.

Appends an item to SecurityGroupRuleIds.

To override the contents of this collection use set_security_group_rule_ids.

The IDs of the security group rules.

The IDs of the security group rules.

Not supported. Use a set of IP permissions to specify the CIDR.

Not supported. Use a set of IP permissions to specify the CIDR.

Not supported. Use a set of IP permissions to specify the port.

Not supported. Use a set of IP permissions to specify the port.

Not supported. Use a set of IP permissions to specify the protocol name or number.

Not supported. Use a set of IP permissions to specify the protocol name or number.

Not supported. Use a set of IP permissions to specify the port.

Not supported. Use a set of IP permissions to specify the port.

Not supported. Use a set of IP permissions to specify a destination security group.

Not supported. Use a set of IP permissions to specify a destination security group.

Not supported. Use a set of IP permissions to specify a destination security group.

Not supported. Use a set of IP permissions to specify a destination security group.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more