aws-sdk-autoscaling 1.0.0.rc8 → 1.0.0.rc9

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,9 +80,7 @@ module Aws::AutoScaling
80
80
  # @option options [Integer] :desired_capacity
81
81
  # The number of EC2 instances that should be running in the group. This
82
82
  # number must be greater than or equal to the minimum size of the group
83
- # and less than or equal to the maximum size of the group. If you do not
84
- # specify a desired capacity, the default is the minimum size of the
85
- # group.
83
+ # and less than or equal to the maximum size of the group.
86
84
  # @option options [Integer] :default_cooldown
87
85
  # The amount of time, in seconds, after a scaling activity completes
88
86
  # before another scaling activity can start. The default is 300.
@@ -231,12 +229,8 @@ module Aws::AutoScaling
231
229
  # the scope of your AWS account.
232
230
  # @option options [String] :image_id
233
231
  # The ID of the Amazon Machine Image (AMI) to use to launch your EC2
234
- # instances.
235
- #
236
- # If you do not specify `InstanceId`, you must specify `ImageId`.
237
- #
238
- # For more information, see [Finding an AMI][1] in the *Amazon Elastic
239
- # Compute Cloud User Guide*.
232
+ # instances. For more information, see [Finding an AMI][1] in the
233
+ # *Amazon Elastic Compute Cloud User Guide*.
240
234
  #
241
235
  #
242
236
  #
@@ -292,12 +286,10 @@ module Aws::AutoScaling
292
286
  #
293
287
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
294
288
  # @option options [String] :instance_id
295
- # The ID of the instance to use to create the launch configuration. The
296
- # new launch configuration derives attributes from the instance, with
297
- # the exception of the block device mapping.
289
+ # The ID of the instance to use to create the launch configuration.
298
290
  #
299
- # If you do not specify `InstanceId`, you must specify both `ImageId`
300
- # and `InstanceType`.
291
+ # The new launch configuration derives attributes from the instance,
292
+ # with the exception of the block device mapping.
301
293
  #
302
294
  # To create a launch configuration with a block device mapping or
303
295
  # override any other instance attributes, specify them as part of the
@@ -310,12 +302,9 @@ module Aws::AutoScaling
310
302
  #
311
303
  # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/create-lc-with-instanceID.html
312
304
  # @option options [String] :instance_type
313
- # The instance type of the EC2 instance.
314
- #
315
- # If you do not specify `InstanceId`, you must specify `InstanceType`.
316
- #
317
- # For information about available instance types, see [Available
318
- # Instance Types][1] in the *Amazon Elastic Compute Cloud User Guide.*
305
+ # The instance type of the EC2 instance. For information about available
306
+ # instance types, see [ Available Instance Types][1] in the *Amazon
307
+ # Elastic Compute Cloud User Guide.*
319
308
  #
320
309
  #
321
310
  #
@@ -334,7 +323,7 @@ module Aws::AutoScaling
334
323
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html
335
324
  # @option options [Types::InstanceMonitoring] :instance_monitoring
336
325
  # Enables detailed monitoring (`true`) or basic monitoring (`false`) for
337
- # the Auto Scaling instances. The default is `true`.
326
+ # the Auto Scaling instances.
338
327
  # @option options [String] :spot_price
339
328
  # The maximum hourly price to be paid for any Spot Instance launched to
340
329
  # fulfill the request. Spot Instances are launched when the price you
@@ -83,7 +83,7 @@ module Aws::AutoScaling
83
83
  end
84
84
 
85
85
  # The amount of time, in seconds, after a scaling activity completes
86
- # before any further dynamic scaling activities can start.
86
+ # before any further trigger-related scaling activities can start.
87
87
  # @return [Integer]
88
88
  def cooldown
89
89
  data.cooldown
@@ -116,6 +116,12 @@ module Aws::AutoScaling
116
116
  data.alarms
117
117
  end
118
118
 
119
+ # A target tracking policy.
120
+ # @return [Types::TargetTrackingConfiguration]
121
+ def target_tracking_configuration
122
+ data.target_tracking_configuration
123
+ end
124
+
119
125
  # @!endgroup
120
126
 
121
127
  # @return [Client]
@@ -8,6 +8,8 @@
8
8
  module Aws::AutoScaling
9
9
  module Types
10
10
 
11
+ # Contains the output of DescribeScalingActivities.
12
+ #
11
13
  # @!attribute [rw] activities
12
14
  # The scaling activities. Activities are sorted by start time.
13
15
  # Activities still in progress are described first.
@@ -87,6 +89,8 @@ module Aws::AutoScaling
87
89
  include Aws::Structure
88
90
  end
89
91
 
92
+ # Contains the output of TerminateInstancesInAutoScalingGroup.
93
+ #
90
94
  # @!attribute [rw] activity
91
95
  # A scaling activity.
92
96
  # @return [Types::Activity]
@@ -137,6 +141,8 @@ module Aws::AutoScaling
137
141
  include Aws::Structure
138
142
  end
139
143
 
144
+ # Contains the parameters for AttachInstances.
145
+ #
140
146
  # @note When making an API call, you may pass AttachInstancesQuery
141
147
  # data as a hash:
142
148
  #
@@ -165,6 +171,8 @@ module Aws::AutoScaling
165
171
  #
166
172
  class AttachLoadBalancerTargetGroupsResultType < Aws::EmptyStructure; end
167
173
 
174
+ # Contains the parameters for AttachLoadBalancerTargetGroups.
175
+ #
168
176
  # @note When making an API call, you may pass AttachLoadBalancerTargetGroupsType
169
177
  # data as a hash:
170
178
  #
@@ -189,10 +197,14 @@ module Aws::AutoScaling
189
197
  include Aws::Structure
190
198
  end
191
199
 
200
+ # Contains the output of AttachLoadBalancers.
201
+ #
192
202
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersResultType AWS API Documentation
193
203
  #
194
204
  class AttachLoadBalancersResultType < Aws::EmptyStructure; end
195
205
 
206
+ # Contains the parameters for AttachLoadBalancers.
207
+ #
196
208
  # @note When making an API call, you may pass AttachLoadBalancersType
197
209
  # data as a hash:
198
210
  #
@@ -352,6 +364,8 @@ module Aws::AutoScaling
352
364
  include Aws::Structure
353
365
  end
354
366
 
367
+ # Contains the parameters for DescribeAutoScalingGroups.
368
+ #
355
369
  # @note When making an API call, you may pass AutoScalingGroupNamesType
356
370
  # data as a hash:
357
371
  #
@@ -385,6 +399,8 @@ module Aws::AutoScaling
385
399
  include Aws::Structure
386
400
  end
387
401
 
402
+ # Contains the output for DescribeAutoScalingGroups.
403
+ #
388
404
  # @!attribute [rw] auto_scaling_groups
389
405
  # The groups.
390
406
  # @return [Array<Types::AutoScalingGroup>]
@@ -456,6 +472,8 @@ module Aws::AutoScaling
456
472
  include Aws::Structure
457
473
  end
458
474
 
475
+ # Contains the output of DescribeAutoScalingInstances.
476
+ #
459
477
  # @!attribute [rw] auto_scaling_instances
460
478
  # The instances.
461
479
  # @return [Array<Types::AutoScalingInstanceDetails>]
@@ -523,10 +541,14 @@ module Aws::AutoScaling
523
541
  include Aws::Structure
524
542
  end
525
543
 
544
+ # Contains the output of CompleteLifecycleAction.
545
+ #
526
546
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionAnswer AWS API Documentation
527
547
  #
528
548
  class CompleteLifecycleActionAnswer < Aws::EmptyStructure; end
529
549
 
550
+ # Contains the parameters for CompleteLifecycleAction.
551
+ #
530
552
  # @note When making an API call, you may pass CompleteLifecycleActionType
531
553
  # data as a hash:
532
554
  #
@@ -573,6 +595,8 @@ module Aws::AutoScaling
573
595
  include Aws::Structure
574
596
  end
575
597
 
598
+ # Contains the parameters for CreateAutoScalingGroup.
599
+ #
576
600
  # @note When making an API call, you may pass CreateAutoScalingGroupType
577
601
  # data as a hash:
578
602
  #
@@ -643,9 +667,7 @@ module Aws::AutoScaling
643
667
  # @!attribute [rw] desired_capacity
644
668
  # The number of EC2 instances that should be running in the group.
645
669
  # This number must be greater than or equal to the minimum size of the
646
- # group and less than or equal to the maximum size of the group. If
647
- # you do not specify a desired capacity, the default is the minimum
648
- # size of the group.
670
+ # group and less than or equal to the maximum size of the group.
649
671
  # @return [Integer]
650
672
  #
651
673
  # @!attribute [rw] default_cooldown
@@ -788,6 +810,8 @@ module Aws::AutoScaling
788
810
  include Aws::Structure
789
811
  end
790
812
 
813
+ # Contains the parameters for CreateLaunchConfiguration.
814
+ #
791
815
  # @note When making an API call, you may pass CreateLaunchConfigurationType
792
816
  # data as a hash:
793
817
  #
@@ -835,12 +859,8 @@ module Aws::AutoScaling
835
859
  #
836
860
  # @!attribute [rw] image_id
837
861
  # The ID of the Amazon Machine Image (AMI) to use to launch your EC2
838
- # instances.
839
- #
840
- # If you do not specify `InstanceId`, you must specify `ImageId`.
841
- #
842
- # For more information, see [Finding an AMI][1] in the *Amazon Elastic
843
- # Compute Cloud User Guide*.
862
+ # instances. For more information, see [Finding an AMI][1] in the
863
+ # *Amazon Elastic Compute Cloud User Guide*.
844
864
  #
845
865
  #
846
866
  #
@@ -910,12 +930,10 @@ module Aws::AutoScaling
910
930
  #
911
931
  # @!attribute [rw] instance_id
912
932
  # The ID of the instance to use to create the launch configuration.
933
+ #
913
934
  # The new launch configuration derives attributes from the instance,
914
935
  # with the exception of the block device mapping.
915
936
  #
916
- # If you do not specify `InstanceId`, you must specify both `ImageId`
917
- # and `InstanceType`.
918
- #
919
937
  # To create a launch configuration with a block device mapping or
920
938
  # override any other instance attributes, specify them as part of the
921
939
  # same request.
@@ -929,12 +947,9 @@ module Aws::AutoScaling
929
947
  # @return [String]
930
948
  #
931
949
  # @!attribute [rw] instance_type
932
- # The instance type of the EC2 instance.
933
- #
934
- # If you do not specify `InstanceId`, you must specify `InstanceType`.
935
- #
936
- # For information about available instance types, see [Available
937
- # Instance Types][1] in the *Amazon Elastic Compute Cloud User Guide.*
950
+ # The instance type of the EC2 instance. For information about
951
+ # available instance types, see [ Available Instance Types][1] in the
952
+ # *Amazon Elastic Compute Cloud User Guide.*
938
953
  #
939
954
  #
940
955
  #
@@ -961,7 +976,7 @@ module Aws::AutoScaling
961
976
  #
962
977
  # @!attribute [rw] instance_monitoring
963
978
  # Enables detailed monitoring (`true`) or basic monitoring (`false`)
964
- # for the Auto Scaling instances. The default is `true`.
979
+ # for the Auto Scaling instances.
965
980
  # @return [Types::InstanceMonitoring]
966
981
  #
967
982
  # @!attribute [rw] spot_price
@@ -1072,6 +1087,8 @@ module Aws::AutoScaling
1072
1087
  include Aws::Structure
1073
1088
  end
1074
1089
 
1090
+ # Contains the parameters for CreateOrUpdateTags.
1091
+ #
1075
1092
  # @note When making an API call, you may pass CreateOrUpdateTagsType
1076
1093
  # data as a hash:
1077
1094
  #
@@ -1098,6 +1115,57 @@ module Aws::AutoScaling
1098
1115
  include Aws::Structure
1099
1116
  end
1100
1117
 
1118
+ # Configures a customized metric for a target tracking policy.
1119
+ #
1120
+ # @note When making an API call, you may pass CustomizedMetricSpecification
1121
+ # data as a hash:
1122
+ #
1123
+ # {
1124
+ # metric_name: "MetricName", # required
1125
+ # namespace: "MetricNamespace", # required
1126
+ # dimensions: [
1127
+ # {
1128
+ # name: "MetricDimensionName", # required
1129
+ # value: "MetricDimensionValue", # required
1130
+ # },
1131
+ # ],
1132
+ # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
1133
+ # unit: "MetricUnit",
1134
+ # }
1135
+ #
1136
+ # @!attribute [rw] metric_name
1137
+ # The name of the metric.
1138
+ # @return [String]
1139
+ #
1140
+ # @!attribute [rw] namespace
1141
+ # The namespace of the metric.
1142
+ # @return [String]
1143
+ #
1144
+ # @!attribute [rw] dimensions
1145
+ # The dimensions of the metric.
1146
+ # @return [Array<Types::MetricDimension>]
1147
+ #
1148
+ # @!attribute [rw] statistic
1149
+ # The statistic of the metric.
1150
+ # @return [String]
1151
+ #
1152
+ # @!attribute [rw] unit
1153
+ # The unit of the metric.
1154
+ # @return [String]
1155
+ #
1156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CustomizedMetricSpecification AWS API Documentation
1157
+ #
1158
+ class CustomizedMetricSpecification < Struct.new(
1159
+ :metric_name,
1160
+ :namespace,
1161
+ :dimensions,
1162
+ :statistic,
1163
+ :unit)
1164
+ include Aws::Structure
1165
+ end
1166
+
1167
+ # Contains the parameters for DeleteAutoScalingGroup.
1168
+ #
1101
1169
  # @note When making an API call, you may pass DeleteAutoScalingGroupType
1102
1170
  # data as a hash:
1103
1171
  #
@@ -1125,10 +1193,14 @@ module Aws::AutoScaling
1125
1193
  include Aws::Structure
1126
1194
  end
1127
1195
 
1196
+ # Contains the output of DeleteLifecycleHook.
1197
+ #
1128
1198
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHookAnswer AWS API Documentation
1129
1199
  #
1130
1200
  class DeleteLifecycleHookAnswer < Aws::EmptyStructure; end
1131
1201
 
1202
+ # Contains the parameters for DeleteLifecycleHook.
1203
+ #
1132
1204
  # @note When making an API call, you may pass DeleteLifecycleHookType
1133
1205
  # data as a hash:
1134
1206
  #
@@ -1153,6 +1225,8 @@ module Aws::AutoScaling
1153
1225
  include Aws::Structure
1154
1226
  end
1155
1227
 
1228
+ # Contains the parameters for DeleteNotificationConfiguration.
1229
+ #
1156
1230
  # @note When making an API call, you may pass DeleteNotificationConfigurationType
1157
1231
  # data as a hash:
1158
1232
  #
@@ -1178,6 +1252,8 @@ module Aws::AutoScaling
1178
1252
  include Aws::Structure
1179
1253
  end
1180
1254
 
1255
+ # Contains the parameters for DeletePolicy.
1256
+ #
1181
1257
  # @note When making an API call, you may pass DeletePolicyType
1182
1258
  # data as a hash:
1183
1259
  #
@@ -1202,6 +1278,8 @@ module Aws::AutoScaling
1202
1278
  include Aws::Structure
1203
1279
  end
1204
1280
 
1281
+ # Contains the parameters for DeleteScheduledAction.
1282
+ #
1205
1283
  # @note When making an API call, you may pass DeleteScheduledActionType
1206
1284
  # data as a hash:
1207
1285
  #
@@ -1226,6 +1304,8 @@ module Aws::AutoScaling
1226
1304
  include Aws::Structure
1227
1305
  end
1228
1306
 
1307
+ # Contains the parameters for DeleteTags.
1308
+ #
1229
1309
  # @note When making an API call, you may pass DeleteTagsType
1230
1310
  # data as a hash:
1231
1311
  #
@@ -1252,6 +1332,8 @@ module Aws::AutoScaling
1252
1332
  include Aws::Structure
1253
1333
  end
1254
1334
 
1335
+ # Contains the parameters for DescribeAccountLimits.
1336
+ #
1255
1337
  # @!attribute [rw] max_number_of_auto_scaling_groups
1256
1338
  # The maximum number of groups allowed for your AWS account. The
1257
1339
  # default limit is 20 per region.
@@ -1280,6 +1362,8 @@ module Aws::AutoScaling
1280
1362
  include Aws::Structure
1281
1363
  end
1282
1364
 
1365
+ # Contains the parameters for DescribeAdjustmentTypes.
1366
+ #
1283
1367
  # @!attribute [rw] adjustment_types
1284
1368
  # The policy adjustment types.
1285
1369
  # @return [Array<Types::AdjustmentType>]
@@ -1291,6 +1375,8 @@ module Aws::AutoScaling
1291
1375
  include Aws::Structure
1292
1376
  end
1293
1377
 
1378
+ # Contains the parameters for DescribeAutoScalingInstances.
1379
+ #
1294
1380
  # @note When making an API call, you may pass DescribeAutoScalingInstancesType
1295
1381
  # data as a hash:
1296
1382
  #
@@ -1325,6 +1411,8 @@ module Aws::AutoScaling
1325
1411
  include Aws::Structure
1326
1412
  end
1327
1413
 
1414
+ # Contains the output of DescribeAutoScalingNotificationTypes.
1415
+ #
1328
1416
  # @!attribute [rw] auto_scaling_notification_types
1329
1417
  # The notification types.
1330
1418
  # @return [Array<String>]
@@ -1336,6 +1424,8 @@ module Aws::AutoScaling
1336
1424
  include Aws::Structure
1337
1425
  end
1338
1426
 
1427
+ # Contains the output of DescribeLifecycleHookTypes.
1428
+ #
1339
1429
  # @!attribute [rw] lifecycle_hook_types
1340
1430
  # The lifecycle hook types.
1341
1431
  # @return [Array<String>]
@@ -1347,6 +1437,8 @@ module Aws::AutoScaling
1347
1437
  include Aws::Structure
1348
1438
  end
1349
1439
 
1440
+ # Contains the output of DescribeLifecycleHooks.
1441
+ #
1350
1442
  # @!attribute [rw] lifecycle_hooks
1351
1443
  # The lifecycle hooks for the specified group.
1352
1444
  # @return [Array<Types::LifecycleHook>]
@@ -1358,6 +1450,8 @@ module Aws::AutoScaling
1358
1450
  include Aws::Structure
1359
1451
  end
1360
1452
 
1453
+ # Contains the parameters for DescribeLifecycleHooks.
1454
+ #
1361
1455
  # @note When making an API call, you may pass DescribeLifecycleHooksType
1362
1456
  # data as a hash:
1363
1457
  #
@@ -1383,6 +1477,8 @@ module Aws::AutoScaling
1383
1477
  include Aws::Structure
1384
1478
  end
1385
1479
 
1480
+ # Contains the parameters for DescribeLoadBalancerTargetGroups.
1481
+ #
1386
1482
  # @note When making an API call, you may pass DescribeLoadBalancerTargetGroupsRequest
1387
1483
  # data as a hash:
1388
1484
  #
@@ -1415,6 +1511,8 @@ module Aws::AutoScaling
1415
1511
  include Aws::Structure
1416
1512
  end
1417
1513
 
1514
+ # Contains the output of DescribeLoadBalancerTargetGroups.
1515
+ #
1418
1516
  # @!attribute [rw] load_balancer_target_groups
1419
1517
  # Information about the target groups.
1420
1518
  # @return [Array<Types::LoadBalancerTargetGroupState>]
@@ -1432,6 +1530,8 @@ module Aws::AutoScaling
1432
1530
  include Aws::Structure
1433
1531
  end
1434
1532
 
1533
+ # Contains the parameters for DescribeLoadBalancers.
1534
+ #
1435
1535
  # @note When making an API call, you may pass DescribeLoadBalancersRequest
1436
1536
  # data as a hash:
1437
1537
  #
@@ -1464,6 +1564,8 @@ module Aws::AutoScaling
1464
1564
  include Aws::Structure
1465
1565
  end
1466
1566
 
1567
+ # Contains the output of DescribeLoadBalancers.
1568
+ #
1467
1569
  # @!attribute [rw] load_balancers
1468
1570
  # The load balancers.
1469
1571
  # @return [Array<Types::LoadBalancerState>]
@@ -1481,6 +1583,8 @@ module Aws::AutoScaling
1481
1583
  include Aws::Structure
1482
1584
  end
1483
1585
 
1586
+ # Contains the output of DescribeMetricsCollectionTypes.
1587
+ #
1484
1588
  # @!attribute [rw] metrics
1485
1589
  # One or more metrics.
1486
1590
  # @return [Array<Types::MetricCollectionType>]
@@ -1497,6 +1601,8 @@ module Aws::AutoScaling
1497
1601
  include Aws::Structure
1498
1602
  end
1499
1603
 
1604
+ # Contains the output from DescribeNotificationConfigurations.
1605
+ #
1500
1606
  # @!attribute [rw] notification_configurations
1501
1607
  # The notification configurations.
1502
1608
  # @return [Array<Types::NotificationConfiguration>]
@@ -1514,6 +1620,8 @@ module Aws::AutoScaling
1514
1620
  include Aws::Structure
1515
1621
  end
1516
1622
 
1623
+ # Contains the parameters for DescribeNotificationConfigurations.
1624
+ #
1517
1625
  # @note When making an API call, you may pass DescribeNotificationConfigurationsType
1518
1626
  # data as a hash:
1519
1627
  #
@@ -1546,6 +1654,8 @@ module Aws::AutoScaling
1546
1654
  include Aws::Structure
1547
1655
  end
1548
1656
 
1657
+ # Contains the parameters for DescribePolicies.
1658
+ #
1549
1659
  # @note When making an API call, you may pass DescribePoliciesType
1550
1660
  # data as a hash:
1551
1661
  #
@@ -1595,6 +1705,8 @@ module Aws::AutoScaling
1595
1705
  include Aws::Structure
1596
1706
  end
1597
1707
 
1708
+ # Contains the parameters for DescribeScalingActivities.
1709
+ #
1598
1710
  # @note When making an API call, you may pass DescribeScalingActivitiesType
1599
1711
  # data as a hash:
1600
1712
  #
@@ -1638,6 +1750,8 @@ module Aws::AutoScaling
1638
1750
  include Aws::Structure
1639
1751
  end
1640
1752
 
1753
+ # Contains the parameters for DescribeScheduledActions.
1754
+ #
1641
1755
  # @note When making an API call, you may pass DescribeScheduledActionsType
1642
1756
  # data as a hash:
1643
1757
  #
@@ -1696,6 +1810,8 @@ module Aws::AutoScaling
1696
1810
  include Aws::Structure
1697
1811
  end
1698
1812
 
1813
+ # Contains the parameters for DescribeTags.
1814
+ #
1699
1815
  # @note When making an API call, you may pass DescribeTagsType
1700
1816
  # data as a hash:
1701
1817
  #
@@ -1733,6 +1849,8 @@ module Aws::AutoScaling
1733
1849
  include Aws::Structure
1734
1850
  end
1735
1851
 
1852
+ # Contains the output of DescribeTerminationPolicyTypes.
1853
+ #
1736
1854
  # @!attribute [rw] termination_policy_types
1737
1855
  # The termination policies supported by Auto Scaling
1738
1856
  # (`OldestInstance`, `OldestLaunchConfiguration`, `NewestInstance`,
@@ -1746,6 +1864,8 @@ module Aws::AutoScaling
1746
1864
  include Aws::Structure
1747
1865
  end
1748
1866
 
1867
+ # Contains the output of DetachInstances.
1868
+ #
1749
1869
  # @!attribute [rw] activities
1750
1870
  # The activities related to detaching the instances from the Auto
1751
1871
  # Scaling group.
@@ -1758,6 +1878,8 @@ module Aws::AutoScaling
1758
1878
  include Aws::Structure
1759
1879
  end
1760
1880
 
1881
+ # Contains the parameters for DetachInstances.
1882
+ #
1761
1883
  # @note When making an API call, you may pass DetachInstancesQuery
1762
1884
  # data as a hash:
1763
1885
  #
@@ -1817,10 +1939,14 @@ module Aws::AutoScaling
1817
1939
  include Aws::Structure
1818
1940
  end
1819
1941
 
1942
+ # Contains the output for DetachLoadBalancers.
1943
+ #
1820
1944
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersResultType AWS API Documentation
1821
1945
  #
1822
1946
  class DetachLoadBalancersResultType < Aws::EmptyStructure; end
1823
1947
 
1948
+ # Contains the parameters for DetachLoadBalancers.
1949
+ #
1824
1950
  # @note When making an API call, you may pass DetachLoadBalancersType
1825
1951
  # data as a hash:
1826
1952
  #
@@ -1845,6 +1971,8 @@ module Aws::AutoScaling
1845
1971
  include Aws::Structure
1846
1972
  end
1847
1973
 
1974
+ # Contains the parameters for DisableMetricsCollection.
1975
+ #
1848
1976
  # @note When making an API call, you may pass DisableMetricsCollectionQuery
1849
1977
  # data as a hash:
1850
1978
  #
@@ -1967,6 +2095,8 @@ module Aws::AutoScaling
1967
2095
  include Aws::Structure
1968
2096
  end
1969
2097
 
2098
+ # Contains the parameters for EnableMetricsCollection.
2099
+ #
1970
2100
  # @note When making an API call, you may pass EnableMetricsCollectionQuery
1971
2101
  # data as a hash:
1972
2102
  #
@@ -2049,6 +2179,8 @@ module Aws::AutoScaling
2049
2179
  include Aws::Structure
2050
2180
  end
2051
2181
 
2182
+ # Contains the output of EnterStandby.
2183
+ #
2052
2184
  # @!attribute [rw] activities
2053
2185
  # The activities related to moving instances into `Standby` mode.
2054
2186
  # @return [Array<Types::Activity>]
@@ -2060,6 +2192,8 @@ module Aws::AutoScaling
2060
2192
  include Aws::Structure
2061
2193
  end
2062
2194
 
2195
+ # Contains the parameters for EnteStandby.
2196
+ #
2063
2197
  # @note When making an API call, you may pass EnterStandbyQuery
2064
2198
  # data as a hash:
2065
2199
  #
@@ -2094,6 +2228,8 @@ module Aws::AutoScaling
2094
2228
  include Aws::Structure
2095
2229
  end
2096
2230
 
2231
+ # Contains the parameters for ExecutePolicy.
2232
+ #
2097
2233
  # @note When making an API call, you may pass ExecutePolicyType
2098
2234
  # data as a hash:
2099
2235
  #
@@ -2161,6 +2297,8 @@ module Aws::AutoScaling
2161
2297
  include Aws::Structure
2162
2298
  end
2163
2299
 
2300
+ # Contains the parameters for ExitStandby.
2301
+ #
2164
2302
  # @!attribute [rw] activities
2165
2303
  # The activities related to moving instances out of `Standby` mode.
2166
2304
  # @return [Array<Types::Activity>]
@@ -2172,6 +2310,8 @@ module Aws::AutoScaling
2172
2310
  include Aws::Structure
2173
2311
  end
2174
2312
 
2313
+ # Contains the parameters for ExitStandby.
2314
+ #
2175
2315
  # @note When making an API call, you may pass ExitStandbyQuery
2176
2316
  # data as a hash:
2177
2317
  #
@@ -2267,8 +2407,7 @@ module Aws::AutoScaling
2267
2407
  include Aws::Structure
2268
2408
  end
2269
2409
 
2270
- # Describes whether detailed monitoring is enabled for the Auto Scaling
2271
- # instances.
2410
+ # Describes whether instance monitoring is enabled.
2272
2411
  #
2273
2412
  # @note When making an API call, you may pass InstanceMonitoring
2274
2413
  # data as a hash:
@@ -2278,8 +2417,7 @@ module Aws::AutoScaling
2278
2417
  # }
2279
2418
  #
2280
2419
  # @!attribute [rw] enabled
2281
- # If `true`, detailed monitoring is enabled. Otherwise, basic
2282
- # monitoring is enabled.
2420
+ # If `True`, instance monitoring is enabled.
2283
2421
  # @return [Boolean]
2284
2422
  #
2285
2423
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceMonitoring AWS API Documentation
@@ -2414,6 +2552,8 @@ module Aws::AutoScaling
2414
2552
  include Aws::Structure
2415
2553
  end
2416
2554
 
2555
+ # Contains the parameters for DeleteLaunchConfiguration.
2556
+ #
2417
2557
  # @note When making an API call, you may pass LaunchConfigurationNameType
2418
2558
  # data as a hash:
2419
2559
  #
@@ -2432,6 +2572,8 @@ module Aws::AutoScaling
2432
2572
  include Aws::Structure
2433
2573
  end
2434
2574
 
2575
+ # Contains the parameters for DescribeLaunchConfigurations.
2576
+ #
2435
2577
  # @note When making an API call, you may pass LaunchConfigurationNamesType
2436
2578
  # data as a hash:
2437
2579
  #
@@ -2465,6 +2607,8 @@ module Aws::AutoScaling
2465
2607
  include Aws::Structure
2466
2608
  end
2467
2609
 
2610
+ # Contains the output of DescribeLaunchConfigurations.
2611
+ #
2468
2612
  # @!attribute [rw] launch_configurations
2469
2613
  # The launch configurations.
2470
2614
  # @return [Array<Types::LaunchConfiguration>]
@@ -2699,6 +2843,32 @@ module Aws::AutoScaling
2699
2843
  include Aws::Structure
2700
2844
  end
2701
2845
 
2846
+ # Describes the dimension of a metric.
2847
+ #
2848
+ # @note When making an API call, you may pass MetricDimension
2849
+ # data as a hash:
2850
+ #
2851
+ # {
2852
+ # name: "MetricDimensionName", # required
2853
+ # value: "MetricDimensionValue", # required
2854
+ # }
2855
+ #
2856
+ # @!attribute [rw] name
2857
+ # The name of the dimension.
2858
+ # @return [String]
2859
+ #
2860
+ # @!attribute [rw] value
2861
+ # The value of the dimension.
2862
+ # @return [String]
2863
+ #
2864
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricDimension AWS API Documentation
2865
+ #
2866
+ class MetricDimension < Struct.new(
2867
+ :name,
2868
+ :value)
2869
+ include Aws::Structure
2870
+ end
2871
+
2702
2872
  # Describes a granularity of a metric.
2703
2873
  #
2704
2874
  # @!attribute [rw] granularity
@@ -2746,6 +2916,8 @@ module Aws::AutoScaling
2746
2916
  include Aws::Structure
2747
2917
  end
2748
2918
 
2919
+ # Contains the output of DescribePolicies.
2920
+ #
2749
2921
  # @!attribute [rw] scaling_policies
2750
2922
  # The scaling policies.
2751
2923
  # @return [Array<Types::ScalingPolicy>]
@@ -2763,14 +2935,74 @@ module Aws::AutoScaling
2763
2935
  include Aws::Structure
2764
2936
  end
2765
2937
 
2938
+ # Contains the output of PutScalingPolicy.
2939
+ #
2766
2940
  # @!attribute [rw] policy_arn
2767
2941
  # The Amazon Resource Name (ARN) of the policy.
2768
2942
  # @return [String]
2769
2943
  #
2944
+ # @!attribute [rw] alarms
2945
+ # The CloudWatch alarms created for the target tracking policy. This
2946
+ # parameter will be empty if the policy type is anything other than
2947
+ # `TargetTrackingScaling`.
2948
+ # @return [Array<Types::Alarm>]
2949
+ #
2770
2950
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PolicyARNType AWS API Documentation
2771
2951
  #
2772
2952
  class PolicyARNType < Struct.new(
2773
- :policy_arn)
2953
+ :policy_arn,
2954
+ :alarms)
2955
+ include Aws::Structure
2956
+ end
2957
+
2958
+ # Configures a predefined metric for a target tracking policy. The
2959
+ # following predefined metrics are available:
2960
+ #
2961
+ # * `ASGAverageCPUUtilization` - average CPU utilization of the Auto
2962
+ # Scaling group
2963
+ #
2964
+ # * `ASGAverageNetworkIn` - average number of bytes received on all
2965
+ # network interfaces by the Auto Scaling group
2966
+ #
2967
+ # * `ASGAverageNetworkOut` - average number of bytes sent out on all
2968
+ # network interfaces by the Auto Scaling group
2969
+ #
2970
+ # * `ALBRequestCountPerTarget` - number of requests completed per target
2971
+ # in an Application Load Balancer target group
2972
+ #
2973
+ # @note When making an API call, you may pass PredefinedMetricSpecification
2974
+ # data as a hash:
2975
+ #
2976
+ # {
2977
+ # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
2978
+ # resource_label: "XmlStringMaxLen1023",
2979
+ # }
2980
+ #
2981
+ # @!attribute [rw] predefined_metric_type
2982
+ # The metric type.
2983
+ # @return [String]
2984
+ #
2985
+ # @!attribute [rw] resource_label
2986
+ # Identifies the resource associated with the metric type. For
2987
+ # predefined metric types `ASGAverageCPUUtilization`,
2988
+ # `ASGAverageNetworkIn` and `ASGAverageNetworkOut`, the parameter must
2989
+ # not be specified as the resource associated with the metric type is
2990
+ # the Auto Scaling group. For predefined metric type
2991
+ # `ALBRequestCountPerTarget`, the parameter must be specified in the
2992
+ # format
2993
+ # `app/load-balancer-name/load-balancer-id/targetgroup/target-group-name/target-group-id
2994
+ # `, where `app/load-balancer-name/load-balancer-id ` is the final
2995
+ # portion of the load balancer ARN, and
2996
+ # `targetgroup/target-group-name/target-group-id ` is the final
2997
+ # portion of the target group ARN. The target group must be attached
2998
+ # to the Auto Scaling group.
2999
+ # @return [String]
3000
+ #
3001
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PredefinedMetricSpecification AWS API Documentation
3002
+ #
3003
+ class PredefinedMetricSpecification < Struct.new(
3004
+ :predefined_metric_type,
3005
+ :resource_label)
2774
3006
  include Aws::Structure
2775
3007
  end
2776
3008
 
@@ -2810,6 +3042,8 @@ module Aws::AutoScaling
2810
3042
  include Aws::Structure
2811
3043
  end
2812
3044
 
3045
+ # Contains the output of DescribeScalingProcessTypes.
3046
+ #
2813
3047
  # @!attribute [rw] processes
2814
3048
  # The names of the process types.
2815
3049
  # @return [Array<Types::ProcessType>]
@@ -2821,10 +3055,14 @@ module Aws::AutoScaling
2821
3055
  include Aws::Structure
2822
3056
  end
2823
3057
 
3058
+ # Contains the output of PutLifecycleHook.
3059
+ #
2824
3060
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookAnswer AWS API Documentation
2825
3061
  #
2826
3062
  class PutLifecycleHookAnswer < Aws::EmptyStructure; end
2827
3063
 
3064
+ # Contains the parameters for PutLifecycleHook.
3065
+ #
2828
3066
  # @note When making an API call, you may pass PutLifecycleHookType
2829
3067
  # data as a hash:
2830
3068
  #
@@ -2914,6 +3152,8 @@ module Aws::AutoScaling
2914
3152
  include Aws::Structure
2915
3153
  end
2916
3154
 
3155
+ # Contains the parameters for PutNotificationConfiguration.
3156
+ #
2917
3157
  # @note When making an API call, you may pass PutNotificationConfigurationType
2918
3158
  # data as a hash:
2919
3159
  #
@@ -2947,6 +3187,8 @@ module Aws::AutoScaling
2947
3187
  include Aws::Structure
2948
3188
  end
2949
3189
 
3190
+ # Contains the parameters for PutScalingPolicy.
3191
+ #
2950
3192
  # @note When making an API call, you may pass PutScalingPolicyType
2951
3193
  # data as a hash:
2952
3194
  #
@@ -2954,7 +3196,7 @@ module Aws::AutoScaling
2954
3196
  # auto_scaling_group_name: "ResourceName", # required
2955
3197
  # policy_name: "XmlStringMaxLen255", # required
2956
3198
  # policy_type: "XmlStringMaxLen64",
2957
- # adjustment_type: "XmlStringMaxLen255", # required
3199
+ # adjustment_type: "XmlStringMaxLen255",
2958
3200
  # min_adjustment_step: 1,
2959
3201
  # min_adjustment_magnitude: 1,
2960
3202
  # scaling_adjustment: 1,
@@ -2968,6 +3210,26 @@ module Aws::AutoScaling
2968
3210
  # },
2969
3211
  # ],
2970
3212
  # estimated_instance_warmup: 1,
3213
+ # target_tracking_configuration: {
3214
+ # predefined_metric_specification: {
3215
+ # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
3216
+ # resource_label: "XmlStringMaxLen1023",
3217
+ # },
3218
+ # customized_metric_specification: {
3219
+ # metric_name: "MetricName", # required
3220
+ # namespace: "MetricNamespace", # required
3221
+ # dimensions: [
3222
+ # {
3223
+ # name: "MetricDimensionName", # required
3224
+ # value: "MetricDimensionValue", # required
3225
+ # },
3226
+ # ],
3227
+ # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
3228
+ # unit: "MetricUnit",
3229
+ # },
3230
+ # target_value: 1.0, # required
3231
+ # disable_scale_in: false,
3232
+ # },
2971
3233
  # }
2972
3234
  #
2973
3235
  # @!attribute [rw] auto_scaling_group_name
@@ -2979,14 +3241,18 @@ module Aws::AutoScaling
2979
3241
  # @return [String]
2980
3242
  #
2981
3243
  # @!attribute [rw] policy_type
2982
- # The policy type. Valid values are `SimpleScaling` and `StepScaling`.
2983
- # If the policy type is null, the value is treated as `SimpleScaling`.
3244
+ # The policy type. The valid values are `SimpleScaling`,
3245
+ # `StepScaling`, and `TargetTrackingScaling`. If the policy type is
3246
+ # null, the value is treated as `SimpleScaling`.
2984
3247
  # @return [String]
2985
3248
  #
2986
3249
  # @!attribute [rw] adjustment_type
2987
- # The adjustment type. Valid values are `ChangeInCapacity`,
3250
+ # The adjustment type. The valid values are `ChangeInCapacity`,
2988
3251
  # `ExactCapacity`, and `PercentChangeInCapacity`.
2989
3252
  #
3253
+ # This parameter is supported if the policy type is `SimpleScaling` or
3254
+ # `StepScaling`.
3255
+ #
2990
3256
  # For more information, see [Dynamic Scaling][1] in the *Auto Scaling
2991
3257
  # User Guide*.
2992
3258
  #
@@ -3005,6 +3271,9 @@ module Aws::AutoScaling
3005
3271
  # `AdjustmentType` is `PercentChangeInCapacity`, the scaling policy
3006
3272
  # changes the `DesiredCapacity` of the Auto Scaling group by at least
3007
3273
  # this many instances. Otherwise, the error is `ValidationError`.
3274
+ #
3275
+ # This parameter is supported if the policy type is `SimpleScaling` or
3276
+ # `StepScaling`.
3008
3277
  # @return [Integer]
3009
3278
  #
3010
3279
  # @!attribute [rw] scaling_adjustment
@@ -3021,8 +3290,7 @@ module Aws::AutoScaling
3021
3290
  # and before the next scaling activity can start. If this parameter is
3022
3291
  # not specified, the default cooldown period for the group applies.
3023
3292
  #
3024
- # This parameter is not supported unless the policy type is
3025
- # `SimpleScaling`.
3293
+ # This parameter is supported if the policy type is `SimpleScaling`.
3026
3294
  #
3027
3295
  # For more information, see [Auto Scaling Cooldowns][1] in the *Auto
3028
3296
  # Scaling User Guide*.
@@ -3033,12 +3301,11 @@ module Aws::AutoScaling
3033
3301
  # @return [Integer]
3034
3302
  #
3035
3303
  # @!attribute [rw] metric_aggregation_type
3036
- # The aggregation type for the CloudWatch metrics. Valid values are
3037
- # `Minimum`, `Maximum`, and `Average`. If the aggregation type is
3304
+ # The aggregation type for the CloudWatch metrics. The valid values
3305
+ # are `Minimum`, `Maximum`, and `Average`. If the aggregation type is
3038
3306
  # null, the value is treated as `Average`.
3039
3307
  #
3040
- # This parameter is not supported if the policy type is
3041
- # `SimpleScaling`.
3308
+ # This parameter is supported if the policy type is `StepScaling`.
3042
3309
  # @return [String]
3043
3310
  #
3044
3311
  # @!attribute [rw] step_adjustments
@@ -3054,10 +3321,17 @@ module Aws::AutoScaling
3054
3321
  # contribute to the CloudWatch metrics. The default is to use the
3055
3322
  # value specified for the default cooldown period for the group.
3056
3323
  #
3057
- # This parameter is not supported if the policy type is
3058
- # `SimpleScaling`.
3324
+ # This parameter is supported if the policy type is `StepScaling` or
3325
+ # `TargetTrackingScaling`.
3059
3326
  # @return [Integer]
3060
3327
  #
3328
+ # @!attribute [rw] target_tracking_configuration
3329
+ # The configuration of a target tracking policy.
3330
+ #
3331
+ # This parameter is required if the policy type is
3332
+ # `TargetTrackingScaling` and not supported otherwise.
3333
+ # @return [Types::TargetTrackingConfiguration]
3334
+ #
3061
3335
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicyType AWS API Documentation
3062
3336
  #
3063
3337
  class PutScalingPolicyType < Struct.new(
@@ -3071,10 +3345,13 @@ module Aws::AutoScaling
3071
3345
  :cooldown,
3072
3346
  :metric_aggregation_type,
3073
3347
  :step_adjustments,
3074
- :estimated_instance_warmup)
3348
+ :estimated_instance_warmup,
3349
+ :target_tracking_configuration)
3075
3350
  include Aws::Structure
3076
3351
  end
3077
3352
 
3353
+ # Contains the parameters for PutScheduledUpdateGroupAction.
3354
+ #
3078
3355
  # @note When making an API call, you may pass PutScheduledUpdateGroupActionType
3079
3356
  # data as a hash:
3080
3357
  #
@@ -3155,10 +3432,14 @@ module Aws::AutoScaling
3155
3432
  include Aws::Structure
3156
3433
  end
3157
3434
 
3435
+ # Contains the output of RecordLifecycleActionHeartBeat.
3436
+ #
3158
3437
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeatAnswer AWS API Documentation
3159
3438
  #
3160
3439
  class RecordLifecycleActionHeartbeatAnswer < Aws::EmptyStructure; end
3161
3440
 
3441
+ # Contains the parameters for RecordLifecycleActionHeartbeat.
3442
+ #
3162
3443
  # @note When making an API call, you may pass RecordLifecycleActionHeartbeatType
3163
3444
  # data as a hash:
3164
3445
  #
@@ -3243,7 +3524,7 @@ module Aws::AutoScaling
3243
3524
  #
3244
3525
  # @!attribute [rw] cooldown
3245
3526
  # The amount of time, in seconds, after a scaling activity completes
3246
- # before any further dynamic scaling activities can start.
3527
+ # before any further trigger-related scaling activities can start.
3247
3528
  # @return [Integer]
3248
3529
  #
3249
3530
  # @!attribute [rw] step_adjustments
@@ -3265,6 +3546,10 @@ module Aws::AutoScaling
3265
3546
  # The CloudWatch alarms related to the policy.
3266
3547
  # @return [Array<Types::Alarm>]
3267
3548
  #
3549
+ # @!attribute [rw] target_tracking_configuration
3550
+ # A target tracking policy.
3551
+ # @return [Types::TargetTrackingConfiguration]
3552
+ #
3268
3553
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScalingPolicy AWS API Documentation
3269
3554
  #
3270
3555
  class ScalingPolicy < Struct.new(
@@ -3280,10 +3565,13 @@ module Aws::AutoScaling
3280
3565
  :step_adjustments,
3281
3566
  :metric_aggregation_type,
3282
3567
  :estimated_instance_warmup,
3283
- :alarms)
3568
+ :alarms,
3569
+ :target_tracking_configuration)
3284
3570
  include Aws::Structure
3285
3571
  end
3286
3572
 
3573
+ # Contains the parameters for SuspendProcesses and ResumeProcesses.
3574
+ #
3287
3575
  # @note When making an API call, you may pass ScalingProcessQuery
3288
3576
  # data as a hash:
3289
3577
  #
@@ -3325,6 +3613,8 @@ module Aws::AutoScaling
3325
3613
  include Aws::Structure
3326
3614
  end
3327
3615
 
3616
+ # Contains the output of DescribeScheduledActions.
3617
+ #
3328
3618
  # @!attribute [rw] scheduled_update_group_actions
3329
3619
  # The scheduled actions.
3330
3620
  # @return [Array<Types::ScheduledUpdateGroupAction>]
@@ -3406,6 +3696,8 @@ module Aws::AutoScaling
3406
3696
  include Aws::Structure
3407
3697
  end
3408
3698
 
3699
+ # Contains the parameters for SetDesiredCapacity.
3700
+ #
3409
3701
  # @note When making an API call, you may pass SetDesiredCapacityType
3410
3702
  # data as a hash:
3411
3703
  #
@@ -3441,6 +3733,8 @@ module Aws::AutoScaling
3441
3733
  include Aws::Structure
3442
3734
  end
3443
3735
 
3736
+ # Contains the parameters for SetInstanceHealth.
3737
+ #
3444
3738
  # @note When making an API call, you may pass SetInstanceHealthQuery
3445
3739
  # data as a hash:
3446
3740
  #
@@ -3481,10 +3775,14 @@ module Aws::AutoScaling
3481
3775
  include Aws::Structure
3482
3776
  end
3483
3777
 
3778
+ # Contains the output of SetInstanceProtection.
3779
+ #
3484
3780
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionAnswer AWS API Documentation
3485
3781
  #
3486
3782
  class SetInstanceProtectionAnswer < Aws::EmptyStructure; end
3487
3783
 
3784
+ # Contains the parameters for SetInstanceProtection.
3785
+ #
3488
3786
  # @note When making an API call, you may pass SetInstanceProtectionQuery
3489
3787
  # data as a hash:
3490
3788
  #
@@ -3690,6 +3988,8 @@ module Aws::AutoScaling
3690
3988
  include Aws::Structure
3691
3989
  end
3692
3990
 
3991
+ # Contains the output of DescribeTags.
3992
+ #
3693
3993
  # @!attribute [rw] tags
3694
3994
  # One or more tags.
3695
3995
  # @return [Array<Types::TagDescription>]
@@ -3707,6 +4007,63 @@ module Aws::AutoScaling
3707
4007
  include Aws::Structure
3708
4008
  end
3709
4009
 
4010
+ # Represents a target tracking policy configuration.
4011
+ #
4012
+ # @note When making an API call, you may pass TargetTrackingConfiguration
4013
+ # data as a hash:
4014
+ #
4015
+ # {
4016
+ # predefined_metric_specification: {
4017
+ # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
4018
+ # resource_label: "XmlStringMaxLen1023",
4019
+ # },
4020
+ # customized_metric_specification: {
4021
+ # metric_name: "MetricName", # required
4022
+ # namespace: "MetricNamespace", # required
4023
+ # dimensions: [
4024
+ # {
4025
+ # name: "MetricDimensionName", # required
4026
+ # value: "MetricDimensionValue", # required
4027
+ # },
4028
+ # ],
4029
+ # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
4030
+ # unit: "MetricUnit",
4031
+ # },
4032
+ # target_value: 1.0, # required
4033
+ # disable_scale_in: false,
4034
+ # }
4035
+ #
4036
+ # @!attribute [rw] predefined_metric_specification
4037
+ # A predefined metric. You can specify either a predefined metric or a
4038
+ # customized metric.
4039
+ # @return [Types::PredefinedMetricSpecification]
4040
+ #
4041
+ # @!attribute [rw] customized_metric_specification
4042
+ # A customized metric.
4043
+ # @return [Types::CustomizedMetricSpecification]
4044
+ #
4045
+ # @!attribute [rw] target_value
4046
+ # The target value for the metric.
4047
+ # @return [Float]
4048
+ #
4049
+ # @!attribute [rw] disable_scale_in
4050
+ # If the parameter is true, then scale-in will be disabled for the
4051
+ # target tracking policy, i.e. the target tracking policy will not
4052
+ # scale in the Auto Scaling group. The default value is false.
4053
+ # @return [Boolean]
4054
+ #
4055
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TargetTrackingConfiguration AWS API Documentation
4056
+ #
4057
+ class TargetTrackingConfiguration < Struct.new(
4058
+ :predefined_metric_specification,
4059
+ :customized_metric_specification,
4060
+ :target_value,
4061
+ :disable_scale_in)
4062
+ include Aws::Structure
4063
+ end
4064
+
4065
+ # Contains the parameters for TerminateInstanceInAutoScalingGroup.
4066
+ #
3710
4067
  # @note When making an API call, you may pass TerminateInstanceInAutoScalingGroupType
3711
4068
  # data as a hash:
3712
4069
  #
@@ -3732,6 +4089,8 @@ module Aws::AutoScaling
3732
4089
  include Aws::Structure
3733
4090
  end
3734
4091
 
4092
+ # Contains the parameters for UpdateAutoScalingGroup.
4093
+ #
3735
4094
  # @note When making an API call, you may pass UpdateAutoScalingGroupType
3736
4095
  # data as a hash:
3737
4096
  #