packages feed

amazonka-autoscaling 0.0.1 → 0.0.2

raw patch · 45 files changed

+797/−647 lines, 45 filesdep ~amazonka-corePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core

API changes (from Hackage documentation)

Files

README.md view
@@ -8,7 +8,14 @@  ## Description -Auto Scaling allows you to scale your Amazon EC2 capacity up or down automatically according to conditions you define. With Auto Scaling, you can ensure that the number of Amazon EC2 instances you’re using increases seamlessly during demand spikes to maintain performance, and decreases automatically during demand lulls to minimize costs. Auto Scaling is particularly well suited for applications that experience hourly, daily, or weekly variability in usage. Auto Scaling is enabled by Amazon CloudWatch and available at no additional charge beyond Amazon CloudWatch fees.+    Auto Scaling allows you to scale your Amazon EC2 capacity up or down+    automatically according to conditions you define. With Auto Scaling, you can+    ensure that the number of Amazon EC2 instances you’re using increases+    seamlessly during demand spikes to maintain performance, and decreases+    automatically during demand lulls to minimize costs. Auto Scaling is+    particularly well suited for applications that experience hourly, daily, or+    weekly variability in usage. Auto Scaling is enabled by Amazon CloudWatch and+    available at no additional charge beyond Amazon CloudWatch fees.  Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-autoscaling) and [AWS API Reference](http://docs.aws.amazon.com/AutoScaling/latest/APIReference/Welcome.html).
amazonka-autoscaling.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-autoscaling-version:               0.0.1+version:               0.0.2 synopsis:              Amazon Auto Scaling SDK. homepage:              https://github.com/brendanhay/amazonka license:               OtherLicense@@ -14,14 +14,13 @@  description:     Auto Scaling allows you to scale your Amazon EC2 capacity up or down-    automatically according to conditions you define. With Auto Scaling,-    you can ensure that the number of Amazon EC2 instances you’re using-    increases seamlessly during demand spikes to maintain performance, and-    decreases automatically during demand lulls to minimize costs. Auto-    Scaling is particularly well suited for applications that experience-    hourly, daily, or weekly variability in usage. Auto Scaling is enabled-    by Amazon CloudWatch and available at no additional charge beyond-    Amazon CloudWatch fees.+    automatically according to conditions you define. With Auto Scaling, you can+    ensure that the number of Amazon EC2 instances you’re using increases+    seamlessly during demand spikes to maintain performance, and decreases+    automatically during demand lulls to minimize costs. Auto Scaling is+    particularly well suited for applications that experience hourly, daily, or+    weekly variability in usage. Auto Scaling is enabled by Amazon CloudWatch and+    available at no additional charge beyond Amazon CloudWatch fees.     .     /See:/ <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/Welcome.html AWS API Reference>     .@@ -90,5 +89,5 @@     other-modules:      build-depends:-          amazonka-core == 0.0.1.*+          amazonka-core == 0.0.2.*         , base          >= 4.7     && < 5
gen/Network/AWS/AutoScaling.hs view
@@ -9,13 +9,13 @@ -- Portability : non-portable (GHC extensions)  -- | Auto Scaling allows you to scale your Amazon EC2 capacity up or down--- automatically according to conditions you define. With Auto Scaling, you--- can ensure that the number of Amazon EC2 instances you’re using increases+-- automatically according to conditions you define. With Auto Scaling, you can+-- ensure that the number of Amazon EC2 instances you’re using increases -- seamlessly during demand spikes to maintain performance, and decreases -- automatically during demand lulls to minimize costs. Auto Scaling is -- particularly well suited for applications that experience hourly, daily, or--- weekly variability in usage. Auto Scaling is enabled by Amazon CloudWatch--- and available at no additional charge beyond Amazon CloudWatch fees.+-- weekly variability in usage. Auto Scaling is enabled by Amazon CloudWatch and+-- available at no additional charge beyond Amazon CloudWatch fees. module Network.AWS.AutoScaling     ( module Network.AWS.AutoScaling.AttachInstances     , module Network.AWS.AutoScaling.CompleteLifecycleAction
gen/Network/AWS/AutoScaling/AttachInstances.hs view
@@ -20,9 +20,9 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Attaches one or more EC2 instances to the specified Auto Scaling group. For--- more information, see Attach Amazon EC2 Instances to Your Existing Auto--- Scaling Group in the Auto Scaling Developer Guide.+-- | Attaches one or more EC2 instances to the specified Auto Scaling group.+--+-- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/attach-instance-asg.html Attach Amazon EC2 Instances to Your Existing AutoScaling Group> in the /Auto Scaling Developer Guide/. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_AttachInstances.html> module Network.AWS.AutoScaling.AttachInstances
gen/Network/AWS/AutoScaling/CompleteLifecycleAction.hs view
@@ -21,16 +21,16 @@ -- Portability : non-portable (GHC extensions)  -- | Completes the lifecycle action for the associated token initiated under the--- given lifecycle hook with the specified result. This operation is a part of--- the basic sequence for adding a lifecycle hook to an Auto Scaling group:+-- given lifecycle hook with the specified result.+--+-- This operation is a part of the basic sequence for adding a lifecycle hook+-- to an Auto Scaling group:+-- -- Create a notification target. A target can be either an Amazon SQS queue or -- an Amazon SNS topic. Create an IAM role. This role allows Auto Scaling to--- publish lifecycle notifications to the designated SQS queue or SNS topic.--- Create the lifecycle hook. You can create a hook that acts when instances--- launch or when instances terminate. If necessary, record the lifecycle--- action heartbeat to keep the instance in a pending state. Complete the--- lifecycle action. For more information, see Auto Scaling Pending State and--- Auto Scaling Terminating State in the Auto Scaling Developer Guide.+-- publish lifecycle notifications to the designated SQS queue or SNS topic. Create the lifecycle hook. You can create a hook that acts when instances launch or when instances terminate.+-- If necessary, record the lifecycle action heartbeat to keep the instance in+-- a pending state.  Complete the lifecycle action.  For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingPendingState.html Auto Scaling Pending State> and <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingTerminatingState.html Auto Scaling Terminating State> in the /Auto Scaling Developer Guide/. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_CompleteLifecycleAction.html> module Network.AWS.AutoScaling.CompleteLifecycleAction@@ -92,17 +92,15 @@ 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 }) --- | 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.+-- | 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. claLifecycleActionToken :: Lens' CompleteLifecycleAction Text claLifecycleActionToken =     lens _claLifecycleActionToken (\s a -> s { _claLifecycleActionToken = a })
gen/Network/AWS/AutoScaling/CreateAutoScalingGroup.hs view
@@ -20,10 +20,11 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | 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+-- | 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--- these limits, see DescribeAccountLimits.+-- these limits, see 'DescribeAccountLimits'. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_CreateAutoScalingGroup.html> module Network.AWS.AutoScaling.CreateAutoScalingGroup@@ -135,78 +136,82 @@     , _casgTags                    = mempty     } --- | The name of the group. This name must be unique within the scope of your--- AWS account.+-- | The name of the group. This name must be unique within the scope of your AWS+-- account. casgAutoScalingGroupName :: Lens' CreateAutoScalingGroup Text casgAutoScalingGroupName =     lens _casgAutoScalingGroupName         (\s a -> s { _casgAutoScalingGroupName = a }) --- | One or more Availability Zones for the group. This parameter is optional--- if you specify subnets using the VPCZoneIdentifier parameter.+-- | One or more Availability Zones for the group. This parameter is optional if+-- you specify subnets using the 'VPCZoneIdentifier' parameter. casgAvailabilityZones :: Lens' CreateAutoScalingGroup (NonEmpty Text) casgAvailabilityZones =     lens _casgAvailabilityZones (\s a -> s { _casgAvailabilityZones = a })         . _List1  -- | The amount of time, in seconds, after a scaling activity completes before--- another scaling activity can start. If DefaultCooldown is not specified,--- the default value is 300. For more information, see Understanding Auto--- Scaling Cooldowns in the Auto Scaling Developer Guide.+-- another scaling activity can start.+--+-- If 'DefaultCooldown' is not specified, the default value is 300. For more+-- information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html Understanding Auto Scaling Cooldowns> in the /Auto ScalingDeveloper Guide/. casgDefaultCooldown :: Lens' CreateAutoScalingGroup (Maybe Int) casgDefaultCooldown =     lens _casgDefaultCooldown (\s a -> s { _casgDefaultCooldown = a }) --- | The number of EC2 instances that should be running in the group. This--- value 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.+-- | The number of EC2 instances that should be running in the group. This value+-- 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. casgDesiredCapacity :: Lens' CreateAutoScalingGroup (Maybe Int) casgDesiredCapacity =     lens _casgDesiredCapacity (\s a -> s { _casgDesiredCapacity = a }) --- | The amount of time, in seconds, after an EC2 instance comes into service--- that Auto Scaling starts checking its health. During this time, any--- health check failures for the instance are ignored. This parameter is--- required if you are adding an ELB health check. Frequently, new instances--- need to warm up, briefly, before they can pass a health check. To provide--- ample warm-up time, set the health check grace period of the group to--- match the expected startup period of your application. For more--- information, see Add an Elastic Load Balancing Health Check to Your Auto--- Scaling Group in the Auto Scaling Developer Guide.+-- | The amount of time, in seconds, after an EC2 instance comes into service that+-- Auto Scaling starts checking its health. During this time, any health check+-- failures for the instance are ignored.+--+-- This parameter is required if you are adding an 'ELB' health check.+-- Frequently, new instances need to warm up, briefly, before they can pass a+-- health check. To provide ample warm-up time, set the health check grace+-- period of the group to match the expected startup period of your application.+--+-- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-add-elb-healthcheck.html Add an Elastic Load Balancing Health Check to YourAuto Scaling Group> in the /Auto Scaling Developer Guide/. casgHealthCheckGracePeriod :: Lens' CreateAutoScalingGroup (Maybe Int) casgHealthCheckGracePeriod =     lens _casgHealthCheckGracePeriod         (\s a -> s { _casgHealthCheckGracePeriod = 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 Health--- Checks.+-- | 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>. casgHealthCheckType :: Lens' CreateAutoScalingGroup (Maybe Text) casgHealthCheckType =     lens _casgHealthCheckType (\s a -> s { _casgHealthCheckType = a })  -- | The ID of the EC2 instance used to create a launch configuration for the--- group. Alternatively, use the LaunchConfigurationName parameter to--- specify a launch configuration instead of an EC2 instance. When you--- specify an ID of an instance, Auto Scaling creates a new launch+-- group. Alternatively, use the 'LaunchConfigurationName' parameter to 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 Create an Auto--- Scaling Group Using an EC2 Instance ID in the Auto Scaling Developer--- Guide.+-- 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 InstanceID> in the /Auto Scaling Developer Guide/. casgInstanceId :: Lens' CreateAutoScalingGroup (Maybe Text) casgInstanceId = lens _casgInstanceId (\s a -> s { _casgInstanceId = a }) --- | The name of the launch configuration. Alternatively, use the InstanceId+-- | The name of the launch configuration. Alternatively, use the 'InstanceId' -- parameter to specify an EC2 instance instead of a launch configuration. casgLaunchConfigurationName :: Lens' CreateAutoScalingGroup (Maybe Text) casgLaunchConfigurationName =     lens _casgLaunchConfigurationName         (\s a -> s { _casgLaunchConfigurationName = a }) --- | One or more load balancers. For more information, see Load Balance Your--- Auto Scaling Group in the Auto Scaling Developer Guide.+-- | One or more load balancers.+--+-- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SetUpASLBApp.html Load Balance Your Auto Scaling Group> in the /AutoScaling Developer Guide/. casgLoadBalancerNames :: Lens' CreateAutoScalingGroup [Text] casgLoadBalancerNames =     lens _casgLoadBalancerNames (\s a -> s { _casgLoadBalancerNames = a })@@ -220,34 +225,38 @@ casgMinSize :: Lens' CreateAutoScalingGroup Int casgMinSize = lens _casgMinSize (\s a -> s { _casgMinSize = a }) --- | The name of the placement group into which you'll launch your instances,--- if any. For more information, see Placement Groups.+-- | 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>. casgPlacementGroup :: Lens' CreateAutoScalingGroup (Maybe Text) casgPlacementGroup =     lens _casgPlacementGroup (\s a -> s { _casgPlacementGroup = a }) --- | The tag to be created or updated. Each tag should be defined by its--- resource type, resource ID, key, value, and a propagate flag. Valid--- values: key=value, value=value, propagate=true or false. Value and--- propagate are optional parameters. For more information, see Add, Modify,--- or Remove Auto Scaling Group Tags in the Auto Scaling Developer Guide.+-- | The tag to be created or updated. Each tag should be defined by its resource+-- type, resource ID, key, value, and a propagate flag. Valid values: key=/value/,+-- value=/value/, propagate=/true/ or /false/. Value and propagate are optional+-- parameters.+--+-- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/ASTagging.html Add, Modify, or Remove Auto Scaling Group Tags> in+-- the /Auto Scaling Developer Guide/. casgTags :: Lens' CreateAutoScalingGroup [Tag] casgTags = lens _casgTags (\s a -> s { _casgTags = a }) . _List --- | 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 Choosing a Termination Policy for Your Auto--- Scaling Group in the Auto Scaling Developer 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/DeveloperGuide/us-termination-policy.html Choosing a Termination Policy for Your AutoScaling Group> in the /Auto Scaling Developer Guide/. casgTerminationPolicies :: Lens' CreateAutoScalingGroup [Text] casgTerminationPolicies =     lens _casgTerminationPolicies (\s a -> s { _casgTerminationPolicies = a })         . _List --- | 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 Auto Scaling and Amazon VPC in--- the Auto Scaling Developer 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/DeveloperGuide/autoscalingsubnets.html Auto Scaling and Amazon VPC> in the /Auto ScalingDeveloper Guide/. casgVPCZoneIdentifier :: Lens' CreateAutoScalingGroup (Maybe Text) casgVPCZoneIdentifier =     lens _casgVPCZoneIdentifier (\s a -> s { _casgVPCZoneIdentifier = a })
gen/Network/AWS/AutoScaling/CreateLaunchConfiguration.hs view
@@ -20,11 +20,12 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | 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 these limits, see--- DescribeAccountLimits.+-- | 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+-- these limits, see 'DescribeAccountLimits'.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_CreateLaunchConfiguration.html> module Network.AWS.AutoScaling.CreateLaunchConfiguration     (@@ -138,78 +139,76 @@     }  -- | 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 Auto Scaling and Amazon VPC in the Auto Scaling--- Developer Guide. If you specify a value for this parameter, be sure to--- specify at least one subnet using the VPCZoneIdentifier parameter 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--- Supported Platforms in the Amazon Elastic Compute Cloud User Guide.+-- Specifies whether to assign a public IP address to each instance. For more+-- information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/autoscalingsubnets.html Auto Scaling and Amazon VPC> in the /Auto Scaling DeveloperGuide/.+--+-- If you specify a value for this parameter, be sure to specify at least one+-- subnet using the /VPCZoneIdentifier/ parameter 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/AutoScaling/latest/DeveloperGuide//as-supported-platforms.html Supported Platforms> in the /Amazon Elastic ComputeCloud User Guide/. clcAssociatePublicIpAddress :: Lens' CreateLaunchConfiguration (Maybe Bool) clcAssociatePublicIpAddress =     lens _clcAssociatePublicIpAddress         (\s a -> s { _clcAssociatePublicIpAddress = a })  -- | One or more mappings that specify how block devices are exposed to the--- instance. For more information, see Block Device Mapping in the Amazon--- Elastic Compute Cloud User Guide.+-- instance. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html Block Device Mapping> in the /AmazonElastic Compute Cloud User Guide/. clcBlockDeviceMappings :: Lens' CreateLaunchConfiguration [BlockDeviceMapping] clcBlockDeviceMappings =     lens _clcBlockDeviceMappings (\s a -> s { _clcBlockDeviceMappings = a })         . _List --- | 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 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 name or the Amazon Resource Name (ARN) of the instance profile--- associated with the IAM role for the instance. Amazon EC2 instances--- launched with an IAM role will automatically have AWS security--- credentials available. You can use IAM roles with Auto Scaling to+-- | The name or the Amazon Resource Name (ARN) of the instance profile associated+-- with the IAM role for the instance.+--+-- Amazon 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 Amazon EC2 instances to--- securely access other AWS resources. For more information, see Launch--- Auto Scaling Instances with an IAM Role in the Auto Scaling Developer--- Guide.+-- securely access other AWS resources. For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/us-iam-role.html Launch AutoScaling Instances with an IAM Role> in the /Auto Scaling Developer 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 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 CloudUser Guide/. clcImageId :: Lens' CreateLaunchConfiguration (Maybe Text) clcImageId = lens _clcImageId (\s a -> s { _clcImageId = a }) --- | The ID of the EC2 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--- Create a Launch Configuration Using an EC2 Instance in the Auto Scaling--- Developer Guide.+-- | The ID of the EC2 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 Developer Guide/. clcInstanceId :: Lens' CreateLaunchConfiguration (Maybe Text) clcInstanceId = lens _clcInstanceId (\s a -> s { _clcInstanceId = a }) --- | Enables detailed monitoring if it is disabled. Detailed monitoring is--- enabled by default. When detailed monitoring is enabled, Amazon--- Cloudwatch generates metrics every minute and your account is charged a--- fee. When you disable detailed monitoring, by specifying False,--- Cloudwatch generates metrics every 5 minutes. For more information, see--- Monitor Your Auto Scaling Instances in the Auto Scaling Developer Guide.+-- | Enables detailed monitoring if it is disabled. Detailed monitoring is enabled+-- by default.+--+-- When detailed monitoring is enabled, Amazon Cloudwatch generates metrics+-- every minute and your account is charged a fee. When you disable detailed+-- monitoring, by specifying 'False', Cloudwatch generates metrics every 5+-- minutes. For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-instance-monitoring.html Monitor Your Auto Scaling Instances> in the /Auto Scaling Developer Guide/. clcInstanceMonitoring :: Lens' CreateLaunchConfiguration (Maybe InstanceMonitoring) clcInstanceMonitoring =     lens _clcInstanceMonitoring (\s a -> s { _clcInstanceMonitoring = a })  -- | The instance type of the Amazon EC2 instance. For information about--- available Amazon EC2 instance types, see Available Instance Types in the--- Amazon Elastic Cloud Compute User Guide.+-- available Amazon EC2 instance types, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes  Available Instance Types> in the /Amazon Elastic Cloud Compute User Guide./ clcInstanceType :: Lens' CreateLaunchConfiguration (Maybe Text) clcInstanceType = lens _clcInstanceType (\s a -> s { _clcInstanceType = a }) @@ -217,8 +216,8 @@ clcKernelId :: Lens' CreateLaunchConfiguration (Maybe Text) clcKernelId = lens _clcKernelId (\s a -> s { _clcKernelId = a }) --- | The name of the key pair. For more information, see 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 }) @@ -229,15 +228,19 @@     lens _clcLaunchConfigurationName         (\s a -> s { _clcLaunchConfigurationName = a }) --- | The tenancy of the instance. An instance with a tenancy of dedicated runs--- on single-tenant hardware and can only be launched in a VPC. You must set--- the value of this parameter to dedicated if want to launch Dedicated--- Instances in a shared tenancy VPC (VPC with instance placement tenancy--- attribute set to default). If you specify a value for this parameter, be--- sure to specify at least one VPC subnet using the VPCZoneIdentifier--- parameter when you create your group. For more information, see Auto--- Scaling and Amazon VPC in the Auto Scaling Developer 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 in a VPC.+--+-- You must set the value of this parameter to 'dedicated' if want to launch+-- Dedicated Instances in a shared tenancy VPC (VPC with instance placement+-- tenancy attribute set to 'default').+--+-- If you specify a value for this parameter, be sure to specify at least one+-- VPC subnet using the /VPCZoneIdentifier/ parameter when you create your group.+--+-- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/autoscalingsubnets.html Auto Scaling and Amazon VPC> in the /Auto ScalingDeveloper Guide/.+--+-- Valid values: 'default' | 'dedicated' clcPlacementTenancy :: Lens' CreateLaunchConfiguration (Maybe Text) clcPlacementTenancy =     lens _clcPlacementTenancy (\s a -> s { _clcPlacementTenancy = a })@@ -246,31 +249,30 @@ clcRamdiskId :: Lens' CreateLaunchConfiguration (Maybe Text) clcRamdiskId = lens _clcRamdiskId (\s a -> s { _clcRamdiskId = 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 Amazon EC2 Security Groups in--- the Amazon Elastic Compute Cloud User Guide. If your instances are--- launched in a VPC, specify security group IDs. For more information, see--- 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 /AmazonElastic Compute Cloud User Guide/.+--+-- If your instances are launched in 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 VirtualPrivate Cloud User Guide/. clcSecurityGroups :: Lens' CreateLaunchConfiguration [Text] clcSecurityGroups =     lens _clcSecurityGroups (\s a -> s { _clcSecurityGroups = a })         . _List --- | 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--- Launch Spot Instances in Your Auto Scaling Group in the Auto Scaling--- Developer 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/DeveloperGuide/US-SpotInstances.html Launch SpotInstances in Your Auto Scaling Group> in the /Auto Scaling Developer Guide/. clcSpotPrice :: Lens' CreateLaunchConfiguration (Maybe Text) clcSpotPrice = lens _clcSpotPrice (\s a -> s { _clcSpotPrice = a })  -- | The user data to make available to the launched EC2 instances. For more--- information, see Instance Metadata and User Data in the Amazon Elastic--- Compute Cloud User Guide. At this time, launch configurations don't--- support compressed (zipped) user data files.+-- information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html Instance Metadata and User Data> in the /Amazon ElasticCompute Cloud User Guide/.+--+-- At this time, launch configurations don't support compressed (zipped) user+-- data files. clcUserData :: Lens' CreateLaunchConfiguration (Maybe Text) clcUserData = lens _clcUserData (\s a -> s { _clcUserData = a }) 
gen/Network/AWS/AutoScaling/CreateOrUpdateTags.hs view
@@ -20,13 +20,13 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Creates or updates tags for the specified Auto Scaling group. A tag's--- definition is composed of a resource ID, resource type, key and value, and--- the propagate flag. Value and the propagate flag are optional parameters.--- See the Request Parameters for more information. For more information, see--- Add, Modify, or Remove Auto Scaling Group Tags in the Auto Scaling--- Developer Guide.+-- | Creates or updates tags for the specified Auto Scaling group. --+-- A tag's definition is composed of a resource ID, resource type, key and+-- value, and the propagate flag. Value and the propagate flag are optional+-- parameters. See the Request Parameters for more information.  For more+-- information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/ASTagging.html Add, Modify, or Remove Auto Scaling Group Tags> in the /AutoScaling Developer Guide/.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_CreateOrUpdateTags.html> module Network.AWS.AutoScaling.CreateOrUpdateTags     (@@ -69,20 +69,22 @@     { _coutTags = mempty     } --- | The tag to be created or updated. Each tag should be defined by its--- resource type, resource ID, key, value, and a propagate flag. The--- resource type and resource ID identify the type and name of resource for--- which the tag is created. Currently, auto-scaling-group is the only--- supported resource type. The valid value for the resource ID is--- groupname. The PropagateAtLaunch flag defines whether the new tag will be--- applied to instances launched by the group. Valid values are true or--- false. However, instances that are already running will not get the new--- or updated tag. Likewise, when you modify a tag, the updated version will--- be applied only to new instances launched by the group after the change.--- Running instances that had the previous version of the tag will continue--- to have the older tag. When you create a tag and a tag of the same name--- already exists, the operation overwrites the previous tag definition, but--- you will not get an error message.+-- | The tag to be created or updated. Each tag should be defined by its resource+-- type, resource ID, key, value, and a propagate flag. The resource type and+-- resource ID identify the type and name of resource for which the tag is+-- created. Currently, 'auto-scaling-group' is the only supported resource type.+-- The valid value for the resource ID is /groupname/.+--+-- The 'PropagateAtLaunch' flag defines whether the new tag will be applied to+-- instances launched by the group. Valid values are 'true' or 'false'. However,+-- instances that are already running will not get the new or updated tag.+-- Likewise, when you modify a tag, the updated version will be applied only to+-- new instances launched by the group after the change. Running instances that+-- had the previous version of the tag will continue to have the older tag.+--+-- When you create a tag and a tag of the same name already exists, the+-- operation overwrites the previous tag definition, but you will not get an+-- error message. coutTags :: Lens' CreateOrUpdateTags [Tag] coutTags = lens _coutTags (\s a -> s { _coutTags = a }) . _List 
gen/Network/AWS/AutoScaling/DeleteAutoScalingGroup.hs view
@@ -20,11 +20,12 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Deletes the specified Auto Scaling group. The group must have no instances--- and no scaling activities in progress. To remove all instances before--- calling DeleteAutoScalingGroup, you can call UpdateAutoScalingGroup to set--- the minimum and maximum size of the AutoScalingGroup to zero.+-- | Deletes the specified Auto Scaling group. --+-- The group must have no instances and no scaling activities in progress.+--+-- To remove all instances before calling 'DeleteAutoScalingGroup', you can call 'UpdateAutoScalingGroup' to set the minimum and maximum size of the AutoScalingGroup to zero.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DeleteAutoScalingGroup.html> module Network.AWS.AutoScaling.DeleteAutoScalingGroup     (@@ -73,10 +74,9 @@     lens _dasgAutoScalingGroupName         (\s a -> s { _dasgAutoScalingGroupName = a }) --- | 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.+-- | 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. dasgForceDelete :: Lens' DeleteAutoScalingGroup (Maybe Bool) dasgForceDelete = lens _dasgForceDelete (\s a -> s { _dasgForceDelete = a }) 
gen/Network/AWS/AutoScaling/DeleteLaunchConfiguration.hs view
@@ -20,9 +20,10 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | 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.+-- | 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. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DeleteLaunchConfiguration.html> module Network.AWS.AutoScaling.DeleteLaunchConfiguration
gen/Network/AWS/AutoScaling/DeleteLifecycleHook.hs view
@@ -20,9 +20,9 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Deletes the specified lifecycle hook. If there are any outstanding--- lifecycle actions, they are completed first (ABANDON for launching--- instances, CONTINUE for terminating instances).+-- | Deletes the specified lifecycle hook.+--+-- If there are any outstanding lifecycle actions, they are completed first ('ABANDON' for launching instances, 'CONTINUE' for terminating instances). -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DeleteLifecycleHook.html> module Network.AWS.AutoScaling.DeleteLifecycleHook
gen/Network/AWS/AutoScaling/DeleteTags.hs view
@@ -64,10 +64,9 @@     { _dtTags = mempty     } --- | Each tag should be defined by its resource type, resource ID, key, value,--- and a propagate flag. Valid values are: Resource type =--- auto-scaling-group, Resource ID = AutoScalingGroupName, key=value,--- value=value, propagate=true or false.+-- | Each tag should be defined by its resource type, resource ID, key, value, and+-- a propagate flag. Valid values are: Resource type = /auto-scaling-group/,+-- Resource ID = /AutoScalingGroupName/, key=/value/, value=/value/, propagate=/true/ or /false/. dtTags :: Lens' DeleteTags [Tag] dtTags = lens _dtTags (\s a -> s { _dtTags = a }) . _List 
gen/Network/AWS/AutoScaling/DescribeAccountLimits.hs view
@@ -21,9 +21,9 @@ -- Portability : non-portable (GHC extensions)  -- | Describes the current Auto Scaling resource limits for your AWS account.--- For information about requesting an increase in these limits, see AWS--- Service Limits. --+-- For information about requesting an increase in these limits, see <http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html AWSService Limits>.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribeAccountLimits.html> module Network.AWS.AutoScaling.DescribeAccountLimits     (@@ -72,15 +72,15 @@     , _dalrMaxNumberOfLaunchConfigurations = Nothing     } --- | The maximum number of groups allowed for your AWS account. The default--- limit is 20 per region.+-- | The maximum number of groups allowed for your AWS account. The default limit+-- is 20 per region. dalrMaxNumberOfAutoScalingGroups :: Lens' DescribeAccountLimitsResponse (Maybe Int) dalrMaxNumberOfAutoScalingGroups =     lens _dalrMaxNumberOfAutoScalingGroups         (\s a -> s { _dalrMaxNumberOfAutoScalingGroups = a }) --- | The maximum number of launch configurations allowed for your AWS account.--- The default limit is 100 per region.+-- | The maximum number of launch configurations allowed for your AWS account. The+-- default limit is 100 per region. dalrMaxNumberOfLaunchConfigurations :: Lens' DescribeAccountLimitsResponse (Maybe Int) dalrMaxNumberOfLaunchConfigurations =     lens _dalrMaxNumberOfLaunchConfigurations
gen/Network/AWS/AutoScaling/DescribeAdjustmentTypes.hs view
@@ -20,7 +20,7 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Lists the policy adjustment types for use with PutScalingPolicy.+-- | Lists the policy adjustment types for use with 'PutScalingPolicy'. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribeAdjustmentTypes.html> module Network.AWS.AutoScaling.DescribeAdjustmentTypes
gen/Network/AWS/AutoScaling/DescribeAutoScalingGroups.hs view
@@ -21,11 +21,13 @@ -- Portability : non-portable (GHC extensions)  -- | Describes one or more Auto Scaling groups. If a list of names is not--- provided, the call describes all Auto Scaling groups. You can specify a--- maximum number of items to be returned 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 in the NextToken parameter.+-- provided, the call describes all Auto Scaling groups. --+-- You can specify a maximum number of items to be returned 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 in the 'NextToken'+-- parameter.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribeAutoScalingGroups.html> module Network.AWS.AutoScaling.DescribeAutoScalingGroups     (@@ -86,8 +88,8 @@ dasgMaxRecords :: Lens' DescribeAutoScalingGroups (Maybe Int) dasgMaxRecords = lens _dasgMaxRecords (\s a -> s { _dasgMaxRecords = a }) --- | The token for the next set of items to return. (You received this token--- from a previous call.).+-- | The token for the next set of items to return. (You received this token from+-- a previous call.) dasgNextToken :: Lens' DescribeAutoScalingGroups (Maybe Text) dasgNextToken = lens _dasgNextToken (\s a -> s { _dasgNextToken = a }) 
gen/Network/AWS/AutoScaling/DescribeAutoScalingInstances.hs view
@@ -20,13 +20,14 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Describes one or more Auto Scaling instances. If a list is not provided,--- the call describes all instances. You can describe up to a maximum of 50--- instances with a single call. By default, a call returns up to 20--- instances. 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 in the--- NextToken parameter.+-- | Describes one or more Auto Scaling instances. If a list is not provided, the+-- call describes all instances. --+-- You can describe up to a maximum of 50 instances with a single call. By+-- default, a call returns up to 20 instances. 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 in the 'NextToken' parameter.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribeAutoScalingInstances.html> module Network.AWS.AutoScaling.DescribeAutoScalingInstances     (@@ -76,9 +77,9 @@     , _dasiNextToken   = Nothing     } --- | One or more Auto Scaling instances to describe, up to 50 instances. 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.+-- | One or more Auto Scaling instances to describe, up to 50 instances. 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. dasiInstanceIds :: Lens' DescribeAutoScalingInstances [Text] dasiInstanceIds = lens _dasiInstanceIds (\s a -> s { _dasiInstanceIds = a }) . _List @@ -86,8 +87,8 @@ dasiMaxRecords :: Lens' DescribeAutoScalingInstances (Maybe Int) dasiMaxRecords = lens _dasiMaxRecords (\s a -> s { _dasiMaxRecords = a }) --- | The token for the next set of items to return. (You received this token--- from a previous call.).+-- | The token for the next set of items to return. (You received this token from+-- a previous call.) dasiNextToken :: Lens' DescribeAutoScalingInstances (Maybe Text) dasiNextToken = lens _dasiNextToken (\s a -> s { _dasiNextToken = a }) 
gen/Network/AWS/AutoScaling/DescribeAutoScalingNotificationTypes.hs view
@@ -72,9 +72,18 @@     }  -- | One or more of the following notification types:--- autoscaling:EC2_INSTANCE_LAUNCH autoscaling:EC2_INSTANCE_LAUNCH_ERROR--- autoscaling:EC2_INSTANCE_TERMINATE--- autoscaling:EC2_INSTANCE_TERMINATE_ERROR autoscaling:TEST_NOTIFICATION.+--+-- 'autoscaling:EC2_INSTANCE_LAUNCH'+--+-- 'autoscaling:EC2_INSTANCE_LAUNCH_ERROR'+--+-- 'autoscaling:EC2_INSTANCE_TERMINATE'+--+-- 'autoscaling:EC2_INSTANCE_TERMINATE_ERROR'+--+-- 'autoscaling:TEST_NOTIFICATION'+--+-- dasntrAutoScalingNotificationTypes :: Lens' DescribeAutoScalingNotificationTypesResponse [Text] dasntrAutoScalingNotificationTypes =     lens _dasntrAutoScalingNotificationTypes
gen/Network/AWS/AutoScaling/DescribeLaunchConfigurations.hs view
@@ -21,11 +21,13 @@ -- Portability : non-portable (GHC extensions)  -- | Describes one or more launch configurations. If you omit the list of names,--- then the call describes all launch configurations. You can specify a--- maximum number of items to be returned 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 in the NextToken parameter.+-- then the call describes all launch configurations. --+-- You can specify a maximum number of items to be returned 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 in the 'NextToken'+-- parameter.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribeLaunchConfigurations.html> module Network.AWS.AutoScaling.DescribeLaunchConfigurations     (@@ -86,8 +88,8 @@ dlcMaxRecords :: Lens' DescribeLaunchConfigurations (Maybe Int) dlcMaxRecords = lens _dlcMaxRecords (\s a -> s { _dlcMaxRecords = a }) --- | The token for the next set of items to return. (You received this token--- from a previous call.).+-- | The token for the next set of items to return. (You received this token from+-- a previous call.) dlcNextToken :: Lens' DescribeLaunchConfigurations (Maybe Text) dlcNextToken = lens _dlcNextToken (\s a -> s { _dlcNextToken = a }) 
gen/Network/AWS/AutoScaling/DescribeLifecycleHookTypes.hs view
@@ -72,7 +72,12 @@     }  -- | One or more of the following notification types:--- autoscaling:EC2_INSTANCE_LAUNCHING autoscaling:EC2_INSTANCE_TERMINATING.+--+-- 'autoscaling:EC2_INSTANCE_LAUNCHING'+--+-- 'autoscaling:EC2_INSTANCE_TERMINATING'+--+-- dlhtrLifecycleHookTypes :: Lens' DescribeLifecycleHookTypesResponse [Text] dlhtrLifecycleHookTypes =     lens _dlhtrLifecycleHookTypes (\s a -> s { _dlhtrLifecycleHookTypes = a })
gen/Network/AWS/AutoScaling/DescribeMetricCollectionTypes.hs view
@@ -20,10 +20,14 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Returns a list of metrics and a corresponding list of granularities for--- each metric. The GroupStandbyInstances metric is not returned by default.--- You must explicitly request it when calling EnableMetricsCollection.+-- | Returns a list of metrics and a corresponding list of granularities for each+-- metric. --+-- The 'GroupStandbyInstances' metric is not returned by default. You must+-- explicitly request it when calling 'EnableMetricsCollection'.+--+--+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribeMetricCollectionTypes.html> module Network.AWS.AutoScaling.DescribeMetricCollectionTypes     (@@ -78,11 +82,28 @@     lens _dmctrGranularities (\s a -> s { _dmctrGranularities = a })         . _List --- | One or more of the following metrics: GroupMinSize GroupMaxSize--- GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances--- GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances The--- GroupStandbyInstances metric is not returned by default. You must--- explicitly request it when calling EnableMetricsCollection.+-- | One or more of the following metrics:+--+-- GroupMinSize+--+-- GroupMaxSize+--+-- GroupDesiredCapacity+--+-- GroupInServiceInstances+--+-- GroupPendingInstances+--+-- GroupStandbyInstances+--+-- GroupTerminatingInstances+--+-- GroupTotalInstances+--+-- The 'GroupStandbyInstances' metric is not returned by default. You must+-- explicitly request it when calling 'EnableMetricsCollection'.+--+-- dmctrMetrics :: Lens' DescribeMetricCollectionTypesResponse [MetricCollectionType] dmctrMetrics = lens _dmctrMetrics (\s a -> s { _dmctrMetrics = a }) . _List 
gen/Network/AWS/AutoScaling/DescribeNotificationConfigurations.hs view
@@ -20,8 +20,8 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Describes the notification actions associated with the specified Auto--- Scaling group.+-- | Describes the notification actions associated with the specified Auto Scaling+-- group. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribeNotificationConfigurations.html> module Network.AWS.AutoScaling.DescribeNotificationConfigurations@@ -83,8 +83,8 @@ dncMaxRecords :: Lens' DescribeNotificationConfigurations (Maybe Int) dncMaxRecords = lens _dncMaxRecords (\s a -> s { _dncMaxRecords = a }) --- | The token for the next set of items to return. (You received this token--- from a previous call.).+-- | The token for the next set of items to return. (You received this token from+-- a previous call.) dncNextToken :: Lens' DescribeNotificationConfigurations (Maybe Text) dncNextToken = lens _dncNextToken (\s a -> s { _dncNextToken = a }) 
gen/Network/AWS/AutoScaling/DescribePolicies.hs view
@@ -20,10 +20,11 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Describes the policies for the specified Auto Scaling group. You can--- specify a maximum number of items to be returned 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 in the NextToken+-- | Describes the policies for the specified Auto Scaling group.+--+-- You can specify a maximum number of items to be returned 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 in the 'NextToken' -- parameter. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribePolicies.html>@@ -89,15 +90,15 @@ dp1MaxRecords :: Lens' DescribePolicies (Maybe Int) dp1MaxRecords = lens _dp1MaxRecords (\s a -> s { _dp1MaxRecords = a }) --- | The token for the next set of items to return. (You received this token--- from a previous call.).+-- | The token for the next set of items to return. (You received this token from+-- a previous call.) dp1NextToken :: Lens' DescribePolicies (Maybe Text) dp1NextToken = lens _dp1NextToken (\s a -> s { _dp1NextToken = a })  -- | One or more policy names or policy ARNs to be described. If you omit this -- list, 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.+-- 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. dp1PolicyNames :: Lens' DescribePolicies [Text] dp1PolicyNames = lens _dp1PolicyNames (\s a -> s { _dp1PolicyNames = a }) . _List 
gen/Network/AWS/AutoScaling/DescribeScalingActivities.hs view
@@ -21,13 +21,15 @@ -- Portability : non-portable (GHC extensions)  -- | Describes one or more scaling activities for the specified Auto Scaling--- group. If you omit the ActivityIds, the call returns all activities from--- the past six weeks. Activities are sorted by the start time. Activities--- still in progress appear first on the list. You can specify a maximum--- number of items to be returned 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 in the NextToken parameter.+-- group. If you omit the 'ActivityIds', the call returns all activities from the+-- past six weeks. Activities are sorted by the start time. Activities still in+-- progress appear first on the list. --+-- You can specify a maximum number of items to be returned 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 in the 'NextToken'+-- parameter.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribeScalingActivities.html> module Network.AWS.AutoScaling.DescribeScalingActivities     (@@ -83,10 +85,10 @@     }  -- | A list containing the activity IDs of the desired scaling activities. If--- this list is omitted, all activities are described. If an--- AutoScalingGroupName is provided, 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.+-- this list is omitted, all activities are described. If an 'AutoScalingGroupName'+-- is provided, 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. dsa2ActivityIds :: Lens' DescribeScalingActivities [Text] dsa2ActivityIds = lens _dsa2ActivityIds (\s a -> s { _dsa2ActivityIds = a }) . _List @@ -100,8 +102,8 @@ dsa2MaxRecords :: Lens' DescribeScalingActivities (Maybe Int) dsa2MaxRecords = lens _dsa2MaxRecords (\s a -> s { _dsa2MaxRecords = a }) --- | The token for the next set of items to return. (You received this token--- from a previous call.).+-- | The token for the next set of items to return. (You received this token from+-- a previous call.) dsa2NextToken :: Lens' DescribeScalingActivities (Maybe Text) dsa2NextToken = lens _dsa2NextToken (\s a -> s { _dsa2NextToken = a }) 
gen/Network/AWS/AutoScaling/DescribeScalingProcessTypes.hs view
@@ -20,8 +20,7 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Returns scaling process types for use in the ResumeProcesses and--- SuspendProcesses actions.+-- | Returns scaling process types for use in the 'ResumeProcesses' and 'SuspendProcesses' actions. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribeScalingProcessTypes.html> module Network.AWS.AutoScaling.DescribeScalingProcessTypes
gen/Network/AWS/AutoScaling/DescribeScheduledActions.hs view
@@ -21,8 +21,7 @@ -- Portability : non-portable (GHC extensions)  -- | Lists the actions scheduled for your Auto Scaling group that haven't been--- executed. To list the actions that were already executed, use--- DescribeScalingActivities.+-- executed. To list the actions that were already executed, use 'DescribeScalingActivities'. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribeScheduledActions.html> module Network.AWS.AutoScaling.DescribeScheduledActions@@ -55,11 +54,11 @@  data DescribeScheduledActions = DescribeScheduledActions     { _dsa1AutoScalingGroupName :: Maybe Text-    , _dsa1EndTime              :: Maybe RFC822+    , _dsa1EndTime              :: Maybe ISO8601     , _dsa1MaxRecords           :: Maybe Int     , _dsa1NextToken            :: Maybe Text     , _dsa1ScheduledActionNames :: List "ScheduledActionNames" Text-    , _dsa1StartTime            :: Maybe RFC822+    , _dsa1StartTime            :: Maybe ISO8601     } deriving (Eq, Ord, Show)  -- | 'DescribeScheduledActions' constructor.@@ -103,25 +102,26 @@ dsa1MaxRecords :: Lens' DescribeScheduledActions (Maybe Int) dsa1MaxRecords = lens _dsa1MaxRecords (\s a -> s { _dsa1MaxRecords = a }) --- | The token for the next set of items to return. (You received this token--- from a previous call.).+-- | The token for the next set of items to return. (You received this token from+-- a previous call.) dsa1NextToken :: Lens' DescribeScheduledActions (Maybe Text) dsa1NextToken = lens _dsa1NextToken (\s a -> s { _dsa1NextToken = a })  -- | Describes one or more scheduled actions. If you omit this list, the call--- describes all scheduled actions. 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 in the NextToken parameter.+-- describes all scheduled actions. 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 in the 'NextToken' parameter. dsa1ScheduledActionNames :: Lens' DescribeScheduledActions [Text] dsa1ScheduledActionNames =     lens _dsa1ScheduledActionNames         (\s a -> s { _dsa1ScheduledActionNames = a })             . _List --- | The earliest scheduled start time to return. If scheduled action names--- are provided, this parameter is ignored.+-- | The earliest scheduled start time to return. If scheduled action names are+-- provided, this parameter is ignored. dsa1StartTime :: Lens' DescribeScheduledActions (Maybe UTCTime) dsa1StartTime = lens _dsa1StartTime (\s a -> s { _dsa1StartTime = a }) . mapping _Time 
gen/Network/AWS/AutoScaling/DescribeTags.hs view
@@ -20,14 +20,17 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | 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.+-- | 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.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribeTags.html> module Network.AWS.AutoScaling.DescribeTags     (@@ -77,10 +80,10 @@     , _dtMaxRecords = Nothing     } --- | The value of the filter type used to identify the tags to be returned.--- For example, you can filter so that tags are returned according to Auto--- Scaling group, the key and value, or whether the new tag will be applied--- to instances launched after the tag is created (PropagateAtLaunch).+-- | The value of the filter type used to identify the tags to be returned. For+-- example, you can filter so that tags are returned according to Auto Scaling+-- group, the key and value, or whether the new tag will be applied to instances+-- launched after the tag is created (PropagateAtLaunch). dtFilters :: Lens' DescribeTags [Filter] dtFilters = lens _dtFilters (\s a -> s { _dtFilters = a }) . _List @@ -88,8 +91,8 @@ dtMaxRecords :: Lens' DescribeTags (Maybe Int) dtMaxRecords = lens _dtMaxRecords (\s a -> s { _dtMaxRecords = a }) --- | The token for the next set of items to return. (You received this token--- from a previous call.).+-- | The token for the next set of items to return. (You received this token from+-- a previous call.) dtNextToken :: Lens' DescribeTags (Maybe Text) dtNextToken = lens _dtNextToken (\s a -> s { _dtNextToken = a }) 
gen/Network/AWS/AutoScaling/DescribeTerminationPolicyTypes.hs view
@@ -71,9 +71,7 @@     { _dtptrTerminationPolicyTypes = mempty     } --- | The Termination policies supported by Auto Scaling. They are:--- OldestInstance, OldestLaunchConfiguration, NewestInstance,--- ClosestToNextInstanceHour, and Default.+-- | The Termination policies supported by Auto Scaling. They are: 'OldestInstance', 'OldestLaunchConfiguration', 'NewestInstance', 'ClosestToNextInstanceHour', and 'Default'. dtptrTerminationPolicyTypes :: Lens' DescribeTerminationPolicyTypesResponse [Text] dtptrTerminationPolicyTypes =     lens _dtptrTerminationPolicyTypes
gen/Network/AWS/AutoScaling/DetachInstances.hs view
@@ -22,9 +22,11 @@  -- | 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. For more information, see Detach EC2 Instances--- from Your Auto Scaling Group in the Auto Scaling Developer Guide.+-- of the Auto Scaling group. --+-- 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 Developer Guide/.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DetachInstances.html> module Network.AWS.AutoScaling.DetachInstances     (@@ -84,8 +86,8 @@ diInstanceIds :: Lens' DetachInstances [Text] diInstanceIds = lens _diInstanceIds (\s a -> s { _diInstanceIds = a }) . _List --- | 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@@ -112,8 +114,7 @@     { _dirActivities = mempty     } --- | The activities related to detaching the instances from the Auto Scaling--- group.+-- | The activities related to detaching the instances from the Auto Scaling group. dirActivities :: Lens' DetachInstancesResponse [Activity] dirActivities = lens _dirActivities (\s a -> s { _dirActivities = a }) . _List 
gen/Network/AWS/AutoScaling/DisableMetricsCollection.hs view
@@ -70,10 +70,25 @@ dmcAutoScalingGroupName =     lens _dmcAutoScalingGroupName (\s a -> s { _dmcAutoScalingGroupName = a }) --- | One or more of the following metrics: GroupMinSize GroupMaxSize--- GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances--- GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances If--- you omit this parameter, all metrics are disabled.+-- | One or more of the following metrics:+--+-- GroupMinSize+--+-- GroupMaxSize+--+-- GroupDesiredCapacity+--+-- GroupInServiceInstances+--+-- GroupPendingInstances+--+-- GroupStandbyInstances+--+-- GroupTerminatingInstances+--+-- GroupTotalInstances+--+-- If you omit this parameter, all metrics are disabled. dmcMetrics :: Lens' DisableMetricsCollection [Text] dmcMetrics = lens _dmcMetrics (\s a -> s { _dmcMetrics = a }) . _List 
gen/Network/AWS/AutoScaling/EnableMetricsCollection.hs view
@@ -21,9 +21,11 @@ -- Portability : non-portable (GHC extensions)  -- | Enables monitoring of the specified metrics for the specified Auto Scaling--- group. You can only enable metrics collection if InstanceMonitoring in the--- launch configuration for the group is set to True.+-- group. --+-- You can only enable metrics collection if 'InstanceMonitoring' in the launch+-- configuration for the group is set to 'True'.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_EnableMetricsCollection.html> module Network.AWS.AutoScaling.EnableMetricsCollection     (@@ -77,17 +79,35 @@ emcAutoScalingGroupName =     lens _emcAutoScalingGroupName (\s a -> s { _emcAutoScalingGroupName = a }) --- | The granularity to associate with the metrics to collect. Currently, the--- only valid value is "1Minute".+-- | The granularity to associate with the metrics to collect. Currently, the only+-- valid value is "1Minute". emcGranularity :: Lens' EnableMetricsCollection Text emcGranularity = lens _emcGranularity (\s a -> s { _emcGranularity = a }) --- | One or more of the following metrics: GroupMinSize GroupMaxSize--- GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances--- GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances If--- you omit this parameter, all metrics are enabled. The--- GroupStandbyInstances metric is not returned by default. You must--- explicitly request it when calling EnableMetricsCollection.+-- | One or more of the following metrics:+--+-- GroupMinSize+--+-- GroupMaxSize+--+-- GroupDesiredCapacity+--+-- GroupInServiceInstances+--+-- GroupPendingInstances+--+-- GroupStandbyInstances+--+-- GroupTerminatingInstances+--+-- GroupTotalInstances+--+-- If you omit this parameter, all metrics are enabled.+--+-- The 'GroupStandbyInstances' metric is not returned by default. You must+-- explicitly request it when calling 'EnableMetricsCollection'.+--+-- emcMetrics :: Lens' EnableMetricsCollection [Text] emcMetrics = lens _emcMetrics (\s a -> s { _emcMetrics = a }) . _List 
gen/Network/AWS/AutoScaling/EnterStandby.hs view
@@ -20,9 +20,10 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Moves the specified instances into Standby mode. For more information, see--- Auto Scaling InService State in the Auto Scaling Developer Guide.+-- | Moves the specified instances into 'Standby' mode. --+-- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingInServiceState.html Auto Scaling InService State> in the /Auto ScalingDeveloper Guide/.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_EnterStandby.html> module Network.AWS.AutoScaling.EnterStandby     (@@ -78,15 +79,15 @@ esAutoScalingGroupName =     lens _esAutoScalingGroupName (\s a -> s { _esAutoScalingGroupName = a }) --- | 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 }) . _List --- | 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@@ -113,7 +114,7 @@     { _esr1Activities = mempty     } --- | The activities related to moving instances into Standby mode.+-- | The activities related to moving instances into 'Standby' mode. esr1Activities :: Lens' EnterStandbyResponse [Activity] esr1Activities = lens _esr1Activities (\s a -> s { _esr1Activities = a }) . _List 
gen/Network/AWS/AutoScaling/ExecutePolicy.hs view
@@ -74,12 +74,15 @@ epAutoScalingGroupName =     lens _epAutoScalingGroupName (\s a -> s { _epAutoScalingGroupName = a }) --- | Set to True if you want Auto Scaling to wait for the cooldown period+-- | Set to 'True' if you want Auto Scaling to wait for the cooldown period -- associated with the Auto Scaling group to complete before executing the--- policy. Set to False if you want Auto Scaling to circumvent the cooldown--- period associated with the Auto Scaling group and execute the policy--- before the cooldown period ends. For more information, see Understanding--- Auto Scaling Cooldowns in the Auto Scaling Developer Guide.+-- policy.+--+-- Set to 'False' if you want Auto Scaling to circumvent the cooldown period+-- associated with the Auto Scaling group and execute the policy before the+-- cooldown period ends.+--+-- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html Understanding Auto Scaling Cooldowns> in the /AutoScaling Developer Guide/. epHonorCooldown :: Lens' ExecutePolicy (Maybe Bool) epHonorCooldown = lens _epHonorCooldown (\s a -> s { _epHonorCooldown = a }) 
gen/Network/AWS/AutoScaling/ExitStandby.hs view
@@ -20,9 +20,10 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Moves the specified instances out of Standby mode. For more information,--- see Auto Scaling InService State in the Auto Scaling Developer Guide.+-- | Moves the specified instances out of 'Standby' mode. --+-- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingInServiceState.html Auto Scaling InService State> in the /Auto ScalingDeveloper Guide/.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_ExitStandby.html> module Network.AWS.AutoScaling.ExitStandby     (@@ -97,7 +98,7 @@     { _esrActivities = mempty     } --- | The activities related to moving instances out of Standby mode.+-- | The activities related to moving instances out of 'Standby' mode. esrActivities :: Lens' ExitStandbyResponse [Activity] esrActivities = lens _esrActivities (\s a -> s { _esrActivities = a }) . _List 
gen/Network/AWS/AutoScaling/PutLifecycleHook.hs view
@@ -20,21 +20,21 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | 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+-- | 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 operation is a--- part of the basic sequence for adding a lifecycle hook to an Auto Scaling--- group: Create a notification target. A target can be either an Amazon SQS--- queue or an Amazon SNS topic. Create an IAM role. This role allows Auto--- Scaling to publish lifecycle notifications to the designated SQS queue or--- SNS topic. Create the lifecycle hook. You can create a hook that acts when--- instances launch or when instances terminate. If necessary, record the--- lifecycle action heartbeat to keep the instance in a pending state.--- Complete the lifecycle action. For more information, see Auto Scaling--- Pending State and Auto Scaling Terminating State in the Auto Scaling--- Developer Guide.+-- instance launches or before the instance terminates. --+-- This operation is a part of the basic sequence for adding a lifecycle hook+-- to an Auto Scaling group:+--+-- Create a notification target. A target can be either an Amazon SQS queue or+-- an Amazon SNS topic. Create an IAM role. This role allows Auto Scaling to+-- publish lifecycle notifications to the designated SQS queue or SNS topic. Create the lifecycle hook. You can create a hook that acts when instances launch or when instances terminate.+-- If necessary, record the lifecycle action heartbeat to keep the instance in+-- a pending state. Complete the lifecycle action.  For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingPendingState.html Auto Scaling Pending State> and <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingTerminatingState.html Auto Scaling Terminating State> in the /Auto Scaling Developer Guide/.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_PutLifecycleHook.html> module Network.AWS.AutoScaling.PutLifecycleHook     (@@ -108,25 +108,24 @@     , _plhDefaultResult         = Nothing     } --- | The name of the Auto Scaling group to which you want to assign the--- lifecycle hook.+-- | The name of the Auto Scaling group to which you want to assign the lifecycle+-- hook. plhAutoScalingGroupName :: Lens' PutLifecycleHook Text plhAutoScalingGroupName =     lens _plhAutoScalingGroupName (\s a -> s { _plhAutoScalingGroupName = a }) --- | Defines the action the Auto Scaling group should take when the lifecycle--- hook timeout elapses or if an unexpected failure occurs. The value for--- this parameter can be either CONTINUE or ABANDON. The default value for--- this parameter is ABANDON.+-- | Defines the action the Auto Scaling group should take when the lifecycle hook+-- timeout elapses or if an unexpected failure occurs. The value for this+-- parameter can be either 'CONTINUE' or 'ABANDON'. The default value for this+-- parameter is 'ABANDON'. plhDefaultResult :: Lens' PutLifecycleHook (Maybe Text) plhDefaultResult = lens _plhDefaultResult (\s a -> s { _plhDefaultResult = a }) --- | Defines 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 action defined in the DefaultResult parameter. You can--- prevent the lifecycle hook from timing out by calling--- RecordLifecycleActionHeartbeat. The default value for this parameter is--- 3600 seconds (1 hour).+-- | Defines 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+-- action defined in the 'DefaultResult' parameter. You can prevent the lifecycle+-- hook from timing out by calling 'RecordLifecycleActionHeartbeat'. The default+-- value for this parameter is 3600 seconds (1 hour). plhHeartbeatTimeout :: Lens' PutLifecycleHook (Maybe Int) plhHeartbeatTimeout =     lens _plhHeartbeatTimeout (\s a -> s { _plhHeartbeatTimeout = a })@@ -136,10 +135,13 @@ plhLifecycleHookName =     lens _plhLifecycleHookName (\s a -> s { _plhLifecycleHookName = a }) --- | The Amazon EC2 instance state to which you want to attach the lifecycle--- hook. See DescribeLifecycleHookTypes for a list of available lifecycle--- hook types. This parameter is required for new lifecycle hooks, but--- optional when updating existing hooks.+-- | The Amazon EC2 instance state to which you want to attach the lifecycle hook.+-- See 'DescribeLifecycleHookTypes' for a list of available lifecycle hook types.+--+-- 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 })@@ -150,29 +152,37 @@ 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 ARN target can be either an SQS queue or an SNS topic. This--- parameter is required for new lifecycle hooks, but optional when updating--- existing hooks. The notification message sent to the target will include:--- LifecycleActionToken. The Lifecycle action token. AccountId. The user--- account ID. AutoScalingGroupName. The name of the Auto Scaling group.--- LifecycleHookName. The lifecycle hook name. EC2InstanceId. The EC2--- instance ID. LifecycleTransition. The lifecycle transition.--- NotificationMetadata. The notification metadata. 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 call this operation, a test message is sent to the--- notification target. This test message contains an 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 ARN+-- target can be either an SQS queue or an SNS topic.+--+-- This parameter is required for new lifecycle hooks, but optional when+-- updating existing hooks.+--+-- The notification message sent to the target will include:+--+-- LifecycleActionToken. The Lifecycle action token.  AccountId. The user+-- account ID.  AutoScalingGroupName. The name of the Auto Scaling group.  LifecycleHookName+-- . The lifecycle hook name.  EC2InstanceId. The EC2 instance ID.  LifecycleTransition+-- . The lifecycle transition.  NotificationMetadata. The notification metadata.+-- 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 call this operation, a test message is sent to the notification+-- target. This test message contains an additional key/value pair: 'Event:autoscaling:TEST_NOTIFICATION'. plhNotificationTargetARN :: Lens' PutLifecycleHook (Maybe Text) plhNotificationTargetARN =     lens _plhNotificationTargetARN         (\s a -> s { _plhNotificationTargetARN = 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 }) 
gen/Network/AWS/AutoScaling/PutNotificationConfiguration.hs view
@@ -20,13 +20,14 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Configures an Auto Scaling group to send notifications when specified--- events take place. Subscribers to this topic can have messages for events--- delivered to an endpoint such as a web server or email address. For more--- information see Getting Notifications When Your Auto Scaling Group Changes--- in the Auto Scaling Developer Guide. This configuration overwrites an--- existing configuration.+-- | Configures an Auto Scaling group to send notifications when specified events+-- take place. Subscribers to this topic can have messages for events delivered+-- to an endpoint such as a web server or email address. --+-- For more information see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/ASGettingNotifications.html Getting Notifications When Your Auto Scaling GroupChanges> in the /Auto Scaling Developer Guide/.+--+-- This configuration overwrites an existing configuration.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_PutNotificationConfiguration.html> module Network.AWS.AutoScaling.PutNotificationConfiguration     (@@ -80,9 +81,8 @@ pncAutoScalingGroupName =     lens _pncAutoScalingGroupName (\s a -> s { _pncAutoScalingGroupName = 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 })
gen/Network/AWS/AutoScaling/PutScalingPolicy.hs view
@@ -20,10 +20,10 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | 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.+-- | 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. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_PutScalingPolicy.html> module Network.AWS.AutoScaling.PutScalingPolicy@@ -92,10 +92,12 @@     , _pspMinAdjustmentStep    = Nothing     } --- | Specifies whether the ScalingAdjustment is an absolute number or a--- percentage of the current capacity. Valid values are ChangeInCapacity,--- ExactCapacity, and PercentChangeInCapacity. For more information, see--- Dynamic Scaling in the Auto Scaling Developer Guide.+-- | Specifies whether the 'ScalingAdjustment' is an absolute number or a percentage+-- of the current capacity. 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 Developer Guide/+-- . pspAdjustmentType :: Lens' PutScalingPolicy Text pspAdjustmentType =     lens _pspAdjustmentType (\s a -> s { _pspAdjustmentType = a })@@ -105,17 +107,19 @@ pspAutoScalingGroupName =     lens _pspAutoScalingGroupName (\s a -> s { _pspAutoScalingGroupName = a }) --- | The amount of time, in seconds, after a scaling activity completes and--- before the next scaling activity can start. For more information, see--- Understanding Auto Scaling Cooldowns in the Auto Scaling Developer Guide.+-- | The amount of time, in seconds, after a scaling activity completes and before+-- the next scaling activity can start.+--+-- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html Understanding Auto Scaling Cooldowns> in the /AutoScaling Developer Guide/. pspCooldown :: Lens' PutScalingPolicy (Maybe Int) pspCooldown = lens _pspCooldown (\s a -> s { _pspCooldown = a }) --- | Used with AdjustmentType with the value PercentChangeInCapacity, the--- scaling policy changes the DesiredCapacity of the Auto Scaling group by--- at least the number of instances specified in the value. You will get a--- ValidationError if you use MinAdjustmentStep on a policy with an--- AdjustmentType other than PercentChangeInCapacity.+-- | Used with 'AdjustmentType' with the value 'PercentChangeInCapacity', the scaling+-- policy changes the 'DesiredCapacity' of the Auto Scaling group by at least the+-- number of instances specified in the value.+--+-- You will get a 'ValidationError' if you use 'MinAdjustmentStep' on a policy with+-- an 'AdjustmentType' other than 'PercentChangeInCapacity'. pspMinAdjustmentStep :: Lens' PutScalingPolicy (Maybe Int) pspMinAdjustmentStep =     lens _pspMinAdjustmentStep (\s a -> s { _pspMinAdjustmentStep = a })@@ -124,11 +128,10 @@ pspPolicyName :: Lens' PutScalingPolicy Text pspPolicyName = lens _pspPolicyName (\s a -> s { _pspPolicyName = a }) --- | The number of instances by which to scale. AdjustmentType determines the--- interpretation of this number (e.g., as an absolute number or as a--- percentage of the existing Auto Scaling group size). A positive increment--- adds to the current capacity and a negative value removes from the--- current capacity.+-- | The number of instances by which to scale. 'AdjustmentType' determines the+-- interpretation of this number (e.g., as an absolute number or as a percentage+-- of the existing Auto Scaling group size). A positive increment adds to the+-- current capacity and a negative value removes from the current capacity. pspScalingAdjustment :: Lens' PutScalingPolicy Int pspScalingAdjustment =     lens _pspScalingAdjustment (\s a -> s { _pspScalingAdjustment = a })
gen/Network/AWS/AutoScaling/PutScheduledUpdateGroupAction.hs view
@@ -23,10 +23,15 @@ -- | 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. For more information, see Scheduled Scaling in the Auto--- Scaling Developer Guide. Auto Scaling supports the date and time expressed--- in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only.+-- Scaling group. --+-- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/schedule_time.html Scheduled Scaling> in the /Auto Scaling DeveloperGuide/.+--+-- Auto Scaling supports the date and time expressed in "YYYY-MM-DDThh:mm:ssZ"+-- format in UTC/GMT only.+--+--+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_PutScheduledUpdateGroupAction.html> module Network.AWS.AutoScaling.PutScheduledUpdateGroupAction     (@@ -59,13 +64,13 @@ data PutScheduledUpdateGroupAction = PutScheduledUpdateGroupAction     { _psugaAutoScalingGroupName :: Text     , _psugaDesiredCapacity      :: Maybe Int-    , _psugaEndTime              :: Maybe RFC822+    , _psugaEndTime              :: Maybe ISO8601     , _psugaMaxSize              :: Maybe Int     , _psugaMinSize              :: Maybe Int     , _psugaRecurrence           :: Maybe Text     , _psugaScheduledActionName  :: Text-    , _psugaStartTime            :: Maybe RFC822-    , _psugaTime                 :: Maybe RFC822+    , _psugaStartTime            :: Maybe ISO8601+    , _psugaTime                 :: Maybe ISO8601     } deriving (Eq, Ord, Show)  -- | 'PutScheduledUpdateGroupAction' constructor.@@ -128,10 +133,11 @@ psugaMinSize :: Lens' PutScheduledUpdateGroupAction (Maybe Int) psugaMinSize = lens _psugaMinSize (\s a -> s { _psugaMinSize = a }) --- | The time when recurring future actions will start. Start time is--- specified by the user following the Unix cron syntax format. For--- information about cron syntax, go to Wikipedia, The Free Encyclopedia.--- When StartTime and EndTime are specified with Recurrence, they form the+-- | The time when recurring future actions will start. Start time is specified+-- by the user following the Unix cron syntax format. For information about cron+-- syntax, go to <http://en.wikipedia.org/wiki/Cron Wikipedia, The Free Encyclopedia>.+--+-- When 'StartTime' and 'EndTime' are specified with 'Recurrence', they form the -- boundaries of when the recurring action will start and stop. psugaRecurrence :: Lens' PutScheduledUpdateGroupAction (Maybe Text) psugaRecurrence = lens _psugaRecurrence (\s a -> s { _psugaRecurrence = a })@@ -142,18 +148,21 @@     lens _psugaScheduledActionName         (\s a -> s { _psugaScheduledActionName = a }) --- | The time for this action to start, as in --start-time--- 2010-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 will start and stop.+-- | The time for this action to start, as in '--start-time 2010-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 will start and stop. psugaStartTime :: Lens' PutScheduledUpdateGroupAction (Maybe UTCTime) psugaStartTime = lens _psugaStartTime (\s a -> s { _psugaStartTime = a }) . mapping _Time --- | Time is deprecated. The time for this action to start. Time is an alias--- for StartTime and can be specified instead of StartTime, or vice versa.--- If both Time and StartTime are specified, their values should be--- identical. Otherwise, PutScheduledUpdateGroupAction will return an error.+-- | 'Time' is deprecated.+--+-- The time for this action to start. 'Time' is an alias for 'StartTime' and can be+-- specified instead of 'StartTime', or vice versa. If both 'Time' and 'StartTime' are+-- specified, their values should be identical. Otherwise, 'PutScheduledUpdateGroupAction' will return an error. psugaTime :: Lens' PutScheduledUpdateGroupAction (Maybe UTCTime) psugaTime = lens _psugaTime (\s a -> s { _psugaTime = a }) . mapping _Time 
gen/Network/AWS/AutoScaling/RecordLifecycleActionHeartbeat.hs view
@@ -21,17 +21,16 @@ -- Portability : non-portable (GHC extensions)  -- | Records a heartbeat for the lifecycle action associated with a specific--- token. This extends the timeout by the length of time defined by the--- HeartbeatTimeout parameter of PutLifecycleHook. This operation is a part of--- the basic sequence for adding a lifecycle hook to an Auto Scaling group:+-- token. This extends the timeout by the length of time defined by the 'HeartbeatTimeout' parameter of 'PutLifecycleHook'.+--+-- This operation is a part of the basic sequence for adding a lifecycle hook+-- to an Auto Scaling group:+-- -- Create a notification target. A target can be either an Amazon SQS queue or -- an Amazon SNS topic. Create an IAM role. This role allows Auto Scaling to--- publish lifecycle notifications to the designated SQS queue or SNS topic.--- Create the lifecycle hook. You can create a hook that acts when instances--- launch or when instances terminate. If necessary, record the lifecycle--- action heartbeat to keep the instance in a pending state. Complete the--- lifecycle action. For more information, see Auto Scaling Pending State and--- Auto Scaling Terminating State in the Auto Scaling Developer Guide.+-- publish lifecycle notifications to the designated SQS queue or SNS topic. Create the lifecycle hook. You can create a hook that acts when instances launch or when instances terminate.+-- If necessary, record the lifecycle action heartbeat to keep the instance in+-- a pending state. Complete the lifecycle action.  For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingPendingState.html Auto Scaling Pending State> and <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingTerminatingState.html Auto Scaling Terminating State> in the /Auto Scaling Developer Guide/. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_RecordLifecycleActionHeartbeat.html> module Network.AWS.AutoScaling.RecordLifecycleActionHeartbeat@@ -88,9 +87,9 @@     lens _rlahAutoScalingGroupName         (\s a -> s { _rlahAutoScalingGroupName = a }) --- | 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.+-- | 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. rlahLifecycleActionToken :: Lens' RecordLifecycleActionHeartbeat Text rlahLifecycleActionToken =     lens _rlahLifecycleActionToken
gen/Network/AWS/AutoScaling/ResumeProcesses.hs view
@@ -20,11 +20,10 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Resumes the specified suspended Auto Scaling processes for the specified--- Auto Scaling group. To resume specific processes, use the ScalingProcesses--- parameter. To resume all processes, omit the ScalingProcesses parameter.--- For more information, see Suspend and Resume Auto Scaling Processes in the--- Auto Scaling Developer Guide.+-- | Resumes the specified suspended Auto Scaling processes for the specified Auto+-- Scaling group. To resume specific processes, use the 'ScalingProcesses'+-- parameter. To resume all processes, omit the 'ScalingProcesses' parameter. For+-- more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SuspendResume.html Suspend and Resume Auto Scaling Processes> in the /AutoScaling Developer Guide/. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_ResumeProcesses.html> module Network.AWS.AutoScaling.ResumeProcesses@@ -73,9 +72,10 @@ rpAutoScalingGroupName =     lens _rpAutoScalingGroupName (\s a -> s { _rpAutoScalingGroupName = a }) --- | One or more of the following processes: Launch Terminate HealthCheck--- ReplaceUnhealthy AZRebalance AlarmNotification ScheduledActions--- AddToLoadBalancer.+-- | One or more of the following processes:+--+-- Launch Terminate HealthCheck ReplaceUnhealthy AZRebalance AlarmNotification+-- ScheduledActions AddToLoadBalancer rpScalingProcesses :: Lens' ResumeProcesses [Text] rpScalingProcesses =     lens _rpScalingProcesses (\s a -> s { _rpScalingProcesses = a })
gen/Network/AWS/AutoScaling/SetDesiredCapacity.hs view
@@ -20,7 +20,7 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Sets the size of the specified AutoScalingGroup.+-- | Sets the size of the specified 'AutoScalingGroup'. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_SetDesiredCapacity.html> module Network.AWS.AutoScaling.SetDesiredCapacity@@ -75,17 +75,16 @@ sdcAutoScalingGroupName =     lens _sdcAutoScalingGroupName (\s a -> s { _sdcAutoScalingGroupName = a }) --- | The number of EC2 instances that should be running in the Auto Scaling--- group.+-- | The number of EC2 instances that should be running in the Auto Scaling group. sdcDesiredCapacity :: Lens' SetDesiredCapacity Int sdcDesiredCapacity =     lens _sdcDesiredCapacity (\s a -> s { _sdcDesiredCapacity = a }) --- | 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,9 +20,10 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Sets the health status of the specified instance. For more information, see--- Health Checks in the Auto Scaling Developer Guide.+-- | 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 Developer Guide/.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_SetInstanceHealth.html> module Network.AWS.AutoScaling.SetInstanceHealth     (@@ -71,10 +72,9 @@     , _sihShouldRespectGracePeriod = Nothing     } --- | 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 }) @@ -82,12 +82,12 @@ sihInstanceId :: Lens' SetInstanceHealth Text sihInstanceId = lens _sihInstanceId (\s a -> s { _sihInstanceId = a }) --- | 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 HealthCheckGracePeriod parameter description 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 'HealthCheckGracePeriod' parameter description+-- for 'CreateAutoScalingGroup'. sihShouldRespectGracePeriod :: Lens' SetInstanceHealth (Maybe Bool) sihShouldRespectGracePeriod =     lens _sihShouldRespectGracePeriod
gen/Network/AWS/AutoScaling/SuspendProcesses.hs view
@@ -20,15 +20,17 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Suspends the specified Auto Scaling processes for the specified Auto--- Scaling group. To suspend specific processes, use the ScalingProcesses--- parameter. To suspend all processes, omit the ScalingProcesses parameter.--- 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. For more--- information, see Suspend and Resume Auto Scaling Processes in the Auto--- Scaling Developer Guide.+-- | Suspends the specified Auto Scaling processes for the specified Auto Scaling+-- group. To suspend specific processes, use the 'ScalingProcesses' parameter. To+-- suspend all processes, omit the 'ScalingProcesses' parameter. --+-- 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'.+--+-- For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SuspendResume.html Suspend and Resume Auto Scaling Processes> in the /Auto Scaling Developer Guide/.+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_SuspendProcesses.html> module Network.AWS.AutoScaling.SuspendProcesses     (@@ -76,9 +78,10 @@ spAutoScalingGroupName =     lens _spAutoScalingGroupName (\s a -> s { _spAutoScalingGroupName = a }) --- | One or more of the following processes: Launch Terminate HealthCheck--- ReplaceUnhealthy AZRebalance AlarmNotification ScheduledActions--- AddToLoadBalancer.+-- | One or more of the following processes:+--+-- Launch Terminate HealthCheck ReplaceUnhealthy AZRebalance AlarmNotification+-- ScheduledActions AddToLoadBalancer spScalingProcesses :: Lens' SuspendProcesses [Text] spScalingProcesses =     lens _spScalingProcesses (\s a -> s { _spScalingProcesses = a })
gen/Network/AWS/AutoScaling/TerminateInstanceInAutoScalingGroup.hs view
@@ -21,7 +21,9 @@ -- Portability : non-portable (GHC extensions)  -- | Terminates the specified instance and optionally adjusts the desired group--- size. This call simply makes a termination request. The instances is not+-- size.+--+-- This call simply makes a termination request. The instances is not -- terminated immediately. -- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_TerminateInstanceInAutoScalingGroup.html>@@ -73,7 +75,7 @@ tiiasgInstanceId :: Lens' TerminateInstanceInAutoScalingGroup Text tiiasgInstanceId = lens _tiiasgInstanceId (\s a -> s { _tiiasgInstanceId = a }) --- | If true, terminating this instance also decrements the size of the Auto+-- | If 'true', terminating this instance also decrements the size of the Auto -- Scaling group. tiiasgShouldDecrementDesiredCapacity :: Lens' TerminateInstanceInAutoScalingGroup Bool tiiasgShouldDecrementDesiredCapacity =
gen/Network/AWS/AutoScaling/Types.hs view
@@ -316,9 +316,9 @@ tdKey :: Lens' TagDescription Text tdKey = lens _tdKey (\s a -> s { _tdKey = a }) --- | Specifies whether the tag is applied to instances launched after the tag--- is created. The same behavior applies to updates: If you change a tag, it--- is applied to all instances launched after you made the change.+-- | Specifies whether the tag is applied to instances launched after the tag is+-- created. The same behavior applies to updates: If you change a tag, it is+-- applied to all instances launched after you made the change. tdPropagateAtLaunch :: Lens' TagDescription Bool tdPropagateAtLaunch =     lens _tdPropagateAtLaunch (\s a -> s { _tdPropagateAtLaunch = a })@@ -328,7 +328,7 @@ tdResourceId = lens _tdResourceId (\s a -> s { _tdResourceId = a })  -- | The kind of resource to which the tag is applied. Currently, Auto Scaling--- supports the auto-scaling-group resource type.+-- supports the 'auto-scaling-group' resource type. tdResourceType :: Lens' TagDescription Text tdResourceType = lens _tdResourceType (\s a -> s { _tdResourceType = a }) @@ -393,9 +393,9 @@ tagKey :: Lens' Tag Text tagKey = lens _tagKey (\s a -> s { _tagKey = a }) --- | Specifies whether the tag is applied to instances launched after the tag--- is created. The same behavior applies to updates: If you change a tag, it--- is applied to all instances launched after you made the change.+-- | Specifies whether the tag is applied to instances launched after the tag is+-- created. The same behavior applies to updates: If you change a tag, it is+-- applied to all instances launched after you made the change. tagPropagateAtLaunch :: Lens' Tag Bool tagPropagateAtLaunch =     lens _tagPropagateAtLaunch (\s a -> s { _tagPropagateAtLaunch = a })@@ -405,7 +405,7 @@ tagResourceId = lens _tagResourceId (\s a -> s { _tagResourceId = a })  -- | The kind of resource to which the tag is applied. Currently, Auto Scaling--- supports the auto-scaling-group resource type.+-- supports the 'auto-scaling-group' resource type. tagResourceType :: Lens' Tag Text tagResourceType = lens _tagResourceType (\s a -> s { _tagResourceType = a }) @@ -509,8 +509,7 @@     , _bdmNoDevice    = Nothing     } --- | 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 }) @@ -518,13 +517,15 @@ bdmEbs :: Lens' BlockDeviceMapping (Maybe Ebs) bdmEbs = lens _bdmEbs (\s a -> s { _bdmEbs = a }) --- | Suppresses a device mapping. If NoDevice is set to 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 'NoDevice' is set to '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 }) --- | The name of the virtual device, ephemeral0 to ephemeral3.+-- | The name of the virtual device, 'ephemeral0' to 'ephemeral3'. bdmVirtualName :: Lens' BlockDeviceMapping (Maybe Text) bdmVirtualName = lens _bdmVirtualName (\s a -> s { _bdmVirtualName = a }) @@ -546,7 +547,7 @@ data LaunchConfiguration = LaunchConfiguration     { _lcAssociatePublicIpAddress :: Maybe Bool     , _lcBlockDeviceMappings      :: List "BlockDeviceMappings" BlockDeviceMapping-    , _lcCreatedTime              :: RFC822+    , _lcCreatedTime              :: ISO8601     , _lcEbsOptimized             :: Maybe Bool     , _lcIamInstanceProfile       :: Maybe Text     , _lcImageId                  :: Text@@ -626,15 +627,14 @@     , _lcPlacementTenancy         = Nothing     } --- | Specifies whether the EC2 instances are associated with a public IP--- address (true) or not (false).+-- | Specifies whether the EC2 instances are associated with a public IP address ('true') or not ('false'). lcAssociatePublicIpAddress :: Lens' LaunchConfiguration (Maybe Bool) lcAssociatePublicIpAddress =     lens _lcAssociatePublicIpAddress         (\s a -> s { _lcAssociatePublicIpAddress = a }) --- | A block device mapping that specifies how block devices are exposed to--- the instance. Each mapping is made up of a virtualName and a deviceName.+-- | A block device mapping that specifies how block devices are exposed to the+-- instance. Each mapping is made up of a 'virtualName' and a 'deviceName'. lcBlockDeviceMappings :: Lens' LaunchConfiguration [BlockDeviceMapping] lcBlockDeviceMappings =     lens _lcBlockDeviceMappings (\s a -> s { _lcBlockDeviceMappings = a })@@ -644,8 +644,7 @@ lcCreatedTime :: Lens' LaunchConfiguration UTCTime lcCreatedTime = lens _lcCreatedTime (\s a -> s { _lcCreatedTime = a }) . _Time --- | 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 }) @@ -689,9 +688,8 @@     lens _lcLaunchConfigurationName         (\s a -> s { _lcLaunchConfigurationName = 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 in 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+-- in a VPC. lcPlacementTenancy :: Lens' LaunchConfiguration (Maybe Text) lcPlacementTenancy =     lens _lcPlacementTenancy (\s a -> s { _lcPlacementTenancy = a })@@ -757,7 +755,7 @@     { _asgAutoScalingGroupARN     :: Maybe Text     , _asgAutoScalingGroupName    :: Text     , _asgAvailabilityZones       :: List1 "AvailabilityZones" Text-    , _asgCreatedTime             :: RFC822+    , _asgCreatedTime             :: ISO8601     , _asgDefaultCooldown         :: Int     , _asgDesiredCapacity         :: Int     , _asgEnabledMetrics          :: List "EnabledMetrics" EnabledMetric@@ -873,8 +871,8 @@ asgCreatedTime :: Lens' AutoScalingGroup UTCTime asgCreatedTime = lens _asgCreatedTime (\s a -> s { _asgCreatedTime = a }) . _Time --- | The number of seconds after a scaling activity completes before any--- further scaling activities can start.+-- | The number of seconds after a scaling activity completes before any further+-- scaling activities can start. asgDefaultCooldown :: Lens' AutoScalingGroup Int asgDefaultCooldown =     lens _asgDefaultCooldown (\s a -> s { _asgDefaultCooldown = a })@@ -891,15 +889,14 @@         . _List  -- | The amount of time that Auto Scaling waits before checking an instance's--- health status. The grace period begins when an instance comes into--- service.+-- health status. The grace period begins when an instance comes into service. asgHealthCheckGracePeriod :: Lens' AutoScalingGroup (Maybe Int) asgHealthCheckGracePeriod =     lens _asgHealthCheckGracePeriod         (\s a -> s { _asgHealthCheckGracePeriod = a }) --- | The service of interest for the health status check, which can be either--- EC2 for Amazon EC2 or ELB for Elastic Load Balancing.+-- | The service of interest for the health status check, which can be either 'EC2'+-- for Amazon EC2 or 'ELB' for Elastic Load Balancing. asgHealthCheckType :: Lens' AutoScalingGroup Text asgHealthCheckType =     lens _asgHealthCheckType (\s a -> s { _asgHealthCheckType = a })@@ -928,13 +925,13 @@ asgMinSize :: Lens' AutoScalingGroup Int asgMinSize = lens _asgMinSize (\s a -> s { _asgMinSize = a }) --- | The name of the placement group into which you'll launch your instances,--- if any. For more information, see Placement Groups.+-- | 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>. asgPlacementGroup :: Lens' AutoScalingGroup (Maybe Text) asgPlacementGroup =     lens _asgPlacementGroup (\s a -> s { _asgPlacementGroup = a }) --- | The current state of the Auto Scaling group when a DeleteAutoScalingGroup+-- | The current state of the Auto Scaling group when a 'DeleteAutoScalingGroup' -- action is in progress. asgStatus :: Lens' AutoScalingGroup (Maybe Text) asgStatus = lens _asgStatus (\s a -> s { _asgStatus = a })@@ -955,9 +952,10 @@     lens _asgTerminationPolicies (\s a -> s { _asgTerminationPolicies = a })         . _List --- | 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 })@@ -1052,9 +1050,9 @@     , _sp1MinAdjustmentStep    = Nothing     } --- | Specifies whether the ScalingAdjustment is an absolute number or a--- percentage of the current capacity. Valid values are ChangeInCapacity,--- ExactCapacity, and PercentChangeInCapacity.+-- | Specifies whether the 'ScalingAdjustment' is an absolute number or a percentage+-- of the current capacity. Valid values are 'ChangeInCapacity', 'ExactCapacity',+-- and 'PercentChangeInCapacity'. sp1AdjustmentType :: Lens' ScalingPolicy (Maybe Text) sp1AdjustmentType =     lens _sp1AdjustmentType (\s a -> s { _sp1AdjustmentType = a })@@ -1068,12 +1066,12 @@ sp1AutoScalingGroupName =     lens _sp1AutoScalingGroupName (\s a -> s { _sp1AutoScalingGroupName = a }) --- | The amount of time, in seconds, after a scaling activity completes before--- any further trigger-related scaling activities can start.+-- | The amount of time, in seconds, after a scaling activity completes before any+-- further trigger-related scaling activities can start. sp1Cooldown :: Lens' ScalingPolicy (Maybe Int) sp1Cooldown = lens _sp1Cooldown (\s a -> s { _sp1Cooldown = a }) --- | Changes the DesiredCapacity of the Auto Scaling group by at least the+-- | Changes the 'DesiredCapacity' of the Auto Scaling group by at least the -- specified number of instances. sp1MinAdjustmentStep :: Lens' ScalingPolicy (Maybe Int) sp1MinAdjustmentStep =@@ -1087,9 +1085,9 @@ sp1PolicyName :: Lens' ScalingPolicy (Maybe Text) sp1PolicyName = lens _sp1PolicyName (\s a -> s { _sp1PolicyName = a }) --- | The number associated with the specified adjustment type. A positive--- value adds to the current capacity and a negative value removes from the--- current capacity.+-- | The number associated with the specified adjustment type. A positive value+-- adds to the current capacity and a negative value removes from the current+-- capacity. sp1ScalingAdjustment :: Lens' ScalingPolicy (Maybe Int) sp1ScalingAdjustment =     lens _sp1ScalingAdjustment (\s a -> s { _sp1ScalingAdjustment = a })@@ -1132,7 +1130,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 }) @@ -1148,14 +1146,14 @@ data ScheduledUpdateGroupAction = ScheduledUpdateGroupAction     { _sugaAutoScalingGroupName :: Maybe Text     , _sugaDesiredCapacity      :: Maybe Int-    , _sugaEndTime              :: Maybe RFC822+    , _sugaEndTime              :: Maybe ISO8601     , _sugaMaxSize              :: Maybe Int     , _sugaMinSize              :: Maybe Int     , _sugaRecurrence           :: Maybe Text     , _sugaScheduledActionARN   :: Maybe Text     , _sugaScheduledActionName  :: Maybe Text-    , _sugaStartTime            :: Maybe RFC822-    , _sugaTime                 :: Maybe RFC822+    , _sugaStartTime            :: Maybe ISO8601+    , _sugaTime                 :: Maybe ISO8601     } deriving (Eq, Ord, Show)  -- | 'ScheduledUpdateGroupAction' constructor.@@ -1234,15 +1232,17 @@ sugaScheduledActionName =     lens _sugaScheduledActionName (\s a -> s { _sugaScheduledActionName = a }) --- | The time that the action is scheduled to begin. This value 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 time that the action is scheduled to begin. This value 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 --- | Time is deprecated. The time that the action is scheduled to begin. Time--- is an alias for StartTime.+-- | 'Time' is deprecated.+--+-- The time that the action is scheduled to begin. 'Time' is an alias for 'StartTime'. sugaTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) sugaTime = lens _sugaTime (\s a -> s { _sugaTime = a }) . mapping _Time @@ -1298,9 +1298,10 @@ spqAutoScalingGroupName =     lens _spqAutoScalingGroupName (\s a -> s { _spqAutoScalingGroupName = a }) --- | One or more of the following processes: Launch Terminate HealthCheck--- ReplaceUnhealthy AZRebalance AlarmNotification ScheduledActions--- AddToLoadBalancer.+-- | One or more of the following processes:+--+-- Launch Terminate HealthCheck ReplaceUnhealthy AZRebalance AlarmNotification+-- ScheduledActions AddToLoadBalancer spqScalingProcesses :: Lens' ScalingProcessQuery [Text] spqScalingProcesses =     lens _spqScalingProcesses (\s a -> s { _spqScalingProcesses = a })@@ -1348,15 +1349,19 @@     , _ebsIops                = Nothing     } --- | Indicates whether to delete the volume on instance termination. Default:--- true.+-- | Indicates whether to delete the volume on instance termination.+--+-- Default: 'true' ebsDeleteOnTermination :: Lens' Ebs (Maybe Bool) ebsDeleteOnTermination =     lens _ebsDeleteOnTermination (\s a -> s { _ebsDeleteOnTermination = a })  -- | For Provisioned IOPS (SSD) volumes only. The number of I/O operations per--- second (IOPS) to provision for the volume. Valid values: Range is 100 to--- 4000. Default: None.+-- second (IOPS) to provision for the volume.+--+-- Valid values: Range is 100 to 4000.+--+-- Default: None ebsIops :: Lens' Ebs (Maybe Natural) ebsIops = lens _ebsIops (\s a -> s { _ebsIops = a }) . mapping _Nat @@ -1364,16 +1369,24 @@ ebsSnapshotId :: Lens' Ebs (Maybe Text) ebsSnapshotId = lens _ebsSnapshotId (\s a -> s { _ebsSnapshotId = a }) --- | The volume size, in gigabytes. Valid values: If the volume type is io1,--- the minimum size of the volume is 10 GiB. If you specify SnapshotId and--- VolumeSize, VolumeSize must be equal to or larger than the size of the--- snapshot. Default: If you create a volume from a snapshot and you don't--- specify a volume size, the default is the size of the snapshot. Required:--- Required when the volume type is io1.+-- | The volume size, in gigabytes.+--+-- Valid values: If the volume type is 'io1', the minimum size of the volume is+-- 10 GiB. If you specify 'SnapshotId' and 'VolumeSize', 'VolumeSize' must be equal to+-- or larger than the size of the snapshot.+--+-- Default: If you create a volume from a snapshot and you don't specify a+-- volume size, the default is the size of the snapshot.+--+-- Required: Required when the volume type is 'io1'. ebsVolumeSize :: Lens' Ebs (Maybe Natural) ebsVolumeSize = lens _ebsVolumeSize (\s a -> s { _ebsVolumeSize = a }) . mapping _Nat --- | The volume type. Valid values: standard | io1 | gp2 Default: standard.+-- | The volume type.+--+-- Valid values: 'standard | io1 | gp2'+--+-- Default: 'standard' ebsVolumeType :: Lens' Ebs (Maybe Text) ebsVolumeType = lens _ebsVolumeType (\s a -> s { _ebsVolumeType = a }) @@ -1409,9 +1422,10 @@     { _atAdjustmentType = Nothing     } --- | The policy adjustment type. The valid values are ChangeInCapacity,--- ExactCapacity, and PercentChangeInCapacity. For more information, see--- Dynamic Scaling in the Auto Scaling Developer Guide.+-- | The policy adjustment type. The 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 Developer Guide/+-- . atAdjustmentType :: Lens' AdjustmentType (Maybe Text) atAdjustmentType = lens _atAdjustmentType (\s a -> s { _atAdjustmentType = a }) @@ -1504,21 +1518,18 @@ lhAutoScalingGroupName =     lens _lhAutoScalingGroupName (\s a -> s { _lhAutoScalingGroupName = a }) --- | 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 }) --- | The maximum length of time an instance can remain in a Pending:Wait or--- Terminating:Wait state. Currently, this value is set at 48 hours.+-- | The maximum length of time an instance can remain in a 'Pending:Wait' or 'Terminating:Wait' state. Currently, this value is set at 48 hours. lhGlobalTimeout :: Lens' LifecycleHook (Maybe Int) lhGlobalTimeout = lens _lhGlobalTimeout (\s a -> s { _lhGlobalTimeout = a }) --- | The amount of time that can elapse before the lifecycle hook times out.--- When the lifecycle hook times out, Auto Scaling performs the action--- defined in the DefaultResult parameter. You can prevent the lifecycle--- hook from timing out by calling RecordLifecycleActionHeartbeat.+-- | The amount of time that can elapse before the lifecycle hook times out. When+-- the lifecycle hook times out, Auto Scaling performs the action defined in the 'DefaultResult' parameter. 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 })@@ -1528,30 +1539,31 @@ lhLifecycleHookName =     lens _lhLifecycleHookName (\s a -> s { _lhLifecycleHookName = a }) --- | The state of the EC2 instance to which you want to attach the lifecycle--- hook. For a list of lifecycle hook types, see DescribeLifecycleHooks.+-- | The state of the EC2 instance to which you want to attach the lifecycle hook.+-- For a list of lifecycle hook types, see 'DescribeLifecycleHooks'. lhLifecycleTransition :: Lens' LifecycleHook (Maybe Text) lhLifecycleTransition =     lens _lhLifecycleTransition (\s a -> s { _lhLifecycleTransition = a }) --- | Additional information that you want to include any time Auto Scaling--- sends a message to the notification target.+-- | Additional information that you want to include any time Auto Scaling sends a+-- message to the notification target. lhNotificationMetadata :: Lens' LifecycleHook (Maybe Text) lhNotificationMetadata =     lens _lhNotificationMetadata (\s a -> s { _lhNotificationMetadata = 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 ARN of the IAM role that allows the Auto Scaling group to publish to--- the specified notification target.+-- | The ARN of the IAM role that allows the Auto Scaling group to publish to the+-- specified notification target. lhRoleARN :: Lens' LifecycleHook (Maybe Text) lhRoleARN = lens _lhRoleARN (\s a -> s { _lhRoleARN = a }) @@ -1586,9 +1598,9 @@     , _aCause                :: Text     , _aDescription          :: Maybe Text     , _aDetails              :: Maybe Text-    , _aEndTime              :: Maybe RFC822+    , _aEndTime              :: Maybe ISO8601     , _aProgress             :: Maybe Int-    , _aStartTime            :: RFC822+    , _aStartTime            :: ISO8601     , _aStatusCode           :: ScalingActivityStatusCode     , _aStatusMessage        :: Maybe Text     } deriving (Eq, Show)@@ -1791,8 +1803,7 @@     , _fValues = mempty     } --- | 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 }) @@ -1971,8 +1982,11 @@     lens _iLaunchConfigurationName         (\s a -> s { _iLaunchConfigurationName = a }) --- | A description of the current lifecycle state. The Quarantined lifecycle--- state is not used.+-- | A description of the current lifecycle state.+--+-- The 'Quarantined' lifecycle state is not used.+--+-- iLifecycleState :: Lens' Instance LifecycleState iLifecycleState = lens _iLifecycleState (\s a -> s { _iLifecycleState = a }) @@ -2012,19 +2026,22 @@ instance Hashable LifecycleState  instance FromText LifecycleState where-    parser = match "Detached"            Detached-         <|> match "Detaching"           Detaching-         <|> match "EnteringStandby"     EnteringStandby-         <|> match "InService"           InService-         <|> match "Pending"             Pending-         <|> match "Pending:Proceed"     PendingProceed-         <|> match "Pending:Wait"        PendingWait-         <|> match "Quarantined"         Quarantined-         <|> match "Standby"             Standby-         <|> match "Terminated"          Terminated-         <|> match "Terminating"         Terminating-         <|> match "Terminating:Proceed" TerminatingProceed-         <|> match "Terminating:Wait"    TerminatingWait+    parser = takeText >>= \case+        "Detached"            -> pure Detached+        "Detaching"           -> pure Detaching+        "EnteringStandby"     -> pure EnteringStandby+        "InService"           -> pure InService+        "Pending"             -> pure Pending+        "Pending:Proceed"     -> pure PendingProceed+        "Pending:Wait"        -> pure PendingWait+        "Quarantined"         -> pure Quarantined+        "Standby"             -> pure Standby+        "Terminated"          -> pure Terminated+        "Terminating"         -> pure Terminating+        "Terminating:Proceed" -> pure TerminatingProceed+        "Terminating:Wait"    -> pure TerminatingWait+        e                     -> fail $+            "Failure parsing LifecycleState from " ++ show e  instance ToText LifecycleState where     toText = \case@@ -2049,7 +2066,6 @@ instance FromXML LifecycleState where     parseXML = parseXMLText "LifecycleState" - data AutoScalingInstanceDetails = AutoScalingInstanceDetails     { _asidAutoScalingGroupName    :: Text     , _asidAvailabilityZone        :: Text@@ -2103,8 +2119,8 @@     lens _asidAvailabilityZone (\s a -> s { _asidAvailabilityZone = a })  -- | The 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.+-- 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 }) @@ -2118,8 +2134,7 @@     lens _asidLaunchConfigurationName         (\s a -> s { _asidLaunchConfigurationName = a }) --- | The lifecycle state for the instance. For more information, see Auto--- Scaling Instance States in the Auto Scaling Developer Guide.+-- | The lifecycle state for the instance. For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingGroupLifecycle.html#AutoScalingStates Auto ScalingInstance States> in the /Auto Scaling Developer Guide/. asidLifecycleState :: Lens' AutoScalingInstanceDetails Text asidLifecycleState =     lens _asidLifecycleState (\s a -> s { _asidLifecycleState = a })@@ -2159,16 +2174,19 @@ instance Hashable ScalingActivityStatusCode  instance FromText ScalingActivityStatusCode where-    parser = match "Cancelled"                       Cancelled-         <|> match "Failed"                          Failed-         <|> match "InProgress"                      InProgress-         <|> match "MidLifecycleAction"              MidLifecycleAction-         <|> match "PreInService"                    PreInService-         <|> match "Successful"                      Successful-         <|> match "WaitingForELBConnectionDraining" WaitingForELBConnectionDraining-         <|> match "WaitingForInstanceId"            WaitingForInstanceId-         <|> match "WaitingForSpotInstanceId"        WaitingForSpotInstanceId-         <|> match "WaitingForSpotInstanceRequestId" WaitingForSpotInstanceRequestId+    parser = takeText >>= \case+        "Cancelled"                       -> pure Cancelled+        "Failed"                          -> pure Failed+        "InProgress"                      -> pure InProgress+        "MidLifecycleAction"              -> pure MidLifecycleAction+        "PreInService"                    -> pure PreInService+        "Successful"                      -> pure Successful+        "WaitingForELBConnectionDraining" -> pure WaitingForELBConnectionDraining+        "WaitingForInstanceId"            -> pure WaitingForInstanceId+        "WaitingForSpotInstanceId"        -> pure WaitingForSpotInstanceId+        "WaitingForSpotInstanceRequestId" -> pure WaitingForSpotInstanceRequestId+        e                                 -> fail $+            "Failure parsing ScalingActivityStatusCode from " ++ show e  instance ToText ScalingActivityStatusCode where     toText = \case@@ -2189,4 +2207,3 @@  instance FromXML ScalingActivityStatusCode where     parseXML = parseXMLText "ScalingActivityStatusCode"-
gen/Network/AWS/AutoScaling/UpdateAutoScalingGroup.hs view
@@ -20,25 +20,30 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Updates the configuration for the specified AutoScalingGroup. To update an--- Auto Scaling group with a launch configuration that has the--- InstanceMonitoring flag set to False, you must first ensure that collection--- of group metrics is disabled. Otherwise, calls to UpdateAutoScalingGroup--- will fail. If you have previously enabled group metrics collection, you can--- disable collection of all group metrics by calling--- 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. If a new value is specified for MinSize--- without specifying the value for DesiredCapacity, and if the new MinSize is--- larger than the current size of the Auto Scaling group, there will be an--- implicit call to SetDesiredCapacity to set the group to the new MinSize. If--- a new value is specified for MaxSize without specifying the value for--- DesiredCapacity, and the new MaxSize is smaller than the current size of--- the Auto Scaling group, there will be an implicit call to--- SetDesiredCapacity to set the group to the new MaxSize. All other optional--- parameters are left unchanged if not passed in the request.+-- | Updates the configuration for the specified 'AutoScalingGroup'. --+-- To update an Auto Scaling group with a launch configuration that has the 'InstanceMonitoring' flag set to 'False', you must first ensure that collection of group metrics is+-- disabled. Otherwise, calls to 'UpdateAutoScalingGroup' will fail. If you have+-- previously enabled group metrics collection, you can disable collection of+-- all group metrics by calling '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.+--+-- If a new value is specified for /MinSize/ without specifying the value for /DesiredCapacity/, and if the new /MinSize/ is larger than the current size of the Auto Scaling+-- group, there will be an implicit call to 'SetDesiredCapacity' to set the group+-- to the new /MinSize/.+--+-- If a new value is specified for /MaxSize/ without specifying the value for /DesiredCapacity/, and the new /MaxSize/ is smaller than the current size of the Auto Scaling+-- group, there will be an implicit call to 'SetDesiredCapacity' to set the group+-- to the new /MaxSize/.+--+-- All other optional parameters are left unchanged if not passed in the+-- request.+--+--+-- -- <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_UpdateAutoScalingGroup.html> module Network.AWS.AutoScaling.UpdateAutoScalingGroup     (@@ -145,31 +150,30 @@         . _List1  -- | The amount of time, in seconds, after a scaling activity completes before--- another scaling activity can start. For more information, see--- Understanding Auto Scaling Cooldowns.+-- another scaling activity can start. For more information, see <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html UnderstandingAuto Scaling Cooldowns>. uasgDefaultCooldown :: Lens' UpdateAutoScalingGroup (Maybe Int) uasgDefaultCooldown =     lens _uasgDefaultCooldown (\s a -> s { _uasgDefaultCooldown = a }) --- | The number of EC2 instances that should be running in the Auto Scaling--- group. This value 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.+-- | The number of EC2 instances that should be running in the Auto Scaling group.+-- This value 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. uasgDesiredCapacity :: Lens' UpdateAutoScalingGroup (Maybe Int) uasgDesiredCapacity =     lens _uasgDesiredCapacity (\s a -> s { _uasgDesiredCapacity = a }) --- | The amount of time, in second, that Auto Scaling waits before checking--- the health status of an instance. The grace period begins when the--- instance passes System Status and the Instance Status checks from Amazon--- EC2. For more information, see DescribeInstanceStatus.+-- | The amount of time, in second, that Auto Scaling waits before checking the+-- health status of an instance. The grace period begins when the instance+-- passes System Status and the Instance Status checks from Amazon EC2. For more+-- information, see <http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeInstanceStatus.html DescribeInstanceStatus>. uasgHealthCheckGracePeriod :: Lens' UpdateAutoScalingGroup (Maybe Int) uasgHealthCheckGracePeriod =     lens _uasgHealthCheckGracePeriod         (\s a -> s { _uasgHealthCheckGracePeriod = a })  -- | The type of health check for the instances in the Auto Scaling group. The--- health check type can either be EC2 for Amazon EC2 or ELB for Elastic--- Load Balancing.+-- health check type can either be 'EC2' for Amazon EC2 or 'ELB' for Elastic Load+-- Balancing. uasgHealthCheckType :: Lens' UpdateAutoScalingGroup (Maybe Text) uasgHealthCheckType =     lens _uasgHealthCheckType (\s a -> s { _uasgHealthCheckType = a })@@ -188,27 +192,30 @@ uasgMinSize :: Lens' UpdateAutoScalingGroup (Maybe Int) uasgMinSize = lens _uasgMinSize (\s a -> s { _uasgMinSize = a }) --- | The name of the placement group into which you'll launch your instances,--- if any. For more information, see Placement Groups.+-- | 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>. uasgPlacementGroup :: Lens' UpdateAutoScalingGroup (Maybe Text) uasgPlacementGroup =     lens _uasgPlacementGroup (\s a -> s { _uasgPlacementGroup = a })  -- | 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 Choosing a Termination--- Policy for Your Auto Scaling Group in the Auto Scaling Developer Guide.+-- 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/us-termination-policy.html Choosing a Termination Policy for Your AutoScaling Group> in the /Auto Scaling Developer Guide/. uasgTerminationPolicies :: Lens' UpdateAutoScalingGroup [Text] uasgTerminationPolicies =     lens _uasgTerminationPolicies (\s a -> s { _uasgTerminationPolicies = a })         . _List --- | The subnet identifier for the Amazon VPC connection, if applicable. 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 Auto Scaling and Amazon VPC in the Auto Scaling--- Developer Guide.+-- | The subnet identifier for the Amazon VPC connection, if applicable. 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/autoscalingsubnets.html Auto Scaling and Amazon VPC> in the /Auto ScalingDeveloper Guide/. uasgVPCZoneIdentifier :: Lens' UpdateAutoScalingGroup (Maybe Text) uasgVPCZoneIdentifier =     lens _uasgVPCZoneIdentifier (\s a -> s { _uasgVPCZoneIdentifier = a })