Copyright | (c) 2013-2021 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 |
Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.
Synopsis
- data DeleteLoadBalancerPolicy = DeleteLoadBalancerPolicy' {}
- newDeleteLoadBalancerPolicy :: Text -> Text -> DeleteLoadBalancerPolicy
- deleteLoadBalancerPolicy_loadBalancerName :: Lens' DeleteLoadBalancerPolicy Text
- deleteLoadBalancerPolicy_policyName :: Lens' DeleteLoadBalancerPolicy Text
- data DeleteLoadBalancerPolicyResponse = DeleteLoadBalancerPolicyResponse' {
- httpStatus :: Int
- newDeleteLoadBalancerPolicyResponse :: Int -> DeleteLoadBalancerPolicyResponse
- deleteLoadBalancerPolicyResponse_httpStatus :: Lens' DeleteLoadBalancerPolicyResponse Int
Creating a Request
data DeleteLoadBalancerPolicy Source #
Contains the parameters for DeleteLoadBalancerPolicy.
See: newDeleteLoadBalancerPolicy
smart constructor.
DeleteLoadBalancerPolicy' | |
|
Instances
newDeleteLoadBalancerPolicy Source #
:: Text | |
-> Text | |
-> DeleteLoadBalancerPolicy |
Create a value of DeleteLoadBalancerPolicy
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:loadBalancerName:DeleteLoadBalancerPolicy'
, deleteLoadBalancerPolicy_loadBalancerName
- The name of the load balancer.
$sel:policyName:DeleteLoadBalancerPolicy'
, deleteLoadBalancerPolicy_policyName
- The name of the policy.
Request Lenses
deleteLoadBalancerPolicy_loadBalancerName :: Lens' DeleteLoadBalancerPolicy Text Source #
The name of the load balancer.
deleteLoadBalancerPolicy_policyName :: Lens' DeleteLoadBalancerPolicy Text Source #
The name of the policy.
Destructuring the Response
data DeleteLoadBalancerPolicyResponse Source #
Contains the output of DeleteLoadBalancerPolicy.
See: newDeleteLoadBalancerPolicyResponse
smart constructor.
DeleteLoadBalancerPolicyResponse' | |
|
Instances
Eq DeleteLoadBalancerPolicyResponse Source # | |
Read DeleteLoadBalancerPolicyResponse Source # | |
Show DeleteLoadBalancerPolicyResponse Source # | |
Defined in Amazonka.ELB.DeleteLoadBalancerPolicy | |
Generic DeleteLoadBalancerPolicyResponse Source # | |
NFData DeleteLoadBalancerPolicyResponse Source # | |
Defined in Amazonka.ELB.DeleteLoadBalancerPolicy rnf :: DeleteLoadBalancerPolicyResponse -> () # | |
type Rep DeleteLoadBalancerPolicyResponse Source # | |
Defined in Amazonka.ELB.DeleteLoadBalancerPolicy type Rep DeleteLoadBalancerPolicyResponse = D1 ('MetaData "DeleteLoadBalancerPolicyResponse" "Amazonka.ELB.DeleteLoadBalancerPolicy" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "DeleteLoadBalancerPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteLoadBalancerPolicyResponse Source #
Create a value of DeleteLoadBalancerPolicyResponse
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:httpStatus:DeleteLoadBalancerPolicyResponse'
, deleteLoadBalancerPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLoadBalancerPolicyResponse_httpStatus :: Lens' DeleteLoadBalancerPolicyResponse Int Source #
The response's http status code.