Copyright | (c) 2013-2017 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 |
Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups.
Note that you can't specify a security group for a Network Load Balancer.
- setSecurityGroups :: Text -> SetSecurityGroups
- data SetSecurityGroups
- ssgLoadBalancerARN :: Lens' SetSecurityGroups Text
- ssgSecurityGroups :: Lens' SetSecurityGroups [Text]
- setSecurityGroupsResponse :: Int -> SetSecurityGroupsResponse
- data SetSecurityGroupsResponse
- ssgrsSecurityGroupIds :: Lens' SetSecurityGroupsResponse [Text]
- ssgrsResponseStatus :: Lens' SetSecurityGroupsResponse Int
Creating a Request
Creates a value of SetSecurityGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssgLoadBalancerARN
- The Amazon Resource Name (ARN) of the load balancer.ssgSecurityGroups
- The IDs of the security groups.
data SetSecurityGroups Source #
See: setSecurityGroups
smart constructor.
Request Lenses
ssgLoadBalancerARN :: Lens' SetSecurityGroups Text Source #
The Amazon Resource Name (ARN) of the load balancer.
ssgSecurityGroups :: Lens' SetSecurityGroups [Text] Source #
The IDs of the security groups.
Destructuring the Response
setSecurityGroupsResponse Source #
Creates a value of SetSecurityGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssgrsSecurityGroupIds
- The IDs of the security groups associated with the load balancer.ssgrsResponseStatus
- -- | The response status code.
data SetSecurityGroupsResponse Source #
See: setSecurityGroupsResponse
smart constructor.
Response Lenses
ssgrsSecurityGroupIds :: Lens' SetSecurityGroupsResponse [Text] Source #
The IDs of the security groups associated with the load balancer.
ssgrsResponseStatus :: Lens' SetSecurityGroupsResponse Int Source #
- - | The response status code.