aws-sdk-autoscaling 1.82.0 → 1.84.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,14 +13,6 @@ module Aws::AutoScaling
13
13
  # Specifies the minimum and maximum for the `AcceleratorCount` object
14
14
  # when you specify InstanceRequirements for an Auto Scaling group.
15
15
  #
16
- # @note When making an API call, you may pass AcceleratorCountRequest
17
- # data as a hash:
18
- #
19
- # {
20
- # min: 1,
21
- # max: 1,
22
- # }
23
- #
24
16
  # @!attribute [rw] min
25
17
  # The minimum value.
26
18
  # @return [Integer]
@@ -42,14 +34,6 @@ module Aws::AutoScaling
42
34
  # object when you specify InstanceRequirements for an Auto Scaling
43
35
  # group.
44
36
  #
45
- # @note When making an API call, you may pass AcceleratorTotalMemoryMiBRequest
46
- # data as a hash:
47
- #
48
- # {
49
- # min: 1,
50
- # max: 1,
51
- # }
52
- #
53
37
  # @!attribute [rw] min
54
38
  # The memory minimum in MiB.
55
39
  # @return [Integer]
@@ -236,14 +220,6 @@ module Aws::AutoScaling
236
220
  include Aws::Structure
237
221
  end
238
222
 
239
- # @note When making an API call, you may pass AttachInstancesQuery
240
- # data as a hash:
241
- #
242
- # {
243
- # instance_ids: ["XmlStringMaxLen19"],
244
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
245
- # }
246
- #
247
223
  # @!attribute [rw] instance_ids
248
224
  # The IDs of the instances. You can specify up to 20 instances.
249
225
  # @return [Array<String>]
@@ -265,20 +241,12 @@ module Aws::AutoScaling
265
241
  #
266
242
  class AttachLoadBalancerTargetGroupsResultType < Aws::EmptyStructure; end
267
243
 
268
- # @note When making an API call, you may pass AttachLoadBalancerTargetGroupsType
269
- # data as a hash:
270
- #
271
- # {
272
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
273
- # target_group_arns: ["XmlStringMaxLen511"], # required
274
- # }
275
- #
276
244
  # @!attribute [rw] auto_scaling_group_name
277
245
  # The name of the Auto Scaling group.
278
246
  # @return [String]
279
247
  #
280
248
  # @!attribute [rw] target_group_arns
281
- # The Amazon Resource Names (ARN) of the target groups. You can
249
+ # The Amazon Resource Names (ARNs) of the target groups. You can
282
250
  # specify up to 10 target groups. To get the ARN of a target group,
283
251
  # use the Elastic Load Balancing [DescribeTargetGroups][1] API
284
252
  # operation.
@@ -301,14 +269,6 @@ module Aws::AutoScaling
301
269
  #
302
270
  class AttachLoadBalancersResultType < Aws::EmptyStructure; end
303
271
 
304
- # @note When making an API call, you may pass AttachLoadBalancersType
305
- # data as a hash:
306
- #
307
- # {
308
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
309
- # load_balancer_names: ["XmlStringMaxLen255"], # required
310
- # }
311
- #
312
272
  # @!attribute [rw] auto_scaling_group_name
313
273
  # The name of the Auto Scaling group.
314
274
  # @return [String]
@@ -327,6 +287,34 @@ module Aws::AutoScaling
327
287
  include Aws::Structure
328
288
  end
329
289
 
290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachTrafficSourcesResultType AWS API Documentation
291
+ #
292
+ class AttachTrafficSourcesResultType < Aws::EmptyStructure; end
293
+
294
+ # @!attribute [rw] auto_scaling_group_name
295
+ # The name of the Auto Scaling group.
296
+ # @return [String]
297
+ #
298
+ # @!attribute [rw] traffic_sources
299
+ # The unique identifiers of one or more traffic sources. You can
300
+ # specify up to 10 traffic sources.
301
+ #
302
+ # Currently, you must specify an Amazon Resource Name (ARN) for an
303
+ # existing VPC Lattice target group. Amazon EC2 Auto Scaling registers
304
+ # the running instances with the attached target groups. The target
305
+ # groups receive incoming traffic and route requests to one or more
306
+ # registered targets.
307
+ # @return [Array<Types::TrafficSourceIdentifier>]
308
+ #
309
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachTrafficSourcesType AWS API Documentation
310
+ #
311
+ class AttachTrafficSourcesType < Struct.new(
312
+ :auto_scaling_group_name,
313
+ :traffic_sources)
314
+ SENSITIVE = []
315
+ include Aws::Structure
316
+ end
317
+
330
318
  # Describes an Auto Scaling group.
331
319
  #
332
320
  # @!attribute [rw] auto_scaling_group_name
@@ -384,10 +372,12 @@ module Aws::AutoScaling
384
372
  # @return [Array<String>]
385
373
  #
386
374
  # @!attribute [rw] health_check_type
387
- # The service to use for the health checks. The valid values are `EC2`
388
- # and `ELB`. If you configure an Auto Scaling group to use `ELB`
389
- # health checks, it considers the instance unhealthy if it fails
390
- # either the EC2 status checks or the load balancer health checks.
375
+ # Determines whether any additional health checks are performed on the
376
+ # instances in this group. Amazon EC2 health checks are always on.
377
+ #
378
+ # The valid values are `EC2` (default), `ELB`, and `VPC_LATTICE`. The
379
+ # `VPC_LATTICE` health check type is reserved for use with VPC
380
+ # Lattice, which is in preview release and is subject to change.
391
381
  # @return [String]
392
382
  #
393
383
  # @!attribute [rw] health_check_grace_period
@@ -476,6 +466,10 @@ module Aws::AutoScaling
476
466
  # The duration of the default instance warmup, in seconds.
477
467
  # @return [Integer]
478
468
  #
469
+ # @!attribute [rw] traffic_sources
470
+ # The unique identifiers of the traffic sources.
471
+ # @return [Array<Types::TrafficSourceIdentifier>]
472
+ #
479
473
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
480
474
  #
481
475
  class AutoScalingGroup < Struct.new(
@@ -511,26 +505,12 @@ module Aws::AutoScaling
511
505
  :warm_pool_size,
512
506
  :context,
513
507
  :desired_capacity_type,
514
- :default_instance_warmup)
508
+ :default_instance_warmup,
509
+ :traffic_sources)
515
510
  SENSITIVE = []
516
511
  include Aws::Structure
517
512
  end
518
513
 
519
- # @note When making an API call, you may pass AutoScalingGroupNamesType
520
- # data as a hash:
521
- #
522
- # {
523
- # auto_scaling_group_names: ["XmlStringMaxLen255"],
524
- # next_token: "XmlString",
525
- # max_records: 1,
526
- # filters: [
527
- # {
528
- # name: "XmlString",
529
- # values: ["XmlString"],
530
- # },
531
- # ],
532
- # }
533
- #
534
514
  # @!attribute [rw] auto_scaling_group_names
535
515
  # The names of the Auto Scaling groups. By default, you can only
536
516
  # specify up to 50 names. You can optionally increase this limit using
@@ -693,14 +673,6 @@ module Aws::AutoScaling
693
673
  # object when you specify InstanceRequirements for an Auto Scaling
694
674
  # group.
695
675
  #
696
- # @note When making an API call, you may pass BaselineEbsBandwidthMbpsRequest
697
- # data as a hash:
698
- #
699
- # {
700
- # min: 1,
701
- # max: 1,
702
- # }
703
- #
704
676
  # @!attribute [rw] min
705
677
  # The minimum value in Mbps.
706
678
  # @return [Integer]
@@ -731,14 +703,6 @@ module Aws::AutoScaling
731
703
  include Aws::Structure
732
704
  end
733
705
 
734
- # @note When making an API call, you may pass BatchDeleteScheduledActionType
735
- # data as a hash:
736
- #
737
- # {
738
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
739
- # scheduled_action_names: ["XmlStringMaxLen255"], # required
740
- # }
741
- #
742
706
  # @!attribute [rw] auto_scaling_group_name
743
707
  # The name of the Auto Scaling group.
744
708
  # @return [String]
@@ -770,25 +734,6 @@ module Aws::AutoScaling
770
734
  include Aws::Structure
771
735
  end
772
736
 
773
- # @note When making an API call, you may pass BatchPutScheduledUpdateGroupActionType
774
- # data as a hash:
775
- #
776
- # {
777
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
778
- # scheduled_update_group_actions: [ # required
779
- # {
780
- # scheduled_action_name: "XmlStringMaxLen255", # required
781
- # start_time: Time.now,
782
- # end_time: Time.now,
783
- # recurrence: "XmlStringMaxLen255",
784
- # min_size: 1,
785
- # max_size: 1,
786
- # desired_capacity: 1,
787
- # time_zone: "XmlStringMaxLen255",
788
- # },
789
- # ],
790
- # }
791
- #
792
737
  # @!attribute [rw] auto_scaling_group_name
793
738
  # The name of the Auto Scaling group.
794
739
  # @return [String]
@@ -808,24 +753,6 @@ module Aws::AutoScaling
808
753
 
809
754
  # Describes a block device mapping.
810
755
  #
811
- # @note When making an API call, you may pass BlockDeviceMapping
812
- # data as a hash:
813
- #
814
- # {
815
- # virtual_name: "XmlStringMaxLen255",
816
- # device_name: "XmlStringMaxLen255", # required
817
- # ebs: {
818
- # snapshot_id: "XmlStringMaxLen255",
819
- # volume_size: 1,
820
- # volume_type: "BlockDeviceEbsVolumeType",
821
- # delete_on_termination: false,
822
- # iops: 1,
823
- # encrypted: false,
824
- # throughput: 1,
825
- # },
826
- # no_device: false,
827
- # }
828
- #
829
756
  # @!attribute [rw] virtual_name
830
757
  # The name of the instance store volume (virtual device) to attach to
831
758
  # an instance at launch. The name must be in the form ephemeral*X*
@@ -886,13 +813,6 @@ module Aws::AutoScaling
886
813
  include Aws::Structure
887
814
  end
888
815
 
889
- # @note When making an API call, you may pass CancelInstanceRefreshType
890
- # data as a hash:
891
- #
892
- # {
893
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
894
- # }
895
- #
896
816
  # @!attribute [rw] auto_scaling_group_name
897
817
  # The name of the Auto Scaling group.
898
818
  # @return [String]
@@ -931,17 +851,6 @@ module Aws::AutoScaling
931
851
  #
932
852
  class CompleteLifecycleActionAnswer < Aws::EmptyStructure; end
933
853
 
934
- # @note When making an API call, you may pass CompleteLifecycleActionType
935
- # data as a hash:
936
- #
937
- # {
938
- # lifecycle_hook_name: "AsciiStringMaxLen255", # required
939
- # auto_scaling_group_name: "ResourceName", # required
940
- # lifecycle_action_token: "LifecycleActionToken",
941
- # lifecycle_action_result: "LifecycleActionResult", # required
942
- # instance_id: "XmlStringMaxLen19",
943
- # }
944
- #
945
854
  # @!attribute [rw] lifecycle_hook_name
946
855
  # The name of the lifecycle hook.
947
856
  # @return [String]
@@ -978,142 +887,16 @@ module Aws::AutoScaling
978
887
  include Aws::Structure
979
888
  end
980
889
 
981
- # @note When making an API call, you may pass CreateAutoScalingGroupType
982
- # data as a hash:
983
- #
984
- # {
985
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
986
- # launch_configuration_name: "XmlStringMaxLen255",
987
- # launch_template: {
988
- # launch_template_id: "XmlStringMaxLen255",
989
- # launch_template_name: "LaunchTemplateName",
990
- # version: "XmlStringMaxLen255",
991
- # },
992
- # mixed_instances_policy: {
993
- # launch_template: {
994
- # launch_template_specification: {
995
- # launch_template_id: "XmlStringMaxLen255",
996
- # launch_template_name: "LaunchTemplateName",
997
- # version: "XmlStringMaxLen255",
998
- # },
999
- # overrides: [
1000
- # {
1001
- # instance_type: "XmlStringMaxLen255",
1002
- # weighted_capacity: "XmlStringMaxLen32",
1003
- # launch_template_specification: {
1004
- # launch_template_id: "XmlStringMaxLen255",
1005
- # launch_template_name: "LaunchTemplateName",
1006
- # version: "XmlStringMaxLen255",
1007
- # },
1008
- # instance_requirements: {
1009
- # v_cpu_count: { # required
1010
- # min: 1, # required
1011
- # max: 1,
1012
- # },
1013
- # memory_mi_b: { # required
1014
- # min: 1, # required
1015
- # max: 1,
1016
- # },
1017
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
1018
- # memory_gi_b_per_v_cpu: {
1019
- # min: 1.0,
1020
- # max: 1.0,
1021
- # },
1022
- # excluded_instance_types: ["ExcludedInstance"],
1023
- # instance_generations: ["current"], # accepts current, previous
1024
- # spot_max_price_percentage_over_lowest_price: 1,
1025
- # on_demand_max_price_percentage_over_lowest_price: 1,
1026
- # bare_metal: "included", # accepts included, excluded, required
1027
- # burstable_performance: "included", # accepts included, excluded, required
1028
- # require_hibernate_support: false,
1029
- # network_interface_count: {
1030
- # min: 1,
1031
- # max: 1,
1032
- # },
1033
- # local_storage: "included", # accepts included, excluded, required
1034
- # local_storage_types: ["hdd"], # accepts hdd, ssd
1035
- # total_local_storage_gb: {
1036
- # min: 1.0,
1037
- # max: 1.0,
1038
- # },
1039
- # baseline_ebs_bandwidth_mbps: {
1040
- # min: 1,
1041
- # max: 1,
1042
- # },
1043
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
1044
- # accelerator_count: {
1045
- # min: 1,
1046
- # max: 1,
1047
- # },
1048
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
1049
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
1050
- # accelerator_total_memory_mi_b: {
1051
- # min: 1,
1052
- # max: 1,
1053
- # },
1054
- # network_bandwidth_gbps: {
1055
- # min: 1.0,
1056
- # max: 1.0,
1057
- # },
1058
- # allowed_instance_types: ["AllowedInstanceType"],
1059
- # },
1060
- # },
1061
- # ],
1062
- # },
1063
- # instances_distribution: {
1064
- # on_demand_allocation_strategy: "XmlString",
1065
- # on_demand_base_capacity: 1,
1066
- # on_demand_percentage_above_base_capacity: 1,
1067
- # spot_allocation_strategy: "XmlString",
1068
- # spot_instance_pools: 1,
1069
- # spot_max_price: "MixedInstanceSpotPrice",
1070
- # },
1071
- # },
1072
- # instance_id: "XmlStringMaxLen19",
1073
- # min_size: 1, # required
1074
- # max_size: 1, # required
1075
- # desired_capacity: 1,
1076
- # default_cooldown: 1,
1077
- # availability_zones: ["XmlStringMaxLen255"],
1078
- # load_balancer_names: ["XmlStringMaxLen255"],
1079
- # target_group_arns: ["XmlStringMaxLen511"],
1080
- # health_check_type: "XmlStringMaxLen32",
1081
- # health_check_grace_period: 1,
1082
- # placement_group: "XmlStringMaxLen255",
1083
- # vpc_zone_identifier: "XmlStringMaxLen2047",
1084
- # termination_policies: ["XmlStringMaxLen1600"],
1085
- # new_instances_protected_from_scale_in: false,
1086
- # capacity_rebalance: false,
1087
- # lifecycle_hook_specification_list: [
1088
- # {
1089
- # lifecycle_hook_name: "AsciiStringMaxLen255", # required
1090
- # lifecycle_transition: "LifecycleTransition", # required
1091
- # notification_metadata: "XmlStringMaxLen1023",
1092
- # heartbeat_timeout: 1,
1093
- # default_result: "LifecycleActionResult",
1094
- # notification_target_arn: "NotificationTargetResourceName",
1095
- # role_arn: "XmlStringMaxLen255",
1096
- # },
1097
- # ],
1098
- # tags: [
1099
- # {
1100
- # resource_id: "XmlString",
1101
- # resource_type: "XmlString",
1102
- # key: "TagKey", # required
1103
- # value: "TagValue",
1104
- # propagate_at_launch: false,
1105
- # },
1106
- # ],
1107
- # service_linked_role_arn: "ResourceName",
1108
- # max_instance_lifetime: 1,
1109
- # context: "Context",
1110
- # desired_capacity_type: "XmlStringMaxLen255",
1111
- # default_instance_warmup: 1,
1112
- # }
1113
- #
1114
890
  # @!attribute [rw] auto_scaling_group_name
1115
891
  # The name of the Auto Scaling group. This name must be unique per
1116
892
  # Region per account.
893
+ #
894
+ # The name can contain any ASCII character 33 to 126 including most
895
+ # punctuation characters, digits, and upper and lowercased letters.
896
+ #
897
+ # <note markdown="1"> You cannot use a colon (:) in the name.
898
+ #
899
+ # </note>
1117
900
  # @return [String]
1118
901
  #
1119
902
  # @!attribute [rw] launch_configuration_name
@@ -1227,13 +1010,13 @@ module Aws::AutoScaling
1227
1010
  # @return [Array<String>]
1228
1011
  #
1229
1012
  # @!attribute [rw] target_group_arns
1230
- # The Amazon Resource Names (ARN) of the target groups to associate
1231
- # with the Auto Scaling group. Instances are registered as targets
1232
- # with the target groups. The target groups receive incoming traffic
1233
- # and route requests to one or more registered targets. For more
1234
- # information, see [Use Elastic Load Balancing to distribute traffic
1235
- # across the instances in your Auto Scaling group][1] in the *Amazon
1236
- # EC2 Auto Scaling User Guide*.
1013
+ # The Amazon Resource Names (ARN) of the Elastic Load Balancing target
1014
+ # groups to associate with the Auto Scaling group. Instances are
1015
+ # registered as targets with the target groups. The target groups
1016
+ # receive incoming traffic and route requests to one or more
1017
+ # registered targets. For more information, see [Use Elastic Load
1018
+ # Balancing to distribute traffic across the instances in your Auto
1019
+ # Scaling group][1] in the *Amazon EC2 Auto Scaling User Guide*.
1237
1020
  #
1238
1021
  #
1239
1022
  #
@@ -1241,13 +1024,14 @@ module Aws::AutoScaling
1241
1024
  # @return [Array<String>]
1242
1025
  #
1243
1026
  # @!attribute [rw] health_check_type
1244
- # The service to use for the health checks. The valid values are `EC2`
1245
- # (default) and `ELB`. If you configure an Auto Scaling group to use
1246
- # load balancer (ELB) health checks, it considers the instance
1247
- # unhealthy if it fails either the EC2 status checks or the load
1248
- # balancer health checks. For more information, see [Health checks for
1249
- # Auto Scaling instances][1] in the *Amazon EC2 Auto Scaling User
1250
- # Guide*.
1027
+ # Determines whether any additional health checks are performed on the
1028
+ # instances in this group. Amazon EC2 health checks are always on. For
1029
+ # more information, see [Health checks for Auto Scaling instances][1]
1030
+ # in the *Amazon EC2 Auto Scaling User Guide*.
1031
+ #
1032
+ # The valid values are `EC2` (default), `ELB`, and `VPC_LATTICE`. The
1033
+ # `VPC_LATTICE` health check type is reserved for use with VPC
1034
+ # Lattice, which is in preview release and is subject to change.
1251
1035
  #
1252
1036
  #
1253
1037
  #
@@ -1257,17 +1041,17 @@ module Aws::AutoScaling
1257
1041
  # @!attribute [rw] health_check_grace_period
1258
1042
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
1259
1043
  # before checking the health status of an EC2 instance that has come
1260
- # into service and marking it unhealthy due to a failed Elastic Load
1261
- # Balancing or custom health check. This is useful if your instances
1262
- # do not immediately pass these health checks after they enter the
1263
- # `InService` state. For more information, see [Health check grace
1264
- # period][1] in the *Amazon EC2 Auto Scaling User Guide*.
1044
+ # into service and marking it unhealthy due to a failed health check.
1045
+ # This is useful if your instances do not immediately pass their
1046
+ # health checks after they enter the `InService` state. For more
1047
+ # information, see [Set the health check grace period for an Auto
1048
+ # Scaling group][1] in the *Amazon EC2 Auto Scaling User Guide*.
1265
1049
  #
1266
1050
  # Default: `0` seconds
1267
1051
  #
1268
1052
  #
1269
1053
  #
1270
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period
1054
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
1271
1055
  # @return [Integer]
1272
1056
  #
1273
1057
  # @!attribute [rw] placement_group
@@ -1435,6 +1219,20 @@ module Aws::AutoScaling
1435
1219
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html
1436
1220
  # @return [Integer]
1437
1221
  #
1222
+ # @!attribute [rw] traffic_sources
1223
+ # **Reserved for use with Amazon VPC Lattice, which is in preview
1224
+ # release and is subject to change. Do not use this parameter for
1225
+ # production workloads. It is also subject to change.**
1226
+ #
1227
+ # The unique identifiers of one or more traffic sources.
1228
+ #
1229
+ # Currently, you must specify an Amazon Resource Name (ARN) for an
1230
+ # existing VPC Lattice target group. Amazon EC2 Auto Scaling registers
1231
+ # the running instances with the attached target groups. The target
1232
+ # groups receive incoming traffic and route requests to one or more
1233
+ # registered targets.
1234
+ # @return [Array<Types::TrafficSourceIdentifier>]
1235
+ #
1438
1236
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
1439
1237
  #
1440
1238
  class CreateAutoScalingGroupType < Struct.new(
@@ -1463,57 +1261,12 @@ module Aws::AutoScaling
1463
1261
  :max_instance_lifetime,
1464
1262
  :context,
1465
1263
  :desired_capacity_type,
1466
- :default_instance_warmup)
1264
+ :default_instance_warmup,
1265
+ :traffic_sources)
1467
1266
  SENSITIVE = []
1468
1267
  include Aws::Structure
1469
1268
  end
1470
1269
 
1471
- # @note When making an API call, you may pass CreateLaunchConfigurationType
1472
- # data as a hash:
1473
- #
1474
- # {
1475
- # launch_configuration_name: "XmlStringMaxLen255", # required
1476
- # image_id: "XmlStringMaxLen255",
1477
- # key_name: "XmlStringMaxLen255",
1478
- # security_groups: ["XmlString"],
1479
- # classic_link_vpc_id: "XmlStringMaxLen255",
1480
- # classic_link_vpc_security_groups: ["XmlStringMaxLen255"],
1481
- # user_data: "XmlStringUserData",
1482
- # instance_id: "XmlStringMaxLen19",
1483
- # instance_type: "XmlStringMaxLen255",
1484
- # kernel_id: "XmlStringMaxLen255",
1485
- # ramdisk_id: "XmlStringMaxLen255",
1486
- # block_device_mappings: [
1487
- # {
1488
- # virtual_name: "XmlStringMaxLen255",
1489
- # device_name: "XmlStringMaxLen255", # required
1490
- # ebs: {
1491
- # snapshot_id: "XmlStringMaxLen255",
1492
- # volume_size: 1,
1493
- # volume_type: "BlockDeviceEbsVolumeType",
1494
- # delete_on_termination: false,
1495
- # iops: 1,
1496
- # encrypted: false,
1497
- # throughput: 1,
1498
- # },
1499
- # no_device: false,
1500
- # },
1501
- # ],
1502
- # instance_monitoring: {
1503
- # enabled: false,
1504
- # },
1505
- # spot_price: "SpotPrice",
1506
- # iam_instance_profile: "XmlStringMaxLen1600",
1507
- # ebs_optimized: false,
1508
- # associate_public_ip_address: false,
1509
- # placement_tenancy: "XmlStringMaxLen64",
1510
- # metadata_options: {
1511
- # http_tokens: "optional", # accepts optional, required
1512
- # http_put_response_hop_limit: 1,
1513
- # http_endpoint: "disabled", # accepts disabled, enabled
1514
- # },
1515
- # }
1516
- #
1517
1270
  # @!attribute [rw] launch_configuration_name
1518
1271
  # The name of the launch configuration. This name must be unique per
1519
1272
  # Region per account.
@@ -1789,21 +1542,6 @@ module Aws::AutoScaling
1789
1542
  include Aws::Structure
1790
1543
  end
1791
1544
 
1792
- # @note When making an API call, you may pass CreateOrUpdateTagsType
1793
- # data as a hash:
1794
- #
1795
- # {
1796
- # tags: [ # required
1797
- # {
1798
- # resource_id: "XmlString",
1799
- # resource_type: "XmlString",
1800
- # key: "TagKey", # required
1801
- # value: "TagValue",
1802
- # propagate_at_launch: false,
1803
- # },
1804
- # ],
1805
- # }
1806
- #
1807
1545
  # @!attribute [rw] tags
1808
1546
  # One or more tags.
1809
1547
  # @return [Array<Types::Tag>]
@@ -1848,22 +1586,6 @@ module Aws::AutoScaling
1848
1586
  # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
1849
1587
  # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html
1850
1588
  #
1851
- # @note When making an API call, you may pass CustomizedMetricSpecification
1852
- # data as a hash:
1853
- #
1854
- # {
1855
- # metric_name: "MetricName", # required
1856
- # namespace: "MetricNamespace", # required
1857
- # dimensions: [
1858
- # {
1859
- # name: "MetricDimensionName", # required
1860
- # value: "MetricDimensionValue", # required
1861
- # },
1862
- # ],
1863
- # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
1864
- # unit: "MetricUnit",
1865
- # }
1866
- #
1867
1589
  # @!attribute [rw] metric_name
1868
1590
  # The name of the metric. To get the exact metric name, namespace, and
1869
1591
  # dimensions, inspect the [Metric][1] object that is returned by a
@@ -1900,6 +1622,12 @@ module Aws::AutoScaling
1900
1622
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
1901
1623
  # @return [String]
1902
1624
  #
1625
+ # @!attribute [rw] metrics
1626
+ # The metrics to include in the target tracking scaling policy, as a
1627
+ # metric data query. This can include both raw metric and metric math
1628
+ # expressions.
1629
+ # @return [Array<Types::TargetTrackingMetricDataQuery>]
1630
+ #
1903
1631
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CustomizedMetricSpecification AWS API Documentation
1904
1632
  #
1905
1633
  class CustomizedMetricSpecification < Struct.new(
@@ -1907,19 +1635,12 @@ module Aws::AutoScaling
1907
1635
  :namespace,
1908
1636
  :dimensions,
1909
1637
  :statistic,
1910
- :unit)
1638
+ :unit,
1639
+ :metrics)
1911
1640
  SENSITIVE = []
1912
1641
  include Aws::Structure
1913
1642
  end
1914
1643
 
1915
- # @note When making an API call, you may pass DeleteAutoScalingGroupType
1916
- # data as a hash:
1917
- #
1918
- # {
1919
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
1920
- # force_delete: false,
1921
- # }
1922
- #
1923
1644
  # @!attribute [rw] auto_scaling_group_name
1924
1645
  # The name of the Auto Scaling group.
1925
1646
  # @return [String]
@@ -1944,14 +1665,6 @@ module Aws::AutoScaling
1944
1665
  #
1945
1666
  class DeleteLifecycleHookAnswer < Aws::EmptyStructure; end
1946
1667
 
1947
- # @note When making an API call, you may pass DeleteLifecycleHookType
1948
- # data as a hash:
1949
- #
1950
- # {
1951
- # lifecycle_hook_name: "AsciiStringMaxLen255", # required
1952
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
1953
- # }
1954
- #
1955
1668
  # @!attribute [rw] lifecycle_hook_name
1956
1669
  # The name of the lifecycle hook.
1957
1670
  # @return [String]
@@ -1969,14 +1682,6 @@ module Aws::AutoScaling
1969
1682
  include Aws::Structure
1970
1683
  end
1971
1684
 
1972
- # @note When making an API call, you may pass DeleteNotificationConfigurationType
1973
- # data as a hash:
1974
- #
1975
- # {
1976
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
1977
- # topic_arn: "XmlStringMaxLen255", # required
1978
- # }
1979
- #
1980
1685
  # @!attribute [rw] auto_scaling_group_name
1981
1686
  # The name of the Auto Scaling group.
1982
1687
  # @return [String]
@@ -1994,14 +1699,6 @@ module Aws::AutoScaling
1994
1699
  include Aws::Structure
1995
1700
  end
1996
1701
 
1997
- # @note When making an API call, you may pass DeletePolicyType
1998
- # data as a hash:
1999
- #
2000
- # {
2001
- # auto_scaling_group_name: "XmlStringMaxLen255",
2002
- # policy_name: "ResourceName", # required
2003
- # }
2004
- #
2005
1702
  # @!attribute [rw] auto_scaling_group_name
2006
1703
  # The name of the Auto Scaling group.
2007
1704
  # @return [String]
@@ -2019,14 +1716,6 @@ module Aws::AutoScaling
2019
1716
  include Aws::Structure
2020
1717
  end
2021
1718
 
2022
- # @note When making an API call, you may pass DeleteScheduledActionType
2023
- # data as a hash:
2024
- #
2025
- # {
2026
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2027
- # scheduled_action_name: "XmlStringMaxLen255", # required
2028
- # }
2029
- #
2030
1719
  # @!attribute [rw] auto_scaling_group_name
2031
1720
  # The name of the Auto Scaling group.
2032
1721
  # @return [String]
@@ -2044,21 +1733,6 @@ module Aws::AutoScaling
2044
1733
  include Aws::Structure
2045
1734
  end
2046
1735
 
2047
- # @note When making an API call, you may pass DeleteTagsType
2048
- # data as a hash:
2049
- #
2050
- # {
2051
- # tags: [ # required
2052
- # {
2053
- # resource_id: "XmlString",
2054
- # resource_type: "XmlString",
2055
- # key: "TagKey", # required
2056
- # value: "TagValue",
2057
- # propagate_at_launch: false,
2058
- # },
2059
- # ],
2060
- # }
2061
- #
2062
1736
  # @!attribute [rw] tags
2063
1737
  # One or more tags.
2064
1738
  # @return [Array<Types::Tag>]
@@ -2075,14 +1749,6 @@ module Aws::AutoScaling
2075
1749
  #
2076
1750
  class DeleteWarmPoolAnswer < Aws::EmptyStructure; end
2077
1751
 
2078
- # @note When making an API call, you may pass DeleteWarmPoolType
2079
- # data as a hash:
2080
- #
2081
- # {
2082
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2083
- # force_delete: false,
2084
- # }
2085
- #
2086
1752
  # @!attribute [rw] auto_scaling_group_name
2087
1753
  # The name of the Auto Scaling group.
2088
1754
  # @return [String]
@@ -2144,15 +1810,6 @@ module Aws::AutoScaling
2144
1810
  include Aws::Structure
2145
1811
  end
2146
1812
 
2147
- # @note When making an API call, you may pass DescribeAutoScalingInstancesType
2148
- # data as a hash:
2149
- #
2150
- # {
2151
- # instance_ids: ["XmlStringMaxLen19"],
2152
- # max_records: 1,
2153
- # next_token: "XmlString",
2154
- # }
2155
- #
2156
1813
  # @!attribute [rw] instance_ids
2157
1814
  # The IDs of the instances. If you omit this property, all Auto
2158
1815
  # Scaling instances are described. If you specify an ID that does not
@@ -2215,16 +1872,6 @@ module Aws::AutoScaling
2215
1872
  include Aws::Structure
2216
1873
  end
2217
1874
 
2218
- # @note When making an API call, you may pass DescribeInstanceRefreshesType
2219
- # data as a hash:
2220
- #
2221
- # {
2222
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2223
- # instance_refresh_ids: ["XmlStringMaxLen255"],
2224
- # next_token: "XmlString",
2225
- # max_records: 1,
2226
- # }
2227
- #
2228
1875
  # @!attribute [rw] auto_scaling_group_name
2229
1876
  # The name of the Auto Scaling group.
2230
1877
  # @return [String]
@@ -2278,14 +1925,6 @@ module Aws::AutoScaling
2278
1925
  include Aws::Structure
2279
1926
  end
2280
1927
 
2281
- # @note When making an API call, you may pass DescribeLifecycleHooksType
2282
- # data as a hash:
2283
- #
2284
- # {
2285
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2286
- # lifecycle_hook_names: ["AsciiStringMaxLen255"],
2287
- # }
2288
- #
2289
1928
  # @!attribute [rw] auto_scaling_group_name
2290
1929
  # The name of the Auto Scaling group.
2291
1930
  # @return [String]
@@ -2304,15 +1943,6 @@ module Aws::AutoScaling
2304
1943
  include Aws::Structure
2305
1944
  end
2306
1945
 
2307
- # @note When making an API call, you may pass DescribeLoadBalancerTargetGroupsRequest
2308
- # data as a hash:
2309
- #
2310
- # {
2311
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2312
- # next_token: "XmlString",
2313
- # max_records: 1,
2314
- # }
2315
- #
2316
1946
  # @!attribute [rw] auto_scaling_group_name
2317
1947
  # The name of the Auto Scaling group.
2318
1948
  # @return [String]
@@ -2358,15 +1988,6 @@ module Aws::AutoScaling
2358
1988
  include Aws::Structure
2359
1989
  end
2360
1990
 
2361
- # @note When making an API call, you may pass DescribeLoadBalancersRequest
2362
- # data as a hash:
2363
- #
2364
- # {
2365
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2366
- # next_token: "XmlString",
2367
- # max_records: 1,
2368
- # }
2369
- #
2370
1991
  # @!attribute [rw] auto_scaling_group_name
2371
1992
  # The name of the Auto Scaling group.
2372
1993
  # @return [String]
@@ -2450,15 +2071,6 @@ module Aws::AutoScaling
2450
2071
  include Aws::Structure
2451
2072
  end
2452
2073
 
2453
- # @note When making an API call, you may pass DescribeNotificationConfigurationsType
2454
- # data as a hash:
2455
- #
2456
- # {
2457
- # auto_scaling_group_names: ["XmlStringMaxLen255"],
2458
- # next_token: "XmlString",
2459
- # max_records: 1,
2460
- # }
2461
- #
2462
2074
  # @!attribute [rw] auto_scaling_group_names
2463
2075
  # The name of the Auto Scaling group.
2464
2076
  # @return [Array<String>]
@@ -2483,17 +2095,6 @@ module Aws::AutoScaling
2483
2095
  include Aws::Structure
2484
2096
  end
2485
2097
 
2486
- # @note When making an API call, you may pass DescribePoliciesType
2487
- # data as a hash:
2488
- #
2489
- # {
2490
- # auto_scaling_group_name: "XmlStringMaxLen255",
2491
- # policy_names: ["ResourceName"],
2492
- # policy_types: ["XmlStringMaxLen64"],
2493
- # next_token: "XmlString",
2494
- # max_records: 1,
2495
- # }
2496
- #
2497
2098
  # @!attribute [rw] auto_scaling_group_name
2498
2099
  # The name of the Auto Scaling group.
2499
2100
  # @return [String]
@@ -2534,17 +2135,6 @@ module Aws::AutoScaling
2534
2135
  include Aws::Structure
2535
2136
  end
2536
2137
 
2537
- # @note When making an API call, you may pass DescribeScalingActivitiesType
2538
- # data as a hash:
2539
- #
2540
- # {
2541
- # activity_ids: ["XmlString"],
2542
- # auto_scaling_group_name: "XmlStringMaxLen255",
2543
- # include_deleted_groups: false,
2544
- # max_records: 1,
2545
- # next_token: "XmlString",
2546
- # }
2547
- #
2548
2138
  # @!attribute [rw] activity_ids
2549
2139
  # The activity IDs of the desired scaling activities. If you omit this
2550
2140
  # property, all activities for the past six weeks are described. If
@@ -2586,18 +2176,6 @@ module Aws::AutoScaling
2586
2176
  include Aws::Structure
2587
2177
  end
2588
2178
 
2589
- # @note When making an API call, you may pass DescribeScheduledActionsType
2590
- # data as a hash:
2591
- #
2592
- # {
2593
- # auto_scaling_group_name: "XmlStringMaxLen255",
2594
- # scheduled_action_names: ["XmlStringMaxLen255"],
2595
- # start_time: Time.now,
2596
- # end_time: Time.now,
2597
- # next_token: "XmlString",
2598
- # max_records: 1,
2599
- # }
2600
- #
2601
2179
  # @!attribute [rw] auto_scaling_group_name
2602
2180
  # The name of the Auto Scaling group.
2603
2181
  # @return [String]
@@ -2643,20 +2221,6 @@ module Aws::AutoScaling
2643
2221
  include Aws::Structure
2644
2222
  end
2645
2223
 
2646
- # @note When making an API call, you may pass DescribeTagsType
2647
- # data as a hash:
2648
- #
2649
- # {
2650
- # filters: [
2651
- # {
2652
- # name: "XmlString",
2653
- # values: ["XmlString"],
2654
- # },
2655
- # ],
2656
- # next_token: "XmlString",
2657
- # max_records: 1,
2658
- # }
2659
- #
2660
2224
  # @!attribute [rw] filters
2661
2225
  # One or more filters to scope the tags to return. The maximum number
2662
2226
  # of filters per filter type (for example, `auto-scaling-group`) is
@@ -2698,6 +2262,57 @@ module Aws::AutoScaling
2698
2262
  include Aws::Structure
2699
2263
  end
2700
2264
 
2265
+ # @!attribute [rw] auto_scaling_group_name
2266
+ # The name of the Auto Scaling group.
2267
+ # @return [String]
2268
+ #
2269
+ # @!attribute [rw] traffic_source_type
2270
+ # The type of traffic source you are describing. Currently, the only
2271
+ # valid value is `vpc-lattice`.
2272
+ # @return [String]
2273
+ #
2274
+ # @!attribute [rw] next_token
2275
+ # The token for the next set of items to return. (You received this
2276
+ # token from a previous call.)
2277
+ # @return [String]
2278
+ #
2279
+ # @!attribute [rw] max_records
2280
+ # The maximum number of items to return with this call. The maximum
2281
+ # value is `50`.
2282
+ # @return [Integer]
2283
+ #
2284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTrafficSourcesRequest AWS API Documentation
2285
+ #
2286
+ class DescribeTrafficSourcesRequest < Struct.new(
2287
+ :auto_scaling_group_name,
2288
+ :traffic_source_type,
2289
+ :next_token,
2290
+ :max_records)
2291
+ SENSITIVE = []
2292
+ include Aws::Structure
2293
+ end
2294
+
2295
+ # @!attribute [rw] traffic_sources
2296
+ # Information about the traffic sources.
2297
+ # @return [Array<Types::TrafficSourceState>]
2298
+ #
2299
+ # @!attribute [rw] next_token
2300
+ # This string indicates that the response contains more items than can
2301
+ # be returned in a single response. To receive additional items,
2302
+ # specify this string for the `NextToken` value when requesting the
2303
+ # next set of items. This value is null when there are no more items
2304
+ # to return.
2305
+ # @return [String]
2306
+ #
2307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTrafficSourcesResponse AWS API Documentation
2308
+ #
2309
+ class DescribeTrafficSourcesResponse < Struct.new(
2310
+ :traffic_sources,
2311
+ :next_token)
2312
+ SENSITIVE = []
2313
+ include Aws::Structure
2314
+ end
2315
+
2701
2316
  # @!attribute [rw] warm_pool_configuration
2702
2317
  # The warm pool configuration details.
2703
2318
  # @return [Types::WarmPoolConfiguration]
@@ -2707,8 +2322,11 @@ module Aws::AutoScaling
2707
2322
  # @return [Array<Types::Instance>]
2708
2323
  #
2709
2324
  # @!attribute [rw] next_token
2710
- # The token for the next set of items to return. (You received this
2711
- # token from a previous call.)
2325
+ # This string indicates that the response contains more items than can
2326
+ # be returned in a single response. To receive additional items,
2327
+ # specify this string for the `NextToken` value when requesting the
2328
+ # next set of items. This value is null when there are no more items
2329
+ # to return.
2712
2330
  # @return [String]
2713
2331
  #
2714
2332
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeWarmPoolAnswer AWS API Documentation
@@ -2721,15 +2339,6 @@ module Aws::AutoScaling
2721
2339
  include Aws::Structure
2722
2340
  end
2723
2341
 
2724
- # @note When making an API call, you may pass DescribeWarmPoolType
2725
- # data as a hash:
2726
- #
2727
- # {
2728
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2729
- # max_records: 1,
2730
- # next_token: "XmlString",
2731
- # }
2732
- #
2733
2342
  # @!attribute [rw] auto_scaling_group_name
2734
2343
  # The name of the Auto Scaling group.
2735
2344
  # @return [String]
@@ -2759,97 +2368,6 @@ module Aws::AutoScaling
2759
2368
  # If you specify a desired configuration, you must specify either a
2760
2369
  # `LaunchTemplate` or a `MixedInstancesPolicy`.
2761
2370
  #
2762
- # @note When making an API call, you may pass DesiredConfiguration
2763
- # data as a hash:
2764
- #
2765
- # {
2766
- # launch_template: {
2767
- # launch_template_id: "XmlStringMaxLen255",
2768
- # launch_template_name: "LaunchTemplateName",
2769
- # version: "XmlStringMaxLen255",
2770
- # },
2771
- # mixed_instances_policy: {
2772
- # launch_template: {
2773
- # launch_template_specification: {
2774
- # launch_template_id: "XmlStringMaxLen255",
2775
- # launch_template_name: "LaunchTemplateName",
2776
- # version: "XmlStringMaxLen255",
2777
- # },
2778
- # overrides: [
2779
- # {
2780
- # instance_type: "XmlStringMaxLen255",
2781
- # weighted_capacity: "XmlStringMaxLen32",
2782
- # launch_template_specification: {
2783
- # launch_template_id: "XmlStringMaxLen255",
2784
- # launch_template_name: "LaunchTemplateName",
2785
- # version: "XmlStringMaxLen255",
2786
- # },
2787
- # instance_requirements: {
2788
- # v_cpu_count: { # required
2789
- # min: 1, # required
2790
- # max: 1,
2791
- # },
2792
- # memory_mi_b: { # required
2793
- # min: 1, # required
2794
- # max: 1,
2795
- # },
2796
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
2797
- # memory_gi_b_per_v_cpu: {
2798
- # min: 1.0,
2799
- # max: 1.0,
2800
- # },
2801
- # excluded_instance_types: ["ExcludedInstance"],
2802
- # instance_generations: ["current"], # accepts current, previous
2803
- # spot_max_price_percentage_over_lowest_price: 1,
2804
- # on_demand_max_price_percentage_over_lowest_price: 1,
2805
- # bare_metal: "included", # accepts included, excluded, required
2806
- # burstable_performance: "included", # accepts included, excluded, required
2807
- # require_hibernate_support: false,
2808
- # network_interface_count: {
2809
- # min: 1,
2810
- # max: 1,
2811
- # },
2812
- # local_storage: "included", # accepts included, excluded, required
2813
- # local_storage_types: ["hdd"], # accepts hdd, ssd
2814
- # total_local_storage_gb: {
2815
- # min: 1.0,
2816
- # max: 1.0,
2817
- # },
2818
- # baseline_ebs_bandwidth_mbps: {
2819
- # min: 1,
2820
- # max: 1,
2821
- # },
2822
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
2823
- # accelerator_count: {
2824
- # min: 1,
2825
- # max: 1,
2826
- # },
2827
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
2828
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
2829
- # accelerator_total_memory_mi_b: {
2830
- # min: 1,
2831
- # max: 1,
2832
- # },
2833
- # network_bandwidth_gbps: {
2834
- # min: 1.0,
2835
- # max: 1.0,
2836
- # },
2837
- # allowed_instance_types: ["AllowedInstanceType"],
2838
- # },
2839
- # },
2840
- # ],
2841
- # },
2842
- # instances_distribution: {
2843
- # on_demand_allocation_strategy: "XmlString",
2844
- # on_demand_base_capacity: 1,
2845
- # on_demand_percentage_above_base_capacity: 1,
2846
- # spot_allocation_strategy: "XmlString",
2847
- # spot_instance_pools: 1,
2848
- # spot_max_price: "MixedInstanceSpotPrice",
2849
- # },
2850
- # },
2851
- # }
2852
- #
2853
2371
  # @!attribute [rw] launch_template
2854
2372
  # Describes the launch template and the version of the launch template
2855
2373
  # that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances.
@@ -2898,15 +2416,6 @@ module Aws::AutoScaling
2898
2416
  include Aws::Structure
2899
2417
  end
2900
2418
 
2901
- # @note When making an API call, you may pass DetachInstancesQuery
2902
- # data as a hash:
2903
- #
2904
- # {
2905
- # instance_ids: ["XmlStringMaxLen19"],
2906
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2907
- # should_decrement_desired_capacity: false, # required
2908
- # }
2909
- #
2910
2419
  # @!attribute [rw] instance_ids
2911
2420
  # The IDs of the instances. You can specify up to 20 instances.
2912
2421
  # @return [Array<String>]
@@ -2934,14 +2443,6 @@ module Aws::AutoScaling
2934
2443
  #
2935
2444
  class DetachLoadBalancerTargetGroupsResultType < Aws::EmptyStructure; end
2936
2445
 
2937
- # @note When making an API call, you may pass DetachLoadBalancerTargetGroupsType
2938
- # data as a hash:
2939
- #
2940
- # {
2941
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2942
- # target_group_arns: ["XmlStringMaxLen511"], # required
2943
- # }
2944
- #
2945
2446
  # @!attribute [rw] auto_scaling_group_name
2946
2447
  # The name of the Auto Scaling group.
2947
2448
  # @return [String]
@@ -2964,14 +2465,6 @@ module Aws::AutoScaling
2964
2465
  #
2965
2466
  class DetachLoadBalancersResultType < Aws::EmptyStructure; end
2966
2467
 
2967
- # @note When making an API call, you may pass DetachLoadBalancersType
2968
- # data as a hash:
2969
- #
2970
- # {
2971
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2972
- # load_balancer_names: ["XmlStringMaxLen255"], # required
2973
- # }
2974
- #
2975
2468
  # @!attribute [rw] auto_scaling_group_name
2976
2469
  # The name of the Auto Scaling group.
2977
2470
  # @return [String]
@@ -2990,14 +2483,35 @@ module Aws::AutoScaling
2990
2483
  include Aws::Structure
2991
2484
  end
2992
2485
 
2993
- # @note When making an API call, you may pass DisableMetricsCollectionQuery
2994
- # data as a hash:
2486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachTrafficSourcesResultType AWS API Documentation
2995
2487
  #
2996
- # {
2997
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2998
- # metrics: ["XmlStringMaxLen255"],
2999
- # }
2488
+ class DetachTrafficSourcesResultType < Aws::EmptyStructure; end
2489
+
2490
+ # @!attribute [rw] auto_scaling_group_name
2491
+ # The name of the Auto Scaling group.
2492
+ # @return [String]
2493
+ #
2494
+ # @!attribute [rw] traffic_sources
2495
+ # The unique identifiers of one or more traffic sources you are
2496
+ # detaching. You can specify up to 10 traffic sources.
2497
+ #
2498
+ # Currently, you must specify an Amazon Resource Name (ARN) for an
2499
+ # existing VPC Lattice target group. When you detach a target group,
2500
+ # it enters the `Removing` state while deregistering the instances in
2501
+ # the group. When all instances are deregistered, then you can no
2502
+ # longer describe the target group using the DescribeTrafficSources
2503
+ # API call. The instances continue to run.
2504
+ # @return [Array<Types::TrafficSourceIdentifier>]
3000
2505
  #
2506
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachTrafficSourcesType AWS API Documentation
2507
+ #
2508
+ class DetachTrafficSourcesType < Struct.new(
2509
+ :auto_scaling_group_name,
2510
+ :traffic_sources)
2511
+ SENSITIVE = []
2512
+ include Aws::Structure
2513
+ end
2514
+
3001
2515
  # @!attribute [rw] auto_scaling_group_name
3002
2516
  # The name of the Auto Scaling group.
3003
2517
  # @return [String]
@@ -3069,19 +2583,6 @@ module Aws::AutoScaling
3069
2583
  # Describes information used to set up an Amazon EBS volume specified in
3070
2584
  # a block device mapping.
3071
2585
  #
3072
- # @note When making an API call, you may pass Ebs
3073
- # data as a hash:
3074
- #
3075
- # {
3076
- # snapshot_id: "XmlStringMaxLen255",
3077
- # volume_size: 1,
3078
- # volume_type: "BlockDeviceEbsVolumeType",
3079
- # delete_on_termination: false,
3080
- # iops: 1,
3081
- # encrypted: false,
3082
- # throughput: 1,
3083
- # }
3084
- #
3085
2586
  # @!attribute [rw] snapshot_id
3086
2587
  # The snapshot ID of the volume to use.
3087
2588
  #
@@ -3195,15 +2696,6 @@ module Aws::AutoScaling
3195
2696
  include Aws::Structure
3196
2697
  end
3197
2698
 
3198
- # @note When making an API call, you may pass EnableMetricsCollectionQuery
3199
- # data as a hash:
3200
- #
3201
- # {
3202
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
3203
- # metrics: ["XmlStringMaxLen255"],
3204
- # granularity: "XmlStringMaxLen255", # required
3205
- # }
3206
- #
3207
2699
  # @!attribute [rw] auto_scaling_group_name
3208
2700
  # The name of the Auto Scaling group.
3209
2701
  # @return [String]
@@ -3357,15 +2849,6 @@ module Aws::AutoScaling
3357
2849
  include Aws::Structure
3358
2850
  end
3359
2851
 
3360
- # @note When making an API call, you may pass EnterStandbyQuery
3361
- # data as a hash:
3362
- #
3363
- # {
3364
- # instance_ids: ["XmlStringMaxLen19"],
3365
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
3366
- # should_decrement_desired_capacity: false, # required
3367
- # }
3368
- #
3369
2852
  # @!attribute [rw] instance_ids
3370
2853
  # The IDs of the instances. You can specify up to 20 instances.
3371
2854
  # @return [Array<String>]
@@ -3389,17 +2872,6 @@ module Aws::AutoScaling
3389
2872
  include Aws::Structure
3390
2873
  end
3391
2874
 
3392
- # @note When making an API call, you may pass ExecutePolicyType
3393
- # data as a hash:
3394
- #
3395
- # {
3396
- # auto_scaling_group_name: "XmlStringMaxLen255",
3397
- # policy_name: "ResourceName", # required
3398
- # honor_cooldown: false,
3399
- # metric_value: 1.0,
3400
- # breach_threshold: 1.0,
3401
- # }
3402
- #
3403
2875
  # @!attribute [rw] auto_scaling_group_name
3404
2876
  # The name of the Auto Scaling group.
3405
2877
  # @return [String]
@@ -3466,14 +2938,6 @@ module Aws::AutoScaling
3466
2938
  include Aws::Structure
3467
2939
  end
3468
2940
 
3469
- # @note When making an API call, you may pass ExitStandbyQuery
3470
- # data as a hash:
3471
- #
3472
- # {
3473
- # instance_ids: ["XmlStringMaxLen19"],
3474
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
3475
- # }
3476
- #
3477
2941
  # @!attribute [rw] instance_ids
3478
2942
  # The IDs of the instances. You can specify up to 20 instances.
3479
2943
  # @return [Array<String>]
@@ -3530,14 +2994,6 @@ module Aws::AutoScaling
3530
2994
  #
3531
2995
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html
3532
2996
  #
3533
- # @note When making an API call, you may pass Filter
3534
- # data as a hash:
3535
- #
3536
- # {
3537
- # name: "XmlString",
3538
- # values: ["XmlString"],
3539
- # }
3540
- #
3541
2997
  # @!attribute [rw] name
3542
2998
  # The name of the filter.
3543
2999
  #
@@ -3623,16 +3079,6 @@ module Aws::AutoScaling
3623
3079
  include Aws::Structure
3624
3080
  end
3625
3081
 
3626
- # @note When making an API call, you may pass GetPredictiveScalingForecastType
3627
- # data as a hash:
3628
- #
3629
- # {
3630
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
3631
- # policy_name: "XmlStringMaxLen255", # required
3632
- # start_time: Time.now, # required
3633
- # end_time: Time.now, # required
3634
- # }
3635
- #
3636
3082
  # @!attribute [rw] auto_scaling_group_name
3637
3083
  # The name of the Auto Scaling group.
3638
3084
  # @return [String]
@@ -3744,15 +3190,6 @@ module Aws::AutoScaling
3744
3190
  #
3745
3191
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds
3746
3192
  #
3747
- # @note When making an API call, you may pass InstanceMetadataOptions
3748
- # data as a hash:
3749
- #
3750
- # {
3751
- # http_tokens: "optional", # accepts optional, required
3752
- # http_put_response_hop_limit: 1,
3753
- # http_endpoint: "disabled", # accepts disabled, enabled
3754
- # }
3755
- #
3756
3193
  # @!attribute [rw] http_tokens
3757
3194
  # The state of token usage for your instance metadata requests. If the
3758
3195
  # parameter is not specified in the request, the default state is
@@ -3803,13 +3240,6 @@ module Aws::AutoScaling
3803
3240
  # Describes whether detailed monitoring is enabled for the Auto Scaling
3804
3241
  # instances.
3805
3242
  #
3806
- # @note When making an API call, you may pass InstanceMonitoring
3807
- # data as a hash:
3808
- #
3809
- # {
3810
- # enabled: false,
3811
- # }
3812
- #
3813
3243
  # @!attribute [rw] enabled
3814
3244
  # If `true`, detailed monitoring is enabled. Otherwise, basic
3815
3245
  # monitoring is enabled.
@@ -4037,62 +3467,6 @@ module Aws::AutoScaling
4037
3467
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
4038
3468
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements
4039
3469
  #
4040
- # @note When making an API call, you may pass InstanceRequirements
4041
- # data as a hash:
4042
- #
4043
- # {
4044
- # v_cpu_count: { # required
4045
- # min: 1, # required
4046
- # max: 1,
4047
- # },
4048
- # memory_mi_b: { # required
4049
- # min: 1, # required
4050
- # max: 1,
4051
- # },
4052
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
4053
- # memory_gi_b_per_v_cpu: {
4054
- # min: 1.0,
4055
- # max: 1.0,
4056
- # },
4057
- # excluded_instance_types: ["ExcludedInstance"],
4058
- # instance_generations: ["current"], # accepts current, previous
4059
- # spot_max_price_percentage_over_lowest_price: 1,
4060
- # on_demand_max_price_percentage_over_lowest_price: 1,
4061
- # bare_metal: "included", # accepts included, excluded, required
4062
- # burstable_performance: "included", # accepts included, excluded, required
4063
- # require_hibernate_support: false,
4064
- # network_interface_count: {
4065
- # min: 1,
4066
- # max: 1,
4067
- # },
4068
- # local_storage: "included", # accepts included, excluded, required
4069
- # local_storage_types: ["hdd"], # accepts hdd, ssd
4070
- # total_local_storage_gb: {
4071
- # min: 1.0,
4072
- # max: 1.0,
4073
- # },
4074
- # baseline_ebs_bandwidth_mbps: {
4075
- # min: 1,
4076
- # max: 1,
4077
- # },
4078
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
4079
- # accelerator_count: {
4080
- # min: 1,
4081
- # max: 1,
4082
- # },
4083
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
4084
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
4085
- # accelerator_total_memory_mi_b: {
4086
- # min: 1,
4087
- # max: 1,
4088
- # },
4089
- # network_bandwidth_gbps: {
4090
- # min: 1.0,
4091
- # max: 1.0,
4092
- # },
4093
- # allowed_instance_types: ["AllowedInstanceType"],
4094
- # }
4095
- #
4096
3470
  # @!attribute [rw] v_cpu_count
4097
3471
  # The minimum and maximum number of vCPUs for an instance type.
4098
3472
  # @return [Types::VCpuCountRequest]
@@ -4417,13 +3791,6 @@ module Aws::AutoScaling
4417
3791
  #
4418
3792
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html
4419
3793
  #
4420
- # @note When making an API call, you may pass InstanceReusePolicy
4421
- # data as a hash:
4422
- #
4423
- # {
4424
- # reuse_on_scale_in: false,
4425
- # }
4426
- #
4427
3794
  # @!attribute [rw] reuse_on_scale_in
4428
3795
  # Specifies whether instances in the Auto Scaling group can be
4429
3796
  # returned to the warm pool on scale in.
@@ -4441,37 +3808,31 @@ module Aws::AutoScaling
4441
3808
  # and Spot Instances and the allocation strategies used to fulfill
4442
3809
  # On-Demand and Spot capacities for a mixed instances policy.
4443
3810
  #
4444
- # @note When making an API call, you may pass InstancesDistribution
4445
- # data as a hash:
4446
- #
4447
- # {
4448
- # on_demand_allocation_strategy: "XmlString",
4449
- # on_demand_base_capacity: 1,
4450
- # on_demand_percentage_above_base_capacity: 1,
4451
- # spot_allocation_strategy: "XmlString",
4452
- # spot_instance_pools: 1,
4453
- # spot_max_price: "MixedInstanceSpotPrice",
4454
- # }
4455
- #
4456
3811
  # @!attribute [rw] on_demand_allocation_strategy
4457
- # The order of the launch template overrides to use in fulfilling
4458
- # On-Demand capacity.
3812
+ # The allocation strategy to apply to your On-Demand Instances when
3813
+ # they are launched. Possible instance types are determined by the
3814
+ # launch template overrides that you specify.
3815
+ #
3816
+ # The following lists the valid values:
4459
3817
  #
4460
- # If you specify `lowest-price`, Amazon EC2 Auto Scaling uses price to
4461
- # determine the order, launching the lowest price first.
3818
+ # lowest-price
4462
3819
  #
4463
- # If you specify `prioritized`, Amazon EC2 Auto Scaling uses the
4464
- # priority that you assigned to each launch template override,
4465
- # launching the highest priority first. If all your On-Demand capacity
4466
- # cannot be fulfilled using your highest priority instance, then
4467
- # Amazon EC2 Auto Scaling launches the remaining capacity using the
4468
- # second priority instance type, and so on.
3820
+ # : Uses price to determine which instance types are the highest
3821
+ # priority, launching the lowest priced instance types within an
3822
+ # Availability Zone first. This is the default value for Auto
3823
+ # Scaling groups that specify InstanceRequirements.
4469
3824
  #
4470
- # Default: `lowest-price` for Auto Scaling groups that specify
4471
- # InstanceRequirements in the overrides and `prioritized` for Auto
4472
- # Scaling groups that don't.
3825
+ # prioritized
4473
3826
  #
4474
- # Valid values: `lowest-price` \| `prioritized`
3827
+ # : You set the order of instance types for the launch template
3828
+ # overrides from highest to lowest priority (from first to last in
3829
+ # the list). Amazon EC2 Auto Scaling launches your highest priority
3830
+ # instance types first. If all your On-Demand capacity cannot be
3831
+ # fulfilled using your highest priority instance type, then Amazon
3832
+ # EC2 Auto Scaling launches the remaining capacity using the second
3833
+ # priority instance type, and so on. This is the default value for
3834
+ # Auto Scaling groups that don't specify InstanceRequirements and
3835
+ # cannot be used for groups that do.
4475
3836
  # @return [String]
4476
3837
  #
4477
3838
  # @!attribute [rw] on_demand_base_capacity
@@ -4479,13 +3840,14 @@ module Aws::AutoScaling
4479
3840
  # be fulfilled by On-Demand Instances. This base portion is launched
4480
3841
  # first as your group scales.
4481
3842
  #
4482
- # If you specify weights for the instance types in the overrides, the
4483
- # base capacity is measured in the same unit of measurement as the
4484
- # instance types. If you specify InstanceRequirements in the
4485
- # overrides, the base capacity is measured in the same unit of
4486
- # measurement as your group's desired capacity.
3843
+ # This number has the same unit of measurement as the group's desired
3844
+ # capacity. If you change the default unit of measurement (number of
3845
+ # instances) by specifying weighted capacity values in your launch
3846
+ # template overrides list, or by changing the default desired capacity
3847
+ # type setting of the group, you must specify this number using the
3848
+ # same unit of measurement.
4487
3849
  #
4488
- # Default: `0`
3850
+ # Default: 0
4489
3851
  # @return [Integer]
4490
3852
  #
4491
3853
  # @!attribute [rw] on_demand_percentage_above_base_capacity
@@ -4495,39 +3857,58 @@ module Aws::AutoScaling
4495
3857
  # Instances, 80% Spot Instances). If set to 100, only On-Demand
4496
3858
  # Instances are used.
4497
3859
  #
4498
- # Default: `100`
3860
+ # Default: 100
4499
3861
  # @return [Integer]
4500
3862
  #
4501
3863
  # @!attribute [rw] spot_allocation_strategy
4502
- # Indicates how to allocate instances across Spot Instance pools.
3864
+ # The allocation strategy to apply to your Spot Instances when they
3865
+ # are launched. Possible instance types are determined by the launch
3866
+ # template overrides that you specify.
3867
+ #
3868
+ # The following lists the valid values:
3869
+ #
3870
+ # capacity-optimized
3871
+ #
3872
+ # : Requests Spot Instances using pools that are optimally chosen
3873
+ # based on the available Spot capacity. This strategy has the lowest
3874
+ # risk of interruption. To give certain instance types a higher
3875
+ # chance of launching first, use `capacity-optimized-prioritized`.
3876
+ #
3877
+ # capacity-optimized-prioritized
3878
+ #
3879
+ # : You set the order of instance types for the launch template
3880
+ # overrides from highest to lowest priority (from first to last in
3881
+ # the list). Amazon EC2 Auto Scaling honors the instance type
3882
+ # priorities on a best effort basis but optimizes for capacity
3883
+ # first. Note that if the On-Demand allocation strategy is set to
3884
+ # `prioritized`, the same priority is applied when fulfilling
3885
+ # On-Demand capacity. This is not a valid value for Auto Scaling
3886
+ # groups that specify InstanceRequirements.
4503
3887
  #
4504
- # If the allocation strategy is `lowest-price`, the Auto Scaling group
4505
- # launches instances using the Spot pools with the lowest price, and
4506
- # evenly allocates your instances across the number of Spot pools that
4507
- # you specify.
3888
+ # lowest-price
4508
3889
  #
4509
- # If the allocation strategy is `capacity-optimized` (recommended),
4510
- # the Auto Scaling group launches instances using Spot pools that are
4511
- # optimally chosen based on the available Spot capacity.
4512
- # Alternatively, you can use `capacity-optimized-prioritized` and set
4513
- # the order of instance types in the list of launch template overrides
4514
- # from highest to lowest priority (from first to last in the list).
4515
- # Amazon EC2 Auto Scaling honors the instance type priorities on a
4516
- # best-effort basis but optimizes for capacity first.
3890
+ # : Requests Spot Instances using the lowest priced pools within an
3891
+ # Availability Zone, across the number of Spot pools that you
3892
+ # specify for the `SpotInstancePools` property. To ensure that your
3893
+ # desired capacity is met, you might receive Spot Instances from
3894
+ # several pools. This is the default value, but it might lead to
3895
+ # high interruption rates because this strategy only considers
3896
+ # instance price and not available capacity.
4517
3897
  #
4518
- # Default: `lowest-price`
3898
+ # price-capacity-optimized (recommended)
4519
3899
  #
4520
- # Valid values: `lowest-price` \| `capacity-optimized` \|
4521
- # `capacity-optimized-prioritized`
3900
+ # : The price and capacity optimized allocation strategy looks at both
3901
+ # price and capacity to select the Spot Instance pools that are the
3902
+ # least likely to be interrupted and have the lowest possible price.
4522
3903
  # @return [String]
4523
3904
  #
4524
3905
  # @!attribute [rw] spot_instance_pools
4525
3906
  # The number of Spot Instance pools across which to allocate your Spot
4526
3907
  # Instances. The Spot pools are determined from the different instance
4527
- # types in the overrides. Valid only when the Spot allocation strategy
3908
+ # types in the overrides. Valid only when the `SpotAllocationStrategy`
4528
3909
  # is `lowest-price`. Value must be in the range of 1–20.
4529
3910
  #
4530
- # Default: `2`
3911
+ # Default: 2
4531
3912
  # @return [Integer]
4532
3913
  #
4533
3914
  # @!attribute [rw] spot_max_price
@@ -4783,13 +4164,6 @@ module Aws::AutoScaling
4783
4164
  include Aws::Structure
4784
4165
  end
4785
4166
 
4786
- # @note When making an API call, you may pass LaunchConfigurationNameType
4787
- # data as a hash:
4788
- #
4789
- # {
4790
- # launch_configuration_name: "XmlStringMaxLen255", # required
4791
- # }
4792
- #
4793
4167
  # @!attribute [rw] launch_configuration_name
4794
4168
  # The name of the launch configuration.
4795
4169
  # @return [String]
@@ -4802,15 +4176,6 @@ module Aws::AutoScaling
4802
4176
  include Aws::Structure
4803
4177
  end
4804
4178
 
4805
- # @note When making an API call, you may pass LaunchConfigurationNamesType
4806
- # data as a hash:
4807
- #
4808
- # {
4809
- # launch_configuration_names: ["XmlStringMaxLen255"],
4810
- # next_token: "XmlString",
4811
- # max_records: 1,
4812
- # }
4813
- #
4814
4179
  # @!attribute [rw] launch_configuration_names
4815
4180
  # The launch configuration names. If you omit this property, all
4816
4181
  # launch configurations are described.
@@ -4862,80 +4227,6 @@ module Aws::AutoScaling
4862
4227
  # Use this structure to specify the launch templates and instance types
4863
4228
  # (overrides) for a mixed instances policy.
4864
4229
  #
4865
- # @note When making an API call, you may pass LaunchTemplate
4866
- # data as a hash:
4867
- #
4868
- # {
4869
- # launch_template_specification: {
4870
- # launch_template_id: "XmlStringMaxLen255",
4871
- # launch_template_name: "LaunchTemplateName",
4872
- # version: "XmlStringMaxLen255",
4873
- # },
4874
- # overrides: [
4875
- # {
4876
- # instance_type: "XmlStringMaxLen255",
4877
- # weighted_capacity: "XmlStringMaxLen32",
4878
- # launch_template_specification: {
4879
- # launch_template_id: "XmlStringMaxLen255",
4880
- # launch_template_name: "LaunchTemplateName",
4881
- # version: "XmlStringMaxLen255",
4882
- # },
4883
- # instance_requirements: {
4884
- # v_cpu_count: { # required
4885
- # min: 1, # required
4886
- # max: 1,
4887
- # },
4888
- # memory_mi_b: { # required
4889
- # min: 1, # required
4890
- # max: 1,
4891
- # },
4892
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
4893
- # memory_gi_b_per_v_cpu: {
4894
- # min: 1.0,
4895
- # max: 1.0,
4896
- # },
4897
- # excluded_instance_types: ["ExcludedInstance"],
4898
- # instance_generations: ["current"], # accepts current, previous
4899
- # spot_max_price_percentage_over_lowest_price: 1,
4900
- # on_demand_max_price_percentage_over_lowest_price: 1,
4901
- # bare_metal: "included", # accepts included, excluded, required
4902
- # burstable_performance: "included", # accepts included, excluded, required
4903
- # require_hibernate_support: false,
4904
- # network_interface_count: {
4905
- # min: 1,
4906
- # max: 1,
4907
- # },
4908
- # local_storage: "included", # accepts included, excluded, required
4909
- # local_storage_types: ["hdd"], # accepts hdd, ssd
4910
- # total_local_storage_gb: {
4911
- # min: 1.0,
4912
- # max: 1.0,
4913
- # },
4914
- # baseline_ebs_bandwidth_mbps: {
4915
- # min: 1,
4916
- # max: 1,
4917
- # },
4918
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
4919
- # accelerator_count: {
4920
- # min: 1,
4921
- # max: 1,
4922
- # },
4923
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
4924
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
4925
- # accelerator_total_memory_mi_b: {
4926
- # min: 1,
4927
- # max: 1,
4928
- # },
4929
- # network_bandwidth_gbps: {
4930
- # min: 1.0,
4931
- # max: 1.0,
4932
- # },
4933
- # allowed_instance_types: ["AllowedInstanceType"],
4934
- # },
4935
- # },
4936
- # ],
4937
- # }
4938
- #
4939
4230
  # @!attribute [rw] launch_template_specification
4940
4231
  # The launch template.
4941
4232
  # @return [Types::LaunchTemplateSpecification]
@@ -4975,71 +4266,6 @@ module Aws::AutoScaling
4975
4266
  # Scaling group to determine whether a new EC2 instance type can be
4976
4267
  # used.
4977
4268
  #
4978
- # @note When making an API call, you may pass LaunchTemplateOverrides
4979
- # data as a hash:
4980
- #
4981
- # {
4982
- # instance_type: "XmlStringMaxLen255",
4983
- # weighted_capacity: "XmlStringMaxLen32",
4984
- # launch_template_specification: {
4985
- # launch_template_id: "XmlStringMaxLen255",
4986
- # launch_template_name: "LaunchTemplateName",
4987
- # version: "XmlStringMaxLen255",
4988
- # },
4989
- # instance_requirements: {
4990
- # v_cpu_count: { # required
4991
- # min: 1, # required
4992
- # max: 1,
4993
- # },
4994
- # memory_mi_b: { # required
4995
- # min: 1, # required
4996
- # max: 1,
4997
- # },
4998
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
4999
- # memory_gi_b_per_v_cpu: {
5000
- # min: 1.0,
5001
- # max: 1.0,
5002
- # },
5003
- # excluded_instance_types: ["ExcludedInstance"],
5004
- # instance_generations: ["current"], # accepts current, previous
5005
- # spot_max_price_percentage_over_lowest_price: 1,
5006
- # on_demand_max_price_percentage_over_lowest_price: 1,
5007
- # bare_metal: "included", # accepts included, excluded, required
5008
- # burstable_performance: "included", # accepts included, excluded, required
5009
- # require_hibernate_support: false,
5010
- # network_interface_count: {
5011
- # min: 1,
5012
- # max: 1,
5013
- # },
5014
- # local_storage: "included", # accepts included, excluded, required
5015
- # local_storage_types: ["hdd"], # accepts hdd, ssd
5016
- # total_local_storage_gb: {
5017
- # min: 1.0,
5018
- # max: 1.0,
5019
- # },
5020
- # baseline_ebs_bandwidth_mbps: {
5021
- # min: 1,
5022
- # max: 1,
5023
- # },
5024
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
5025
- # accelerator_count: {
5026
- # min: 1,
5027
- # max: 1,
5028
- # },
5029
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
5030
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
5031
- # accelerator_total_memory_mi_b: {
5032
- # min: 1,
5033
- # max: 1,
5034
- # },
5035
- # network_bandwidth_gbps: {
5036
- # min: 1.0,
5037
- # max: 1.0,
5038
- # },
5039
- # allowed_instance_types: ["AllowedInstanceType"],
5040
- # },
5041
- # }
5042
- #
5043
4269
  # @!attribute [rw] instance_type
5044
4270
  # The instance type, such as `m3.xlarge`. You must specify an instance
5045
4271
  # type that is supported in your requested Region and Availability
@@ -5141,15 +4367,6 @@ module Aws::AutoScaling
5141
4367
  #
5142
4368
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchTemplates.html
5143
4369
  #
5144
- # @note When making an API call, you may pass LaunchTemplateSpecification
5145
- # data as a hash:
5146
- #
5147
- # {
5148
- # launch_template_id: "XmlStringMaxLen255",
5149
- # launch_template_name: "LaunchTemplateName",
5150
- # version: "XmlStringMaxLen255",
5151
- # }
5152
- #
5153
4370
  # @!attribute [rw] launch_template_id
5154
4371
  # The ID of the launch template. To get the template ID, use the
5155
4372
  # Amazon EC2 [DescribeLaunchTemplates][1] API operation. New launch
@@ -5290,19 +4507,6 @@ module Aws::AutoScaling
5290
4507
  #
5291
4508
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
5292
4509
  #
5293
- # @note When making an API call, you may pass LifecycleHookSpecification
5294
- # data as a hash:
5295
- #
5296
- # {
5297
- # lifecycle_hook_name: "AsciiStringMaxLen255", # required
5298
- # lifecycle_transition: "LifecycleTransition", # required
5299
- # notification_metadata: "XmlStringMaxLen1023",
5300
- # heartbeat_timeout: 1,
5301
- # default_result: "LifecycleActionResult",
5302
- # notification_target_arn: "NotificationTargetResourceName",
5303
- # role_arn: "XmlStringMaxLen255",
5304
- # }
5305
- #
5306
4510
  # @!attribute [rw] lifecycle_hook_name
5307
4511
  # The name of the lifecycle hook.
5308
4512
  # @return [String]
@@ -5494,14 +4698,6 @@ module Aws::AutoScaling
5494
4698
  # Specifies the minimum and maximum for the `MemoryGiBPerVCpu` object
5495
4699
  # when you specify InstanceRequirements for an Auto Scaling group.
5496
4700
  #
5497
- # @note When making an API call, you may pass MemoryGiBPerVCpuRequest
5498
- # data as a hash:
5499
- #
5500
- # {
5501
- # min: 1.0,
5502
- # max: 1.0,
5503
- # }
5504
- #
5505
4701
  # @!attribute [rw] min
5506
4702
  # The memory minimum in GiB.
5507
4703
  # @return [Float]
@@ -5522,14 +4718,6 @@ module Aws::AutoScaling
5522
4718
  # Specifies the minimum and maximum for the `MemoryMiB` object when you
5523
4719
  # specify InstanceRequirements for an Auto Scaling group.
5524
4720
  #
5525
- # @note When making an API call, you may pass MemoryMiBRequest
5526
- # data as a hash:
5527
- #
5528
- # {
5529
- # min: 1, # required
5530
- # max: 1,
5531
- # }
5532
- #
5533
4721
  # @!attribute [rw] min
5534
4722
  # The memory minimum in MiB.
5535
4723
  # @return [Integer]
@@ -5549,20 +4737,6 @@ module Aws::AutoScaling
5549
4737
 
5550
4738
  # Represents a specific metric.
5551
4739
  #
5552
- # @note When making an API call, you may pass Metric
5553
- # data as a hash:
5554
- #
5555
- # {
5556
- # namespace: "MetricNamespace", # required
5557
- # metric_name: "MetricName", # required
5558
- # dimensions: [
5559
- # {
5560
- # name: "MetricDimensionName", # required
5561
- # value: "MetricDimensionValue", # required
5562
- # },
5563
- # ],
5564
- # }
5565
- #
5566
4740
  # @!attribute [rw] namespace
5567
4741
  # The namespace of the metric. For more information, see the table in
5568
4742
  # [Amazon Web Services services that publish CloudWatch metrics ][1]
@@ -5669,30 +4843,6 @@ module Aws::AutoScaling
5669
4843
  #
5670
4844
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/predictive-scaling-customized-metric-specification.html
5671
4845
  #
5672
- # @note When making an API call, you may pass MetricDataQuery
5673
- # data as a hash:
5674
- #
5675
- # {
5676
- # id: "XmlStringMaxLen255", # required
5677
- # expression: "XmlStringMaxLen1023",
5678
- # metric_stat: {
5679
- # metric: { # required
5680
- # namespace: "MetricNamespace", # required
5681
- # metric_name: "MetricName", # required
5682
- # dimensions: [
5683
- # {
5684
- # name: "MetricDimensionName", # required
5685
- # value: "MetricDimensionValue", # required
5686
- # },
5687
- # ],
5688
- # },
5689
- # stat: "XmlStringMetricStat", # required
5690
- # unit: "MetricUnit",
5691
- # },
5692
- # label: "XmlStringMetricLabel",
5693
- # return_data: false,
5694
- # }
5695
- #
5696
4846
  # @!attribute [rw] id
5697
4847
  # A short name that identifies the object's results in the response.
5698
4848
  # This name must be unique among all `MetricDataQuery` objects
@@ -5754,14 +4904,6 @@ module Aws::AutoScaling
5754
4904
 
5755
4905
  # Describes the dimension of a metric.
5756
4906
  #
5757
- # @note When making an API call, you may pass MetricDimension
5758
- # data as a hash:
5759
- #
5760
- # {
5761
- # name: "MetricDimensionName", # required
5762
- # value: "MetricDimensionValue", # required
5763
- # }
5764
- #
5765
4907
  # @!attribute [rw] name
5766
4908
  # The name of the dimension.
5767
4909
  # @return [String]
@@ -5803,24 +4945,6 @@ module Aws::AutoScaling
5803
4945
  #
5804
4946
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
5805
4947
  #
5806
- # @note When making an API call, you may pass MetricStat
5807
- # data as a hash:
5808
- #
5809
- # {
5810
- # metric: { # required
5811
- # namespace: "MetricNamespace", # required
5812
- # metric_name: "MetricName", # required
5813
- # dimensions: [
5814
- # {
5815
- # name: "MetricDimensionName", # required
5816
- # value: "MetricDimensionValue", # required
5817
- # },
5818
- # ],
5819
- # },
5820
- # stat: "XmlStringMetricStat", # required
5821
- # unit: "MetricUnit",
5822
- # }
5823
- #
5824
4948
  # @!attribute [rw] metric
5825
4949
  # The CloudWatch metric to return, including the metric name,
5826
4950
  # namespace, and dimensions. To get the exact metric name, namespace,
@@ -5879,90 +5003,6 @@ module Aws::AutoScaling
5879
5003
  #
5880
5004
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
5881
5005
  #
5882
- # @note When making an API call, you may pass MixedInstancesPolicy
5883
- # data as a hash:
5884
- #
5885
- # {
5886
- # launch_template: {
5887
- # launch_template_specification: {
5888
- # launch_template_id: "XmlStringMaxLen255",
5889
- # launch_template_name: "LaunchTemplateName",
5890
- # version: "XmlStringMaxLen255",
5891
- # },
5892
- # overrides: [
5893
- # {
5894
- # instance_type: "XmlStringMaxLen255",
5895
- # weighted_capacity: "XmlStringMaxLen32",
5896
- # launch_template_specification: {
5897
- # launch_template_id: "XmlStringMaxLen255",
5898
- # launch_template_name: "LaunchTemplateName",
5899
- # version: "XmlStringMaxLen255",
5900
- # },
5901
- # instance_requirements: {
5902
- # v_cpu_count: { # required
5903
- # min: 1, # required
5904
- # max: 1,
5905
- # },
5906
- # memory_mi_b: { # required
5907
- # min: 1, # required
5908
- # max: 1,
5909
- # },
5910
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
5911
- # memory_gi_b_per_v_cpu: {
5912
- # min: 1.0,
5913
- # max: 1.0,
5914
- # },
5915
- # excluded_instance_types: ["ExcludedInstance"],
5916
- # instance_generations: ["current"], # accepts current, previous
5917
- # spot_max_price_percentage_over_lowest_price: 1,
5918
- # on_demand_max_price_percentage_over_lowest_price: 1,
5919
- # bare_metal: "included", # accepts included, excluded, required
5920
- # burstable_performance: "included", # accepts included, excluded, required
5921
- # require_hibernate_support: false,
5922
- # network_interface_count: {
5923
- # min: 1,
5924
- # max: 1,
5925
- # },
5926
- # local_storage: "included", # accepts included, excluded, required
5927
- # local_storage_types: ["hdd"], # accepts hdd, ssd
5928
- # total_local_storage_gb: {
5929
- # min: 1.0,
5930
- # max: 1.0,
5931
- # },
5932
- # baseline_ebs_bandwidth_mbps: {
5933
- # min: 1,
5934
- # max: 1,
5935
- # },
5936
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
5937
- # accelerator_count: {
5938
- # min: 1,
5939
- # max: 1,
5940
- # },
5941
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
5942
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
5943
- # accelerator_total_memory_mi_b: {
5944
- # min: 1,
5945
- # max: 1,
5946
- # },
5947
- # network_bandwidth_gbps: {
5948
- # min: 1.0,
5949
- # max: 1.0,
5950
- # },
5951
- # allowed_instance_types: ["AllowedInstanceType"],
5952
- # },
5953
- # },
5954
- # ],
5955
- # },
5956
- # instances_distribution: {
5957
- # on_demand_allocation_strategy: "XmlString",
5958
- # on_demand_base_capacity: 1,
5959
- # on_demand_percentage_above_base_capacity: 1,
5960
- # spot_allocation_strategy: "XmlString",
5961
- # spot_instance_pools: 1,
5962
- # spot_max_price: "MixedInstanceSpotPrice",
5963
- # },
5964
- # }
5965
- #
5966
5006
  # @!attribute [rw] launch_template
5967
5007
  # One or more launch templates and the instance types (overrides) that
5968
5008
  # are used to launch EC2 instances to fulfill On-Demand and Spot
@@ -5999,14 +5039,6 @@ module Aws::AutoScaling
5999
5039
  #
6000
5040
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth
6001
5041
  #
6002
- # @note When making an API call, you may pass NetworkBandwidthGbpsRequest
6003
- # data as a hash:
6004
- #
6005
- # {
6006
- # min: 1.0,
6007
- # max: 1.0,
6008
- # }
6009
- #
6010
5042
  # @!attribute [rw] min
6011
5043
  # The minimum amount of network bandwidth, in gigabits per second
6012
5044
  # (Gbps).
@@ -6030,14 +5062,6 @@ module Aws::AutoScaling
6030
5062
  # object when you specify InstanceRequirements for an Auto Scaling
6031
5063
  # group.
6032
5064
  #
6033
- # @note When making an API call, you may pass NetworkInterfaceCountRequest
6034
- # data as a hash:
6035
- #
6036
- # {
6037
- # min: 1,
6038
- # max: 1,
6039
- # }
6040
- #
6041
5065
  # @!attribute [rw] min
6042
5066
  # The minimum number of network interfaces.
6043
5067
  # @return [Integer]
@@ -6133,14 +5157,6 @@ module Aws::AutoScaling
6133
5157
  # Represents a predefined metric for a target tracking scaling policy to
6134
5158
  # use with Amazon EC2 Auto Scaling.
6135
5159
  #
6136
- # @note When making an API call, you may pass PredefinedMetricSpecification
6137
- # data as a hash:
6138
- #
6139
- # {
6140
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
6141
- # resource_label: "XmlStringMaxLen1023",
6142
- # }
6143
- #
6144
5160
  # @!attribute [rw] predefined_metric_type
6145
5161
  # The metric type. The following predefined metrics are available:
6146
5162
  #
@@ -6201,105 +5217,6 @@ module Aws::AutoScaling
6201
5217
  # Represents a predictive scaling policy configuration to use with
6202
5218
  # Amazon EC2 Auto Scaling.
6203
5219
  #
6204
- # @note When making an API call, you may pass PredictiveScalingConfiguration
6205
- # data as a hash:
6206
- #
6207
- # {
6208
- # metric_specifications: [ # required
6209
- # {
6210
- # target_value: 1.0, # required
6211
- # predefined_metric_pair_specification: {
6212
- # predefined_metric_type: "ASGCPUUtilization", # required, accepts ASGCPUUtilization, ASGNetworkIn, ASGNetworkOut, ALBRequestCount
6213
- # resource_label: "XmlStringMaxLen1023",
6214
- # },
6215
- # predefined_scaling_metric_specification: {
6216
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
6217
- # resource_label: "XmlStringMaxLen1023",
6218
- # },
6219
- # predefined_load_metric_specification: {
6220
- # predefined_metric_type: "ASGTotalCPUUtilization", # required, accepts ASGTotalCPUUtilization, ASGTotalNetworkIn, ASGTotalNetworkOut, ALBTargetGroupRequestCount
6221
- # resource_label: "XmlStringMaxLen1023",
6222
- # },
6223
- # customized_scaling_metric_specification: {
6224
- # metric_data_queries: [ # required
6225
- # {
6226
- # id: "XmlStringMaxLen255", # required
6227
- # expression: "XmlStringMaxLen1023",
6228
- # metric_stat: {
6229
- # metric: { # required
6230
- # namespace: "MetricNamespace", # required
6231
- # metric_name: "MetricName", # required
6232
- # dimensions: [
6233
- # {
6234
- # name: "MetricDimensionName", # required
6235
- # value: "MetricDimensionValue", # required
6236
- # },
6237
- # ],
6238
- # },
6239
- # stat: "XmlStringMetricStat", # required
6240
- # unit: "MetricUnit",
6241
- # },
6242
- # label: "XmlStringMetricLabel",
6243
- # return_data: false,
6244
- # },
6245
- # ],
6246
- # },
6247
- # customized_load_metric_specification: {
6248
- # metric_data_queries: [ # required
6249
- # {
6250
- # id: "XmlStringMaxLen255", # required
6251
- # expression: "XmlStringMaxLen1023",
6252
- # metric_stat: {
6253
- # metric: { # required
6254
- # namespace: "MetricNamespace", # required
6255
- # metric_name: "MetricName", # required
6256
- # dimensions: [
6257
- # {
6258
- # name: "MetricDimensionName", # required
6259
- # value: "MetricDimensionValue", # required
6260
- # },
6261
- # ],
6262
- # },
6263
- # stat: "XmlStringMetricStat", # required
6264
- # unit: "MetricUnit",
6265
- # },
6266
- # label: "XmlStringMetricLabel",
6267
- # return_data: false,
6268
- # },
6269
- # ],
6270
- # },
6271
- # customized_capacity_metric_specification: {
6272
- # metric_data_queries: [ # required
6273
- # {
6274
- # id: "XmlStringMaxLen255", # required
6275
- # expression: "XmlStringMaxLen1023",
6276
- # metric_stat: {
6277
- # metric: { # required
6278
- # namespace: "MetricNamespace", # required
6279
- # metric_name: "MetricName", # required
6280
- # dimensions: [
6281
- # {
6282
- # name: "MetricDimensionName", # required
6283
- # value: "MetricDimensionValue", # required
6284
- # },
6285
- # ],
6286
- # },
6287
- # stat: "XmlStringMetricStat", # required
6288
- # unit: "MetricUnit",
6289
- # },
6290
- # label: "XmlStringMetricLabel",
6291
- # return_data: false,
6292
- # },
6293
- # ],
6294
- # },
6295
- # },
6296
- # ],
6297
- # mode: "ForecastAndScale", # accepts ForecastAndScale, ForecastOnly
6298
- # scheduling_buffer_time: 1,
6299
- # max_capacity_breach_behavior: "HonorMaxCapacity", # accepts HonorMaxCapacity, IncreaseMaxCapacity
6300
- # max_capacity_buffer: 1,
6301
- # }
6302
- #
6303
5220
  # @!attribute [rw] metric_specifications
6304
5221
  # This structure includes the metrics and target utilization to use
6305
5222
  # for predictive scaling.
@@ -6377,34 +5294,6 @@ module Aws::AutoScaling
6377
5294
  # Describes a customized capacity metric for a predictive scaling
6378
5295
  # policy.
6379
5296
  #
6380
- # @note When making an API call, you may pass PredictiveScalingCustomizedCapacityMetric
6381
- # data as a hash:
6382
- #
6383
- # {
6384
- # metric_data_queries: [ # required
6385
- # {
6386
- # id: "XmlStringMaxLen255", # required
6387
- # expression: "XmlStringMaxLen1023",
6388
- # metric_stat: {
6389
- # metric: { # required
6390
- # namespace: "MetricNamespace", # required
6391
- # metric_name: "MetricName", # required
6392
- # dimensions: [
6393
- # {
6394
- # name: "MetricDimensionName", # required
6395
- # value: "MetricDimensionValue", # required
6396
- # },
6397
- # ],
6398
- # },
6399
- # stat: "XmlStringMetricStat", # required
6400
- # unit: "MetricUnit",
6401
- # },
6402
- # label: "XmlStringMetricLabel",
6403
- # return_data: false,
6404
- # },
6405
- # ],
6406
- # }
6407
- #
6408
5297
  # @!attribute [rw] metric_data_queries
6409
5298
  # One or more metric data queries to provide the data points for a
6410
5299
  # capacity metric. Use multiple metric data queries only if you are
@@ -6421,34 +5310,6 @@ module Aws::AutoScaling
6421
5310
 
6422
5311
  # Describes a custom load metric for a predictive scaling policy.
6423
5312
  #
6424
- # @note When making an API call, you may pass PredictiveScalingCustomizedLoadMetric
6425
- # data as a hash:
6426
- #
6427
- # {
6428
- # metric_data_queries: [ # required
6429
- # {
6430
- # id: "XmlStringMaxLen255", # required
6431
- # expression: "XmlStringMaxLen1023",
6432
- # metric_stat: {
6433
- # metric: { # required
6434
- # namespace: "MetricNamespace", # required
6435
- # metric_name: "MetricName", # required
6436
- # dimensions: [
6437
- # {
6438
- # name: "MetricDimensionName", # required
6439
- # value: "MetricDimensionValue", # required
6440
- # },
6441
- # ],
6442
- # },
6443
- # stat: "XmlStringMetricStat", # required
6444
- # unit: "MetricUnit",
6445
- # },
6446
- # label: "XmlStringMetricLabel",
6447
- # return_data: false,
6448
- # },
6449
- # ],
6450
- # }
6451
- #
6452
5313
  # @!attribute [rw] metric_data_queries
6453
5314
  # One or more metric data queries to provide the data points for a
6454
5315
  # load metric. Use multiple metric data queries only if you are
@@ -6465,34 +5326,6 @@ module Aws::AutoScaling
6465
5326
 
6466
5327
  # Describes a custom scaling metric for a predictive scaling policy.
6467
5328
  #
6468
- # @note When making an API call, you may pass PredictiveScalingCustomizedScalingMetric
6469
- # data as a hash:
6470
- #
6471
- # {
6472
- # metric_data_queries: [ # required
6473
- # {
6474
- # id: "XmlStringMaxLen255", # required
6475
- # expression: "XmlStringMaxLen1023",
6476
- # metric_stat: {
6477
- # metric: { # required
6478
- # namespace: "MetricNamespace", # required
6479
- # metric_name: "MetricName", # required
6480
- # dimensions: [
6481
- # {
6482
- # name: "MetricDimensionName", # required
6483
- # value: "MetricDimensionValue", # required
6484
- # },
6485
- # ],
6486
- # },
6487
- # stat: "XmlStringMetricStat", # required
6488
- # unit: "MetricUnit",
6489
- # },
6490
- # label: "XmlStringMetricLabel",
6491
- # return_data: false,
6492
- # },
6493
- # ],
6494
- # }
6495
- #
6496
5329
  # @!attribute [rw] metric_data_queries
6497
5330
  # One or more metric data queries to provide the data points for a
6498
5331
  # scaling metric. Use multiple metric data queries only if you are
@@ -6555,97 +5388,6 @@ module Aws::AutoScaling
6555
5388
  #
6556
5389
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/predictive-scaling-customized-metric-specification.html
6557
5390
  #
6558
- # @note When making an API call, you may pass PredictiveScalingMetricSpecification
6559
- # data as a hash:
6560
- #
6561
- # {
6562
- # target_value: 1.0, # required
6563
- # predefined_metric_pair_specification: {
6564
- # predefined_metric_type: "ASGCPUUtilization", # required, accepts ASGCPUUtilization, ASGNetworkIn, ASGNetworkOut, ALBRequestCount
6565
- # resource_label: "XmlStringMaxLen1023",
6566
- # },
6567
- # predefined_scaling_metric_specification: {
6568
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
6569
- # resource_label: "XmlStringMaxLen1023",
6570
- # },
6571
- # predefined_load_metric_specification: {
6572
- # predefined_metric_type: "ASGTotalCPUUtilization", # required, accepts ASGTotalCPUUtilization, ASGTotalNetworkIn, ASGTotalNetworkOut, ALBTargetGroupRequestCount
6573
- # resource_label: "XmlStringMaxLen1023",
6574
- # },
6575
- # customized_scaling_metric_specification: {
6576
- # metric_data_queries: [ # required
6577
- # {
6578
- # id: "XmlStringMaxLen255", # required
6579
- # expression: "XmlStringMaxLen1023",
6580
- # metric_stat: {
6581
- # metric: { # required
6582
- # namespace: "MetricNamespace", # required
6583
- # metric_name: "MetricName", # required
6584
- # dimensions: [
6585
- # {
6586
- # name: "MetricDimensionName", # required
6587
- # value: "MetricDimensionValue", # required
6588
- # },
6589
- # ],
6590
- # },
6591
- # stat: "XmlStringMetricStat", # required
6592
- # unit: "MetricUnit",
6593
- # },
6594
- # label: "XmlStringMetricLabel",
6595
- # return_data: false,
6596
- # },
6597
- # ],
6598
- # },
6599
- # customized_load_metric_specification: {
6600
- # metric_data_queries: [ # required
6601
- # {
6602
- # id: "XmlStringMaxLen255", # required
6603
- # expression: "XmlStringMaxLen1023",
6604
- # metric_stat: {
6605
- # metric: { # required
6606
- # namespace: "MetricNamespace", # required
6607
- # metric_name: "MetricName", # required
6608
- # dimensions: [
6609
- # {
6610
- # name: "MetricDimensionName", # required
6611
- # value: "MetricDimensionValue", # required
6612
- # },
6613
- # ],
6614
- # },
6615
- # stat: "XmlStringMetricStat", # required
6616
- # unit: "MetricUnit",
6617
- # },
6618
- # label: "XmlStringMetricLabel",
6619
- # return_data: false,
6620
- # },
6621
- # ],
6622
- # },
6623
- # customized_capacity_metric_specification: {
6624
- # metric_data_queries: [ # required
6625
- # {
6626
- # id: "XmlStringMaxLen255", # required
6627
- # expression: "XmlStringMaxLen1023",
6628
- # metric_stat: {
6629
- # metric: { # required
6630
- # namespace: "MetricNamespace", # required
6631
- # metric_name: "MetricName", # required
6632
- # dimensions: [
6633
- # {
6634
- # name: "MetricDimensionName", # required
6635
- # value: "MetricDimensionValue", # required
6636
- # },
6637
- # ],
6638
- # },
6639
- # stat: "XmlStringMetricStat", # required
6640
- # unit: "MetricUnit",
6641
- # },
6642
- # label: "XmlStringMetricLabel",
6643
- # return_data: false,
6644
- # },
6645
- # ],
6646
- # },
6647
- # }
6648
- #
6649
5391
  # @!attribute [rw] target_value
6650
5392
  # Specifies the target utilization.
6651
5393
  #
@@ -6705,14 +5447,6 @@ module Aws::AutoScaling
6705
5447
  # predictive scaling policy uses individually specified load and scaling
6706
5448
  # metrics instead of a metric pair.
6707
5449
  #
6708
- # @note When making an API call, you may pass PredictiveScalingPredefinedLoadMetric
6709
- # data as a hash:
6710
- #
6711
- # {
6712
- # predefined_metric_type: "ASGTotalCPUUtilization", # required, accepts ASGTotalCPUUtilization, ASGTotalNetworkIn, ASGTotalNetworkOut, ALBTargetGroupRequestCount
6713
- # resource_label: "XmlStringMaxLen1023",
6714
- # }
6715
- #
6716
5450
  # @!attribute [rw] predefined_metric_type
6717
5451
  # The metric type.
6718
5452
  # @return [String]
@@ -6759,14 +5493,6 @@ module Aws::AutoScaling
6759
5493
 
6760
5494
  # Represents a metric pair for a predictive scaling policy.
6761
5495
  #
6762
- # @note When making an API call, you may pass PredictiveScalingPredefinedMetricPair
6763
- # data as a hash:
6764
- #
6765
- # {
6766
- # predefined_metric_type: "ASGCPUUtilization", # required, accepts ASGCPUUtilization, ASGNetworkIn, ASGNetworkOut, ALBRequestCount
6767
- # resource_label: "XmlStringMaxLen1023",
6768
- # }
6769
- #
6770
5496
  # @!attribute [rw] predefined_metric_type
6771
5497
  # Indicates which metrics to use. There are two different types of
6772
5498
  # metrics for each metric type: one is a load metric and one is a
@@ -6823,14 +5549,6 @@ module Aws::AutoScaling
6823
5549
  # predictive scaling policy uses individually specified load and scaling
6824
5550
  # metrics instead of a metric pair.
6825
5551
  #
6826
- # @note When making an API call, you may pass PredictiveScalingPredefinedScalingMetric
6827
- # data as a hash:
6828
- #
6829
- # {
6830
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
6831
- # resource_label: "XmlStringMaxLen1023",
6832
- # }
6833
- #
6834
5552
  # @!attribute [rw] predefined_metric_type
6835
5553
  # The metric type.
6836
5554
  # @return [String]
@@ -6931,20 +5649,6 @@ module Aws::AutoScaling
6931
5649
  #
6932
5650
  class PutLifecycleHookAnswer < Aws::EmptyStructure; end
6933
5651
 
6934
- # @note When making an API call, you may pass PutLifecycleHookType
6935
- # data as a hash:
6936
- #
6937
- # {
6938
- # lifecycle_hook_name: "AsciiStringMaxLen255", # required
6939
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
6940
- # lifecycle_transition: "LifecycleTransition",
6941
- # role_arn: "XmlStringMaxLen255",
6942
- # notification_target_arn: "NotificationTargetResourceName",
6943
- # notification_metadata: "XmlStringMaxLen1023",
6944
- # heartbeat_timeout: 1,
6945
- # default_result: "LifecycleActionResult",
6946
- # }
6947
- #
6948
5652
  # @!attribute [rw] lifecycle_hook_name
6949
5653
  # The name of the lifecycle hook.
6950
5654
  # @return [String]
@@ -7028,15 +5732,6 @@ module Aws::AutoScaling
7028
5732
  include Aws::Structure
7029
5733
  end
7030
5734
 
7031
- # @note When making an API call, you may pass PutNotificationConfigurationType
7032
- # data as a hash:
7033
- #
7034
- # {
7035
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
7036
- # topic_arn: "XmlStringMaxLen255", # required
7037
- # notification_types: ["XmlStringMaxLen255"], # required
7038
- # }
7039
- #
7040
5735
  # @!attribute [rw] auto_scaling_group_name
7041
5736
  # The name of the Auto Scaling group.
7042
5737
  # @return [String]
@@ -7061,145 +5756,6 @@ module Aws::AutoScaling
7061
5756
  include Aws::Structure
7062
5757
  end
7063
5758
 
7064
- # @note When making an API call, you may pass PutScalingPolicyType
7065
- # data as a hash:
7066
- #
7067
- # {
7068
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
7069
- # policy_name: "XmlStringMaxLen255", # required
7070
- # policy_type: "XmlStringMaxLen64",
7071
- # adjustment_type: "XmlStringMaxLen255",
7072
- # min_adjustment_step: 1,
7073
- # min_adjustment_magnitude: 1,
7074
- # scaling_adjustment: 1,
7075
- # cooldown: 1,
7076
- # metric_aggregation_type: "XmlStringMaxLen32",
7077
- # step_adjustments: [
7078
- # {
7079
- # metric_interval_lower_bound: 1.0,
7080
- # metric_interval_upper_bound: 1.0,
7081
- # scaling_adjustment: 1, # required
7082
- # },
7083
- # ],
7084
- # estimated_instance_warmup: 1,
7085
- # target_tracking_configuration: {
7086
- # predefined_metric_specification: {
7087
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
7088
- # resource_label: "XmlStringMaxLen1023",
7089
- # },
7090
- # customized_metric_specification: {
7091
- # metric_name: "MetricName", # required
7092
- # namespace: "MetricNamespace", # required
7093
- # dimensions: [
7094
- # {
7095
- # name: "MetricDimensionName", # required
7096
- # value: "MetricDimensionValue", # required
7097
- # },
7098
- # ],
7099
- # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
7100
- # unit: "MetricUnit",
7101
- # },
7102
- # target_value: 1.0, # required
7103
- # disable_scale_in: false,
7104
- # },
7105
- # enabled: false,
7106
- # predictive_scaling_configuration: {
7107
- # metric_specifications: [ # required
7108
- # {
7109
- # target_value: 1.0, # required
7110
- # predefined_metric_pair_specification: {
7111
- # predefined_metric_type: "ASGCPUUtilization", # required, accepts ASGCPUUtilization, ASGNetworkIn, ASGNetworkOut, ALBRequestCount
7112
- # resource_label: "XmlStringMaxLen1023",
7113
- # },
7114
- # predefined_scaling_metric_specification: {
7115
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
7116
- # resource_label: "XmlStringMaxLen1023",
7117
- # },
7118
- # predefined_load_metric_specification: {
7119
- # predefined_metric_type: "ASGTotalCPUUtilization", # required, accepts ASGTotalCPUUtilization, ASGTotalNetworkIn, ASGTotalNetworkOut, ALBTargetGroupRequestCount
7120
- # resource_label: "XmlStringMaxLen1023",
7121
- # },
7122
- # customized_scaling_metric_specification: {
7123
- # metric_data_queries: [ # required
7124
- # {
7125
- # id: "XmlStringMaxLen255", # required
7126
- # expression: "XmlStringMaxLen1023",
7127
- # metric_stat: {
7128
- # metric: { # required
7129
- # namespace: "MetricNamespace", # required
7130
- # metric_name: "MetricName", # required
7131
- # dimensions: [
7132
- # {
7133
- # name: "MetricDimensionName", # required
7134
- # value: "MetricDimensionValue", # required
7135
- # },
7136
- # ],
7137
- # },
7138
- # stat: "XmlStringMetricStat", # required
7139
- # unit: "MetricUnit",
7140
- # },
7141
- # label: "XmlStringMetricLabel",
7142
- # return_data: false,
7143
- # },
7144
- # ],
7145
- # },
7146
- # customized_load_metric_specification: {
7147
- # metric_data_queries: [ # required
7148
- # {
7149
- # id: "XmlStringMaxLen255", # required
7150
- # expression: "XmlStringMaxLen1023",
7151
- # metric_stat: {
7152
- # metric: { # required
7153
- # namespace: "MetricNamespace", # required
7154
- # metric_name: "MetricName", # required
7155
- # dimensions: [
7156
- # {
7157
- # name: "MetricDimensionName", # required
7158
- # value: "MetricDimensionValue", # required
7159
- # },
7160
- # ],
7161
- # },
7162
- # stat: "XmlStringMetricStat", # required
7163
- # unit: "MetricUnit",
7164
- # },
7165
- # label: "XmlStringMetricLabel",
7166
- # return_data: false,
7167
- # },
7168
- # ],
7169
- # },
7170
- # customized_capacity_metric_specification: {
7171
- # metric_data_queries: [ # required
7172
- # {
7173
- # id: "XmlStringMaxLen255", # required
7174
- # expression: "XmlStringMaxLen1023",
7175
- # metric_stat: {
7176
- # metric: { # required
7177
- # namespace: "MetricNamespace", # required
7178
- # metric_name: "MetricName", # required
7179
- # dimensions: [
7180
- # {
7181
- # name: "MetricDimensionName", # required
7182
- # value: "MetricDimensionValue", # required
7183
- # },
7184
- # ],
7185
- # },
7186
- # stat: "XmlStringMetricStat", # required
7187
- # unit: "MetricUnit",
7188
- # },
7189
- # label: "XmlStringMetricLabel",
7190
- # return_data: false,
7191
- # },
7192
- # ],
7193
- # },
7194
- # },
7195
- # ],
7196
- # mode: "ForecastAndScale", # accepts ForecastAndScale, ForecastOnly
7197
- # scheduling_buffer_time: 1,
7198
- # max_capacity_breach_behavior: "HonorMaxCapacity", # accepts HonorMaxCapacity, IncreaseMaxCapacity
7199
- # max_capacity_buffer: 1,
7200
- # },
7201
- # }
7202
- #
7203
5759
  # @!attribute [rw] auto_scaling_group_name
7204
5760
  # The name of the Auto Scaling group.
7205
5761
  # @return [String]
@@ -7403,22 +5959,6 @@ module Aws::AutoScaling
7403
5959
  include Aws::Structure
7404
5960
  end
7405
5961
 
7406
- # @note When making an API call, you may pass PutScheduledUpdateGroupActionType
7407
- # data as a hash:
7408
- #
7409
- # {
7410
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
7411
- # scheduled_action_name: "XmlStringMaxLen255", # required
7412
- # time: Time.now,
7413
- # start_time: Time.now,
7414
- # end_time: Time.now,
7415
- # recurrence: "XmlStringMaxLen255",
7416
- # min_size: 1,
7417
- # max_size: 1,
7418
- # desired_capacity: 1,
7419
- # time_zone: "XmlStringMaxLen255",
7420
- # }
7421
- #
7422
5962
  # @!attribute [rw] auto_scaling_group_name
7423
5963
  # The name of the Auto Scaling group.
7424
5964
  # @return [String]
@@ -7518,19 +6058,6 @@ module Aws::AutoScaling
7518
6058
  #
7519
6059
  class PutWarmPoolAnswer < Aws::EmptyStructure; end
7520
6060
 
7521
- # @note When making an API call, you may pass PutWarmPoolType
7522
- # data as a hash:
7523
- #
7524
- # {
7525
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
7526
- # max_group_prepared_capacity: 1,
7527
- # min_size: 1,
7528
- # pool_state: "Stopped", # accepts Stopped, Running, Hibernated
7529
- # instance_reuse_policy: {
7530
- # reuse_on_scale_in: false,
7531
- # },
7532
- # }
7533
- #
7534
6061
  # @!attribute [rw] auto_scaling_group_name
7535
6062
  # The name of the Auto Scaling group.
7536
6063
  # @return [String]
@@ -7593,16 +6120,6 @@ module Aws::AutoScaling
7593
6120
  #
7594
6121
  class RecordLifecycleActionHeartbeatAnswer < Aws::EmptyStructure; end
7595
6122
 
7596
- # @note When making an API call, you may pass RecordLifecycleActionHeartbeatType
7597
- # data as a hash:
7598
- #
7599
- # {
7600
- # lifecycle_hook_name: "AsciiStringMaxLen255", # required
7601
- # auto_scaling_group_name: "ResourceName", # required
7602
- # lifecycle_action_token: "LifecycleActionToken",
7603
- # instance_id: "XmlStringMaxLen19",
7604
- # }
7605
- #
7606
6123
  # @!attribute [rw] lifecycle_hook_name
7607
6124
  # The name of the lifecycle hook.
7608
6125
  # @return [String]
@@ -7635,17 +6152,6 @@ module Aws::AutoScaling
7635
6152
 
7636
6153
  # Describes the preferences for an instance refresh.
7637
6154
  #
7638
- # @note When making an API call, you may pass RefreshPreferences
7639
- # data as a hash:
7640
- #
7641
- # {
7642
- # min_healthy_percentage: 1,
7643
- # instance_warmup: 1,
7644
- # checkpoint_percentages: [1],
7645
- # checkpoint_delay: 1,
7646
- # skip_matching: false,
7647
- # }
7648
- #
7649
6155
  # @!attribute [rw] min_healthy_percentage
7650
6156
  # The amount of capacity in the Auto Scaling group that must pass your
7651
6157
  # group's health checks to allow the operation to continue. The value
@@ -7874,14 +6380,6 @@ module Aws::AutoScaling
7874
6380
  include Aws::Structure
7875
6381
  end
7876
6382
 
7877
- # @note When making an API call, you may pass ScalingProcessQuery
7878
- # data as a hash:
7879
- #
7880
- # {
7881
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
7882
- # scaling_processes: ["XmlStringMaxLen255"],
7883
- # }
7884
- #
7885
6383
  # @!attribute [rw] auto_scaling_group_name
7886
6384
  # The name of the Auto Scaling group.
7887
6385
  # @return [String]
@@ -8014,20 +6512,6 @@ module Aws::AutoScaling
8014
6512
  # Describes information used for one or more scheduled scaling action
8015
6513
  # updates in a BatchPutScheduledUpdateGroupAction operation.
8016
6514
  #
8017
- # @note When making an API call, you may pass ScheduledUpdateGroupActionRequest
8018
- # data as a hash:
8019
- #
8020
- # {
8021
- # scheduled_action_name: "XmlStringMaxLen255", # required
8022
- # start_time: Time.now,
8023
- # end_time: Time.now,
8024
- # recurrence: "XmlStringMaxLen255",
8025
- # min_size: 1,
8026
- # max_size: 1,
8027
- # desired_capacity: 1,
8028
- # time_zone: "XmlStringMaxLen255",
8029
- # }
8030
- #
8031
6515
  # @!attribute [rw] scheduled_action_name
8032
6516
  # The name of the scaling action.
8033
6517
  # @return [String]
@@ -8123,15 +6607,6 @@ module Aws::AutoScaling
8123
6607
  include Aws::Structure
8124
6608
  end
8125
6609
 
8126
- # @note When making an API call, you may pass SetDesiredCapacityType
8127
- # data as a hash:
8128
- #
8129
- # {
8130
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
8131
- # desired_capacity: 1, # required
8132
- # honor_cooldown: false,
8133
- # }
8134
- #
8135
6610
  # @!attribute [rw] auto_scaling_group_name
8136
6611
  # The name of the Auto Scaling group.
8137
6612
  # @return [String]
@@ -8160,15 +6635,6 @@ module Aws::AutoScaling
8160
6635
  include Aws::Structure
8161
6636
  end
8162
6637
 
8163
- # @note When making an API call, you may pass SetInstanceHealthQuery
8164
- # data as a hash:
8165
- #
8166
- # {
8167
- # instance_id: "XmlStringMaxLen19", # required
8168
- # health_status: "XmlStringMaxLen32", # required
8169
- # should_respect_grace_period: false,
8170
- # }
8171
- #
8172
6638
  # @!attribute [rw] instance_id
8173
6639
  # The ID of the instance.
8174
6640
  # @return [String]
@@ -8209,15 +6675,6 @@ module Aws::AutoScaling
8209
6675
  #
8210
6676
  class SetInstanceProtectionAnswer < Aws::EmptyStructure; end
8211
6677
 
8212
- # @note When making an API call, you may pass SetInstanceProtectionQuery
8213
- # data as a hash:
8214
- #
8215
- # {
8216
- # instance_ids: ["XmlStringMaxLen19"], # required
8217
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
8218
- # protected_from_scale_in: false, # required
8219
- # }
8220
- #
8221
6678
  # @!attribute [rw] instance_ids
8222
6679
  # One or more instance IDs. You can specify up to 50 instances.
8223
6680
  # @return [Array<String>]
@@ -8253,108 +6710,6 @@ module Aws::AutoScaling
8253
6710
  include Aws::Structure
8254
6711
  end
8255
6712
 
8256
- # @note When making an API call, you may pass StartInstanceRefreshType
8257
- # data as a hash:
8258
- #
8259
- # {
8260
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
8261
- # strategy: "Rolling", # accepts Rolling
8262
- # desired_configuration: {
8263
- # launch_template: {
8264
- # launch_template_id: "XmlStringMaxLen255",
8265
- # launch_template_name: "LaunchTemplateName",
8266
- # version: "XmlStringMaxLen255",
8267
- # },
8268
- # mixed_instances_policy: {
8269
- # launch_template: {
8270
- # launch_template_specification: {
8271
- # launch_template_id: "XmlStringMaxLen255",
8272
- # launch_template_name: "LaunchTemplateName",
8273
- # version: "XmlStringMaxLen255",
8274
- # },
8275
- # overrides: [
8276
- # {
8277
- # instance_type: "XmlStringMaxLen255",
8278
- # weighted_capacity: "XmlStringMaxLen32",
8279
- # launch_template_specification: {
8280
- # launch_template_id: "XmlStringMaxLen255",
8281
- # launch_template_name: "LaunchTemplateName",
8282
- # version: "XmlStringMaxLen255",
8283
- # },
8284
- # instance_requirements: {
8285
- # v_cpu_count: { # required
8286
- # min: 1, # required
8287
- # max: 1,
8288
- # },
8289
- # memory_mi_b: { # required
8290
- # min: 1, # required
8291
- # max: 1,
8292
- # },
8293
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
8294
- # memory_gi_b_per_v_cpu: {
8295
- # min: 1.0,
8296
- # max: 1.0,
8297
- # },
8298
- # excluded_instance_types: ["ExcludedInstance"],
8299
- # instance_generations: ["current"], # accepts current, previous
8300
- # spot_max_price_percentage_over_lowest_price: 1,
8301
- # on_demand_max_price_percentage_over_lowest_price: 1,
8302
- # bare_metal: "included", # accepts included, excluded, required
8303
- # burstable_performance: "included", # accepts included, excluded, required
8304
- # require_hibernate_support: false,
8305
- # network_interface_count: {
8306
- # min: 1,
8307
- # max: 1,
8308
- # },
8309
- # local_storage: "included", # accepts included, excluded, required
8310
- # local_storage_types: ["hdd"], # accepts hdd, ssd
8311
- # total_local_storage_gb: {
8312
- # min: 1.0,
8313
- # max: 1.0,
8314
- # },
8315
- # baseline_ebs_bandwidth_mbps: {
8316
- # min: 1,
8317
- # max: 1,
8318
- # },
8319
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
8320
- # accelerator_count: {
8321
- # min: 1,
8322
- # max: 1,
8323
- # },
8324
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
8325
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
8326
- # accelerator_total_memory_mi_b: {
8327
- # min: 1,
8328
- # max: 1,
8329
- # },
8330
- # network_bandwidth_gbps: {
8331
- # min: 1.0,
8332
- # max: 1.0,
8333
- # },
8334
- # allowed_instance_types: ["AllowedInstanceType"],
8335
- # },
8336
- # },
8337
- # ],
8338
- # },
8339
- # instances_distribution: {
8340
- # on_demand_allocation_strategy: "XmlString",
8341
- # on_demand_base_capacity: 1,
8342
- # on_demand_percentage_above_base_capacity: 1,
8343
- # spot_allocation_strategy: "XmlString",
8344
- # spot_instance_pools: 1,
8345
- # spot_max_price: "MixedInstanceSpotPrice",
8346
- # },
8347
- # },
8348
- # },
8349
- # preferences: {
8350
- # min_healthy_percentage: 1,
8351
- # instance_warmup: 1,
8352
- # checkpoint_percentages: [1],
8353
- # checkpoint_delay: 1,
8354
- # skip_matching: false,
8355
- # },
8356
- # }
8357
- #
8358
6713
  # @!attribute [rw] auto_scaling_group_name
8359
6714
  # The name of the Auto Scaling group.
8360
6715
  # @return [String]
@@ -8442,15 +6797,6 @@ module Aws::AutoScaling
8442
6797
  #
8443
6798
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-steps
8444
6799
  #
8445
- # @note When making an API call, you may pass StepAdjustment
8446
- # data as a hash:
8447
- #
8448
- # {
8449
- # metric_interval_lower_bound: 1.0,
8450
- # metric_interval_upper_bound: 1.0,
8451
- # scaling_adjustment: 1, # required
8452
- # }
8453
- #
8454
6800
  # @!attribute [rw] metric_interval_lower_bound
8455
6801
  # The lower bound for the difference between the alarm threshold and
8456
6802
  # the CloudWatch metric. If the metric value is above the breach
@@ -8521,17 +6867,6 @@ module Aws::AutoScaling
8521
6867
 
8522
6868
  # Describes a tag for an Auto Scaling group.
8523
6869
  #
8524
- # @note When making an API call, you may pass Tag
8525
- # data as a hash:
8526
- #
8527
- # {
8528
- # resource_id: "XmlString",
8529
- # resource_type: "XmlString",
8530
- # key: "TagKey", # required
8531
- # value: "TagValue",
8532
- # propagate_at_launch: false,
8533
- # }
8534
- #
8535
6870
  # @!attribute [rw] resource_id
8536
6871
  # The name of the Auto Scaling group.
8537
6872
  # @return [String]
@@ -8626,30 +6961,6 @@ module Aws::AutoScaling
8626
6961
  # Represents a target tracking scaling policy configuration to use with
8627
6962
  # Amazon EC2 Auto Scaling.
8628
6963
  #
8629
- # @note When making an API call, you may pass TargetTrackingConfiguration
8630
- # data as a hash:
8631
- #
8632
- # {
8633
- # predefined_metric_specification: {
8634
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
8635
- # resource_label: "XmlStringMaxLen1023",
8636
- # },
8637
- # customized_metric_specification: {
8638
- # metric_name: "MetricName", # required
8639
- # namespace: "MetricNamespace", # required
8640
- # dimensions: [
8641
- # {
8642
- # name: "MetricDimensionName", # required
8643
- # value: "MetricDimensionValue", # required
8644
- # },
8645
- # ],
8646
- # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
8647
- # unit: "MetricUnit",
8648
- # },
8649
- # target_value: 1.0, # required
8650
- # disable_scale_in: false,
8651
- # }
8652
- #
8653
6964
  # @!attribute [rw] predefined_metric_specification
8654
6965
  # A predefined metric. You must specify either a predefined metric or
8655
6966
  # a customized metric.
@@ -8692,14 +7003,117 @@ module Aws::AutoScaling
8692
7003
  include Aws::Structure
8693
7004
  end
8694
7005
 
8695
- # @note When making an API call, you may pass TerminateInstanceInAutoScalingGroupType
8696
- # data as a hash:
7006
+ # The metric data to return. Also defines whether this call is returning
7007
+ # data for one metric only, or whether it is performing a math
7008
+ # expression on the values of returned metric statistics to create a new
7009
+ # time series. A time series is a series of data points, each of which
7010
+ # is associated with a timestamp.
7011
+ #
7012
+ # @!attribute [rw] id
7013
+ # A short name that identifies the object's results in the response.
7014
+ # This name must be unique among all `TargetTrackingMetricDataQuery`
7015
+ # objects specified for a single scaling policy. If you are performing
7016
+ # math expressions on this set of data, this name represents that data
7017
+ # and can serve as a variable in the mathematical expression. The
7018
+ # valid characters are letters, numbers, and underscores. The first
7019
+ # character must be a lowercase letter.
7020
+ # @return [String]
7021
+ #
7022
+ # @!attribute [rw] expression
7023
+ # The math expression to perform on the returned data, if this object
7024
+ # is performing a math expression. This expression can use the `Id` of
7025
+ # the other metrics to refer to those metrics, and can also use the
7026
+ # `Id` of other expressions to use the result of those expressions.
7027
+ #
7028
+ # Conditional: Within each `TargetTrackingMetricDataQuery` object, you
7029
+ # must specify either `Expression` or `MetricStat`, but not both.
7030
+ # @return [String]
7031
+ #
7032
+ # @!attribute [rw] metric_stat
7033
+ # Information about the metric data to return.
7034
+ #
7035
+ # Conditional: Within each `TargetTrackingMetricDataQuery` object, you
7036
+ # must specify either `Expression` or `MetricStat`, but not both.
7037
+ # @return [Types::TargetTrackingMetricStat]
7038
+ #
7039
+ # @!attribute [rw] label
7040
+ # A human-readable label for this metric or expression. This is
7041
+ # especially useful if this is a math expression, so that you know
7042
+ # what the value represents.
7043
+ # @return [String]
7044
+ #
7045
+ # @!attribute [rw] return_data
7046
+ # Indicates whether to return the timestamps and raw data values of
7047
+ # this metric.
7048
+ #
7049
+ # If you use any math expressions, specify `true` for this value for
7050
+ # only the final math expression that the metric specification is
7051
+ # based on. You must specify `false` for `ReturnData` for all the
7052
+ # other metrics and expressions used in the metric specification.
7053
+ #
7054
+ # If you are only retrieving metrics and not performing any math
7055
+ # expressions, do not specify anything for `ReturnData`. This sets it
7056
+ # to its default (`true`).
7057
+ # @return [Boolean]
7058
+ #
7059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TargetTrackingMetricDataQuery AWS API Documentation
7060
+ #
7061
+ class TargetTrackingMetricDataQuery < Struct.new(
7062
+ :id,
7063
+ :expression,
7064
+ :metric_stat,
7065
+ :label,
7066
+ :return_data)
7067
+ SENSITIVE = []
7068
+ include Aws::Structure
7069
+ end
7070
+
7071
+ # This structure defines the CloudWatch metric to return, along with the
7072
+ # statistic, period, and unit.
7073
+ #
7074
+ # For more information about the CloudWatch terminology below, see
7075
+ # [Amazon CloudWatch concepts][1] in the *Amazon CloudWatch User Guide*.
7076
+ #
7077
+ #
7078
+ #
7079
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
7080
+ #
7081
+ # @!attribute [rw] metric
7082
+ # Represents a specific metric.
7083
+ # @return [Types::Metric]
7084
+ #
7085
+ # @!attribute [rw] stat
7086
+ # The statistic to return. It can include any CloudWatch statistic or
7087
+ # extended statistic. For a list of valid values, see the table in
7088
+ # [Statistics][1] in the *Amazon CloudWatch User Guide*.
7089
+ #
7090
+ # The most commonly used metrics for scaling is `Average`
7091
+ #
7092
+ #
7093
+ #
7094
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic
7095
+ # @return [String]
7096
+ #
7097
+ # @!attribute [rw] unit
7098
+ # The unit to use for the returned data points. For a complete list of
7099
+ # the units that CloudWatch supports, see the [MetricDatum][1] data
7100
+ # type in the *Amazon CloudWatch API Reference*.
7101
+ #
7102
+ #
8697
7103
  #
8698
- # {
8699
- # instance_id: "XmlStringMaxLen19", # required
8700
- # should_decrement_desired_capacity: false, # required
8701
- # }
7104
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
7105
+ # @return [String]
7106
+ #
7107
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TargetTrackingMetricStat AWS API Documentation
8702
7108
  #
7109
+ class TargetTrackingMetricStat < Struct.new(
7110
+ :metric,
7111
+ :stat,
7112
+ :unit)
7113
+ SENSITIVE = []
7114
+ include Aws::Structure
7115
+ end
7116
+
8703
7117
  # @!attribute [rw] instance_id
8704
7118
  # The ID of the instance.
8705
7119
  # @return [String]
@@ -8721,14 +7135,6 @@ module Aws::AutoScaling
8721
7135
  # Specifies the minimum and maximum for the `TotalLocalStorageGB` object
8722
7136
  # when you specify InstanceRequirements for an Auto Scaling group.
8723
7137
  #
8724
- # @note When making an API call, you may pass TotalLocalStorageGBRequest
8725
- # data as a hash:
8726
- #
8727
- # {
8728
- # min: 1.0,
8729
- # max: 1.0,
8730
- # }
8731
- #
8732
7138
  # @!attribute [rw] min
8733
7139
  # The storage minimum in GB.
8734
7140
  # @return [Float]
@@ -8746,116 +7152,61 @@ module Aws::AutoScaling
8746
7152
  include Aws::Structure
8747
7153
  end
8748
7154
 
8749
- # @note When making an API call, you may pass UpdateAutoScalingGroupType
8750
- # data as a hash:
8751
- #
8752
- # {
8753
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
8754
- # launch_configuration_name: "XmlStringMaxLen255",
8755
- # launch_template: {
8756
- # launch_template_id: "XmlStringMaxLen255",
8757
- # launch_template_name: "LaunchTemplateName",
8758
- # version: "XmlStringMaxLen255",
8759
- # },
8760
- # mixed_instances_policy: {
8761
- # launch_template: {
8762
- # launch_template_specification: {
8763
- # launch_template_id: "XmlStringMaxLen255",
8764
- # launch_template_name: "LaunchTemplateName",
8765
- # version: "XmlStringMaxLen255",
8766
- # },
8767
- # overrides: [
8768
- # {
8769
- # instance_type: "XmlStringMaxLen255",
8770
- # weighted_capacity: "XmlStringMaxLen32",
8771
- # launch_template_specification: {
8772
- # launch_template_id: "XmlStringMaxLen255",
8773
- # launch_template_name: "LaunchTemplateName",
8774
- # version: "XmlStringMaxLen255",
8775
- # },
8776
- # instance_requirements: {
8777
- # v_cpu_count: { # required
8778
- # min: 1, # required
8779
- # max: 1,
8780
- # },
8781
- # memory_mi_b: { # required
8782
- # min: 1, # required
8783
- # max: 1,
8784
- # },
8785
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
8786
- # memory_gi_b_per_v_cpu: {
8787
- # min: 1.0,
8788
- # max: 1.0,
8789
- # },
8790
- # excluded_instance_types: ["ExcludedInstance"],
8791
- # instance_generations: ["current"], # accepts current, previous
8792
- # spot_max_price_percentage_over_lowest_price: 1,
8793
- # on_demand_max_price_percentage_over_lowest_price: 1,
8794
- # bare_metal: "included", # accepts included, excluded, required
8795
- # burstable_performance: "included", # accepts included, excluded, required
8796
- # require_hibernate_support: false,
8797
- # network_interface_count: {
8798
- # min: 1,
8799
- # max: 1,
8800
- # },
8801
- # local_storage: "included", # accepts included, excluded, required
8802
- # local_storage_types: ["hdd"], # accepts hdd, ssd
8803
- # total_local_storage_gb: {
8804
- # min: 1.0,
8805
- # max: 1.0,
8806
- # },
8807
- # baseline_ebs_bandwidth_mbps: {
8808
- # min: 1,
8809
- # max: 1,
8810
- # },
8811
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
8812
- # accelerator_count: {
8813
- # min: 1,
8814
- # max: 1,
8815
- # },
8816
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
8817
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
8818
- # accelerator_total_memory_mi_b: {
8819
- # min: 1,
8820
- # max: 1,
8821
- # },
8822
- # network_bandwidth_gbps: {
8823
- # min: 1.0,
8824
- # max: 1.0,
8825
- # },
8826
- # allowed_instance_types: ["AllowedInstanceType"],
8827
- # },
8828
- # },
8829
- # ],
8830
- # },
8831
- # instances_distribution: {
8832
- # on_demand_allocation_strategy: "XmlString",
8833
- # on_demand_base_capacity: 1,
8834
- # on_demand_percentage_above_base_capacity: 1,
8835
- # spot_allocation_strategy: "XmlString",
8836
- # spot_instance_pools: 1,
8837
- # spot_max_price: "MixedInstanceSpotPrice",
8838
- # },
8839
- # },
8840
- # min_size: 1,
8841
- # max_size: 1,
8842
- # desired_capacity: 1,
8843
- # default_cooldown: 1,
8844
- # availability_zones: ["XmlStringMaxLen255"],
8845
- # health_check_type: "XmlStringMaxLen32",
8846
- # health_check_grace_period: 1,
8847
- # placement_group: "XmlStringMaxLen255",
8848
- # vpc_zone_identifier: "XmlStringMaxLen2047",
8849
- # termination_policies: ["XmlStringMaxLen1600"],
8850
- # new_instances_protected_from_scale_in: false,
8851
- # service_linked_role_arn: "ResourceName",
8852
- # max_instance_lifetime: 1,
8853
- # capacity_rebalance: false,
8854
- # context: "Context",
8855
- # desired_capacity_type: "XmlStringMaxLen255",
8856
- # default_instance_warmup: 1,
8857
- # }
7155
+ # Describes the identifier of a traffic source.
7156
+ #
7157
+ # Currently, you must specify an Amazon Resource Name (ARN) for an
7158
+ # existing VPC Lattice target group.
7159
+ #
7160
+ # @!attribute [rw] identifier
7161
+ # The unique identifier of the traffic source.
7162
+ # @return [String]
7163
+ #
7164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TrafficSourceIdentifier AWS API Documentation
7165
+ #
7166
+ class TrafficSourceIdentifier < Struct.new(
7167
+ :identifier)
7168
+ SENSITIVE = []
7169
+ include Aws::Structure
7170
+ end
7171
+
7172
+ # Describes the state of a traffic source.
7173
+ #
7174
+ # @!attribute [rw] traffic_source
7175
+ # The unique identifier of the traffic source. Currently, this is the
7176
+ # Amazon Resource Name (ARN) for a VPC Lattice target group.
7177
+ # @return [String]
7178
+ #
7179
+ # @!attribute [rw] state
7180
+ # The following are the possible states for a VPC Lattice target
7181
+ # group:
7182
+ #
7183
+ # * `Adding` - The Auto Scaling instances are being registered with
7184
+ # the target group.
7185
+ #
7186
+ # * `Added` - All Auto Scaling instances are registered with the
7187
+ # target group.
7188
+ #
7189
+ # * `InService` - At least one Auto Scaling instance passed the
7190
+ # `VPC_LATTICE` health check.
7191
+ #
7192
+ # * `Removing` - The Auto Scaling instances are being deregistered
7193
+ # from the target group. If connection draining is enabled, VPC
7194
+ # Lattice waits for in-flight requests to complete before
7195
+ # deregistering the instances.
7196
+ #
7197
+ # * `Removed` - All Auto Scaling instances are deregistered from the
7198
+ # target group.
7199
+ # @return [String]
8858
7200
  #
7201
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TrafficSourceState AWS API Documentation
7202
+ #
7203
+ class TrafficSourceState < Struct.new(
7204
+ :traffic_source,
7205
+ :state)
7206
+ SENSITIVE = []
7207
+ include Aws::Structure
7208
+ end
7209
+
8859
7210
  # @!attribute [rw] auto_scaling_group_name
8860
7211
  # The name of the Auto Scaling group.
8861
7212
  # @return [String]
@@ -8925,24 +7276,26 @@ module Aws::AutoScaling
8925
7276
  # @return [Array<String>]
8926
7277
  #
8927
7278
  # @!attribute [rw] health_check_type
8928
- # The service to use for the health checks. The valid values are `EC2`
8929
- # and `ELB`. If you configure an Auto Scaling group to use `ELB`
8930
- # health checks, it considers the instance unhealthy if it fails
8931
- # either the EC2 status checks or the load balancer health checks.
7279
+ # Determines whether any additional health checks are performed on the
7280
+ # instances in this group. Amazon EC2 health checks are always on.
7281
+ #
7282
+ # The valid values are `EC2` (default), `ELB`, and `VPC_LATTICE`. The
7283
+ # `VPC_LATTICE` health check type is reserved for use with VPC
7284
+ # Lattice, which is in preview release and is subject to change.
8932
7285
  # @return [String]
8933
7286
  #
8934
7287
  # @!attribute [rw] health_check_grace_period
8935
7288
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
8936
7289
  # before checking the health status of an EC2 instance that has come
8937
- # into service and marking it unhealthy due to a failed Elastic Load
8938
- # Balancing or custom health check. This is useful if your instances
8939
- # do not immediately pass these health checks after they enter the
8940
- # `InService` state. For more information, see [Health check grace
8941
- # period][1] in the *Amazon EC2 Auto Scaling User Guide*.
7290
+ # into service and marking it unhealthy due to a failed health check.
7291
+ # This is useful if your instances do not immediately pass their
7292
+ # health checks after they enter the `InService` state. For more
7293
+ # information, see [Set the health check grace period for an Auto
7294
+ # Scaling group][1] in the *Amazon EC2 Auto Scaling User Guide*.
8942
7295
  #
8943
7296
  #
8944
7297
  #
8945
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period
7298
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
8946
7299
  # @return [Integer]
8947
7300
  #
8948
7301
  # @!attribute [rw] placement_group
@@ -9110,14 +7463,6 @@ module Aws::AutoScaling
9110
7463
  # Specifies the minimum and maximum for the `VCpuCount` object when you
9111
7464
  # specify InstanceRequirements for an Auto Scaling group.
9112
7465
  #
9113
- # @note When making an API call, you may pass VCpuCountRequest
9114
- # data as a hash:
9115
- #
9116
- # {
9117
- # min: 1, # required
9118
- # max: 1,
9119
- # }
9120
- #
9121
7466
  # @!attribute [rw] min
9122
7467
  # The minimum number of vCPUs.
9123
7468
  # @return [Integer]