Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- EC2-VPC only
- Removes one or more egress rules from a security group for EC2-VPC. This action doesn't apply to security groups for use in EC2-Classic. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly.
Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or source security group. 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 have to specify the description to revoke the rule.
Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
Synopsis
- revokeSecurityGroupEgress :: Text -> RevokeSecurityGroupEgress
- data RevokeSecurityGroupEgress
- rsgeFromPort :: Lens' RevokeSecurityGroupEgress (Maybe Int)
- rsgeIPPermissions :: Lens' RevokeSecurityGroupEgress [IPPermission]
- rsgeIPProtocol :: Lens' RevokeSecurityGroupEgress (Maybe Text)
- rsgeToPort :: Lens' RevokeSecurityGroupEgress (Maybe Int)
- rsgeCidrIP :: Lens' RevokeSecurityGroupEgress (Maybe Text)
- rsgeSourceSecurityGroupOwnerId :: Lens' RevokeSecurityGroupEgress (Maybe Text)
- rsgeSourceSecurityGroupName :: Lens' RevokeSecurityGroupEgress (Maybe Text)
- rsgeDryRun :: Lens' RevokeSecurityGroupEgress (Maybe Bool)
- rsgeGroupId :: Lens' RevokeSecurityGroupEgress Text
- revokeSecurityGroupEgressResponse :: RevokeSecurityGroupEgressResponse
- data RevokeSecurityGroupEgressResponse
Creating a Request
revokeSecurityGroupEgress Source #
Creates a value of RevokeSecurityGroupEgress
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rsgeFromPort
- Not supported. Use a set of IP permissions to specify the port.rsgeIPPermissions
- One or more sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.rsgeIPProtocol
- Not supported. Use a set of IP permissions to specify the protocol name or number.rsgeToPort
- Not supported. Use a set of IP permissions to specify the port.rsgeCidrIP
- Not supported. Use a set of IP permissions to specify the CIDR.rsgeSourceSecurityGroupOwnerId
- Not supported. Use a set of IP permissions to specify a destination security group.rsgeSourceSecurityGroupName
- Not supported. Use a set of IP permissions to specify a destination security group.rsgeDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.rsgeGroupId
- The ID of the security group.
data RevokeSecurityGroupEgress Source #
Contains the parameters for RevokeSecurityGroupEgress.
See: revokeSecurityGroupEgress
smart constructor.
Instances
Request Lenses
rsgeFromPort :: Lens' RevokeSecurityGroupEgress (Maybe Int) Source #
Not supported. Use a set of IP permissions to specify the port.
rsgeIPPermissions :: Lens' RevokeSecurityGroupEgress [IPPermission] Source #
One or more sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.
rsgeIPProtocol :: Lens' RevokeSecurityGroupEgress (Maybe Text) Source #
Not supported. Use a set of IP permissions to specify the protocol name or number.
rsgeToPort :: Lens' RevokeSecurityGroupEgress (Maybe Int) Source #
Not supported. Use a set of IP permissions to specify the port.
rsgeCidrIP :: Lens' RevokeSecurityGroupEgress (Maybe Text) Source #
Not supported. Use a set of IP permissions to specify the CIDR.
rsgeSourceSecurityGroupOwnerId :: Lens' RevokeSecurityGroupEgress (Maybe Text) Source #
Not supported. Use a set of IP permissions to specify a destination security group.
rsgeSourceSecurityGroupName :: Lens' RevokeSecurityGroupEgress (Maybe Text) Source #
Not supported. Use a set of IP permissions to specify a destination security group.
rsgeDryRun :: Lens' RevokeSecurityGroupEgress (Maybe Bool) Source #
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
.
rsgeGroupId :: Lens' RevokeSecurityGroupEgress Text Source #
The ID of the security group.
Destructuring the Response
revokeSecurityGroupEgressResponse :: RevokeSecurityGroupEgressResponse Source #
Creates a value of RevokeSecurityGroupEgressResponse
with the minimum fields required to make a request.
data RevokeSecurityGroupEgressResponse Source #
See: revokeSecurityGroupEgressResponse
smart constructor.