Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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 can remove a description for a security group rule by omitting the description parameter in the request.
Synopsis
- data UpdateSecurityGroupRuleDescriptionsIngress = UpdateSecurityGroupRuleDescriptionsIngress' {}
- newUpdateSecurityGroupRuleDescriptionsIngress :: UpdateSecurityGroupRuleDescriptionsIngress
- updateSecurityGroupRuleDescriptionsIngress_dryRun :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (Maybe Bool)
- updateSecurityGroupRuleDescriptionsIngress_groupId :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (Maybe Text)
- updateSecurityGroupRuleDescriptionsIngress_groupName :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (Maybe Text)
- updateSecurityGroupRuleDescriptionsIngress_ipPermissions :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (Maybe [IpPermission])
- updateSecurityGroupRuleDescriptionsIngress_securityGroupRuleDescriptions :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (Maybe [SecurityGroupRuleDescription])
- data UpdateSecurityGroupRuleDescriptionsIngressResponse = UpdateSecurityGroupRuleDescriptionsIngressResponse' {
- return' :: Maybe Bool
- httpStatus :: Int
- newUpdateSecurityGroupRuleDescriptionsIngressResponse :: Int -> UpdateSecurityGroupRuleDescriptionsIngressResponse
- updateSecurityGroupRuleDescriptionsIngressResponse_return :: Lens' UpdateSecurityGroupRuleDescriptionsIngressResponse (Maybe Bool)
- updateSecurityGroupRuleDescriptionsIngressResponse_httpStatus :: Lens' UpdateSecurityGroupRuleDescriptionsIngressResponse Int
Creating a Request
data UpdateSecurityGroupRuleDescriptionsIngress Source #
See: newUpdateSecurityGroupRuleDescriptionsIngress
smart constructor.
UpdateSecurityGroupRuleDescriptionsIngress' | |
|
Instances
newUpdateSecurityGroupRuleDescriptionsIngress :: UpdateSecurityGroupRuleDescriptionsIngress Source #
Create a value of UpdateSecurityGroupRuleDescriptionsIngress
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:UpdateSecurityGroupRuleDescriptionsIngress'
, updateSecurityGroupRuleDescriptionsIngress_dryRun
- 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
.
UpdateSecurityGroupRuleDescriptionsIngress
, updateSecurityGroupRuleDescriptionsIngress_groupId
- 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.
UpdateSecurityGroupRuleDescriptionsIngress
, updateSecurityGroupRuleDescriptionsIngress_groupName
- [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. For security groups in a nondefault VPC, you must specify the
security group ID.
UpdateSecurityGroupRuleDescriptionsIngress
, updateSecurityGroupRuleDescriptionsIngress_ipPermissions
- The IP permissions for the security group rule. You must specify either
IP permissions or a description.
$sel:securityGroupRuleDescriptions:UpdateSecurityGroupRuleDescriptionsIngress'
, updateSecurityGroupRuleDescriptionsIngress_securityGroupRuleDescriptions
- [VPC only] The description for the ingress security group rules. You
must specify either a description or IP permissions.
Request Lenses
updateSecurityGroupRuleDescriptionsIngress_dryRun :: 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
.
updateSecurityGroupRuleDescriptionsIngress_groupId :: 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.
updateSecurityGroupRuleDescriptionsIngress_groupName :: 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. For security groups in a nondefault VPC, you must specify the security group ID.
updateSecurityGroupRuleDescriptionsIngress_ipPermissions :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (Maybe [IpPermission]) Source #
The IP permissions for the security group rule. You must specify either IP permissions or a description.
updateSecurityGroupRuleDescriptionsIngress_securityGroupRuleDescriptions :: Lens' UpdateSecurityGroupRuleDescriptionsIngress (Maybe [SecurityGroupRuleDescription]) Source #
- VPC only
- The description for the ingress security group rules. You must specify either a description or IP permissions.
Destructuring the Response
data UpdateSecurityGroupRuleDescriptionsIngressResponse Source #
See: newUpdateSecurityGroupRuleDescriptionsIngressResponse
smart constructor.
UpdateSecurityGroupRuleDescriptionsIngressResponse' | |
|
Instances
newUpdateSecurityGroupRuleDescriptionsIngressResponse Source #
:: Int |
|
-> UpdateSecurityGroupRuleDescriptionsIngressResponse |
Create a value of UpdateSecurityGroupRuleDescriptionsIngressResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:return':UpdateSecurityGroupRuleDescriptionsIngressResponse'
, updateSecurityGroupRuleDescriptionsIngressResponse_return
- Returns true
if the request succeeds; otherwise, returns an error.
$sel:httpStatus:UpdateSecurityGroupRuleDescriptionsIngressResponse'
, updateSecurityGroupRuleDescriptionsIngressResponse_httpStatus
- The response's http status code.
Response Lenses
updateSecurityGroupRuleDescriptionsIngressResponse_return :: Lens' UpdateSecurityGroupRuleDescriptionsIngressResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, returns an error.
updateSecurityGroupRuleDescriptionsIngressResponse_httpStatus :: Lens' UpdateSecurityGroupRuleDescriptionsIngressResponse Int Source #
The response's http status code.