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
- 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.
- updateSecurityGroupRuleDescriptionsEgress :: UpdateSecurityGroupRuleDescriptionsEgress
- data UpdateSecurityGroupRuleDescriptionsEgress
- usgrdeGroupId :: Lens' UpdateSecurityGroupRuleDescriptionsEgress (Maybe Text)
- usgrdeGroupName :: Lens' UpdateSecurityGroupRuleDescriptionsEgress (Maybe Text)
- usgrdeDryRun :: Lens' UpdateSecurityGroupRuleDescriptionsEgress (Maybe Bool)
- usgrdeIPPermissions :: Lens' UpdateSecurityGroupRuleDescriptionsEgress [IPPermission]
- updateSecurityGroupRuleDescriptionsEgressResponse :: Int -> UpdateSecurityGroupRuleDescriptionsEgressResponse
- data UpdateSecurityGroupRuleDescriptionsEgressResponse
- usgrdersReturn :: Lens' UpdateSecurityGroupRuleDescriptionsEgressResponse (Maybe Bool)
- usgrdersResponseStatus :: Lens' UpdateSecurityGroupRuleDescriptionsEgressResponse Int
Creating a Request
updateSecurityGroupRuleDescriptionsEgress :: UpdateSecurityGroupRuleDescriptionsEgress Source #
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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.usgrdeIPPermissions
- The IP permissions for the security group rule.
data UpdateSecurityGroupRuleDescriptionsEgress Source #
Contains the parameters for UpdateSecurityGroupRuleDescriptionsEgress.
See: updateSecurityGroupRuleDescriptionsEgress
smart constructor.
Request Lenses
usgrdeGroupId :: Lens' UpdateSecurityGroupRuleDescriptionsEgress (Maybe Text) Source #
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 :: Lens' UpdateSecurityGroupRuleDescriptionsEgress (Maybe Text) Source #
- 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 :: Lens' UpdateSecurityGroupRuleDescriptionsEgress (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
.
usgrdeIPPermissions :: Lens' UpdateSecurityGroupRuleDescriptionsEgress [IPPermission] Source #
The IP permissions for the security group rule.
Destructuring the Response
updateSecurityGroupRuleDescriptionsEgressResponse Source #
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
- Returnstrue
if the request succeeds; otherwise, returns an error.usgrdersResponseStatus
- -- | The response status code.
data UpdateSecurityGroupRuleDescriptionsEgressResponse Source #
Contains the output of UpdateSecurityGroupRuleDescriptionsEgress.
See: updateSecurityGroupRuleDescriptionsEgressResponse
smart constructor.
Response Lenses
usgrdersReturn :: Lens' UpdateSecurityGroupRuleDescriptionsEgressResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, returns an error.
usgrdersResponseStatus :: Lens' UpdateSecurityGroupRuleDescriptionsEgressResponse Int Source #
- - | The response status code.