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 |
Describes the specified policies.
If you specify a load balancer name, the action returns the descriptions
of all policies created for the load balancer. If you specify a policy
name associated with your load balancer, the action returns the
description of that policy. If you don't specify a load balancer name,
the action returns descriptions of the specified sample policies, or
descriptions of all sample policies. The names of the sample policies
have the ELBSample-
prefix.
Synopsis
- data DescribeLoadBalancerPolicies = DescribeLoadBalancerPolicies' {
- policyNames :: Maybe [Text]
- loadBalancerName :: Maybe Text
- newDescribeLoadBalancerPolicies :: DescribeLoadBalancerPolicies
- describeLoadBalancerPolicies_policyNames :: Lens' DescribeLoadBalancerPolicies (Maybe [Text])
- describeLoadBalancerPolicies_loadBalancerName :: Lens' DescribeLoadBalancerPolicies (Maybe Text)
- data DescribeLoadBalancerPoliciesResponse = DescribeLoadBalancerPoliciesResponse' {}
- newDescribeLoadBalancerPoliciesResponse :: Int -> DescribeLoadBalancerPoliciesResponse
- describeLoadBalancerPoliciesResponse_policyDescriptions :: Lens' DescribeLoadBalancerPoliciesResponse (Maybe [PolicyDescription])
- describeLoadBalancerPoliciesResponse_httpStatus :: Lens' DescribeLoadBalancerPoliciesResponse Int
Creating a Request
data DescribeLoadBalancerPolicies Source #
Contains the parameters for DescribeLoadBalancerPolicies.
See: newDescribeLoadBalancerPolicies
smart constructor.
DescribeLoadBalancerPolicies' | |
|
Instances
newDescribeLoadBalancerPolicies :: DescribeLoadBalancerPolicies Source #
Create a value of DescribeLoadBalancerPolicies
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:policyNames:DescribeLoadBalancerPolicies'
, describeLoadBalancerPolicies_policyNames
- The names of the policies.
$sel:loadBalancerName:DescribeLoadBalancerPolicies'
, describeLoadBalancerPolicies_loadBalancerName
- The name of the load balancer.
Request Lenses
describeLoadBalancerPolicies_policyNames :: Lens' DescribeLoadBalancerPolicies (Maybe [Text]) Source #
The names of the policies.
describeLoadBalancerPolicies_loadBalancerName :: Lens' DescribeLoadBalancerPolicies (Maybe Text) Source #
The name of the load balancer.
Destructuring the Response
data DescribeLoadBalancerPoliciesResponse Source #
Contains the output of DescribeLoadBalancerPolicies.
See: newDescribeLoadBalancerPoliciesResponse
smart constructor.
DescribeLoadBalancerPoliciesResponse' | |
|
Instances
Eq DescribeLoadBalancerPoliciesResponse Source # | |
Read DescribeLoadBalancerPoliciesResponse Source # | |
Show DescribeLoadBalancerPoliciesResponse Source # | |
Generic DescribeLoadBalancerPoliciesResponse Source # | |
NFData DescribeLoadBalancerPoliciesResponse Source # | |
Defined in Amazonka.ELB.DescribeLoadBalancerPolicies rnf :: DescribeLoadBalancerPoliciesResponse -> () # | |
type Rep DescribeLoadBalancerPoliciesResponse Source # | |
Defined in Amazonka.ELB.DescribeLoadBalancerPolicies type Rep DescribeLoadBalancerPoliciesResponse = D1 ('MetaData "DescribeLoadBalancerPoliciesResponse" "Amazonka.ELB.DescribeLoadBalancerPolicies" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "DescribeLoadBalancerPoliciesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policyDescriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PolicyDescription])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeLoadBalancerPoliciesResponse Source #
Create a value of DescribeLoadBalancerPoliciesResponse
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:policyDescriptions:DescribeLoadBalancerPoliciesResponse'
, describeLoadBalancerPoliciesResponse_policyDescriptions
- Information about the policies.
$sel:httpStatus:DescribeLoadBalancerPoliciesResponse'
, describeLoadBalancerPoliciesResponse_httpStatus
- The response's http status code.
Response Lenses
describeLoadBalancerPoliciesResponse_policyDescriptions :: Lens' DescribeLoadBalancerPoliciesResponse (Maybe [PolicyDescription]) Source #
Information about the policies.
describeLoadBalancerPoliciesResponse_httpStatus :: Lens' DescribeLoadBalancerPoliciesResponse Int Source #
The response's http status code.