amazonka-autoscaling 1.3.3.1 → 1.3.4
raw patch · 12 files changed
+66/−43 lines, 12 filesdep ~amazonka-autoscalingdep ~amazonka-coredep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-autoscaling, amazonka-core, amazonka-test
API changes (from Hackage documentation)
+ Network.AWS.AutoScaling: ebsEncrypted :: Lens' EBS (Maybe Bool)
+ Network.AWS.AutoScaling.Types: ebsEncrypted :: Lens' EBS (Maybe Bool)
Files
- README.md +1/−1
- amazonka-autoscaling.cabal +5/−5
- gen/Network/AWS/AutoScaling.hs +1/−0
- gen/Network/AWS/AutoScaling/CreateAutoScalingGroup.hs +3/−3
- gen/Network/AWS/AutoScaling/CreateLaunchConfiguration.hs +1/−1
- gen/Network/AWS/AutoScaling/DisableMetricsCollection.hs +2/−2
- gen/Network/AWS/AutoScaling/EnableMetricsCollection.hs +2/−2
- gen/Network/AWS/AutoScaling/PutLifecycleHook.hs +5/−6
- gen/Network/AWS/AutoScaling/TerminateInstanceInAutoScalingGroup.hs +3/−3
- gen/Network/AWS/AutoScaling/Types.hs +1/−0
- gen/Network/AWS/AutoScaling/Types/Product.hs +35/−17
- gen/Network/AWS/AutoScaling/UpdateAutoScalingGroup.hs +7/−3
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.3.3.1`+`1.3.4` ## Description
amazonka-autoscaling.cabal view
@@ -1,5 +1,5 @@ name: amazonka-autoscaling-version: 1.3.3.1+version: 1.3.4 synopsis: Amazon Auto Scaling SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -102,7 +102,7 @@ , Network.AWS.AutoScaling.Types.Sum build-depends:- amazonka-core == 1.3.3.*+ amazonka-core == 1.3.4.* , base >= 4.7 && < 5 test-suite amazonka-autoscaling-test@@ -122,9 +122,9 @@ , Test.AWS.AutoScaling.Internal build-depends:- amazonka-core == 1.3.3.*- , amazonka-test == 1.3.3.*- , amazonka-autoscaling == 1.3.3.*+ amazonka-core == 1.3.4.*+ , amazonka-test == 1.3.4.*+ , amazonka-autoscaling == 1.3.4.* , base , bytestring , lens
gen/Network/AWS/AutoScaling.hs view
@@ -276,6 +276,7 @@ , ebsDeleteOnTermination , ebsVolumeSize , ebsIOPS+ , ebsEncrypted , ebsVolumeType , ebsSnapshotId
gen/Network/AWS/AutoScaling/CreateAutoScalingGroup.hs view
@@ -195,8 +195,7 @@ -- | The amount of time, in seconds, after a scaling activity completes -- before another scaling activity can start. ----- If this parameter is not specified, the default value is 300. For more--- information, see+-- The default is 300. For more information, see -- <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html Understanding Auto Scaling Cooldowns> -- in the /Auto Scaling Developer Guide/. casgDefaultCooldown :: Lens' CreateAutoScalingGroup (Maybe Int)@@ -224,7 +223,8 @@ -- -- 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>.+-- <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/healthcheck.html Health Checks>+-- in the /Auto Scaling Developer Guide/. casgHealthCheckType :: Lens' CreateAutoScalingGroup (Maybe Text) casgHealthCheckType = lens _casgHealthCheckType (\ s a -> s{_casgHealthCheckType = a});
gen/Network/AWS/AutoScaling/CreateLaunchConfiguration.hs view
@@ -243,7 +243,7 @@ -- | The instance type of the EC2 instance. For information about available -- instance types, see -- <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes Available Instance Types>--- in the /Amazon Elastic Cloud Compute User Guide./+-- in the /Amazon Elastic Compute Cloud User Guide./ clcInstanceType :: Lens' CreateLaunchConfiguration (Maybe Text) clcInstanceType = lens _clcInstanceType (\ s a -> s{_clcInstanceType = a});
gen/Network/AWS/AutoScaling/DisableMetricsCollection.hs view
@@ -64,8 +64,8 @@ , _dmcAutoScalingGroupName = pAutoScalingGroupName_ } --- | One or more metrics. If you omit this parameter, all metrics are--- disabled.+-- | One or more of the following metrics. If you omit this parameter, all+-- metrics are disabled. -- -- - 'GroupMinSize' --
gen/Network/AWS/AutoScaling/EnableMetricsCollection.hs view
@@ -73,8 +73,8 @@ , _emcGranularity = pGranularity_ } --- | One or more metrics. If you omit this parameter, all metrics are--- enabled.+-- | One or more of the following metrics. If you omit this parameter, all+-- metrics are enabled. -- -- - 'GroupMinSize' --
gen/Network/AWS/AutoScaling/PutLifecycleHook.hs view
@@ -133,12 +133,11 @@ 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).+-- | 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 is 3600 seconds (1 hour). plhHeartbeatTimeout :: Lens' PutLifecycleHook (Maybe Int) plhHeartbeatTimeout = lens _plhHeartbeatTimeout (\ s a -> s{_plhHeartbeatTimeout = a});
gen/Network/AWS/AutoScaling/TerminateInstanceInAutoScalingGroup.hs view
@@ -21,7 +21,7 @@ -- Terminates the specified instance and optionally adjusts the desired -- group size. ----- This call simply makes a termination request. The instances is not+-- This call simply makes a termination request. The instance is not -- terminated immediately. -- -- /See:/ <http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_TerminateInstanceInAutoScalingGroup.html AWS API Reference> for TerminateInstanceInAutoScalingGroup.@@ -75,8 +75,8 @@ tiiasgInstanceId :: Lens' TerminateInstanceInAutoScalingGroup Text tiiasgInstanceId = lens _tiiasgInstanceId (\ s a -> s{_tiiasgInstanceId = a}); --- | If 'true', terminating this instance also decrements the size of the--- Auto Scaling group.+-- | If 'true', terminating the instance also decrements the size of the Auto+-- Scaling group. tiiasgShouldDecrementDesiredCapacity :: Lens' TerminateInstanceInAutoScalingGroup Bool tiiasgShouldDecrementDesiredCapacity = lens _tiiasgShouldDecrementDesiredCapacity (\ s a -> s{_tiiasgShouldDecrementDesiredCapacity = a});
gen/Network/AWS/AutoScaling/Types.hs view
@@ -102,6 +102,7 @@ , ebsDeleteOnTermination , ebsVolumeSize , ebsIOPS+ , ebsEncrypted , ebsVolumeType , ebsSnapshotId
gen/Network/AWS/AutoScaling/Types/Product.hs view
@@ -347,7 +347,8 @@ -- | 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>.+-- <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement Groups>+-- in the /Amazon Elastic Compute Cloud User Guide/. asgPlacementGroup :: Lens' AutoScalingGroup (Maybe Text) asgPlacementGroup = lens _asgPlacementGroup (\ s a -> s{_asgPlacementGroup = a}); @@ -548,7 +549,7 @@ , _bdmDeviceName = pDeviceName_ } --- | The name of the virtual device, 'ephemeral0' to 'ephemeral3'.+-- | The name of the virtual device (for example, 'ephemeral0'). bdmVirtualName :: Lens' BlockDeviceMapping (Maybe Text) bdmVirtualName = lens _bdmVirtualName (\ s a -> s{_bdmVirtualName = a}); @@ -590,6 +591,7 @@ { _ebsDeleteOnTermination :: !(Maybe Bool) , _ebsVolumeSize :: !(Maybe Nat) , _ebsIOPS :: !(Maybe Nat)+ , _ebsEncrypted :: !(Maybe Bool) , _ebsVolumeType :: !(Maybe Text) , _ebsSnapshotId :: !(Maybe Text) } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -604,6 +606,8 @@ -- -- * 'ebsIOPS' --+-- * 'ebsEncrypted'+-- -- * 'ebsVolumeType' -- -- * 'ebsSnapshotId'@@ -614,6 +618,7 @@ { _ebsDeleteOnTermination = Nothing , _ebsVolumeSize = Nothing , _ebsIOPS = Nothing+ , _ebsEncrypted = Nothing , _ebsVolumeType = Nothing , _ebsSnapshotId = Nothing }@@ -640,12 +645,21 @@ -- | 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 ebsIOPS :: Lens' EBS (Maybe Natural) ebsIOPS = lens _ebsIOPS (\ s a -> s{_ebsIOPS = a}) . mapping _Nat; +-- | Indicates whether the volume should be encrypted. Encrypted EBS volumes+-- must be attached to instances that support Amazon EBS encryption.+-- Volumes that are created from encrypted snapshots are automatically+-- encrypted. There is no way to create an encrypted volume from an+-- unencrypted snapshot or an unencrypted volume from an encrypted+-- snapshot. For more information, see+-- <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html Amazon EBS Encryption>+-- in the /Amazon Elastic Compute Cloud User Guide/.+ebsEncrypted :: Lens' EBS (Maybe Bool)+ebsEncrypted = lens _ebsEncrypted (\ s a -> s{_ebsEncrypted = a});+ -- | The volume type. -- -- Valid values: 'standard | io1 | gp2'@@ -664,6 +678,7 @@ (x .@? "DeleteOnTermination") <*> (x .@? "VolumeSize") <*> (x .@? "Iops")+ <*> (x .@? "Encrypted") <*> (x .@? "VolumeType") <*> (x .@? "SnapshotId") @@ -672,6 +687,7 @@ = mconcat ["DeleteOnTermination" =: _ebsDeleteOnTermination, "VolumeSize" =: _ebsVolumeSize, "Iops" =: _ebsIOPS,+ "Encrypted" =: _ebsEncrypted, "VolumeType" =: _ebsVolumeType, "SnapshotId" =: _ebsSnapshotId] @@ -702,7 +718,7 @@ emGranularity :: Lens' EnabledMetric (Maybe Text) emGranularity = lens _emGranularity (\ s a -> s{_emGranularity = a}); --- | The name of the metric.+-- | One of the following metrics: -- -- - 'GroupMinSize' --@@ -963,8 +979,8 @@ , _lcCreatedTime = _Time # pCreatedTime_ } --- | Specifies whether the instances are associated with a public IP address--- ('true') or not ('false').+-- | [EC2-VPC] Indicates whether to assign a public IP address to each+-- instance. lcAssociatePublicIPAddress :: Lens' LaunchConfiguration (Maybe Bool) lcAssociatePublicIPAddress = lens _lcAssociatePublicIPAddress (\ s a -> s{_lcAssociatePublicIPAddress = a}); @@ -1156,10 +1172,11 @@ lhLifecycleHookName :: Lens' LifecycleHook (Maybe Text) lhLifecycleHookName = lens _lhLifecycleHookName (\ s a -> s{_lhLifecycleHookName = 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 maximum time, in seconds, that can elapse before the lifecycle hook+-- times out. The default is 3600 seconds (1 hour). When the lifecycle hook+-- times out, Auto Scaling performs the 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}); @@ -1172,8 +1189,9 @@ lhNotificationMetadata :: Lens' LifecycleHook (Maybe Text) lhNotificationMetadata = lens _lhNotificationMetadata (\ s a -> s{_lhNotificationMetadata = a}); --- | The maximum length of time an instance can remain in a 'Pending:Wait' or--- 'Terminating:Wait' state. Currently, the maximum is set to 48 hours.+-- | The maximum time, in seconds, that an instance can remain in a+-- 'Pending:Wait' or 'Terminating:Wait' state. The default is 172800+-- seconds (48 hours). lhGlobalTimeout :: Lens' LifecycleHook (Maybe Int) lhGlobalTimeout = lens _lhGlobalTimeout (\ s a -> s{_lhGlobalTimeout = a}); @@ -1239,7 +1257,7 @@ , _lbsLoadBalancerName = Nothing } --- | The state of the load balancer.+-- | One of the following load balancer states: -- -- - 'Adding' - The instances in the group are being registered with the -- load balancer.@@ -1286,7 +1304,7 @@ { _mctMetric = Nothing } --- | The metric.+-- | One of the following metrics: -- -- - 'GroupMinSize' --@@ -1374,7 +1392,7 @@ ncAutoScalingGroupName :: Lens' NotificationConfiguration (Maybe Text) ncAutoScalingGroupName = lens _ncAutoScalingGroupName (\ s a -> s{_ncAutoScalingGroupName = a}); --- | The types of events for an action to start.+-- | One of the following event notification types: -- -- - 'autoscaling:EC2_INSTANCE_LAUNCH' --@@ -1419,7 +1437,7 @@ { _ptProcessName = pProcessName_ } --- | The name of the process.+-- | One of the following processes: -- -- - 'Launch' --
gen/Network/AWS/AutoScaling/UpdateAutoScalingGroup.hs view
@@ -152,7 +152,9 @@ -- | The amount of time, in seconds, that Auto Scaling waits before checking -- the health status of an instance. The grace period begins when the -- instance passes the system status and instance status checks from Amazon--- EC2. For more information, see < >.+-- EC2. For more information, see+-- <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/healthcheck.html Health Checks>+-- in the /Auto Scaling Developer Guide/. uasgHealthCheckGracePeriod :: Lens' UpdateAutoScalingGroup (Maybe Int) uasgHealthCheckGracePeriod = lens _uasgHealthCheckGracePeriod (\ s a -> s{_uasgHealthCheckGracePeriod = a}); @@ -171,7 +173,8 @@ -- | The amount of time, in seconds, after a scaling activity completes -- before another scaling activity can start. For more information, see--- <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html Understanding Auto Scaling Cooldowns>.+-- <http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html Understanding Auto Scaling Cooldowns>+-- in the /Auto Scaling Developer Guide/. uasgDefaultCooldown :: Lens' UpdateAutoScalingGroup (Maybe Int) uasgDefaultCooldown = lens _uasgDefaultCooldown (\ s a -> s{_uasgDefaultCooldown = a}); @@ -205,7 +208,8 @@ -- | 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>.+-- <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement Groups>+-- in the /Amazon Elastic Compute Cloud User Guide/. uasgPlacementGroup :: Lens' UpdateAutoScalingGroup (Maybe Text) uasgPlacementGroup = lens _uasgPlacementGroup (\ s a -> s{_uasgPlacementGroup = a});