amazonka-elbv2 1.4.4 → 1.4.5
raw patch · 34 files changed
+620/−453 lines, 34 filesdep ~amazonka-coredep ~amazonka-elbv2dep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-elbv2, amazonka-test
API changes (from Hackage documentation)
Files
- README.md +9/−32
- amazonka-elbv2.cabal +10/−37
- gen/Network/AWS/ELBv2.hs +17/−12
- gen/Network/AWS/ELBv2/AddTags.hs +13/−7
- gen/Network/AWS/ELBv2/CreateListener.hs +21/−13
- gen/Network/AWS/ELBv2/CreateLoadBalancer.hs +22/−20
- gen/Network/AWS/ELBv2/CreateRule.hs +18/−12
- gen/Network/AWS/ELBv2/CreateTargetGroup.hs +27/−21
- gen/Network/AWS/ELBv2/DeleteListener.hs +10/−4
- gen/Network/AWS/ELBv2/DeleteLoadBalancer.hs +11/−5
- gen/Network/AWS/ELBv2/DeleteRule.hs +9/−3
- gen/Network/AWS/ELBv2/DeleteTargetGroup.hs +9/−3
- gen/Network/AWS/ELBv2/DeregisterTargets.hs +11/−5
- gen/Network/AWS/ELBv2/DescribeListeners.hs +15/−9
- gen/Network/AWS/ELBv2/DescribeLoadBalancerAttributes.hs +11/−5
- gen/Network/AWS/ELBv2/DescribeLoadBalancers.hs +16/−10
- gen/Network/AWS/ELBv2/DescribeRules.hs +11/−5
- gen/Network/AWS/ELBv2/DescribeSSLPolicies.hs +13/−7
- gen/Network/AWS/ELBv2/DescribeTags.hs +10/−4
- gen/Network/AWS/ELBv2/DescribeTargetGroupAttributes.hs +10/−4
- gen/Network/AWS/ELBv2/DescribeTargetGroups.hs +16/−10
- gen/Network/AWS/ELBv2/DescribeTargetHealth.hs +11/−5
- gen/Network/AWS/ELBv2/ModifyListener.hs +15/−9
- gen/Network/AWS/ELBv2/ModifyLoadBalancerAttributes.hs +13/−7
- gen/Network/AWS/ELBv2/ModifyRule.hs +13/−7
- gen/Network/AWS/ELBv2/ModifyTargetGroup.hs +19/−13
- gen/Network/AWS/ELBv2/ModifyTargetGroupAttributes.hs +11/−5
- gen/Network/AWS/ELBv2/RegisterTargets.hs +15/−7
- gen/Network/AWS/ELBv2/RemoveTags.hs +11/−5
- gen/Network/AWS/ELBv2/SetRulePriorities.hs +10/−4
- gen/Network/AWS/ELBv2/SetSecurityGroups.hs +11/−5
- gen/Network/AWS/ELBv2/SetSubnets.hs +11/−5
- gen/Network/AWS/ELBv2/Types.hs +72/−10
- gen/Network/AWS/ELBv2/Types/Product.hs +119/−143
README.md view
@@ -8,50 +8,27 @@ ## Version -`1.4.4`+`1.4.5` ## Description -Elastic Load Balancing--A load balancer distributes incoming traffic across targets, such as your EC2 instances. This enables you to increase the availability of your application. The load balancer also monitors the health of its registered targets and ensures that it routes traffic only to healthy targets. You configure your load balancer to accept incoming traffic by specifying one or more listeners, which are configured with a protocol and port number for connections from clients to the load balancer. You configure a target group with a protocol and port number for connections from the load balancer to the targets, and with health check settings to be used when checking the health status of the targets.--Elastic Load Balancing supports two types of load balancers: Classic load balancers and Application load balancers (new). A Classic load balancer makes routing and load balancing decisions either at the transport layer (TCP\/SSL) or the application layer (HTTP\/HTTPS), and supports either EC2-Classic or a VPC. An Application load balancer makes routing and load balancing decisions at the application layer (HTTP\/HTTPS), supports path-based routing, and can route requests to one or more ports on each EC2 instance or container instance in your virtual private cloud (VPC). For more information, see the <http://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/ Elastic Load Balancing User Guide>.--This reference covers the 2015-12-01 API, which supports Application load balancers. The 2012-06-01 API supports Classic load balancers.--To get started with an Application load balancer, complete the following tasks:--1. Create a load balancer using < CreateLoadBalancer>.--2. Create a target group using < CreateTargetGroup>.--3. Register targets for the target group using < RegisterTargets>.--4. Create one or more listeners for your load balancer using < CreateListener>.--5. (Optional) Create one or more rules for content routing based on URL using < CreateRule>.--To delete an Application load balancer and its related resources, complete the following tasks:--1. Delete the load balancer using < DeleteLoadBalancer>.--2. Delete the target group using < DeleteTargetGroup>.--All Elastic Load Balancing operations are idempotent, which means that they complete at most one time. If you repeat an operation, it succeeds.- Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-elbv2) and the [AWS API Reference](https://aws.amazon.com/documentation/). The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka),-which provides mechanisms for specifying AuthN/AuthZ information and sending requests.+which provides mechanisms for specifying AuthN/AuthZ information, sending requests,+and receiving responses. -Use of lenses is required for constructing and manipulating types.-This is due to the amount of nesting of AWS types and transparency regarding+Lenses are used for constructing and manipulating types,+due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core).++See [Network.AWS.ELBv2](http://hackage.haskell.org/package/amazonka-elbv2/docs/Network-AWS-ELBv2.html)+or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.+ ## Contribute
amazonka-elbv2.cabal view
@@ -1,5 +1,5 @@ name: amazonka-elbv2-version: 1.4.4+version: 1.4.5 synopsis: Amazon Elastic Load Balancing SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -13,46 +13,19 @@ cabal-version: >= 1.10 extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep description:- Elastic Load Balancing-- A load balancer distributes incoming traffic across targets, such as your EC2 instances. This enables you to increase the availability of your application. The load balancer also monitors the health of its registered targets and ensures that it routes traffic only to healthy targets. You configure your load balancer to accept incoming traffic by specifying one or more listeners, which are configured with a protocol and port number for connections from clients to the load balancer. You configure a target group with a protocol and port number for connections from the load balancer to the targets, and with health check settings to be used when checking the health status of the targets.-- Elastic Load Balancing supports two types of load balancers: Classic load balancers and Application load balancers (new). A Classic load balancer makes routing and load balancing decisions either at the transport layer (TCP\/SSL) or the application layer (HTTP\/HTTPS), and supports either EC2-Classic or a VPC. An Application load balancer makes routing and load balancing decisions at the application layer (HTTP\/HTTPS), supports path-based routing, and can route requests to one or more ports on each EC2 instance or container instance in your virtual private cloud (VPC). For more information, see the <http://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/ Elastic Load Balancing User Guide>.-- This reference covers the 2015-12-01 API, which supports Application load balancers. The 2012-06-01 API supports Classic load balancers.-- To get started with an Application load balancer, complete the following tasks:-- 1. Create a load balancer using < CreateLoadBalancer>.-- 2. Create a target group using < CreateTargetGroup>.-- 3. Register targets for the target group using < RegisterTargets>.-- 4. Create one or more listeners for your load balancer using < CreateListener>.-- 5. (Optional) Create one or more rules for content routing based on URL using < CreateRule>.-- To delete an Application load balancer and its related resources, complete the following tasks:-- 1. Delete the load balancer using < DeleteLoadBalancer>.-- 2. Delete the target group using < DeleteTargetGroup>.-- All Elastic Load Balancing operations are idempotent, which means that they complete at most one time. If you repeat an operation, it succeeds.- . The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>, which provides- mechanisms for specifying AuthN/AuthZ information and sending requests.+ mechanisms for specifying AuthN/AuthZ information, sending requests,+ and receiving responses. .- Use of lenses is required for constructing and manipulating types.- This is due to the amount of nesting of AWS types and transparency regarding+ Lenses are used for constructing and manipulating types,+ due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>. .- See "Network.AWS.ELBv2" or <https://aws.amazon.com/documentation/ the AWS Documentation>+ See "Network.AWS.ELBv2" or <https://aws.amazon.com/documentation/ the AWS documentation> to get started. source-repository head@@ -104,7 +77,7 @@ , Network.AWS.ELBv2.Types.Sum build-depends:- amazonka-core == 1.4.4.*+ amazonka-core == 1.4.5.* , base >= 4.7 && < 5 test-suite amazonka-elbv2-test@@ -124,9 +97,9 @@ , Test.AWS.ELBv2.Internal build-depends:- amazonka-core == 1.4.4.*- , amazonka-test == 1.4.4.*- , amazonka-elbv2 == 1.4.4.*+ amazonka-core == 1.4.5.*+ , amazonka-test == 1.4.5.*+ , amazonka-elbv2 == 1.4.5.* , base , bytestring , tasty
gen/Network/AWS/ELBv2.hs view
@@ -11,33 +11,38 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Elastic Load Balancing+-- __Elastic Load Balancing__ -- -- A load balancer distributes incoming traffic across targets, such as your EC2 instances. This enables you to increase the availability of your application. The load balancer also monitors the health of its registered targets and ensures that it routes traffic only to healthy targets. You configure your load balancer to accept incoming traffic by specifying one or more listeners, which are configured with a protocol and port number for connections from clients to the load balancer. You configure a target group with a protocol and port number for connections from the load balancer to the targets, and with health check settings to be used when checking the health status of the targets. ----- Elastic Load Balancing supports two types of load balancers: Classic load balancers and Application load balancers (new). A Classic load balancer makes routing and load balancing decisions either at the transport layer (TCP\/SSL) or the application layer (HTTP\/HTTPS), and supports either EC2-Classic or a VPC. An Application load balancer makes routing and load balancing decisions at the application layer (HTTP\/HTTPS), supports path-based routing, and can route requests to one or more ports on each EC2 instance or container instance in your virtual private cloud (VPC). For more information, see the <http://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/ Elastic Load Balancing User Guide>.+-- Elastic Load Balancing supports two types of load balancers: Classic Load Balancers and Application Load Balancers. A Classic Load Balancer makes routing and load balancing decisions either at the transport layer (TCP/SSL) or the application layer (HTTP/HTTPS), and supports either EC2-Classic or a VPC. An Application Load Balancer makes routing and load balancing decisions at the application layer (HTTP/HTTPS), supports path-based routing, and can route requests to one or more ports on each EC2 instance or container instance in your virtual private cloud (VPC). For more information, see the <http://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/ Elastic Load Balancing User Guide> . ----- This reference covers the 2015-12-01 API, which supports Application load balancers. The 2012-06-01 API supports Classic load balancers.+-- This reference covers the 2015-12-01 API, which supports Application Load Balancers. The 2012-06-01 API supports Classic Load Balancers. ----- To get started with an Application load balancer, complete the following tasks:+-- To get started, complete the following tasks: ----- 1. Create a load balancer using < CreateLoadBalancer>.+-- * Create an Application Load Balancer using 'CreateLoadBalancer' . ----- 2. Create a target group using < CreateTargetGroup>.+-- * Create a target group using 'CreateTargetGroup' . ----- 3. Register targets for the target group using < RegisterTargets>.+-- * Register targets for the target group using 'RegisterTargets' . ----- 4. Create one or more listeners for your load balancer using < CreateListener>.+-- * Create one or more listeners for your load balancer using 'CreateListener' . ----- 5. (Optional) Create one or more rules for content routing based on URL using < CreateRule>.+-- * (Optional) Create one or more rules for content routing based on URL using 'CreateRule' . ----- To delete an Application load balancer and its related resources, complete the following tasks: ----- 1. Delete the load balancer using < DeleteLoadBalancer>. ----- 2. Delete the target group using < DeleteTargetGroup>.+-- To delete an Application Load Balancer and its related resources, complete the following tasks: --+-- * Delete the load balancer using 'DeleteLoadBalancer' .+--+-- * Delete the target group using 'DeleteTargetGroup' .+--+--+-- -- All Elastic Load Balancing operations are idempotent, which means that they complete at most one time. If you repeat an operation, it succeeds.+-- module Network.AWS.ELBv2 ( -- * Service Configuration
gen/Network/AWS/ELBv2/AddTags.hs view
@@ -18,11 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Adds the specified tags to the specified resource. You can tag your Application load balancers and your target groups.+-- Adds the specified tags to the specified resource. You can tag your Application Load Balancers and your target groups. ----- Each tag consists of a key and an optional value. If a resource already has a tag with the same key, 'AddTags' updates its value. ----- To list the current tags for your resources, use < DescribeTags>. To remove tags from your resources, use < RemoveTags>.+-- Each tag consists of a key and an optional value. If a resource already has a tag with the same key, @AddTags@ updates its value.+--+-- To list the current tags for your resources, use 'DescribeTags' . To remove tags from your resources, use 'RemoveTags' .+-- module Network.AWS.ELBv2.AddTags ( -- * Creating a Request@@ -48,6 +50,8 @@ -- | Contains the parameters for AddTags. --+--+-- -- /See:/ 'addTags' smart constructor. data AddTags = AddTags' { _atResourceARNs :: ![Text]@@ -58,9 +62,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'atResourceARNs'+-- * 'atResourceARNs' - The Amazon Resource Name (ARN) of the resource. ----- * 'atTags'+-- * 'atTags' - The tags. Each resource can have a maximum of 10 tags. addTags :: NonEmpty Tag -- ^ 'atTags' -> AddTags@@ -106,6 +110,8 @@ -- | Contains the output of AddTags. --+--+-- -- /See:/ 'addTagsResponse' smart constructor. newtype AddTagsResponse = AddTagsResponse' { _atrsResponseStatus :: Int@@ -115,7 +121,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'atrsResponseStatus'+-- * 'atrsResponseStatus' - -- | The response status code. addTagsResponse :: Int -- ^ 'atrsResponseStatus' -> AddTagsResponse@@ -124,7 +130,7 @@ { _atrsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. atrsResponseStatus :: Lens' AddTagsResponse Int atrsResponseStatus = lens _atrsResponseStatus (\ s a -> s{_atrsResponseStatus = a});
gen/Network/AWS/ELBv2/CreateListener.hs view
@@ -18,11 +18,15 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a listener for the specified Application load balancer.+-- Creates a listener for the specified Application Load Balancer. ----- To update a listener, use < ModifyListener>. When you are finished with a listener, you can delete it using < DeleteListener>. If you are finished with both the listener and the load balancer, you can delete them both using < DeleteLoadBalancer>. ----- For more information, see <http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html Listeners for Your Application Load Balancers> in the /Application Load Balancers Guide/.+-- You can create up to 10 listeners per load balancer.+--+-- To update a listener, use 'ModifyListener' . When you are finished with a listener, you can delete it using 'DeleteListener' . If you are finished with both the listener and the load balancer, you can delete them both using 'DeleteLoadBalancer' .+--+-- For more information, see <http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html Listeners for Your Application Load Balancers> in the /Application Load Balancers Guide/ .+-- module Network.AWS.ELBv2.CreateListener ( -- * Creating a Request@@ -53,6 +57,8 @@ -- | Contains the parameters for CreateListener. --+--+-- -- /See:/ 'createListener' smart constructor. data CreateListener = CreateListener' { _clSSLPolicy :: !(Maybe Text)@@ -67,17 +73,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'clSSLPolicy'+-- * 'clSSLPolicy' - The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy. ----- * 'clCertificates'+-- * 'clCertificates' - The SSL server certificate. You must provide exactly one certificate if the protocol is HTTPS. ----- * 'clLoadBalancerARN'+-- * 'clLoadBalancerARN' - The Amazon Resource Name (ARN) of the load balancer. ----- * 'clProtocol'+-- * 'clProtocol' - The protocol for connections from clients to the load balancer. ----- * 'clPort'+-- * 'clPort' - The port on which the load balancer is listening. ----- * 'clDefaultActions'+-- * 'clDefaultActions' - The default action for the listener. createListener :: Text -- ^ 'clLoadBalancerARN' -> ProtocolEnum -- ^ 'clProtocol'@@ -113,7 +119,7 @@ clPort :: Lens' CreateListener Natural clPort = lens _clPort (\ s a -> s{_clPort = a}) . _Nat; --- | The default actions for the listener.+-- | The default action for the listener. clDefaultActions :: Lens' CreateListener [Action] clDefaultActions = lens _clDefaultActions (\ s a -> s{_clDefaultActions = a}) . _Coerce; @@ -153,6 +159,8 @@ -- | Contains the output of CreateListener. --+--+-- -- /See:/ 'createListenerResponse' smart constructor. data CreateListenerResponse = CreateListenerResponse' { _clrsListeners :: !(Maybe [Listener])@@ -163,9 +171,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'clrsListeners'+-- * 'clrsListeners' - Information about the listener. ----- * 'clrsResponseStatus'+-- * 'clrsResponseStatus' - -- | The response status code. createListenerResponse :: Int -- ^ 'clrsResponseStatus' -> CreateListenerResponse@@ -179,7 +187,7 @@ clrsListeners :: Lens' CreateListenerResponse [Listener] clrsListeners = lens _clrsListeners (\ s a -> s{_clrsListeners = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. clrsResponseStatus :: Lens' CreateListenerResponse Int clrsResponseStatus = lens _clrsResponseStatus (\ s a -> s{_clrsResponseStatus = a});
gen/Network/AWS/ELBv2/CreateLoadBalancer.hs view
@@ -18,13 +18,17 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates an Application load balancer.+-- Creates an Application Load Balancer. ----- To create listeners for your load balancer, use < CreateListener>. You can add security groups, subnets, and tags when you create your load balancer, or you can add them later using < SetSecurityGroups>, < SetSubnets>, and < AddTags>. ----- To describe your current load balancers, see < DescribeLoadBalancers>. When you are finished with a load balancer, you can delete it using < DeleteLoadBalancer>.+-- To create listeners for your load balancer, use 'CreateListener' . You can add security groups, subnets, and tags when you create your load balancer, or you can add them later using 'SetSecurityGroups' , 'SetSubnets' , and 'AddTags' . ----- You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see <http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html Limits for Your Application Load Balancer> in the /Application Load Balancers Guide/.+-- To describe your current load balancers, see 'DescribeLoadBalancers' . When you are finished with a load balancer, you can delete it using 'DeleteLoadBalancer' .+--+-- You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see <http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html Limits for Your Application Load Balancer> in the /Application Load Balancers Guide/ .+--+-- For more information, see <http://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html Application Load Balancers> in the /Application Load Balancers Guide/ .+-- module Network.AWS.ELBv2.CreateLoadBalancer ( -- * Creating a Request@@ -54,6 +58,8 @@ -- | Contains the parameters for CreateLoadBalancer. --+--+-- -- /See:/ 'createLoadBalancer' smart constructor. data CreateLoadBalancer = CreateLoadBalancer' { _clbSecurityGroups :: !(Maybe [Text])@@ -67,15 +73,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'clbSecurityGroups'+-- * 'clbSecurityGroups' - The IDs of the security groups to assign to the load balancer. ----- * 'clbScheme'+-- * 'clbScheme' - The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer. The default is an Internet-facing load balancer. ----- * 'clbTags'+-- * 'clbTags' - One or more tags to assign to the load balancer. ----- * 'clbName'+-- * 'clbName' - The name of the load balancer. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. ----- * 'clbSubnets'+-- * 'clbSubnets' - The IDs of the subnets to attach to the load balancer. You can specify only one subnet per Availability Zone. You must specify subnets from at least two Availability Zones. createLoadBalancer :: Text -- ^ 'clbName' -> CreateLoadBalancer@@ -92,11 +98,7 @@ clbSecurityGroups :: Lens' CreateLoadBalancer [Text] clbSecurityGroups = lens _clbSecurityGroups (\ s a -> s{_clbSecurityGroups = a}) . _Default . _Coerce; --- | The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet.------ The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.------ The default is an Internet-facing load balancer.+-- | The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer. The default is an Internet-facing load balancer. clbScheme :: Lens' CreateLoadBalancer (Maybe LoadBalancerSchemeEnum) clbScheme = lens _clbScheme (\ s a -> s{_clbScheme = a}); @@ -104,9 +106,7 @@ clbTags :: Lens' CreateLoadBalancer (Maybe (NonEmpty Tag)) clbTags = lens _clbTags (\ s a -> s{_clbTags = a}) . mapping _List1; --- | The name of the load balancer.------ This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.+-- | The name of the load balancer. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. clbName :: Lens' CreateLoadBalancer Text clbName = lens _clbName (\ s a -> s{_clbName = a}); @@ -152,6 +152,8 @@ -- | Contains the output of CreateLoadBalancer. --+--+-- -- /See:/ 'createLoadBalancerResponse' smart constructor. data CreateLoadBalancerResponse = CreateLoadBalancerResponse' { _clbrsLoadBalancers :: !(Maybe [LoadBalancer])@@ -162,9 +164,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'clbrsLoadBalancers'+-- * 'clbrsLoadBalancers' - Information about the load balancer. ----- * 'clbrsResponseStatus'+-- * 'clbrsResponseStatus' - -- | The response status code. createLoadBalancerResponse :: Int -- ^ 'clbrsResponseStatus' -> CreateLoadBalancerResponse@@ -178,7 +180,7 @@ clbrsLoadBalancers :: Lens' CreateLoadBalancerResponse [LoadBalancer] clbrsLoadBalancers = lens _clbrsLoadBalancers (\ s a -> s{_clbrsLoadBalancers = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. clbrsResponseStatus :: Lens' CreateLoadBalancerResponse Int clbrsResponseStatus = lens _clbrsResponseStatus (\ s a -> s{_clbrsResponseStatus = a});
gen/Network/AWS/ELBv2/CreateRule.hs view
@@ -20,9 +20,11 @@ -- -- Creates a rule for the specified listener. ----- A rule consists conditions and actions. Rules are evaluated in priority order, from the lowest value to the highest value. When the conditions for a rule are met, the specified actions are taken. If no rule\'s conditions are met, the default actions for the listener are taken. ----- To view your current rules, use < DescribeRules>. To update a rule, use < ModifyRule>. To set the priorities of your rules, use < SetRulePriorities>. To delete a rule, use < DeleteRule>.+-- Each rule can have one action and one condition. Rules are evaluated in priority order, from the lowest value to the highest value. When the condition for a rule is met, the specified action is taken. If no conditions are met, the default action for the default rule is taken. For more information, see <http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-rules Listener Rules> in the /Application Load Balancers Guide/ .+--+-- To view your current rules, use 'DescribeRules' . To update a rule, use 'ModifyRule' . To set the priorities of your rules, use 'SetRulePriorities' . To delete a rule, use 'DeleteRule' .+-- module Network.AWS.ELBv2.CreateRule ( -- * Creating a Request@@ -51,6 +53,8 @@ -- | Contains the parameters for CreateRule. --+--+-- -- /See:/ 'createRule' smart constructor. data CreateRule = CreateRule' { _crListenerARN :: !Text@@ -63,13 +67,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crListenerARN'+-- * 'crListenerARN' - The Amazon Resource Name (ARN) of the listener. ----- * 'crConditions'+-- * 'crConditions' - A condition. Each condition has the field @path-pattern@ and specifies one path pattern. A path pattern is case sensitive, can be up to 255 characters in length, and can contain any of the following characters: * A-Z, a-z, 0-9 * _ - . $ / ~ " ' @ : + * & (using &) * * (matches 0 or more characters) * ? (matches exactly 1 character) ----- * 'crPriority'+-- * 'crPriority' - The priority for the rule. A listener can't have multiple rules with the same priority. ----- * 'crActions'+-- * 'crActions' - An action. Each action has the type @forward@ and specifies a target group. createRule :: Text -- ^ 'crListenerARN' -> Natural -- ^ 'crPriority'@@ -86,15 +90,15 @@ crListenerARN :: Lens' CreateRule Text crListenerARN = lens _crListenerARN (\ s a -> s{_crListenerARN = a}); --- | The conditions.+-- | A condition. Each condition has the field @path-pattern@ and specifies one path pattern. A path pattern is case sensitive, can be up to 255 characters in length, and can contain any of the following characters: * A-Z, a-z, 0-9 * _ - . $ / ~ " ' @ : + * & (using &) * * (matches 0 or more characters) * ? (matches exactly 1 character) crConditions :: Lens' CreateRule [RuleCondition] crConditions = lens _crConditions (\ s a -> s{_crConditions = a}) . _Coerce; --- | The priority for the rule. A listener can\'t have multiple rules with the same priority.+-- | The priority for the rule. A listener can't have multiple rules with the same priority. crPriority :: Lens' CreateRule Natural crPriority = lens _crPriority (\ s a -> s{_crPriority = a}) . _Nat; --- | The actions for the rule.+-- | An action. Each action has the type @forward@ and specifies a target group. crActions :: Lens' CreateRule [Action] crActions = lens _crActions (\ s a -> s{_crActions = a}) . _Coerce; @@ -131,6 +135,8 @@ -- | Contains the output of CreateRule. --+--+-- -- /See:/ 'createRuleResponse' smart constructor. data CreateRuleResponse = CreateRuleResponse' { _crrsRules :: !(Maybe [Rule])@@ -141,9 +147,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crrsRules'+-- * 'crrsRules' - Information about the rule. ----- * 'crrsResponseStatus'+-- * 'crrsResponseStatus' - -- | The response status code. createRuleResponse :: Int -- ^ 'crrsResponseStatus' -> CreateRuleResponse@@ -157,7 +163,7 @@ crrsRules :: Lens' CreateRuleResponse [Rule] crrsRules = lens _crrsRules (\ s a -> s{_crrsRules = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. crrsResponseStatus :: Lens' CreateRuleResponse Int crrsResponseStatus = lens _crrsResponseStatus (\ s a -> s{_crrsResponseStatus = a});
gen/Network/AWS/ELBv2/CreateTargetGroup.hs view
@@ -20,13 +20,15 @@ -- -- Creates a target group. ----- To register targets with the target group, use < RegisterTargets>. To update the health check settings for the target group, use < ModifyTargetGroup>. To monitor the health of targets in the target group, use < DescribeTargetHealth>. ----- To route traffic to the targets in a target group, specify the target group in an action using < CreateListener> or < CreateRule>.+-- To register targets with the target group, use 'RegisterTargets' . To update the health check settings for the target group, use 'ModifyTargetGroup' . To monitor the health of targets in the target group, use 'DescribeTargetHealth' . ----- To delete a target group, use < DeleteTargetGroup>.+-- To route traffic to the targets in a target group, specify the target group in an action using 'CreateListener' or 'CreateRule' . ----- For more information, see <http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html Target Groups for Your Application Load Balancers> in the /Application Load Balancers Guide/.+-- To delete a target group, use 'DeleteTargetGroup' .+--+-- For more information, see <http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html Target Groups for Your Application Load Balancers> in the /Application Load Balancers Guide/ .+-- module Network.AWS.ELBv2.CreateTargetGroup ( -- * Creating a Request@@ -63,6 +65,8 @@ -- | Contains the parameters for CreateTargetGroup. --+--+-- -- /See:/ 'createTargetGroup' smart constructor. data CreateTargetGroup = CreateTargetGroup' { _ctgMatcher :: !(Maybe Matcher)@@ -83,29 +87,29 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctgMatcher'+-- * 'ctgMatcher' - The HTTP codes to use when checking for a successful response from a target. The default is 200. ----- * 'ctgHealthCheckPath'+-- * 'ctgHealthCheckPath' - The ping path that is the destination on the targets for health checks. The default is /. ----- * 'ctgUnhealthyThresholdCount'+-- * 'ctgUnhealthyThresholdCount' - The number of consecutive health check failures required before considering a target unhealthy. The default is 2. ----- * 'ctgHealthCheckIntervalSeconds'+-- * 'ctgHealthCheckIntervalSeconds' - The approximate amount of time, in seconds, between health checks of an individual target. The default is 30 seconds. ----- * 'ctgHealthyThresholdCount'+-- * 'ctgHealthyThresholdCount' - The number of consecutive health checks successes required before considering an unhealthy target healthy. The default is 5. ----- * 'ctgHealthCheckProtocol'+-- * 'ctgHealthCheckProtocol' - The protocol the load balancer uses when performing health checks on targets. The default is the HTTP protocol. ----- * 'ctgHealthCheckTimeoutSeconds'+-- * 'ctgHealthCheckTimeoutSeconds' - The amount of time, in seconds, during which no response from a target means a failed health check. The default is 5 seconds. ----- * 'ctgHealthCheckPort'+-- * 'ctgHealthCheckPort' - The port the load balancer uses when performing health checks on targets. The default is @traffic-port@ , which indicates the port on which each target receives traffic from the load balancer. ----- * 'ctgName'+-- * 'ctgName' - The name of the target group. ----- * 'ctgProtocol'+-- * 'ctgProtocol' - The protocol to use for routing traffic to the targets. ----- * 'ctgPort'+-- * 'ctgPort' - The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. ----- * 'ctgVPCId'+-- * 'ctgVPCId' - The identifier of the virtual private cloud (VPC). createTargetGroup :: Text -- ^ 'ctgName' -> ProtocolEnum -- ^ 'ctgProtocol'@@ -132,7 +136,7 @@ ctgMatcher :: Lens' CreateTargetGroup (Maybe Matcher) ctgMatcher = lens _ctgMatcher (\ s a -> s{_ctgMatcher = a}); --- | The ping path that is the destination on the targets for health checks. The default is \/.+-- | The ping path that is the destination on the targets for health checks. The default is /. ctgHealthCheckPath :: Lens' CreateTargetGroup (Maybe Text) ctgHealthCheckPath = lens _ctgHealthCheckPath (\ s a -> s{_ctgHealthCheckPath = a}); @@ -156,7 +160,7 @@ ctgHealthCheckTimeoutSeconds :: Lens' CreateTargetGroup (Maybe Natural) ctgHealthCheckTimeoutSeconds = lens _ctgHealthCheckTimeoutSeconds (\ s a -> s{_ctgHealthCheckTimeoutSeconds = a}) . mapping _Nat; --- | The port the load balancer uses when performing health checks on targets. The default is 'traffic-port', which indicates the port on which each target receives traffic from the load balancer.+-- | The port the load balancer uses when performing health checks on targets. The default is @traffic-port@ , which indicates the port on which each target receives traffic from the load balancer. ctgHealthCheckPort :: Lens' CreateTargetGroup (Maybe Text) ctgHealthCheckPort = lens _ctgHealthCheckPort (\ s a -> s{_ctgHealthCheckPort = a}); @@ -218,6 +222,8 @@ -- | Contains the output of CreateTargetGroup. --+--+-- -- /See:/ 'createTargetGroupResponse' smart constructor. data CreateTargetGroupResponse = CreateTargetGroupResponse' { _ctgrsTargetGroups :: !(Maybe [TargetGroup])@@ -228,9 +234,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctgrsTargetGroups'+-- * 'ctgrsTargetGroups' - Information about the target group. ----- * 'ctgrsResponseStatus'+-- * 'ctgrsResponseStatus' - -- | The response status code. createTargetGroupResponse :: Int -- ^ 'ctgrsResponseStatus' -> CreateTargetGroupResponse@@ -244,7 +250,7 @@ ctgrsTargetGroups :: Lens' CreateTargetGroupResponse [TargetGroup] ctgrsTargetGroups = lens _ctgrsTargetGroups (\ s a -> s{_ctgrsTargetGroups = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. ctgrsResponseStatus :: Lens' CreateTargetGroupResponse Int ctgrsResponseStatus = lens _ctgrsResponseStatus (\ s a -> s{_ctgrsResponseStatus = a});
gen/Network/AWS/ELBv2/DeleteListener.hs view
@@ -20,7 +20,9 @@ -- -- Deletes the specified listener. ----- Alternatively, your listener is deleted when you delete the load balancer it is attached to using < DeleteLoadBalancer>.+--+-- Alternatively, your listener is deleted when you delete the load balancer it is attached to using 'DeleteLoadBalancer' .+-- module Network.AWS.ELBv2.DeleteListener ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | Contains the parameters for DeleteListener. --+--+-- -- /See:/ 'deleteListener' smart constructor. newtype DeleteListener = DeleteListener' { _dlListenerARN :: Text@@ -54,7 +58,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlListenerARN'+-- * 'dlListenerARN' - The Amazon Resource Name (ARN) of the listener. deleteListener :: Text -- ^ 'dlListenerARN' -> DeleteListener@@ -94,6 +98,8 @@ -- | Contains the output of DeleteListener. --+--+-- -- /See:/ 'deleteListenerResponse' smart constructor. newtype DeleteListenerResponse = DeleteListenerResponse' { _dlrsResponseStatus :: Int@@ -103,7 +109,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlrsResponseStatus'+-- * 'dlrsResponseStatus' - -- | The response status code. deleteListenerResponse :: Int -- ^ 'dlrsResponseStatus' -> DeleteListenerResponse@@ -112,7 +118,7 @@ { _dlrsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. dlrsResponseStatus :: Lens' DeleteListenerResponse Int dlrsResponseStatus = lens _dlrsResponseStatus (\ s a -> s{_dlrsResponseStatus = a});
gen/Network/AWS/ELBv2/DeleteLoadBalancer.hs view
@@ -18,11 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified load balancer and its attached listeners.+-- Deletes the specified Application Load Balancer and its attached listeners. ----- You can\'t delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds. --+-- You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds.+-- -- Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them.+-- module Network.AWS.ELBv2.DeleteLoadBalancer ( -- * Creating a Request@@ -47,6 +49,8 @@ -- | Contains the parameters for DeleteLoadBalancer. --+--+-- -- /See:/ 'deleteLoadBalancer' smart constructor. newtype DeleteLoadBalancer = DeleteLoadBalancer' { _dlbLoadBalancerARN :: Text@@ -56,7 +60,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlbLoadBalancerARN'+-- * 'dlbLoadBalancerARN' - The Amazon Resource Name (ARN) of the load balancer. deleteLoadBalancer :: Text -- ^ 'dlbLoadBalancerARN' -> DeleteLoadBalancer@@ -97,6 +101,8 @@ -- | Contains the output of DeleteLoadBalancer. --+--+-- -- /See:/ 'deleteLoadBalancerResponse' smart constructor. newtype DeleteLoadBalancerResponse = DeleteLoadBalancerResponse' { _drsResponseStatus :: Int@@ -106,7 +112,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drsResponseStatus'+-- * 'drsResponseStatus' - -- | The response status code. deleteLoadBalancerResponse :: Int -- ^ 'drsResponseStatus' -> DeleteLoadBalancerResponse@@ -115,7 +121,7 @@ { _drsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. drsResponseStatus :: Lens' DeleteLoadBalancerResponse Int drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a});
gen/Network/AWS/ELBv2/DeleteRule.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes the specified rule.+--+-- module Network.AWS.ELBv2.DeleteRule ( -- * Creating a Request@@ -43,6 +45,8 @@ -- | Contains the parameters for DeleteRule. --+--+-- -- /See:/ 'deleteRule' smart constructor. newtype DeleteRule = DeleteRule' { _drRuleARN :: Text@@ -52,7 +56,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drRuleARN'+-- * 'drRuleARN' - The Amazon Resource Name (ARN) of the rule. deleteRule :: Text -- ^ 'drRuleARN' -> DeleteRule@@ -92,6 +96,8 @@ -- | Contains the output of DeleteRule. --+--+-- -- /See:/ 'deleteRuleResponse' smart constructor. newtype DeleteRuleResponse = DeleteRuleResponse' { _drrsResponseStatus :: Int@@ -101,7 +107,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drrsResponseStatus'+-- * 'drrsResponseStatus' - -- | The response status code. deleteRuleResponse :: Int -- ^ 'drrsResponseStatus' -> DeleteRuleResponse@@ -110,7 +116,7 @@ { _drrsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. drrsResponseStatus :: Lens' DeleteRuleResponse Int drrsResponseStatus = lens _drrsResponseStatus (\ s a -> s{_drrsResponseStatus = a});
gen/Network/AWS/ELBv2/DeleteTargetGroup.hs view
@@ -20,7 +20,9 @@ -- -- Deletes the specified target group. --+-- -- You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks.+-- module Network.AWS.ELBv2.DeleteTargetGroup ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | Contains the parameters for DeleteTargetGroup. --+--+-- -- /See:/ 'deleteTargetGroup' smart constructor. newtype DeleteTargetGroup = DeleteTargetGroup' { _dtgTargetGroupARN :: Text@@ -54,7 +58,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtgTargetGroupARN'+-- * 'dtgTargetGroupARN' - The Amazon Resource Name (ARN) of the target group. deleteTargetGroup :: Text -- ^ 'dtgTargetGroupARN' -> DeleteTargetGroup@@ -94,6 +98,8 @@ -- | Contains the output of DeleteTargetGroup. --+--+-- -- /See:/ 'deleteTargetGroupResponse' smart constructor. newtype DeleteTargetGroupResponse = DeleteTargetGroupResponse' { _dtgrsResponseStatus :: Int@@ -103,7 +109,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtgrsResponseStatus'+-- * 'dtgrsResponseStatus' - -- | The response status code. deleteTargetGroupResponse :: Int -- ^ 'dtgrsResponseStatus' -> DeleteTargetGroupResponse@@ -112,7 +118,7 @@ { _dtgrsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. dtgrsResponseStatus :: Lens' DeleteTargetGroupResponse Int dtgrsResponseStatus = lens _dtgrsResponseStatus (\ s a -> s{_dtgrsResponseStatus = a});
gen/Network/AWS/ELBv2/DeregisterTargets.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.+--+-- module Network.AWS.ELBv2.DeregisterTargets ( -- * Creating a Request@@ -44,6 +46,8 @@ -- | Contains the parameters for DeregisterTargets. --+--+-- -- /See:/ 'deregisterTargets' smart constructor. data DeregisterTargets = DeregisterTargets' { _dtTargetGroupARN :: !Text@@ -54,9 +58,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtTargetGroupARN'+-- * 'dtTargetGroupARN' - The Amazon Resource Name (ARN) of the target group. ----- * 'dtTargets'+-- * 'dtTargets' - The targets. If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it. deregisterTargets :: Text -- ^ 'dtTargetGroupARN' -> DeregisterTargets@@ -70,7 +74,7 @@ dtTargetGroupARN :: Lens' DeregisterTargets Text dtTargetGroupARN = lens _dtTargetGroupARN (\ s a -> s{_dtTargetGroupARN = a}); --- | The targets.+-- | The targets. If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it. dtTargets :: Lens' DeregisterTargets [TargetDescription] dtTargets = lens _dtTargets (\ s a -> s{_dtTargets = a}) . _Coerce; @@ -102,6 +106,8 @@ -- | Contains the output of DeregisterTargets. --+--+-- -- /See:/ 'deregisterTargetsResponse' smart constructor. newtype DeregisterTargetsResponse = DeregisterTargetsResponse' { _dtsrsResponseStatus :: Int@@ -111,7 +117,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtsrsResponseStatus'+-- * 'dtsrsResponseStatus' - -- | The response status code. deregisterTargetsResponse :: Int -- ^ 'dtsrsResponseStatus' -> DeregisterTargetsResponse@@ -120,7 +126,7 @@ { _dtsrsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. dtsrsResponseStatus :: Lens' DeregisterTargetsResponse Int dtsrsResponseStatus = lens _dtsrsResponseStatus (\ s a -> s{_dtsrsResponseStatus = a});
gen/Network/AWS/ELBv2/DescribeListeners.hs view
@@ -18,8 +18,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Describes the specified listeners or the listeners for the specified load balancer. You must specify either a load balancer or one or more listeners.+-- Describes the specified listeners or the listeners for the specified Application Load Balancer. You must specify either a load balancer or one or more listeners. --+--+-- -- This operation returns paginated results. module Network.AWS.ELBv2.DescribeListeners (@@ -51,6 +53,8 @@ -- | Contains the parameters for DescribeListeners. --+--+-- -- /See:/ 'describeListeners' smart constructor. data DescribeListeners = DescribeListeners' { _dlListenerARNs :: !(Maybe [Text])@@ -63,13 +67,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlListenerARNs'+-- * 'dlListenerARNs' - The Amazon Resource Names (ARN) of the listeners. ----- * 'dlLoadBalancerARN'+-- * 'dlLoadBalancerARN' - The Amazon Resource Name (ARN) of the load balancer. ----- * 'dlMarker'+-- * 'dlMarker' - The marker for the next set of results. (You received this marker from a previous call.) ----- * 'dlPageSize'+-- * 'dlPageSize' - The maximum number of results to return with this call. describeListeners :: DescribeListeners describeListeners =@@ -137,6 +141,8 @@ -- | Contains the output of DescribeListeners. --+--+-- -- /See:/ 'describeListenersResponse' smart constructor. data DescribeListenersResponse = DescribeListenersResponse' { _dlsrsNextMarker :: !(Maybe Text)@@ -148,11 +154,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlsrsNextMarker'+-- * 'dlsrsNextMarker' - The marker to use when requesting the next set of results. If there are no additional results, the string is empty. ----- * 'dlsrsListeners'+-- * 'dlsrsListeners' - Information about the listeners. ----- * 'dlsrsResponseStatus'+-- * 'dlsrsResponseStatus' - -- | The response status code. describeListenersResponse :: Int -- ^ 'dlsrsResponseStatus' -> DescribeListenersResponse@@ -171,7 +177,7 @@ dlsrsListeners :: Lens' DescribeListenersResponse [Listener] dlsrsListeners = lens _dlsrsListeners (\ s a -> s{_dlsrsListeners = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dlsrsResponseStatus :: Lens' DescribeListenersResponse Int dlsrsResponseStatus = lens _dlsrsResponseStatus (\ s a -> s{_dlsrsResponseStatus = a});
gen/Network/AWS/ELBv2/DescribeLoadBalancerAttributes.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Describes the attributes for the specified load balancer.+-- Describes the attributes for the specified Application Load Balancer.+--+-- module Network.AWS.ELBv2.DescribeLoadBalancerAttributes ( -- * Creating a Request@@ -44,6 +46,8 @@ -- | Contains the parameters for DescribeLoadBalancerAttributes. --+--+-- -- /See:/ 'describeLoadBalancerAttributes' smart constructor. newtype DescribeLoadBalancerAttributes = DescribeLoadBalancerAttributes' { _dlbaLoadBalancerARN :: Text@@ -53,7 +57,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlbaLoadBalancerARN'+-- * 'dlbaLoadBalancerARN' - The Amazon Resource Name (ARN) of the load balancer. describeLoadBalancerAttributes :: Text -- ^ 'dlbaLoadBalancerARN' -> DescribeLoadBalancerAttributes@@ -101,6 +105,8 @@ -- | Contains the output of DescribeLoadBalancerAttributes. --+--+-- -- /See:/ 'describeLoadBalancerAttributesResponse' smart constructor. data DescribeLoadBalancerAttributesResponse = DescribeLoadBalancerAttributesResponse' { _dlbarsAttributes :: !(Maybe [LoadBalancerAttribute])@@ -111,9 +117,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlbarsAttributes'+-- * 'dlbarsAttributes' - Information about the load balancer attributes. ----- * 'dlbarsResponseStatus'+-- * 'dlbarsResponseStatus' - -- | The response status code. describeLoadBalancerAttributesResponse :: Int -- ^ 'dlbarsResponseStatus' -> DescribeLoadBalancerAttributesResponse@@ -127,7 +133,7 @@ dlbarsAttributes :: Lens' DescribeLoadBalancerAttributesResponse [LoadBalancerAttribute] dlbarsAttributes = lens _dlbarsAttributes (\ s a -> s{_dlbarsAttributes = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dlbarsResponseStatus :: Lens' DescribeLoadBalancerAttributesResponse Int dlbarsResponseStatus = lens _dlbarsResponseStatus (\ s a -> s{_dlbarsResponseStatus = a});
gen/Network/AWS/ELBv2/DescribeLoadBalancers.hs view
@@ -18,10 +18,12 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Describes the specified Application load balancers or all of your Application load balancers.+-- Describes the specified Application Load Balancers or all of your Application Load Balancers. ----- To describe the listeners for a load balancer, use < DescribeListeners>. To describe the attributes for a load balancer, use < DescribeLoadBalancerAttributes>. --+-- To describe the listeners for a load balancer, use 'DescribeListeners' . To describe the attributes for a load balancer, use 'DescribeLoadBalancerAttributes' .+--+-- -- This operation returns paginated results. module Network.AWS.ELBv2.DescribeLoadBalancers (@@ -53,6 +55,8 @@ -- | Contains the parameters for DescribeLoadBalancers. --+--+-- -- /See:/ 'describeLoadBalancers' smart constructor. data DescribeLoadBalancers = DescribeLoadBalancers' { _dlbNames :: !(Maybe [Text])@@ -65,13 +69,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlbNames'+-- * 'dlbNames' - The names of the load balancers. ----- * 'dlbLoadBalancerARNs'+-- * 'dlbLoadBalancerARNs' - The Amazon Resource Names (ARN) of the load balancers. ----- * 'dlbMarker'+-- * 'dlbMarker' - The marker for the next set of results. (You received this marker from a previous call.) ----- * 'dlbPageSize'+-- * 'dlbPageSize' - The maximum number of results to return with this call. describeLoadBalancers :: DescribeLoadBalancers describeLoadBalancers =@@ -142,6 +146,8 @@ -- | Contains the output of DescribeLoadBalancers. --+--+-- -- /See:/ 'describeLoadBalancersResponse' smart constructor. data DescribeLoadBalancersResponse = DescribeLoadBalancersResponse' { _dlbrsLoadBalancers :: !(Maybe [LoadBalancer])@@ -153,11 +159,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlbrsLoadBalancers'+-- * 'dlbrsLoadBalancers' - Information about the load balancers. ----- * 'dlbrsNextMarker'+-- * 'dlbrsNextMarker' - The marker to use when requesting the next set of results. If there are no additional results, the string is empty. ----- * 'dlbrsResponseStatus'+-- * 'dlbrsResponseStatus' - -- | The response status code. describeLoadBalancersResponse :: Int -- ^ 'dlbrsResponseStatus' -> DescribeLoadBalancersResponse@@ -176,7 +182,7 @@ dlbrsNextMarker :: Lens' DescribeLoadBalancersResponse (Maybe Text) dlbrsNextMarker = lens _dlbrsNextMarker (\ s a -> s{_dlbrsNextMarker = a}); --- | The response status code.+-- | -- | The response status code. dlbrsResponseStatus :: Lens' DescribeLoadBalancersResponse Int dlbrsResponseStatus = lens _dlbrsResponseStatus (\ s a -> s{_dlbrsResponseStatus = a});
gen/Network/AWS/ELBv2/DescribeRules.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.+--+-- module Network.AWS.ELBv2.DescribeRules ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | Contains the parameters for DescribeRules. --+--+-- -- /See:/ 'describeRules' smart constructor. data DescribeRules = DescribeRules' { _drListenerARN :: !(Maybe Text)@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drListenerARN'+-- * 'drListenerARN' - The Amazon Resource Name (ARN) of the listener. ----- * 'drRuleARNs'+-- * 'drRuleARNs' - The Amazon Resource Names (ARN) of the rules. describeRules :: DescribeRules describeRules =@@ -106,6 +110,8 @@ -- | Contains the output of DescribeRules. --+--+-- -- /See:/ 'describeRulesResponse' smart constructor. data DescribeRulesResponse = DescribeRulesResponse' { _drsrsRules :: !(Maybe [Rule])@@ -116,9 +122,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drsrsRules'+-- * 'drsrsRules' - Information about the rules. ----- * 'drsrsResponseStatus'+-- * 'drsrsResponseStatus' - -- | The response status code. describeRulesResponse :: Int -- ^ 'drsrsResponseStatus' -> DescribeRulesResponse@@ -132,7 +138,7 @@ drsrsRules :: Lens' DescribeRulesResponse [Rule] drsrsRules = lens _drsrsRules (\ s a -> s{_drsrsRules = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. drsrsResponseStatus :: Lens' DescribeRulesResponse Int drsrsResponseStatus = lens _drsrsResponseStatus (\ s a -> s{_drsrsResponseStatus = a});
gen/Network/AWS/ELBv2/DescribeSSLPolicies.hs view
@@ -20,7 +20,9 @@ -- -- Describes the specified policies or all policies used for SSL negotiation. --+-- -- Note that the only supported policy at this time is ELBSecurityPolicy-2015-05.+-- module Network.AWS.ELBv2.DescribeSSLPolicies ( -- * Creating a Request@@ -49,6 +51,8 @@ -- | Contains the parameters for DescribeSSLPolicies. --+--+-- -- /See:/ 'describeSSLPolicies' smart constructor. data DescribeSSLPolicies = DescribeSSLPolicies' { _dspNames :: !(Maybe [Text])@@ -60,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dspNames'+-- * 'dspNames' - The names of the policies. ----- * 'dspMarker'+-- * 'dspMarker' - The marker for the next set of results. (You received this marker from a previous call.) ----- * 'dspPageSize'+-- * 'dspPageSize' - The maximum number of results to return with this call. describeSSLPolicies :: DescribeSSLPolicies describeSSLPolicies =@@ -120,6 +124,8 @@ -- | Contains the output of DescribeSSLPolicies. --+--+-- -- /See:/ 'describeSSLPoliciesResponse' smart constructor. data DescribeSSLPoliciesResponse = DescribeSSLPoliciesResponse' { _dsprsSSLPolicies :: !(Maybe [SSLPolicy])@@ -131,11 +137,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsprsSSLPolicies'+-- * 'dsprsSSLPolicies' - Information about the policies. ----- * 'dsprsNextMarker'+-- * 'dsprsNextMarker' - The marker to use when requesting the next set of results. If there are no additional results, the string is empty. ----- * 'dsprsResponseStatus'+-- * 'dsprsResponseStatus' - -- | The response status code. describeSSLPoliciesResponse :: Int -- ^ 'dsprsResponseStatus' -> DescribeSSLPoliciesResponse@@ -154,7 +160,7 @@ dsprsNextMarker :: Lens' DescribeSSLPoliciesResponse (Maybe Text) dsprsNextMarker = lens _dsprsNextMarker (\ s a -> s{_dsprsNextMarker = a}); --- | The response status code.+-- | -- | The response status code. dsprsResponseStatus :: Lens' DescribeSSLPoliciesResponse Int dsprsResponseStatus = lens _dsprsResponseStatus (\ s a -> s{_dsprsResponseStatus = a});
gen/Network/AWS/ELBv2/DescribeTags.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the tags for the specified resources.+--+-- module Network.AWS.ELBv2.DescribeTags ( -- * Creating a Request@@ -44,6 +46,8 @@ -- | Contains the parameters for DescribeTags. --+--+-- -- /See:/ 'describeTags' smart constructor. newtype DescribeTags = DescribeTags' { _dtResourceARNs :: [Text]@@ -53,7 +57,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtResourceARNs'+-- * 'dtResourceARNs' - The Amazon Resource Names (ARN) of the resources. describeTags :: DescribeTags describeTags =@@ -96,6 +100,8 @@ -- | Contains the output of DescribeTags. --+--+-- -- /See:/ 'describeTagsResponse' smart constructor. data DescribeTagsResponse = DescribeTagsResponse' { _dtrsTagDescriptions :: !(Maybe [TagDescription])@@ -106,9 +112,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtrsTagDescriptions'+-- * 'dtrsTagDescriptions' - Information about the tags. ----- * 'dtrsResponseStatus'+-- * 'dtrsResponseStatus' - -- | The response status code. describeTagsResponse :: Int -- ^ 'dtrsResponseStatus' -> DescribeTagsResponse@@ -122,7 +128,7 @@ dtrsTagDescriptions :: Lens' DescribeTagsResponse [TagDescription] dtrsTagDescriptions = lens _dtrsTagDescriptions (\ s a -> s{_dtrsTagDescriptions = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dtrsResponseStatus :: Lens' DescribeTagsResponse Int dtrsResponseStatus = lens _dtrsResponseStatus (\ s a -> s{_dtrsResponseStatus = a});
gen/Network/AWS/ELBv2/DescribeTargetGroupAttributes.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the attributes for the specified target group.+--+-- module Network.AWS.ELBv2.DescribeTargetGroupAttributes ( -- * Creating a Request@@ -44,6 +46,8 @@ -- | Contains the parameters for DescribeTargetGroupAttributes. --+--+-- -- /See:/ 'describeTargetGroupAttributes' smart constructor. newtype DescribeTargetGroupAttributes = DescribeTargetGroupAttributes' { _dtgaTargetGroupARN :: Text@@ -53,7 +57,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtgaTargetGroupARN'+-- * 'dtgaTargetGroupARN' - The Amazon Resource Name (ARN) of the target group. describeTargetGroupAttributes :: Text -- ^ 'dtgaTargetGroupARN' -> DescribeTargetGroupAttributes@@ -101,6 +105,8 @@ -- | Contains the output of DescribeTargetGroupAttributes. --+--+-- -- /See:/ 'describeTargetGroupAttributesResponse' smart constructor. data DescribeTargetGroupAttributesResponse = DescribeTargetGroupAttributesResponse' { _dtgarsAttributes :: !(Maybe [TargetGroupAttribute])@@ -111,9 +117,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtgarsAttributes'+-- * 'dtgarsAttributes' - Information about the target group attributes ----- * 'dtgarsResponseStatus'+-- * 'dtgarsResponseStatus' - -- | The response status code. describeTargetGroupAttributesResponse :: Int -- ^ 'dtgarsResponseStatus' -> DescribeTargetGroupAttributesResponse@@ -127,7 +133,7 @@ dtgarsAttributes :: Lens' DescribeTargetGroupAttributesResponse [TargetGroupAttribute] dtgarsAttributes = lens _dtgarsAttributes (\ s a -> s{_dtgarsAttributes = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dtgarsResponseStatus :: Lens' DescribeTargetGroupAttributesResponse Int dtgarsResponseStatus = lens _dtgarsResponseStatus (\ s a -> s{_dtgarsResponseStatus = a});
gen/Network/AWS/ELBv2/DescribeTargetGroups.hs view
@@ -20,8 +20,10 @@ -- -- Describes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups. ----- To describe the targets for a target group, use < DescribeTargetHealth>. To describe the attributes of a target group, use < DescribeTargetGroupAttributes>. --+-- To describe the targets for a target group, use 'DescribeTargetHealth' . To describe the attributes of a target group, use 'DescribeTargetGroupAttributes' .+--+-- -- This operation returns paginated results. module Network.AWS.ELBv2.DescribeTargetGroups (@@ -54,6 +56,8 @@ -- | Contains the parameters for DescribeTargetGroups. --+--+-- -- /See:/ 'describeTargetGroups' smart constructor. data DescribeTargetGroups = DescribeTargetGroups' { _dtgTargetGroupARNs :: !(Maybe [Text])@@ -67,15 +71,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtgTargetGroupARNs'+-- * 'dtgTargetGroupARNs' - The Amazon Resource Names (ARN) of the target groups. ----- * 'dtgNames'+-- * 'dtgNames' - The names of the target groups. ----- * 'dtgLoadBalancerARN'+-- * 'dtgLoadBalancerARN' - The Amazon Resource Name (ARN) of the load balancer. ----- * 'dtgMarker'+-- * 'dtgMarker' - The marker for the next set of results. (You received this marker from a previous call.) ----- * 'dtgPageSize'+-- * 'dtgPageSize' - The maximum number of results to return with this call. describeTargetGroups :: DescribeTargetGroups describeTargetGroups =@@ -152,6 +156,8 @@ -- | Contains the output of DescribeTargetGroups. --+--+-- -- /See:/ 'describeTargetGroupsResponse' smart constructor. data DescribeTargetGroupsResponse = DescribeTargetGroupsResponse' { _dtgsrsNextMarker :: !(Maybe Text)@@ -163,11 +169,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtgsrsNextMarker'+-- * 'dtgsrsNextMarker' - The marker to use when requesting the next set of results. If there are no additional results, the string is empty. ----- * 'dtgsrsTargetGroups'+-- * 'dtgsrsTargetGroups' - Information about the target groups. ----- * 'dtgsrsResponseStatus'+-- * 'dtgsrsResponseStatus' - -- | The response status code. describeTargetGroupsResponse :: Int -- ^ 'dtgsrsResponseStatus' -> DescribeTargetGroupsResponse@@ -186,7 +192,7 @@ dtgsrsTargetGroups :: Lens' DescribeTargetGroupsResponse [TargetGroup] dtgsrsTargetGroups = lens _dtgsrsTargetGroups (\ s a -> s{_dtgsrsTargetGroups = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dtgsrsResponseStatus :: Lens' DescribeTargetGroupsResponse Int dtgsrsResponseStatus = lens _dtgsrsResponseStatus (\ s a -> s{_dtgsrsResponseStatus = a});
gen/Network/AWS/ELBv2/DescribeTargetHealth.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the health of the specified targets or all of your targets.+--+-- module Network.AWS.ELBv2.DescribeTargetHealth ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | Contains the parameters for DescribeTargetHealth. --+--+-- -- /See:/ 'describeTargetHealth' smart constructor. data DescribeTargetHealth = DescribeTargetHealth' { _dthTargets :: !(Maybe [TargetDescription])@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dthTargets'+-- * 'dthTargets' - The targets. ----- * 'dthTargetGroupARN'+-- * 'dthTargetGroupARN' - The Amazon Resource Name (ARN) of the target group. describeTargetHealth :: Text -- ^ 'dthTargetGroupARN' -> DescribeTargetHealth@@ -108,6 +112,8 @@ -- | Contains the output of DescribeTargetHealth. --+--+-- -- /See:/ 'describeTargetHealthResponse' smart constructor. data DescribeTargetHealthResponse = DescribeTargetHealthResponse' { _dthrsTargetHealthDescriptions :: !(Maybe [TargetHealthDescription])@@ -118,9 +124,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dthrsTargetHealthDescriptions'+-- * 'dthrsTargetHealthDescriptions' - Information about the health of the targets. ----- * 'dthrsResponseStatus'+-- * 'dthrsResponseStatus' - -- | The response status code. describeTargetHealthResponse :: Int -- ^ 'dthrsResponseStatus' -> DescribeTargetHealthResponse@@ -134,7 +140,7 @@ dthrsTargetHealthDescriptions :: Lens' DescribeTargetHealthResponse [TargetHealthDescription] dthrsTargetHealthDescriptions = lens _dthrsTargetHealthDescriptions (\ s a -> s{_dthrsTargetHealthDescriptions = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dthrsResponseStatus :: Lens' DescribeTargetHealthResponse Int dthrsResponseStatus = lens _dthrsResponseStatus (\ s a -> s{_dthrsResponseStatus = a});
gen/Network/AWS/ELBv2/ModifyListener.hs view
@@ -20,7 +20,9 @@ -- -- Modifies the specified properties of the specified listener. --+-- -- Any properties that you do not specify retain their current values. However, changing the protocol from HTTPS to HTTP removes the security policy and SSL certificate properties. If you change the protocol from HTTP to HTTPS, you must add the security policy.+-- module Network.AWS.ELBv2.ModifyListener ( -- * Creating a Request@@ -51,6 +53,8 @@ -- | Contains the parameters for ModifyListener. --+--+-- -- /See:/ 'modifyListener' smart constructor. data ModifyListener = ModifyListener' { _mlSSLPolicy :: !(Maybe Text)@@ -65,17 +69,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mlSSLPolicy'+-- * 'mlSSLPolicy' - The security policy that defines which ciphers and protocols are supported. ----- * 'mlProtocol'+-- * 'mlProtocol' - The protocol for connections from clients to the load balancer. ----- * 'mlDefaultActions'+-- * 'mlDefaultActions' - The default actions. ----- * 'mlCertificates'+-- * 'mlCertificates' - The SSL server certificate. ----- * 'mlPort'+-- * 'mlPort' - The port for connections from clients to the load balancer. ----- * 'mlListenerARN'+-- * 'mlListenerARN' - The Amazon Resource Name (ARN) of the listener. modifyListener :: Text -- ^ 'mlListenerARN' -> ModifyListener@@ -149,6 +153,8 @@ -- | Contains the output of ModifyListener. --+--+-- -- /See:/ 'modifyListenerResponse' smart constructor. data ModifyListenerResponse = ModifyListenerResponse' { _mlrsListeners :: !(Maybe [Listener])@@ -159,9 +165,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mlrsListeners'+-- * 'mlrsListeners' - Information about the modified listeners. ----- * 'mlrsResponseStatus'+-- * 'mlrsResponseStatus' - -- | The response status code. modifyListenerResponse :: Int -- ^ 'mlrsResponseStatus' -> ModifyListenerResponse@@ -175,7 +181,7 @@ mlrsListeners :: Lens' ModifyListenerResponse [Listener] mlrsListeners = lens _mlrsListeners (\ s a -> s{_mlrsListeners = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. mlrsResponseStatus :: Lens' ModifyListenerResponse Int mlrsResponseStatus = lens _mlrsResponseStatus (\ s a -> s{_mlrsResponseStatus = a});
gen/Network/AWS/ELBv2/ModifyLoadBalancerAttributes.hs view
@@ -18,9 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Modifies the specified attributes of the specified load balancer.+-- Modifies the specified attributes of the specified Application Load Balancer. ----- If any of the specified attributes can\'t be modified as requested, the call fails. Any existing attributes that you do not modify retain their current values.+--+-- If any of the specified attributes can't be modified as requested, the call fails. Any existing attributes that you do not modify retain their current values.+-- module Network.AWS.ELBv2.ModifyLoadBalancerAttributes ( -- * Creating a Request@@ -47,6 +49,8 @@ -- | Contains the parameters for ModifyLoadBalancerAttributes. --+--+-- -- /See:/ 'modifyLoadBalancerAttributes' smart constructor. data ModifyLoadBalancerAttributes = ModifyLoadBalancerAttributes' { _mlbaLoadBalancerARN :: !Text@@ -57,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mlbaLoadBalancerARN'+-- * 'mlbaLoadBalancerARN' - The Amazon Resource Name (ARN) of the load balancer. ----- * 'mlbaAttributes'+-- * 'mlbaAttributes' - The load balancer attributes. modifyLoadBalancerAttributes :: Text -- ^ 'mlbaLoadBalancerARN' -> ModifyLoadBalancerAttributes@@ -112,6 +116,8 @@ -- | Contains the output of ModifyLoadBalancerAttributes. --+--+-- -- /See:/ 'modifyLoadBalancerAttributesResponse' smart constructor. data ModifyLoadBalancerAttributesResponse = ModifyLoadBalancerAttributesResponse' { _mlbarsAttributes :: !(Maybe [LoadBalancerAttribute])@@ -122,9 +128,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mlbarsAttributes'+-- * 'mlbarsAttributes' - Information about the load balancer attributes. ----- * 'mlbarsResponseStatus'+-- * 'mlbarsResponseStatus' - -- | The response status code. modifyLoadBalancerAttributesResponse :: Int -- ^ 'mlbarsResponseStatus' -> ModifyLoadBalancerAttributesResponse@@ -138,7 +144,7 @@ mlbarsAttributes :: Lens' ModifyLoadBalancerAttributesResponse [LoadBalancerAttribute] mlbarsAttributes = lens _mlbarsAttributes (\ s a -> s{_mlbarsAttributes = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. mlbarsResponseStatus :: Lens' ModifyLoadBalancerAttributesResponse Int mlbarsResponseStatus = lens _mlbarsResponseStatus (\ s a -> s{_mlbarsResponseStatus = a});
gen/Network/AWS/ELBv2/ModifyRule.hs view
@@ -20,9 +20,11 @@ -- -- Modifies the specified rule. --+-- -- Any existing properties that you do not modify retain their current values. ----- To modify the default action, use < ModifyListener>.+-- To modify the default action, use 'ModifyListener' .+-- module Network.AWS.ELBv2.ModifyRule ( -- * Creating a Request@@ -50,6 +52,8 @@ -- | Contains the parameters for ModifyRules. --+--+-- -- /See:/ 'modifyRule' smart constructor. data ModifyRule = ModifyRule' { _mrActions :: !(Maybe [Action])@@ -61,11 +65,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mrActions'+-- * 'mrActions' - The actions. ----- * 'mrConditions'+-- * 'mrConditions' - The conditions. ----- * 'mrRuleARN'+-- * 'mrRuleARN' - The Amazon Resource Name (ARN) of the rule. modifyRule :: Text -- ^ 'mrRuleARN' -> ModifyRule@@ -122,6 +126,8 @@ -- | Contains the output of ModifyRules. --+--+-- -- /See:/ 'modifyRuleResponse' smart constructor. data ModifyRuleResponse = ModifyRuleResponse' { _mrrsRules :: !(Maybe [Rule])@@ -132,9 +138,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mrrsRules'+-- * 'mrrsRules' - Information about the rule. ----- * 'mrrsResponseStatus'+-- * 'mrrsResponseStatus' - -- | The response status code. modifyRuleResponse :: Int -- ^ 'mrrsResponseStatus' -> ModifyRuleResponse@@ -148,7 +154,7 @@ mrrsRules :: Lens' ModifyRuleResponse [Rule] mrrsRules = lens _mrrsRules (\ s a -> s{_mrrsRules = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. mrrsResponseStatus :: Lens' ModifyRuleResponse Int mrrsResponseStatus = lens _mrrsResponseStatus (\ s a -> s{_mrrsResponseStatus = a});
gen/Network/AWS/ELBv2/ModifyTargetGroup.hs view
@@ -20,7 +20,9 @@ -- -- Modifies the health checks used when evaluating the health state of the targets in the specified target group. ----- To monitor the health of the targets, use < DescribeTargetHealth>.+--+-- To monitor the health of the targets, use 'DescribeTargetHealth' .+-- module Network.AWS.ELBv2.ModifyTargetGroup ( -- * Creating a Request@@ -54,6 +56,8 @@ -- | Contains the parameters for ModifyTargetGroup. --+--+-- -- /See:/ 'modifyTargetGroup' smart constructor. data ModifyTargetGroup = ModifyTargetGroup' { _mtgMatcher :: !(Maybe Matcher)@@ -71,23 +75,23 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mtgMatcher'+-- * 'mtgMatcher' - The HTTP codes to use when checking for a successful response from a target. ----- * 'mtgHealthCheckPath'+-- * 'mtgHealthCheckPath' - The ping path that is the destination for the health check request. ----- * 'mtgUnhealthyThresholdCount'+-- * 'mtgUnhealthyThresholdCount' - The number of consecutive health check failures required before considering the target unhealthy. ----- * 'mtgHealthCheckIntervalSeconds'+-- * 'mtgHealthCheckIntervalSeconds' - The approximate amount of time, in seconds, between health checks of an individual target. ----- * 'mtgHealthyThresholdCount'+-- * 'mtgHealthyThresholdCount' - The number of consecutive health checks successes required before considering an unhealthy target healthy. ----- * 'mtgHealthCheckProtocol'+-- * 'mtgHealthCheckProtocol' - The protocol to use to connect with the target. ----- * 'mtgHealthCheckTimeoutSeconds'+-- * 'mtgHealthCheckTimeoutSeconds' - The amount of time, in seconds, during which no response means a failed health check. ----- * 'mtgHealthCheckPort'+-- * 'mtgHealthCheckPort' - The port to use to connect with the target. ----- * 'mtgTargetGroupARN'+-- * 'mtgTargetGroupARN' - The Amazon Resource Name (ARN) of the target group. modifyTargetGroup :: Text -- ^ 'mtgTargetGroupARN' -> ModifyTargetGroup@@ -181,6 +185,8 @@ -- | Contains the output of ModifyTargetGroup. --+--+-- -- /See:/ 'modifyTargetGroupResponse' smart constructor. data ModifyTargetGroupResponse = ModifyTargetGroupResponse' { _mtgrsTargetGroups :: !(Maybe [TargetGroup])@@ -191,9 +197,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mtgrsTargetGroups'+-- * 'mtgrsTargetGroups' - Information about the target group. ----- * 'mtgrsResponseStatus'+-- * 'mtgrsResponseStatus' - -- | The response status code. modifyTargetGroupResponse :: Int -- ^ 'mtgrsResponseStatus' -> ModifyTargetGroupResponse@@ -207,7 +213,7 @@ mtgrsTargetGroups :: Lens' ModifyTargetGroupResponse [TargetGroup] mtgrsTargetGroups = lens _mtgrsTargetGroups (\ s a -> s{_mtgrsTargetGroups = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. mtgrsResponseStatus :: Lens' ModifyTargetGroupResponse Int mtgrsResponseStatus = lens _mtgrsResponseStatus (\ s a -> s{_mtgrsResponseStatus = a});
gen/Network/AWS/ELBv2/ModifyTargetGroupAttributes.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Modifies the specified attributes of the specified target group.+--+-- module Network.AWS.ELBv2.ModifyTargetGroupAttributes ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | Contains the parameters for ModifyTargetGroupAttributes. --+--+-- -- /See:/ 'modifyTargetGroupAttributes' smart constructor. data ModifyTargetGroupAttributes = ModifyTargetGroupAttributes' { _mtgaTargetGroupARN :: !Text@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mtgaTargetGroupARN'+-- * 'mtgaTargetGroupARN' - The Amazon Resource Name (ARN) of the target group. ----- * 'mtgaAttributes'+-- * 'mtgaAttributes' - The attributes. modifyTargetGroupAttributes :: Text -- ^ 'mtgaTargetGroupARN' -> ModifyTargetGroupAttributes@@ -109,6 +113,8 @@ -- | Contains the output of ModifyTargetGroupAttributes. --+--+-- -- /See:/ 'modifyTargetGroupAttributesResponse' smart constructor. data ModifyTargetGroupAttributesResponse = ModifyTargetGroupAttributesResponse' { _mtgarsAttributes :: !(Maybe [TargetGroupAttribute])@@ -119,9 +125,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mtgarsAttributes'+-- * 'mtgarsAttributes' - Information about the attributes. ----- * 'mtgarsResponseStatus'+-- * 'mtgarsResponseStatus' - -- | The response status code. modifyTargetGroupAttributesResponse :: Int -- ^ 'mtgarsResponseStatus' -> ModifyTargetGroupAttributesResponse@@ -135,7 +141,7 @@ mtgarsAttributes :: Lens' ModifyTargetGroupAttributesResponse [TargetGroupAttribute] mtgarsAttributes = lens _mtgarsAttributes (\ s a -> s{_mtgarsAttributes = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. mtgarsResponseStatus :: Lens' ModifyTargetGroupAttributesResponse Int mtgarsResponseStatus = lens _mtgarsResponseStatus (\ s a -> s{_mtgarsResponseStatus = a});
gen/Network/AWS/ELBv2/RegisterTargets.hs view
@@ -20,9 +20,13 @@ -- -- Registers the specified targets with the specified target group. ----- The target must be in the virtual private cloud (VPC) that you specified for the target group. ----- To remove a target from a target group, use < DeregisterTargets>.+-- By default, the load balancer routes requests to registered targets using the protocol and port number for the target group. Alternatively, you can override the port for a target when you register it.+--+-- The target must be in the virtual private cloud (VPC) that you specified for the target group. If the target is an EC2 instance, it can't be in the @stopped@ or @running@ state when you register it.+--+-- To remove a target from a target group, use 'DeregisterTargets' .+-- module Network.AWS.ELBv2.RegisterTargets ( -- * Creating a Request@@ -48,6 +52,8 @@ -- | Contains the parameters for RegisterTargets. --+--+-- -- /See:/ 'registerTargets' smart constructor. data RegisterTargets = RegisterTargets' { _rtTargetGroupARN :: !Text@@ -58,9 +64,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtTargetGroupARN'+-- * 'rtTargetGroupARN' - The Amazon Resource Name (ARN) of the target group. ----- * 'rtTargets'+-- * 'rtTargets' - The targets. The default port for a target is the port for the target group. You can specify a port override. If a target is already registered, you can register it again using a different port. registerTargets :: Text -- ^ 'rtTargetGroupARN' -> RegisterTargets@@ -74,7 +80,7 @@ rtTargetGroupARN :: Lens' RegisterTargets Text rtTargetGroupARN = lens _rtTargetGroupARN (\ s a -> s{_rtTargetGroupARN = a}); --- | The targets.+-- | The targets. The default port for a target is the port for the target group. You can specify a port override. If a target is already registered, you can register it again using a different port. rtTargets :: Lens' RegisterTargets [TargetDescription] rtTargets = lens _rtTargets (\ s a -> s{_rtTargets = a}) . _Coerce; @@ -106,6 +112,8 @@ -- | Contains the output of RegisterTargets. --+--+-- -- /See:/ 'registerTargetsResponse' smart constructor. newtype RegisterTargetsResponse = RegisterTargetsResponse' { _rrsResponseStatus :: Int@@ -115,7 +123,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rrsResponseStatus'+-- * 'rrsResponseStatus' - -- | The response status code. registerTargetsResponse :: Int -- ^ 'rrsResponseStatus' -> RegisterTargetsResponse@@ -124,7 +132,7 @@ { _rrsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. rrsResponseStatus :: Lens' RegisterTargetsResponse Int rrsResponseStatus = lens _rrsResponseStatus (\ s a -> s{_rrsResponseStatus = a});
gen/Network/AWS/ELBv2/RemoveTags.hs view
@@ -20,7 +20,9 @@ -- -- Removes the specified tags from the specified resource. ----- To list the current tags for your resources, use < DescribeTags>.+--+-- To list the current tags for your resources, use 'DescribeTags' .+-- module Network.AWS.ELBv2.RemoveTags ( -- * Creating a Request@@ -46,6 +48,8 @@ -- | Contains the parameters for RemoveTags. --+--+-- -- /See:/ 'removeTags' smart constructor. data RemoveTags = RemoveTags' { _rtResourceARNs :: ![Text]@@ -56,9 +60,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtResourceARNs'+-- * 'rtResourceARNs' - The Amazon Resource Name (ARN) of the resource. ----- * 'rtTagKeys'+-- * 'rtTagKeys' - The tag keys for the tags to remove. removeTags :: RemoveTags removeTags =@@ -104,6 +108,8 @@ -- | Contains the output of RemoveTags. --+--+-- -- /See:/ 'removeTagsResponse' smart constructor. newtype RemoveTagsResponse = RemoveTagsResponse' { _rtrsResponseStatus :: Int@@ -113,7 +119,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtrsResponseStatus'+-- * 'rtrsResponseStatus' - -- | The response status code. removeTagsResponse :: Int -- ^ 'rtrsResponseStatus' -> RemoveTagsResponse@@ -122,7 +128,7 @@ { _rtrsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. rtrsResponseStatus :: Lens' RemoveTagsResponse Int rtrsResponseStatus = lens _rtrsResponseStatus (\ s a -> s{_rtrsResponseStatus = a});
gen/Network/AWS/ELBv2/SetRulePriorities.hs view
@@ -20,7 +20,9 @@ -- -- Sets the priorities of the specified rules. --+-- -- You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority.+-- module Network.AWS.ELBv2.SetRulePriorities ( -- * Creating a Request@@ -46,6 +48,8 @@ -- | Contains the parameters for SetRulePriorities. --+--+-- -- /See:/ 'setRulePriorities' smart constructor. newtype SetRulePriorities = SetRulePriorities' { _srpRulePriorities :: [RulePriorityPair]@@ -55,7 +59,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'srpRulePriorities'+-- * 'srpRulePriorities' - The rule priorities. setRulePriorities :: SetRulePriorities setRulePriorities =@@ -98,6 +102,8 @@ -- | Contains the output of SetRulePriorities. --+--+-- -- /See:/ 'setRulePrioritiesResponse' smart constructor. data SetRulePrioritiesResponse = SetRulePrioritiesResponse' { _srprsRules :: !(Maybe [Rule])@@ -108,9 +114,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'srprsRules'+-- * 'srprsRules' - Information about the rules. ----- * 'srprsResponseStatus'+-- * 'srprsResponseStatus' - -- | The response status code. setRulePrioritiesResponse :: Int -- ^ 'srprsResponseStatus' -> SetRulePrioritiesResponse@@ -124,7 +130,7 @@ srprsRules :: Lens' SetRulePrioritiesResponse [Rule] srprsRules = lens _srprsRules (\ s a -> s{_srprsRules = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. srprsResponseStatus :: Lens' SetRulePrioritiesResponse Int srprsResponseStatus = lens _srprsResponseStatus (\ s a -> s{_srprsResponseStatus = a});
gen/Network/AWS/ELBv2/SetSecurityGroups.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Associates the specified security groups with the specified load balancer. The specified security groups override the previously associated security groups.+--+-- module Network.AWS.ELBv2.SetSecurityGroups ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | Contains the parameters for SetSecurityGroups. --+--+-- -- /See:/ 'setSecurityGroups' smart constructor. data SetSecurityGroups = SetSecurityGroups' { _ssgLoadBalancerARN :: !Text@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ssgLoadBalancerARN'+-- * 'ssgLoadBalancerARN' - The Amazon Resource Name (ARN) of the load balancer. ----- * 'ssgSecurityGroups'+-- * 'ssgSecurityGroups' - The IDs of the security groups. setSecurityGroups :: Text -- ^ 'ssgLoadBalancerARN' -> SetSecurityGroups@@ -107,6 +111,8 @@ -- | Contains the output of SetSecurityGroups. --+--+-- -- /See:/ 'setSecurityGroupsResponse' smart constructor. data SetSecurityGroupsResponse = SetSecurityGroupsResponse' { _ssgrsSecurityGroupIds :: !(Maybe [Text])@@ -117,9 +123,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ssgrsSecurityGroupIds'+-- * 'ssgrsSecurityGroupIds' - The IDs of the security groups associated with the load balancer. ----- * 'ssgrsResponseStatus'+-- * 'ssgrsResponseStatus' - -- | The response status code. setSecurityGroupsResponse :: Int -- ^ 'ssgrsResponseStatus' -> SetSecurityGroupsResponse@@ -133,7 +139,7 @@ ssgrsSecurityGroupIds :: Lens' SetSecurityGroupsResponse [Text] ssgrsSecurityGroupIds = lens _ssgrsSecurityGroupIds (\ s a -> s{_ssgrsSecurityGroupIds = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. ssgrsResponseStatus :: Lens' SetSecurityGroupsResponse Int ssgrsResponseStatus = lens _ssgrsResponseStatus (\ s a -> s{_ssgrsResponseStatus = a});
gen/Network/AWS/ELBv2/SetSubnets.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Enables the Availability Zone for the specified subnets for the specified load balancer. The specified subnets replace the previously enabled subnets.+--+-- module Network.AWS.ELBv2.SetSubnets ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | Contains the parameters for SetSubnets. --+--+-- -- /See:/ 'setSubnets' smart constructor. data SetSubnets = SetSubnets' { _ssLoadBalancerARN :: !Text@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ssLoadBalancerARN'+-- * 'ssLoadBalancerARN' - The Amazon Resource Name (ARN) of the load balancer. ----- * 'ssSubnets'+-- * 'ssSubnets' - The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per Availability Zone. setSubnets :: Text -- ^ 'ssLoadBalancerARN' -> SetSubnets@@ -106,6 +110,8 @@ -- | Contains the output of SetSubnets. --+--+-- -- /See:/ 'setSubnetsResponse' smart constructor. data SetSubnetsResponse = SetSubnetsResponse' { _ssrsAvailabilityZones :: !(Maybe [AvailabilityZone])@@ -116,9 +122,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ssrsAvailabilityZones'+-- * 'ssrsAvailabilityZones' - Information about the subnet and Availability Zone. ----- * 'ssrsResponseStatus'+-- * 'ssrsResponseStatus' - -- | The response status code. setSubnetsResponse :: Int -- ^ 'ssrsResponseStatus' -> SetSubnetsResponse@@ -132,7 +138,7 @@ ssrsAvailabilityZones :: Lens' SetSubnetsResponse [AvailabilityZone] ssrsAvailabilityZones = lens _ssrsAvailabilityZones (\ s a -> s{_ssrsAvailabilityZones = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. ssrsResponseStatus :: Lens' SetSubnetsResponse Int ssrsResponseStatus = lens _ssrsResponseStatus (\ s a -> s{_ssrsResponseStatus = a});
gen/Network/AWS/ELBv2/Types.hs view
@@ -226,7 +226,7 @@ import Network.AWS.Prelude import Network.AWS.Sign.V4 --- | API version '2015-12-01' of the Amazon Elastic Load Balancing SDK configuration.+-- | API version @2015-12-01@ of the Amazon Elastic Load Balancing SDK configuration. eLBv2 :: Service eLBv2 = Service@@ -261,153 +261,215 @@ | otherwise = Nothing -- | The requested configuration is not valid.+--+-- _InvalidConfigurationRequestException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidConfigurationRequestException = _ServiceError . hasStatus 400 . hasCode "InvalidConfigurationRequest" -- | The specified subnet does not exist.+--+-- _SubnetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _SubnetNotFoundException = _ServiceError . hasStatus 400 . hasCode "SubnetNotFound" --- | You\'ve reached the limit on the number of targets.+-- | You've reached the limit on the number of targets.+--+-- _TooManyTargetsException :: AsError a => Getting (First ServiceError) a ServiceError _TooManyTargetsException = _ServiceError . hasStatus 400 . hasCode "TooManyTargets" -- | The specified rule does not exist.+--+-- _RuleNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _RuleNotFoundException = _ServiceError . hasStatus 400 . hasCode "RuleNotFound" -- | The specified subnet is out of available addresses.+--+-- _InvalidSubnetException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidSubnetException = _ServiceError . hasStatus 400 . hasCode "InvalidSubnet" --- | You\'ve reached the limit on the number of rules per load balancer.+-- | You've reached the limit on the number of rules per load balancer.+--+-- _TooManyRulesException :: AsError a => Getting (First ServiceError) a ServiceError _TooManyRulesException = _ServiceError . hasStatus 400 . hasCode "TooManyRules" --- | You\'ve reached the limit on the number of target groups for your AWS account.+-- | You've reached the limit on the number of target groups for your AWS account.+--+-- _TooManyTargetGroupsException :: AsError a => Getting (First ServiceError) a ServiceError _TooManyTargetGroupsException = _ServiceError . hasStatus 400 . hasCode "TooManyTargetGroups" -- | A load balancer with the specified name already exists for this account.+--+-- _DuplicateLoadBalancerNameException :: AsError a => Getting (First ServiceError) a ServiceError _DuplicateLoadBalancerNameException = _ServiceError . hasStatus 400 . hasCode "DuplicateLoadBalancerName" -- | The specified configuration is not valid with this protocol.+--+-- _IncompatibleProtocolsException :: AsError a => Getting (First ServiceError) a ServiceError _IncompatibleProtocolsException = _ServiceError . hasStatus 400 . hasCode "IncompatibleProtocols" --- | You\'ve reached the limit on the number of certificates per listener.+-- | You've reached the limit on the number of certificates per listener.+--+-- _TooManyCertificatesException :: AsError a => Getting (First ServiceError) a ServiceError _TooManyCertificatesException = _ServiceError . hasStatus 400 . hasCode "TooManyCertificates" -- | A tag key was specified more than once.+--+-- _DuplicateTagKeysException :: AsError a => Getting (First ServiceError) a ServiceError _DuplicateTagKeysException = _ServiceError . hasStatus 400 . hasCode "DuplicateTagKeys" -- | A listener with the specified port already exists.+--+-- _DuplicateListenerException :: AsError a => Getting (First ServiceError) a ServiceError _DuplicateListenerException = _ServiceError . hasStatus 400 . hasCode "DuplicateListener" --- | You\'ve reached the limit on the number of tags per load balancer.+-- | You've reached the limit on the number of tags per load balancer.+--+-- _TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError _TooManyTagsException = _ServiceError . hasStatus 400 . hasCode "TooManyTags" -- | A target group with the specified name already exists.+--+-- _DuplicateTargetGroupNameException :: AsError a => Getting (First ServiceError) a ServiceError _DuplicateTargetGroupNameException = _ServiceError . hasStatus 400 . hasCode "DuplicateTargetGroupName" -- | The health of the specified targets could not be retrieved due to an internal error.+--+-- _HealthUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError _HealthUnavailableException = _ServiceError . hasStatus 500 . hasCode "HealthUnavailable" -- | The specified priority is in use.+--+-- _PriorityInUseException :: AsError a => Getting (First ServiceError) a ServiceError _PriorityInUseException = _ServiceError . hasStatus 400 . hasCode "PriorityInUse" --- | You\'ve reached the limit on the number of load balancers for your AWS account.+-- | You've reached the limit on the number of load balancers for your AWS account.+--+-- _TooManyLoadBalancersException :: AsError a => Getting (First ServiceError) a ServiceError _TooManyLoadBalancersException = _ServiceError . hasStatus 400 . hasCode "TooManyLoadBalancers" -- | The specified protocol is not supported.+--+-- _UnsupportedProtocolException :: AsError a => Getting (First ServiceError) a ServiceError _UnsupportedProtocolException = _ServiceError . hasStatus 400 . hasCode "UnsupportedProtocol" -- | The specified target does not exist or is not in the same VPC as the target group.+--+-- _InvalidTargetException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidTargetException = _ServiceError . hasStatus 400 . hasCode "InvalidTarget" -- | The specified security group does not exist.+--+-- _InvalidSecurityGroupException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidSecurityGroupException = _ServiceError . hasStatus 400 . hasCode "InvalidSecurityGroup" -- | The specified target group does not exist.+--+-- _TargetGroupNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _TargetGroupNotFoundException = _ServiceError . hasStatus 400 . hasCode "TargetGroupNotFound" -- | The specified listener does not exist.+--+-- _ListenerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _ListenerNotFoundException = _ServiceError . hasStatus 400 . hasCode "ListenerNotFound" --- | You\'ve reached the limit on the number of times a target can be registered with a load balancer.+-- | You've reached the limit on the number of times a target can be registered with a load balancer.+--+-- _TooManyRegistrationsForTargetIdException :: AsError a => Getting (First ServiceError) a ServiceError _TooManyRegistrationsForTargetIdException = _ServiceError . hasStatus 400 . hasCode "TooManyRegistrationsForTargetId" --- | You\'ve reached the limit on the number of listeners per load balancer.+-- | You've reached the limit on the number of listeners per load balancer.+--+-- _TooManyListenersException :: AsError a => Getting (First ServiceError) a ServiceError _TooManyListenersException = _ServiceError . hasStatus 400 . hasCode "TooManyListeners" --- | You\'ve reached the limit on the number of load balancers per target group.+-- | You've reached the limit on the number of load balancers per target group.+--+-- _TargetGroupAssociationLimitException :: AsError a => Getting (First ServiceError) a ServiceError _TargetGroupAssociationLimitException = _ServiceError . hasStatus 400 . hasCode "TargetGroupAssociationLimit" -- | This operation is not allowed.+--+-- _OperationNotPermittedException :: AsError a => Getting (First ServiceError) a ServiceError _OperationNotPermittedException = _ServiceError . hasStatus 400 . hasCode "OperationNotPermitted" -- | The specified SSL policy does not exist.+--+-- _SSLPolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _SSLPolicyNotFoundException = _ServiceError . hasStatus 400 . hasCode "SSLPolicyNotFound" -- | The requested scheme is not valid.+--+-- _InvalidSchemeException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidSchemeException = _ServiceError . hasStatus 400 . hasCode "InvalidScheme" -- | The specified load balancer does not exist.+--+-- _LoadBalancerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _LoadBalancerNotFoundException = _ServiceError . hasStatus 400 . hasCode "LoadBalancerNotFound" -- | A specified resource is in use.+--+-- _ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError _ResourceInUseException = _ServiceError . hasStatus 400 . hasCode "ResourceInUse" -- | The specified certificate does not exist.+--+-- _CertificateNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _CertificateNotFoundException = _ServiceError . hasStatus 400 . hasCode "CertificateNotFound"
gen/Network/AWS/ELBv2/Types/Product.hs view
@@ -23,6 +23,8 @@ -- | Information about an action. --+--+-- -- /See:/ 'action' smart constructor. data Action = Action' { _aType :: !ActionTypeEnum@@ -33,9 +35,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aType'+-- * 'aType' - The type of action. ----- * 'aTargetGroupARN'+-- * 'aTargetGroupARN' - The Amazon Resource Name (ARN) of the target group. action :: ActionTypeEnum -- ^ 'aType' -> Text -- ^ 'aTargetGroupARN'@@ -71,6 +73,8 @@ -- | Information about an Availability Zone. --+--+-- -- /See:/ 'availabilityZone' smart constructor. data AvailabilityZone = AvailabilityZone' { _azSubnetId :: !(Maybe Text)@@ -81,9 +85,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'azSubnetId'+-- * 'azSubnetId' - The ID of the subnet. ----- * 'azZoneName'+-- * 'azZoneName' - The name of the Availability Zone. availabilityZone :: AvailabilityZone availabilityZone =@@ -111,6 +115,8 @@ -- | Information about an SSL server certificate deployed on a load balancer. --+--+-- -- /See:/ 'certificate' smart constructor. newtype Certificate = Certificate' { _cCertificateARN :: Maybe Text@@ -120,7 +126,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cCertificateARN'+-- * 'cCertificateARN' - The Amazon Resource Name (ARN) of the certificate. certificate :: Certificate certificate =@@ -146,6 +152,8 @@ -- | Information about a cipher used in a policy. --+--+-- -- /See:/ 'cipher' smart constructor. data Cipher = Cipher' { _cPriority :: !(Maybe Int)@@ -156,9 +164,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cPriority'+-- * 'cPriority' - The priority of the cipher. ----- * 'cName'+-- * 'cName' - The name of the cipher. cipher :: Cipher cipher =@@ -185,6 +193,8 @@ -- | Information about a listener. --+--+-- -- /See:/ 'listener' smart constructor. data Listener = Listener' { _lSSLPolicy :: !(Maybe Text)@@ -200,19 +210,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lSSLPolicy'+-- * 'lSSLPolicy' - The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy. ----- * 'lListenerARN'+-- * 'lListenerARN' - The Amazon Resource Name (ARN) of the listener. ----- * 'lProtocol'+-- * 'lProtocol' - The protocol for connections from clients to the load balancer. ----- * 'lDefaultActions'+-- * 'lDefaultActions' - The default actions for the listener. ----- * 'lCertificates'+-- * 'lCertificates' - The SSL server certificate. You must provide a certificate if the protocol is HTTPS. ----- * 'lLoadBalancerARN'+-- * 'lLoadBalancerARN' - The Amazon Resource Name (ARN) of the load balancer. ----- * 'lPort'+-- * 'lPort' - The port on which the load balancer is listening. listener :: Listener listener =@@ -274,6 +284,8 @@ -- | Information about a load balancer. --+--+-- -- /See:/ 'loadBalancer' smart constructor. data LoadBalancer = LoadBalancer' { _lbState :: !(Maybe LoadBalancerState)@@ -293,27 +305,27 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lbState'+-- * 'lbState' - The state of the load balancer. ----- * 'lbSecurityGroups'+-- * 'lbSecurityGroups' - The IDs of the security groups for the load balancer. ----- * 'lbLoadBalancerName'+-- * 'lbLoadBalancerName' - The name of the load balancer. ----- * 'lbCreatedTime'+-- * 'lbCreatedTime' - The date and time the load balancer was created. ----- * 'lbVPCId'+-- * 'lbVPCId' - The ID of the VPC for the load balancer. ----- * 'lbCanonicalHostedZoneId'+-- * 'lbCanonicalHostedZoneId' - The ID of the Amazon Route 53 hosted zone associated with the load balancer. ----- * 'lbAvailabilityZones'+-- * 'lbAvailabilityZones' - The Availability Zones for the load balancer. ----- * 'lbLoadBalancerARN'+-- * 'lbLoadBalancerARN' - The Amazon Resource Name (ARN) of the load balancer. ----- * 'lbScheme'+-- * 'lbScheme' - The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer. ----- * 'lbType'+-- * 'lbType' - The type of load balancer. ----- * 'lbDNSName'+-- * 'lbDNSName' - The public DNS name of the load balancer. loadBalancer :: LoadBalancer loadBalancer =@@ -363,9 +375,7 @@ lbLoadBalancerARN :: Lens' LoadBalancer (Maybe Text) lbLoadBalancerARN = lens _lbLoadBalancerARN (\ s a -> s{_lbLoadBalancerARN = a}); --- | The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet.------ The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.+-- | The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer. lbScheme :: Lens' LoadBalancer (Maybe LoadBalancerSchemeEnum) lbScheme = lens _lbScheme (\ s a -> s{_lbScheme = a}); @@ -401,6 +411,8 @@ -- | Information about a load balancer attribute. --+--+-- -- /See:/ 'loadBalancerAttribute' smart constructor. data LoadBalancerAttribute = LoadBalancerAttribute' { _lbaValue :: !(Maybe Text)@@ -411,9 +423,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lbaValue'+-- * 'lbaValue' - The value of the attribute. ----- * 'lbaKey'+-- * 'lbaKey' - The name of the attribute. * @access_logs.s3.enabled@ - Indicates whether access logs stored in Amazon S3 are enabled. The value is @true@ or @false@ . * @access_logs.s3.bucket@ - The name of the S3 bucket for the access logs. This attribute is required if access logs in Amazon S3 are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permission to write to the bucket. * @access_logs.s3.prefix@ - The prefix for the location in the S3 bucket. If you don't specify a prefix, the access logs are stored in the root of the bucket. * @deletion_protection.enabled@ - Indicates whether deletion protection is enabled. The value is @true@ or @false@ . * @idle_timeout.timeout_seconds@ - The idle timeout value, in seconds. The valid range is 1-3600. The default is 60 seconds. loadBalancerAttribute :: LoadBalancerAttribute loadBalancerAttribute =@@ -426,18 +438,7 @@ lbaValue :: Lens' LoadBalancerAttribute (Maybe Text) lbaValue = lens _lbaValue (\ s a -> s{_lbaValue = a}); --- | The name of the attribute.------ - 'access_logs.s3.enabled' - Indicates whether access logs stored in Amazon S3 are enabled.------ - 'access_logs.s3.bucket' - The name of the S3 bucket for the access logs. This attribute is required if access logs in Amazon S3 are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permission to write to the bucket.------ - 'access_logs.s3.prefix' - The prefix for the location in the S3 bucket. If you don\'t specify a prefix, the access logs are stored in the root of the bucket.------ - 'deletion_protection.enabled' - Indicates whether deletion protection is enabled.------ - 'idle_timeout.timeout_seconds' - The idle timeout value, in seconds. The valid range is 1-3600. The default is 60 seconds.---+-- | The name of the attribute. * @access_logs.s3.enabled@ - Indicates whether access logs stored in Amazon S3 are enabled. The value is @true@ or @false@ . * @access_logs.s3.bucket@ - The name of the S3 bucket for the access logs. This attribute is required if access logs in Amazon S3 are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permission to write to the bucket. * @access_logs.s3.prefix@ - The prefix for the location in the S3 bucket. If you don't specify a prefix, the access logs are stored in the root of the bucket. * @deletion_protection.enabled@ - Indicates whether deletion protection is enabled. The value is @true@ or @false@ . * @idle_timeout.timeout_seconds@ - The idle timeout value, in seconds. The valid range is 1-3600. The default is 60 seconds. lbaKey :: Lens' LoadBalancerAttribute (Maybe Text) lbaKey = lens _lbaKey (\ s a -> s{_lbaKey = a}); @@ -456,6 +457,8 @@ -- | Information about the state of the load balancer. --+--+-- -- /See:/ 'loadBalancerState' smart constructor. data LoadBalancerState = LoadBalancerState' { _lbsReason :: !(Maybe Text)@@ -466,9 +469,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lbsReason'+-- * 'lbsReason' - A description of the state. ----- * 'lbsCode'+-- * 'lbsCode' - The state code. The initial state of the load balancer is @provisioning@ . After the load balancer is fully set up and ready to route traffic, its state is @active@ . If the load balancer could not be set up, its state is @failed@ . loadBalancerState :: LoadBalancerState loadBalancerState =@@ -481,7 +484,7 @@ lbsReason :: Lens' LoadBalancerState (Maybe Text) lbsReason = lens _lbsReason (\ s a -> s{_lbsReason = a}); --- | The state code. The initial state of the load balancer is 'provisioning'. After the load balancer is fully set up and ready to route traffic, its state is 'active'. If the load balancer could not be set up, its state is 'failed'.+-- | The state code. The initial state of the load balancer is @provisioning@ . After the load balancer is fully set up and ready to route traffic, its state is @active@ . If the load balancer could not be set up, its state is @failed@ . lbsCode :: Lens' LoadBalancerState (Maybe LoadBalancerStateEnum) lbsCode = lens _lbsCode (\ s a -> s{_lbsCode = a}); @@ -496,6 +499,8 @@ -- | Information to use when checking for a successful response from a target. --+--+-- -- /See:/ 'matcher' smart constructor. newtype Matcher = Matcher' { _mHTTPCode :: Text@@ -505,7 +510,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mHTTPCode'+-- * 'mHTTPCode' - The HTTP codes. The default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299"). matcher :: Text -- ^ 'mHTTPCode' -> Matcher@@ -514,7 +519,7 @@ { _mHTTPCode = pHTTPCode_ } --- | The HTTP codes. The default value is 200. You can specify multiple values (for example, \"200,202\") or a range of values (for example, \"200-299\").+-- | The HTTP codes. The default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299"). mHTTPCode :: Lens' Matcher Text mHTTPCode = lens _mHTTPCode (\ s a -> s{_mHTTPCode = a}); @@ -531,6 +536,8 @@ -- | Information about a rule. --+--+-- -- /See:/ 'rule' smart constructor. data Rule = Rule' { _rPriority :: !(Maybe Text)@@ -544,15 +551,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rPriority'+-- * 'rPriority' - The priority. ----- * 'rActions'+-- * 'rActions' - The actions. ----- * 'rConditions'+-- * 'rConditions' - The conditions. ----- * 'rRuleARN'+-- * 'rRuleARN' - The Amazon Resource Name (ARN) of the rule. ----- * 'rIsDefault'+-- * 'rIsDefault' - Indicates whether this is the default rule. rule :: Rule rule =@@ -602,6 +609,8 @@ -- | Information about a condition for a rule. --+--+-- -- /See:/ 'ruleCondition' smart constructor. data RuleCondition = RuleCondition' { _rcField :: !(Maybe Text)@@ -612,9 +621,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rcField'+-- * 'rcField' - The only possible value is @path-pattern@ . ----- * 'rcValues'+-- * 'rcValues' - The path pattern. You can specify a single path pattern. A path pattern is case sensitive, can be up to 255 characters in length, and can contain any of the following characters: * A-Z, a-z, 0-9 * _ - . $ / ~ " ' @ : + * & (using &) * * (matches 0 or more characters) * ? (matches exactly 1 character) ruleCondition :: RuleCondition ruleCondition =@@ -623,24 +632,11 @@ , _rcValues = Nothing } --- | The name of the field. The possible value is 'path-pattern'.+-- | The only possible value is @path-pattern@ . rcField :: Lens' RuleCondition (Maybe Text) rcField = lens _rcField (\ s a -> s{_rcField = a}); --- | The values for the field.------ A path pattern is case sensitive, can be up to 255 characters in length, and can contain any of the following characters:------ - A-Z, a-z, 0-9------ - _ - . > \/ ~ \" \' \' : +------ - & (using &amp;)------ - * (matches 0 or more characters)------ - ? (matches exactly 1 character)---+-- | The path pattern. You can specify a single path pattern. A path pattern is case sensitive, can be up to 255 characters in length, and can contain any of the following characters: * A-Z, a-z, 0-9 * _ - . $ / ~ " ' @ : + * & (using &) * * (matches 0 or more characters) * ? (matches exactly 1 character) rcValues :: Lens' RuleCondition [Text] rcValues = lens _rcValues (\ s a -> s{_rcValues = a}) . _Default . _Coerce; @@ -664,6 +660,8 @@ -- | Information about the priorities for the rules for a listener. --+--+-- -- /See:/ 'rulePriorityPair' smart constructor. data RulePriorityPair = RulePriorityPair' { _rppPriority :: !(Maybe Nat)@@ -674,9 +672,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rppPriority'+-- * 'rppPriority' - The rule priority. ----- * 'rppRuleARN'+-- * 'rppRuleARN' - The Amazon Resource Name (ARN) of the rule. rulePriorityPair :: RulePriorityPair rulePriorityPair =@@ -705,6 +703,8 @@ -- | Information about a policy used for SSL negotiation. --+--+-- -- /See:/ 'sslPolicy' smart constructor. data SSLPolicy = SSLPolicy' { _spCiphers :: !(Maybe [Cipher])@@ -716,11 +716,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'spCiphers'+-- * 'spCiphers' - The ciphers. ----- * 'spName'+-- * 'spName' - The name of the policy. ----- * 'spSSLProtocols'+-- * 'spSSLProtocols' - The protocols. sslPolicy :: SSLPolicy sslPolicy =@@ -758,6 +758,8 @@ -- | Information about a tag. --+--+-- -- /See:/ 'tag' smart constructor. data Tag = Tag' { _tagValue :: !(Maybe Text)@@ -768,9 +770,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tagValue'+-- * 'tagValue' - The value of the tag. ----- * 'tagKey'+-- * 'tagKey' - The key of the tag. tag :: Text -- ^ 'tagKey' -> Tag@@ -802,6 +804,8 @@ -- | The tags associated with a resource. --+--+-- -- /See:/ 'tagDescription' smart constructor. data TagDescription = TagDescription' { _tdResourceARN :: !(Maybe Text)@@ -812,9 +816,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tdResourceARN'+-- * 'tdResourceARN' - The Amazon Resource Name (ARN) of the resource. ----- * 'tdTags'+-- * 'tdTags' - Information about the tags. tagDescription :: TagDescription tagDescription =@@ -844,6 +848,8 @@ -- | Information about a target. --+--+-- -- /See:/ 'targetDescription' smart constructor. data TargetDescription = TargetDescription' { _tdPort :: !(Maybe Nat)@@ -854,9 +860,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tdPort'+-- * 'tdPort' - The port on which the target is listening. ----- * 'tdId'+-- * 'tdId' - The ID of the target. targetDescription :: Text -- ^ 'tdId' -> TargetDescription@@ -889,6 +895,8 @@ -- | Information about a target group. --+--+-- -- /See:/ 'targetGroup' smart constructor. data TargetGroup = TargetGroup' { _tgMatcher :: !(Maybe Matcher)@@ -911,33 +919,33 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tgMatcher'+-- * 'tgMatcher' - The HTTP codes to use when checking for a successful response from a target. ----- * 'tgHealthCheckPath'+-- * 'tgHealthCheckPath' - The destination for the health check request. ----- * 'tgUnhealthyThresholdCount'+-- * 'tgUnhealthyThresholdCount' - The number of consecutive health check failures required before considering the target unhealthy. ----- * 'tgVPCId'+-- * 'tgVPCId' - The ID of the VPC for the targets. ----- * 'tgTargetGroupARN'+-- * 'tgTargetGroupARN' - The Amazon Resource Name (ARN) of the target group. ----- * 'tgProtocol'+-- * 'tgProtocol' - The protocol to use for routing traffic to the targets. ----- * 'tgHealthCheckIntervalSeconds'+-- * 'tgHealthCheckIntervalSeconds' - The approximate amount of time, in seconds, between health checks of an individual target. ----- * 'tgHealthyThresholdCount'+-- * 'tgHealthyThresholdCount' - The number of consecutive health checks successes required before considering an unhealthy target healthy. ----- * 'tgHealthCheckProtocol'+-- * 'tgHealthCheckProtocol' - The protocol to use to connect with the target. ----- * 'tgLoadBalancerARNs'+-- * 'tgLoadBalancerARNs' - The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group. ----- * 'tgHealthCheckTimeoutSeconds'+-- * 'tgHealthCheckTimeoutSeconds' - The amount of time, in seconds, during which no response means a failed health check. ----- * 'tgHealthCheckPort'+-- * 'tgHealthCheckPort' - The port to use to connect with the target. ----- * 'tgTargetGroupName'+-- * 'tgTargetGroupName' - The name of the target group. ----- * 'tgPort'+-- * 'tgPort' - The port on which the targets are listening. targetGroup :: TargetGroup targetGroup =@@ -1039,6 +1047,8 @@ -- | Information about a target group attribute. --+--+-- -- /See:/ 'targetGroupAttribute' smart constructor. data TargetGroupAttribute = TargetGroupAttribute' { _tgaValue :: !(Maybe Text)@@ -1049,9 +1059,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tgaValue'+-- * 'tgaValue' - The value of the attribute. ----- * 'tgaKey'+-- * 'tgaKey' - The name of the attribute. * @deregistration_delay.timeout_seconds@ - The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from @draining@ to @unused@ . The range is 0-3600 seconds. The default value is 300 seconds. * @stickiness.enabled@ - Indicates whether sticky sessions are enabled. The value is @true@ or @false@ . * @stickiness.type@ - The type of sticky sessions. The possible value is @lb_cookie@ . * @stickiness.lb_cookie.duration_seconds@ - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds). targetGroupAttribute :: TargetGroupAttribute targetGroupAttribute =@@ -1064,16 +1074,7 @@ tgaValue :: Lens' TargetGroupAttribute (Maybe Text) tgaValue = lens _tgaValue (\ s a -> s{_tgaValue = a}); --- | The name of the attribute.------ - 'deregistration_delay.timeout_seconds' - The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from 'draining' to 'unused'. The range is 0-3600 seconds. The default value is 300 seconds.------ - 'stickiness.enabled' - Indicates whether sticky sessions are enabled.------ - 'stickiness.type' - The type of sticky sessions. The possible value is 'lb_cookie'.------ - 'stickiness.lb_cookie.duration_seconds' - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).---+-- | The name of the attribute. * @deregistration_delay.timeout_seconds@ - The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from @draining@ to @unused@ . The range is 0-3600 seconds. The default value is 300 seconds. * @stickiness.enabled@ - Indicates whether sticky sessions are enabled. The value is @true@ or @false@ . * @stickiness.type@ - The type of sticky sessions. The possible value is @lb_cookie@ . * @stickiness.lb_cookie.duration_seconds@ - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds). tgaKey :: Lens' TargetGroupAttribute (Maybe Text) tgaKey = lens _tgaKey (\ s a -> s{_tgaKey = a}); @@ -1092,6 +1093,8 @@ -- | Information about the current health of a target. --+--+-- -- /See:/ 'targetHealth' smart constructor. data TargetHealth = TargetHealth' { _thState :: !(Maybe TargetHealthStateEnum)@@ -1103,11 +1106,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'thState'+-- * 'thState' - The state of the target. ----- * 'thReason'+-- * 'thReason' - The reason code. If the target state is @healthy@ , a reason code is not provided. If the target state is @initial@ , the reason code can be one of the following values: * @Elb.RegistrationInProgress@ - The target is in the process of being registered with the load balancer. * @Elb.InitialHealthChecking@ - The load balancer is still sending the target the minimum number of health checks required to determine its health status. If the target state is @unhealthy@ , the reason code can be one of the following values: * @Target.ResponseCodeMismatch@ - The health checks did not return an expected HTTP code. * @Target.Timeout@ - The health check requests timed out. * @Target.FailedHealthChecks@ - The health checks failed because the connection to the target timed out, the target response was malformed, or the target failed the health check for an unknown reason. * @Elb.InternalError@ - The health checks failed due to an internal error. If the target state is @unused@ , the reason code can be one of the following values: * @Target.NotRegistered@ - The target is not registered with the target group. * @Target.NotInUse@ - The target group is not used by any load balancer or the target is in an Availability Zone that is not enabled for its load balancer. * @Target.InvalidState@ - The target is in the stopped or terminated state. If the target state is @draining@ , the reason code can be the following value: * @Target.DeregistrationInProgress@ - The target is in the process of being deregistered and the deregistration delay period has not expired. ----- * 'thDescription'+-- * 'thDescription' - A description of the target health that provides additional details. If the state is @healthy@ , a description is not provided. targetHealth :: TargetHealth targetHealth =@@ -1121,40 +1124,11 @@ thState :: Lens' TargetHealth (Maybe TargetHealthStateEnum) thState = lens _thState (\ s a -> s{_thState = a}); --- | The reason code. If the target state is 'healthy', a reason code is not provided.------ If the target state is 'initial', the reason code can be one of the following values:------ - 'Elb.RegistrationInProgress' - The target is in the process of being registered with the load balancer.------ - 'Elb.InitialHealthChecking' - The load balancer is still sending the target the minimum number of health checks required to determine its health status.------ If the target state is 'unhealthy', the reason code can be one of the following values:------ - 'Target.ResponseCodeMismatch' - The health checks did not return an expected HTTP code.------ - 'Target.Timeout' - The health check requests timed out.------ - 'Target.FailedHealthChecks' - The health checks failed because the connection to the target timed out, the target response was malformed, or the target failed the health check for an unknown reason.------ - 'Elb.InternalError' - The health checks failed due to an internal error.------ If the target state is 'unused', the reason code can be one of the following values:------ - 'Target.NotRegistered' - The target is not registered with the target group.------ - 'Target.NotInUse' - The target group is not used by any load balancer or the target is in an Availability Zone that is not enabled for its load balancer.------ - 'Target.InvalidState' - The target is in the stopped or terminated state.------ If the target state is 'draining', the reason code can be the following value:------ - 'Target.DeregistrationInProgress' - The target is in the process of being deregistered and the deregistration delay period has not expired.---+-- | The reason code. If the target state is @healthy@ , a reason code is not provided. If the target state is @initial@ , the reason code can be one of the following values: * @Elb.RegistrationInProgress@ - The target is in the process of being registered with the load balancer. * @Elb.InitialHealthChecking@ - The load balancer is still sending the target the minimum number of health checks required to determine its health status. If the target state is @unhealthy@ , the reason code can be one of the following values: * @Target.ResponseCodeMismatch@ - The health checks did not return an expected HTTP code. * @Target.Timeout@ - The health check requests timed out. * @Target.FailedHealthChecks@ - The health checks failed because the connection to the target timed out, the target response was malformed, or the target failed the health check for an unknown reason. * @Elb.InternalError@ - The health checks failed due to an internal error. If the target state is @unused@ , the reason code can be one of the following values: * @Target.NotRegistered@ - The target is not registered with the target group. * @Target.NotInUse@ - The target group is not used by any load balancer or the target is in an Availability Zone that is not enabled for its load balancer. * @Target.InvalidState@ - The target is in the stopped or terminated state. If the target state is @draining@ , the reason code can be the following value: * @Target.DeregistrationInProgress@ - The target is in the process of being deregistered and the deregistration delay period has not expired. thReason :: Lens' TargetHealth (Maybe TargetHealthReasonEnum) thReason = lens _thReason (\ s a -> s{_thReason = a}); --- | A description of the target health that provides additional details. If the state is 'healthy', a description is not provided.+-- | A description of the target health that provides additional details. If the state is @healthy@ , a description is not provided. thDescription :: Lens' TargetHealth (Maybe Text) thDescription = lens _thDescription (\ s a -> s{_thDescription = a}); @@ -1170,6 +1144,8 @@ -- | Information about the health of a target. --+--+-- -- /See:/ 'targetHealthDescription' smart constructor. data TargetHealthDescription = TargetHealthDescription' { _thdTargetHealth :: !(Maybe TargetHealth)@@ -1181,11 +1157,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'thdTargetHealth'+-- * 'thdTargetHealth' - The health information for the target. ----- * 'thdHealthCheckPort'+-- * 'thdHealthCheckPort' - The port to use to connect with the target. ----- * 'thdTarget'+-- * 'thdTarget' - The description of the target. targetHealthDescription :: TargetHealthDescription targetHealthDescription =