packages feed

amazonka-autoscaling 1.4.4 → 1.4.5

raw patch · 57 files changed

+974/−963 lines, 57 filesdep ~amazonka-autoscalingdep ~amazonka-coredep ~amazonka-testPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-autoscaling, amazonka-core, amazonka-test

API changes (from Hackage documentation)

Files

README.md view
@@ -8,26 +8,27 @@  ## Version -`1.4.4`+`1.4.5`   ## Description -Auto Scaling--Auto Scaling is designed to automatically launch or terminate EC2 instances based on user-defined policies, schedules, and health checks. Use this service in conjunction with the Amazon CloudWatch and Elastic Load Balancing services.- Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-autoscaling) 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.AutoScaling](http://hackage.haskell.org/package/amazonka-autoscaling/docs/Network-AWS-AutoScaling.html)+or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.+  ## Contribute 
amazonka-autoscaling.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-autoscaling-version:               1.4.4+version:               1.4.5 synopsis:              Amazon Auto Scaling SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues@@ -13,22 +13,19 @@ cabal-version:         >= 1.10 extra-source-files:    README.md fixture/*.yaml fixture/*.proto src/.gitkeep description:-    Auto Scaling--    Auto Scaling is designed to automatically launch or terminate EC2 instances based on user-defined policies, schedules, and health checks. Use this service in conjunction with the Amazon CloudWatch and Elastic Load Balancing services.-    .     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.AutoScaling" or <https://aws.amazon.com/documentation/ the AWS Documentation>+    See "Network.AWS.AutoScaling" or <https://aws.amazon.com/documentation/ the AWS documentation>     to get started.  source-repository head@@ -103,7 +100,7 @@         , Network.AWS.AutoScaling.Types.Sum      build-depends:-          amazonka-core == 1.4.4.*+          amazonka-core == 1.4.5.*         , base          >= 4.7     && < 5  test-suite amazonka-autoscaling-test@@ -123,9 +120,9 @@         , Test.AWS.AutoScaling.Internal      build-depends:-          amazonka-core == 1.4.4.*-        , amazonka-test == 1.4.4.*-        , amazonka-autoscaling == 1.4.4.*+          amazonka-core == 1.4.5.*+        , amazonka-test == 1.4.5.*+        , amazonka-autoscaling == 1.4.5.*         , base         , bytestring         , tasty
gen/Network/AWS/AutoScaling.hs view
@@ -11,9 +11,10 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Auto Scaling+-- __Auto Scaling__ -- -- Auto Scaling is designed to automatically launch or terminate EC2 instances based on user-defined policies, schedules, and health checks. Use this service in conjunction with the Amazon CloudWatch and Elastic Load Balancing services.+-- module Network.AWS.AutoScaling     (     -- * Service Configuration
gen/Network/AWS/AutoScaling/AttachInstances.hs view
@@ -20,11 +20,13 @@ -- -- Attaches one or more EC2 instances to the specified Auto Scaling group. --+-- -- When you attach instances, Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails. -- -- If there is a Classic load balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/attach-instance-asg.html Attach EC2 Instances to Your Auto Scaling Group> in the /Auto Scaling User Guide/.+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/attach-instance-asg.html Attach EC2 Instances to Your Auto Scaling Group> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.AttachInstances     (     -- * Creating a Request@@ -48,6 +50,8 @@  -- | Contains the parameters for AttachInstances. --+--+-- -- /See:/ 'attachInstances' smart constructor. data AttachInstances = AttachInstances'     { _aiInstanceIds          :: !(Maybe [Text])@@ -58,9 +62,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aiInstanceIds'+-- * 'aiInstanceIds' - One or more instance IDs. ----- * 'aiAutoScalingGroupName'+-- * 'aiAutoScalingGroupName' - The name of the group. attachInstances     :: Text -- ^ 'aiAutoScalingGroupName'     -> AttachInstances
gen/Network/AWS/AutoScaling/AttachLoadBalancerTargetGroups.hs view
@@ -20,9 +20,11 @@ -- -- Attaches one or more target groups to the specified Auto Scaling group. ----- To describe the target groups for an Auto Scaling group, use < DescribeLoadBalancerTargetGroups>. To detach the target group from the Auto Scaling group, use < DetachLoadBalancerTargetGroups>. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/attach-load-balancer-asg.html Attach a Load Balancer to Your Auto Scaling Group> in the /Auto Scaling User Guide/.+-- To describe the target groups for an Auto Scaling group, use 'DescribeLoadBalancerTargetGroups' . To detach the target group from the Auto Scaling group, use 'DetachLoadBalancerTargetGroups' .+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/attach-load-balancer-asg.html Attach a Load Balancer to Your Auto Scaling Group> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.AttachLoadBalancerTargetGroups     (     -- * Creating a Request@@ -48,6 +50,8 @@  -- | Contains the parameters for AttachLoadBalancerTargetGroups. --+--+-- -- /See:/ 'attachLoadBalancerTargetGroups' smart constructor. data AttachLoadBalancerTargetGroups = AttachLoadBalancerTargetGroups'     { _albtgAutoScalingGroupName :: !Text@@ -58,9 +62,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'albtgAutoScalingGroupName'+-- * 'albtgAutoScalingGroupName' - The name of the Auto Scaling group. ----- * 'albtgTargetGroupARNs'+-- * 'albtgTargetGroupARNs' - The Amazon Resource Names (ARN) of the target groups. attachLoadBalancerTargetGroups     :: Text -- ^ 'albtgAutoScalingGroupName'     -> AttachLoadBalancerTargetGroups@@ -120,7 +124,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'albtgrsResponseStatus'+-- * 'albtgrsResponseStatus' - -- | The response status code. attachLoadBalancerTargetGroupsResponse     :: Int -- ^ 'albtgrsResponseStatus'     -> AttachLoadBalancerTargetGroupsResponse@@ -129,7 +133,7 @@     { _albtgrsResponseStatus = pResponseStatus_     } --- | The response status code.+-- | -- | The response status code. albtgrsResponseStatus :: Lens' AttachLoadBalancerTargetGroupsResponse Int albtgrsResponseStatus = lens _albtgrsResponseStatus (\ s a -> s{_albtgrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/AttachLoadBalancers.hs view
@@ -20,11 +20,13 @@ -- -- Attaches one or more Classic load balancers to the specified Auto Scaling group. ----- To attach an Application load balancer instead, see < AttachLoadBalancerTargetGroups>. ----- To describe the load balancers for an Auto Scaling group, use < DescribeLoadBalancers>. To detach the load balancer from the Auto Scaling group, use < DetachLoadBalancers>.+-- To attach an Application load balancer instead, see 'AttachLoadBalancerTargetGroups' . ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/attach-load-balancer-asg.html Attach a Load Balancer to Your Auto Scaling Group> in the /Auto Scaling User Guide/.+-- To describe the load balancers for an Auto Scaling group, use 'DescribeLoadBalancers' . To detach the load balancer from the Auto Scaling group, use 'DetachLoadBalancers' .+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/attach-load-balancer-asg.html Attach a Load Balancer to Your Auto Scaling Group> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.AttachLoadBalancers     (     -- * Creating a Request@@ -50,6 +52,8 @@  -- | Contains the parameters for AttachLoadBalancers. --+--+-- -- /See:/ 'attachLoadBalancers' smart constructor. data AttachLoadBalancers = AttachLoadBalancers'     { _albAutoScalingGroupName :: !Text@@ -60,9 +64,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'albAutoScalingGroupName'+-- * 'albAutoScalingGroupName' - The name of the group. ----- * 'albLoadBalancerNames'+-- * 'albLoadBalancerNames' - One or more load balancer names. attachLoadBalancers     :: Text -- ^ 'albAutoScalingGroupName'     -> AttachLoadBalancers@@ -110,6 +114,8 @@  -- | Contains the output of AttachLoadBalancers. --+--+-- -- /See:/ 'attachLoadBalancersResponse' smart constructor. newtype AttachLoadBalancersResponse = AttachLoadBalancersResponse'     { _albrsResponseStatus :: Int@@ -119,7 +125,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'albrsResponseStatus'+-- * 'albrsResponseStatus' - -- | The response status code. attachLoadBalancersResponse     :: Int -- ^ 'albrsResponseStatus'     -> AttachLoadBalancersResponse@@ -128,7 +134,7 @@     { _albrsResponseStatus = pResponseStatus_     } --- | The response status code.+-- | -- | The response status code. albrsResponseStatus :: Lens' AttachLoadBalancersResponse Int albrsResponseStatus = lens _albrsResponseStatus (\ s a -> s{_albrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/CompleteLifecycleAction.hs view
@@ -20,19 +20,23 @@ -- -- Completes the lifecycle action for the specified token or instance with the specified result. --+-- -- This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: ----- 1.  (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.+--     * (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances. ----- 2.  (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.+--     * (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target. ----- 3.  Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.+--     * Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. ----- 4.  If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.+--     * If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. ----- 5.  __If you finish before the timeout period ends, complete the lifecycle action.__+--     * __If you finish before the timeout period ends, complete the lifecycle action.__ ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/.+--+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.CompleteLifecycleAction     (     -- * Creating a Request@@ -61,6 +65,8 @@  -- | Contains the parameters for CompleteLifecycleAction. --+--+-- -- /See:/ 'completeLifecycleAction' smart constructor. data CompleteLifecycleAction = CompleteLifecycleAction'     { _claInstanceId            :: !(Maybe Text)@@ -74,15 +80,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'claInstanceId'+-- * 'claInstanceId' - The ID of the instance. ----- * 'claLifecycleActionToken'+-- * 'claLifecycleActionToken' - A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook. ----- * 'claLifecycleHookName'+-- * 'claLifecycleHookName' - The name of the lifecycle hook. ----- * 'claAutoScalingGroupName'+-- * 'claAutoScalingGroupName' - The name of the group for the lifecycle hook. ----- * 'claLifecycleActionResult'+-- * 'claLifecycleActionResult' - The action for the group to take. This parameter can be either @CONTINUE@ or @ABANDON@ . completeLifecycleAction     :: Text -- ^ 'claLifecycleHookName'     -> Text -- ^ 'claAutoScalingGroupName'@@ -113,7 +119,7 @@ claAutoScalingGroupName :: Lens' CompleteLifecycleAction Text claAutoScalingGroupName = lens _claAutoScalingGroupName (\ s a -> s{_claAutoScalingGroupName = a}); --- | The action for the group to take. This parameter can be either 'CONTINUE' or 'ABANDON'.+-- | The action for the group to take. This parameter can be either @CONTINUE@ or @ABANDON@ . claLifecycleActionResult :: Lens' CompleteLifecycleAction Text claLifecycleActionResult = lens _claLifecycleActionResult (\ s a -> s{_claLifecycleActionResult = a}); @@ -151,6 +157,8 @@  -- | Contains the output of CompleteLifecycleAction. --+--+-- -- /See:/ 'completeLifecycleActionResponse' smart constructor. newtype CompleteLifecycleActionResponse = CompleteLifecycleActionResponse'     { _clarsResponseStatus :: Int@@ -160,7 +168,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'clarsResponseStatus'+-- * 'clarsResponseStatus' - -- | The response status code. completeLifecycleActionResponse     :: Int -- ^ 'clarsResponseStatus'     -> CompleteLifecycleActionResponse@@ -169,7 +177,7 @@     { _clarsResponseStatus = pResponseStatus_     } --- | The response status code.+-- | -- | The response status code. clarsResponseStatus :: Lens' CompleteLifecycleActionResponse Int clarsResponseStatus = lens _clarsResponseStatus (\ s a -> s{_clarsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/CreateAutoScalingGroup.hs view
@@ -20,9 +20,11 @@ -- -- Creates an Auto Scaling group with the specified name and attributes. ----- If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see < DescribeAccountLimits>. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingGroup.html Auto Scaling Groups> in the /Auto Scaling User Guide/.+-- If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see 'DescribeAccountLimits' .+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroup.html Auto Scaling Groups> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.CreateAutoScalingGroup     (     -- * Creating a Request@@ -61,6 +63,8 @@  -- | Contains the parameters for CreateAutoScalingGroup. --+--+-- -- /See:/ 'createAutoScalingGroup' smart constructor. data CreateAutoScalingGroup = CreateAutoScalingGroup'     { _casgInstanceId                       :: !(Maybe Text)@@ -86,39 +90,39 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'casgInstanceId'+-- * 'casgInstanceId' - The ID of the instance used to create a launch configuration for the group. Alternatively, specify a launch configuration instead of an EC2 instance. When you specify an ID of an instance, Auto Scaling creates a new launch configuration and associates it with the group. This launch configuration derives its attributes from the specified instance, with the exception of the block device mapping. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/create-asg-from-instance.html Create an Auto Scaling Group Using an EC2 Instance> in the /Auto Scaling User Guide/ . ----- * 'casgTerminationPolicies'+-- * 'casgTerminationPolicies' - One or more termination policies used to select the instance to terminate. These policies are executed in the order that they are listed. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-termination.html Controlling Which Instances Auto Scaling Terminates During Scale In> in the /Auto Scaling User Guide/ . ----- * 'casgHealthCheckGracePeriod'+-- * 'casgHealthCheckGracePeriod' - The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. During this time, any health check failures for the instance are ignored. The default is 0. This parameter is required if you are adding an @ELB@ health check. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/healthcheck.html Health Checks> in the /Auto Scaling User Guide/ . ----- * 'casgNewInstancesProtectedFromScaleIn'+-- * 'casgNewInstancesProtectedFromScaleIn' - Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in. ----- * 'casgVPCZoneIdentifier'+-- * 'casgVPCZoneIdentifier' - A comma-separated list of subnet identifiers for your virtual private cloud (VPC). If you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html Launching Auto Scaling Instances in a VPC> in the /Auto Scaling User Guide/ . ----- * 'casgTargetGroupARNs'+-- * 'casgTargetGroupARNs' - The Amazon Resource Names (ARN) of the target groups. ----- * 'casgDefaultCooldown'+-- * 'casgDefaultCooldown' - The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html Auto Scaling Cooldowns> in the /Auto Scaling User Guide/ . ----- * 'casgAvailabilityZones'+-- * 'casgAvailabilityZones' - One or more Availability Zones for the group. This parameter is optional if you specify one or more subnets. ----- * 'casgDesiredCapacity'+-- * 'casgDesiredCapacity' - The number of EC2 instances that should be running in the group. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. ----- * 'casgLaunchConfigurationName'+-- * 'casgLaunchConfigurationName' - The name of the launch configuration. Alternatively, specify an EC2 instance instead of a launch configuration. ----- * 'casgHealthCheckType'+-- * 'casgHealthCheckType' - The service to use for the health checks. The valid values are @EC2@ and @ELB@ . By default, health checks use Amazon EC2 instance status checks to determine the health of an instance. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/healthcheck.html Health Checks> in the /Auto Scaling User Guide/ . ----- * 'casgPlacementGroup'+-- * 'casgPlacementGroup' - The name of the placement group into which you'll launch your instances, if any. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement Groups> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'casgLoadBalancerNames'+-- * 'casgLoadBalancerNames' - One or more Classic load balancers. To specify an Application load balancer, use @TargetGroupARNs@ instead. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/create-asg-from-instance.html Using a Load Balancer With an Auto Scaling Group> in the /Auto Scaling User Guide/ . ----- * 'casgTags'+-- * 'casgTags' - One or more tags. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/autoscaling-tagging.html Tagging Auto Scaling Groups and Instances> in the /Auto Scaling User Guide/ . ----- * 'casgAutoScalingGroupName'+-- * 'casgAutoScalingGroupName' - The name of the group. This name must be unique within the scope of your AWS account. ----- * 'casgMinSize'+-- * 'casgMinSize' - The minimum size of the group. ----- * 'casgMaxSize'+-- * 'casgMaxSize' - The maximum size of the group. createAutoScalingGroup     :: Text -- ^ 'casgAutoScalingGroupName'     -> Int -- ^ 'casgMinSize'@@ -145,25 +149,15 @@     , _casgMaxSize = pMaxSize_     } --- | The ID of the instance used to create a launch configuration for the group. Alternatively, specify a launch configuration instead of an EC2 instance.------ When you specify an ID of an instance, Auto Scaling creates a new launch configuration and associates it with the group. This launch configuration derives its attributes from the specified instance, with the exception of the block device mapping.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/create-asg-from-instance.html Create an Auto Scaling Group Using an EC2 Instance> in the /Auto Scaling User Guide/.+-- | The ID of the instance used to create a launch configuration for the group. Alternatively, specify a launch configuration instead of an EC2 instance. When you specify an ID of an instance, Auto Scaling creates a new launch configuration and associates it with the group. This launch configuration derives its attributes from the specified instance, with the exception of the block device mapping. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/create-asg-from-instance.html Create an Auto Scaling Group Using an EC2 Instance> in the /Auto Scaling User Guide/ . casgInstanceId :: Lens' CreateAutoScalingGroup (Maybe Text) casgInstanceId = lens _casgInstanceId (\ s a -> s{_casgInstanceId = a}); --- | One or more termination policies used to select the instance to terminate. These policies are executed in the order that they are listed.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingBehavior.InstanceTermination.html Controlling Which Instances Auto Scaling Terminates During Scale In> in the /Auto Scaling User Guide/.+-- | One or more termination policies used to select the instance to terminate. These policies are executed in the order that they are listed. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-termination.html Controlling Which Instances Auto Scaling Terminates During Scale In> in the /Auto Scaling User Guide/ . casgTerminationPolicies :: Lens' CreateAutoScalingGroup [Text] casgTerminationPolicies = lens _casgTerminationPolicies (\ s a -> s{_casgTerminationPolicies = a}) . _Default . _Coerce; --- | The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. During this time, any health check failures for the instance are ignored. The default is 0.------ This parameter is required if you are adding an 'ELB' health check.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/healthcheck.html Health Checks> in the /Auto Scaling User Guide/.+-- | The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. During this time, any health check failures for the instance are ignored. The default is 0. This parameter is required if you are adding an @ELB@ health check. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/healthcheck.html Health Checks> in the /Auto Scaling User Guide/ . casgHealthCheckGracePeriod :: Lens' CreateAutoScalingGroup (Maybe Int) casgHealthCheckGracePeriod = lens _casgHealthCheckGracePeriod (\ s a -> s{_casgHealthCheckGracePeriod = a}); @@ -171,11 +165,7 @@ casgNewInstancesProtectedFromScaleIn :: Lens' CreateAutoScalingGroup (Maybe Bool) casgNewInstancesProtectedFromScaleIn = lens _casgNewInstancesProtectedFromScaleIn (\ s a -> s{_casgNewInstancesProtectedFromScaleIn = a}); --- | A comma-separated list of subnet identifiers for your virtual private cloud (VPC).------ If you specify subnets and Availability Zones with this call, ensure that the subnets\' Availability Zones match the Availability Zones specified.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/asg-in-vpc.html Launching Auto Scaling Instances in a VPC> in the /Auto Scaling User Guide/.+-- | A comma-separated list of subnet identifiers for your virtual private cloud (VPC). If you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html Launching Auto Scaling Instances in a VPC> in the /Auto Scaling User Guide/ . casgVPCZoneIdentifier :: Lens' CreateAutoScalingGroup (Maybe Text) casgVPCZoneIdentifier = lens _casgVPCZoneIdentifier (\ s a -> s{_casgVPCZoneIdentifier = a}); @@ -183,9 +173,7 @@ casgTargetGroupARNs :: Lens' CreateAutoScalingGroup [Text] casgTargetGroupARNs = lens _casgTargetGroupARNs (\ s a -> s{_casgTargetGroupARNs = a}) . _Default . _Coerce; --- | The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html Auto Scaling Cooldowns> in the /Auto Scaling User Guide/.+-- | The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html Auto Scaling Cooldowns> in the /Auto Scaling User Guide/ . casgDefaultCooldown :: Lens' CreateAutoScalingGroup (Maybe Int) casgDefaultCooldown = lens _casgDefaultCooldown (\ s a -> s{_casgDefaultCooldown = a}); @@ -201,25 +189,19 @@ casgLaunchConfigurationName :: Lens' CreateAutoScalingGroup (Maybe Text) casgLaunchConfigurationName = lens _casgLaunchConfigurationName (\ s a -> s{_casgLaunchConfigurationName = a}); --- | The service to use for the health checks. The valid values are 'EC2' and 'ELB'.------ By default, health checks use Amazon EC2 instance status checks to determine the health of an instance. For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/healthcheck.html Health Checks> in the /Auto Scaling User Guide/.+-- | The service to use for the health checks. The valid values are @EC2@ and @ELB@ . By default, health checks use Amazon EC2 instance status checks to determine the health of an instance. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/healthcheck.html Health Checks> in the /Auto Scaling User Guide/ . casgHealthCheckType :: Lens' CreateAutoScalingGroup (Maybe Text) casgHealthCheckType = lens _casgHealthCheckType (\ s a -> s{_casgHealthCheckType = a}); --- | The name of the placement group into which you\'ll launch your instances, if any. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement Groups> in the /Amazon Elastic Compute Cloud User Guide/.+-- | The name of the placement group into which you'll launch your instances, if any. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement Groups> in the /Amazon Elastic Compute Cloud User Guide/ . casgPlacementGroup :: Lens' CreateAutoScalingGroup (Maybe Text) casgPlacementGroup = lens _casgPlacementGroup (\ s a -> s{_casgPlacementGroup = a}); --- | One or more Classic load balancers. To specify an Application load balancer, use 'TargetGroupARNs' instead.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SetUpASLBApp.html Using a Load Balancer With an Auto Scaling Group> in the /Auto Scaling User Guide/.+-- | One or more Classic load balancers. To specify an Application load balancer, use @TargetGroupARNs@ instead. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/create-asg-from-instance.html Using a Load Balancer With an Auto Scaling Group> in the /Auto Scaling User Guide/ . casgLoadBalancerNames :: Lens' CreateAutoScalingGroup [Text] casgLoadBalancerNames = lens _casgLoadBalancerNames (\ s a -> s{_casgLoadBalancerNames = a}) . _Default . _Coerce; --- | One or more tags.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/ASTagging.html Tagging Auto Scaling Groups and Instances> in the /Auto Scaling User Guide/.+-- | One or more tags. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/autoscaling-tagging.html Tagging Auto Scaling Groups and Instances> in the /Auto Scaling User Guide/ . casgTags :: Lens' CreateAutoScalingGroup [Tag] casgTags = lens _casgTags (\ s a -> s{_casgTags = a}) . _Default . _Coerce; 
gen/Network/AWS/AutoScaling/CreateLaunchConfiguration.hs view
@@ -20,9 +20,11 @@ -- -- Creates a launch configuration. ----- If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating this limit, see < DescribeAccountLimits>. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/LaunchConfiguration.html Launch Configurations> in the /Auto Scaling User Guide/.+-- If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating this limit, see 'DescribeAccountLimits' .+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/LaunchConfiguration.html Launch Configurations> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.CreateLaunchConfiguration     (     -- * Creating a Request@@ -62,6 +64,8 @@  -- | Contains the parameters for CreateLaunchConfiguration. --+--+-- -- /See:/ 'createLaunchConfiguration' smart constructor. data CreateLaunchConfiguration = CreateLaunchConfiguration'     { _clcInstanceId                   :: !(Maybe Text)@@ -88,41 +92,41 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'clcInstanceId'+-- * 'clcInstanceId' - The ID of the instance to use to create the launch configuration. The new launch configuration derives attributes from the instance, with the exception of the block device mapping. To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/create-lc-with-instanceID.html Create a Launch Configuration Using an EC2 Instance> in the /Auto Scaling User Guide/ . ----- * 'clcAssociatePublicIPAddress'+-- * 'clcAssociatePublicIPAddress' - Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html Launching Auto Scaling Instances in a VPC> in the /Auto Scaling User Guide/ . If you specify this parameter, be sure to specify at least one subnet when you create your group. Default: If the instance is launched into a default subnet, the default is @true@ . If the instance is launched into a nondefault subnet, the default is @false@ . For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'clcSecurityGroups'+-- * 'clcSecurityGroups' - One or more security groups with which to associate the instances. If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html Amazon EC2 Security Groups> in the /Amazon Elastic Compute Cloud User Guide/ . If your instances are launched into a VPC, specify security group IDs. For more information, see <http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html Security Groups for Your VPC> in the /Amazon Virtual Private Cloud User Guide/ . ----- * 'clcSpotPrice'+-- * 'clcSpotPrice' - The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot market price. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/US-SpotInstances.html Launching Spot Instances in Your Auto Scaling Group> in the /Auto Scaling User Guide/ . ----- * 'clcInstanceMonitoring'+-- * 'clcInstanceMonitoring' - Enables detailed monitoring (@true@ ) or basic monitoring (@false@ ) for the Auto Scaling instances. ----- * 'clcKeyName'+-- * 'clcKeyName' - The name of the key pair. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html Amazon EC2 Key Pairs> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'clcClassicLinkVPCSecurityGroups'+-- * 'clcClassicLinkVPCSecurityGroups' - The IDs of one or more security groups for the specified ClassicLink-enabled VPC. This parameter is required if you specify a ClassicLink-enabled VPC, and is not supported otherwise. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html ClassicLink> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'clcRAMDiskId'+-- * 'clcRAMDiskId' - The ID of the RAM disk associated with the AMI. ----- * 'clcKernelId'+-- * 'clcKernelId' - The ID of the kernel associated with the AMI. ----- * 'clcInstanceType'+-- * 'clcInstanceType' - The instance type of the EC2 instance. For information about available instance types, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes Available Instance Types> in the /Amazon Elastic Compute Cloud User Guide./ ----- * 'clcEBSOptimized'+-- * 'clcEBSOptimized' - Indicates whether the instance is optimized for Amazon EBS I/O. By default, the instance is not optimized for EBS I/O. The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional usage charges apply. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html Amazon EBS-Optimized Instances> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'clcUserData'+-- * 'clcUserData' - The user data to make available to the launched EC2 instances. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html Instance Metadata and User Data> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'clcClassicLinkVPCId'+-- * 'clcClassicLinkVPCId' - The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter is supported only if you are launching EC2-Classic instances. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html ClassicLink> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'clcIAMInstanceProfile'+-- * 'clcIAMInstanceProfile' - The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. EC2 instances launched with an IAM role will automatically have AWS security credentials available. You can use IAM roles with Auto Scaling to automatically enable applications running on your EC2 instances to securely access other AWS resources. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/us-iam-role.html Launch Auto Scaling Instances with an IAM Role> in the /Auto Scaling User Guide/ . ----- * 'clcImageId'+-- * 'clcImageId' - The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html Finding an AMI> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'clcPlacementTenancy'+-- * 'clcPlacementTenancy' - The tenancy of the instance. An instance with a tenancy of @dedicated@ runs on single-tenant hardware and can only be launched into a VPC. You must set the value of this parameter to @dedicated@ if want to launch Dedicated Instances into a shared tenancy VPC (VPC with instance placement tenancy attribute set to @default@ ). If you specify this parameter, be sure to specify at least one subnet when you create your group. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html Launching Auto Scaling Instances in a VPC> in the /Auto Scaling User Guide/ . Valid values: @default@ | @dedicated@ ----- * 'clcBlockDeviceMappings'+-- * 'clcBlockDeviceMappings' - One or more mappings that specify how block devices are exposed to the instance. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html Block Device Mapping> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'clcLaunchConfigurationName'+-- * 'clcLaunchConfigurationName' - The name of the launch configuration. This name must be unique within the scope of your AWS account. createLaunchConfiguration     :: Text -- ^ 'clcLaunchConfigurationName'     -> CreateLaunchConfiguration@@ -148,45 +152,31 @@     , _clcLaunchConfigurationName = pLaunchConfigurationName_     } --- | The ID of the instance to use to create the launch configuration.------ The new launch configuration derives attributes from the instance, with the exception of the block device mapping.------ To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/create-lc-with-instanceID.html Create a Launch Configuration Using an EC2 Instance> in the /Auto Scaling User Guide/.+-- | The ID of the instance to use to create the launch configuration. The new launch configuration derives attributes from the instance, with the exception of the block device mapping. To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/create-lc-with-instanceID.html Create a Launch Configuration Using an EC2 Instance> in the /Auto Scaling User Guide/ . clcInstanceId :: Lens' CreateLaunchConfiguration (Maybe Text) clcInstanceId = lens _clcInstanceId (\ s a -> s{_clcInstanceId = a}); --- | Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/asg-in-vpc.html Launching Auto Scaling Instances in a VPC> in the /Auto Scaling User Guide/.------ If you specify this parameter, be sure to specify at least one subnet when you create your group.------ Default: If the instance is launched into a default subnet, the default is 'true'. If the instance is launched into a nondefault subnet, the default is 'false'. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms> in the /Amazon Elastic Compute Cloud User Guide/.+-- | Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html Launching Auto Scaling Instances in a VPC> in the /Auto Scaling User Guide/ . If you specify this parameter, be sure to specify at least one subnet when you create your group. Default: If the instance is launched into a default subnet, the default is @true@ . If the instance is launched into a nondefault subnet, the default is @false@ . For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms> in the /Amazon Elastic Compute Cloud User Guide/ . clcAssociatePublicIPAddress :: Lens' CreateLaunchConfiguration (Maybe Bool) clcAssociatePublicIPAddress = lens _clcAssociatePublicIPAddress (\ s a -> s{_clcAssociatePublicIPAddress = a}); --- | One or more security groups with which to associate the instances.------ If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html Amazon EC2 Security Groups> in the /Amazon Elastic Compute Cloud User Guide/.------ If your instances are launched into a VPC, specify security group IDs. For more information, see <http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html Security Groups for Your VPC> in the /Amazon Virtual Private Cloud User Guide/.+-- | One or more security groups with which to associate the instances. If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html Amazon EC2 Security Groups> in the /Amazon Elastic Compute Cloud User Guide/ . If your instances are launched into a VPC, specify security group IDs. For more information, see <http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html Security Groups for Your VPC> in the /Amazon Virtual Private Cloud User Guide/ . clcSecurityGroups :: Lens' CreateLaunchConfiguration [Text] clcSecurityGroups = lens _clcSecurityGroups (\ s a -> s{_clcSecurityGroups = a}) . _Default . _Coerce; --- | The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot market price. For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US-SpotInstances.html Launching Spot Instances in Your Auto Scaling Group> in the /Auto Scaling User Guide/.+-- | The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot market price. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/US-SpotInstances.html Launching Spot Instances in Your Auto Scaling Group> in the /Auto Scaling User Guide/ . clcSpotPrice :: Lens' CreateLaunchConfiguration (Maybe Text) clcSpotPrice = lens _clcSpotPrice (\ s a -> s{_clcSpotPrice = a}); --- | Enables detailed monitoring ('true') or basic monitoring ('false') for the Auto Scaling instances.+-- | Enables detailed monitoring (@true@ ) or basic monitoring (@false@ ) for the Auto Scaling instances. clcInstanceMonitoring :: Lens' CreateLaunchConfiguration (Maybe InstanceMonitoring) clcInstanceMonitoring = lens _clcInstanceMonitoring (\ s a -> s{_clcInstanceMonitoring = a}); --- | The name of the key pair. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html Amazon EC2 Key Pairs> in the /Amazon Elastic Compute Cloud User Guide/.+-- | The name of the key pair. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html Amazon EC2 Key Pairs> in the /Amazon Elastic Compute Cloud User Guide/ . clcKeyName :: Lens' CreateLaunchConfiguration (Maybe Text) clcKeyName = lens _clcKeyName (\ s a -> s{_clcKeyName = a}); --- | The IDs of one or more security groups for the specified ClassicLink-enabled VPC. This parameter is required if you specify a ClassicLink-enabled VPC, and is not supported otherwise. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html ClassicLink> in the /Amazon Elastic Compute Cloud User Guide/.+-- | The IDs of one or more security groups for the specified ClassicLink-enabled VPC. This parameter is required if you specify a ClassicLink-enabled VPC, and is not supported otherwise. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html ClassicLink> in the /Amazon Elastic Compute Cloud User Guide/ . clcClassicLinkVPCSecurityGroups :: Lens' CreateLaunchConfiguration [Text] clcClassicLinkVPCSecurityGroups = lens _clcClassicLinkVPCSecurityGroups (\ s a -> s{_clcClassicLinkVPCSecurityGroups = a}) . _Default . _Coerce; @@ -202,41 +192,31 @@ clcInstanceType :: Lens' CreateLaunchConfiguration (Maybe Text) clcInstanceType = lens _clcInstanceType (\ s a -> s{_clcInstanceType = a}); --- | Indicates whether the instance is optimized for Amazon EBS I\/O. By default, the instance is not optimized for EBS I\/O. The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I\/O performance. This optimization is not available with all instance types. Additional usage charges apply. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html Amazon EBS-Optimized Instances> in the /Amazon Elastic Compute Cloud User Guide/.+-- | Indicates whether the instance is optimized for Amazon EBS I/O. By default, the instance is not optimized for EBS I/O. The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional usage charges apply. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html Amazon EBS-Optimized Instances> in the /Amazon Elastic Compute Cloud User Guide/ . clcEBSOptimized :: Lens' CreateLaunchConfiguration (Maybe Bool) clcEBSOptimized = lens _clcEBSOptimized (\ s a -> s{_clcEBSOptimized = a}); --- | The user data to make available to the launched EC2 instances. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html Instance Metadata and User Data> in the /Amazon Elastic Compute Cloud User Guide/.+-- | The user data to make available to the launched EC2 instances. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html Instance Metadata and User Data> in the /Amazon Elastic Compute Cloud User Guide/ . clcUserData :: Lens' CreateLaunchConfiguration (Maybe Text) clcUserData = lens _clcUserData (\ s a -> s{_clcUserData = a}); --- | The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter is supported only if you are launching EC2-Classic instances. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html ClassicLink> in the /Amazon Elastic Compute Cloud User Guide/.+-- | The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter is supported only if you are launching EC2-Classic instances. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html ClassicLink> in the /Amazon Elastic Compute Cloud User Guide/ . clcClassicLinkVPCId :: Lens' CreateLaunchConfiguration (Maybe Text) clcClassicLinkVPCId = lens _clcClassicLinkVPCId (\ s a -> s{_clcClassicLinkVPCId = a}); --- | The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.------ EC2 instances launched with an IAM role will automatically have AWS security credentials available. You can use IAM roles with Auto Scaling to automatically enable applications running on your EC2 instances to securely access other AWS resources. For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/us-iam-role.html Launch Auto Scaling Instances with an IAM Role> in the /Auto Scaling User Guide/.+-- | The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. EC2 instances launched with an IAM role will automatically have AWS security credentials available. You can use IAM roles with Auto Scaling to automatically enable applications running on your EC2 instances to securely access other AWS resources. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/us-iam-role.html Launch Auto Scaling Instances with an IAM Role> in the /Auto Scaling User Guide/ . clcIAMInstanceProfile :: Lens' CreateLaunchConfiguration (Maybe Text) clcIAMInstanceProfile = lens _clcIAMInstanceProfile (\ s a -> s{_clcIAMInstanceProfile = a}); --- | The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html Finding an AMI> in the /Amazon Elastic Compute Cloud User Guide/.+-- | The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html Finding an AMI> in the /Amazon Elastic Compute Cloud User Guide/ . clcImageId :: Lens' CreateLaunchConfiguration (Maybe Text) clcImageId = lens _clcImageId (\ s a -> s{_clcImageId = a}); --- | The tenancy of the instance. An instance with a tenancy of 'dedicated' runs on single-tenant hardware and can only be launched into a VPC.------ You must set the value of this parameter to 'dedicated' if want to launch Dedicated Instances into a shared tenancy VPC (VPC with instance placement tenancy attribute set to 'default').------ If you specify this parameter, be sure to specify at least one subnet when you create your group.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/asg-in-vpc.html Launching Auto Scaling Instances in a VPC> in the /Auto Scaling User Guide/.------ Valid values: 'default' | 'dedicated'+-- | The tenancy of the instance. An instance with a tenancy of @dedicated@ runs on single-tenant hardware and can only be launched into a VPC. You must set the value of this parameter to @dedicated@ if want to launch Dedicated Instances into a shared tenancy VPC (VPC with instance placement tenancy attribute set to @default@ ). If you specify this parameter, be sure to specify at least one subnet when you create your group. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html Launching Auto Scaling Instances in a VPC> in the /Auto Scaling User Guide/ . Valid values: @default@ | @dedicated@ clcPlacementTenancy :: Lens' CreateLaunchConfiguration (Maybe Text) clcPlacementTenancy = lens _clcPlacementTenancy (\ s a -> s{_clcPlacementTenancy = a}); --- | One or more mappings that specify how block devices are exposed to the instance. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html Block Device Mapping> in the /Amazon Elastic Compute Cloud User Guide/.+-- | One or more mappings that specify how block devices are exposed to the instance. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html Block Device Mapping> in the /Amazon Elastic Compute Cloud User Guide/ . clcBlockDeviceMappings :: Lens' CreateLaunchConfiguration [BlockDeviceMapping] clcBlockDeviceMappings = lens _clcBlockDeviceMappings (\ s a -> s{_clcBlockDeviceMappings = a}) . _Default . _Coerce; 
gen/Network/AWS/AutoScaling/CreateOrUpdateTags.hs view
@@ -20,9 +20,11 @@ -- -- Creates or updates tags for the specified Auto Scaling group. --+-- -- When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/ASTagging.html Tagging Auto Scaling Groups and Instances> in the /Auto Scaling User Guide/.+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/autoscaling-tagging.html Tagging Auto Scaling Groups and Instances> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.CreateOrUpdateTags     (     -- * Creating a Request@@ -45,6 +47,8 @@  -- | Contains the parameters for CreateOrUpdateTags. --+--+-- -- /See:/ 'createOrUpdateTags' smart constructor. newtype CreateOrUpdateTags = CreateOrUpdateTags'     { _coutTags :: [Tag]@@ -54,7 +58,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'coutTags'+-- * 'coutTags' - One or more tags. createOrUpdateTags     :: CreateOrUpdateTags createOrUpdateTags =
gen/Network/AWS/AutoScaling/DeleteAutoScalingGroup.hs view
@@ -20,13 +20,15 @@ -- -- Deletes the specified Auto Scaling group. --+-- -- If the group has instances or scaling activities in progress, you must specify the option to force the deletion in order for it to succeed. -- -- If the group has policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action. ----- To remove instances from the Auto Scaling group before deleting it, call < DetachInstances> with the list of instances and the option to decrement the desired capacity so that Auto Scaling does not launch replacement instances.+-- To remove instances from the Auto Scaling group before deleting it, call 'DetachInstances' with the list of instances and the option to decrement the desired capacity so that Auto Scaling does not launch replacement instances. ----- To terminate all instances before deleting the Auto Scaling group, call < UpdateAutoScalingGroup> and set the minimum size and desired capacity of the Auto Scaling group to zero.+-- To terminate all instances before deleting the Auto Scaling group, call 'UpdateAutoScalingGroup' and set the minimum size and desired capacity of the Auto Scaling group to zero.+-- module Network.AWS.AutoScaling.DeleteAutoScalingGroup     (     -- * Creating a Request@@ -50,6 +52,8 @@  -- | Contains the parameters for DeleteAutoScalingGroup. --+--+-- -- /See:/ 'deleteAutoScalingGroup' smart constructor. data DeleteAutoScalingGroup = DeleteAutoScalingGroup'     { _dasgForceDelete          :: !(Maybe Bool)@@ -60,9 +64,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dasgForceDelete'+-- * 'dasgForceDelete' - Specifies that the group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated. This parameter also deletes any lifecycle actions associated with the group. ----- * 'dasgAutoScalingGroupName'+-- * 'dasgAutoScalingGroupName' - The name of the group to delete. deleteAutoScalingGroup     :: Text -- ^ 'dasgAutoScalingGroupName'     -> DeleteAutoScalingGroup
gen/Network/AWS/AutoScaling/DeleteLaunchConfiguration.hs view
@@ -20,7 +20,9 @@ -- -- Deletes the specified launch configuration. --+-- -- The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.+-- module Network.AWS.AutoScaling.DeleteLaunchConfiguration     (     -- * Creating a Request@@ -43,6 +45,8 @@  -- | Contains the parameters for DeleteLaunchConfiguration. --+--+-- -- /See:/ 'deleteLaunchConfiguration' smart constructor. newtype DeleteLaunchConfiguration = DeleteLaunchConfiguration'     { _dlcLaunchConfigurationName :: Text@@ -52,7 +56,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlcLaunchConfigurationName'+-- * 'dlcLaunchConfigurationName' - The name of the launch configuration. deleteLaunchConfiguration     :: Text -- ^ 'dlcLaunchConfigurationName'     -> DeleteLaunchConfiguration
gen/Network/AWS/AutoScaling/DeleteLifecycleHook.hs view
@@ -20,7 +20,9 @@ -- -- Deletes the specified lifecycle hook. ----- If there are any outstanding lifecycle actions, they are completed first ('ABANDON' for launching instances, 'CONTINUE' for terminating instances).+--+-- If there are any outstanding lifecycle actions, they are completed first (@ABANDON@ for launching instances, @CONTINUE@ for terminating instances).+-- module Network.AWS.AutoScaling.DeleteLifecycleHook     (     -- * Creating a Request@@ -46,6 +48,8 @@  -- | Contains the parameters for DeleteLifecycleHook. --+--+-- -- /See:/ 'deleteLifecycleHook' smart constructor. data DeleteLifecycleHook = DeleteLifecycleHook'     { _delLifecycleHookName    :: !Text@@ -56,9 +60,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'delLifecycleHookName'+-- * 'delLifecycleHookName' - The name of the lifecycle hook. ----- * 'delAutoScalingGroupName'+-- * 'delAutoScalingGroupName' - The name of the Auto Scaling group for the lifecycle hook. deleteLifecycleHook     :: Text -- ^ 'delLifecycleHookName'     -> Text -- ^ 'delAutoScalingGroupName'@@ -106,6 +110,8 @@  -- | Contains the output of DeleteLifecycleHook. --+--+-- -- /See:/ 'deleteLifecycleHookResponse' smart constructor. newtype DeleteLifecycleHookResponse = DeleteLifecycleHookResponse'     { _drsResponseStatus :: Int@@ -115,7 +121,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drsResponseStatus'+-- * 'drsResponseStatus' - -- | The response status code. deleteLifecycleHookResponse     :: Int -- ^ 'drsResponseStatus'     -> DeleteLifecycleHookResponse@@ -124,7 +130,7 @@     { _drsResponseStatus = pResponseStatus_     } --- | The response status code.+-- | -- | The response status code. drsResponseStatus :: Lens' DeleteLifecycleHookResponse Int drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DeleteNotificationConfiguration.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes the specified notification.+--+-- module Network.AWS.AutoScaling.DeleteNotificationConfiguration     (     -- * Creating a Request@@ -42,6 +44,8 @@  -- | Contains the parameters for DeleteNotificationConfiguration. --+--+-- -- /See:/ 'deleteNotificationConfiguration' smart constructor. data DeleteNotificationConfiguration = DeleteNotificationConfiguration'     { _dncAutoScalingGroupName :: !Text@@ -52,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dncAutoScalingGroupName'+-- * 'dncAutoScalingGroupName' - The name of the Auto Scaling group. ----- * 'dncTopicARN'+-- * 'dncTopicARN' - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. deleteNotificationConfiguration     :: Text -- ^ 'dncAutoScalingGroupName'     -> Text -- ^ 'dncTopicARN'
gen/Network/AWS/AutoScaling/DeletePolicy.hs view
@@ -20,7 +20,9 @@ -- -- Deletes the specified Auto Scaling policy. --+-- -- Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.+-- module Network.AWS.AutoScaling.DeletePolicy     (     -- * Creating a Request@@ -44,6 +46,8 @@  -- | Contains the parameters for DeletePolicy. --+--+-- -- /See:/ 'deletePolicy' smart constructor. data DeletePolicy = DeletePolicy'     { _dpAutoScalingGroupName :: !(Maybe Text)@@ -54,9 +58,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dpAutoScalingGroupName'+-- * 'dpAutoScalingGroupName' - The name of the Auto Scaling group. ----- * 'dpPolicyName'+-- * 'dpPolicyName' - The name or Amazon Resource Name (ARN) of the policy. deletePolicy     :: Text -- ^ 'dpPolicyName'     -> DeletePolicy
gen/Network/AWS/AutoScaling/DeleteScheduledAction.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes the specified scheduled action.+--+-- module Network.AWS.AutoScaling.DeleteScheduledAction     (     -- * Creating a Request@@ -42,6 +44,8 @@  -- | Contains the parameters for DeleteScheduledAction. --+--+-- -- /See:/ 'deleteScheduledAction' smart constructor. data DeleteScheduledAction = DeleteScheduledAction'     { _dsaAutoScalingGroupName :: !Text@@ -52,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsaAutoScalingGroupName'+-- * 'dsaAutoScalingGroupName' - The name of the Auto Scaling group. ----- * 'dsaScheduledActionName'+-- * 'dsaScheduledActionName' - The name of the action to delete. deleteScheduledAction     :: Text -- ^ 'dsaAutoScalingGroupName'     -> Text -- ^ 'dsaScheduledActionName'
gen/Network/AWS/AutoScaling/DeleteTags.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes the specified tags.+--+-- module Network.AWS.AutoScaling.DeleteTags     (     -- * Creating a Request@@ -41,6 +43,8 @@  -- | Contains the parameters for DeleteTags. --+--+-- -- /See:/ 'deleteTags' smart constructor. newtype DeleteTags = DeleteTags'     { _dtTags :: [Tag]@@ -50,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtTags'+-- * 'dtTags' - One or more tags. deleteTags     :: DeleteTags deleteTags =
gen/Network/AWS/AutoScaling/DescribeAccountLimits.hs view
@@ -20,7 +20,9 @@ -- -- Describes the current Auto Scaling resource limits for your AWS account. ----- For information about requesting an increase in these limits, see <http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html AWS Service Limits> in the /Amazon Web Services General Reference/.+--+-- For information about requesting an increase in these limits, see <http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html AWS Service Limits> in the /Amazon Web Services General Reference/ .+-- module Network.AWS.AutoScaling.DescribeAccountLimits     (     -- * Creating a Request@@ -89,6 +91,8 @@  -- | Contains the parameters for DescribeAccountLimits. --+--+-- -- /See:/ 'describeAccountLimitsResponse' smart constructor. data DescribeAccountLimitsResponse = DescribeAccountLimitsResponse'     { _dalrsNumberOfLaunchConfigurations    :: !(Maybe Int)@@ -102,15 +106,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dalrsNumberOfLaunchConfigurations'+-- * 'dalrsNumberOfLaunchConfigurations' - The current number of launch configurations for your AWS account. ----- * 'dalrsNumberOfAutoScalingGroups'+-- * 'dalrsNumberOfAutoScalingGroups' - The current number of groups for your AWS account. ----- * 'dalrsMaxNumberOfAutoScalingGroups'+-- * 'dalrsMaxNumberOfAutoScalingGroups' - The maximum number of groups allowed for your AWS account. The default limit is 20 per region. ----- * 'dalrsMaxNumberOfLaunchConfigurations'+-- * 'dalrsMaxNumberOfLaunchConfigurations' - The maximum number of launch configurations allowed for your AWS account. The default limit is 100 per region. ----- * 'dalrsResponseStatus'+-- * 'dalrsResponseStatus' - -- | The response status code. describeAccountLimitsResponse     :: Int -- ^ 'dalrsResponseStatus'     -> DescribeAccountLimitsResponse@@ -139,7 +143,7 @@ dalrsMaxNumberOfLaunchConfigurations :: Lens' DescribeAccountLimitsResponse (Maybe Int) dalrsMaxNumberOfLaunchConfigurations = lens _dalrsMaxNumberOfLaunchConfigurations (\ s a -> s{_dalrsMaxNumberOfLaunchConfigurations = a}); --- | The response status code.+-- | -- | The response status code. dalrsResponseStatus :: Lens' DescribeAccountLimitsResponse Int dalrsResponseStatus = lens _dalrsResponseStatus (\ s a -> s{_dalrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeAdjustmentTypes.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Describes the policy adjustment types for use with < PutScalingPolicy>.+-- Describes the policy adjustment types for use with 'PutScalingPolicy' .+--+-- module Network.AWS.AutoScaling.DescribeAdjustmentTypes     (     -- * Creating a Request@@ -83,6 +85,8 @@  -- | Contains the parameters for DescribeAdjustmentTypes. --+--+-- -- /See:/ 'describeAdjustmentTypesResponse' smart constructor. data DescribeAdjustmentTypesResponse = DescribeAdjustmentTypesResponse'     { _datrsAdjustmentTypes :: !(Maybe [AdjustmentType])@@ -93,9 +97,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'datrsAdjustmentTypes'+-- * 'datrsAdjustmentTypes' - The policy adjustment types. ----- * 'datrsResponseStatus'+-- * 'datrsResponseStatus' - -- | The response status code. describeAdjustmentTypesResponse     :: Int -- ^ 'datrsResponseStatus'     -> DescribeAdjustmentTypesResponse@@ -109,7 +113,7 @@ datrsAdjustmentTypes :: Lens' DescribeAdjustmentTypesResponse [AdjustmentType] datrsAdjustmentTypes = lens _datrsAdjustmentTypes (\ s a -> s{_datrsAdjustmentTypes = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. datrsResponseStatus :: Lens' DescribeAdjustmentTypesResponse Int datrsResponseStatus = lens _datrsResponseStatus (\ s a -> s{_datrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeAutoScalingGroups.hs view
@@ -20,6 +20,8 @@ -- -- Describes one or more Auto Scaling groups. --+--+-- -- This operation returns paginated results. module Network.AWS.AutoScaling.DescribeAutoScalingGroups     (@@ -50,6 +52,8 @@  -- | Contains the parameters for DescribeAutoScalingGroups. --+--+-- -- /See:/ 'describeAutoScalingGroups' smart constructor. data DescribeAutoScalingGroups = DescribeAutoScalingGroups'     { _dasgAutoScalingGroupNames :: !(Maybe [Text])@@ -61,11 +65,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dasgAutoScalingGroupNames'+-- * 'dasgAutoScalingGroupNames' - The group names. If you omit this parameter, all Auto Scaling groups are described. ----- * 'dasgNextToken'+-- * 'dasgNextToken' - The token for the next set of items to return. (You received this token from a previous call.) ----- * 'dasgMaxRecords'+-- * 'dasgMaxRecords' - The maximum number of items to return with this call. describeAutoScalingGroups     :: DescribeAutoScalingGroups describeAutoScalingGroups =@@ -131,6 +135,8 @@  -- | Contains the output for DescribeAutoScalingGroups. --+--+-- -- /See:/ 'describeAutoScalingGroupsResponse' smart constructor. data DescribeAutoScalingGroupsResponse = DescribeAutoScalingGroupsResponse'     { _dasgrsNextToken         :: !(Maybe Text)@@ -142,11 +148,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dasgrsNextToken'+-- * 'dasgrsNextToken' - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. ----- * 'dasgrsResponseStatus'+-- * 'dasgrsResponseStatus' - -- | The response status code. ----- * 'dasgrsAutoScalingGroups'+-- * 'dasgrsAutoScalingGroups' - The groups. describeAutoScalingGroupsResponse     :: Int -- ^ 'dasgrsResponseStatus'     -> DescribeAutoScalingGroupsResponse@@ -161,7 +167,7 @@ dasgrsNextToken :: Lens' DescribeAutoScalingGroupsResponse (Maybe Text) dasgrsNextToken = lens _dasgrsNextToken (\ s a -> s{_dasgrsNextToken = a}); --- | The response status code.+-- | -- | The response status code. dasgrsResponseStatus :: Lens' DescribeAutoScalingGroupsResponse Int dasgrsResponseStatus = lens _dasgrsResponseStatus (\ s a -> s{_dasgrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeAutoScalingInstances.hs view
@@ -20,6 +20,8 @@ -- -- Describes one or more Auto Scaling instances. --+--+-- -- This operation returns paginated results. module Network.AWS.AutoScaling.DescribeAutoScalingInstances     (@@ -50,6 +52,8 @@  -- | Contains the parameters for DescribeAutoScalingInstances. --+--+-- -- /See:/ 'describeAutoScalingInstances' smart constructor. data DescribeAutoScalingInstances = DescribeAutoScalingInstances'     { _dasiNextToken   :: !(Maybe Text)@@ -61,11 +65,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dasiNextToken'+-- * 'dasiNextToken' - The token for the next set of items to return. (You received this token from a previous call.) ----- * 'dasiInstanceIds'+-- * 'dasiInstanceIds' - The instances to describe; up to 50 instance IDs. If you omit this parameter, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error. ----- * 'dasiMaxRecords'+-- * 'dasiMaxRecords' - The maximum number of items to return with this call. describeAutoScalingInstances     :: DescribeAutoScalingInstances describeAutoScalingInstances =@@ -132,6 +136,8 @@  -- | Contains the output of DescribeAutoScalingInstances. --+--+-- -- /See:/ 'describeAutoScalingInstancesResponse' smart constructor. data DescribeAutoScalingInstancesResponse = DescribeAutoScalingInstancesResponse'     { _dasirsNextToken            :: !(Maybe Text)@@ -143,11 +149,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dasirsNextToken'+-- * 'dasirsNextToken' - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. ----- * 'dasirsAutoScalingInstances'+-- * 'dasirsAutoScalingInstances' - The instances. ----- * 'dasirsResponseStatus'+-- * 'dasirsResponseStatus' - -- | The response status code. describeAutoScalingInstancesResponse     :: Int -- ^ 'dasirsResponseStatus'     -> DescribeAutoScalingInstancesResponse@@ -166,7 +172,7 @@ dasirsAutoScalingInstances :: Lens' DescribeAutoScalingInstancesResponse [AutoScalingInstanceDetails] dasirsAutoScalingInstances = lens _dasirsAutoScalingInstances (\ s a -> s{_dasirsAutoScalingInstances = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dasirsResponseStatus :: Lens' DescribeAutoScalingInstancesResponse Int dasirsResponseStatus = lens _dasirsResponseStatus (\ s a -> s{_dasirsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeAutoScalingNotificationTypes.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the notification types that are supported by Auto Scaling.+--+-- module Network.AWS.AutoScaling.DescribeAutoScalingNotificationTypes     (     -- * Creating a Request@@ -90,6 +92,8 @@  -- | Contains the output of DescribeAutoScalingNotificationTypes. --+--+-- -- /See:/ 'describeAutoScalingNotificationTypesResponse' smart constructor. data DescribeAutoScalingNotificationTypesResponse = DescribeAutoScalingNotificationTypesResponse'     { _dasntrsAutoScalingNotificationTypes :: !(Maybe [Text])@@ -100,9 +104,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dasntrsAutoScalingNotificationTypes'+-- * 'dasntrsAutoScalingNotificationTypes' - The notification types. ----- * 'dasntrsResponseStatus'+-- * 'dasntrsResponseStatus' - -- | The response status code. describeAutoScalingNotificationTypesResponse     :: Int -- ^ 'dasntrsResponseStatus'     -> DescribeAutoScalingNotificationTypesResponse@@ -116,7 +120,7 @@ dasntrsAutoScalingNotificationTypes :: Lens' DescribeAutoScalingNotificationTypesResponse [Text] dasntrsAutoScalingNotificationTypes = lens _dasntrsAutoScalingNotificationTypes (\ s a -> s{_dasntrsAutoScalingNotificationTypes = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dasntrsResponseStatus :: Lens' DescribeAutoScalingNotificationTypesResponse Int dasntrsResponseStatus = lens _dasntrsResponseStatus (\ s a -> s{_dasntrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeLaunchConfigurations.hs view
@@ -20,6 +20,8 @@ -- -- Describes one or more launch configurations. --+--+-- -- This operation returns paginated results. module Network.AWS.AutoScaling.DescribeLaunchConfigurations     (@@ -50,6 +52,8 @@  -- | Contains the parameters for DescribeLaunchConfigurations. --+--+-- -- /See:/ 'describeLaunchConfigurations' smart constructor. data DescribeLaunchConfigurations = DescribeLaunchConfigurations'     { _dlcLaunchConfigurationNames :: !(Maybe [Text])@@ -61,11 +65,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlcLaunchConfigurationNames'+-- * 'dlcLaunchConfigurationNames' - The launch configuration names. If you omit this parameter, all launch configurations are described. ----- * 'dlcNextToken'+-- * 'dlcNextToken' - The token for the next set of items to return. (You received this token from a previous call.) ----- * 'dlcMaxRecords'+-- * 'dlcMaxRecords' - The maximum number of items to return with this call. The default is 100. describeLaunchConfigurations     :: DescribeLaunchConfigurations describeLaunchConfigurations =@@ -133,6 +137,8 @@  -- | Contains the output of DescribeLaunchConfigurations. --+--+-- -- /See:/ 'describeLaunchConfigurationsResponse' smart constructor. data DescribeLaunchConfigurationsResponse = DescribeLaunchConfigurationsResponse'     { _dlcrsNextToken            :: !(Maybe Text)@@ -144,11 +150,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlcrsNextToken'+-- * 'dlcrsNextToken' - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. ----- * 'dlcrsResponseStatus'+-- * 'dlcrsResponseStatus' - -- | The response status code. ----- * 'dlcrsLaunchConfigurations'+-- * 'dlcrsLaunchConfigurations' - The launch configurations. describeLaunchConfigurationsResponse     :: Int -- ^ 'dlcrsResponseStatus'     -> DescribeLaunchConfigurationsResponse@@ -163,7 +169,7 @@ dlcrsNextToken :: Lens' DescribeLaunchConfigurationsResponse (Maybe Text) dlcrsNextToken = lens _dlcrsNextToken (\ s a -> s{_dlcrsNextToken = a}); --- | The response status code.+-- | -- | The response status code. dlcrsResponseStatus :: Lens' DescribeLaunchConfigurationsResponse Int dlcrsResponseStatus = lens _dlcrsResponseStatus (\ s a -> s{_dlcrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeLifecycleHookTypes.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the available types of lifecycle hooks.+--+-- module Network.AWS.AutoScaling.DescribeLifecycleHookTypes     (     -- * Creating a Request@@ -84,6 +86,8 @@  -- | Contains the output of DescribeLifecycleHookTypes. --+--+-- -- /See:/ 'describeLifecycleHookTypesResponse' smart constructor. data DescribeLifecycleHookTypesResponse = DescribeLifecycleHookTypesResponse'     { _dlhtrsLifecycleHookTypes :: !(Maybe [Text])@@ -94,9 +98,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlhtrsLifecycleHookTypes'+-- * 'dlhtrsLifecycleHookTypes' - The lifecycle hook types. ----- * 'dlhtrsResponseStatus'+-- * 'dlhtrsResponseStatus' - -- | The response status code. describeLifecycleHookTypesResponse     :: Int -- ^ 'dlhtrsResponseStatus'     -> DescribeLifecycleHookTypesResponse@@ -110,7 +114,7 @@ dlhtrsLifecycleHookTypes :: Lens' DescribeLifecycleHookTypesResponse [Text] dlhtrsLifecycleHookTypes = lens _dlhtrsLifecycleHookTypes (\ s a -> s{_dlhtrsLifecycleHookTypes = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dlhtrsResponseStatus :: Lens' DescribeLifecycleHookTypesResponse Int dlhtrsResponseStatus = lens _dlhtrsResponseStatus (\ s a -> s{_dlhtrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeLifecycleHooks.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the lifecycle hooks for the specified Auto Scaling group.+--+-- module Network.AWS.AutoScaling.DescribeLifecycleHooks     (     -- * Creating a Request@@ -45,6 +47,8 @@  -- | Contains the parameters for DescribeLifecycleHooks. --+--+-- -- /See:/ 'describeLifecycleHooks' smart constructor. data DescribeLifecycleHooks = DescribeLifecycleHooks'     { _dlhLifecycleHookNames   :: !(Maybe [Text])@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlhLifecycleHookNames'+-- * 'dlhLifecycleHookNames' - The names of one or more lifecycle hooks. If you omit this parameter, all lifecycle hooks are described. ----- * 'dlhAutoScalingGroupName'+-- * 'dlhAutoScalingGroupName' - The name of the group. describeLifecycleHooks     :: Text -- ^ 'dlhAutoScalingGroupName'     -> DescribeLifecycleHooks@@ -110,6 +114,8 @@  -- | Contains the output of DescribeLifecycleHooks. --+--+-- -- /See:/ 'describeLifecycleHooksResponse' smart constructor. data DescribeLifecycleHooksResponse = DescribeLifecycleHooksResponse'     { _dlhrsLifecycleHooks :: !(Maybe [LifecycleHook])@@ -120,9 +126,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlhrsLifecycleHooks'+-- * 'dlhrsLifecycleHooks' - The lifecycle hooks for the specified group. ----- * 'dlhrsResponseStatus'+-- * 'dlhrsResponseStatus' - -- | The response status code. describeLifecycleHooksResponse     :: Int -- ^ 'dlhrsResponseStatus'     -> DescribeLifecycleHooksResponse@@ -136,7 +142,7 @@ dlhrsLifecycleHooks :: Lens' DescribeLifecycleHooksResponse [LifecycleHook] dlhrsLifecycleHooks = lens _dlhrsLifecycleHooks (\ s a -> s{_dlhrsLifecycleHooks = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dlhrsResponseStatus :: Lens' DescribeLifecycleHooksResponse Int dlhrsResponseStatus = lens _dlhrsResponseStatus (\ s a -> s{_dlhrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeLoadBalancerTargetGroups.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the target groups for the specified Auto Scaling group.+--+-- module Network.AWS.AutoScaling.DescribeLoadBalancerTargetGroups     (     -- * Creating a Request@@ -47,6 +49,8 @@  -- | Contains the parameters for DescribeLoadBalancerTargetGroups. --+--+-- -- /See:/ 'describeLoadBalancerTargetGroups' smart constructor. data DescribeLoadBalancerTargetGroups = DescribeLoadBalancerTargetGroups'     { _dlbtgsNextToken            :: !(Maybe Text)@@ -58,11 +62,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlbtgsNextToken'+-- * 'dlbtgsNextToken' - The token for the next set of items to return. (You received this token from a previous call.) ----- * 'dlbtgsMaxRecords'+-- * 'dlbtgsMaxRecords' - The maximum number of items to return with this call. ----- * 'dlbtgsAutoScalingGroupName'+-- * 'dlbtgsAutoScalingGroupName' - The name of the Auto Scaling group. describeLoadBalancerTargetGroups     :: Text -- ^ 'dlbtgsAutoScalingGroupName'     -> DescribeLoadBalancerTargetGroups@@ -126,6 +130,8 @@  -- | Contains the output of DescribeLoadBalancerTargetGroups. --+--+-- -- /See:/ 'describeLoadBalancerTargetGroupsResponse' smart constructor. data DescribeLoadBalancerTargetGroupsResponse = DescribeLoadBalancerTargetGroupsResponse'     { _dlbtgsrsLoadBalancerTargetGroups :: !(Maybe [LoadBalancerTargetGroupState])@@ -137,11 +143,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlbtgsrsLoadBalancerTargetGroups'+-- * 'dlbtgsrsLoadBalancerTargetGroups' - Information about the target groups. ----- * 'dlbtgsrsNextToken'+-- * 'dlbtgsrsNextToken' - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. ----- * 'dlbtgsrsResponseStatus'+-- * 'dlbtgsrsResponseStatus' - -- | The response status code. describeLoadBalancerTargetGroupsResponse     :: Int -- ^ 'dlbtgsrsResponseStatus'     -> DescribeLoadBalancerTargetGroupsResponse@@ -160,7 +166,7 @@ dlbtgsrsNextToken :: Lens' DescribeLoadBalancerTargetGroupsResponse (Maybe Text) dlbtgsrsNextToken = lens _dlbtgsrsNextToken (\ s a -> s{_dlbtgsrsNextToken = a}); --- | The response status code.+-- | -- | The response status code. dlbtgsrsResponseStatus :: Lens' DescribeLoadBalancerTargetGroupsResponse Int dlbtgsrsResponseStatus = lens _dlbtgsrsResponseStatus (\ s a -> s{_dlbtgsrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeLoadBalancers.hs view
@@ -20,7 +20,9 @@ -- -- Describes the load balancers for the specified Auto Scaling group. ----- Note that this operation describes only Classic load balancers. If you have Application load balancers, use < DescribeLoadBalancerTargetGroups> instead.+--+-- Note that this operation describes only Classic load balancers. If you have Application load balancers, use 'DescribeLoadBalancerTargetGroups' instead.+-- module Network.AWS.AutoScaling.DescribeLoadBalancers     (     -- * Creating a Request@@ -49,6 +51,8 @@  -- | Contains the parameters for DescribeLoadBalancers. --+--+-- -- /See:/ 'describeLoadBalancers' smart constructor. data DescribeLoadBalancers = DescribeLoadBalancers'     { _dlbNextToken            :: !(Maybe Text)@@ -60,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlbNextToken'+-- * 'dlbNextToken' - The token for the next set of items to return. (You received this token from a previous call.) ----- * 'dlbMaxRecords'+-- * 'dlbMaxRecords' - The maximum number of items to return with this call. ----- * 'dlbAutoScalingGroupName'+-- * 'dlbAutoScalingGroupName' - The name of the group. describeLoadBalancers     :: Text -- ^ 'dlbAutoScalingGroupName'     -> DescribeLoadBalancers@@ -121,6 +125,8 @@  -- | Contains the output of DescribeLoadBalancers. --+--+-- -- /See:/ 'describeLoadBalancersResponse' smart constructor. data DescribeLoadBalancersResponse = DescribeLoadBalancersResponse'     { _dlbrsLoadBalancers  :: !(Maybe [LoadBalancerState])@@ -132,11 +138,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlbrsLoadBalancers'+-- * 'dlbrsLoadBalancers' - The load balancers. ----- * 'dlbrsNextToken'+-- * 'dlbrsNextToken' - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. ----- * 'dlbrsResponseStatus'+-- * 'dlbrsResponseStatus' - -- | The response status code. describeLoadBalancersResponse     :: Int -- ^ 'dlbrsResponseStatus'     -> DescribeLoadBalancersResponse@@ -155,7 +161,7 @@ dlbrsNextToken :: Lens' DescribeLoadBalancersResponse (Maybe Text) dlbrsNextToken = lens _dlbrsNextToken (\ s a -> s{_dlbrsNextToken = a}); --- | The response status code.+-- | -- | The response status code. dlbrsResponseStatus :: Lens' DescribeLoadBalancersResponse Int dlbrsResponseStatus = lens _dlbrsResponseStatus (\ s a -> s{_dlbrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeMetricCollectionTypes.hs view
@@ -20,7 +20,9 @@ -- -- Describes the available CloudWatch metrics for Auto Scaling. ----- Note that the 'GroupStandbyInstances' metric is not returned by default. You must explicitly request this metric when calling < EnableMetricsCollection>.+--+-- Note that the @GroupStandbyInstances@ metric is not returned by default. You must explicitly request this metric when calling 'EnableMetricsCollection' .+-- module Network.AWS.AutoScaling.DescribeMetricCollectionTypes     (     -- * Creating a Request@@ -92,6 +94,8 @@  -- | Contains the output of DescribeMetricsCollectionTypes. --+--+-- -- /See:/ 'describeMetricCollectionTypesResponse' smart constructor. data DescribeMetricCollectionTypesResponse = DescribeMetricCollectionTypesResponse'     { _dmctrsMetrics        :: !(Maybe [MetricCollectionType])@@ -103,11 +107,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dmctrsMetrics'+-- * 'dmctrsMetrics' - One or more metrics. ----- * 'dmctrsGranularities'+-- * 'dmctrsGranularities' - The granularities for the metrics. ----- * 'dmctrsResponseStatus'+-- * 'dmctrsResponseStatus' - -- | The response status code. describeMetricCollectionTypesResponse     :: Int -- ^ 'dmctrsResponseStatus'     -> DescribeMetricCollectionTypesResponse@@ -126,7 +130,7 @@ dmctrsGranularities :: Lens' DescribeMetricCollectionTypesResponse [MetricGranularityType] dmctrsGranularities = lens _dmctrsGranularities (\ s a -> s{_dmctrsGranularities = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dmctrsResponseStatus :: Lens' DescribeMetricCollectionTypesResponse Int dmctrsResponseStatus = lens _dmctrsResponseStatus (\ s a -> s{_dmctrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeNotificationConfigurations.hs view
@@ -20,6 +20,8 @@ -- -- Describes the notification actions associated with the specified Auto Scaling group. --+--+-- -- This operation returns paginated results. module Network.AWS.AutoScaling.DescribeNotificationConfigurations     (@@ -50,6 +52,8 @@  -- | Contains the parameters for DescribeNotificationConfigurations. --+--+-- -- /See:/ 'describeNotificationConfigurations' smart constructor. data DescribeNotificationConfigurations = DescribeNotificationConfigurations'     { _dncAutoScalingGroupNames :: !(Maybe [Text])@@ -61,11 +65,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dncAutoScalingGroupNames'+-- * 'dncAutoScalingGroupNames' - The name of the group. ----- * 'dncNextToken'+-- * 'dncNextToken' - The token for the next set of items to return. (You received this token from a previous call.) ----- * 'dncMaxRecords'+-- * 'dncMaxRecords' - The maximum number of items to return with this call. describeNotificationConfigurations     :: DescribeNotificationConfigurations describeNotificationConfigurations =@@ -137,6 +141,8 @@  -- | Contains the output from DescribeNotificationConfigurations. --+--+-- -- /See:/ 'describeNotificationConfigurationsResponse' smart constructor. data DescribeNotificationConfigurationsResponse = DescribeNotificationConfigurationsResponse'     { _dncrsNextToken                  :: !(Maybe Text)@@ -148,11 +154,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dncrsNextToken'+-- * 'dncrsNextToken' - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. ----- * 'dncrsResponseStatus'+-- * 'dncrsResponseStatus' - -- | The response status code. ----- * 'dncrsNotificationConfigurations'+-- * 'dncrsNotificationConfigurations' - The notification configurations. describeNotificationConfigurationsResponse     :: Int -- ^ 'dncrsResponseStatus'     -> DescribeNotificationConfigurationsResponse@@ -167,7 +173,7 @@ dncrsNextToken :: Lens' DescribeNotificationConfigurationsResponse (Maybe Text) dncrsNextToken = lens _dncrsNextToken (\ s a -> s{_dncrsNextToken = a}); --- | The response status code.+-- | -- | The response status code. dncrsResponseStatus :: Lens' DescribeNotificationConfigurationsResponse Int dncrsResponseStatus = lens _dncrsResponseStatus (\ s a -> s{_dncrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribePolicies.hs view
@@ -20,6 +20,8 @@ -- -- Describes the policies for the specified Auto Scaling group. --+--+-- -- This operation returns paginated results. module Network.AWS.AutoScaling.DescribePolicies     (@@ -52,6 +54,8 @@  -- | Contains the parameters for DescribePolicies. --+--+-- -- /See:/ 'describePolicies' smart constructor. data DescribePolicies = DescribePolicies'     { _dpsPolicyNames          :: !(Maybe [Text])@@ -65,15 +69,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dpsPolicyNames'+-- * 'dpsPolicyNames' - One or more policy names or policy ARNs to be described. If you omit this parameter, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error. ----- * 'dpsNextToken'+-- * 'dpsNextToken' - The token for the next set of items to return. (You received this token from a previous call.) ----- * 'dpsAutoScalingGroupName'+-- * 'dpsAutoScalingGroupName' - The name of the group. ----- * 'dpsMaxRecords'+-- * 'dpsMaxRecords' - The maximum number of items to be returned with each call. ----- * 'dpsPolicyTypes'+-- * 'dpsPolicyTypes' - One or more policy types. Valid values are @SimpleScaling@ and @StepScaling@ . describePolicies     :: DescribePolicies describePolicies =@@ -101,7 +105,7 @@ dpsMaxRecords :: Lens' DescribePolicies (Maybe Int) dpsMaxRecords = lens _dpsMaxRecords (\ s a -> s{_dpsMaxRecords = a}); --- | One or more policy types. Valid values are 'SimpleScaling' and 'StepScaling'.+-- | One or more policy types. Valid values are @SimpleScaling@ and @StepScaling@ . dpsPolicyTypes :: Lens' DescribePolicies [Text] dpsPolicyTypes = lens _dpsPolicyTypes (\ s a -> s{_dpsPolicyTypes = a}) . _Default . _Coerce; @@ -149,6 +153,8 @@  -- | Contains the output of DescribePolicies. --+--+-- -- /See:/ 'describePoliciesResponse' smart constructor. data DescribePoliciesResponse = DescribePoliciesResponse'     { _dprsNextToken       :: !(Maybe Text)@@ -160,11 +166,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dprsNextToken'+-- * 'dprsNextToken' - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. ----- * 'dprsScalingPolicies'+-- * 'dprsScalingPolicies' - The scaling policies. ----- * 'dprsResponseStatus'+-- * 'dprsResponseStatus' - -- | The response status code. describePoliciesResponse     :: Int -- ^ 'dprsResponseStatus'     -> DescribePoliciesResponse@@ -183,7 +189,7 @@ dprsScalingPolicies :: Lens' DescribePoliciesResponse [ScalingPolicy] dprsScalingPolicies = lens _dprsScalingPolicies (\ s a -> s{_dprsScalingPolicies = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dprsResponseStatus :: Lens' DescribePoliciesResponse Int dprsResponseStatus = lens _dprsResponseStatus (\ s a -> s{_dprsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeScalingActivities.hs view
@@ -20,6 +20,8 @@ -- -- Describes one or more scaling activities for the specified Auto Scaling group. --+--+-- -- This operation returns paginated results. module Network.AWS.AutoScaling.DescribeScalingActivities     (@@ -51,6 +53,8 @@  -- | Contains the parameters for DescribeScalingActivities. --+--+-- -- /See:/ 'describeScalingActivities' smart constructor. data DescribeScalingActivities = DescribeScalingActivities'     { _desNextToken            :: !(Maybe Text)@@ -63,13 +67,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'desNextToken'+-- * 'desNextToken' - The token for the next set of items to return. (You received this token from a previous call.) ----- * 'desAutoScalingGroupName'+-- * 'desAutoScalingGroupName' - The name of the group. ----- * 'desMaxRecords'+-- * 'desMaxRecords' - The maximum number of items to return with this call. ----- * 'desActivityIds'+-- * 'desActivityIds' - The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error. describeScalingActivities     :: DescribeScalingActivities describeScalingActivities =@@ -139,6 +143,8 @@  -- | Contains the output of DescribeScalingActivities. --+--+-- -- /See:/ 'describeScalingActivitiesResponse' smart constructor. data DescribeScalingActivitiesResponse = DescribeScalingActivitiesResponse'     { _dsasrsNextToken      :: !(Maybe Text)@@ -150,11 +156,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsasrsNextToken'+-- * 'dsasrsNextToken' - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. ----- * 'dsasrsResponseStatus'+-- * 'dsasrsResponseStatus' - -- | The response status code. ----- * 'dsasrsActivities'+-- * 'dsasrsActivities' - The scaling activities. Activities are sorted by start time. Activities still in progress are described first. describeScalingActivitiesResponse     :: Int -- ^ 'dsasrsResponseStatus'     -> DescribeScalingActivitiesResponse@@ -169,7 +175,7 @@ dsasrsNextToken :: Lens' DescribeScalingActivitiesResponse (Maybe Text) dsasrsNextToken = lens _dsasrsNextToken (\ s a -> s{_dsasrsNextToken = a}); --- | The response status code.+-- | -- | The response status code. dsasrsResponseStatus :: Lens' DescribeScalingActivitiesResponse Int dsasrsResponseStatus = lens _dsasrsResponseStatus (\ s a -> s{_dsasrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeScalingProcessTypes.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Describes the scaling process types for use with < ResumeProcesses> and < SuspendProcesses>.+-- Describes the scaling process types for use with 'ResumeProcesses' and 'SuspendProcesses' .+--+-- module Network.AWS.AutoScaling.DescribeScalingProcessTypes     (     -- * Creating a Request@@ -84,6 +86,8 @@  -- | Contains the output of DescribeScalingProcessTypes. --+--+-- -- /See:/ 'describeScalingProcessTypesResponse' smart constructor. data DescribeScalingProcessTypesResponse = DescribeScalingProcessTypesResponse'     { _dsptrsProcesses      :: !(Maybe [ProcessType])@@ -94,9 +98,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsptrsProcesses'+-- * 'dsptrsProcesses' - The names of the process types. ----- * 'dsptrsResponseStatus'+-- * 'dsptrsResponseStatus' - -- | The response status code. describeScalingProcessTypesResponse     :: Int -- ^ 'dsptrsResponseStatus'     -> DescribeScalingProcessTypesResponse@@ -110,7 +114,7 @@ dsptrsProcesses :: Lens' DescribeScalingProcessTypesResponse [ProcessType] dsptrsProcesses = lens _dsptrsProcesses (\ s a -> s{_dsptrsProcesses = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dsptrsResponseStatus :: Lens' DescribeScalingProcessTypesResponse Int dsptrsResponseStatus = lens _dsptrsResponseStatus (\ s a -> s{_dsptrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeScheduledActions.hs view
@@ -18,8 +18,10 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Describes the actions scheduled for your Auto Scaling group that haven\'t run. To describe the actions that have already run, use < DescribeScalingActivities>.+-- Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use 'DescribeScalingActivities' . --+--+-- -- This operation returns paginated results. module Network.AWS.AutoScaling.DescribeScheduledActions     (@@ -53,6 +55,8 @@  -- | Contains the parameters for DescribeScheduledActions. --+--+-- -- /See:/ 'describeScheduledActions' smart constructor. data DescribeScheduledActions = DescribeScheduledActions'     { _dsasStartTime            :: !(Maybe ISO8601)@@ -67,17 +71,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsasStartTime'+-- * 'dsasStartTime' - The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored. ----- * 'dsasNextToken'+-- * 'dsasNextToken' - The token for the next set of items to return. (You received this token from a previous call.) ----- * 'dsasAutoScalingGroupName'+-- * 'dsasAutoScalingGroupName' - The name of the group. ----- * 'dsasMaxRecords'+-- * 'dsasMaxRecords' - The maximum number of items to return with this call. ----- * 'dsasEndTime'+-- * 'dsasEndTime' - The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored. ----- * 'dsasScheduledActionNames'+-- * 'dsasScheduledActionNames' - Describes one or more scheduled actions. If you omit this parameter, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error. You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token. describeScheduledActions     :: DescribeScheduledActions describeScheduledActions =@@ -110,9 +114,7 @@ dsasEndTime :: Lens' DescribeScheduledActions (Maybe UTCTime) dsasEndTime = lens _dsasEndTime (\ s a -> s{_dsasEndTime = a}) . mapping _Time; --- | Describes one or more scheduled actions. If you omit this parameter, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error.------ You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.+-- | Describes one or more scheduled actions. If you omit this parameter, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error. You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token. dsasScheduledActionNames :: Lens' DescribeScheduledActions [Text] dsasScheduledActionNames = lens _dsasScheduledActionNames (\ s a -> s{_dsasScheduledActionNames = a}) . _Default . _Coerce; @@ -164,6 +166,8 @@  -- | Contains the output of DescribeScheduledActions. --+--+-- -- /See:/ 'describeScheduledActionsResponse' smart constructor. data DescribeScheduledActionsResponse = DescribeScheduledActionsResponse'     { _dsarsScheduledUpdateGroupActions :: !(Maybe [ScheduledUpdateGroupAction])@@ -175,11 +179,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsarsScheduledUpdateGroupActions'+-- * 'dsarsScheduledUpdateGroupActions' - The scheduled actions. ----- * 'dsarsNextToken'+-- * 'dsarsNextToken' - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. ----- * 'dsarsResponseStatus'+-- * 'dsarsResponseStatus' - -- | The response status code. describeScheduledActionsResponse     :: Int -- ^ 'dsarsResponseStatus'     -> DescribeScheduledActionsResponse@@ -198,7 +202,7 @@ dsarsNextToken :: Lens' DescribeScheduledActionsResponse (Maybe Text) dsarsNextToken = lens _dsarsNextToken (\ s a -> s{_dsarsNextToken = a}); --- | The response status code.+-- | -- | The response status code. dsarsResponseStatus :: Lens' DescribeScheduledActionsResponse Int dsarsResponseStatus = lens _dsarsResponseStatus (\ s a -> s{_dsarsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DescribeTags.hs view
@@ -20,10 +20,12 @@ -- -- Describes the specified tags. --+-- -- You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results. ----- You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there\'s no match, no special message is returned.+-- You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned. --+-- -- This operation returns paginated results. module Network.AWS.AutoScaling.DescribeTags     (@@ -54,6 +56,8 @@  -- | Contains the parameters for DescribeTags. --+--+-- -- /See:/ 'describeTags' smart constructor. data DescribeTags = DescribeTags'     { _dtFilters    :: !(Maybe [Filter])@@ -65,11 +69,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtFilters'+-- * 'dtFilters' - A filter used to scope the tags to return. ----- * 'dtNextToken'+-- * 'dtNextToken' - The token for the next set of items to return. (You received this token from a previous call.) ----- * 'dtMaxRecords'+-- * 'dtMaxRecords' - The maximum number of items to return with this call. describeTags     :: DescribeTags describeTags =@@ -132,6 +136,8 @@  -- | Contains the output of DescribeTags. --+--+-- -- /See:/ 'describeTagsResponse' smart constructor. data DescribeTagsResponse = DescribeTagsResponse'     { _dtrsNextToken      :: !(Maybe Text)@@ -143,11 +149,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtrsNextToken'+-- * 'dtrsNextToken' - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. ----- * 'dtrsTags'+-- * 'dtrsTags' - One or more tags. ----- * 'dtrsResponseStatus'+-- * 'dtrsResponseStatus' - -- | The response status code. describeTagsResponse     :: Int -- ^ 'dtrsResponseStatus'     -> DescribeTagsResponse@@ -166,7 +172,7 @@ dtrsTags :: Lens' DescribeTagsResponse [TagDescription] dtrsTags = lens _dtrsTags (\ s a -> s{_dtrsTags = 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/AutoScaling/DescribeTerminationPolicyTypes.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the termination policies supported by Auto Scaling.+--+-- module Network.AWS.AutoScaling.DescribeTerminationPolicyTypes     (     -- * Creating a Request@@ -86,6 +88,8 @@  -- | Contains the output of DescribeTerminationPolicyTypes. --+--+-- -- /See:/ 'describeTerminationPolicyTypesResponse' smart constructor. data DescribeTerminationPolicyTypesResponse = DescribeTerminationPolicyTypesResponse'     { _dtptrsTerminationPolicyTypes :: !(Maybe [Text])@@ -96,9 +100,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtptrsTerminationPolicyTypes'+-- * 'dtptrsTerminationPolicyTypes' - The termination policies supported by Auto Scaling (@OldestInstance@ , @OldestLaunchConfiguration@ , @NewestInstance@ , @ClosestToNextInstanceHour@ , and @Default@ ). ----- * 'dtptrsResponseStatus'+-- * 'dtptrsResponseStatus' - -- | The response status code. describeTerminationPolicyTypesResponse     :: Int -- ^ 'dtptrsResponseStatus'     -> DescribeTerminationPolicyTypesResponse@@ -108,11 +112,11 @@     , _dtptrsResponseStatus = pResponseStatus_     } --- | The termination policies supported by Auto Scaling ('OldestInstance', 'OldestLaunchConfiguration', 'NewestInstance', 'ClosestToNextInstanceHour', and 'Default').+-- | The termination policies supported by Auto Scaling (@OldestInstance@ , @OldestLaunchConfiguration@ , @NewestInstance@ , @ClosestToNextInstanceHour@ , and @Default@ ). dtptrsTerminationPolicyTypes :: Lens' DescribeTerminationPolicyTypesResponse [Text] dtptrsTerminationPolicyTypes = lens _dtptrsTerminationPolicyTypes (\ s a -> s{_dtptrsTerminationPolicyTypes = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dtptrsResponseStatus :: Lens' DescribeTerminationPolicyTypesResponse Int dtptrsResponseStatus = lens _dtptrsResponseStatus (\ s a -> s{_dtptrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DetachInstances.hs view
@@ -20,13 +20,15 @@ -- -- Removes one or more instances from the specified Auto Scaling group. --+-- -- After the instances are detached, you can manage them independently from the rest of the Auto Scaling group. -- -- If you do not specify the option to decrement the desired capacity, Auto Scaling launches instances to replace the ones that are detached. -- -- If there is a Classic load balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/detach-instance-asg.html Detach EC2 Instances from Your Auto Scaling Group> in the /Auto Scaling User Guide/.+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/detach-instance-asg.html Detach EC2 Instances from Your Auto Scaling Group> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.DetachInstances     (     -- * Creating a Request@@ -54,6 +56,8 @@  -- | Contains the parameters for DetachInstances. --+--+-- -- /See:/ 'detachInstances' smart constructor. data DetachInstances = DetachInstances'     { _diInstanceIds                    :: !(Maybe [Text])@@ -65,11 +69,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'diInstanceIds'+-- * 'diInstanceIds' - One or more instance IDs. ----- * 'diAutoScalingGroupName'+-- * 'diAutoScalingGroupName' - The name of the group. ----- * 'diShouldDecrementDesiredCapacity'+-- * 'diShouldDecrementDesiredCapacity' - If @True@ , the Auto Scaling group decrements the desired capacity value by the number of instances detached. detachInstances     :: Text -- ^ 'diAutoScalingGroupName'     -> Bool -- ^ 'diShouldDecrementDesiredCapacity'@@ -89,7 +93,7 @@ diAutoScalingGroupName :: Lens' DetachInstances Text diAutoScalingGroupName = lens _diAutoScalingGroupName (\ s a -> s{_diAutoScalingGroupName = a}); --- | If 'True', the Auto Scaling group decrements the desired capacity value by the number of instances detached.+-- | If @True@ , the Auto Scaling group decrements the desired capacity value by the number of instances detached. diShouldDecrementDesiredCapacity :: Lens' DetachInstances Bool diShouldDecrementDesiredCapacity = lens _diShouldDecrementDesiredCapacity (\ s a -> s{_diShouldDecrementDesiredCapacity = a}); @@ -127,6 +131,8 @@  -- | Contains the output of DetachInstances. --+--+-- -- /See:/ 'detachInstancesResponse' smart constructor. data DetachInstancesResponse = DetachInstancesResponse'     { _dirsActivities     :: !(Maybe [Activity])@@ -137,9 +143,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dirsActivities'+-- * 'dirsActivities' - The activities related to detaching the instances from the Auto Scaling group. ----- * 'dirsResponseStatus'+-- * 'dirsResponseStatus' - -- | The response status code. detachInstancesResponse     :: Int -- ^ 'dirsResponseStatus'     -> DetachInstancesResponse@@ -153,7 +159,7 @@ dirsActivities :: Lens' DetachInstancesResponse [Activity] dirsActivities = lens _dirsActivities (\ s a -> s{_dirsActivities = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dirsResponseStatus :: Lens' DetachInstancesResponse Int dirsResponseStatus = lens _dirsResponseStatus (\ s a -> s{_dirsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DetachLoadBalancerTargetGroups.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Detaches one or more target groups from the specified Auto Scaling group.+--+-- module Network.AWS.AutoScaling.DetachLoadBalancerTargetGroups     (     -- * Creating a Request@@ -52,9 +54,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlbtgAutoScalingGroupName'+-- * 'dlbtgAutoScalingGroupName' - The name of the Auto Scaling group. ----- * 'dlbtgTargetGroupARNs'+-- * 'dlbtgTargetGroupARNs' - The Amazon Resource Names (ARN) of the target groups. detachLoadBalancerTargetGroups     :: Text -- ^ 'dlbtgAutoScalingGroupName'     -> DetachLoadBalancerTargetGroups@@ -114,7 +116,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlbtgrsResponseStatus'+-- * 'dlbtgrsResponseStatus' - -- | The response status code. detachLoadBalancerTargetGroupsResponse     :: Int -- ^ 'dlbtgrsResponseStatus'     -> DetachLoadBalancerTargetGroupsResponse@@ -123,7 +125,7 @@     { _dlbtgrsResponseStatus = pResponseStatus_     } --- | The response status code.+-- | -- | The response status code. dlbtgrsResponseStatus :: Lens' DetachLoadBalancerTargetGroupsResponse Int dlbtgrsResponseStatus = lens _dlbtgrsResponseStatus (\ s a -> s{_dlbtgrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DetachLoadBalancers.hs view
@@ -20,9 +20,11 @@ -- -- Detaches one or more Classic load balancers from the specified Auto Scaling group. ----- Note that this operation detaches only Classic load balancers. If you have Application load balancers, use < DetachLoadBalancerTargetGroups> instead. ----- When you detach a load balancer, it enters the 'Removing' state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using < DescribeLoadBalancers>. Note that the instances remain running.+-- Note that this operation detaches only Classic load balancers. If you have Application load balancers, use 'DetachLoadBalancerTargetGroups' instead.+--+-- When you detach a load balancer, it enters the @Removing@ state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using 'DescribeLoadBalancers' . Note that the instances remain running.+-- module Network.AWS.AutoScaling.DetachLoadBalancers     (     -- * Creating a Request@@ -48,6 +50,8 @@  -- | Contains the parameters for DetachLoadBalancers. --+--+-- -- /See:/ 'detachLoadBalancers' smart constructor. data DetachLoadBalancers = DetachLoadBalancers'     { _dAutoScalingGroupName :: !Text@@ -58,9 +62,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dAutoScalingGroupName'+-- * 'dAutoScalingGroupName' - The name of the Auto Scaling group. ----- * 'dLoadBalancerNames'+-- * 'dLoadBalancerNames' - One or more load balancer names. detachLoadBalancers     :: Text -- ^ 'dAutoScalingGroupName'     -> DetachLoadBalancers@@ -108,6 +112,8 @@  -- | Contains the output for DetachLoadBalancers. --+--+-- -- /See:/ 'detachLoadBalancersResponse' smart constructor. newtype DetachLoadBalancersResponse = DetachLoadBalancersResponse'     { _dlbsrsResponseStatus :: Int@@ -117,7 +123,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dlbsrsResponseStatus'+-- * 'dlbsrsResponseStatus' - -- | The response status code. detachLoadBalancersResponse     :: Int -- ^ 'dlbsrsResponseStatus'     -> DetachLoadBalancersResponse@@ -126,7 +132,7 @@     { _dlbsrsResponseStatus = pResponseStatus_     } --- | The response status code.+-- | -- | The response status code. dlbsrsResponseStatus :: Lens' DetachLoadBalancersResponse Int dlbsrsResponseStatus = lens _dlbsrsResponseStatus (\ s a -> s{_dlbsrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/DisableMetricsCollection.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Disables group metrics for the specified Auto Scaling group.+--+-- module Network.AWS.AutoScaling.DisableMetricsCollection     (     -- * Creating a Request@@ -42,6 +44,8 @@  -- | Contains the parameters for DisableMetricsCollection. --+--+-- -- /See:/ 'disableMetricsCollection' smart constructor. data DisableMetricsCollection = DisableMetricsCollection'     { _dmcMetrics              :: !(Maybe [Text])@@ -52,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dmcMetrics'+-- * 'dmcMetrics' - One or more of the following metrics. If you omit this parameter, all metrics are disabled.     * @GroupMinSize@      * @GroupMaxSize@      * @GroupDesiredCapacity@      * @GroupInServiceInstances@      * @GroupPendingInstances@      * @GroupStandbyInstances@      * @GroupTerminatingInstances@      * @GroupTotalInstances@ ----- * 'dmcAutoScalingGroupName'+-- * 'dmcAutoScalingGroupName' - The name or Amazon Resource Name (ARN) of the group. disableMetricsCollection     :: Text -- ^ 'dmcAutoScalingGroupName'     -> DisableMetricsCollection@@ -64,24 +68,7 @@     , _dmcAutoScalingGroupName = pAutoScalingGroupName_     } --- | One or more of the following metrics. If you omit this parameter, all metrics are disabled.------ -   'GroupMinSize'------ -   'GroupMaxSize'------ -   'GroupDesiredCapacity'------ -   'GroupInServiceInstances'------ -   'GroupPendingInstances'------ -   'GroupStandbyInstances'------ -   'GroupTerminatingInstances'------ -   'GroupTotalInstances'---+-- | One or more of the following metrics. If you omit this parameter, all metrics are disabled.     * @GroupMinSize@      * @GroupMaxSize@      * @GroupDesiredCapacity@      * @GroupInServiceInstances@      * @GroupPendingInstances@      * @GroupStandbyInstances@      * @GroupTerminatingInstances@      * @GroupTotalInstances@ dmcMetrics :: Lens' DisableMetricsCollection [Text] dmcMetrics = lens _dmcMetrics (\ s a -> s{_dmcMetrics = a}) . _Default . _Coerce; 
gen/Network/AWS/AutoScaling/EnableMetricsCollection.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Enables group metrics for the specified Auto Scaling group. For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/userguide/as-instance-monitoring.html Monitoring Your Auto Scaling Groups and Instances> in the /Auto Scaling User Guide/.+-- Enables group metrics for the specified Auto Scaling group. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-monitoring.html Monitoring Your Auto Scaling Groups and Instances> in the /Auto Scaling User Guide/ .+--+-- module Network.AWS.AutoScaling.EnableMetricsCollection     (     -- * Creating a Request@@ -43,6 +45,8 @@  -- | Contains the parameters for EnableMetricsCollection. --+--+-- -- /See:/ 'enableMetricsCollection' smart constructor. data EnableMetricsCollection = EnableMetricsCollection'     { _emcMetrics              :: !(Maybe [Text])@@ -54,11 +58,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'emcMetrics'+-- * 'emcMetrics' - One or more of the following metrics. If you omit this parameter, all metrics are enabled.     * @GroupMinSize@      * @GroupMaxSize@      * @GroupDesiredCapacity@      * @GroupInServiceInstances@      * @GroupPendingInstances@      * @GroupStandbyInstances@      * @GroupTerminatingInstances@      * @GroupTotalInstances@ ----- * 'emcAutoScalingGroupName'+-- * 'emcAutoScalingGroupName' - The name or ARN of the Auto Scaling group. ----- * 'emcGranularity'+-- * 'emcGranularity' - The granularity to associate with the metrics to collect. The only valid value is @1Minute@ . enableMetricsCollection     :: Text -- ^ 'emcAutoScalingGroupName'     -> Text -- ^ 'emcGranularity'@@ -70,24 +74,7 @@     , _emcGranularity = pGranularity_     } --- | One or more of the following metrics. If you omit this parameter, all metrics are enabled.------ -   'GroupMinSize'------ -   'GroupMaxSize'------ -   'GroupDesiredCapacity'------ -   'GroupInServiceInstances'------ -   'GroupPendingInstances'------ -   'GroupStandbyInstances'------ -   'GroupTerminatingInstances'------ -   'GroupTotalInstances'---+-- | One or more of the following metrics. If you omit this parameter, all metrics are enabled.     * @GroupMinSize@      * @GroupMaxSize@      * @GroupDesiredCapacity@      * @GroupInServiceInstances@      * @GroupPendingInstances@      * @GroupStandbyInstances@      * @GroupTerminatingInstances@      * @GroupTotalInstances@ emcMetrics :: Lens' EnableMetricsCollection [Text] emcMetrics = lens _emcMetrics (\ s a -> s{_emcMetrics = a}) . _Default . _Coerce; @@ -95,7 +82,7 @@ emcAutoScalingGroupName :: Lens' EnableMetricsCollection Text emcAutoScalingGroupName = lens _emcAutoScalingGroupName (\ s a -> s{_emcAutoScalingGroupName = a}); --- | The granularity to associate with the metrics to collect. The only valid value is '1Minute'.+-- | The granularity to associate with the metrics to collect. The only valid value is @1Minute@ . emcGranularity :: Lens' EnableMetricsCollection Text emcGranularity = lens _emcGranularity (\ s a -> s{_emcGranularity = a}); 
gen/Network/AWS/AutoScaling/EnterStandby.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Moves the specified instances into 'Standby' mode.+-- Moves the specified instances into @Standby@ mode. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/.+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.EnterStandby     (     -- * Creating a Request@@ -48,6 +50,8 @@  -- | Contains the parameters for EnteStandby. --+--+-- -- /See:/ 'enterStandby' smart constructor. data EnterStandby = EnterStandby'     { _esInstanceIds                    :: !(Maybe [Text])@@ -59,11 +63,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'esInstanceIds'+-- * 'esInstanceIds' - One or more instances to move into @Standby@ mode. You must specify at least one instance ID. ----- * 'esAutoScalingGroupName'+-- * 'esAutoScalingGroupName' - The name of the Auto Scaling group. ----- * 'esShouldDecrementDesiredCapacity'+-- * 'esShouldDecrementDesiredCapacity' - Specifies whether the instances moved to @Standby@ mode count as part of the Auto Scaling group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances moved to @Standby@ mode. enterStandby     :: Text -- ^ 'esAutoScalingGroupName'     -> Bool -- ^ 'esShouldDecrementDesiredCapacity'@@ -75,7 +79,7 @@     , _esShouldDecrementDesiredCapacity = pShouldDecrementDesiredCapacity_     } --- | One or more instances to move into 'Standby' mode. You must specify at least one instance ID.+-- | One or more instances to move into @Standby@ mode. You must specify at least one instance ID. esInstanceIds :: Lens' EnterStandby [Text] esInstanceIds = lens _esInstanceIds (\ s a -> s{_esInstanceIds = a}) . _Default . _Coerce; @@ -83,7 +87,7 @@ esAutoScalingGroupName :: Lens' EnterStandby Text esAutoScalingGroupName = lens _esAutoScalingGroupName (\ s a -> s{_esAutoScalingGroupName = a}); --- | Specifies whether the instances moved to 'Standby' mode count as part of the Auto Scaling group\'s desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances moved to 'Standby' mode.+-- | Specifies whether the instances moved to @Standby@ mode count as part of the Auto Scaling group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances moved to @Standby@ mode. esShouldDecrementDesiredCapacity :: Lens' EnterStandby Bool esShouldDecrementDesiredCapacity = lens _esShouldDecrementDesiredCapacity (\ s a -> s{_esShouldDecrementDesiredCapacity = a}); @@ -121,6 +125,8 @@  -- | Contains the output of EnterStandby. --+--+-- -- /See:/ 'enterStandbyResponse' smart constructor. data EnterStandbyResponse = EnterStandbyResponse'     { _ersActivities     :: !(Maybe [Activity])@@ -131,9 +137,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ersActivities'+-- * 'ersActivities' - The activities related to moving instances into @Standby@ mode. ----- * 'ersResponseStatus'+-- * 'ersResponseStatus' - -- | The response status code. enterStandbyResponse     :: Int -- ^ 'ersResponseStatus'     -> EnterStandbyResponse@@ -143,11 +149,11 @@     , _ersResponseStatus = pResponseStatus_     } --- | The activities related to moving instances into 'Standby' mode.+-- | The activities related to moving instances into @Standby@ mode. ersActivities :: Lens' EnterStandbyResponse [Activity] ersActivities = lens _ersActivities (\ s a -> s{_ersActivities = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. ersResponseStatus :: Lens' EnterStandbyResponse Int ersResponseStatus = lens _ersResponseStatus (\ s a -> s{_ersResponseStatus = a}); 
gen/Network/AWS/AutoScaling/ExecutePolicy.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Executes the specified policy.+--+-- module Network.AWS.AutoScaling.ExecutePolicy     (     -- * Creating a Request@@ -45,6 +47,8 @@  -- | Contains the parameters for ExecutePolicy. --+--+-- -- /See:/ 'executePolicy' smart constructor. data ExecutePolicy = ExecutePolicy'     { _epHonorCooldown        :: !(Maybe Bool)@@ -58,15 +62,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'epHonorCooldown'+-- * 'epHonorCooldown' - If this parameter is true, Auto Scaling waits for the cooldown period to complete before executing the policy. Otherwise, Auto Scaling executes the policy without waiting for the cooldown period to complete. This parameter is not supported if the policy type is @StepScaling@ . For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html Auto Scaling Cooldowns> in the /Auto Scaling User Guide/ . ----- * 'epMetricValue'+-- * 'epMetricValue' - The metric value to compare to @BreachThreshold@ . This enables you to execute a policy of type @StepScaling@ and determine which step adjustment to use. For example, if the breach threshold is 50 and you want to use a step adjustment with a lower bound of 0 and an upper bound of 10, you can set the metric value to 59. If you specify a metric value that doesn't correspond to a step adjustment for the policy, the call returns an error. This parameter is required if the policy type is @StepScaling@ and not supported otherwise. ----- * 'epAutoScalingGroupName'+-- * 'epAutoScalingGroupName' - The name or Amazon Resource Name (ARN) of the Auto Scaling group. ----- * 'epBreachThreshold'+-- * 'epBreachThreshold' - The breach threshold for the alarm. This parameter is required if the policy type is @StepScaling@ and not supported otherwise. ----- * 'epPolicyName'+-- * 'epPolicyName' - The name or ARN of the policy. executePolicy     :: Text -- ^ 'epPolicyName'     -> ExecutePolicy@@ -79,19 +83,11 @@     , _epPolicyName = pPolicyName_     } --- | If this parameter is true, Auto Scaling waits for the cooldown period to complete before executing the policy. Otherwise, Auto Scaling executes the policy without waiting for the cooldown period to complete.------ This parameter is not supported if the policy type is 'StepScaling'.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html Auto Scaling Cooldowns> in the /Auto Scaling User Guide/.+-- | If this parameter is true, Auto Scaling waits for the cooldown period to complete before executing the policy. Otherwise, Auto Scaling executes the policy without waiting for the cooldown period to complete. This parameter is not supported if the policy type is @StepScaling@ . For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html Auto Scaling Cooldowns> in the /Auto Scaling User Guide/ . epHonorCooldown :: Lens' ExecutePolicy (Maybe Bool) epHonorCooldown = lens _epHonorCooldown (\ s a -> s{_epHonorCooldown = a}); --- | The metric value to compare to 'BreachThreshold'. This enables you to execute a policy of type 'StepScaling' and determine which step adjustment to use. For example, if the breach threshold is 50 and you want to use a step adjustment with a lower bound of 0 and an upper bound of 10, you can set the metric value to 59.------ If you specify a metric value that doesn\'t correspond to a step adjustment for the policy, the call returns an error.------ This parameter is required if the policy type is 'StepScaling' and not supported otherwise.+-- | The metric value to compare to @BreachThreshold@ . This enables you to execute a policy of type @StepScaling@ and determine which step adjustment to use. For example, if the breach threshold is 50 and you want to use a step adjustment with a lower bound of 0 and an upper bound of 10, you can set the metric value to 59. If you specify a metric value that doesn't correspond to a step adjustment for the policy, the call returns an error. This parameter is required if the policy type is @StepScaling@ and not supported otherwise. epMetricValue :: Lens' ExecutePolicy (Maybe Double) epMetricValue = lens _epMetricValue (\ s a -> s{_epMetricValue = a}); @@ -99,9 +95,7 @@ epAutoScalingGroupName :: Lens' ExecutePolicy (Maybe Text) epAutoScalingGroupName = lens _epAutoScalingGroupName (\ s a -> s{_epAutoScalingGroupName = a}); --- | The breach threshold for the alarm.------ This parameter is required if the policy type is 'StepScaling' and not supported otherwise.+-- | The breach threshold for the alarm. This parameter is required if the policy type is @StepScaling@ and not supported otherwise. epBreachThreshold :: Lens' ExecutePolicy (Maybe Double) epBreachThreshold = lens _epBreachThreshold (\ s a -> s{_epBreachThreshold = a}); 
gen/Network/AWS/AutoScaling/ExitStandby.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Moves the specified instances out of 'Standby' mode.+-- Moves the specified instances out of @Standby@ mode. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/.+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.ExitStandby     (     -- * Creating a Request@@ -47,6 +49,8 @@  -- | Contains the parameters for ExitStandby. --+--+-- -- /See:/ 'exitStandby' smart constructor. data ExitStandby = ExitStandby'     { _eInstanceIds          :: !(Maybe [Text])@@ -57,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'eInstanceIds'+-- * 'eInstanceIds' - One or more instance IDs. You must specify at least one instance ID. ----- * 'eAutoScalingGroupName'+-- * 'eAutoScalingGroupName' - The name of the Auto Scaling group. exitStandby     :: Text -- ^ 'eAutoScalingGroupName'     -> ExitStandby@@ -109,6 +113,8 @@  -- | Contains the parameters for ExitStandby. --+--+-- -- /See:/ 'exitStandbyResponse' smart constructor. data ExitStandbyResponse = ExitStandbyResponse'     { _esrsActivities     :: !(Maybe [Activity])@@ -119,9 +125,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'esrsActivities'+-- * 'esrsActivities' - The activities related to moving instances out of @Standby@ mode. ----- * 'esrsResponseStatus'+-- * 'esrsResponseStatus' - -- | The response status code. exitStandbyResponse     :: Int -- ^ 'esrsResponseStatus'     -> ExitStandbyResponse@@ -131,11 +137,11 @@     , _esrsResponseStatus = pResponseStatus_     } --- | The activities related to moving instances out of 'Standby' mode.+-- | The activities related to moving instances out of @Standby@ mode. esrsActivities :: Lens' ExitStandbyResponse [Activity] esrsActivities = lens _esrsActivities (\ s a -> s{_esrsActivities = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. esrsResponseStatus :: Lens' ExitStandbyResponse Int esrsResponseStatus = lens _esrsResponseStatus (\ s a -> s{_esrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/PutLifecycleHook.hs view
@@ -20,23 +20,27 @@ -- -- Creates or updates a lifecycle hook for the specified Auto Scaling Group. --+-- -- A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates. -- -- This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: ----- 1.  (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.+--     * (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances. ----- 2.  (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.+--     * (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target. ----- 3.  __Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.__+--     * __Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.__ ----- 4.  If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.+--     * If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. ----- 5.  If you finish before the timeout period ends, complete the lifecycle action.+--     * If you finish before the timeout period ends, complete the lifecycle action. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/. ----- If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. For information about updating this limit, see <http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html AWS Service Limits> in the /Amazon Web Services General Reference/.+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/lifecycle-hooks.html Auto Scaling Lifecycle Hooks> in the /Auto Scaling User Guide/ .+--+-- If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. For information about updating this limit, see <http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html AWS Service Limits> in the /Amazon Web Services General Reference/ .+-- module Network.AWS.AutoScaling.PutLifecycleHook     (     -- * Creating a Request@@ -68,6 +72,8 @@  -- | Contains the parameters for PutLifecycleHook. --+--+-- -- /See:/ 'putLifecycleHook' smart constructor. data PutLifecycleHook = PutLifecycleHook'     { _plhDefaultResult         :: !(Maybe Text)@@ -84,21 +90,21 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'plhDefaultResult'+-- * 'plhDefaultResult' - Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. This parameter can be either @CONTINUE@ or @ABANDON@ . The default value is @ABANDON@ . ----- * 'plhHeartbeatTimeout'+-- * 'plhHeartbeatTimeout' - The amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling 'RecordLifecycleActionHeartbeat' . The default is 3600 seconds (1 hour). ----- * 'plhNotificationMetadata'+-- * 'plhNotificationMetadata' - Contains additional information that you want to include any time Auto Scaling sends a message to the notification target. ----- * 'plhNotificationTargetARN'+-- * 'plhNotificationTargetARN' - The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook. This target can be either an SQS queue or an SNS topic. If you specify an empty string, this overrides the current ARN. This operation uses the JSON format when sending notifications to an Amazon SQS queue, and an email key/value pair format when sending notifications to an Amazon SNS topic. When you specify a notification target, Auto Scaling sends it a test message. Test messages contains the following additional key/value pair: @"Event": "autoscaling:TEST_NOTIFICATION"@ . ----- * 'plhLifecycleTransition'+-- * 'plhLifecycleTransition' - The instance state to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see 'DescribeLifecycleHookTypes' . This parameter is required for new lifecycle hooks, but optional when updating existing hooks. ----- * 'plhRoleARN'+-- * 'plhRoleARN' - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. This parameter is required for new lifecycle hooks, but optional when updating existing hooks. ----- * 'plhLifecycleHookName'+-- * 'plhLifecycleHookName' - The name of the lifecycle hook. ----- * 'plhAutoScalingGroupName'+-- * 'plhAutoScalingGroupName' - The name of the Auto Scaling group to which you want to assign the lifecycle hook. putLifecycleHook     :: Text -- ^ 'plhLifecycleHookName'     -> Text -- ^ 'plhAutoScalingGroupName'@@ -115,11 +121,11 @@     , _plhAutoScalingGroupName = pAutoScalingGroupName_     } --- | Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. This parameter can be either 'CONTINUE' or 'ABANDON'. The default value is 'ABANDON'.+-- | Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. This parameter can be either @CONTINUE@ or @ABANDON@ . The default value is @ABANDON@ . plhDefaultResult :: Lens' PutLifecycleHook (Maybe Text) plhDefaultResult = lens _plhDefaultResult (\ s a -> s{_plhDefaultResult = a}); --- | The amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling < RecordLifecycleActionHeartbeat>. The default is 3600 seconds (1 hour).+-- | The amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling 'RecordLifecycleActionHeartbeat' . The default is 3600 seconds (1 hour). plhHeartbeatTimeout :: Lens' PutLifecycleHook (Maybe Int) plhHeartbeatTimeout = lens _plhHeartbeatTimeout (\ s a -> s{_plhHeartbeatTimeout = a}); @@ -127,39 +133,15 @@ plhNotificationMetadata :: Lens' PutLifecycleHook (Maybe Text) plhNotificationMetadata = lens _plhNotificationMetadata (\ s a -> s{_plhNotificationMetadata = a}); --- | The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook. This target can be either an SQS queue or an SNS topic. If you specify an empty string, this overrides the current ARN.------ The notification messages sent to the target include the following information:------ -   __AutoScalingGroupName__. The name of the Auto Scaling group.------ -   __AccountId__. The AWS account ID.------ -   __LifecycleTransition__. The lifecycle hook type.------ -   __LifecycleActionToken__. The lifecycle action token.------ -   __EC2InstanceId__. The EC2 instance ID.------ -   __LifecycleHookName__. The name of the lifecycle hook.------ -   __NotificationMetadata__. User-defined information.------ This operation uses the JSON format when sending notifications to an Amazon SQS queue, and an email key\/value pair format when sending notifications to an Amazon SNS topic.------ When you specify a notification target, Auto Scaling sends it a test message. Test messages contains the following additional key\/value pair: '\"Event\": \"autoscaling:TEST_NOTIFICATION\"'.+-- | The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook. This target can be either an SQS queue or an SNS topic. If you specify an empty string, this overrides the current ARN. This operation uses the JSON format when sending notifications to an Amazon SQS queue, and an email key/value pair format when sending notifications to an Amazon SNS topic. When you specify a notification target, Auto Scaling sends it a test message. Test messages contains the following additional key/value pair: @"Event": "autoscaling:TEST_NOTIFICATION"@ . plhNotificationTargetARN :: Lens' PutLifecycleHook (Maybe Text) plhNotificationTargetARN = lens _plhNotificationTargetARN (\ s a -> s{_plhNotificationTargetARN = a}); --- | The instance state to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see < DescribeLifecycleHookTypes>.------ This parameter is required for new lifecycle hooks, but optional when updating existing hooks.+-- | The instance state to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see 'DescribeLifecycleHookTypes' . This parameter is required for new lifecycle hooks, but optional when updating existing hooks. plhLifecycleTransition :: Lens' PutLifecycleHook (Maybe Text) plhLifecycleTransition = lens _plhLifecycleTransition (\ s a -> s{_plhLifecycleTransition = a}); --- | The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.------ This parameter is required for new lifecycle hooks, but optional when updating existing hooks.+-- | The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. This parameter is required for new lifecycle hooks, but optional when updating existing hooks. plhRoleARN :: Lens' PutLifecycleHook (Maybe Text) plhRoleARN = lens _plhRoleARN (\ s a -> s{_plhRoleARN = a}); @@ -205,6 +187,8 @@  -- | Contains the output of PutLifecycleHook. --+--+-- -- /See:/ 'putLifecycleHookResponse' smart constructor. newtype PutLifecycleHookResponse = PutLifecycleHookResponse'     { _plhrsResponseStatus :: Int@@ -214,7 +198,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'plhrsResponseStatus'+-- * 'plhrsResponseStatus' - -- | The response status code. putLifecycleHookResponse     :: Int -- ^ 'plhrsResponseStatus'     -> PutLifecycleHookResponse@@ -223,7 +207,7 @@     { _plhrsResponseStatus = pResponseStatus_     } --- | The response status code.+-- | -- | The response status code. plhrsResponseStatus :: Lens' PutLifecycleHookResponse Int plhrsResponseStatus = lens _plhrsResponseStatus (\ s a -> s{_plhrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/PutNotificationConfiguration.hs view
@@ -20,9 +20,11 @@ -- -- Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address. --+-- -- This configuration overwrites any existing configuration. ----- For more information see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/ASGettingNotifications.html Getting SNS Notifications When Your Auto Scaling Group Scales> in the /Auto Scaling User Guide/.+-- For more information see <http://docs.aws.amazon.com/autoscaling/latest/userguide/ASGettingNotifications.html Getting SNS Notifications When Your Auto Scaling Group Scales> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.PutNotificationConfiguration     (     -- * Creating a Request@@ -47,6 +49,8 @@  -- | Contains the parameters for PutNotificationConfiguration. --+--+-- -- /See:/ 'putNotificationConfiguration' smart constructor. data PutNotificationConfiguration = PutNotificationConfiguration'     { _pncAutoScalingGroupName :: !Text@@ -58,11 +62,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pncAutoScalingGroupName'+-- * 'pncAutoScalingGroupName' - The name of the Auto Scaling group. ----- * 'pncTopicARN'+-- * 'pncTopicARN' - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. ----- * 'pncNotificationTypes'+-- * 'pncNotificationTypes' - The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see 'DescribeAutoScalingNotificationTypes' . putNotificationConfiguration     :: Text -- ^ 'pncAutoScalingGroupName'     -> Text -- ^ 'pncTopicARN'@@ -82,7 +86,7 @@ pncTopicARN :: Lens' PutNotificationConfiguration Text pncTopicARN = lens _pncTopicARN (\ s a -> s{_pncTopicARN = a}); --- | The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see < DescribeAutoScalingNotificationTypes>.+-- | The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see 'DescribeAutoScalingNotificationTypes' . pncNotificationTypes :: Lens' PutNotificationConfiguration [Text] pncNotificationTypes = lens _pncNotificationTypes (\ s a -> s{_pncNotificationTypes = a}) . _Coerce; 
gen/Network/AWS/AutoScaling/PutScalingPolicy.hs view
@@ -20,7 +20,9 @@ -- -- Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request. ----- If you exceed your maximum limit of step adjustments, which by default is 20 per region, the call fails. For information about updating this limit, see <http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html AWS Service Limits> in the /Amazon Web Services General Reference/.+--+-- If you exceed your maximum limit of step adjustments, which by default is 20 per region, the call fails. For information about updating this limit, see <http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html AWS Service Limits> in the /Amazon Web Services General Reference/ .+-- module Network.AWS.AutoScaling.PutScalingPolicy     (     -- * Creating a Request@@ -56,6 +58,8 @@  -- | Contains the parameters for PutScalingPolicy. --+--+-- -- /See:/ 'putScalingPolicy' smart constructor. data PutScalingPolicy = PutScalingPolicy'     { _pspMinAdjustmentStep       :: !(Maybe Int)@@ -75,27 +79,27 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pspMinAdjustmentStep'+-- * 'pspMinAdjustmentStep' - Available for backward compatibility. Use @MinAdjustmentMagnitude@ instead. ----- * 'pspEstimatedInstanceWarmup'+-- * 'pspEstimatedInstanceWarmup' - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group. This parameter is not supported if the policy type is @SimpleScaling@ . ----- * 'pspPolicyType'+-- * 'pspPolicyType' - The policy type. Valid values are @SimpleScaling@ and @StepScaling@ . If the policy type is null, the value is treated as @SimpleScaling@ . ----- * 'pspStepAdjustments'+-- * 'pspStepAdjustments' - A set of adjustments that enable you to scale based on the size of the alarm breach. This parameter is required if the policy type is @StepScaling@ and not supported otherwise. ----- * 'pspScalingAdjustment'+-- * 'pspScalingAdjustment' - The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. This parameter is required if the policy type is @SimpleScaling@ and not supported otherwise. ----- * 'pspCooldown'+-- * 'pspCooldown' - The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. If this parameter is not specified, the default cooldown period for the group applies. This parameter is not supported unless the policy type is @SimpleScaling@ . For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html Auto Scaling Cooldowns> in the /Auto Scaling User Guide/ . ----- * 'pspMetricAggregationType'+-- * 'pspMetricAggregationType' - The aggregation type for the CloudWatch metrics. Valid values are @Minimum@ , @Maximum@ , and @Average@ . If the aggregation type is null, the value is treated as @Average@ . This parameter is not supported if the policy type is @SimpleScaling@ . ----- * 'pspMinAdjustmentMagnitude'+-- * 'pspMinAdjustmentMagnitude' - The minimum number of instances to scale. If the value of @AdjustmentType@ is @PercentChangeInCapacity@ , the scaling policy changes the @DesiredCapacity@ of the Auto Scaling group by at least this many instances. Otherwise, the error is @ValidationError@ . ----- * 'pspAutoScalingGroupName'+-- * 'pspAutoScalingGroupName' - The name or ARN of the group. ----- * 'pspPolicyName'+-- * 'pspPolicyName' - The name of the policy. ----- * 'pspAdjustmentType'+-- * 'pspAdjustmentType' - The adjustment type. Valid values are @ChangeInCapacity@ , @ExactCapacity@ , and @PercentChangeInCapacity@ . For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/as-scale-based-on-demand.html Dynamic Scaling> in the /Auto Scaling User Guide/ . putScalingPolicy     :: Text -- ^ 'pspAutoScalingGroupName'     -> Text -- ^ 'pspPolicyName'@@ -116,47 +120,35 @@     , _pspAdjustmentType = pAdjustmentType_     } --- | Available for backward compatibility. Use 'MinAdjustmentMagnitude' instead.+-- | Available for backward compatibility. Use @MinAdjustmentMagnitude@ instead. pspMinAdjustmentStep :: Lens' PutScalingPolicy (Maybe Int) pspMinAdjustmentStep = lens _pspMinAdjustmentStep (\ s a -> s{_pspMinAdjustmentStep = a}); --- | The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group.------ This parameter is not supported if the policy type is 'SimpleScaling'.+-- | The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group. This parameter is not supported if the policy type is @SimpleScaling@ . pspEstimatedInstanceWarmup :: Lens' PutScalingPolicy (Maybe Int) pspEstimatedInstanceWarmup = lens _pspEstimatedInstanceWarmup (\ s a -> s{_pspEstimatedInstanceWarmup = a}); --- | The policy type. Valid values are 'SimpleScaling' and 'StepScaling'. If the policy type is null, the value is treated as 'SimpleScaling'.+-- | The policy type. Valid values are @SimpleScaling@ and @StepScaling@ . If the policy type is null, the value is treated as @SimpleScaling@ . pspPolicyType :: Lens' PutScalingPolicy (Maybe Text) pspPolicyType = lens _pspPolicyType (\ s a -> s{_pspPolicyType = a}); --- | A set of adjustments that enable you to scale based on the size of the alarm breach.------ This parameter is required if the policy type is 'StepScaling' and not supported otherwise.+-- | A set of adjustments that enable you to scale based on the size of the alarm breach. This parameter is required if the policy type is @StepScaling@ and not supported otherwise. pspStepAdjustments :: Lens' PutScalingPolicy [StepAdjustment] pspStepAdjustments = lens _pspStepAdjustments (\ s a -> s{_pspStepAdjustments = a}) . _Default . _Coerce; --- | The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.------ This parameter is required if the policy type is 'SimpleScaling' and not supported otherwise.+-- | The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. This parameter is required if the policy type is @SimpleScaling@ and not supported otherwise. pspScalingAdjustment :: Lens' PutScalingPolicy (Maybe Int) pspScalingAdjustment = lens _pspScalingAdjustment (\ s a -> s{_pspScalingAdjustment = a}); --- | The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. If this parameter is not specified, the default cooldown period for the group applies.------ This parameter is not supported unless the policy type is 'SimpleScaling'.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html Auto Scaling Cooldowns> in the /Auto Scaling User Guide/.+-- | The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. If this parameter is not specified, the default cooldown period for the group applies. This parameter is not supported unless the policy type is @SimpleScaling@ . For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html Auto Scaling Cooldowns> in the /Auto Scaling User Guide/ . pspCooldown :: Lens' PutScalingPolicy (Maybe Int) pspCooldown = lens _pspCooldown (\ s a -> s{_pspCooldown = a}); --- | The aggregation type for the CloudWatch metrics. Valid values are 'Minimum', 'Maximum', and 'Average'. If the aggregation type is null, the value is treated as 'Average'.------ This parameter is not supported if the policy type is 'SimpleScaling'.+-- | The aggregation type for the CloudWatch metrics. Valid values are @Minimum@ , @Maximum@ , and @Average@ . If the aggregation type is null, the value is treated as @Average@ . This parameter is not supported if the policy type is @SimpleScaling@ . pspMetricAggregationType :: Lens' PutScalingPolicy (Maybe Text) pspMetricAggregationType = lens _pspMetricAggregationType (\ s a -> s{_pspMetricAggregationType = a}); --- | The minimum number of instances to scale. If the value of 'AdjustmentType' is 'PercentChangeInCapacity', the scaling policy changes the 'DesiredCapacity' of the Auto Scaling group by at least this many instances. Otherwise, the error is 'ValidationError'.+-- | The minimum number of instances to scale. If the value of @AdjustmentType@ is @PercentChangeInCapacity@ , the scaling policy changes the @DesiredCapacity@ of the Auto Scaling group by at least this many instances. Otherwise, the error is @ValidationError@ . pspMinAdjustmentMagnitude :: Lens' PutScalingPolicy (Maybe Int) pspMinAdjustmentMagnitude = lens _pspMinAdjustmentMagnitude (\ s a -> s{_pspMinAdjustmentMagnitude = a}); @@ -168,9 +160,7 @@ pspPolicyName :: Lens' PutScalingPolicy Text pspPolicyName = lens _pspPolicyName (\ s a -> s{_pspPolicyName = a}); --- | The adjustment type. Valid values are 'ChangeInCapacity', 'ExactCapacity', and 'PercentChangeInCapacity'.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html Dynamic Scaling> in the /Auto Scaling User Guide/.+-- | The adjustment type. Valid values are @ChangeInCapacity@ , @ExactCapacity@ , and @PercentChangeInCapacity@ . For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/as-scale-based-on-demand.html Dynamic Scaling> in the /Auto Scaling User Guide/ . pspAdjustmentType :: Lens' PutScalingPolicy Text pspAdjustmentType = lens _pspAdjustmentType (\ s a -> s{_pspAdjustmentType = a}); @@ -216,6 +206,8 @@  -- | Contains the output of PutScalingPolicy. --+--+-- -- /See:/ 'putScalingPolicyResponse' smart constructor. data PutScalingPolicyResponse = PutScalingPolicyResponse'     { _psprsPolicyARN      :: !(Maybe Text)@@ -226,9 +218,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'psprsPolicyARN'+-- * 'psprsPolicyARN' - The Amazon Resource Name (ARN) of the policy. ----- * 'psprsResponseStatus'+-- * 'psprsResponseStatus' - -- | The response status code. putScalingPolicyResponse     :: Int -- ^ 'psprsResponseStatus'     -> PutScalingPolicyResponse@@ -242,7 +234,7 @@ psprsPolicyARN :: Lens' PutScalingPolicyResponse (Maybe Text) psprsPolicyARN = lens _psprsPolicyARN (\ s a -> s{_psprsPolicyARN = a}); --- | The response status code.+-- | -- | The response status code. psprsResponseStatus :: Lens' PutScalingPolicyResponse Int psprsResponseStatus = lens _psprsResponseStatus (\ s a -> s{_psprsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/PutScheduledUpdateGroupAction.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.+-- Creates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/schedule_time.html Scheduled Scaling> in the /Auto Scaling User Guide/.+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/schedule_time.html Scheduled Scaling> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.PutScheduledUpdateGroupAction     (     -- * Creating a Request@@ -51,6 +53,8 @@  -- | Contains the parameters for PutScheduledUpdateGroupAction. --+--+-- -- /See:/ 'putScheduledUpdateGroupAction' smart constructor. data PutScheduledUpdateGroupAction = PutScheduledUpdateGroupAction'     { _psugaStartTime            :: !(Maybe ISO8601)@@ -68,23 +72,23 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'psugaStartTime'+-- * 'psugaStartTime' - The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, @2014-06-01T00:00:00Z@ ). If you specify @Recurrence@ and @StartTime@ , Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence. If you try to schedule your action in the past, Auto Scaling returns an error message. ----- * 'psugaTime'+-- * 'psugaTime' - This parameter is deprecated. ----- * 'psugaMaxSize'+-- * 'psugaMaxSize' - The maximum size for the Auto Scaling group. ----- * 'psugaRecurrence'+-- * 'psugaRecurrence' - The recurring schedule for this action, in Unix cron syntax format. For more information, see <http://en.wikipedia.org/wiki/Cron Cron> in Wikipedia. ----- * 'psugaDesiredCapacity'+-- * 'psugaDesiredCapacity' - The number of EC2 instances that should be running in the group. ----- * 'psugaMinSize'+-- * 'psugaMinSize' - The minimum size for the Auto Scaling group. ----- * 'psugaEndTime'+-- * 'psugaEndTime' - The time for the recurring schedule to end. Auto Scaling does not perform the action after this time. ----- * 'psugaAutoScalingGroupName'+-- * 'psugaAutoScalingGroupName' - The name or Amazon Resource Name (ARN) of the Auto Scaling group. ----- * 'psugaScheduledActionName'+-- * 'psugaScheduledActionName' - The name of this scaling action. putScheduledUpdateGroupAction     :: Text -- ^ 'psugaAutoScalingGroupName'     -> Text -- ^ 'psugaScheduledActionName'@@ -102,11 +106,7 @@     , _psugaScheduledActionName = pScheduledActionName_     } --- | The time for this action to start, in \"YYYY-MM-DDThh:mm:ssZ\" format in UTC\/GMT only (for example, '2014-06-01T00:00:00Z').------ If you try to schedule your action in the past, Auto Scaling returns an error message.------ When 'StartTime' and 'EndTime' are specified with 'Recurrence', they form the boundaries of when the recurring action starts and stops.+-- | The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, @2014-06-01T00:00:00Z@ ). If you specify @Recurrence@ and @StartTime@ , Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence. If you try to schedule your action in the past, Auto Scaling returns an error message. psugaStartTime :: Lens' PutScheduledUpdateGroupAction (Maybe UTCTime) psugaStartTime = lens _psugaStartTime (\ s a -> s{_psugaStartTime = a}) . mapping _Time; @@ -118,9 +118,7 @@ psugaMaxSize :: Lens' PutScheduledUpdateGroupAction (Maybe Int) psugaMaxSize = lens _psugaMaxSize (\ s a -> s{_psugaMaxSize = a}); --- | The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For more information, see <http://en.wikipedia.org/wiki/Cron Cron> in Wikipedia.------ When 'StartTime' and 'EndTime' are specified with 'Recurrence', they form the boundaries of when the recurring action will start and stop.+-- | The recurring schedule for this action, in Unix cron syntax format. For more information, see <http://en.wikipedia.org/wiki/Cron Cron> in Wikipedia. psugaRecurrence :: Lens' PutScheduledUpdateGroupAction (Maybe Text) psugaRecurrence = lens _psugaRecurrence (\ s a -> s{_psugaRecurrence = a}); @@ -132,7 +130,7 @@ psugaMinSize :: Lens' PutScheduledUpdateGroupAction (Maybe Int) psugaMinSize = lens _psugaMinSize (\ s a -> s{_psugaMinSize = a}); --- | The time for this action to end.+-- | The time for the recurring schedule to end. Auto Scaling does not perform the action after this time. psugaEndTime :: Lens' PutScheduledUpdateGroupAction (Maybe UTCTime) psugaEndTime = lens _psugaEndTime (\ s a -> s{_psugaEndTime = a}) . mapping _Time; 
gen/Network/AWS/AutoScaling/RecordLifecycleActionHeartbeat.hs view
@@ -18,21 +18,25 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using < PutLifecycleHook>.+-- Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using 'PutLifecycleHook' . --+-- -- This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: ----- 1.  (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.+--     * (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances. ----- 2.  (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.+--     * (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target. ----- 3.  Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.+--     * Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. ----- 4.  __If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.__+--     * __If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.__ ----- 5.  If you finish before the timeout period ends, complete the lifecycle action.+--     * If you finish before the timeout period ends, complete the lifecycle action. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/.+--+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.RecordLifecycleActionHeartbeat     (     -- * Creating a Request@@ -60,6 +64,8 @@  -- | Contains the parameters for RecordLifecycleActionHeartbeat. --+--+-- -- /See:/ 'recordLifecycleActionHeartbeat' smart constructor. data RecordLifecycleActionHeartbeat = RecordLifecycleActionHeartbeat'     { _rlahInstanceId           :: !(Maybe Text)@@ -72,13 +78,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rlahInstanceId'+-- * 'rlahInstanceId' - The ID of the instance. ----- * 'rlahLifecycleActionToken'+-- * 'rlahLifecycleActionToken' - A token that uniquely identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook. ----- * 'rlahLifecycleHookName'+-- * 'rlahLifecycleHookName' - The name of the lifecycle hook. ----- * 'rlahAutoScalingGroupName'+-- * 'rlahAutoScalingGroupName' - The name of the Auto Scaling group for the hook. recordLifecycleActionHeartbeat     :: Text -- ^ 'rlahLifecycleHookName'     -> Text -- ^ 'rlahAutoScalingGroupName'@@ -143,6 +149,8 @@  -- | Contains the output of RecordLifecycleActionHeartBeat. --+--+-- -- /See:/ 'recordLifecycleActionHeartbeatResponse' smart constructor. newtype RecordLifecycleActionHeartbeatResponse = RecordLifecycleActionHeartbeatResponse'     { _rlahrsResponseStatus :: Int@@ -152,7 +160,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rlahrsResponseStatus'+-- * 'rlahrsResponseStatus' - -- | The response status code. recordLifecycleActionHeartbeatResponse     :: Int -- ^ 'rlahrsResponseStatus'     -> RecordLifecycleActionHeartbeatResponse@@ -161,7 +169,7 @@     { _rlahrsResponseStatus = pResponseStatus_     } --- | The response status code.+-- | -- | The response status code. rlahrsResponseStatus :: Lens' RecordLifecycleActionHeartbeatResponse Int rlahrsResponseStatus = lens _rlahrsResponseStatus (\ s a -> s{_rlahrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/ResumeProcesses.hs view
@@ -20,7 +20,9 @@ -- -- Resumes the specified suspended Auto Scaling processes, or all suspended process, for the specified Auto Scaling group. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SuspendResume.html Suspending and Resuming Auto Scaling Processes> in the /Auto Scaling User Guide/.+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/as-suspend-resume-processes.html Suspending and Resuming Auto Scaling Processes> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.ResumeProcesses     (     -- * Creating a Request@@ -44,6 +46,8 @@  -- | Contains the parameters for SuspendProcesses and ResumeProcesses. --+--+-- -- /See:/ 'resumeProcesses' smart constructor. data ResumeProcesses = ResumeProcesses'     { _rpScalingProcesses     :: !(Maybe [Text])@@ -54,9 +58,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rpScalingProcesses'+-- * 'rpScalingProcesses' - One or more of the following processes. If you omit this parameter, all processes are specified.     * @Launch@      * @Terminate@      * @HealthCheck@      * @ReplaceUnhealthy@      * @AZRebalance@      * @AlarmNotification@      * @ScheduledActions@      * @AddToLoadBalancer@ ----- * 'rpAutoScalingGroupName'+-- * 'rpAutoScalingGroupName' - The name or Amazon Resource Name (ARN) of the Auto Scaling group. resumeProcesses     :: Text -- ^ 'rpAutoScalingGroupName'     -> ResumeProcesses@@ -66,24 +70,7 @@     , _rpAutoScalingGroupName = pAutoScalingGroupName_     } --- | One or more of the following processes. If you omit this parameter, all processes are specified.------ -   'Launch'------ -   'Terminate'------ -   'HealthCheck'------ -   'ReplaceUnhealthy'------ -   'AZRebalance'------ -   'AlarmNotification'------ -   'ScheduledActions'------ -   'AddToLoadBalancer'---+-- | One or more of the following processes. If you omit this parameter, all processes are specified.     * @Launch@      * @Terminate@      * @HealthCheck@      * @ReplaceUnhealthy@      * @AZRebalance@      * @AlarmNotification@      * @ScheduledActions@      * @AddToLoadBalancer@ rpScalingProcesses :: Lens' ResumeProcesses [Text] rpScalingProcesses = lens _rpScalingProcesses (\ s a -> s{_rpScalingProcesses = a}) . _Default . _Coerce; 
gen/Network/AWS/AutoScaling/SetDesiredCapacity.hs view
@@ -20,7 +20,9 @@ -- -- Sets the size of the specified Auto Scaling group. ----- For more information about desired capacity, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/WhatIsAutoScaling.html What Is Auto Scaling?> in the /Auto Scaling User Guide/.+--+-- For more information about desired capacity, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/WhatIsAutoScaling.html What Is Auto Scaling?> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.SetDesiredCapacity     (     -- * Creating a Request@@ -45,6 +47,8 @@  -- | Contains the parameters for SetDesiredCapacity. --+--+-- -- /See:/ 'setDesiredCapacity' smart constructor. data SetDesiredCapacity = SetDesiredCapacity'     { _sdcHonorCooldown        :: !(Maybe Bool)@@ -56,11 +60,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sdcHonorCooldown'+-- * 'sdcHonorCooldown' - By default, @SetDesiredCapacity@ overrides any cooldown period associated with the Auto Scaling group. Specify @True@ to make Auto Scaling to wait for the cool-down period associated with the Auto Scaling group to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. ----- * 'sdcAutoScalingGroupName'+-- * 'sdcAutoScalingGroupName' - The name of the Auto Scaling group. ----- * 'sdcDesiredCapacity'+-- * 'sdcDesiredCapacity' - The number of EC2 instances that should be running in the Auto Scaling group. setDesiredCapacity     :: Text -- ^ 'sdcAutoScalingGroupName'     -> Int -- ^ 'sdcDesiredCapacity'@@ -72,7 +76,7 @@     , _sdcDesiredCapacity = pDesiredCapacity_     } --- | By default, 'SetDesiredCapacity' overrides any cooldown period associated with the Auto Scaling group. Specify 'True' to make Auto Scaling to wait for the cool-down period associated with the Auto Scaling group to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity.+-- | By default, @SetDesiredCapacity@ overrides any cooldown period associated with the Auto Scaling group. Specify @True@ to make Auto Scaling to wait for the cool-down period associated with the Auto Scaling group to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. sdcHonorCooldown :: Lens' SetDesiredCapacity (Maybe Bool) sdcHonorCooldown = lens _sdcHonorCooldown (\ s a -> s{_sdcHonorCooldown = a}); 
gen/Network/AWS/AutoScaling/SetInstanceHealth.hs view
@@ -20,7 +20,9 @@ -- -- Sets the health status of the specified instance. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/healthcheck.html Health Checks> in the /Auto Scaling User Guide/.+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/healthcheck.html Health Checks> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.SetInstanceHealth     (     -- * Creating a Request@@ -45,6 +47,8 @@  -- | Contains the parameters for SetInstanceHealth. --+--+-- -- /See:/ 'setInstanceHealth' smart constructor. data SetInstanceHealth = SetInstanceHealth'     { _sihShouldRespectGracePeriod :: !(Maybe Bool)@@ -56,11 +60,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sihShouldRespectGracePeriod'+-- * 'sihShouldRespectGracePeriod' - If the Auto Scaling group of the specified instance has a @HealthCheckGracePeriod@ specified for the group, by default, this call will respect the grace period. Set this to @False@ , if you do not want the call to respect the grace period associated with the group. For more information, see the description of the health check grace period for 'CreateAutoScalingGroup' . ----- * 'sihInstanceId'+-- * 'sihInstanceId' - The ID of the instance. ----- * 'sihHealthStatus'+-- * 'sihHealthStatus' - The health status of the instance. Set to @Healthy@ if you want the instance to remain in service. Set to @Unhealthy@ if you want the instance to be out of service. Auto Scaling will terminate and replace the unhealthy instance. setInstanceHealth     :: Text -- ^ 'sihInstanceId'     -> Text -- ^ 'sihHealthStatus'@@ -72,9 +76,7 @@     , _sihHealthStatus = pHealthStatus_     } --- | If the Auto Scaling group of the specified instance has a 'HealthCheckGracePeriod' specified for the group, by default, this call will respect the grace period. Set this to 'False', if you do not want the call to respect the grace period associated with the group.------ For more information, see the description of the health check grace period for < CreateAutoScalingGroup>.+-- | If the Auto Scaling group of the specified instance has a @HealthCheckGracePeriod@ specified for the group, by default, this call will respect the grace period. Set this to @False@ , if you do not want the call to respect the grace period associated with the group. For more information, see the description of the health check grace period for 'CreateAutoScalingGroup' . sihShouldRespectGracePeriod :: Lens' SetInstanceHealth (Maybe Bool) sihShouldRespectGracePeriod = lens _sihShouldRespectGracePeriod (\ s a -> s{_sihShouldRespectGracePeriod = a}); @@ -82,7 +84,7 @@ sihInstanceId :: Lens' SetInstanceHealth Text sihInstanceId = lens _sihInstanceId (\ s a -> s{_sihInstanceId = a}); --- | The health status of the instance. Set to 'Healthy' if you want the instance to remain in service. Set to 'Unhealthy' if you want the instance to be out of service. Auto Scaling will terminate and replace the unhealthy instance.+-- | The health status of the instance. Set to @Healthy@ if you want the instance to remain in service. Set to @Unhealthy@ if you want the instance to be out of service. Auto Scaling will terminate and replace the unhealthy instance. sihHealthStatus :: Lens' SetInstanceHealth Text sihHealthStatus = lens _sihHealthStatus (\ s a -> s{_sihHealthStatus = a}); 
gen/Network/AWS/AutoScaling/SetInstanceProtection.hs view
@@ -20,7 +20,9 @@ -- -- Updates the instance protection settings of the specified instances. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingBehavior.InstanceTermination.html#instance-protection Instance Protection> in the /Auto Scaling User Guide/.+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-termination.html#instance-protection Instance Protection> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.SetInstanceProtection     (     -- * Creating a Request@@ -47,6 +49,8 @@  -- | Contains the parameters for SetInstanceProtection. --+--+-- -- /See:/ 'setInstanceProtection' smart constructor. data SetInstanceProtection = SetInstanceProtection'     { _sipInstanceIds          :: ![Text]@@ -58,11 +62,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sipInstanceIds'+-- * 'sipInstanceIds' - One or more instance IDs. ----- * 'sipAutoScalingGroupName'+-- * 'sipAutoScalingGroupName' - The name of the group. ----- * 'sipProtectedFromScaleIn'+-- * 'sipProtectedFromScaleIn' - Indicates whether the instance is protected from termination by Auto Scaling when scaling in. setInstanceProtection     :: Text -- ^ 'sipAutoScalingGroupName'     -> Bool -- ^ 'sipProtectedFromScaleIn'@@ -118,6 +122,8 @@  -- | Contains the output of SetInstanceProtection. --+--+-- -- /See:/ 'setInstanceProtectionResponse' smart constructor. newtype SetInstanceProtectionResponse = SetInstanceProtectionResponse'     { _siprsResponseStatus :: Int@@ -127,7 +133,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'siprsResponseStatus'+-- * 'siprsResponseStatus' - -- | The response status code. setInstanceProtectionResponse     :: Int -- ^ 'siprsResponseStatus'     -> SetInstanceProtectionResponse@@ -136,7 +142,7 @@     { _siprsResponseStatus = pResponseStatus_     } --- | The response status code.+-- | -- | The response status code. siprsResponseStatus :: Lens' SetInstanceProtectionResponse Int siprsResponseStatus = lens _siprsResponseStatus (\ s a -> s{_siprsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/SuspendProcesses.hs view
@@ -20,11 +20,13 @@ -- -- Suspends the specified Auto Scaling processes, or all processes, for the specified Auto Scaling group. ----- Note that if you suspend either the 'Launch' or 'Terminate' process types, it can prevent other process types from functioning properly. ----- To resume processes that have been suspended, use < ResumeProcesses>.+-- Note that if you suspend either the @Launch@ or @Terminate@ process types, it can prevent other process types from functioning properly. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SuspendResume.html Suspending and Resuming Auto Scaling Processes> in the /Auto Scaling User Guide/.+-- To resume processes that have been suspended, use 'ResumeProcesses' .+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/as-suspend-resume-processes.html Suspending and Resuming Auto Scaling Processes> in the /Auto Scaling User Guide/ .+-- module Network.AWS.AutoScaling.SuspendProcesses     (     -- * Creating a Request@@ -48,6 +50,8 @@  -- | Contains the parameters for SuspendProcesses and ResumeProcesses. --+--+-- -- /See:/ 'suspendProcesses' smart constructor. data SuspendProcesses = SuspendProcesses'     { _spScalingProcesses     :: !(Maybe [Text])@@ -58,9 +62,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'spScalingProcesses'+-- * 'spScalingProcesses' - One or more of the following processes. If you omit this parameter, all processes are specified.     * @Launch@      * @Terminate@      * @HealthCheck@      * @ReplaceUnhealthy@      * @AZRebalance@      * @AlarmNotification@      * @ScheduledActions@      * @AddToLoadBalancer@ ----- * 'spAutoScalingGroupName'+-- * 'spAutoScalingGroupName' - The name or Amazon Resource Name (ARN) of the Auto Scaling group. suspendProcesses     :: Text -- ^ 'spAutoScalingGroupName'     -> SuspendProcesses@@ -70,24 +74,7 @@     , _spAutoScalingGroupName = pAutoScalingGroupName_     } --- | One or more of the following processes. If you omit this parameter, all processes are specified.------ -   'Launch'------ -   'Terminate'------ -   'HealthCheck'------ -   'ReplaceUnhealthy'------ -   'AZRebalance'------ -   'AlarmNotification'------ -   'ScheduledActions'------ -   'AddToLoadBalancer'---+-- | One or more of the following processes. If you omit this parameter, all processes are specified.     * @Launch@      * @Terminate@      * @HealthCheck@      * @ReplaceUnhealthy@      * @AZRebalance@      * @AlarmNotification@      * @ScheduledActions@      * @AddToLoadBalancer@ spScalingProcesses :: Lens' SuspendProcesses [Text] spScalingProcesses = lens _spScalingProcesses (\ s a -> s{_spScalingProcesses = a}) . _Default . _Coerce; 
gen/Network/AWS/AutoScaling/TerminateInstanceInAutoScalingGroup.hs view
@@ -20,7 +20,9 @@ -- -- Terminates the specified instance and optionally adjusts the desired group size. --+-- -- This call simply makes a termination request. The instance is not terminated immediately.+-- module Network.AWS.AutoScaling.TerminateInstanceInAutoScalingGroup     (     -- * Creating a Request@@ -47,6 +49,8 @@  -- | Contains the parameters for TerminateInstanceInAutoScalingGroup. --+--+-- -- /See:/ 'terminateInstanceInAutoScalingGroup' smart constructor. data TerminateInstanceInAutoScalingGroup = TerminateInstanceInAutoScalingGroup'     { _tiiasgInstanceId                     :: !Text@@ -57,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tiiasgInstanceId'+-- * 'tiiasgInstanceId' - The ID of the instance. ----- * 'tiiasgShouldDecrementDesiredCapacity'+-- * 'tiiasgShouldDecrementDesiredCapacity' - If @true@ , terminating the instance also decrements the size of the Auto Scaling group. terminateInstanceInAutoScalingGroup     :: Text -- ^ 'tiiasgInstanceId'     -> Bool -- ^ 'tiiasgShouldDecrementDesiredCapacity'@@ -74,7 +78,7 @@ tiiasgInstanceId :: Lens' TerminateInstanceInAutoScalingGroup Text tiiasgInstanceId = lens _tiiasgInstanceId (\ s a -> s{_tiiasgInstanceId = a}); --- | If 'true', terminating the instance also decrements the size of the Auto Scaling group.+-- | If @true@ , terminating the instance also decrements the size of the Auto Scaling group. tiiasgShouldDecrementDesiredCapacity :: Lens' TerminateInstanceInAutoScalingGroup Bool tiiasgShouldDecrementDesiredCapacity = lens _tiiasgShouldDecrementDesiredCapacity (\ s a -> s{_tiiasgShouldDecrementDesiredCapacity = a}); @@ -116,6 +120,8 @@  -- | Contains the output of TerminateInstancesInAutoScalingGroup. --+--+-- -- /See:/ 'terminateInstanceInAutoScalingGroupResponse' smart constructor. data TerminateInstanceInAutoScalingGroupResponse = TerminateInstanceInAutoScalingGroupResponse'     { _tiiasgrsActivity       :: !(Maybe Activity)@@ -126,9 +132,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tiiasgrsActivity'+-- * 'tiiasgrsActivity' - A scaling activity. ----- * 'tiiasgrsResponseStatus'+-- * 'tiiasgrsResponseStatus' - -- | The response status code. terminateInstanceInAutoScalingGroupResponse     :: Int -- ^ 'tiiasgrsResponseStatus'     -> TerminateInstanceInAutoScalingGroupResponse@@ -142,7 +148,7 @@ tiiasgrsActivity :: Lens' TerminateInstanceInAutoScalingGroupResponse (Maybe Activity) tiiasgrsActivity = lens _tiiasgrsActivity (\ s a -> s{_tiiasgrsActivity = a}); --- | The response status code.+-- | -- | The response status code. tiiasgrsResponseStatus :: Lens' TerminateInstanceInAutoScalingGroupResponse Int tiiasgrsResponseStatus = lens _tiiasgrsResponseStatus (\ s a -> s{_tiiasgrsResponseStatus = a}); 
gen/Network/AWS/AutoScaling/Types.hs view
@@ -281,7 +281,7 @@ import           Network.AWS.Prelude import           Network.AWS.Sign.V4 --- | API version '2011-01-01' of the Amazon Auto Scaling SDK configuration.+-- | API version @2011-01-01@ of the Amazon Auto Scaling SDK configuration. autoScaling :: Service autoScaling =     Service@@ -316,27 +316,39 @@       | otherwise = Nothing  -- | You already have an Auto Scaling group or launch configuration with this name.+--+-- _AlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError _AlreadyExistsFault = _ServiceError . hasStatus 400 . hasCode "AlreadyExists" --- | You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see < DescribeAccountLimits>.+-- | You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see 'DescribeAccountLimits' .+--+-- _LimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError _LimitExceededFault = _ServiceError . hasStatus 400 . hasCode "LimitExceeded" --- | The operation can\'t be performed because the resource is in use.+-- | The operation can't be performed because the resource is in use.+--+-- _ResourceInUseFault :: AsError a => Getting (First ServiceError) a ServiceError _ResourceInUseFault = _ServiceError . hasStatus 400 . hasCode "ResourceInUse" --- | The 'NextToken' value is not valid.+-- | The @NextToken@ value is not valid.+--+-- _InvalidNextToken :: AsError a => Getting (First ServiceError) a ServiceError _InvalidNextToken = _ServiceError . hasStatus 400 . hasCode "InvalidNextToken" --- | The operation can\'t be performed because there are scaling activities in progress.+-- | The operation can't be performed because there are scaling activities in progress.+--+-- _ScalingActivityInProgressFault :: AsError a => Getting (First ServiceError) a ServiceError _ScalingActivityInProgressFault =     _ServiceError . hasStatus 400 . hasCode "ScalingActivityInProgress"  -- | You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).+--+-- _ResourceContentionFault :: AsError a => Getting (First ServiceError) a ServiceError _ResourceContentionFault =     _ServiceError . hasStatus 500 . hasCode "ResourceContention"
gen/Network/AWS/AutoScaling/Types/Product.hs view
@@ -23,6 +23,8 @@  -- | Describes scaling activity, which is a long-running process that represents a change to your Auto Scaling group, such as changing its size or replacing an instance. --+--+-- -- /See:/ 'activity' smart constructor. data Activity = Activity'     { _aProgress             :: !(Maybe Int)@@ -41,25 +43,25 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aProgress'+-- * 'aProgress' - A value between 0 and 100 that indicates the progress of the activity. ----- * 'aStatusMessage'+-- * 'aStatusMessage' - A friendly, more verbose description of the activity status. ----- * 'aEndTime'+-- * 'aEndTime' - The end time of the activity. ----- * 'aDetails'+-- * 'aDetails' - The details about the activity. ----- * 'aDescription'+-- * 'aDescription' - A friendly, more verbose description of the activity. ----- * 'aActivityId'+-- * 'aActivityId' - The ID of the activity. ----- * 'aAutoScalingGroupName'+-- * 'aAutoScalingGroupName' - The name of the Auto Scaling group. ----- * 'aCause'+-- * 'aCause' - The reason the activity began. ----- * 'aStartTime'+-- * 'aStartTime' - The start time of the activity. ----- * 'aStatusCode'+-- * 'aStatusCode' - The current status of the activity. activity     :: Text -- ^ 'aActivityId'     -> Text -- ^ 'aAutoScalingGroupName'@@ -140,8 +142,10 @@  -- | Describes a policy adjustment type. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html Dynamic Scaling> in the /Auto Scaling User Guide/. --+-- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html Dynamic Scaling> in the /Auto Scaling User Guide/ .+--+-- -- /See:/ 'adjustmentType' smart constructor. newtype AdjustmentType = AdjustmentType'     { _atAdjustmentType :: Maybe Text@@ -151,7 +155,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'atAdjustmentType'+-- * 'atAdjustmentType' - The policy adjustment type. The valid values are @ChangeInCapacity@ , @ExactCapacity@ , and @PercentChangeInCapacity@ . adjustmentType     :: AdjustmentType adjustmentType =@@ -159,7 +163,7 @@     { _atAdjustmentType = Nothing     } --- | The policy adjustment type. The valid values are 'ChangeInCapacity', 'ExactCapacity', and 'PercentChangeInCapacity'.+-- | The policy adjustment type. The valid values are @ChangeInCapacity@ , @ExactCapacity@ , and @PercentChangeInCapacity@ . atAdjustmentType :: Lens' AdjustmentType (Maybe Text) atAdjustmentType = lens _atAdjustmentType (\ s a -> s{_atAdjustmentType = a}); @@ -173,6 +177,8 @@  -- | Describes an alarm. --+--+-- -- /See:/ 'alarm' smart constructor. data Alarm = Alarm'     { _aAlarmName :: !(Maybe Text)@@ -183,9 +189,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aAlarmName'+-- * 'aAlarmName' - The name of the alarm. ----- * 'aAlarmARN'+-- * 'aAlarmARN' - The Amazon Resource Name (ARN) of the alarm. alarm     :: Alarm alarm =@@ -213,6 +219,8 @@  -- | Describes an Auto Scaling group. --+--+-- -- /See:/ 'autoScalingGroup' smart constructor. data AutoScalingGroup = AutoScalingGroup'     { _asgStatus                           :: !(Maybe Text)@@ -243,49 +251,49 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'asgStatus'+-- * 'asgStatus' - The current state of the group when 'DeleteAutoScalingGroup' is in progress. ----- * 'asgTerminationPolicies'+-- * 'asgTerminationPolicies' - The termination policies for the group. ----- * 'asgHealthCheckGracePeriod'+-- * 'asgHealthCheckGracePeriod' - The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. ----- * 'asgNewInstancesProtectedFromScaleIn'+-- * 'asgNewInstancesProtectedFromScaleIn' - Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in. ----- * 'asgVPCZoneIdentifier'+-- * 'asgVPCZoneIdentifier' - One or more subnet IDs, if applicable, separated by commas. If you specify @VPCZoneIdentifier@ and @AvailabilityZones@ , ensure that the Availability Zones of the subnets match the values for @AvailabilityZones@ . ----- * 'asgTargetGroupARNs'+-- * 'asgTargetGroupARNs' - The Amazon Resource Names (ARN) of the target groups for your load balancer. ----- * 'asgEnabledMetrics'+-- * 'asgEnabledMetrics' - The metrics enabled for the group. ----- * 'asgLaunchConfigurationName'+-- * 'asgLaunchConfigurationName' - The name of the associated launch configuration. ----- * 'asgInstances'+-- * 'asgInstances' - The EC2 instances associated with the group. ----- * 'asgAutoScalingGroupARN'+-- * 'asgAutoScalingGroupARN' - The Amazon Resource Name (ARN) of the group. ----- * 'asgPlacementGroup'+-- * 'asgPlacementGroup' - The name of the placement group into which you'll launch your instances, if any. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement Groups> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'asgSuspendedProcesses'+-- * 'asgSuspendedProcesses' - The suspended processes associated with the group. ----- * 'asgLoadBalancerNames'+-- * 'asgLoadBalancerNames' - One or more load balancers associated with the group. ----- * 'asgTags'+-- * 'asgTags' - The tags for the group. ----- * 'asgAutoScalingGroupName'+-- * 'asgAutoScalingGroupName' - The name of the group. ----- * 'asgMinSize'+-- * 'asgMinSize' - The minimum size of the group. ----- * 'asgMaxSize'+-- * 'asgMaxSize' - The maximum size of the group. ----- * 'asgDesiredCapacity'+-- * 'asgDesiredCapacity' - The desired size of the group. ----- * 'asgDefaultCooldown'+-- * 'asgDefaultCooldown' - The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. ----- * 'asgAvailabilityZones'+-- * 'asgAvailabilityZones' - One or more Availability Zones for the group. ----- * 'asgHealthCheckType'+-- * 'asgHealthCheckType' - The service to use for the health checks. The valid values are @EC2@ and @ELB@ . ----- * 'asgCreatedTime'+-- * 'asgCreatedTime' - The date and time the group was created. autoScalingGroup     :: Text -- ^ 'asgAutoScalingGroupName'     -> Int -- ^ 'asgMinSize'@@ -322,7 +330,7 @@     , _asgCreatedTime = _Time # pCreatedTime_     } --- | The current state of the group when < DeleteAutoScalingGroup> is in progress.+-- | The current state of the group when 'DeleteAutoScalingGroup' is in progress. asgStatus :: Lens' AutoScalingGroup (Maybe Text) asgStatus = lens _asgStatus (\ s a -> s{_asgStatus = a}); @@ -338,9 +346,7 @@ asgNewInstancesProtectedFromScaleIn :: Lens' AutoScalingGroup (Maybe Bool) asgNewInstancesProtectedFromScaleIn = lens _asgNewInstancesProtectedFromScaleIn (\ s a -> s{_asgNewInstancesProtectedFromScaleIn = a}); --- | One or more subnet IDs, if applicable, separated by commas.------ If you specify 'VPCZoneIdentifier' and 'AvailabilityZones', ensure that the Availability Zones of the subnets match the values for 'AvailabilityZones'.+-- | One or more subnet IDs, if applicable, separated by commas. If you specify @VPCZoneIdentifier@ and @AvailabilityZones@ , ensure that the Availability Zones of the subnets match the values for @AvailabilityZones@ . asgVPCZoneIdentifier :: Lens' AutoScalingGroup (Maybe Text) asgVPCZoneIdentifier = lens _asgVPCZoneIdentifier (\ s a -> s{_asgVPCZoneIdentifier = a}); @@ -364,7 +370,7 @@ asgAutoScalingGroupARN :: Lens' AutoScalingGroup (Maybe Text) asgAutoScalingGroupARN = lens _asgAutoScalingGroupARN (\ s a -> s{_asgAutoScalingGroupARN = a}); --- | The name of the placement group into which you\'ll launch your instances, if any. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement Groups> in the /Amazon Elastic Compute Cloud User Guide/.+-- | The name of the placement group into which you'll launch your instances, if any. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement Groups> in the /Amazon Elastic Compute Cloud User Guide/ . asgPlacementGroup :: Lens' AutoScalingGroup (Maybe Text) asgPlacementGroup = lens _asgPlacementGroup (\ s a -> s{_asgPlacementGroup = a}); @@ -404,7 +410,7 @@ asgAvailabilityZones :: Lens' AutoScalingGroup (NonEmpty Text) asgAvailabilityZones = lens _asgAvailabilityZones (\ s a -> s{_asgAvailabilityZones = a}) . _List1; --- | The service to use for the health checks. The valid values are 'EC2' and 'ELB'.+-- | The service to use for the health checks. The valid values are @EC2@ and @ELB@ . asgHealthCheckType :: Lens' AutoScalingGroup Text asgHealthCheckType = lens _asgHealthCheckType (\ s a -> s{_asgHealthCheckType = a}); @@ -459,6 +465,8 @@  -- | Describes an EC2 instance associated with an Auto Scaling group. --+--+-- -- /See:/ 'autoScalingInstanceDetails' smart constructor. data AutoScalingInstanceDetails = AutoScalingInstanceDetails'     { _asidLaunchConfigurationName :: !(Maybe Text)@@ -474,19 +482,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'asidLaunchConfigurationName'+-- * 'asidLaunchConfigurationName' - The launch configuration associated with the instance. ----- * 'asidInstanceId'+-- * 'asidInstanceId' - The ID of the instance. ----- * 'asidAutoScalingGroupName'+-- * 'asidAutoScalingGroupName' - The name of the Auto Scaling group associated with the instance. ----- * 'asidAvailabilityZone'+-- * 'asidAvailabilityZone' - The Availability Zone for the instance. ----- * 'asidLifecycleState'+-- * 'asidLifecycleState' - The lifecycle state for the instance. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/ . ----- * 'asidHealthStatus'+-- * 'asidHealthStatus' - The last reported health status of this instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Auto Scaling should terminate and replace it. ----- * 'asidProtectedFromScaleIn'+-- * 'asidProtectedFromScaleIn' - Indicates whether the instance is protected from termination by Auto Scaling when scaling in. autoScalingInstanceDetails     :: Text -- ^ 'asidInstanceId'     -> Text -- ^ 'asidAutoScalingGroupName'@@ -522,11 +530,11 @@ asidAvailabilityZone :: Lens' AutoScalingInstanceDetails Text asidAvailabilityZone = lens _asidAvailabilityZone (\ s a -> s{_asidAvailabilityZone = a}); --- | The lifecycle state for the instance. For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/.+-- | The lifecycle state for the instance. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/ . asidLifecycleState :: Lens' AutoScalingInstanceDetails Text asidLifecycleState = lens _asidLifecycleState (\ s a -> s{_asidLifecycleState = a}); --- | The last reported health status of this instance. \"Healthy\" means that the instance is healthy and should remain in service. \"Unhealthy\" means that the instance is unhealthy and Auto Scaling should terminate and replace it.+-- | The last reported health status of this instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Auto Scaling should terminate and replace it. asidHealthStatus :: Lens' AutoScalingInstanceDetails Text asidHealthStatus = lens _asidHealthStatus (\ s a -> s{_asidHealthStatus = a}); @@ -551,6 +559,8 @@  -- | Describes a block device mapping. --+--+-- -- /See:/ 'blockDeviceMapping' smart constructor. data BlockDeviceMapping = BlockDeviceMapping'     { _bdmVirtualName :: !(Maybe Text)@@ -563,13 +573,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'bdmVirtualName'+-- * 'bdmVirtualName' - The name of the virtual device (for example, @ephemeral0@ ). ----- * 'bdmNoDevice'+-- * 'bdmNoDevice' - Suppresses a device mapping. If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check. ----- * 'bdmEBS'+-- * 'bdmEBS' - The information about the Amazon EBS volume. ----- * 'bdmDeviceName'+-- * 'bdmDeviceName' - The device name exposed to the EC2 instance (for example, @/dev/sdh@ or @xvdh@ ). blockDeviceMapping     :: Text -- ^ 'bdmDeviceName'     -> BlockDeviceMapping@@ -581,13 +591,11 @@     , _bdmDeviceName = pDeviceName_     } --- | The name of the virtual device (for example, 'ephemeral0').+-- | The name of the virtual device (for example, @ephemeral0@ ). bdmVirtualName :: Lens' BlockDeviceMapping (Maybe Text) bdmVirtualName = lens _bdmVirtualName (\ s a -> s{_bdmVirtualName = a}); --- | Suppresses a device mapping.------ If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check.+-- | Suppresses a device mapping. If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check. bdmNoDevice :: Lens' BlockDeviceMapping (Maybe Bool) bdmNoDevice = lens _bdmNoDevice (\ s a -> s{_bdmNoDevice = a}); @@ -595,7 +603,7 @@ bdmEBS :: Lens' BlockDeviceMapping (Maybe EBS) bdmEBS = lens _bdmEBS (\ s a -> s{_bdmEBS = a}); --- | The device name exposed to the EC2 instance (for example, '\/dev\/sdh' or 'xvdh').+-- | The device name exposed to the EC2 instance (for example, @/dev/sdh@ or @xvdh@ ). bdmDeviceName :: Lens' BlockDeviceMapping Text bdmDeviceName = lens _bdmDeviceName (\ s a -> s{_bdmDeviceName = a}); @@ -619,6 +627,8 @@  -- | Describes an Amazon EBS volume. --+--+-- -- /See:/ 'ebs' smart constructor. data EBS = EBS'     { _ebsDeleteOnTermination :: !(Maybe Bool)@@ -633,17 +643,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ebsDeleteOnTermination'+-- * 'ebsDeleteOnTermination' - Indicates whether the volume is deleted on instance termination. Default: @true@ ----- * 'ebsVolumeSize'+-- * 'ebsVolumeSize' - The volume size, in GiB. For @standard@ volumes, specify a value from 1 to 1,024. For @io1@ volumes, specify a value from 4 to 16,384. For @gp2@ volumes, specify a value from 1 to 16,384. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size. Default: If you create a volume from a snapshot and you don't specify a volume size, the default is the snapshot size. ----- * 'ebsIOPS'+-- * 'ebsIOPS' - The number of I/O operations per second (IOPS) to provision for the volume. Constraint: Required when the volume type is @io1@ . ----- * 'ebsEncrypted'+-- * 'ebsEncrypted' - Indicates whether the volume should be encrypted. Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are automatically encrypted. There is no way to create an encrypted volume from an unencrypted snapshot or an unencrypted volume from an encrypted snapshot. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html Amazon EBS Encryption> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'ebsVolumeType'+-- * 'ebsVolumeType' - The volume type. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html Amazon EBS Volume Types> in the /Amazon Elastic Compute Cloud User Guide/ . Valid values: @standard@ | @io1@ | @gp2@  Default: @standard@ ----- * 'ebsSnapshotId'+-- * 'ebsSnapshotId' - The ID of the snapshot. ebs     :: EBS ebs =@@ -656,33 +666,23 @@     , _ebsSnapshotId = Nothing     } --- | Indicates whether the volume is deleted on instance termination.------ Default: 'true'+-- | Indicates whether the volume is deleted on instance termination. Default: @true@ ebsDeleteOnTermination :: Lens' EBS (Maybe Bool) ebsDeleteOnTermination = lens _ebsDeleteOnTermination (\ s a -> s{_ebsDeleteOnTermination = a}); --- | The volume size, in GiB. For 'standard' volumes, specify a value from 1 to 1,024. For 'io1' volumes, specify a value from 4 to 16,384. For 'gp2' volumes, specify a value from 1 to 16,384. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size.------ Default: If you create a volume from a snapshot and you don\'t specify a volume size, the default is the snapshot size.+-- | The volume size, in GiB. For @standard@ volumes, specify a value from 1 to 1,024. For @io1@ volumes, specify a value from 4 to 16,384. For @gp2@ volumes, specify a value from 1 to 16,384. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size. Default: If you create a volume from a snapshot and you don't specify a volume size, the default is the snapshot size. ebsVolumeSize :: Lens' EBS (Maybe Natural) ebsVolumeSize = lens _ebsVolumeSize (\ s a -> s{_ebsVolumeSize = a}) . mapping _Nat; --- | The number of I\/O operations per second (IOPS) to provision for the volume.------ Constraint: Required when the volume type is 'io1'.+-- | The number of I/O operations per second (IOPS) to provision for the volume. Constraint: Required when the volume type is @io1@ . ebsIOPS :: Lens' EBS (Maybe Natural) ebsIOPS = lens _ebsIOPS (\ s a -> s{_ebsIOPS = a}) . mapping _Nat; --- | Indicates whether the volume should be encrypted. Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are automatically encrypted. There is no way to create an encrypted volume from an unencrypted snapshot or an unencrypted volume from an encrypted snapshot. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html Amazon EBS Encryption> in the /Amazon Elastic Compute Cloud User Guide/.+-- | Indicates whether the volume should be encrypted. Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are automatically encrypted. There is no way to create an encrypted volume from an unencrypted snapshot or an unencrypted volume from an encrypted snapshot. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html Amazon EBS Encryption> in the /Amazon Elastic Compute Cloud User Guide/ . ebsEncrypted :: Lens' EBS (Maybe Bool) ebsEncrypted = lens _ebsEncrypted (\ s a -> s{_ebsEncrypted = a}); --- | The volume type. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html Amazon EBS Volume Types> in the /Amazon Elastic Compute Cloud User Guide/.------ Valid values: 'standard' | 'io1' | 'gp2'------ Default: 'standard'+-- | The volume type. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html Amazon EBS Volume Types> in the /Amazon Elastic Compute Cloud User Guide/ . Valid values: @standard@ | @io1@ | @gp2@  Default: @standard@ ebsVolumeType :: Lens' EBS (Maybe Text) ebsVolumeType = lens _ebsVolumeType (\ s a -> s{_ebsVolumeType = a}); @@ -715,6 +715,8 @@  -- | Describes an enabled metric. --+--+-- -- /See:/ 'enabledMetric' smart constructor. data EnabledMetric = EnabledMetric'     { _emGranularity :: !(Maybe Text)@@ -725,9 +727,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'emGranularity'+-- * 'emGranularity' - The granularity of the metric. The only valid value is @1Minute@ . ----- * 'emMetric'+-- * 'emMetric' - One of the following metrics:     * @GroupMinSize@      * @GroupMaxSize@      * @GroupDesiredCapacity@      * @GroupInServiceInstances@      * @GroupPendingInstances@      * @GroupStandbyInstances@      * @GroupTerminatingInstances@      * @GroupTotalInstances@ enabledMetric     :: EnabledMetric enabledMetric =@@ -736,28 +738,11 @@     , _emMetric = Nothing     } --- | The granularity of the metric. The only valid value is '1Minute'.+-- | The granularity of the metric. The only valid value is @1Minute@ . emGranularity :: Lens' EnabledMetric (Maybe Text) emGranularity = lens _emGranularity (\ s a -> s{_emGranularity = a}); --- | One of the following metrics:------ -   'GroupMinSize'------ -   'GroupMaxSize'------ -   'GroupDesiredCapacity'------ -   'GroupInServiceInstances'------ -   'GroupPendingInstances'------ -   'GroupStandbyInstances'------ -   'GroupTerminatingInstances'------ -   'GroupTotalInstances'---+-- | One of the following metrics:     * @GroupMinSize@      * @GroupMaxSize@      * @GroupDesiredCapacity@      * @GroupInServiceInstances@      * @GroupPendingInstances@      * @GroupStandbyInstances@      * @GroupTerminatingInstances@      * @GroupTotalInstances@ emMetric :: Lens' EnabledMetric (Maybe Text) emMetric = lens _emMetric (\ s a -> s{_emMetric = a}); @@ -772,6 +757,8 @@  -- | Describes a filter. --+--+-- -- /See:/ 'filter'' smart constructor. data Filter = Filter'     { _fValues :: !(Maybe [Text])@@ -782,9 +769,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'fValues'+-- * 'fValues' - The value of the filter. ----- * 'fName'+-- * 'fName' - The name of the filter. The valid values are: @"auto-scaling-group"@ , @"key"@ , @"value"@ , and @"propagate-at-launch"@ . filter'     :: Text -- ^ 'fName'     -> Filter@@ -798,7 +785,7 @@ fValues :: Lens' Filter [Text] fValues = lens _fValues (\ s a -> s{_fValues = a}) . _Default . _Coerce; --- | The name of the filter. The valid values are: '\"auto-scaling-group\"', '\"key\"', '\"value\"', and '\"propagate-at-launch\"'.+-- | The name of the filter. The valid values are: @"auto-scaling-group"@ , @"key"@ , @"value"@ , and @"propagate-at-launch"@ . fName :: Lens' Filter Text fName = lens _fName (\ s a -> s{_fName = a}); @@ -815,6 +802,8 @@  -- | Describes an EC2 instance. --+--+-- -- /See:/ 'instance'' smart constructor. data Instance = Instance'     { _iLaunchConfigurationName :: !(Maybe Text)@@ -829,17 +818,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'iLaunchConfigurationName'+-- * 'iLaunchConfigurationName' - The launch configuration associated with the instance. ----- * 'iInstanceId'+-- * 'iInstanceId' - The ID of the instance. ----- * 'iAvailabilityZone'+-- * 'iAvailabilityZone' - The Availability Zone in which the instance is running. ----- * 'iLifecycleState'+-- * 'iLifecycleState' - A description of the current lifecycle state. Note that the @Quarantined@ state is not used. ----- * 'iHealthStatus'+-- * 'iHealthStatus' - The last reported health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Auto Scaling should terminate and replace it. ----- * 'iProtectedFromScaleIn'+-- * 'iProtectedFromScaleIn' - Indicates whether the instance is protected from termination by Auto Scaling when scaling in. instance'     :: Text -- ^ 'iInstanceId'     -> Text -- ^ 'iAvailabilityZone'@@ -869,11 +858,11 @@ iAvailabilityZone :: Lens' Instance Text iAvailabilityZone = lens _iAvailabilityZone (\ s a -> s{_iAvailabilityZone = a}); --- | A description of the current lifecycle state. Note that the 'Quarantined' state is not used.+-- | A description of the current lifecycle state. Note that the @Quarantined@ state is not used. iLifecycleState :: Lens' Instance LifecycleState iLifecycleState = lens _iLifecycleState (\ s a -> s{_iLifecycleState = a}); --- | The last reported health status of the instance. \"Healthy\" means that the instance is healthy and should remain in service. \"Unhealthy\" means that the instance is unhealthy and Auto Scaling should terminate and replace it.+-- | The last reported health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Auto Scaling should terminate and replace it. iHealthStatus :: Lens' Instance Text iHealthStatus = lens _iHealthStatus (\ s a -> s{_iHealthStatus = a}); @@ -897,6 +886,8 @@  -- | Describes whether instance monitoring is enabled. --+--+-- -- /See:/ 'instanceMonitoring' smart constructor. newtype InstanceMonitoring = InstanceMonitoring'     { _imEnabled :: Maybe Bool@@ -906,7 +897,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'imEnabled'+-- * 'imEnabled' - If @True@ , instance monitoring is enabled. instanceMonitoring     :: InstanceMonitoring instanceMonitoring =@@ -914,7 +905,7 @@     { _imEnabled = Nothing     } --- | If 'True', instance monitoring is enabled.+-- | If @True@ , instance monitoring is enabled. imEnabled :: Lens' InstanceMonitoring (Maybe Bool) imEnabled = lens _imEnabled (\ s a -> s{_imEnabled = a}); @@ -932,6 +923,8 @@  -- | Describes a launch configuration. --+--+-- -- /See:/ 'launchConfiguration' smart constructor. data LaunchConfiguration = LaunchConfiguration'     { _lcAssociatePublicIPAddress     :: !(Maybe Bool)@@ -959,43 +952,43 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lcAssociatePublicIPAddress'+-- * 'lcAssociatePublicIPAddress' - [EC2-VPC] Indicates whether to assign a public IP address to each instance. ----- * 'lcSecurityGroups'+-- * 'lcSecurityGroups' - The security groups to associate with the instances. ----- * 'lcSpotPrice'+-- * 'lcSpotPrice' - The price to bid when launching Spot Instances. ----- * 'lcInstanceMonitoring'+-- * 'lcInstanceMonitoring' - Controls whether instances in this group are launched with detailed (@true@ ) or basic (@false@ ) monitoring. ----- * 'lcKeyName'+-- * 'lcKeyName' - The name of the key pair. ----- * 'lcClassicLinkVPCSecurityGroups'+-- * 'lcClassicLinkVPCSecurityGroups' - The IDs of one or more security groups for the VPC specified in @ClassicLinkVPCId@ . This parameter is required if you specify a ClassicLink-enabled VPC, and cannot be used otherwise. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html ClassicLink> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'lcRAMDiskId'+-- * 'lcRAMDiskId' - The ID of the RAM disk associated with the AMI. ----- * 'lcKernelId'+-- * 'lcKernelId' - The ID of the kernel associated with the AMI. ----- * 'lcEBSOptimized'+-- * 'lcEBSOptimized' - Controls whether the instance is optimized for EBS I/O (@true@ ) or not (@false@ ). ----- * 'lcUserData'+-- * 'lcUserData' - The user data available to the instances. ----- * 'lcClassicLinkVPCId'+-- * 'lcClassicLinkVPCId' - The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html ClassicLink> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'lcIAMInstanceProfile'+-- * 'lcIAMInstanceProfile' - The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. ----- * 'lcLaunchConfigurationARN'+-- * 'lcLaunchConfigurationARN' - The Amazon Resource Name (ARN) of the launch configuration. ----- * 'lcPlacementTenancy'+-- * 'lcPlacementTenancy' - The tenancy of the instance, either @default@ or @dedicated@ . An instance with @dedicated@ tenancy runs in an isolated, single-tenant hardware and can only be launched into a VPC. ----- * 'lcBlockDeviceMappings'+-- * 'lcBlockDeviceMappings' - A block device mapping, which specifies the block devices for the instance. ----- * 'lcLaunchConfigurationName'+-- * 'lcLaunchConfigurationName' - The name of the launch configuration. ----- * 'lcImageId'+-- * 'lcImageId' - The ID of the Amazon Machine Image (AMI). ----- * 'lcInstanceType'+-- * 'lcInstanceType' - The instance type for the instances. ----- * 'lcCreatedTime'+-- * 'lcCreatedTime' - The creation date and time for the launch configuration. launchConfiguration     :: Text -- ^ 'lcLaunchConfigurationName'     -> Text -- ^ 'lcImageId'@@ -1037,7 +1030,7 @@ lcSpotPrice :: Lens' LaunchConfiguration (Maybe Text) lcSpotPrice = lens _lcSpotPrice (\ s a -> s{_lcSpotPrice = a}); --- | Controls whether instances in this group are launched with detailed ('true') or basic ('false') monitoring.+-- | Controls whether instances in this group are launched with detailed (@true@ ) or basic (@false@ ) monitoring. lcInstanceMonitoring :: Lens' LaunchConfiguration (Maybe InstanceMonitoring) lcInstanceMonitoring = lens _lcInstanceMonitoring (\ s a -> s{_lcInstanceMonitoring = a}); @@ -1045,7 +1038,7 @@ lcKeyName :: Lens' LaunchConfiguration (Maybe Text) lcKeyName = lens _lcKeyName (\ s a -> s{_lcKeyName = a}); --- | The IDs of one or more security groups for the VPC specified in 'ClassicLinkVPCId'. This parameter is required if you specify a ClassicLink-enabled VPC, and cannot be used otherwise. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html ClassicLink> in the /Amazon Elastic Compute Cloud User Guide/.+-- | The IDs of one or more security groups for the VPC specified in @ClassicLinkVPCId@ . This parameter is required if you specify a ClassicLink-enabled VPC, and cannot be used otherwise. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html ClassicLink> in the /Amazon Elastic Compute Cloud User Guide/ . lcClassicLinkVPCSecurityGroups :: Lens' LaunchConfiguration [Text] lcClassicLinkVPCSecurityGroups = lens _lcClassicLinkVPCSecurityGroups (\ s a -> s{_lcClassicLinkVPCSecurityGroups = a}) . _Default . _Coerce; @@ -1057,7 +1050,7 @@ lcKernelId :: Lens' LaunchConfiguration (Maybe Text) lcKernelId = lens _lcKernelId (\ s a -> s{_lcKernelId = a}); --- | Controls whether the instance is optimized for EBS I\/O ('true') or not ('false').+-- | Controls whether the instance is optimized for EBS I/O (@true@ ) or not (@false@ ). lcEBSOptimized :: Lens' LaunchConfiguration (Maybe Bool) lcEBSOptimized = lens _lcEBSOptimized (\ s a -> s{_lcEBSOptimized = a}); @@ -1065,7 +1058,7 @@ lcUserData :: Lens' LaunchConfiguration (Maybe Text) lcUserData = lens _lcUserData (\ s a -> s{_lcUserData = a}); --- | The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html ClassicLink> in the /Amazon Elastic Compute Cloud User Guide/.+-- | The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html ClassicLink> in the /Amazon Elastic Compute Cloud User Guide/ . lcClassicLinkVPCId :: Lens' LaunchConfiguration (Maybe Text) lcClassicLinkVPCId = lens _lcClassicLinkVPCId (\ s a -> s{_lcClassicLinkVPCId = a}); @@ -1077,7 +1070,7 @@ lcLaunchConfigurationARN :: Lens' LaunchConfiguration (Maybe Text) lcLaunchConfigurationARN = lens _lcLaunchConfigurationARN (\ s a -> s{_lcLaunchConfigurationARN = a}); --- | The tenancy of the instance, either 'default' or 'dedicated'. An instance with 'dedicated' tenancy runs in an isolated, single-tenant hardware and can only be launched into a VPC.+-- | The tenancy of the instance, either @default@ or @dedicated@ . An instance with @dedicated@ tenancy runs in an isolated, single-tenant hardware and can only be launched into a VPC. lcPlacementTenancy :: Lens' LaunchConfiguration (Maybe Text) lcPlacementTenancy = lens _lcPlacementTenancy (\ s a -> s{_lcPlacementTenancy = a}); @@ -1135,12 +1128,16 @@  -- | Describes a lifecycle hook, which tells Auto Scaling that you want to perform an action when an instance launches or terminates. When you have a lifecycle hook in place, the Auto Scaling group will either: ----- -   Pause the instance after it launches, but before it is put into service ----- -   Pause the instance as it terminates, but before it is fully terminated+--     * Pause the instance after it launches, but before it is put into service ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/.+--     * Pause the instance as it terminates, but before it is fully terminated --+--+--+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html Auto Scaling Lifecycle> in the /Auto Scaling User Guide/ .+--+-- -- /See:/ 'lifecycleHook' smart constructor. data LifecycleHook = LifecycleHook'     { _lhDefaultResult         :: !(Maybe Text)@@ -1158,23 +1155,23 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lhDefaultResult'+-- * 'lhDefaultResult' - Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are @CONTINUE@ and @ABANDON@ . The default value is @CONTINUE@ . ----- * 'lhLifecycleHookName'+-- * 'lhLifecycleHookName' - The name of the lifecycle hook. ----- * 'lhHeartbeatTimeout'+-- * 'lhHeartbeatTimeout' - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The default is 3600 seconds (1 hour). When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling 'RecordLifecycleActionHeartbeat' . ----- * 'lhAutoScalingGroupName'+-- * 'lhAutoScalingGroupName' - The name of the Auto Scaling group for the lifecycle hook. ----- * 'lhNotificationMetadata'+-- * 'lhNotificationMetadata' - Additional information that you want to include any time Auto Scaling sends a message to the notification target. ----- * 'lhGlobalTimeout'+-- * 'lhGlobalTimeout' - The maximum time, in seconds, that an instance can remain in a @Pending:Wait@ or @Terminating:Wait@ state. The maximum is 172800 seconds (48 hours) or 100 times @HeartbeatTimeout@ , whichever is smaller. ----- * 'lhNotificationTargetARN'+-- * 'lhNotificationTargetARN' - The ARN of the notification target that Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. The notification message sent to the target includes the following:     * Lifecycle action token     * User account ID     * Name of the Auto Scaling group     * Lifecycle hook name     * EC2 instance ID     * Lifecycle transition     * Notification metadata ----- * 'lhLifecycleTransition'+-- * 'lhLifecycleTransition' - The state of the EC2 instance to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see 'DescribeLifecycleHookTypes' . ----- * 'lhRoleARN'+-- * 'lhRoleARN' - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. lifecycleHook     :: LifecycleHook lifecycleHook =@@ -1190,7 +1187,7 @@     , _lhRoleARN = Nothing     } --- | Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are 'CONTINUE' and 'ABANDON'. The default value is 'CONTINUE'.+-- | Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are @CONTINUE@ and @ABANDON@ . The default value is @CONTINUE@ . lhDefaultResult :: Lens' LifecycleHook (Maybe Text) lhDefaultResult = lens _lhDefaultResult (\ s a -> s{_lhDefaultResult = a}); @@ -1198,7 +1195,7 @@ lhLifecycleHookName :: Lens' LifecycleHook (Maybe Text) lhLifecycleHookName = lens _lhLifecycleHookName (\ s a -> s{_lhLifecycleHookName = a}); --- | The maximum time, in seconds, that can elapse before the lifecycle hook times out. The default is 3600 seconds (1 hour). When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling < RecordLifecycleActionHeartbeat>.+-- | The maximum time, in seconds, that can elapse before the lifecycle hook times out. The default is 3600 seconds (1 hour). When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling 'RecordLifecycleActionHeartbeat' . lhHeartbeatTimeout :: Lens' LifecycleHook (Maybe Int) lhHeartbeatTimeout = lens _lhHeartbeatTimeout (\ s a -> s{_lhHeartbeatTimeout = a}); @@ -1210,30 +1207,15 @@ lhNotificationMetadata :: Lens' LifecycleHook (Maybe Text) lhNotificationMetadata = lens _lhNotificationMetadata (\ s a -> s{_lhNotificationMetadata = a}); --- | The maximum time, in seconds, that an instance can remain in a 'Pending:Wait' or 'Terminating:Wait' state. The default is 172800 seconds (48 hours).+-- | The maximum time, in seconds, that an instance can remain in a @Pending:Wait@ or @Terminating:Wait@ state. The maximum is 172800 seconds (48 hours) or 100 times @HeartbeatTimeout@ , whichever is smaller. lhGlobalTimeout :: Lens' LifecycleHook (Maybe Int) lhGlobalTimeout = lens _lhGlobalTimeout (\ s a -> s{_lhGlobalTimeout = a}); --- | The ARN of the notification target that Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. The notification message sent to the target includes the following:------ -   Lifecycle action token------ -   User account ID------ -   Name of the Auto Scaling group------ -   Lifecycle hook name------ -   EC2 instance ID------ -   Lifecycle transition------ -   Notification metadata---+-- | The ARN of the notification target that Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. The notification message sent to the target includes the following:     * Lifecycle action token     * User account ID     * Name of the Auto Scaling group     * Lifecycle hook name     * EC2 instance ID     * Lifecycle transition     * Notification metadata lhNotificationTargetARN :: Lens' LifecycleHook (Maybe Text) lhNotificationTargetARN = lens _lhNotificationTargetARN (\ s a -> s{_lhNotificationTargetARN = a}); --- | The state of the EC2 instance to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see < DescribeLifecycleHookTypes>.+-- | The state of the EC2 instance to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see 'DescribeLifecycleHookTypes' . lhLifecycleTransition :: Lens' LifecycleHook (Maybe Text) lhLifecycleTransition = lens _lhLifecycleTransition (\ s a -> s{_lhLifecycleTransition = a}); @@ -1260,10 +1242,12 @@  -- | Describes the state of a Classic load balancer. ----- If you specify a load balancer when creating the Auto Scaling group, the state of the load balancer is 'InService'. ----- If you attach a load balancer to an existing Auto Scaling group, the initial state is 'Adding'. The state transitions to 'Added' after all instances in the group are registered with the load balancer. If ELB health checks are enabled for the load balancer, the state transitions to 'InService' after at least one instance in the group passes the health check. If EC2 health checks are enabled instead, the load balancer remains in the 'Added' state.+-- If you specify a load balancer when creating the Auto Scaling group, the state of the load balancer is @InService@ . --+-- If you attach a load balancer to an existing Auto Scaling group, the initial state is @Adding@ . The state transitions to @Added@ after all instances in the group are registered with the load balancer. If ELB health checks are enabled for the load balancer, the state transitions to @InService@ after at least one instance in the group passes the health check. If EC2 health checks are enabled instead, the load balancer remains in the @Added@ state.+--+-- -- /See:/ 'loadBalancerState' smart constructor. data LoadBalancerState = LoadBalancerState'     { _lbsState            :: !(Maybe Text)@@ -1274,9 +1258,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lbsState'+-- * 'lbsState' - One of the following load balancer states:     * @Adding@ - The instances in the group are being registered with the load balancer.     * @Added@ - All instances in the group are registered with the load balancer.     * @InService@ - At least one instance in the group passed an ELB health check.     * @Removing@ - The instances in the group are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.     * @Removed@ - All instances in the group are deregistered from the load balancer. ----- * 'lbsLoadBalancerName'+-- * 'lbsLoadBalancerName' - The name of the load balancer. loadBalancerState     :: LoadBalancerState loadBalancerState =@@ -1285,18 +1269,7 @@     , _lbsLoadBalancerName = Nothing     } --- | One of the following load balancer states:------ -   'Adding' - The instances in the group are being registered with the load balancer.------ -   'Added' - All instances in the group are registered with the load balancer.------ -   'InService' - At least one instance in the group passed an ELB health check.------ -   'Removing' - The instances in the group are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.------ -   'Removed' - All instances in the group are deregistered from the load balancer.---+-- | One of the following load balancer states:     * @Adding@ - The instances in the group are being registered with the load balancer.     * @Added@ - All instances in the group are registered with the load balancer.     * @InService@ - At least one instance in the group passed an ELB health check.     * @Removing@ - The instances in the group are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.     * @Removed@ - All instances in the group are deregistered from the load balancer. lbsState :: Lens' LoadBalancerState (Maybe Text) lbsState = lens _lbsState (\ s a -> s{_lbsState = a}); @@ -1315,8 +1288,10 @@  -- | Describes the state of a target group. ----- If you attach a target group to an existing Auto Scaling group, the initial state is 'Adding'. The state transitions to 'Added' after all Auto Scaling instances are registered with the target group. If ELB health checks are enabled, the state transitions to 'InService' after at least one Auto Scaling instance passes the health check. If EC2 health checks are enabled instead, the target group remains in the 'Added' state. --+-- If you attach a target group to an existing Auto Scaling group, the initial state is @Adding@ . The state transitions to @Added@ after all Auto Scaling instances are registered with the target group. If ELB health checks are enabled, the state transitions to @InService@ after at least one Auto Scaling instance passes the health check. If EC2 health checks are enabled instead, the target group remains in the @Added@ state.+--+-- -- /See:/ 'loadBalancerTargetGroupState' smart constructor. data LoadBalancerTargetGroupState = LoadBalancerTargetGroupState'     { _lbtgsState                      :: !(Maybe Text)@@ -1327,9 +1302,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lbtgsState'+-- * 'lbtgsState' - The state of the target group.     * @Adding@ - The Auto Scaling instances are being registered with the target group.     * @Added@ - All Auto Scaling instances are registered with the target group.     * @InService@ - At least one Auto Scaling instance passed an ELB health check.     * @Removing@ - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.     * @Removed@ - All Auto Scaling instances are deregistered from the target group. ----- * 'lbtgsLoadBalancerTargetGroupARN'+-- * 'lbtgsLoadBalancerTargetGroupARN' - The Amazon Resource Name (ARN) of the target group. loadBalancerTargetGroupState     :: LoadBalancerTargetGroupState loadBalancerTargetGroupState =@@ -1338,18 +1313,7 @@     , _lbtgsLoadBalancerTargetGroupARN = Nothing     } --- | The state of the target group.------ -   'Adding' - The Auto Scaling instances are being registered with the target group.------ -   'Added' - All Auto Scaling instances are registered with the target group.------ -   'InService' - At least one Auto Scaling instance passed an ELB health check.------ -   'Removing' - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.------ -   'Removed' - All Auto Scaling instances are deregistered from the target group.---+-- | The state of the target group.     * @Adding@ - The Auto Scaling instances are being registered with the target group.     * @Added@ - All Auto Scaling instances are registered with the target group.     * @InService@ - At least one Auto Scaling instance passed an ELB health check.     * @Removing@ - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.     * @Removed@ - All Auto Scaling instances are deregistered from the target group. lbtgsState :: Lens' LoadBalancerTargetGroupState (Maybe Text) lbtgsState = lens _lbtgsState (\ s a -> s{_lbtgsState = a}); @@ -1369,6 +1333,8 @@  -- | Describes a metric. --+--+-- -- /See:/ 'metricCollectionType' smart constructor. newtype MetricCollectionType = MetricCollectionType'     { _mctMetric :: Maybe Text@@ -1378,7 +1344,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mctMetric'+-- * 'mctMetric' - One of the following metrics:     * @GroupMinSize@      * @GroupMaxSize@      * @GroupDesiredCapacity@      * @GroupInServiceInstances@      * @GroupPendingInstances@      * @GroupStandbyInstances@      * @GroupTerminatingInstances@      * @GroupTotalInstances@ metricCollectionType     :: MetricCollectionType metricCollectionType =@@ -1386,24 +1352,7 @@     { _mctMetric = Nothing     } --- | One of the following metrics:------ -   'GroupMinSize'------ -   'GroupMaxSize'------ -   'GroupDesiredCapacity'------ -   'GroupInServiceInstances'------ -   'GroupPendingInstances'------ -   'GroupStandbyInstances'------ -   'GroupTerminatingInstances'------ -   'GroupTotalInstances'---+-- | One of the following metrics:     * @GroupMinSize@      * @GroupMaxSize@      * @GroupDesiredCapacity@      * @GroupInServiceInstances@      * @GroupPendingInstances@      * @GroupStandbyInstances@      * @GroupTerminatingInstances@      * @GroupTotalInstances@ mctMetric :: Lens' MetricCollectionType (Maybe Text) mctMetric = lens _mctMetric (\ s a -> s{_mctMetric = a}); @@ -1417,6 +1366,8 @@  -- | Describes a granularity of a metric. --+--+-- -- /See:/ 'metricGranularityType' smart constructor. newtype MetricGranularityType = MetricGranularityType'     { _mgtGranularity :: Maybe Text@@ -1426,7 +1377,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mgtGranularity'+-- * 'mgtGranularity' - The granularity. The only valid value is @1Minute@ . metricGranularityType     :: MetricGranularityType metricGranularityType =@@ -1434,7 +1385,7 @@     { _mgtGranularity = Nothing     } --- | The granularity. The only valid value is '1Minute'.+-- | The granularity. The only valid value is @1Minute@ . mgtGranularity :: Lens' MetricGranularityType (Maybe Text) mgtGranularity = lens _mgtGranularity (\ s a -> s{_mgtGranularity = a}); @@ -1448,6 +1399,8 @@  -- | Describes a notification. --+--+-- -- /See:/ 'notificationConfiguration' smart constructor. data NotificationConfiguration = NotificationConfiguration'     { _ncTopicARN             :: !(Maybe Text)@@ -1459,11 +1412,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ncTopicARN'+-- * 'ncTopicARN' - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. ----- * 'ncAutoScalingGroupName'+-- * 'ncAutoScalingGroupName' - The name of the group. ----- * 'ncNotificationType'+-- * 'ncNotificationType' - One of the following event notification types:     * @autoscaling:EC2_INSTANCE_LAUNCH@      * @autoscaling:EC2_INSTANCE_LAUNCH_ERROR@      * @autoscaling:EC2_INSTANCE_TERMINATE@      * @autoscaling:EC2_INSTANCE_TERMINATE_ERROR@      * @autoscaling:TEST_NOTIFICATION@ notificationConfiguration     :: NotificationConfiguration notificationConfiguration =@@ -1481,18 +1434,7 @@ ncAutoScalingGroupName :: Lens' NotificationConfiguration (Maybe Text) ncAutoScalingGroupName = lens _ncAutoScalingGroupName (\ s a -> s{_ncAutoScalingGroupName = a}); --- | One of the following event notification types:------ -   'autoscaling:EC2_INSTANCE_LAUNCH'------ -   'autoscaling:EC2_INSTANCE_LAUNCH_ERROR'------ -   'autoscaling:EC2_INSTANCE_TERMINATE'------ -   'autoscaling:EC2_INSTANCE_TERMINATE_ERROR'------ -   'autoscaling:TEST_NOTIFICATION'---+-- | One of the following event notification types:     * @autoscaling:EC2_INSTANCE_LAUNCH@      * @autoscaling:EC2_INSTANCE_LAUNCH_ERROR@      * @autoscaling:EC2_INSTANCE_TERMINATE@      * @autoscaling:EC2_INSTANCE_TERMINATE_ERROR@      * @autoscaling:TEST_NOTIFICATION@ ncNotificationType :: Lens' NotificationConfiguration (Maybe Text) ncNotificationType = lens _ncNotificationType (\ s a -> s{_ncNotificationType = a}); @@ -1508,8 +1450,10 @@  -- | Describes a process type. ----- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SuspendResume.html#process-types Auto Scaling Processes> in the /Auto Scaling User Guide/. --+-- For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/as-suspend-resume-processes.html#process-types Auto Scaling Processes> in the /Auto Scaling User Guide/ .+--+-- -- /See:/ 'processType' smart constructor. newtype ProcessType = ProcessType'     { _ptProcessName :: Text@@ -1519,7 +1463,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ptProcessName'+-- * 'ptProcessName' - One of the following processes:     * @Launch@      * @Terminate@      * @AddToLoadBalancer@      * @AlarmNotification@      * @AZRebalance@      * @HealthCheck@      * @ReplaceUnhealthy@      * @ScheduledActions@ processType     :: Text -- ^ 'ptProcessName'     -> ProcessType@@ -1528,24 +1472,7 @@     { _ptProcessName = pProcessName_     } --- | One of the following processes:------ -   'Launch'------ -   'Terminate'------ -   'AddToLoadBalancer'------ -   'AlarmNotification'------ -   'AZRebalance'------ -   'HealthCheck'------ -   'ReplaceUnhealthy'------ -   'ScheduledActions'---+-- | One of the following processes:     * @Launch@      * @Terminate@      * @AddToLoadBalancer@      * @AlarmNotification@      * @AZRebalance@      * @HealthCheck@      * @ReplaceUnhealthy@      * @ScheduledActions@ ptProcessName :: Lens' ProcessType Text ptProcessName = lens _ptProcessName (\ s a -> s{_ptProcessName = a}); @@ -1558,6 +1485,8 @@  -- | Describes a scaling policy. --+--+-- -- /See:/ 'scalingPolicy' smart constructor. data ScalingPolicy = ScalingPolicy'     { _sMinAdjustmentStep       :: !(Maybe Int)@@ -1579,31 +1508,31 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sMinAdjustmentStep'+-- * 'sMinAdjustmentStep' - Available for backward compatibility. Use @MinAdjustmentMagnitude@ instead. ----- * 'sEstimatedInstanceWarmup'+-- * 'sEstimatedInstanceWarmup' - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. ----- * 'sPolicyName'+-- * 'sPolicyName' - The name of the scaling policy. ----- * 'sPolicyType'+-- * 'sPolicyType' - The policy type. Valid values are @SimpleScaling@ and @StepScaling@ . ----- * 'sStepAdjustments'+-- * 'sStepAdjustments' - A set of adjustments that enable you to scale based on the size of the alarm breach. ----- * 'sAdjustmentType'+-- * 'sAdjustmentType' - The adjustment type, which specifies how @ScalingAdjustment@ is interpreted. Valid values are @ChangeInCapacity@ , @ExactCapacity@ , and @PercentChangeInCapacity@ . ----- * 'sAutoScalingGroupName'+-- * 'sAutoScalingGroupName' - The name of the Auto Scaling group associated with this scaling policy. ----- * 'sScalingAdjustment'+-- * 'sScalingAdjustment' - The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. ----- * 'sCooldown'+-- * 'sCooldown' - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. ----- * 'sPolicyARN'+-- * 'sPolicyARN' - The Amazon Resource Name (ARN) of the policy. ----- * 'sAlarms'+-- * 'sAlarms' - The CloudWatch alarms related to the policy. ----- * 'sMetricAggregationType'+-- * 'sMetricAggregationType' - The aggregation type for the CloudWatch metrics. Valid values are @Minimum@ , @Maximum@ , and @Average@ . ----- * 'sMinAdjustmentMagnitude'+-- * 'sMinAdjustmentMagnitude' - The minimum number of instances to scale. If the value of @AdjustmentType@ is @PercentChangeInCapacity@ , the scaling policy changes the @DesiredCapacity@ of the Auto Scaling group by at least this many instances. Otherwise, the error is @ValidationError@ . scalingPolicy     :: ScalingPolicy scalingPolicy =@@ -1623,7 +1552,7 @@     , _sMinAdjustmentMagnitude = Nothing     } --- | Available for backward compatibility. Use 'MinAdjustmentMagnitude' instead.+-- | Available for backward compatibility. Use @MinAdjustmentMagnitude@ instead. sMinAdjustmentStep :: Lens' ScalingPolicy (Maybe Int) sMinAdjustmentStep = lens _sMinAdjustmentStep (\ s a -> s{_sMinAdjustmentStep = a}); @@ -1635,7 +1564,7 @@ sPolicyName :: Lens' ScalingPolicy (Maybe Text) sPolicyName = lens _sPolicyName (\ s a -> s{_sPolicyName = a}); --- | The policy type. Valid values are 'SimpleScaling' and 'StepScaling'.+-- | The policy type. Valid values are @SimpleScaling@ and @StepScaling@ . sPolicyType :: Lens' ScalingPolicy (Maybe Text) sPolicyType = lens _sPolicyType (\ s a -> s{_sPolicyType = a}); @@ -1643,7 +1572,7 @@ sStepAdjustments :: Lens' ScalingPolicy [StepAdjustment] sStepAdjustments = lens _sStepAdjustments (\ s a -> s{_sStepAdjustments = a}) . _Default . _Coerce; --- | The adjustment type, which specifies how 'ScalingAdjustment' is interpreted. Valid values are 'ChangeInCapacity', 'ExactCapacity', and 'PercentChangeInCapacity'.+-- | The adjustment type, which specifies how @ScalingAdjustment@ is interpreted. Valid values are @ChangeInCapacity@ , @ExactCapacity@ , and @PercentChangeInCapacity@ . sAdjustmentType :: Lens' ScalingPolicy (Maybe Text) sAdjustmentType = lens _sAdjustmentType (\ s a -> s{_sAdjustmentType = a}); @@ -1667,11 +1596,11 @@ sAlarms :: Lens' ScalingPolicy [Alarm] sAlarms = lens _sAlarms (\ s a -> s{_sAlarms = a}) . _Default . _Coerce; --- | The aggregation type for the CloudWatch metrics. Valid values are 'Minimum', 'Maximum', and 'Average'.+-- | The aggregation type for the CloudWatch metrics. Valid values are @Minimum@ , @Maximum@ , and @Average@ . sMetricAggregationType :: Lens' ScalingPolicy (Maybe Text) sMetricAggregationType = lens _sMetricAggregationType (\ s a -> s{_sMetricAggregationType = a}); --- | The minimum number of instances to scale. If the value of 'AdjustmentType' is 'PercentChangeInCapacity', the scaling policy changes the 'DesiredCapacity' of the Auto Scaling group by at least this many instances. Otherwise, the error is 'ValidationError'.+-- | The minimum number of instances to scale. If the value of @AdjustmentType@ is @PercentChangeInCapacity@ , the scaling policy changes the @DesiredCapacity@ of the Auto Scaling group by at least this many instances. Otherwise, the error is @ValidationError@ . sMinAdjustmentMagnitude :: Lens' ScalingPolicy (Maybe Int) sMinAdjustmentMagnitude = lens _sMinAdjustmentMagnitude (\ s a -> s{_sMinAdjustmentMagnitude = a}); @@ -1702,6 +1631,8 @@  -- | Contains the parameters for SuspendProcesses and ResumeProcesses. --+--+-- -- /See:/ 'scalingProcessQuery' smart constructor. data ScalingProcessQuery = ScalingProcessQuery'     { _spqScalingProcesses     :: !(Maybe [Text])@@ -1712,9 +1643,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'spqScalingProcesses'+-- * 'spqScalingProcesses' - One or more of the following processes. If you omit this parameter, all processes are specified.     * @Launch@      * @Terminate@      * @HealthCheck@      * @ReplaceUnhealthy@      * @AZRebalance@      * @AlarmNotification@      * @ScheduledActions@      * @AddToLoadBalancer@ ----- * 'spqAutoScalingGroupName'+-- * 'spqAutoScalingGroupName' - The name or Amazon Resource Name (ARN) of the Auto Scaling group. scalingProcessQuery     :: Text -- ^ 'spqAutoScalingGroupName'     -> ScalingProcessQuery@@ -1724,24 +1655,7 @@     , _spqAutoScalingGroupName = pAutoScalingGroupName_     } --- | One or more of the following processes. If you omit this parameter, all processes are specified.------ -   'Launch'------ -   'Terminate'------ -   'HealthCheck'------ -   'ReplaceUnhealthy'------ -   'AZRebalance'------ -   'AlarmNotification'------ -   'ScheduledActions'------ -   'AddToLoadBalancer'---+-- | One or more of the following processes. If you omit this parameter, all processes are specified.     * @Launch@      * @Terminate@      * @HealthCheck@      * @ReplaceUnhealthy@      * @AZRebalance@      * @AlarmNotification@      * @ScheduledActions@      * @AddToLoadBalancer@ spqScalingProcesses :: Lens' ScalingProcessQuery [Text] spqScalingProcesses = lens _spqScalingProcesses (\ s a -> s{_spqScalingProcesses = a}) . _Default . _Coerce; @@ -1763,6 +1677,8 @@  -- | Describes a scheduled update to an Auto Scaling group. --+--+-- -- /See:/ 'scheduledUpdateGroupAction' smart constructor. data ScheduledUpdateGroupAction = ScheduledUpdateGroupAction'     { _sugaScheduledActionARN   :: !(Maybe Text)@@ -1781,25 +1697,25 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sugaScheduledActionARN'+-- * 'sugaScheduledActionARN' - The Amazon Resource Name (ARN) of the scheduled action. ----- * 'sugaStartTime'+-- * 'sugaStartTime' - The date and time that the action is scheduled to begin. This date and time can be up to one month in the future. When @StartTime@ and @EndTime@ are specified with @Recurrence@ , they form the boundaries of when the recurring action will start and stop. ----- * 'sugaTime'+-- * 'sugaTime' - This parameter is deprecated. ----- * 'sugaScheduledActionName'+-- * 'sugaScheduledActionName' - The name of the scheduled action. ----- * 'sugaMaxSize'+-- * 'sugaMaxSize' - The maximum size of the group. ----- * 'sugaRecurrence'+-- * 'sugaRecurrence' - The recurring schedule for the action. ----- * 'sugaDesiredCapacity'+-- * 'sugaDesiredCapacity' - The number of instances you prefer to maintain in the group. ----- * 'sugaMinSize'+-- * 'sugaMinSize' - The minimum size of the group. ----- * 'sugaAutoScalingGroupName'+-- * 'sugaAutoScalingGroupName' - The name of the group. ----- * 'sugaEndTime'+-- * 'sugaEndTime' - The date and time that the action is scheduled to end. This date and time can be up to one month in the future. scheduledUpdateGroupAction     :: ScheduledUpdateGroupAction scheduledUpdateGroupAction =@@ -1820,9 +1736,7 @@ sugaScheduledActionARN :: Lens' ScheduledUpdateGroupAction (Maybe Text) sugaScheduledActionARN = lens _sugaScheduledActionARN (\ s a -> s{_sugaScheduledActionARN = a}); --- | The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.------ When 'StartTime' and 'EndTime' are specified with 'Recurrence', they form the boundaries of when the recurring action will start and stop.+-- | The date and time that the action is scheduled to begin. This date and time can be up to one month in the future. When @StartTime@ and @EndTime@ are specified with @Recurrence@ , they form the boundaries of when the recurring action will start and stop. sugaStartTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) sugaStartTime = lens _sugaStartTime (\ s a -> s{_sugaStartTime = a}) . mapping _Time; @@ -1875,25 +1789,30 @@  instance NFData ScheduledUpdateGroupAction --- | Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you\'ve defined for the alarm.+-- | Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm. --+-- -- For the following examples, suppose that you have an alarm with a breach threshold of 50: ----- -   If you want the adjustment to be triggered when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.+--     * If you want the adjustment to be triggered when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10. ----- -   If you want the adjustment to be triggered when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0.+--     * If you want the adjustment to be triggered when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0. --+--+-- -- There are a few rules for the step adjustments for your step policy: ----- -   The ranges of your step adjustments can\'t overlap or have a gap.+--     * The ranges of your step adjustments can't overlap or have a gap. ----- -   At most one step adjustment can have a null lower bound. If one step adjustment has a negative lower bound, then there must be a step adjustment with a null lower bound.+--     * At most one step adjustment can have a null lower bound. If one step adjustment has a negative lower bound, then there must be a step adjustment with a null lower bound. ----- -   At most one step adjustment can have a null upper bound. If one step adjustment has a positive upper bound, then there must be a step adjustment with a null upper bound.+--     * At most one step adjustment can have a null upper bound. If one step adjustment has a positive upper bound, then there must be a step adjustment with a null upper bound. ----- -   The upper and lower bound can\'t be null in the same step adjustment.+--     * The upper and lower bound can't be null in the same step adjustment. -- --+--+-- -- /See:/ 'stepAdjustment' smart constructor. data StepAdjustment = StepAdjustment'     { _saMetricIntervalLowerBound :: !(Maybe Double)@@ -1905,11 +1824,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'saMetricIntervalLowerBound'+-- * 'saMetricIntervalLowerBound' - The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity. ----- * 'saMetricIntervalUpperBound'+-- * 'saMetricIntervalUpperBound' - The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity. The upper bound must be greater than the lower bound. ----- * 'saScalingAdjustment'+-- * 'saScalingAdjustment' - The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. stepAdjustment     :: Int -- ^ 'saScalingAdjustment'     -> StepAdjustment@@ -1924,9 +1843,7 @@ saMetricIntervalLowerBound :: Lens' StepAdjustment (Maybe Double) saMetricIntervalLowerBound = lens _saMetricIntervalLowerBound (\ s a -> s{_saMetricIntervalLowerBound = a}); --- | The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.------ The upper bound must be greater than the lower bound.+-- | The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity. The upper bound must be greater than the lower bound. saMetricIntervalUpperBound :: Lens' StepAdjustment (Maybe Double) saMetricIntervalUpperBound = lens _saMetricIntervalUpperBound (\ s a -> s{_saMetricIntervalUpperBound = a}); @@ -1954,8 +1871,10 @@                  _saMetricIntervalUpperBound,                "ScalingAdjustment" =: _saScalingAdjustment] --- | Describes an Auto Scaling process that has been suspended. For more information, see < ProcessType>.+-- | Describes an Auto Scaling process that has been suspended. For more information, see 'ProcessType' . --+--+-- -- /See:/ 'suspendedProcess' smart constructor. data SuspendedProcess = SuspendedProcess'     { _spProcessName      :: !(Maybe Text)@@ -1966,9 +1885,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'spProcessName'+-- * 'spProcessName' - The name of the suspended process. ----- * 'spSuspensionReason'+-- * 'spSuspensionReason' - The reason that the process was suspended. suspendedProcess     :: SuspendedProcess suspendedProcess =@@ -1996,6 +1915,8 @@  -- | Describes a tag for an Auto Scaling group. --+--+-- -- /See:/ 'tag' smart constructor. data Tag = Tag'     { _tagKey               :: !Text@@ -2009,15 +1930,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tagKey'+-- * 'tagKey' - The tag key. ----- * 'tagResourceId'+-- * 'tagResourceId' - The name of the group. ----- * 'tagResourceType'+-- * 'tagResourceType' - The type of resource. The only supported value is @auto-scaling-group@ . ----- * 'tagPropagateAtLaunch'+-- * 'tagPropagateAtLaunch' - Determines whether the tag is added to new instances as they are launched in the group. ----- * 'tagValue'+-- * 'tagValue' - The tag value. tag     :: Text -- ^ 'tagKey'     -> Text -- ^ 'tagResourceId'@@ -2042,7 +1963,7 @@ tagResourceId :: Lens' Tag Text tagResourceId = lens _tagResourceId (\ s a -> s{_tagResourceId = a}); --- | The type of resource. The only supported value is 'auto-scaling-group'.+-- | The type of resource. The only supported value is @auto-scaling-group@ . tagResourceType :: Lens' Tag Text tagResourceType = lens _tagResourceType (\ s a -> s{_tagResourceType = a}); @@ -2068,6 +1989,8 @@  -- | Describes a tag for an Auto Scaling group. --+--+-- -- /See:/ 'tagDescription' smart constructor. data TagDescription = TagDescription'     { _tdResourceId        :: !Text@@ -2081,15 +2004,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tdResourceId'+-- * 'tdResourceId' - The name of the group. ----- * 'tdResourceType'+-- * 'tdResourceType' - The type of resource. The only supported value is @auto-scaling-group@ . ----- * 'tdKey'+-- * 'tdKey' - The tag key. ----- * 'tdPropagateAtLaunch'+-- * 'tdPropagateAtLaunch' - Determines whether the tag is added to new instances as they are launched in the group. ----- * 'tdValue'+-- * 'tdValue' - The tag value. tagDescription     :: Text -- ^ 'tdResourceId'     -> Text -- ^ 'tdResourceType'@@ -2110,7 +2033,7 @@ tdResourceId :: Lens' TagDescription Text tdResourceId = lens _tdResourceId (\ s a -> s{_tdResourceId = a}); --- | The type of resource. The only supported value is 'auto-scaling-group'.+-- | The type of resource. The only supported value is @auto-scaling-group@ . tdResourceType :: Lens' TagDescription Text tdResourceType = lens _tdResourceType (\ s a -> s{_tdResourceType = a}); 
gen/Network/AWS/AutoScaling/UpdateAutoScalingGroup.hs view
@@ -20,18 +20,21 @@ -- -- Updates the configuration for the specified Auto Scaling group. ----- To update an Auto Scaling group with a launch configuration with 'InstanceMonitoring' set to 'False', you must first disable the collection of group metrics. Otherwise, you will get an error. If you have previously enabled the collection of group metrics, you can disable it using < DisableMetricsCollection>. ----- The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren\'t affected.+-- To update an Auto Scaling group with a launch configuration with @InstanceMonitoring@ set to @False@ , you must first disable the collection of group metrics. Otherwise, you will get an error. If you have previously enabled the collection of group metrics, you can disable it using 'DisableMetricsCollection' . --+-- The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren't affected.+-- -- Note the following: ----- -   If you specify a new value for 'MinSize' without specifying a value for 'DesiredCapacity', and the new 'MinSize' is larger than the current size of the group, we implicitly call < SetDesiredCapacity> to set the size of the group to the new value of 'MinSize'.+--     * If you specify a new value for @MinSize@ without specifying a value for @DesiredCapacity@ , and the new @MinSize@ is larger than the current size of the group, we implicitly call 'SetDesiredCapacity' to set the size of the group to the new value of @MinSize@ . ----- -   If you specify a new value for 'MaxSize' without specifying a value for 'DesiredCapacity', and the new 'MaxSize' is smaller than the current size of the group, we implicitly call < SetDesiredCapacity> to set the size of the group to the new value of 'MaxSize'.+--     * If you specify a new value for @MaxSize@ without specifying a value for @DesiredCapacity@ , and the new @MaxSize@ is smaller than the current size of the group, we implicitly call 'SetDesiredCapacity' to set the size of the group to the new value of @MaxSize@ . ----- -   All other optional parameters are left unchanged if not specified.+--     * All other optional parameters are left unchanged if not specified. --+--+-- module Network.AWS.AutoScaling.UpdateAutoScalingGroup     (     -- * Creating a Request@@ -66,6 +69,8 @@  -- | Contains the parameters for UpdateAutoScalingGroup. --+--+-- -- /See:/ 'updateAutoScalingGroup' smart constructor. data UpdateAutoScalingGroup = UpdateAutoScalingGroup'     { _uasgTerminationPolicies              :: !(Maybe [Text])@@ -87,31 +92,31 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uasgTerminationPolicies'+-- * 'uasgTerminationPolicies' - A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-termination.html Controlling Which Instances Auto Scaling Terminates During Scale In> in the /Auto Scaling User Guide/ . ----- * 'uasgHealthCheckGracePeriod'+-- * 'uasgHealthCheckGracePeriod' - The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default is 0. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/healthcheck.html Health Checks> in the /Auto Scaling User Guide/ . ----- * 'uasgNewInstancesProtectedFromScaleIn'+-- * 'uasgNewInstancesProtectedFromScaleIn' - Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in. ----- * 'uasgVPCZoneIdentifier'+-- * 'uasgVPCZoneIdentifier' - The ID of the subnet, if you are launching into a VPC. You can specify several subnets in a comma-separated list. When you specify @VPCZoneIdentifier@ with @AvailabilityZones@ , ensure that the subnets' Availability Zones match the values you specify for @AvailabilityZones@ . For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html Launching Auto Scaling Instances in a VPC> in the /Auto Scaling User Guide/ . ----- * 'uasgDefaultCooldown'+-- * 'uasgDefaultCooldown' - The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html Auto Scaling Cooldowns> in the /Auto Scaling User Guide/ . ----- * 'uasgMaxSize'+-- * 'uasgMaxSize' - The maximum size of the Auto Scaling group. ----- * 'uasgAvailabilityZones'+-- * 'uasgAvailabilityZones' - One or more Availability Zones for the group. ----- * 'uasgDesiredCapacity'+-- * 'uasgDesiredCapacity' - The number of EC2 instances that should be running in the Auto Scaling group. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. ----- * 'uasgMinSize'+-- * 'uasgMinSize' - The minimum size of the Auto Scaling group. ----- * 'uasgLaunchConfigurationName'+-- * 'uasgLaunchConfigurationName' - The name of the launch configuration. ----- * 'uasgHealthCheckType'+-- * 'uasgHealthCheckType' - The service to use for the health checks. The valid values are @EC2@ and @ELB@ . ----- * 'uasgPlacementGroup'+-- * 'uasgPlacementGroup' - The name of the placement group into which you'll launch your instances, if any. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement Groups> in the /Amazon Elastic Compute Cloud User Guide/ . ----- * 'uasgAutoScalingGroupName'+-- * 'uasgAutoScalingGroupName' - The name of the Auto Scaling group. updateAutoScalingGroup     :: Text -- ^ 'uasgAutoScalingGroupName'     -> UpdateAutoScalingGroup@@ -132,15 +137,11 @@     , _uasgAutoScalingGroupName = pAutoScalingGroupName_     } --- | A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingBehavior.InstanceTermination.html Controlling Which Instances Auto Scaling Terminates During Scale In> in the /Auto Scaling User Guide/.+-- | A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-termination.html Controlling Which Instances Auto Scaling Terminates During Scale In> in the /Auto Scaling User Guide/ . uasgTerminationPolicies :: Lens' UpdateAutoScalingGroup [Text] uasgTerminationPolicies = lens _uasgTerminationPolicies (\ s a -> s{_uasgTerminationPolicies = a}) . _Default . _Coerce; --- | The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default is 0.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/healthcheck.html Health Checks> in the /Auto Scaling User Guide/.+-- | The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default is 0. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/healthcheck.html Health Checks> in the /Auto Scaling User Guide/ . uasgHealthCheckGracePeriod :: Lens' UpdateAutoScalingGroup (Maybe Int) uasgHealthCheckGracePeriod = lens _uasgHealthCheckGracePeriod (\ s a -> s{_uasgHealthCheckGracePeriod = a}); @@ -148,17 +149,11 @@ uasgNewInstancesProtectedFromScaleIn :: Lens' UpdateAutoScalingGroup (Maybe Bool) uasgNewInstancesProtectedFromScaleIn = lens _uasgNewInstancesProtectedFromScaleIn (\ s a -> s{_uasgNewInstancesProtectedFromScaleIn = a}); --- | The ID of the subnet, if you are launching into a VPC. You can specify several subnets in a comma-separated list.------ When you specify 'VPCZoneIdentifier' with 'AvailabilityZones', ensure that the subnets\' Availability Zones match the values you specify for 'AvailabilityZones'.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/asg-in-vpc.html Launching Auto Scaling Instances in a VPC> in the /Auto Scaling User Guide/.+-- | The ID of the subnet, if you are launching into a VPC. You can specify several subnets in a comma-separated list. When you specify @VPCZoneIdentifier@ with @AvailabilityZones@ , ensure that the subnets' Availability Zones match the values you specify for @AvailabilityZones@ . For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html Launching Auto Scaling Instances in a VPC> in the /Auto Scaling User Guide/ . uasgVPCZoneIdentifier :: Lens' UpdateAutoScalingGroup (Maybe Text) uasgVPCZoneIdentifier = lens _uasgVPCZoneIdentifier (\ s a -> s{_uasgVPCZoneIdentifier = a}); --- | The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300.------ For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html Auto Scaling Cooldowns> in the /Auto Scaling User Guide/.+-- | The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300. For more information, see <http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html Auto Scaling Cooldowns> in the /Auto Scaling User Guide/ . uasgDefaultCooldown :: Lens' UpdateAutoScalingGroup (Maybe Int) uasgDefaultCooldown = lens _uasgDefaultCooldown (\ s a -> s{_uasgDefaultCooldown = a}); @@ -182,11 +177,11 @@ uasgLaunchConfigurationName :: Lens' UpdateAutoScalingGroup (Maybe Text) uasgLaunchConfigurationName = lens _uasgLaunchConfigurationName (\ s a -> s{_uasgLaunchConfigurationName = a}); --- | The service to use for the health checks. The valid values are 'EC2' and 'ELB'.+-- | The service to use for the health checks. The valid values are @EC2@ and @ELB@ . uasgHealthCheckType :: Lens' UpdateAutoScalingGroup (Maybe Text) uasgHealthCheckType = lens _uasgHealthCheckType (\ s a -> s{_uasgHealthCheckType = a}); --- | The name of the placement group into which you\'ll launch your instances, if any. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement Groups> in the /Amazon Elastic Compute Cloud User Guide/.+-- | The name of the placement group into which you'll launch your instances, if any. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement Groups> in the /Amazon Elastic Compute Cloud User Guide/ . uasgPlacementGroup :: Lens' UpdateAutoScalingGroup (Maybe Text) uasgPlacementGroup = lens _uasgPlacementGroup (\ s a -> s{_uasgPlacementGroup = a});