| 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 |
Network.AWS.ELB.DeleteLoadBalancerPolicy
Description
Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.
Synopsis
- deleteLoadBalancerPolicy :: Text -> Text -> DeleteLoadBalancerPolicy
- data DeleteLoadBalancerPolicy
- dLoadBalancerName :: Lens' DeleteLoadBalancerPolicy Text
- dPolicyName :: Lens' DeleteLoadBalancerPolicy Text
- deleteLoadBalancerPolicyResponse :: Int -> DeleteLoadBalancerPolicyResponse
- data DeleteLoadBalancerPolicyResponse
- delrsResponseStatus :: Lens' DeleteLoadBalancerPolicyResponse Int
Creating a Request
deleteLoadBalancerPolicy Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteLoadBalancerPolicy |
Creates a value of DeleteLoadBalancerPolicy with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dLoadBalancerName- The name of the load balancer.dPolicyName- The name of the policy.
data DeleteLoadBalancerPolicy Source #
Contains the parameters for DeleteLoadBalancerPolicy.
See: deleteLoadBalancerPolicy smart constructor.
Instances
Request Lenses
dLoadBalancerName :: Lens' DeleteLoadBalancerPolicy Text Source #
The name of the load balancer.
dPolicyName :: Lens' DeleteLoadBalancerPolicy Text Source #
The name of the policy.
Destructuring the Response
deleteLoadBalancerPolicyResponse Source #
Arguments
| :: Int | |
| -> DeleteLoadBalancerPolicyResponse |
Creates a value of DeleteLoadBalancerPolicyResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
delrsResponseStatus- -- | The response status code.
data DeleteLoadBalancerPolicyResponse Source #
Contains the output of DeleteLoadBalancerPolicy.
See: deleteLoadBalancerPolicyResponse smart constructor.
Instances
Response Lenses
delrsResponseStatus :: Lens' DeleteLoadBalancerPolicyResponse Int Source #
- - | The response status code.