Permalink
Browse files

Regenerating amazonka-elbv2 from latest service definition

  • Loading branch information...
brendanhay committed Nov 29, 2016
1 parent c216e5c commit 8c5ae35c8c04fa70fc5a73e998ccb721ce90f809
@@ -15,13 +15,13 @@
--
-- 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:
--
-- * Create a load balancer using 'CreateLoadBalancer' .
-- * Create an Application Load Balancer using 'CreateLoadBalancer' .
--
-- * Create a target group using 'CreateTargetGroup' .
--
@@ -33,7 +33,7 @@
--
--
--
-- To delete an Application load balancer and its related resources, complete the following tasks:
-- To delete an Application Load Balancer and its related resources, complete the following tasks:
--
-- * Delete the load balancer using 'DeleteLoadBalancer' .
--
@@ -18,7 +18,7 @@
-- 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.
@@ -18,9 +18,11 @@
-- 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.
--
--
-- 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/ .
@@ -81,7 +83,7 @@ data CreateListener = CreateListener'
--
-- * 'clPort' - The port on which the load balancer is listening.
--
-- * 'clDefaultActions' - The default actions for the listener.
-- * 'clDefaultActions' - The default action for the listener.
createListener
:: Text -- ^ 'clLoadBalancerARN'
-> ProtocolEnum -- ^ 'clProtocol'
@@ -117,7 +119,7 @@ clProtocol = lens _clProtocol (\ s a -> s{_clProtocol = a});
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;
@@ -18,7 +18,7 @@
-- 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' .
@@ -27,6 +27,8 @@
--
-- 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
@@ -21,7 +21,7 @@
-- 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.
-- 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' .
--
@@ -69,11 +69,11 @@ data CreateRule = CreateRule'
--
-- * 'crListenerARN' - The Amazon Resource Name (ARN) of the listener.
--
-- * 'crConditions' - The conditions.
-- * '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 &amp;) * * (matches 0 or more characters) * ? (matches exactly 1 character)
--
-- * 'crPriority' - The priority for the rule. A listener can't have multiple rules with the same priority.
--
-- * 'crActions' - The actions for the rule.
-- * 'crActions' - An action. Each action has the type @forward@ and specifies a target group.
createRule
:: Text -- ^ 'crListenerARN'
-> Natural -- ^ 'crPriority'
@@ -90,15 +90,15 @@ createRule pListenerARN_ pPriority_ =
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 &amp;) * * (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.
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;
@@ -18,7 +18,7 @@
-- 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.
@@ -60,7 +60,7 @@ data DeregisterTargets = DeregisterTargets'
--
-- * 'dtTargetGroupARN' - The Amazon Resource Name (ARN) of the target group.
--
-- * 'dtTargets' - The targets.
-- * '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
@@ -74,7 +74,7 @@ deregisterTargets pTargetGroupARN_ =
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;
@@ -18,7 +18,7 @@
-- 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.
--
--
--
@@ -18,7 +18,7 @@
-- 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
@@ -18,7 +18,7 @@
-- 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' .
@@ -18,7 +18,7 @@
-- 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.
@@ -21,7 +21,9 @@
-- 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.
-- 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' .
--
@@ -64,7 +66,7 @@ data RegisterTargets = RegisterTargets'
--
-- * 'rtTargetGroupARN' - The Amazon Resource Name (ARN) of the target group.
--
-- * 'rtTargets' - The targets.
-- * '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
@@ -78,7 +80,7 @@ registerTargets pTargetGroupARN_ =
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;
Oops, something went wrong.

0 comments on commit 8c5ae35

Please sign in to comment.