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 |
Updates the description of an ingress (inbound) 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
- updateSecurityGroupRuleDescriptionsIngress :: UpdateSecurityGroupRuleDescriptionsIngress
- data UpdateSecurityGroupRuleDescriptionsIngress
- usgrdiGroupId :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (Maybe Text)
- usgrdiGroupName :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (Maybe Text)
- usgrdiDryRun :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (Maybe Bool)
- usgrdiIPPermissions :: Lens' UpdateSecurityGroupRuleDescriptionsIngress [IPPermission]
- updateSecurityGroupRuleDescriptionsIngressResponse :: Int -> UpdateSecurityGroupRuleDescriptionsIngressResponse
- data UpdateSecurityGroupRuleDescriptionsIngressResponse
- usgrdirsReturn :: Lens' UpdateSecurityGroupRuleDescriptionsIngressResponse (Maybe Bool)
- usgrdirsResponseStatus :: Lens' UpdateSecurityGroupRuleDescriptionsIngressResponse Int
Creating a Request
updateSecurityGroupRuleDescriptionsIngress :: UpdateSecurityGroupRuleDescriptionsIngress Source #
Creates a value of UpdateSecurityGroupRuleDescriptionsIngress
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usgrdiGroupId
- 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.usgrdiGroupName
- [EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.usgrdiDryRun
- 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
.usgrdiIPPermissions
- The IP permissions for the security group rule.
data UpdateSecurityGroupRuleDescriptionsIngress Source #
Contains the parameters for UpdateSecurityGroupRuleDescriptionsIngress.
See: updateSecurityGroupRuleDescriptionsIngress
smart constructor.
Instances
Request Lenses
usgrdiGroupId :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (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.
usgrdiGroupName :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (Maybe Text) Source #
- EC2-Classic, default VPC
- The name of the security group. You must specify either the security group ID or the security group name in the request.
usgrdiDryRun :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (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
.
usgrdiIPPermissions :: Lens' UpdateSecurityGroupRuleDescriptionsIngress [IPPermission] Source #
The IP permissions for the security group rule.
Destructuring the Response
updateSecurityGroupRuleDescriptionsIngressResponse Source #
Creates a value of UpdateSecurityGroupRuleDescriptionsIngressResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usgrdirsReturn
- Returnstrue
if the request succeeds; otherwise, returns an error.usgrdirsResponseStatus
- -- | The response status code.
data UpdateSecurityGroupRuleDescriptionsIngressResponse Source #
Contains the output of UpdateSecurityGroupRuleDescriptionsIngress.
See: updateSecurityGroupRuleDescriptionsIngressResponse
smart constructor.
Instances
Response Lenses
usgrdirsReturn :: Lens' UpdateSecurityGroupRuleDescriptionsIngressResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, returns an error.
usgrdirsResponseStatus :: Lens' UpdateSecurityGroupRuleDescriptionsIngressResponse Int Source #
- - | The response status code.