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 load balancer policy types or all load balancer policy types.
The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances.
You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.
Synopsis
- data DescribeLoadBalancerPolicyTypes = DescribeLoadBalancerPolicyTypes' {
- policyTypeNames :: Maybe [Text]
- newDescribeLoadBalancerPolicyTypes :: DescribeLoadBalancerPolicyTypes
- describeLoadBalancerPolicyTypes_policyTypeNames :: Lens' DescribeLoadBalancerPolicyTypes (Maybe [Text])
- data DescribeLoadBalancerPolicyTypesResponse = DescribeLoadBalancerPolicyTypesResponse' {}
- newDescribeLoadBalancerPolicyTypesResponse :: Int -> DescribeLoadBalancerPolicyTypesResponse
- describeLoadBalancerPolicyTypesResponse_policyTypeDescriptions :: Lens' DescribeLoadBalancerPolicyTypesResponse (Maybe [PolicyTypeDescription])
- describeLoadBalancerPolicyTypesResponse_httpStatus :: Lens' DescribeLoadBalancerPolicyTypesResponse Int
Creating a Request
data DescribeLoadBalancerPolicyTypes Source #
Contains the parameters for DescribeLoadBalancerPolicyTypes.
See: newDescribeLoadBalancerPolicyTypes
smart constructor.
DescribeLoadBalancerPolicyTypes' | |
|
Instances
newDescribeLoadBalancerPolicyTypes :: DescribeLoadBalancerPolicyTypes Source #
Create a value of DescribeLoadBalancerPolicyTypes
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:policyTypeNames:DescribeLoadBalancerPolicyTypes'
, describeLoadBalancerPolicyTypes_policyTypeNames
- The names of the policy types. If no names are specified, describes all
policy types defined by Elastic Load Balancing.
Request Lenses
describeLoadBalancerPolicyTypes_policyTypeNames :: Lens' DescribeLoadBalancerPolicyTypes (Maybe [Text]) Source #
The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing.
Destructuring the Response
data DescribeLoadBalancerPolicyTypesResponse Source #
Contains the output of DescribeLoadBalancerPolicyTypes.
See: newDescribeLoadBalancerPolicyTypesResponse
smart constructor.
DescribeLoadBalancerPolicyTypesResponse' | |
|
Instances
newDescribeLoadBalancerPolicyTypesResponse Source #
Create a value of DescribeLoadBalancerPolicyTypesResponse
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:policyTypeDescriptions:DescribeLoadBalancerPolicyTypesResponse'
, describeLoadBalancerPolicyTypesResponse_policyTypeDescriptions
- Information about the policy types.
$sel:httpStatus:DescribeLoadBalancerPolicyTypesResponse'
, describeLoadBalancerPolicyTypesResponse_httpStatus
- The response's http status code.
Response Lenses
describeLoadBalancerPolicyTypesResponse_policyTypeDescriptions :: Lens' DescribeLoadBalancerPolicyTypesResponse (Maybe [PolicyTypeDescription]) Source #
Information about the policy types.
describeLoadBalancerPolicyTypesResponse_httpStatus :: Lens' DescribeLoadBalancerPolicyTypesResponse Int Source #
The response's http status code.