aws-sdk-autoscaling 1.83.0 → 1.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,139 +887,6 @@ 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.
@@ -1234,13 +1010,13 @@ module Aws::AutoScaling
1234
1010
  # @return [Array<String>]
1235
1011
  #
1236
1012
  # @!attribute [rw] target_group_arns
1237
- # The Amazon Resource Names (ARN) of the target groups to associate
1238
- # with the Auto Scaling group. Instances are registered as targets
1239
- # with the target groups. The target groups receive incoming traffic
1240
- # and route requests to one or more registered targets. For more
1241
- # information, see [Use Elastic Load Balancing to distribute traffic
1242
- # across the instances in your Auto Scaling group][1] in the *Amazon
1243
- # 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*.
1244
1020
  #
1245
1021
  #
1246
1022
  #
@@ -1248,13 +1024,14 @@ module Aws::AutoScaling
1248
1024
  # @return [Array<String>]
1249
1025
  #
1250
1026
  # @!attribute [rw] health_check_type
1251
- # The service to use for the health checks. The valid values are `EC2`
1252
- # (default) and `ELB`. If you configure an Auto Scaling group to use
1253
- # load balancer (ELB) health checks, it considers the instance
1254
- # unhealthy if it fails either the EC2 status checks or the load
1255
- # balancer health checks. For more information, see [Health checks for
1256
- # Auto Scaling instances][1] in the *Amazon EC2 Auto Scaling User
1257
- # 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.
1258
1035
  #
1259
1036
  #
1260
1037
  #
@@ -1264,12 +1041,11 @@ module Aws::AutoScaling
1264
1041
  # @!attribute [rw] health_check_grace_period
1265
1042
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
1266
1043
  # before checking the health status of an EC2 instance that has come
1267
- # into service and marking it unhealthy due to a failed Elastic Load
1268
- # Balancing or custom health check. This is useful if your instances
1269
- # do not immediately pass these health checks after they enter the
1270
- # `InService` state. For more information, see [Set the health check
1271
- # grace period for an Auto Scaling group][1] in the *Amazon EC2 Auto
1272
- # 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*.
1273
1049
  #
1274
1050
  # Default: `0` seconds
1275
1051
  #
@@ -1443,6 +1219,20 @@ module Aws::AutoScaling
1443
1219
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html
1444
1220
  # @return [Integer]
1445
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
+ #
1446
1236
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
1447
1237
  #
1448
1238
  class CreateAutoScalingGroupType < Struct.new(
@@ -1471,57 +1261,12 @@ module Aws::AutoScaling
1471
1261
  :max_instance_lifetime,
1472
1262
  :context,
1473
1263
  :desired_capacity_type,
1474
- :default_instance_warmup)
1264
+ :default_instance_warmup,
1265
+ :traffic_sources)
1475
1266
  SENSITIVE = []
1476
1267
  include Aws::Structure
1477
1268
  end
1478
1269
 
1479
- # @note When making an API call, you may pass CreateLaunchConfigurationType
1480
- # data as a hash:
1481
- #
1482
- # {
1483
- # launch_configuration_name: "XmlStringMaxLen255", # required
1484
- # image_id: "XmlStringMaxLen255",
1485
- # key_name: "XmlStringMaxLen255",
1486
- # security_groups: ["XmlString"],
1487
- # classic_link_vpc_id: "XmlStringMaxLen255",
1488
- # classic_link_vpc_security_groups: ["XmlStringMaxLen255"],
1489
- # user_data: "XmlStringUserData",
1490
- # instance_id: "XmlStringMaxLen19",
1491
- # instance_type: "XmlStringMaxLen255",
1492
- # kernel_id: "XmlStringMaxLen255",
1493
- # ramdisk_id: "XmlStringMaxLen255",
1494
- # block_device_mappings: [
1495
- # {
1496
- # virtual_name: "XmlStringMaxLen255",
1497
- # device_name: "XmlStringMaxLen255", # required
1498
- # ebs: {
1499
- # snapshot_id: "XmlStringMaxLen255",
1500
- # volume_size: 1,
1501
- # volume_type: "BlockDeviceEbsVolumeType",
1502
- # delete_on_termination: false,
1503
- # iops: 1,
1504
- # encrypted: false,
1505
- # throughput: 1,
1506
- # },
1507
- # no_device: false,
1508
- # },
1509
- # ],
1510
- # instance_monitoring: {
1511
- # enabled: false,
1512
- # },
1513
- # spot_price: "SpotPrice",
1514
- # iam_instance_profile: "XmlStringMaxLen1600",
1515
- # ebs_optimized: false,
1516
- # associate_public_ip_address: false,
1517
- # placement_tenancy: "XmlStringMaxLen64",
1518
- # metadata_options: {
1519
- # http_tokens: "optional", # accepts optional, required
1520
- # http_put_response_hop_limit: 1,
1521
- # http_endpoint: "disabled", # accepts disabled, enabled
1522
- # },
1523
- # }
1524
- #
1525
1270
  # @!attribute [rw] launch_configuration_name
1526
1271
  # The name of the launch configuration. This name must be unique per
1527
1272
  # Region per account.
@@ -1797,21 +1542,6 @@ module Aws::AutoScaling
1797
1542
  include Aws::Structure
1798
1543
  end
1799
1544
 
1800
- # @note When making an API call, you may pass CreateOrUpdateTagsType
1801
- # data as a hash:
1802
- #
1803
- # {
1804
- # tags: [ # required
1805
- # {
1806
- # resource_id: "XmlString",
1807
- # resource_type: "XmlString",
1808
- # key: "TagKey", # required
1809
- # value: "TagValue",
1810
- # propagate_at_launch: false,
1811
- # },
1812
- # ],
1813
- # }
1814
- #
1815
1545
  # @!attribute [rw] tags
1816
1546
  # One or more tags.
1817
1547
  # @return [Array<Types::Tag>]
@@ -1856,22 +1586,6 @@ module Aws::AutoScaling
1856
1586
  # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
1857
1587
  # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html
1858
1588
  #
1859
- # @note When making an API call, you may pass CustomizedMetricSpecification
1860
- # data as a hash:
1861
- #
1862
- # {
1863
- # metric_name: "MetricName", # required
1864
- # namespace: "MetricNamespace", # required
1865
- # dimensions: [
1866
- # {
1867
- # name: "MetricDimensionName", # required
1868
- # value: "MetricDimensionValue", # required
1869
- # },
1870
- # ],
1871
- # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
1872
- # unit: "MetricUnit",
1873
- # }
1874
- #
1875
1589
  # @!attribute [rw] metric_name
1876
1590
  # The name of the metric. To get the exact metric name, namespace, and
1877
1591
  # dimensions, inspect the [Metric][1] object that is returned by a
@@ -1908,6 +1622,12 @@ module Aws::AutoScaling
1908
1622
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
1909
1623
  # @return [String]
1910
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
+ #
1911
1631
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CustomizedMetricSpecification AWS API Documentation
1912
1632
  #
1913
1633
  class CustomizedMetricSpecification < Struct.new(
@@ -1915,19 +1635,12 @@ module Aws::AutoScaling
1915
1635
  :namespace,
1916
1636
  :dimensions,
1917
1637
  :statistic,
1918
- :unit)
1638
+ :unit,
1639
+ :metrics)
1919
1640
  SENSITIVE = []
1920
1641
  include Aws::Structure
1921
1642
  end
1922
1643
 
1923
- # @note When making an API call, you may pass DeleteAutoScalingGroupType
1924
- # data as a hash:
1925
- #
1926
- # {
1927
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
1928
- # force_delete: false,
1929
- # }
1930
- #
1931
1644
  # @!attribute [rw] auto_scaling_group_name
1932
1645
  # The name of the Auto Scaling group.
1933
1646
  # @return [String]
@@ -1952,14 +1665,6 @@ module Aws::AutoScaling
1952
1665
  #
1953
1666
  class DeleteLifecycleHookAnswer < Aws::EmptyStructure; end
1954
1667
 
1955
- # @note When making an API call, you may pass DeleteLifecycleHookType
1956
- # data as a hash:
1957
- #
1958
- # {
1959
- # lifecycle_hook_name: "AsciiStringMaxLen255", # required
1960
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
1961
- # }
1962
- #
1963
1668
  # @!attribute [rw] lifecycle_hook_name
1964
1669
  # The name of the lifecycle hook.
1965
1670
  # @return [String]
@@ -1977,14 +1682,6 @@ module Aws::AutoScaling
1977
1682
  include Aws::Structure
1978
1683
  end
1979
1684
 
1980
- # @note When making an API call, you may pass DeleteNotificationConfigurationType
1981
- # data as a hash:
1982
- #
1983
- # {
1984
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
1985
- # topic_arn: "XmlStringMaxLen255", # required
1986
- # }
1987
- #
1988
1685
  # @!attribute [rw] auto_scaling_group_name
1989
1686
  # The name of the Auto Scaling group.
1990
1687
  # @return [String]
@@ -2002,14 +1699,6 @@ module Aws::AutoScaling
2002
1699
  include Aws::Structure
2003
1700
  end
2004
1701
 
2005
- # @note When making an API call, you may pass DeletePolicyType
2006
- # data as a hash:
2007
- #
2008
- # {
2009
- # auto_scaling_group_name: "XmlStringMaxLen255",
2010
- # policy_name: "ResourceName", # required
2011
- # }
2012
- #
2013
1702
  # @!attribute [rw] auto_scaling_group_name
2014
1703
  # The name of the Auto Scaling group.
2015
1704
  # @return [String]
@@ -2027,14 +1716,6 @@ module Aws::AutoScaling
2027
1716
  include Aws::Structure
2028
1717
  end
2029
1718
 
2030
- # @note When making an API call, you may pass DeleteScheduledActionType
2031
- # data as a hash:
2032
- #
2033
- # {
2034
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2035
- # scheduled_action_name: "XmlStringMaxLen255", # required
2036
- # }
2037
- #
2038
1719
  # @!attribute [rw] auto_scaling_group_name
2039
1720
  # The name of the Auto Scaling group.
2040
1721
  # @return [String]
@@ -2052,21 +1733,6 @@ module Aws::AutoScaling
2052
1733
  include Aws::Structure
2053
1734
  end
2054
1735
 
2055
- # @note When making an API call, you may pass DeleteTagsType
2056
- # data as a hash:
2057
- #
2058
- # {
2059
- # tags: [ # required
2060
- # {
2061
- # resource_id: "XmlString",
2062
- # resource_type: "XmlString",
2063
- # key: "TagKey", # required
2064
- # value: "TagValue",
2065
- # propagate_at_launch: false,
2066
- # },
2067
- # ],
2068
- # }
2069
- #
2070
1736
  # @!attribute [rw] tags
2071
1737
  # One or more tags.
2072
1738
  # @return [Array<Types::Tag>]
@@ -2083,14 +1749,6 @@ module Aws::AutoScaling
2083
1749
  #
2084
1750
  class DeleteWarmPoolAnswer < Aws::EmptyStructure; end
2085
1751
 
2086
- # @note When making an API call, you may pass DeleteWarmPoolType
2087
- # data as a hash:
2088
- #
2089
- # {
2090
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2091
- # force_delete: false,
2092
- # }
2093
- #
2094
1752
  # @!attribute [rw] auto_scaling_group_name
2095
1753
  # The name of the Auto Scaling group.
2096
1754
  # @return [String]
@@ -2152,15 +1810,6 @@ module Aws::AutoScaling
2152
1810
  include Aws::Structure
2153
1811
  end
2154
1812
 
2155
- # @note When making an API call, you may pass DescribeAutoScalingInstancesType
2156
- # data as a hash:
2157
- #
2158
- # {
2159
- # instance_ids: ["XmlStringMaxLen19"],
2160
- # max_records: 1,
2161
- # next_token: "XmlString",
2162
- # }
2163
- #
2164
1813
  # @!attribute [rw] instance_ids
2165
1814
  # The IDs of the instances. If you omit this property, all Auto
2166
1815
  # Scaling instances are described. If you specify an ID that does not
@@ -2223,16 +1872,6 @@ module Aws::AutoScaling
2223
1872
  include Aws::Structure
2224
1873
  end
2225
1874
 
2226
- # @note When making an API call, you may pass DescribeInstanceRefreshesType
2227
- # data as a hash:
2228
- #
2229
- # {
2230
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2231
- # instance_refresh_ids: ["XmlStringMaxLen255"],
2232
- # next_token: "XmlString",
2233
- # max_records: 1,
2234
- # }
2235
- #
2236
1875
  # @!attribute [rw] auto_scaling_group_name
2237
1876
  # The name of the Auto Scaling group.
2238
1877
  # @return [String]
@@ -2286,14 +1925,6 @@ module Aws::AutoScaling
2286
1925
  include Aws::Structure
2287
1926
  end
2288
1927
 
2289
- # @note When making an API call, you may pass DescribeLifecycleHooksType
2290
- # data as a hash:
2291
- #
2292
- # {
2293
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2294
- # lifecycle_hook_names: ["AsciiStringMaxLen255"],
2295
- # }
2296
- #
2297
1928
  # @!attribute [rw] auto_scaling_group_name
2298
1929
  # The name of the Auto Scaling group.
2299
1930
  # @return [String]
@@ -2312,15 +1943,6 @@ module Aws::AutoScaling
2312
1943
  include Aws::Structure
2313
1944
  end
2314
1945
 
2315
- # @note When making an API call, you may pass DescribeLoadBalancerTargetGroupsRequest
2316
- # data as a hash:
2317
- #
2318
- # {
2319
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2320
- # next_token: "XmlString",
2321
- # max_records: 1,
2322
- # }
2323
- #
2324
1946
  # @!attribute [rw] auto_scaling_group_name
2325
1947
  # The name of the Auto Scaling group.
2326
1948
  # @return [String]
@@ -2366,15 +1988,6 @@ module Aws::AutoScaling
2366
1988
  include Aws::Structure
2367
1989
  end
2368
1990
 
2369
- # @note When making an API call, you may pass DescribeLoadBalancersRequest
2370
- # data as a hash:
2371
- #
2372
- # {
2373
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2374
- # next_token: "XmlString",
2375
- # max_records: 1,
2376
- # }
2377
- #
2378
1991
  # @!attribute [rw] auto_scaling_group_name
2379
1992
  # The name of the Auto Scaling group.
2380
1993
  # @return [String]
@@ -2458,15 +2071,6 @@ module Aws::AutoScaling
2458
2071
  include Aws::Structure
2459
2072
  end
2460
2073
 
2461
- # @note When making an API call, you may pass DescribeNotificationConfigurationsType
2462
- # data as a hash:
2463
- #
2464
- # {
2465
- # auto_scaling_group_names: ["XmlStringMaxLen255"],
2466
- # next_token: "XmlString",
2467
- # max_records: 1,
2468
- # }
2469
- #
2470
2074
  # @!attribute [rw] auto_scaling_group_names
2471
2075
  # The name of the Auto Scaling group.
2472
2076
  # @return [Array<String>]
@@ -2491,17 +2095,6 @@ module Aws::AutoScaling
2491
2095
  include Aws::Structure
2492
2096
  end
2493
2097
 
2494
- # @note When making an API call, you may pass DescribePoliciesType
2495
- # data as a hash:
2496
- #
2497
- # {
2498
- # auto_scaling_group_name: "XmlStringMaxLen255",
2499
- # policy_names: ["ResourceName"],
2500
- # policy_types: ["XmlStringMaxLen64"],
2501
- # next_token: "XmlString",
2502
- # max_records: 1,
2503
- # }
2504
- #
2505
2098
  # @!attribute [rw] auto_scaling_group_name
2506
2099
  # The name of the Auto Scaling group.
2507
2100
  # @return [String]
@@ -2542,17 +2135,6 @@ module Aws::AutoScaling
2542
2135
  include Aws::Structure
2543
2136
  end
2544
2137
 
2545
- # @note When making an API call, you may pass DescribeScalingActivitiesType
2546
- # data as a hash:
2547
- #
2548
- # {
2549
- # activity_ids: ["XmlString"],
2550
- # auto_scaling_group_name: "XmlStringMaxLen255",
2551
- # include_deleted_groups: false,
2552
- # max_records: 1,
2553
- # next_token: "XmlString",
2554
- # }
2555
- #
2556
2138
  # @!attribute [rw] activity_ids
2557
2139
  # The activity IDs of the desired scaling activities. If you omit this
2558
2140
  # property, all activities for the past six weeks are described. If
@@ -2594,18 +2176,6 @@ module Aws::AutoScaling
2594
2176
  include Aws::Structure
2595
2177
  end
2596
2178
 
2597
- # @note When making an API call, you may pass DescribeScheduledActionsType
2598
- # data as a hash:
2599
- #
2600
- # {
2601
- # auto_scaling_group_name: "XmlStringMaxLen255",
2602
- # scheduled_action_names: ["XmlStringMaxLen255"],
2603
- # start_time: Time.now,
2604
- # end_time: Time.now,
2605
- # next_token: "XmlString",
2606
- # max_records: 1,
2607
- # }
2608
- #
2609
2179
  # @!attribute [rw] auto_scaling_group_name
2610
2180
  # The name of the Auto Scaling group.
2611
2181
  # @return [String]
@@ -2651,20 +2221,6 @@ module Aws::AutoScaling
2651
2221
  include Aws::Structure
2652
2222
  end
2653
2223
 
2654
- # @note When making an API call, you may pass DescribeTagsType
2655
- # data as a hash:
2656
- #
2657
- # {
2658
- # filters: [
2659
- # {
2660
- # name: "XmlString",
2661
- # values: ["XmlString"],
2662
- # },
2663
- # ],
2664
- # next_token: "XmlString",
2665
- # max_records: 1,
2666
- # }
2667
- #
2668
2224
  # @!attribute [rw] filters
2669
2225
  # One or more filters to scope the tags to return. The maximum number
2670
2226
  # of filters per filter type (for example, `auto-scaling-group`) is
@@ -2706,6 +2262,57 @@ module Aws::AutoScaling
2706
2262
  include Aws::Structure
2707
2263
  end
2708
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
+
2709
2316
  # @!attribute [rw] warm_pool_configuration
2710
2317
  # The warm pool configuration details.
2711
2318
  # @return [Types::WarmPoolConfiguration]
@@ -2715,8 +2322,11 @@ module Aws::AutoScaling
2715
2322
  # @return [Array<Types::Instance>]
2716
2323
  #
2717
2324
  # @!attribute [rw] next_token
2718
- # The token for the next set of items to return. (You received this
2719
- # 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.
2720
2330
  # @return [String]
2721
2331
  #
2722
2332
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeWarmPoolAnswer AWS API Documentation
@@ -2729,15 +2339,6 @@ module Aws::AutoScaling
2729
2339
  include Aws::Structure
2730
2340
  end
2731
2341
 
2732
- # @note When making an API call, you may pass DescribeWarmPoolType
2733
- # data as a hash:
2734
- #
2735
- # {
2736
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2737
- # max_records: 1,
2738
- # next_token: "XmlString",
2739
- # }
2740
- #
2741
2342
  # @!attribute [rw] auto_scaling_group_name
2742
2343
  # The name of the Auto Scaling group.
2743
2344
  # @return [String]
@@ -2767,97 +2368,6 @@ module Aws::AutoScaling
2767
2368
  # If you specify a desired configuration, you must specify either a
2768
2369
  # `LaunchTemplate` or a `MixedInstancesPolicy`.
2769
2370
  #
2770
- # @note When making an API call, you may pass DesiredConfiguration
2771
- # data as a hash:
2772
- #
2773
- # {
2774
- # launch_template: {
2775
- # launch_template_id: "XmlStringMaxLen255",
2776
- # launch_template_name: "LaunchTemplateName",
2777
- # version: "XmlStringMaxLen255",
2778
- # },
2779
- # mixed_instances_policy: {
2780
- # launch_template: {
2781
- # launch_template_specification: {
2782
- # launch_template_id: "XmlStringMaxLen255",
2783
- # launch_template_name: "LaunchTemplateName",
2784
- # version: "XmlStringMaxLen255",
2785
- # },
2786
- # overrides: [
2787
- # {
2788
- # instance_type: "XmlStringMaxLen255",
2789
- # weighted_capacity: "XmlStringMaxLen32",
2790
- # launch_template_specification: {
2791
- # launch_template_id: "XmlStringMaxLen255",
2792
- # launch_template_name: "LaunchTemplateName",
2793
- # version: "XmlStringMaxLen255",
2794
- # },
2795
- # instance_requirements: {
2796
- # v_cpu_count: { # required
2797
- # min: 1, # required
2798
- # max: 1,
2799
- # },
2800
- # memory_mi_b: { # required
2801
- # min: 1, # required
2802
- # max: 1,
2803
- # },
2804
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
2805
- # memory_gi_b_per_v_cpu: {
2806
- # min: 1.0,
2807
- # max: 1.0,
2808
- # },
2809
- # excluded_instance_types: ["ExcludedInstance"],
2810
- # instance_generations: ["current"], # accepts current, previous
2811
- # spot_max_price_percentage_over_lowest_price: 1,
2812
- # on_demand_max_price_percentage_over_lowest_price: 1,
2813
- # bare_metal: "included", # accepts included, excluded, required
2814
- # burstable_performance: "included", # accepts included, excluded, required
2815
- # require_hibernate_support: false,
2816
- # network_interface_count: {
2817
- # min: 1,
2818
- # max: 1,
2819
- # },
2820
- # local_storage: "included", # accepts included, excluded, required
2821
- # local_storage_types: ["hdd"], # accepts hdd, ssd
2822
- # total_local_storage_gb: {
2823
- # min: 1.0,
2824
- # max: 1.0,
2825
- # },
2826
- # baseline_ebs_bandwidth_mbps: {
2827
- # min: 1,
2828
- # max: 1,
2829
- # },
2830
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
2831
- # accelerator_count: {
2832
- # min: 1,
2833
- # max: 1,
2834
- # },
2835
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
2836
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
2837
- # accelerator_total_memory_mi_b: {
2838
- # min: 1,
2839
- # max: 1,
2840
- # },
2841
- # network_bandwidth_gbps: {
2842
- # min: 1.0,
2843
- # max: 1.0,
2844
- # },
2845
- # allowed_instance_types: ["AllowedInstanceType"],
2846
- # },
2847
- # },
2848
- # ],
2849
- # },
2850
- # instances_distribution: {
2851
- # on_demand_allocation_strategy: "XmlString",
2852
- # on_demand_base_capacity: 1,
2853
- # on_demand_percentage_above_base_capacity: 1,
2854
- # spot_allocation_strategy: "XmlString",
2855
- # spot_instance_pools: 1,
2856
- # spot_max_price: "MixedInstanceSpotPrice",
2857
- # },
2858
- # },
2859
- # }
2860
- #
2861
2371
  # @!attribute [rw] launch_template
2862
2372
  # Describes the launch template and the version of the launch template
2863
2373
  # that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances.
@@ -2906,15 +2416,6 @@ module Aws::AutoScaling
2906
2416
  include Aws::Structure
2907
2417
  end
2908
2418
 
2909
- # @note When making an API call, you may pass DetachInstancesQuery
2910
- # data as a hash:
2911
- #
2912
- # {
2913
- # instance_ids: ["XmlStringMaxLen19"],
2914
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2915
- # should_decrement_desired_capacity: false, # required
2916
- # }
2917
- #
2918
2419
  # @!attribute [rw] instance_ids
2919
2420
  # The IDs of the instances. You can specify up to 20 instances.
2920
2421
  # @return [Array<String>]
@@ -2942,14 +2443,6 @@ module Aws::AutoScaling
2942
2443
  #
2943
2444
  class DetachLoadBalancerTargetGroupsResultType < Aws::EmptyStructure; end
2944
2445
 
2945
- # @note When making an API call, you may pass DetachLoadBalancerTargetGroupsType
2946
- # data as a hash:
2947
- #
2948
- # {
2949
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2950
- # target_group_arns: ["XmlStringMaxLen511"], # required
2951
- # }
2952
- #
2953
2446
  # @!attribute [rw] auto_scaling_group_name
2954
2447
  # The name of the Auto Scaling group.
2955
2448
  # @return [String]
@@ -2972,14 +2465,6 @@ module Aws::AutoScaling
2972
2465
  #
2973
2466
  class DetachLoadBalancersResultType < Aws::EmptyStructure; end
2974
2467
 
2975
- # @note When making an API call, you may pass DetachLoadBalancersType
2976
- # data as a hash:
2977
- #
2978
- # {
2979
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
2980
- # load_balancer_names: ["XmlStringMaxLen255"], # required
2981
- # }
2982
- #
2983
2468
  # @!attribute [rw] auto_scaling_group_name
2984
2469
  # The name of the Auto Scaling group.
2985
2470
  # @return [String]
@@ -2998,14 +2483,35 @@ module Aws::AutoScaling
2998
2483
  include Aws::Structure
2999
2484
  end
3000
2485
 
3001
- # @note When making an API call, you may pass DisableMetricsCollectionQuery
3002
- # data as a hash:
2486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachTrafficSourcesResultType AWS API Documentation
2487
+ #
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]
3003
2493
  #
3004
- # {
3005
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
3006
- # metrics: ["XmlStringMaxLen255"],
3007
- # }
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.
3008
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>]
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
+
3009
2515
  # @!attribute [rw] auto_scaling_group_name
3010
2516
  # The name of the Auto Scaling group.
3011
2517
  # @return [String]
@@ -3077,19 +2583,6 @@ module Aws::AutoScaling
3077
2583
  # Describes information used to set up an Amazon EBS volume specified in
3078
2584
  # a block device mapping.
3079
2585
  #
3080
- # @note When making an API call, you may pass Ebs
3081
- # data as a hash:
3082
- #
3083
- # {
3084
- # snapshot_id: "XmlStringMaxLen255",
3085
- # volume_size: 1,
3086
- # volume_type: "BlockDeviceEbsVolumeType",
3087
- # delete_on_termination: false,
3088
- # iops: 1,
3089
- # encrypted: false,
3090
- # throughput: 1,
3091
- # }
3092
- #
3093
2586
  # @!attribute [rw] snapshot_id
3094
2587
  # The snapshot ID of the volume to use.
3095
2588
  #
@@ -3203,15 +2696,6 @@ module Aws::AutoScaling
3203
2696
  include Aws::Structure
3204
2697
  end
3205
2698
 
3206
- # @note When making an API call, you may pass EnableMetricsCollectionQuery
3207
- # data as a hash:
3208
- #
3209
- # {
3210
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
3211
- # metrics: ["XmlStringMaxLen255"],
3212
- # granularity: "XmlStringMaxLen255", # required
3213
- # }
3214
- #
3215
2699
  # @!attribute [rw] auto_scaling_group_name
3216
2700
  # The name of the Auto Scaling group.
3217
2701
  # @return [String]
@@ -3365,15 +2849,6 @@ module Aws::AutoScaling
3365
2849
  include Aws::Structure
3366
2850
  end
3367
2851
 
3368
- # @note When making an API call, you may pass EnterStandbyQuery
3369
- # data as a hash:
3370
- #
3371
- # {
3372
- # instance_ids: ["XmlStringMaxLen19"],
3373
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
3374
- # should_decrement_desired_capacity: false, # required
3375
- # }
3376
- #
3377
2852
  # @!attribute [rw] instance_ids
3378
2853
  # The IDs of the instances. You can specify up to 20 instances.
3379
2854
  # @return [Array<String>]
@@ -3397,17 +2872,6 @@ module Aws::AutoScaling
3397
2872
  include Aws::Structure
3398
2873
  end
3399
2874
 
3400
- # @note When making an API call, you may pass ExecutePolicyType
3401
- # data as a hash:
3402
- #
3403
- # {
3404
- # auto_scaling_group_name: "XmlStringMaxLen255",
3405
- # policy_name: "ResourceName", # required
3406
- # honor_cooldown: false,
3407
- # metric_value: 1.0,
3408
- # breach_threshold: 1.0,
3409
- # }
3410
- #
3411
2875
  # @!attribute [rw] auto_scaling_group_name
3412
2876
  # The name of the Auto Scaling group.
3413
2877
  # @return [String]
@@ -3474,14 +2938,6 @@ module Aws::AutoScaling
3474
2938
  include Aws::Structure
3475
2939
  end
3476
2940
 
3477
- # @note When making an API call, you may pass ExitStandbyQuery
3478
- # data as a hash:
3479
- #
3480
- # {
3481
- # instance_ids: ["XmlStringMaxLen19"],
3482
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
3483
- # }
3484
- #
3485
2941
  # @!attribute [rw] instance_ids
3486
2942
  # The IDs of the instances. You can specify up to 20 instances.
3487
2943
  # @return [Array<String>]
@@ -3538,14 +2994,6 @@ module Aws::AutoScaling
3538
2994
  #
3539
2995
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html
3540
2996
  #
3541
- # @note When making an API call, you may pass Filter
3542
- # data as a hash:
3543
- #
3544
- # {
3545
- # name: "XmlString",
3546
- # values: ["XmlString"],
3547
- # }
3548
- #
3549
2997
  # @!attribute [rw] name
3550
2998
  # The name of the filter.
3551
2999
  #
@@ -3631,16 +3079,6 @@ module Aws::AutoScaling
3631
3079
  include Aws::Structure
3632
3080
  end
3633
3081
 
3634
- # @note When making an API call, you may pass GetPredictiveScalingForecastType
3635
- # data as a hash:
3636
- #
3637
- # {
3638
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
3639
- # policy_name: "XmlStringMaxLen255", # required
3640
- # start_time: Time.now, # required
3641
- # end_time: Time.now, # required
3642
- # }
3643
- #
3644
3082
  # @!attribute [rw] auto_scaling_group_name
3645
3083
  # The name of the Auto Scaling group.
3646
3084
  # @return [String]
@@ -3752,15 +3190,6 @@ module Aws::AutoScaling
3752
3190
  #
3753
3191
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds
3754
3192
  #
3755
- # @note When making an API call, you may pass InstanceMetadataOptions
3756
- # data as a hash:
3757
- #
3758
- # {
3759
- # http_tokens: "optional", # accepts optional, required
3760
- # http_put_response_hop_limit: 1,
3761
- # http_endpoint: "disabled", # accepts disabled, enabled
3762
- # }
3763
- #
3764
3193
  # @!attribute [rw] http_tokens
3765
3194
  # The state of token usage for your instance metadata requests. If the
3766
3195
  # parameter is not specified in the request, the default state is
@@ -3811,13 +3240,6 @@ module Aws::AutoScaling
3811
3240
  # Describes whether detailed monitoring is enabled for the Auto Scaling
3812
3241
  # instances.
3813
3242
  #
3814
- # @note When making an API call, you may pass InstanceMonitoring
3815
- # data as a hash:
3816
- #
3817
- # {
3818
- # enabled: false,
3819
- # }
3820
- #
3821
3243
  # @!attribute [rw] enabled
3822
3244
  # If `true`, detailed monitoring is enabled. Otherwise, basic
3823
3245
  # monitoring is enabled.
@@ -4045,62 +3467,6 @@ module Aws::AutoScaling
4045
3467
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
4046
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
4047
3469
  #
4048
- # @note When making an API call, you may pass InstanceRequirements
4049
- # data as a hash:
4050
- #
4051
- # {
4052
- # v_cpu_count: { # required
4053
- # min: 1, # required
4054
- # max: 1,
4055
- # },
4056
- # memory_mi_b: { # required
4057
- # min: 1, # required
4058
- # max: 1,
4059
- # },
4060
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
4061
- # memory_gi_b_per_v_cpu: {
4062
- # min: 1.0,
4063
- # max: 1.0,
4064
- # },
4065
- # excluded_instance_types: ["ExcludedInstance"],
4066
- # instance_generations: ["current"], # accepts current, previous
4067
- # spot_max_price_percentage_over_lowest_price: 1,
4068
- # on_demand_max_price_percentage_over_lowest_price: 1,
4069
- # bare_metal: "included", # accepts included, excluded, required
4070
- # burstable_performance: "included", # accepts included, excluded, required
4071
- # require_hibernate_support: false,
4072
- # network_interface_count: {
4073
- # min: 1,
4074
- # max: 1,
4075
- # },
4076
- # local_storage: "included", # accepts included, excluded, required
4077
- # local_storage_types: ["hdd"], # accepts hdd, ssd
4078
- # total_local_storage_gb: {
4079
- # min: 1.0,
4080
- # max: 1.0,
4081
- # },
4082
- # baseline_ebs_bandwidth_mbps: {
4083
- # min: 1,
4084
- # max: 1,
4085
- # },
4086
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
4087
- # accelerator_count: {
4088
- # min: 1,
4089
- # max: 1,
4090
- # },
4091
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
4092
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
4093
- # accelerator_total_memory_mi_b: {
4094
- # min: 1,
4095
- # max: 1,
4096
- # },
4097
- # network_bandwidth_gbps: {
4098
- # min: 1.0,
4099
- # max: 1.0,
4100
- # },
4101
- # allowed_instance_types: ["AllowedInstanceType"],
4102
- # }
4103
- #
4104
3470
  # @!attribute [rw] v_cpu_count
4105
3471
  # The minimum and maximum number of vCPUs for an instance type.
4106
3472
  # @return [Types::VCpuCountRequest]
@@ -4425,13 +3791,6 @@ module Aws::AutoScaling
4425
3791
  #
4426
3792
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html
4427
3793
  #
4428
- # @note When making an API call, you may pass InstanceReusePolicy
4429
- # data as a hash:
4430
- #
4431
- # {
4432
- # reuse_on_scale_in: false,
4433
- # }
4434
- #
4435
3794
  # @!attribute [rw] reuse_on_scale_in
4436
3795
  # Specifies whether instances in the Auto Scaling group can be
4437
3796
  # returned to the warm pool on scale in.
@@ -4449,18 +3808,6 @@ module Aws::AutoScaling
4449
3808
  # and Spot Instances and the allocation strategies used to fulfill
4450
3809
  # On-Demand and Spot capacities for a mixed instances policy.
4451
3810
  #
4452
- # @note When making an API call, you may pass InstancesDistribution
4453
- # data as a hash:
4454
- #
4455
- # {
4456
- # on_demand_allocation_strategy: "XmlString",
4457
- # on_demand_base_capacity: 1,
4458
- # on_demand_percentage_above_base_capacity: 1,
4459
- # spot_allocation_strategy: "XmlString",
4460
- # spot_instance_pools: 1,
4461
- # spot_max_price: "MixedInstanceSpotPrice",
4462
- # }
4463
- #
4464
3811
  # @!attribute [rw] on_demand_allocation_strategy
4465
3812
  # The allocation strategy to apply to your On-Demand Instances when
4466
3813
  # they are launched. Possible instance types are determined by the
@@ -4550,12 +3897,9 @@ module Aws::AutoScaling
4550
3897
  #
4551
3898
  # price-capacity-optimized (recommended)
4552
3899
  #
4553
- # : Amazon EC2 Auto Scaling identifies the pools with the highest
4554
- # capacity availability for the number of instances that are
4555
- # launching. This means that we will request Spot Instances from the
4556
- # pools that we believe have the lowest chance of interruption in
4557
- # the near term. Amazon EC2 Auto Scaling then requests Spot
4558
- # Instances from the lowest priced of these pools.
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.
4559
3903
  # @return [String]
4560
3904
  #
4561
3905
  # @!attribute [rw] spot_instance_pools
@@ -4820,13 +4164,6 @@ module Aws::AutoScaling
4820
4164
  include Aws::Structure
4821
4165
  end
4822
4166
 
4823
- # @note When making an API call, you may pass LaunchConfigurationNameType
4824
- # data as a hash:
4825
- #
4826
- # {
4827
- # launch_configuration_name: "XmlStringMaxLen255", # required
4828
- # }
4829
- #
4830
4167
  # @!attribute [rw] launch_configuration_name
4831
4168
  # The name of the launch configuration.
4832
4169
  # @return [String]
@@ -4839,15 +4176,6 @@ module Aws::AutoScaling
4839
4176
  include Aws::Structure
4840
4177
  end
4841
4178
 
4842
- # @note When making an API call, you may pass LaunchConfigurationNamesType
4843
- # data as a hash:
4844
- #
4845
- # {
4846
- # launch_configuration_names: ["XmlStringMaxLen255"],
4847
- # next_token: "XmlString",
4848
- # max_records: 1,
4849
- # }
4850
- #
4851
4179
  # @!attribute [rw] launch_configuration_names
4852
4180
  # The launch configuration names. If you omit this property, all
4853
4181
  # launch configurations are described.
@@ -4899,80 +4227,6 @@ module Aws::AutoScaling
4899
4227
  # Use this structure to specify the launch templates and instance types
4900
4228
  # (overrides) for a mixed instances policy.
4901
4229
  #
4902
- # @note When making an API call, you may pass LaunchTemplate
4903
- # data as a hash:
4904
- #
4905
- # {
4906
- # launch_template_specification: {
4907
- # launch_template_id: "XmlStringMaxLen255",
4908
- # launch_template_name: "LaunchTemplateName",
4909
- # version: "XmlStringMaxLen255",
4910
- # },
4911
- # overrides: [
4912
- # {
4913
- # instance_type: "XmlStringMaxLen255",
4914
- # weighted_capacity: "XmlStringMaxLen32",
4915
- # launch_template_specification: {
4916
- # launch_template_id: "XmlStringMaxLen255",
4917
- # launch_template_name: "LaunchTemplateName",
4918
- # version: "XmlStringMaxLen255",
4919
- # },
4920
- # instance_requirements: {
4921
- # v_cpu_count: { # required
4922
- # min: 1, # required
4923
- # max: 1,
4924
- # },
4925
- # memory_mi_b: { # required
4926
- # min: 1, # required
4927
- # max: 1,
4928
- # },
4929
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
4930
- # memory_gi_b_per_v_cpu: {
4931
- # min: 1.0,
4932
- # max: 1.0,
4933
- # },
4934
- # excluded_instance_types: ["ExcludedInstance"],
4935
- # instance_generations: ["current"], # accepts current, previous
4936
- # spot_max_price_percentage_over_lowest_price: 1,
4937
- # on_demand_max_price_percentage_over_lowest_price: 1,
4938
- # bare_metal: "included", # accepts included, excluded, required
4939
- # burstable_performance: "included", # accepts included, excluded, required
4940
- # require_hibernate_support: false,
4941
- # network_interface_count: {
4942
- # min: 1,
4943
- # max: 1,
4944
- # },
4945
- # local_storage: "included", # accepts included, excluded, required
4946
- # local_storage_types: ["hdd"], # accepts hdd, ssd
4947
- # total_local_storage_gb: {
4948
- # min: 1.0,
4949
- # max: 1.0,
4950
- # },
4951
- # baseline_ebs_bandwidth_mbps: {
4952
- # min: 1,
4953
- # max: 1,
4954
- # },
4955
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
4956
- # accelerator_count: {
4957
- # min: 1,
4958
- # max: 1,
4959
- # },
4960
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
4961
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
4962
- # accelerator_total_memory_mi_b: {
4963
- # min: 1,
4964
- # max: 1,
4965
- # },
4966
- # network_bandwidth_gbps: {
4967
- # min: 1.0,
4968
- # max: 1.0,
4969
- # },
4970
- # allowed_instance_types: ["AllowedInstanceType"],
4971
- # },
4972
- # },
4973
- # ],
4974
- # }
4975
- #
4976
4230
  # @!attribute [rw] launch_template_specification
4977
4231
  # The launch template.
4978
4232
  # @return [Types::LaunchTemplateSpecification]
@@ -5012,71 +4266,6 @@ module Aws::AutoScaling
5012
4266
  # Scaling group to determine whether a new EC2 instance type can be
5013
4267
  # used.
5014
4268
  #
5015
- # @note When making an API call, you may pass LaunchTemplateOverrides
5016
- # data as a hash:
5017
- #
5018
- # {
5019
- # instance_type: "XmlStringMaxLen255",
5020
- # weighted_capacity: "XmlStringMaxLen32",
5021
- # launch_template_specification: {
5022
- # launch_template_id: "XmlStringMaxLen255",
5023
- # launch_template_name: "LaunchTemplateName",
5024
- # version: "XmlStringMaxLen255",
5025
- # },
5026
- # instance_requirements: {
5027
- # v_cpu_count: { # required
5028
- # min: 1, # required
5029
- # max: 1,
5030
- # },
5031
- # memory_mi_b: { # required
5032
- # min: 1, # required
5033
- # max: 1,
5034
- # },
5035
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
5036
- # memory_gi_b_per_v_cpu: {
5037
- # min: 1.0,
5038
- # max: 1.0,
5039
- # },
5040
- # excluded_instance_types: ["ExcludedInstance"],
5041
- # instance_generations: ["current"], # accepts current, previous
5042
- # spot_max_price_percentage_over_lowest_price: 1,
5043
- # on_demand_max_price_percentage_over_lowest_price: 1,
5044
- # bare_metal: "included", # accepts included, excluded, required
5045
- # burstable_performance: "included", # accepts included, excluded, required
5046
- # require_hibernate_support: false,
5047
- # network_interface_count: {
5048
- # min: 1,
5049
- # max: 1,
5050
- # },
5051
- # local_storage: "included", # accepts included, excluded, required
5052
- # local_storage_types: ["hdd"], # accepts hdd, ssd
5053
- # total_local_storage_gb: {
5054
- # min: 1.0,
5055
- # max: 1.0,
5056
- # },
5057
- # baseline_ebs_bandwidth_mbps: {
5058
- # min: 1,
5059
- # max: 1,
5060
- # },
5061
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
5062
- # accelerator_count: {
5063
- # min: 1,
5064
- # max: 1,
5065
- # },
5066
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
5067
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
5068
- # accelerator_total_memory_mi_b: {
5069
- # min: 1,
5070
- # max: 1,
5071
- # },
5072
- # network_bandwidth_gbps: {
5073
- # min: 1.0,
5074
- # max: 1.0,
5075
- # },
5076
- # allowed_instance_types: ["AllowedInstanceType"],
5077
- # },
5078
- # }
5079
- #
5080
4269
  # @!attribute [rw] instance_type
5081
4270
  # The instance type, such as `m3.xlarge`. You must specify an instance
5082
4271
  # type that is supported in your requested Region and Availability
@@ -5178,15 +4367,6 @@ module Aws::AutoScaling
5178
4367
  #
5179
4368
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchTemplates.html
5180
4369
  #
5181
- # @note When making an API call, you may pass LaunchTemplateSpecification
5182
- # data as a hash:
5183
- #
5184
- # {
5185
- # launch_template_id: "XmlStringMaxLen255",
5186
- # launch_template_name: "LaunchTemplateName",
5187
- # version: "XmlStringMaxLen255",
5188
- # }
5189
- #
5190
4370
  # @!attribute [rw] launch_template_id
5191
4371
  # The ID of the launch template. To get the template ID, use the
5192
4372
  # Amazon EC2 [DescribeLaunchTemplates][1] API operation. New launch
@@ -5327,19 +4507,6 @@ module Aws::AutoScaling
5327
4507
  #
5328
4508
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
5329
4509
  #
5330
- # @note When making an API call, you may pass LifecycleHookSpecification
5331
- # data as a hash:
5332
- #
5333
- # {
5334
- # lifecycle_hook_name: "AsciiStringMaxLen255", # required
5335
- # lifecycle_transition: "LifecycleTransition", # required
5336
- # notification_metadata: "XmlStringMaxLen1023",
5337
- # heartbeat_timeout: 1,
5338
- # default_result: "LifecycleActionResult",
5339
- # notification_target_arn: "NotificationTargetResourceName",
5340
- # role_arn: "XmlStringMaxLen255",
5341
- # }
5342
- #
5343
4510
  # @!attribute [rw] lifecycle_hook_name
5344
4511
  # The name of the lifecycle hook.
5345
4512
  # @return [String]
@@ -5531,14 +4698,6 @@ module Aws::AutoScaling
5531
4698
  # Specifies the minimum and maximum for the `MemoryGiBPerVCpu` object
5532
4699
  # when you specify InstanceRequirements for an Auto Scaling group.
5533
4700
  #
5534
- # @note When making an API call, you may pass MemoryGiBPerVCpuRequest
5535
- # data as a hash:
5536
- #
5537
- # {
5538
- # min: 1.0,
5539
- # max: 1.0,
5540
- # }
5541
- #
5542
4701
  # @!attribute [rw] min
5543
4702
  # The memory minimum in GiB.
5544
4703
  # @return [Float]
@@ -5559,14 +4718,6 @@ module Aws::AutoScaling
5559
4718
  # Specifies the minimum and maximum for the `MemoryMiB` object when you
5560
4719
  # specify InstanceRequirements for an Auto Scaling group.
5561
4720
  #
5562
- # @note When making an API call, you may pass MemoryMiBRequest
5563
- # data as a hash:
5564
- #
5565
- # {
5566
- # min: 1, # required
5567
- # max: 1,
5568
- # }
5569
- #
5570
4721
  # @!attribute [rw] min
5571
4722
  # The memory minimum in MiB.
5572
4723
  # @return [Integer]
@@ -5586,20 +4737,6 @@ module Aws::AutoScaling
5586
4737
 
5587
4738
  # Represents a specific metric.
5588
4739
  #
5589
- # @note When making an API call, you may pass Metric
5590
- # data as a hash:
5591
- #
5592
- # {
5593
- # namespace: "MetricNamespace", # required
5594
- # metric_name: "MetricName", # required
5595
- # dimensions: [
5596
- # {
5597
- # name: "MetricDimensionName", # required
5598
- # value: "MetricDimensionValue", # required
5599
- # },
5600
- # ],
5601
- # }
5602
- #
5603
4740
  # @!attribute [rw] namespace
5604
4741
  # The namespace of the metric. For more information, see the table in
5605
4742
  # [Amazon Web Services services that publish CloudWatch metrics ][1]
@@ -5706,30 +4843,6 @@ module Aws::AutoScaling
5706
4843
  #
5707
4844
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/predictive-scaling-customized-metric-specification.html
5708
4845
  #
5709
- # @note When making an API call, you may pass MetricDataQuery
5710
- # data as a hash:
5711
- #
5712
- # {
5713
- # id: "XmlStringMaxLen255", # required
5714
- # expression: "XmlStringMaxLen1023",
5715
- # metric_stat: {
5716
- # metric: { # required
5717
- # namespace: "MetricNamespace", # required
5718
- # metric_name: "MetricName", # required
5719
- # dimensions: [
5720
- # {
5721
- # name: "MetricDimensionName", # required
5722
- # value: "MetricDimensionValue", # required
5723
- # },
5724
- # ],
5725
- # },
5726
- # stat: "XmlStringMetricStat", # required
5727
- # unit: "MetricUnit",
5728
- # },
5729
- # label: "XmlStringMetricLabel",
5730
- # return_data: false,
5731
- # }
5732
- #
5733
4846
  # @!attribute [rw] id
5734
4847
  # A short name that identifies the object's results in the response.
5735
4848
  # This name must be unique among all `MetricDataQuery` objects
@@ -5791,14 +4904,6 @@ module Aws::AutoScaling
5791
4904
 
5792
4905
  # Describes the dimension of a metric.
5793
4906
  #
5794
- # @note When making an API call, you may pass MetricDimension
5795
- # data as a hash:
5796
- #
5797
- # {
5798
- # name: "MetricDimensionName", # required
5799
- # value: "MetricDimensionValue", # required
5800
- # }
5801
- #
5802
4907
  # @!attribute [rw] name
5803
4908
  # The name of the dimension.
5804
4909
  # @return [String]
@@ -5840,24 +4945,6 @@ module Aws::AutoScaling
5840
4945
  #
5841
4946
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
5842
4947
  #
5843
- # @note When making an API call, you may pass MetricStat
5844
- # data as a hash:
5845
- #
5846
- # {
5847
- # metric: { # required
5848
- # namespace: "MetricNamespace", # required
5849
- # metric_name: "MetricName", # required
5850
- # dimensions: [
5851
- # {
5852
- # name: "MetricDimensionName", # required
5853
- # value: "MetricDimensionValue", # required
5854
- # },
5855
- # ],
5856
- # },
5857
- # stat: "XmlStringMetricStat", # required
5858
- # unit: "MetricUnit",
5859
- # }
5860
- #
5861
4948
  # @!attribute [rw] metric
5862
4949
  # The CloudWatch metric to return, including the metric name,
5863
4950
  # namespace, and dimensions. To get the exact metric name, namespace,
@@ -5916,90 +5003,6 @@ module Aws::AutoScaling
5916
5003
  #
5917
5004
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
5918
5005
  #
5919
- # @note When making an API call, you may pass MixedInstancesPolicy
5920
- # data as a hash:
5921
- #
5922
- # {
5923
- # launch_template: {
5924
- # launch_template_specification: {
5925
- # launch_template_id: "XmlStringMaxLen255",
5926
- # launch_template_name: "LaunchTemplateName",
5927
- # version: "XmlStringMaxLen255",
5928
- # },
5929
- # overrides: [
5930
- # {
5931
- # instance_type: "XmlStringMaxLen255",
5932
- # weighted_capacity: "XmlStringMaxLen32",
5933
- # launch_template_specification: {
5934
- # launch_template_id: "XmlStringMaxLen255",
5935
- # launch_template_name: "LaunchTemplateName",
5936
- # version: "XmlStringMaxLen255",
5937
- # },
5938
- # instance_requirements: {
5939
- # v_cpu_count: { # required
5940
- # min: 1, # required
5941
- # max: 1,
5942
- # },
5943
- # memory_mi_b: { # required
5944
- # min: 1, # required
5945
- # max: 1,
5946
- # },
5947
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
5948
- # memory_gi_b_per_v_cpu: {
5949
- # min: 1.0,
5950
- # max: 1.0,
5951
- # },
5952
- # excluded_instance_types: ["ExcludedInstance"],
5953
- # instance_generations: ["current"], # accepts current, previous
5954
- # spot_max_price_percentage_over_lowest_price: 1,
5955
- # on_demand_max_price_percentage_over_lowest_price: 1,
5956
- # bare_metal: "included", # accepts included, excluded, required
5957
- # burstable_performance: "included", # accepts included, excluded, required
5958
- # require_hibernate_support: false,
5959
- # network_interface_count: {
5960
- # min: 1,
5961
- # max: 1,
5962
- # },
5963
- # local_storage: "included", # accepts included, excluded, required
5964
- # local_storage_types: ["hdd"], # accepts hdd, ssd
5965
- # total_local_storage_gb: {
5966
- # min: 1.0,
5967
- # max: 1.0,
5968
- # },
5969
- # baseline_ebs_bandwidth_mbps: {
5970
- # min: 1,
5971
- # max: 1,
5972
- # },
5973
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
5974
- # accelerator_count: {
5975
- # min: 1,
5976
- # max: 1,
5977
- # },
5978
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
5979
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
5980
- # accelerator_total_memory_mi_b: {
5981
- # min: 1,
5982
- # max: 1,
5983
- # },
5984
- # network_bandwidth_gbps: {
5985
- # min: 1.0,
5986
- # max: 1.0,
5987
- # },
5988
- # allowed_instance_types: ["AllowedInstanceType"],
5989
- # },
5990
- # },
5991
- # ],
5992
- # },
5993
- # instances_distribution: {
5994
- # on_demand_allocation_strategy: "XmlString",
5995
- # on_demand_base_capacity: 1,
5996
- # on_demand_percentage_above_base_capacity: 1,
5997
- # spot_allocation_strategy: "XmlString",
5998
- # spot_instance_pools: 1,
5999
- # spot_max_price: "MixedInstanceSpotPrice",
6000
- # },
6001
- # }
6002
- #
6003
5006
  # @!attribute [rw] launch_template
6004
5007
  # One or more launch templates and the instance types (overrides) that
6005
5008
  # are used to launch EC2 instances to fulfill On-Demand and Spot
@@ -6036,14 +5039,6 @@ module Aws::AutoScaling
6036
5039
  #
6037
5040
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth
6038
5041
  #
6039
- # @note When making an API call, you may pass NetworkBandwidthGbpsRequest
6040
- # data as a hash:
6041
- #
6042
- # {
6043
- # min: 1.0,
6044
- # max: 1.0,
6045
- # }
6046
- #
6047
5042
  # @!attribute [rw] min
6048
5043
  # The minimum amount of network bandwidth, in gigabits per second
6049
5044
  # (Gbps).
@@ -6067,14 +5062,6 @@ module Aws::AutoScaling
6067
5062
  # object when you specify InstanceRequirements for an Auto Scaling
6068
5063
  # group.
6069
5064
  #
6070
- # @note When making an API call, you may pass NetworkInterfaceCountRequest
6071
- # data as a hash:
6072
- #
6073
- # {
6074
- # min: 1,
6075
- # max: 1,
6076
- # }
6077
- #
6078
5065
  # @!attribute [rw] min
6079
5066
  # The minimum number of network interfaces.
6080
5067
  # @return [Integer]
@@ -6170,14 +5157,6 @@ module Aws::AutoScaling
6170
5157
  # Represents a predefined metric for a target tracking scaling policy to
6171
5158
  # use with Amazon EC2 Auto Scaling.
6172
5159
  #
6173
- # @note When making an API call, you may pass PredefinedMetricSpecification
6174
- # data as a hash:
6175
- #
6176
- # {
6177
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
6178
- # resource_label: "XmlStringMaxLen1023",
6179
- # }
6180
- #
6181
5160
  # @!attribute [rw] predefined_metric_type
6182
5161
  # The metric type. The following predefined metrics are available:
6183
5162
  #
@@ -6238,105 +5217,6 @@ module Aws::AutoScaling
6238
5217
  # Represents a predictive scaling policy configuration to use with
6239
5218
  # Amazon EC2 Auto Scaling.
6240
5219
  #
6241
- # @note When making an API call, you may pass PredictiveScalingConfiguration
6242
- # data as a hash:
6243
- #
6244
- # {
6245
- # metric_specifications: [ # required
6246
- # {
6247
- # target_value: 1.0, # required
6248
- # predefined_metric_pair_specification: {
6249
- # predefined_metric_type: "ASGCPUUtilization", # required, accepts ASGCPUUtilization, ASGNetworkIn, ASGNetworkOut, ALBRequestCount
6250
- # resource_label: "XmlStringMaxLen1023",
6251
- # },
6252
- # predefined_scaling_metric_specification: {
6253
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
6254
- # resource_label: "XmlStringMaxLen1023",
6255
- # },
6256
- # predefined_load_metric_specification: {
6257
- # predefined_metric_type: "ASGTotalCPUUtilization", # required, accepts ASGTotalCPUUtilization, ASGTotalNetworkIn, ASGTotalNetworkOut, ALBTargetGroupRequestCount
6258
- # resource_label: "XmlStringMaxLen1023",
6259
- # },
6260
- # customized_scaling_metric_specification: {
6261
- # metric_data_queries: [ # required
6262
- # {
6263
- # id: "XmlStringMaxLen255", # required
6264
- # expression: "XmlStringMaxLen1023",
6265
- # metric_stat: {
6266
- # metric: { # required
6267
- # namespace: "MetricNamespace", # required
6268
- # metric_name: "MetricName", # required
6269
- # dimensions: [
6270
- # {
6271
- # name: "MetricDimensionName", # required
6272
- # value: "MetricDimensionValue", # required
6273
- # },
6274
- # ],
6275
- # },
6276
- # stat: "XmlStringMetricStat", # required
6277
- # unit: "MetricUnit",
6278
- # },
6279
- # label: "XmlStringMetricLabel",
6280
- # return_data: false,
6281
- # },
6282
- # ],
6283
- # },
6284
- # customized_load_metric_specification: {
6285
- # metric_data_queries: [ # required
6286
- # {
6287
- # id: "XmlStringMaxLen255", # required
6288
- # expression: "XmlStringMaxLen1023",
6289
- # metric_stat: {
6290
- # metric: { # required
6291
- # namespace: "MetricNamespace", # required
6292
- # metric_name: "MetricName", # required
6293
- # dimensions: [
6294
- # {
6295
- # name: "MetricDimensionName", # required
6296
- # value: "MetricDimensionValue", # required
6297
- # },
6298
- # ],
6299
- # },
6300
- # stat: "XmlStringMetricStat", # required
6301
- # unit: "MetricUnit",
6302
- # },
6303
- # label: "XmlStringMetricLabel",
6304
- # return_data: false,
6305
- # },
6306
- # ],
6307
- # },
6308
- # customized_capacity_metric_specification: {
6309
- # metric_data_queries: [ # required
6310
- # {
6311
- # id: "XmlStringMaxLen255", # required
6312
- # expression: "XmlStringMaxLen1023",
6313
- # metric_stat: {
6314
- # metric: { # required
6315
- # namespace: "MetricNamespace", # required
6316
- # metric_name: "MetricName", # required
6317
- # dimensions: [
6318
- # {
6319
- # name: "MetricDimensionName", # required
6320
- # value: "MetricDimensionValue", # required
6321
- # },
6322
- # ],
6323
- # },
6324
- # stat: "XmlStringMetricStat", # required
6325
- # unit: "MetricUnit",
6326
- # },
6327
- # label: "XmlStringMetricLabel",
6328
- # return_data: false,
6329
- # },
6330
- # ],
6331
- # },
6332
- # },
6333
- # ],
6334
- # mode: "ForecastAndScale", # accepts ForecastAndScale, ForecastOnly
6335
- # scheduling_buffer_time: 1,
6336
- # max_capacity_breach_behavior: "HonorMaxCapacity", # accepts HonorMaxCapacity, IncreaseMaxCapacity
6337
- # max_capacity_buffer: 1,
6338
- # }
6339
- #
6340
5220
  # @!attribute [rw] metric_specifications
6341
5221
  # This structure includes the metrics and target utilization to use
6342
5222
  # for predictive scaling.
@@ -6414,34 +5294,6 @@ module Aws::AutoScaling
6414
5294
  # Describes a customized capacity metric for a predictive scaling
6415
5295
  # policy.
6416
5296
  #
6417
- # @note When making an API call, you may pass PredictiveScalingCustomizedCapacityMetric
6418
- # data as a hash:
6419
- #
6420
- # {
6421
- # metric_data_queries: [ # required
6422
- # {
6423
- # id: "XmlStringMaxLen255", # required
6424
- # expression: "XmlStringMaxLen1023",
6425
- # metric_stat: {
6426
- # metric: { # required
6427
- # namespace: "MetricNamespace", # required
6428
- # metric_name: "MetricName", # required
6429
- # dimensions: [
6430
- # {
6431
- # name: "MetricDimensionName", # required
6432
- # value: "MetricDimensionValue", # required
6433
- # },
6434
- # ],
6435
- # },
6436
- # stat: "XmlStringMetricStat", # required
6437
- # unit: "MetricUnit",
6438
- # },
6439
- # label: "XmlStringMetricLabel",
6440
- # return_data: false,
6441
- # },
6442
- # ],
6443
- # }
6444
- #
6445
5297
  # @!attribute [rw] metric_data_queries
6446
5298
  # One or more metric data queries to provide the data points for a
6447
5299
  # capacity metric. Use multiple metric data queries only if you are
@@ -6458,34 +5310,6 @@ module Aws::AutoScaling
6458
5310
 
6459
5311
  # Describes a custom load metric for a predictive scaling policy.
6460
5312
  #
6461
- # @note When making an API call, you may pass PredictiveScalingCustomizedLoadMetric
6462
- # data as a hash:
6463
- #
6464
- # {
6465
- # metric_data_queries: [ # required
6466
- # {
6467
- # id: "XmlStringMaxLen255", # required
6468
- # expression: "XmlStringMaxLen1023",
6469
- # metric_stat: {
6470
- # metric: { # required
6471
- # namespace: "MetricNamespace", # required
6472
- # metric_name: "MetricName", # required
6473
- # dimensions: [
6474
- # {
6475
- # name: "MetricDimensionName", # required
6476
- # value: "MetricDimensionValue", # required
6477
- # },
6478
- # ],
6479
- # },
6480
- # stat: "XmlStringMetricStat", # required
6481
- # unit: "MetricUnit",
6482
- # },
6483
- # label: "XmlStringMetricLabel",
6484
- # return_data: false,
6485
- # },
6486
- # ],
6487
- # }
6488
- #
6489
5313
  # @!attribute [rw] metric_data_queries
6490
5314
  # One or more metric data queries to provide the data points for a
6491
5315
  # load metric. Use multiple metric data queries only if you are
@@ -6502,34 +5326,6 @@ module Aws::AutoScaling
6502
5326
 
6503
5327
  # Describes a custom scaling metric for a predictive scaling policy.
6504
5328
  #
6505
- # @note When making an API call, you may pass PredictiveScalingCustomizedScalingMetric
6506
- # data as a hash:
6507
- #
6508
- # {
6509
- # metric_data_queries: [ # required
6510
- # {
6511
- # id: "XmlStringMaxLen255", # required
6512
- # expression: "XmlStringMaxLen1023",
6513
- # metric_stat: {
6514
- # metric: { # required
6515
- # namespace: "MetricNamespace", # required
6516
- # metric_name: "MetricName", # required
6517
- # dimensions: [
6518
- # {
6519
- # name: "MetricDimensionName", # required
6520
- # value: "MetricDimensionValue", # required
6521
- # },
6522
- # ],
6523
- # },
6524
- # stat: "XmlStringMetricStat", # required
6525
- # unit: "MetricUnit",
6526
- # },
6527
- # label: "XmlStringMetricLabel",
6528
- # return_data: false,
6529
- # },
6530
- # ],
6531
- # }
6532
- #
6533
5329
  # @!attribute [rw] metric_data_queries
6534
5330
  # One or more metric data queries to provide the data points for a
6535
5331
  # scaling metric. Use multiple metric data queries only if you are
@@ -6592,97 +5388,6 @@ module Aws::AutoScaling
6592
5388
  #
6593
5389
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/predictive-scaling-customized-metric-specification.html
6594
5390
  #
6595
- # @note When making an API call, you may pass PredictiveScalingMetricSpecification
6596
- # data as a hash:
6597
- #
6598
- # {
6599
- # target_value: 1.0, # required
6600
- # predefined_metric_pair_specification: {
6601
- # predefined_metric_type: "ASGCPUUtilization", # required, accepts ASGCPUUtilization, ASGNetworkIn, ASGNetworkOut, ALBRequestCount
6602
- # resource_label: "XmlStringMaxLen1023",
6603
- # },
6604
- # predefined_scaling_metric_specification: {
6605
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
6606
- # resource_label: "XmlStringMaxLen1023",
6607
- # },
6608
- # predefined_load_metric_specification: {
6609
- # predefined_metric_type: "ASGTotalCPUUtilization", # required, accepts ASGTotalCPUUtilization, ASGTotalNetworkIn, ASGTotalNetworkOut, ALBTargetGroupRequestCount
6610
- # resource_label: "XmlStringMaxLen1023",
6611
- # },
6612
- # customized_scaling_metric_specification: {
6613
- # metric_data_queries: [ # required
6614
- # {
6615
- # id: "XmlStringMaxLen255", # required
6616
- # expression: "XmlStringMaxLen1023",
6617
- # metric_stat: {
6618
- # metric: { # required
6619
- # namespace: "MetricNamespace", # required
6620
- # metric_name: "MetricName", # required
6621
- # dimensions: [
6622
- # {
6623
- # name: "MetricDimensionName", # required
6624
- # value: "MetricDimensionValue", # required
6625
- # },
6626
- # ],
6627
- # },
6628
- # stat: "XmlStringMetricStat", # required
6629
- # unit: "MetricUnit",
6630
- # },
6631
- # label: "XmlStringMetricLabel",
6632
- # return_data: false,
6633
- # },
6634
- # ],
6635
- # },
6636
- # customized_load_metric_specification: {
6637
- # metric_data_queries: [ # required
6638
- # {
6639
- # id: "XmlStringMaxLen255", # required
6640
- # expression: "XmlStringMaxLen1023",
6641
- # metric_stat: {
6642
- # metric: { # required
6643
- # namespace: "MetricNamespace", # required
6644
- # metric_name: "MetricName", # required
6645
- # dimensions: [
6646
- # {
6647
- # name: "MetricDimensionName", # required
6648
- # value: "MetricDimensionValue", # required
6649
- # },
6650
- # ],
6651
- # },
6652
- # stat: "XmlStringMetricStat", # required
6653
- # unit: "MetricUnit",
6654
- # },
6655
- # label: "XmlStringMetricLabel",
6656
- # return_data: false,
6657
- # },
6658
- # ],
6659
- # },
6660
- # customized_capacity_metric_specification: {
6661
- # metric_data_queries: [ # required
6662
- # {
6663
- # id: "XmlStringMaxLen255", # required
6664
- # expression: "XmlStringMaxLen1023",
6665
- # metric_stat: {
6666
- # metric: { # required
6667
- # namespace: "MetricNamespace", # required
6668
- # metric_name: "MetricName", # required
6669
- # dimensions: [
6670
- # {
6671
- # name: "MetricDimensionName", # required
6672
- # value: "MetricDimensionValue", # required
6673
- # },
6674
- # ],
6675
- # },
6676
- # stat: "XmlStringMetricStat", # required
6677
- # unit: "MetricUnit",
6678
- # },
6679
- # label: "XmlStringMetricLabel",
6680
- # return_data: false,
6681
- # },
6682
- # ],
6683
- # },
6684
- # }
6685
- #
6686
5391
  # @!attribute [rw] target_value
6687
5392
  # Specifies the target utilization.
6688
5393
  #
@@ -6742,14 +5447,6 @@ module Aws::AutoScaling
6742
5447
  # predictive scaling policy uses individually specified load and scaling
6743
5448
  # metrics instead of a metric pair.
6744
5449
  #
6745
- # @note When making an API call, you may pass PredictiveScalingPredefinedLoadMetric
6746
- # data as a hash:
6747
- #
6748
- # {
6749
- # predefined_metric_type: "ASGTotalCPUUtilization", # required, accepts ASGTotalCPUUtilization, ASGTotalNetworkIn, ASGTotalNetworkOut, ALBTargetGroupRequestCount
6750
- # resource_label: "XmlStringMaxLen1023",
6751
- # }
6752
- #
6753
5450
  # @!attribute [rw] predefined_metric_type
6754
5451
  # The metric type.
6755
5452
  # @return [String]
@@ -6796,14 +5493,6 @@ module Aws::AutoScaling
6796
5493
 
6797
5494
  # Represents a metric pair for a predictive scaling policy.
6798
5495
  #
6799
- # @note When making an API call, you may pass PredictiveScalingPredefinedMetricPair
6800
- # data as a hash:
6801
- #
6802
- # {
6803
- # predefined_metric_type: "ASGCPUUtilization", # required, accepts ASGCPUUtilization, ASGNetworkIn, ASGNetworkOut, ALBRequestCount
6804
- # resource_label: "XmlStringMaxLen1023",
6805
- # }
6806
- #
6807
5496
  # @!attribute [rw] predefined_metric_type
6808
5497
  # Indicates which metrics to use. There are two different types of
6809
5498
  # metrics for each metric type: one is a load metric and one is a
@@ -6860,14 +5549,6 @@ module Aws::AutoScaling
6860
5549
  # predictive scaling policy uses individually specified load and scaling
6861
5550
  # metrics instead of a metric pair.
6862
5551
  #
6863
- # @note When making an API call, you may pass PredictiveScalingPredefinedScalingMetric
6864
- # data as a hash:
6865
- #
6866
- # {
6867
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
6868
- # resource_label: "XmlStringMaxLen1023",
6869
- # }
6870
- #
6871
5552
  # @!attribute [rw] predefined_metric_type
6872
5553
  # The metric type.
6873
5554
  # @return [String]
@@ -6968,20 +5649,6 @@ module Aws::AutoScaling
6968
5649
  #
6969
5650
  class PutLifecycleHookAnswer < Aws::EmptyStructure; end
6970
5651
 
6971
- # @note When making an API call, you may pass PutLifecycleHookType
6972
- # data as a hash:
6973
- #
6974
- # {
6975
- # lifecycle_hook_name: "AsciiStringMaxLen255", # required
6976
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
6977
- # lifecycle_transition: "LifecycleTransition",
6978
- # role_arn: "XmlStringMaxLen255",
6979
- # notification_target_arn: "NotificationTargetResourceName",
6980
- # notification_metadata: "XmlStringMaxLen1023",
6981
- # heartbeat_timeout: 1,
6982
- # default_result: "LifecycleActionResult",
6983
- # }
6984
- #
6985
5652
  # @!attribute [rw] lifecycle_hook_name
6986
5653
  # The name of the lifecycle hook.
6987
5654
  # @return [String]
@@ -7065,15 +5732,6 @@ module Aws::AutoScaling
7065
5732
  include Aws::Structure
7066
5733
  end
7067
5734
 
7068
- # @note When making an API call, you may pass PutNotificationConfigurationType
7069
- # data as a hash:
7070
- #
7071
- # {
7072
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
7073
- # topic_arn: "XmlStringMaxLen255", # required
7074
- # notification_types: ["XmlStringMaxLen255"], # required
7075
- # }
7076
- #
7077
5735
  # @!attribute [rw] auto_scaling_group_name
7078
5736
  # The name of the Auto Scaling group.
7079
5737
  # @return [String]
@@ -7098,145 +5756,6 @@ module Aws::AutoScaling
7098
5756
  include Aws::Structure
7099
5757
  end
7100
5758
 
7101
- # @note When making an API call, you may pass PutScalingPolicyType
7102
- # data as a hash:
7103
- #
7104
- # {
7105
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
7106
- # policy_name: "XmlStringMaxLen255", # required
7107
- # policy_type: "XmlStringMaxLen64",
7108
- # adjustment_type: "XmlStringMaxLen255",
7109
- # min_adjustment_step: 1,
7110
- # min_adjustment_magnitude: 1,
7111
- # scaling_adjustment: 1,
7112
- # cooldown: 1,
7113
- # metric_aggregation_type: "XmlStringMaxLen32",
7114
- # step_adjustments: [
7115
- # {
7116
- # metric_interval_lower_bound: 1.0,
7117
- # metric_interval_upper_bound: 1.0,
7118
- # scaling_adjustment: 1, # required
7119
- # },
7120
- # ],
7121
- # estimated_instance_warmup: 1,
7122
- # target_tracking_configuration: {
7123
- # predefined_metric_specification: {
7124
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
7125
- # resource_label: "XmlStringMaxLen1023",
7126
- # },
7127
- # customized_metric_specification: {
7128
- # metric_name: "MetricName", # required
7129
- # namespace: "MetricNamespace", # required
7130
- # dimensions: [
7131
- # {
7132
- # name: "MetricDimensionName", # required
7133
- # value: "MetricDimensionValue", # required
7134
- # },
7135
- # ],
7136
- # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
7137
- # unit: "MetricUnit",
7138
- # },
7139
- # target_value: 1.0, # required
7140
- # disable_scale_in: false,
7141
- # },
7142
- # enabled: false,
7143
- # predictive_scaling_configuration: {
7144
- # metric_specifications: [ # required
7145
- # {
7146
- # target_value: 1.0, # required
7147
- # predefined_metric_pair_specification: {
7148
- # predefined_metric_type: "ASGCPUUtilization", # required, accepts ASGCPUUtilization, ASGNetworkIn, ASGNetworkOut, ALBRequestCount
7149
- # resource_label: "XmlStringMaxLen1023",
7150
- # },
7151
- # predefined_scaling_metric_specification: {
7152
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
7153
- # resource_label: "XmlStringMaxLen1023",
7154
- # },
7155
- # predefined_load_metric_specification: {
7156
- # predefined_metric_type: "ASGTotalCPUUtilization", # required, accepts ASGTotalCPUUtilization, ASGTotalNetworkIn, ASGTotalNetworkOut, ALBTargetGroupRequestCount
7157
- # resource_label: "XmlStringMaxLen1023",
7158
- # },
7159
- # customized_scaling_metric_specification: {
7160
- # metric_data_queries: [ # required
7161
- # {
7162
- # id: "XmlStringMaxLen255", # required
7163
- # expression: "XmlStringMaxLen1023",
7164
- # metric_stat: {
7165
- # metric: { # required
7166
- # namespace: "MetricNamespace", # required
7167
- # metric_name: "MetricName", # required
7168
- # dimensions: [
7169
- # {
7170
- # name: "MetricDimensionName", # required
7171
- # value: "MetricDimensionValue", # required
7172
- # },
7173
- # ],
7174
- # },
7175
- # stat: "XmlStringMetricStat", # required
7176
- # unit: "MetricUnit",
7177
- # },
7178
- # label: "XmlStringMetricLabel",
7179
- # return_data: false,
7180
- # },
7181
- # ],
7182
- # },
7183
- # customized_load_metric_specification: {
7184
- # metric_data_queries: [ # required
7185
- # {
7186
- # id: "XmlStringMaxLen255", # required
7187
- # expression: "XmlStringMaxLen1023",
7188
- # metric_stat: {
7189
- # metric: { # required
7190
- # namespace: "MetricNamespace", # required
7191
- # metric_name: "MetricName", # required
7192
- # dimensions: [
7193
- # {
7194
- # name: "MetricDimensionName", # required
7195
- # value: "MetricDimensionValue", # required
7196
- # },
7197
- # ],
7198
- # },
7199
- # stat: "XmlStringMetricStat", # required
7200
- # unit: "MetricUnit",
7201
- # },
7202
- # label: "XmlStringMetricLabel",
7203
- # return_data: false,
7204
- # },
7205
- # ],
7206
- # },
7207
- # customized_capacity_metric_specification: {
7208
- # metric_data_queries: [ # required
7209
- # {
7210
- # id: "XmlStringMaxLen255", # required
7211
- # expression: "XmlStringMaxLen1023",
7212
- # metric_stat: {
7213
- # metric: { # required
7214
- # namespace: "MetricNamespace", # required
7215
- # metric_name: "MetricName", # required
7216
- # dimensions: [
7217
- # {
7218
- # name: "MetricDimensionName", # required
7219
- # value: "MetricDimensionValue", # required
7220
- # },
7221
- # ],
7222
- # },
7223
- # stat: "XmlStringMetricStat", # required
7224
- # unit: "MetricUnit",
7225
- # },
7226
- # label: "XmlStringMetricLabel",
7227
- # return_data: false,
7228
- # },
7229
- # ],
7230
- # },
7231
- # },
7232
- # ],
7233
- # mode: "ForecastAndScale", # accepts ForecastAndScale, ForecastOnly
7234
- # scheduling_buffer_time: 1,
7235
- # max_capacity_breach_behavior: "HonorMaxCapacity", # accepts HonorMaxCapacity, IncreaseMaxCapacity
7236
- # max_capacity_buffer: 1,
7237
- # },
7238
- # }
7239
- #
7240
5759
  # @!attribute [rw] auto_scaling_group_name
7241
5760
  # The name of the Auto Scaling group.
7242
5761
  # @return [String]
@@ -7440,22 +5959,6 @@ module Aws::AutoScaling
7440
5959
  include Aws::Structure
7441
5960
  end
7442
5961
 
7443
- # @note When making an API call, you may pass PutScheduledUpdateGroupActionType
7444
- # data as a hash:
7445
- #
7446
- # {
7447
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
7448
- # scheduled_action_name: "XmlStringMaxLen255", # required
7449
- # time: Time.now,
7450
- # start_time: Time.now,
7451
- # end_time: Time.now,
7452
- # recurrence: "XmlStringMaxLen255",
7453
- # min_size: 1,
7454
- # max_size: 1,
7455
- # desired_capacity: 1,
7456
- # time_zone: "XmlStringMaxLen255",
7457
- # }
7458
- #
7459
5962
  # @!attribute [rw] auto_scaling_group_name
7460
5963
  # The name of the Auto Scaling group.
7461
5964
  # @return [String]
@@ -7555,19 +6058,6 @@ module Aws::AutoScaling
7555
6058
  #
7556
6059
  class PutWarmPoolAnswer < Aws::EmptyStructure; end
7557
6060
 
7558
- # @note When making an API call, you may pass PutWarmPoolType
7559
- # data as a hash:
7560
- #
7561
- # {
7562
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
7563
- # max_group_prepared_capacity: 1,
7564
- # min_size: 1,
7565
- # pool_state: "Stopped", # accepts Stopped, Running, Hibernated
7566
- # instance_reuse_policy: {
7567
- # reuse_on_scale_in: false,
7568
- # },
7569
- # }
7570
- #
7571
6061
  # @!attribute [rw] auto_scaling_group_name
7572
6062
  # The name of the Auto Scaling group.
7573
6063
  # @return [String]
@@ -7630,16 +6120,6 @@ module Aws::AutoScaling
7630
6120
  #
7631
6121
  class RecordLifecycleActionHeartbeatAnswer < Aws::EmptyStructure; end
7632
6122
 
7633
- # @note When making an API call, you may pass RecordLifecycleActionHeartbeatType
7634
- # data as a hash:
7635
- #
7636
- # {
7637
- # lifecycle_hook_name: "AsciiStringMaxLen255", # required
7638
- # auto_scaling_group_name: "ResourceName", # required
7639
- # lifecycle_action_token: "LifecycleActionToken",
7640
- # instance_id: "XmlStringMaxLen19",
7641
- # }
7642
- #
7643
6123
  # @!attribute [rw] lifecycle_hook_name
7644
6124
  # The name of the lifecycle hook.
7645
6125
  # @return [String]
@@ -7672,17 +6152,6 @@ module Aws::AutoScaling
7672
6152
 
7673
6153
  # Describes the preferences for an instance refresh.
7674
6154
  #
7675
- # @note When making an API call, you may pass RefreshPreferences
7676
- # data as a hash:
7677
- #
7678
- # {
7679
- # min_healthy_percentage: 1,
7680
- # instance_warmup: 1,
7681
- # checkpoint_percentages: [1],
7682
- # checkpoint_delay: 1,
7683
- # skip_matching: false,
7684
- # }
7685
- #
7686
6155
  # @!attribute [rw] min_healthy_percentage
7687
6156
  # The amount of capacity in the Auto Scaling group that must pass your
7688
6157
  # group's health checks to allow the operation to continue. The value
@@ -7911,14 +6380,6 @@ module Aws::AutoScaling
7911
6380
  include Aws::Structure
7912
6381
  end
7913
6382
 
7914
- # @note When making an API call, you may pass ScalingProcessQuery
7915
- # data as a hash:
7916
- #
7917
- # {
7918
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
7919
- # scaling_processes: ["XmlStringMaxLen255"],
7920
- # }
7921
- #
7922
6383
  # @!attribute [rw] auto_scaling_group_name
7923
6384
  # The name of the Auto Scaling group.
7924
6385
  # @return [String]
@@ -8051,20 +6512,6 @@ module Aws::AutoScaling
8051
6512
  # Describes information used for one or more scheduled scaling action
8052
6513
  # updates in a BatchPutScheduledUpdateGroupAction operation.
8053
6514
  #
8054
- # @note When making an API call, you may pass ScheduledUpdateGroupActionRequest
8055
- # data as a hash:
8056
- #
8057
- # {
8058
- # scheduled_action_name: "XmlStringMaxLen255", # required
8059
- # start_time: Time.now,
8060
- # end_time: Time.now,
8061
- # recurrence: "XmlStringMaxLen255",
8062
- # min_size: 1,
8063
- # max_size: 1,
8064
- # desired_capacity: 1,
8065
- # time_zone: "XmlStringMaxLen255",
8066
- # }
8067
- #
8068
6515
  # @!attribute [rw] scheduled_action_name
8069
6516
  # The name of the scaling action.
8070
6517
  # @return [String]
@@ -8160,15 +6607,6 @@ module Aws::AutoScaling
8160
6607
  include Aws::Structure
8161
6608
  end
8162
6609
 
8163
- # @note When making an API call, you may pass SetDesiredCapacityType
8164
- # data as a hash:
8165
- #
8166
- # {
8167
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
8168
- # desired_capacity: 1, # required
8169
- # honor_cooldown: false,
8170
- # }
8171
- #
8172
6610
  # @!attribute [rw] auto_scaling_group_name
8173
6611
  # The name of the Auto Scaling group.
8174
6612
  # @return [String]
@@ -8197,15 +6635,6 @@ module Aws::AutoScaling
8197
6635
  include Aws::Structure
8198
6636
  end
8199
6637
 
8200
- # @note When making an API call, you may pass SetInstanceHealthQuery
8201
- # data as a hash:
8202
- #
8203
- # {
8204
- # instance_id: "XmlStringMaxLen19", # required
8205
- # health_status: "XmlStringMaxLen32", # required
8206
- # should_respect_grace_period: false,
8207
- # }
8208
- #
8209
6638
  # @!attribute [rw] instance_id
8210
6639
  # The ID of the instance.
8211
6640
  # @return [String]
@@ -8246,15 +6675,6 @@ module Aws::AutoScaling
8246
6675
  #
8247
6676
  class SetInstanceProtectionAnswer < Aws::EmptyStructure; end
8248
6677
 
8249
- # @note When making an API call, you may pass SetInstanceProtectionQuery
8250
- # data as a hash:
8251
- #
8252
- # {
8253
- # instance_ids: ["XmlStringMaxLen19"], # required
8254
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
8255
- # protected_from_scale_in: false, # required
8256
- # }
8257
- #
8258
6678
  # @!attribute [rw] instance_ids
8259
6679
  # One or more instance IDs. You can specify up to 50 instances.
8260
6680
  # @return [Array<String>]
@@ -8290,108 +6710,6 @@ module Aws::AutoScaling
8290
6710
  include Aws::Structure
8291
6711
  end
8292
6712
 
8293
- # @note When making an API call, you may pass StartInstanceRefreshType
8294
- # data as a hash:
8295
- #
8296
- # {
8297
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
8298
- # strategy: "Rolling", # accepts Rolling
8299
- # desired_configuration: {
8300
- # launch_template: {
8301
- # launch_template_id: "XmlStringMaxLen255",
8302
- # launch_template_name: "LaunchTemplateName",
8303
- # version: "XmlStringMaxLen255",
8304
- # },
8305
- # mixed_instances_policy: {
8306
- # launch_template: {
8307
- # launch_template_specification: {
8308
- # launch_template_id: "XmlStringMaxLen255",
8309
- # launch_template_name: "LaunchTemplateName",
8310
- # version: "XmlStringMaxLen255",
8311
- # },
8312
- # overrides: [
8313
- # {
8314
- # instance_type: "XmlStringMaxLen255",
8315
- # weighted_capacity: "XmlStringMaxLen32",
8316
- # launch_template_specification: {
8317
- # launch_template_id: "XmlStringMaxLen255",
8318
- # launch_template_name: "LaunchTemplateName",
8319
- # version: "XmlStringMaxLen255",
8320
- # },
8321
- # instance_requirements: {
8322
- # v_cpu_count: { # required
8323
- # min: 1, # required
8324
- # max: 1,
8325
- # },
8326
- # memory_mi_b: { # required
8327
- # min: 1, # required
8328
- # max: 1,
8329
- # },
8330
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
8331
- # memory_gi_b_per_v_cpu: {
8332
- # min: 1.0,
8333
- # max: 1.0,
8334
- # },
8335
- # excluded_instance_types: ["ExcludedInstance"],
8336
- # instance_generations: ["current"], # accepts current, previous
8337
- # spot_max_price_percentage_over_lowest_price: 1,
8338
- # on_demand_max_price_percentage_over_lowest_price: 1,
8339
- # bare_metal: "included", # accepts included, excluded, required
8340
- # burstable_performance: "included", # accepts included, excluded, required
8341
- # require_hibernate_support: false,
8342
- # network_interface_count: {
8343
- # min: 1,
8344
- # max: 1,
8345
- # },
8346
- # local_storage: "included", # accepts included, excluded, required
8347
- # local_storage_types: ["hdd"], # accepts hdd, ssd
8348
- # total_local_storage_gb: {
8349
- # min: 1.0,
8350
- # max: 1.0,
8351
- # },
8352
- # baseline_ebs_bandwidth_mbps: {
8353
- # min: 1,
8354
- # max: 1,
8355
- # },
8356
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
8357
- # accelerator_count: {
8358
- # min: 1,
8359
- # max: 1,
8360
- # },
8361
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
8362
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
8363
- # accelerator_total_memory_mi_b: {
8364
- # min: 1,
8365
- # max: 1,
8366
- # },
8367
- # network_bandwidth_gbps: {
8368
- # min: 1.0,
8369
- # max: 1.0,
8370
- # },
8371
- # allowed_instance_types: ["AllowedInstanceType"],
8372
- # },
8373
- # },
8374
- # ],
8375
- # },
8376
- # instances_distribution: {
8377
- # on_demand_allocation_strategy: "XmlString",
8378
- # on_demand_base_capacity: 1,
8379
- # on_demand_percentage_above_base_capacity: 1,
8380
- # spot_allocation_strategy: "XmlString",
8381
- # spot_instance_pools: 1,
8382
- # spot_max_price: "MixedInstanceSpotPrice",
8383
- # },
8384
- # },
8385
- # },
8386
- # preferences: {
8387
- # min_healthy_percentage: 1,
8388
- # instance_warmup: 1,
8389
- # checkpoint_percentages: [1],
8390
- # checkpoint_delay: 1,
8391
- # skip_matching: false,
8392
- # },
8393
- # }
8394
- #
8395
6713
  # @!attribute [rw] auto_scaling_group_name
8396
6714
  # The name of the Auto Scaling group.
8397
6715
  # @return [String]
@@ -8479,15 +6797,6 @@ module Aws::AutoScaling
8479
6797
  #
8480
6798
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-steps
8481
6799
  #
8482
- # @note When making an API call, you may pass StepAdjustment
8483
- # data as a hash:
8484
- #
8485
- # {
8486
- # metric_interval_lower_bound: 1.0,
8487
- # metric_interval_upper_bound: 1.0,
8488
- # scaling_adjustment: 1, # required
8489
- # }
8490
- #
8491
6800
  # @!attribute [rw] metric_interval_lower_bound
8492
6801
  # The lower bound for the difference between the alarm threshold and
8493
6802
  # the CloudWatch metric. If the metric value is above the breach
@@ -8558,17 +6867,6 @@ module Aws::AutoScaling
8558
6867
 
8559
6868
  # Describes a tag for an Auto Scaling group.
8560
6869
  #
8561
- # @note When making an API call, you may pass Tag
8562
- # data as a hash:
8563
- #
8564
- # {
8565
- # resource_id: "XmlString",
8566
- # resource_type: "XmlString",
8567
- # key: "TagKey", # required
8568
- # value: "TagValue",
8569
- # propagate_at_launch: false,
8570
- # }
8571
- #
8572
6870
  # @!attribute [rw] resource_id
8573
6871
  # The name of the Auto Scaling group.
8574
6872
  # @return [String]
@@ -8663,30 +6961,6 @@ module Aws::AutoScaling
8663
6961
  # Represents a target tracking scaling policy configuration to use with
8664
6962
  # Amazon EC2 Auto Scaling.
8665
6963
  #
8666
- # @note When making an API call, you may pass TargetTrackingConfiguration
8667
- # data as a hash:
8668
- #
8669
- # {
8670
- # predefined_metric_specification: {
8671
- # predefined_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, ALBRequestCountPerTarget
8672
- # resource_label: "XmlStringMaxLen1023",
8673
- # },
8674
- # customized_metric_specification: {
8675
- # metric_name: "MetricName", # required
8676
- # namespace: "MetricNamespace", # required
8677
- # dimensions: [
8678
- # {
8679
- # name: "MetricDimensionName", # required
8680
- # value: "MetricDimensionValue", # required
8681
- # },
8682
- # ],
8683
- # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
8684
- # unit: "MetricUnit",
8685
- # },
8686
- # target_value: 1.0, # required
8687
- # disable_scale_in: false,
8688
- # }
8689
- #
8690
6964
  # @!attribute [rw] predefined_metric_specification
8691
6965
  # A predefined metric. You must specify either a predefined metric or
8692
6966
  # a customized metric.
@@ -8729,14 +7003,117 @@ module Aws::AutoScaling
8729
7003
  include Aws::Structure
8730
7004
  end
8731
7005
 
8732
- # @note When making an API call, you may pass TerminateInstanceInAutoScalingGroupType
8733
- # 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
+ #
7103
+ #
7104
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
7105
+ # @return [String]
8734
7106
  #
8735
- # {
8736
- # instance_id: "XmlStringMaxLen19", # required
8737
- # should_decrement_desired_capacity: false, # required
8738
- # }
7107
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TargetTrackingMetricStat AWS API Documentation
8739
7108
  #
7109
+ class TargetTrackingMetricStat < Struct.new(
7110
+ :metric,
7111
+ :stat,
7112
+ :unit)
7113
+ SENSITIVE = []
7114
+ include Aws::Structure
7115
+ end
7116
+
8740
7117
  # @!attribute [rw] instance_id
8741
7118
  # The ID of the instance.
8742
7119
  # @return [String]
@@ -8758,14 +7135,6 @@ module Aws::AutoScaling
8758
7135
  # Specifies the minimum and maximum for the `TotalLocalStorageGB` object
8759
7136
  # when you specify InstanceRequirements for an Auto Scaling group.
8760
7137
  #
8761
- # @note When making an API call, you may pass TotalLocalStorageGBRequest
8762
- # data as a hash:
8763
- #
8764
- # {
8765
- # min: 1.0,
8766
- # max: 1.0,
8767
- # }
8768
- #
8769
7138
  # @!attribute [rw] min
8770
7139
  # The storage minimum in GB.
8771
7140
  # @return [Float]
@@ -8783,116 +7152,61 @@ module Aws::AutoScaling
8783
7152
  include Aws::Structure
8784
7153
  end
8785
7154
 
8786
- # @note When making an API call, you may pass UpdateAutoScalingGroupType
8787
- # data as a hash:
8788
- #
8789
- # {
8790
- # auto_scaling_group_name: "XmlStringMaxLen255", # required
8791
- # launch_configuration_name: "XmlStringMaxLen255",
8792
- # launch_template: {
8793
- # launch_template_id: "XmlStringMaxLen255",
8794
- # launch_template_name: "LaunchTemplateName",
8795
- # version: "XmlStringMaxLen255",
8796
- # },
8797
- # mixed_instances_policy: {
8798
- # launch_template: {
8799
- # launch_template_specification: {
8800
- # launch_template_id: "XmlStringMaxLen255",
8801
- # launch_template_name: "LaunchTemplateName",
8802
- # version: "XmlStringMaxLen255",
8803
- # },
8804
- # overrides: [
8805
- # {
8806
- # instance_type: "XmlStringMaxLen255",
8807
- # weighted_capacity: "XmlStringMaxLen32",
8808
- # launch_template_specification: {
8809
- # launch_template_id: "XmlStringMaxLen255",
8810
- # launch_template_name: "LaunchTemplateName",
8811
- # version: "XmlStringMaxLen255",
8812
- # },
8813
- # instance_requirements: {
8814
- # v_cpu_count: { # required
8815
- # min: 1, # required
8816
- # max: 1,
8817
- # },
8818
- # memory_mi_b: { # required
8819
- # min: 1, # required
8820
- # max: 1,
8821
- # },
8822
- # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
8823
- # memory_gi_b_per_v_cpu: {
8824
- # min: 1.0,
8825
- # max: 1.0,
8826
- # },
8827
- # excluded_instance_types: ["ExcludedInstance"],
8828
- # instance_generations: ["current"], # accepts current, previous
8829
- # spot_max_price_percentage_over_lowest_price: 1,
8830
- # on_demand_max_price_percentage_over_lowest_price: 1,
8831
- # bare_metal: "included", # accepts included, excluded, required
8832
- # burstable_performance: "included", # accepts included, excluded, required
8833
- # require_hibernate_support: false,
8834
- # network_interface_count: {
8835
- # min: 1,
8836
- # max: 1,
8837
- # },
8838
- # local_storage: "included", # accepts included, excluded, required
8839
- # local_storage_types: ["hdd"], # accepts hdd, ssd
8840
- # total_local_storage_gb: {
8841
- # min: 1.0,
8842
- # max: 1.0,
8843
- # },
8844
- # baseline_ebs_bandwidth_mbps: {
8845
- # min: 1,
8846
- # max: 1,
8847
- # },
8848
- # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
8849
- # accelerator_count: {
8850
- # min: 1,
8851
- # max: 1,
8852
- # },
8853
- # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
8854
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
8855
- # accelerator_total_memory_mi_b: {
8856
- # min: 1,
8857
- # max: 1,
8858
- # },
8859
- # network_bandwidth_gbps: {
8860
- # min: 1.0,
8861
- # max: 1.0,
8862
- # },
8863
- # allowed_instance_types: ["AllowedInstanceType"],
8864
- # },
8865
- # },
8866
- # ],
8867
- # },
8868
- # instances_distribution: {
8869
- # on_demand_allocation_strategy: "XmlString",
8870
- # on_demand_base_capacity: 1,
8871
- # on_demand_percentage_above_base_capacity: 1,
8872
- # spot_allocation_strategy: "XmlString",
8873
- # spot_instance_pools: 1,
8874
- # spot_max_price: "MixedInstanceSpotPrice",
8875
- # },
8876
- # },
8877
- # min_size: 1,
8878
- # max_size: 1,
8879
- # desired_capacity: 1,
8880
- # default_cooldown: 1,
8881
- # availability_zones: ["XmlStringMaxLen255"],
8882
- # health_check_type: "XmlStringMaxLen32",
8883
- # health_check_grace_period: 1,
8884
- # placement_group: "XmlStringMaxLen255",
8885
- # vpc_zone_identifier: "XmlStringMaxLen2047",
8886
- # termination_policies: ["XmlStringMaxLen1600"],
8887
- # new_instances_protected_from_scale_in: false,
8888
- # service_linked_role_arn: "ResourceName",
8889
- # max_instance_lifetime: 1,
8890
- # capacity_rebalance: false,
8891
- # context: "Context",
8892
- # desired_capacity_type: "XmlStringMaxLen255",
8893
- # default_instance_warmup: 1,
8894
- # }
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]
8895
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]
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
+
8896
7210
  # @!attribute [rw] auto_scaling_group_name
8897
7211
  # The name of the Auto Scaling group.
8898
7212
  # @return [String]
@@ -8962,21 +7276,22 @@ module Aws::AutoScaling
8962
7276
  # @return [Array<String>]
8963
7277
  #
8964
7278
  # @!attribute [rw] health_check_type
8965
- # The service to use for the health checks. The valid values are `EC2`
8966
- # and `ELB`. If you configure an Auto Scaling group to use `ELB`
8967
- # health checks, it considers the instance unhealthy if it fails
8968
- # 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.
8969
7285
  # @return [String]
8970
7286
  #
8971
7287
  # @!attribute [rw] health_check_grace_period
8972
7288
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
8973
7289
  # before checking the health status of an EC2 instance that has come
8974
- # into service and marking it unhealthy due to a failed Elastic Load
8975
- # Balancing or custom health check. This is useful if your instances
8976
- # do not immediately pass these health checks after they enter the
8977
- # `InService` state. For more information, see [Set the health check
8978
- # grace period for an Auto Scaling group][1] in the *Amazon EC2 Auto
8979
- # 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*.
8980
7295
  #
8981
7296
  #
8982
7297
  #
@@ -9148,14 +7463,6 @@ module Aws::AutoScaling
9148
7463
  # Specifies the minimum and maximum for the `VCpuCount` object when you
9149
7464
  # specify InstanceRequirements for an Auto Scaling group.
9150
7465
  #
9151
- # @note When making an API call, you may pass VCpuCountRequest
9152
- # data as a hash:
9153
- #
9154
- # {
9155
- # min: 1, # required
9156
- # max: 1,
9157
- # }
9158
- #
9159
7466
  # @!attribute [rw] min
9160
7467
  # The minimum number of vCPUs.
9161
7468
  # @return [Integer]