amazonka-ec2-1.6.1: Amazon Elastic Compute Cloud SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

EC2-VPC only
Updates the description of an egress (outbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously.

You specify the description as part of the IP permissions structure. You can remove a description for a security group rule by omitting the description parameter in the request.

Synopsis

# Creating a Request

Creates a value of UpdateSecurityGroupRuleDescriptionsEgress with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• usgrdeGroupId - The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
• usgrdeGroupName - [Default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.
• usgrdeDryRun - 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 .
• usgrdeIPPermissions - The IP permissions for the security group rule.

See: updateSecurityGroupRuleDescriptionsEgress smart constructor.

Instances

# Request Lenses

The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

Default VPC
The name of the security group. You must specify either the security group ID or the security group name in the request.

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 IP permissions for the security group rule.

# Destructuring the Response

Arguments

 :: Int usgrdersResponseStatus -> UpdateSecurityGroupRuleDescriptionsEgressResponse

Creates a value of UpdateSecurityGroupRuleDescriptionsEgressResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• usgrdersReturn - Returns true if the request succeeds; otherwise, returns an error.
• usgrdersResponseStatus - -- | The response status code.

See: updateSecurityGroupRuleDescriptionsEgressResponse smart constructor.
Returns true if the request succeeds; otherwise, returns an error.