aws-sdk-autoscaling 1.83.0 → 1.84.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +48 -17
- data/lib/aws-sdk-autoscaling/client.rb +246 -34
- data/lib/aws-sdk-autoscaling/client_api.rb +95 -3
- data/lib/aws-sdk-autoscaling/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-autoscaling/endpoint_provider.rb +81 -82
- data/lib/aws-sdk-autoscaling/endpoints.rb +42 -0
- data/lib/aws-sdk-autoscaling/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-autoscaling/resource.rb +37 -19
- data/lib/aws-sdk-autoscaling/types.rb +345 -2038
- data/lib/aws-sdk-autoscaling.rb +1 -1
- metadata +2 -2
@@ -41,6 +41,8 @@ module Aws::AutoScaling
|
|
41
41
|
AttachLoadBalancerTargetGroupsType = Shapes::StructureShape.new(name: 'AttachLoadBalancerTargetGroupsType')
|
42
42
|
AttachLoadBalancersResultType = Shapes::StructureShape.new(name: 'AttachLoadBalancersResultType')
|
43
43
|
AttachLoadBalancersType = Shapes::StructureShape.new(name: 'AttachLoadBalancersType')
|
44
|
+
AttachTrafficSourcesResultType = Shapes::StructureShape.new(name: 'AttachTrafficSourcesResultType')
|
45
|
+
AttachTrafficSourcesType = Shapes::StructureShape.new(name: 'AttachTrafficSourcesType')
|
44
46
|
AutoScalingGroup = Shapes::StructureShape.new(name: 'AutoScalingGroup')
|
45
47
|
AutoScalingGroupDesiredCapacity = Shapes::IntegerShape.new(name: 'AutoScalingGroupDesiredCapacity')
|
46
48
|
AutoScalingGroupMaxSize = Shapes::IntegerShape.new(name: 'AutoScalingGroupMaxSize')
|
@@ -119,6 +121,8 @@ module Aws::AutoScaling
|
|
119
121
|
DescribeScheduledActionsType = Shapes::StructureShape.new(name: 'DescribeScheduledActionsType')
|
120
122
|
DescribeTagsType = Shapes::StructureShape.new(name: 'DescribeTagsType')
|
121
123
|
DescribeTerminationPolicyTypesAnswer = Shapes::StructureShape.new(name: 'DescribeTerminationPolicyTypesAnswer')
|
124
|
+
DescribeTrafficSourcesRequest = Shapes::StructureShape.new(name: 'DescribeTrafficSourcesRequest')
|
125
|
+
DescribeTrafficSourcesResponse = Shapes::StructureShape.new(name: 'DescribeTrafficSourcesResponse')
|
122
126
|
DescribeWarmPoolAnswer = Shapes::StructureShape.new(name: 'DescribeWarmPoolAnswer')
|
123
127
|
DescribeWarmPoolType = Shapes::StructureShape.new(name: 'DescribeWarmPoolType')
|
124
128
|
DesiredConfiguration = Shapes::StructureShape.new(name: 'DesiredConfiguration')
|
@@ -128,6 +132,8 @@ module Aws::AutoScaling
|
|
128
132
|
DetachLoadBalancerTargetGroupsType = Shapes::StructureShape.new(name: 'DetachLoadBalancerTargetGroupsType')
|
129
133
|
DetachLoadBalancersResultType = Shapes::StructureShape.new(name: 'DetachLoadBalancersResultType')
|
130
134
|
DetachLoadBalancersType = Shapes::StructureShape.new(name: 'DetachLoadBalancersType')
|
135
|
+
DetachTrafficSourcesResultType = Shapes::StructureShape.new(name: 'DetachTrafficSourcesResultType')
|
136
|
+
DetachTrafficSourcesType = Shapes::StructureShape.new(name: 'DetachTrafficSourcesType')
|
131
137
|
DisableMetricsCollectionQuery = Shapes::StructureShape.new(name: 'DisableMetricsCollectionQuery')
|
132
138
|
DisableScaleIn = Shapes::BooleanShape.new(name: 'DisableScaleIn')
|
133
139
|
Ebs = Shapes::StructureShape.new(name: 'Ebs')
|
@@ -342,10 +348,17 @@ module Aws::AutoScaling
|
|
342
348
|
TagsType = Shapes::StructureShape.new(name: 'TagsType')
|
343
349
|
TargetGroupARNs = Shapes::ListShape.new(name: 'TargetGroupARNs')
|
344
350
|
TargetTrackingConfiguration = Shapes::StructureShape.new(name: 'TargetTrackingConfiguration')
|
351
|
+
TargetTrackingMetricDataQueries = Shapes::ListShape.new(name: 'TargetTrackingMetricDataQueries')
|
352
|
+
TargetTrackingMetricDataQuery = Shapes::StructureShape.new(name: 'TargetTrackingMetricDataQuery')
|
353
|
+
TargetTrackingMetricStat = Shapes::StructureShape.new(name: 'TargetTrackingMetricStat')
|
345
354
|
TerminateInstanceInAutoScalingGroupType = Shapes::StructureShape.new(name: 'TerminateInstanceInAutoScalingGroupType')
|
346
355
|
TerminationPolicies = Shapes::ListShape.new(name: 'TerminationPolicies')
|
347
356
|
TimestampType = Shapes::TimestampShape.new(name: 'TimestampType')
|
348
357
|
TotalLocalStorageGBRequest = Shapes::StructureShape.new(name: 'TotalLocalStorageGBRequest')
|
358
|
+
TrafficSourceIdentifier = Shapes::StructureShape.new(name: 'TrafficSourceIdentifier')
|
359
|
+
TrafficSourceState = Shapes::StructureShape.new(name: 'TrafficSourceState')
|
360
|
+
TrafficSourceStates = Shapes::ListShape.new(name: 'TrafficSourceStates')
|
361
|
+
TrafficSources = Shapes::ListShape.new(name: 'TrafficSources')
|
349
362
|
UpdateAutoScalingGroupType = Shapes::StructureShape.new(name: 'UpdateAutoScalingGroupType')
|
350
363
|
VCpuCountRequest = Shapes::StructureShape.new(name: 'VCpuCountRequest')
|
351
364
|
Values = Shapes::ListShape.new(name: 'Values')
|
@@ -441,6 +454,12 @@ module Aws::AutoScaling
|
|
441
454
|
AttachLoadBalancersType.add_member(:load_balancer_names, Shapes::ShapeRef.new(shape: LoadBalancerNames, required: true, location_name: "LoadBalancerNames"))
|
442
455
|
AttachLoadBalancersType.struct_class = Types::AttachLoadBalancersType
|
443
456
|
|
457
|
+
AttachTrafficSourcesResultType.struct_class = Types::AttachTrafficSourcesResultType
|
458
|
+
|
459
|
+
AttachTrafficSourcesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
460
|
+
AttachTrafficSourcesType.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, required: true, location_name: "TrafficSources"))
|
461
|
+
AttachTrafficSourcesType.struct_class = Types::AttachTrafficSourcesType
|
462
|
+
|
444
463
|
AutoScalingGroup.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
445
464
|
AutoScalingGroup.add_member(:auto_scaling_group_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "AutoScalingGroupARN"))
|
446
465
|
AutoScalingGroup.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchConfigurationName"))
|
@@ -474,6 +493,7 @@ module Aws::AutoScaling
|
|
474
493
|
AutoScalingGroup.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "Context"))
|
475
494
|
AutoScalingGroup.add_member(:desired_capacity_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "DesiredCapacityType"))
|
476
495
|
AutoScalingGroup.add_member(:default_instance_warmup, Shapes::ShapeRef.new(shape: DefaultInstanceWarmup, location_name: "DefaultInstanceWarmup"))
|
496
|
+
AutoScalingGroup.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, location_name: "TrafficSources"))
|
477
497
|
AutoScalingGroup.struct_class = Types::AutoScalingGroup
|
478
498
|
|
479
499
|
AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
@@ -589,6 +609,7 @@ module Aws::AutoScaling
|
|
589
609
|
CreateAutoScalingGroupType.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "Context"))
|
590
610
|
CreateAutoScalingGroupType.add_member(:desired_capacity_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "DesiredCapacityType"))
|
591
611
|
CreateAutoScalingGroupType.add_member(:default_instance_warmup, Shapes::ShapeRef.new(shape: DefaultInstanceWarmup, location_name: "DefaultInstanceWarmup"))
|
612
|
+
CreateAutoScalingGroupType.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, location_name: "TrafficSources"))
|
592
613
|
CreateAutoScalingGroupType.struct_class = Types::CreateAutoScalingGroupType
|
593
614
|
|
594
615
|
CreateLaunchConfigurationType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
|
@@ -615,11 +636,12 @@ module Aws::AutoScaling
|
|
615
636
|
CreateOrUpdateTagsType.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
616
637
|
CreateOrUpdateTagsType.struct_class = Types::CreateOrUpdateTagsType
|
617
638
|
|
618
|
-
CustomizedMetricSpecification.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName,
|
619
|
-
CustomizedMetricSpecification.add_member(:namespace, Shapes::ShapeRef.new(shape: MetricNamespace,
|
639
|
+
CustomizedMetricSpecification.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, location_name: "MetricName"))
|
640
|
+
CustomizedMetricSpecification.add_member(:namespace, Shapes::ShapeRef.new(shape: MetricNamespace, location_name: "Namespace"))
|
620
641
|
CustomizedMetricSpecification.add_member(:dimensions, Shapes::ShapeRef.new(shape: MetricDimensions, location_name: "Dimensions"))
|
621
|
-
CustomizedMetricSpecification.add_member(:statistic, Shapes::ShapeRef.new(shape: MetricStatistic,
|
642
|
+
CustomizedMetricSpecification.add_member(:statistic, Shapes::ShapeRef.new(shape: MetricStatistic, location_name: "Statistic"))
|
622
643
|
CustomizedMetricSpecification.add_member(:unit, Shapes::ShapeRef.new(shape: MetricUnit, location_name: "Unit"))
|
644
|
+
CustomizedMetricSpecification.add_member(:metrics, Shapes::ShapeRef.new(shape: TargetTrackingMetricDataQueries, location_name: "Metrics"))
|
623
645
|
CustomizedMetricSpecification.struct_class = Types::CustomizedMetricSpecification
|
624
646
|
|
625
647
|
DeleteAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
@@ -751,6 +773,16 @@ module Aws::AutoScaling
|
|
751
773
|
DescribeTerminationPolicyTypesAnswer.add_member(:termination_policy_types, Shapes::ShapeRef.new(shape: TerminationPolicies, location_name: "TerminationPolicyTypes"))
|
752
774
|
DescribeTerminationPolicyTypesAnswer.struct_class = Types::DescribeTerminationPolicyTypesAnswer
|
753
775
|
|
776
|
+
DescribeTrafficSourcesRequest.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
777
|
+
DescribeTrafficSourcesRequest.add_member(:traffic_source_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "TrafficSourceType"))
|
778
|
+
DescribeTrafficSourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
779
|
+
DescribeTrafficSourcesRequest.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
|
780
|
+
DescribeTrafficSourcesRequest.struct_class = Types::DescribeTrafficSourcesRequest
|
781
|
+
|
782
|
+
DescribeTrafficSourcesResponse.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSourceStates, location_name: "TrafficSources"))
|
783
|
+
DescribeTrafficSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
784
|
+
DescribeTrafficSourcesResponse.struct_class = Types::DescribeTrafficSourcesResponse
|
785
|
+
|
754
786
|
DescribeWarmPoolAnswer.add_member(:warm_pool_configuration, Shapes::ShapeRef.new(shape: WarmPoolConfiguration, location_name: "WarmPoolConfiguration"))
|
755
787
|
DescribeWarmPoolAnswer.add_member(:instances, Shapes::ShapeRef.new(shape: Instances, location_name: "Instances"))
|
756
788
|
DescribeWarmPoolAnswer.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
@@ -785,6 +817,12 @@ module Aws::AutoScaling
|
|
785
817
|
DetachLoadBalancersType.add_member(:load_balancer_names, Shapes::ShapeRef.new(shape: LoadBalancerNames, required: true, location_name: "LoadBalancerNames"))
|
786
818
|
DetachLoadBalancersType.struct_class = Types::DetachLoadBalancersType
|
787
819
|
|
820
|
+
DetachTrafficSourcesResultType.struct_class = Types::DetachTrafficSourcesResultType
|
821
|
+
|
822
|
+
DetachTrafficSourcesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
823
|
+
DetachTrafficSourcesType.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, required: true, location_name: "TrafficSources"))
|
824
|
+
DetachTrafficSourcesType.struct_class = Types::DetachTrafficSourcesType
|
825
|
+
|
788
826
|
DisableMetricsCollectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
789
827
|
DisableMetricsCollectionQuery.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
|
790
828
|
DisableMetricsCollectionQuery.struct_class = Types::DisableMetricsCollectionQuery
|
@@ -1402,6 +1440,20 @@ module Aws::AutoScaling
|
|
1402
1440
|
TargetTrackingConfiguration.add_member(:disable_scale_in, Shapes::ShapeRef.new(shape: DisableScaleIn, location_name: "DisableScaleIn"))
|
1403
1441
|
TargetTrackingConfiguration.struct_class = Types::TargetTrackingConfiguration
|
1404
1442
|
|
1443
|
+
TargetTrackingMetricDataQueries.member = Shapes::ShapeRef.new(shape: TargetTrackingMetricDataQuery)
|
1444
|
+
|
1445
|
+
TargetTrackingMetricDataQuery.add_member(:id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "Id"))
|
1446
|
+
TargetTrackingMetricDataQuery.add_member(:expression, Shapes::ShapeRef.new(shape: XmlStringMaxLen2047, location_name: "Expression"))
|
1447
|
+
TargetTrackingMetricDataQuery.add_member(:metric_stat, Shapes::ShapeRef.new(shape: TargetTrackingMetricStat, location_name: "MetricStat"))
|
1448
|
+
TargetTrackingMetricDataQuery.add_member(:label, Shapes::ShapeRef.new(shape: XmlStringMetricLabel, location_name: "Label"))
|
1449
|
+
TargetTrackingMetricDataQuery.add_member(:return_data, Shapes::ShapeRef.new(shape: ReturnData, location_name: "ReturnData"))
|
1450
|
+
TargetTrackingMetricDataQuery.struct_class = Types::TargetTrackingMetricDataQuery
|
1451
|
+
|
1452
|
+
TargetTrackingMetricStat.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, required: true, location_name: "Metric"))
|
1453
|
+
TargetTrackingMetricStat.add_member(:stat, Shapes::ShapeRef.new(shape: XmlStringMetricStat, required: true, location_name: "Stat"))
|
1454
|
+
TargetTrackingMetricStat.add_member(:unit, Shapes::ShapeRef.new(shape: MetricUnit, location_name: "Unit"))
|
1455
|
+
TargetTrackingMetricStat.struct_class = Types::TargetTrackingMetricStat
|
1456
|
+
|
1405
1457
|
TerminateInstanceInAutoScalingGroupType.add_member(:instance_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen19, required: true, location_name: "InstanceId"))
|
1406
1458
|
TerminateInstanceInAutoScalingGroupType.add_member(:should_decrement_desired_capacity, Shapes::ShapeRef.new(shape: ShouldDecrementDesiredCapacity, required: true, location_name: "ShouldDecrementDesiredCapacity"))
|
1407
1459
|
TerminateInstanceInAutoScalingGroupType.struct_class = Types::TerminateInstanceInAutoScalingGroupType
|
@@ -1412,6 +1464,17 @@ module Aws::AutoScaling
|
|
1412
1464
|
TotalLocalStorageGBRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveDouble, location_name: "Max"))
|
1413
1465
|
TotalLocalStorageGBRequest.struct_class = Types::TotalLocalStorageGBRequest
|
1414
1466
|
|
1467
|
+
TrafficSourceIdentifier.add_member(:identifier, Shapes::ShapeRef.new(shape: XmlStringMaxLen511, location_name: "Identifier"))
|
1468
|
+
TrafficSourceIdentifier.struct_class = Types::TrafficSourceIdentifier
|
1469
|
+
|
1470
|
+
TrafficSourceState.add_member(:traffic_source, Shapes::ShapeRef.new(shape: XmlStringMaxLen511, location_name: "TrafficSource"))
|
1471
|
+
TrafficSourceState.add_member(:state, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "State"))
|
1472
|
+
TrafficSourceState.struct_class = Types::TrafficSourceState
|
1473
|
+
|
1474
|
+
TrafficSourceStates.member = Shapes::ShapeRef.new(shape: TrafficSourceState)
|
1475
|
+
|
1476
|
+
TrafficSources.member = Shapes::ShapeRef.new(shape: TrafficSourceIdentifier)
|
1477
|
+
|
1415
1478
|
UpdateAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
1416
1479
|
UpdateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchConfigurationName"))
|
1417
1480
|
UpdateAutoScalingGroupType.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
|
@@ -1495,6 +1558,16 @@ module Aws::AutoScaling
|
|
1495
1558
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
|
1496
1559
|
end)
|
1497
1560
|
|
1561
|
+
api.add_operation(:attach_traffic_sources, Seahorse::Model::Operation.new.tap do |o|
|
1562
|
+
o.name = "AttachTrafficSources"
|
1563
|
+
o.http_method = "POST"
|
1564
|
+
o.http_request_uri = "/"
|
1565
|
+
o.input = Shapes::ShapeRef.new(shape: AttachTrafficSourcesType)
|
1566
|
+
o.output = Shapes::ShapeRef.new(shape: AttachTrafficSourcesResultType)
|
1567
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
|
1568
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
|
1569
|
+
end)
|
1570
|
+
|
1498
1571
|
api.add_operation(:batch_delete_scheduled_action, Seahorse::Model::Operation.new.tap do |o|
|
1499
1572
|
o.name = "BatchDeleteScheduledAction"
|
1500
1573
|
o.http_method = "POST"
|
@@ -1881,6 +1954,16 @@ module Aws::AutoScaling
|
|
1881
1954
|
o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
|
1882
1955
|
end)
|
1883
1956
|
|
1957
|
+
api.add_operation(:describe_traffic_sources, Seahorse::Model::Operation.new.tap do |o|
|
1958
|
+
o.name = "DescribeTrafficSources"
|
1959
|
+
o.http_method = "POST"
|
1960
|
+
o.http_request_uri = "/"
|
1961
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeTrafficSourcesRequest)
|
1962
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeTrafficSourcesResponse)
|
1963
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
|
1964
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
1965
|
+
end)
|
1966
|
+
|
1884
1967
|
api.add_operation(:describe_warm_pool, Seahorse::Model::Operation.new.tap do |o|
|
1885
1968
|
o.name = "DescribeWarmPool"
|
1886
1969
|
o.http_method = "POST"
|
@@ -1919,6 +2002,15 @@ module Aws::AutoScaling
|
|
1919
2002
|
o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
|
1920
2003
|
end)
|
1921
2004
|
|
2005
|
+
api.add_operation(:detach_traffic_sources, Seahorse::Model::Operation.new.tap do |o|
|
2006
|
+
o.name = "DetachTrafficSources"
|
2007
|
+
o.http_method = "POST"
|
2008
|
+
o.http_request_uri = "/"
|
2009
|
+
o.input = Shapes::ShapeRef.new(shape: DetachTrafficSourcesType)
|
2010
|
+
o.output = Shapes::ShapeRef.new(shape: DetachTrafficSourcesResultType)
|
2011
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
|
2012
|
+
end)
|
2013
|
+
|
1922
2014
|
api.add_operation(:disable_metrics_collection, Seahorse::Model::Operation.new.tap do |o|
|
1923
2015
|
o.name = "DisableMetricsCollection"
|
1924
2016
|
o.http_method = "POST"
|
@@ -50,6 +50,9 @@ module Aws::AutoScaling
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -29,88 +29,87 @@ module Aws::AutoScaling
|
|
29
29
|
# @api private
|
30
30
|
RULES = <<-JSON
|
31
31
|
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
cyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
|
32
|
+
bHRJbiI6IkFXUzo6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
109
|
+
LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8v
|
110
|
+
YXV0b3NjYWxpbmcue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZm
|
111
|
+
aXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVu
|
112
|
+
ZHBvaW50In1dfV19
|
114
113
|
|
115
114
|
JSON
|
116
115
|
end
|
@@ -53,6 +53,20 @@ module Aws::AutoScaling
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
+
class AttachTrafficSources
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::AutoScaling::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
56
70
|
class BatchDeleteScheduledAction
|
57
71
|
def self.build(context)
|
58
72
|
unless context.config.regional_endpoint
|
@@ -529,6 +543,20 @@ module Aws::AutoScaling
|
|
529
543
|
end
|
530
544
|
end
|
531
545
|
|
546
|
+
class DescribeTrafficSources
|
547
|
+
def self.build(context)
|
548
|
+
unless context.config.regional_endpoint
|
549
|
+
endpoint = context.config.endpoint.to_s
|
550
|
+
end
|
551
|
+
Aws::AutoScaling::EndpointParameters.new(
|
552
|
+
region: context.config.region,
|
553
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
554
|
+
use_fips: context.config.use_fips_endpoint,
|
555
|
+
endpoint: endpoint,
|
556
|
+
)
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
532
560
|
class DescribeWarmPool
|
533
561
|
def self.build(context)
|
534
562
|
unless context.config.regional_endpoint
|
@@ -585,6 +613,20 @@ module Aws::AutoScaling
|
|
585
613
|
end
|
586
614
|
end
|
587
615
|
|
616
|
+
class DetachTrafficSources
|
617
|
+
def self.build(context)
|
618
|
+
unless context.config.regional_endpoint
|
619
|
+
endpoint = context.config.endpoint.to_s
|
620
|
+
end
|
621
|
+
Aws::AutoScaling::EndpointParameters.new(
|
622
|
+
region: context.config.region,
|
623
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
624
|
+
use_fips: context.config.use_fips_endpoint,
|
625
|
+
endpoint: endpoint,
|
626
|
+
)
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
588
630
|
class DisableMetricsCollection
|
589
631
|
def self.build(context)
|
590
632
|
unless context.config.regional_endpoint
|
@@ -62,6 +62,8 @@ module Aws::AutoScaling
|
|
62
62
|
Aws::AutoScaling::Endpoints::AttachLoadBalancerTargetGroups.build(context)
|
63
63
|
when :attach_load_balancers
|
64
64
|
Aws::AutoScaling::Endpoints::AttachLoadBalancers.build(context)
|
65
|
+
when :attach_traffic_sources
|
66
|
+
Aws::AutoScaling::Endpoints::AttachTrafficSources.build(context)
|
65
67
|
when :batch_delete_scheduled_action
|
66
68
|
Aws::AutoScaling::Endpoints::BatchDeleteScheduledAction.build(context)
|
67
69
|
when :batch_put_scheduled_update_group_action
|
@@ -130,6 +132,8 @@ module Aws::AutoScaling
|
|
130
132
|
Aws::AutoScaling::Endpoints::DescribeTags.build(context)
|
131
133
|
when :describe_termination_policy_types
|
132
134
|
Aws::AutoScaling::Endpoints::DescribeTerminationPolicyTypes.build(context)
|
135
|
+
when :describe_traffic_sources
|
136
|
+
Aws::AutoScaling::Endpoints::DescribeTrafficSources.build(context)
|
133
137
|
when :describe_warm_pool
|
134
138
|
Aws::AutoScaling::Endpoints::DescribeWarmPool.build(context)
|
135
139
|
when :detach_instances
|
@@ -138,6 +142,8 @@ module Aws::AutoScaling
|
|
138
142
|
Aws::AutoScaling::Endpoints::DetachLoadBalancerTargetGroups.build(context)
|
139
143
|
when :detach_load_balancers
|
140
144
|
Aws::AutoScaling::Endpoints::DetachLoadBalancers.build(context)
|
145
|
+
when :detach_traffic_sources
|
146
|
+
Aws::AutoScaling::Endpoints::DetachTrafficSources.build(context)
|
141
147
|
when :disable_metrics_collection
|
142
148
|
Aws::AutoScaling::Endpoints::DisableMetricsCollection.build(context)
|
143
149
|
when :enable_metrics_collection
|
@@ -165,6 +165,11 @@ module Aws::AutoScaling
|
|
165
165
|
# context: "Context",
|
166
166
|
# desired_capacity_type: "XmlStringMaxLen255",
|
167
167
|
# default_instance_warmup: 1,
|
168
|
+
# traffic_sources: [
|
169
|
+
# {
|
170
|
+
# identifier: "XmlStringMaxLen511",
|
171
|
+
# },
|
172
|
+
# ],
|
168
173
|
# })
|
169
174
|
# @param [Hash] options ({})
|
170
175
|
# @option options [required, String] :auto_scaling_group_name
|
@@ -266,24 +271,26 @@ module Aws::AutoScaling
|
|
266
271
|
# group. For Application Load Balancers, Network Load Balancers, and
|
267
272
|
# Gateway Load Balancer, specify the `TargetGroupARNs` property instead.
|
268
273
|
# @option options [Array<String>] :target_group_arns
|
269
|
-
# The Amazon Resource Names (ARN) of the
|
270
|
-
# the Auto Scaling group. Instances are
|
271
|
-
# target groups. The target groups
|
272
|
-
# requests to one or more registered
|
273
|
-
# [Use Elastic Load Balancing to
|
274
|
-
# in your Auto Scaling group][1]
|
275
|
-
# Guide*.
|
274
|
+
# The Amazon Resource Names (ARN) of the Elastic Load Balancing target
|
275
|
+
# groups to associate with the Auto Scaling group. Instances are
|
276
|
+
# registered as targets with the target groups. The target groups
|
277
|
+
# receive incoming traffic and route requests to one or more registered
|
278
|
+
# targets. For more information, see [Use Elastic Load Balancing to
|
279
|
+
# distribute traffic across the instances in your Auto Scaling group][1]
|
280
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
276
281
|
#
|
277
282
|
#
|
278
283
|
#
|
279
284
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
|
280
285
|
# @option options [String] :health_check_type
|
281
|
-
#
|
282
|
-
#
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
286
|
+
# Determines whether any additional health checks are performed on the
|
287
|
+
# instances in this group. Amazon EC2 health checks are always on. For
|
288
|
+
# more information, see [Health checks for Auto Scaling instances][1] in
|
289
|
+
# the *Amazon EC2 Auto Scaling User Guide*.
|
290
|
+
#
|
291
|
+
# The valid values are `EC2` (default), `ELB`, and `VPC_LATTICE`. The
|
292
|
+
# `VPC_LATTICE` health check type is reserved for use with VPC Lattice,
|
293
|
+
# which is in preview release and is subject to change.
|
287
294
|
#
|
288
295
|
#
|
289
296
|
#
|
@@ -291,12 +298,11 @@ module Aws::AutoScaling
|
|
291
298
|
# @option options [Integer] :health_check_grace_period
|
292
299
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
293
300
|
# before checking the health status of an EC2 instance that has come
|
294
|
-
# into service and marking it unhealthy due to a failed
|
295
|
-
#
|
296
|
-
#
|
297
|
-
#
|
298
|
-
#
|
299
|
-
# Scaling User Guide*.
|
301
|
+
# into service and marking it unhealthy due to a failed health check.
|
302
|
+
# This is useful if your instances do not immediately pass their health
|
303
|
+
# checks after they enter the `InService` state. For more information,
|
304
|
+
# see [Set the health check grace period for an Auto Scaling group][1]
|
305
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
300
306
|
#
|
301
307
|
# Default: `0` seconds
|
302
308
|
#
|
@@ -439,6 +445,18 @@ module Aws::AutoScaling
|
|
439
445
|
#
|
440
446
|
#
|
441
447
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html
|
448
|
+
# @option options [Array<Types::TrafficSourceIdentifier>] :traffic_sources
|
449
|
+
# **Reserved for use with Amazon VPC Lattice, which is in preview
|
450
|
+
# release and is subject to change. Do not use this parameter for
|
451
|
+
# production workloads. It is also subject to change.**
|
452
|
+
#
|
453
|
+
# The unique identifiers of one or more traffic sources.
|
454
|
+
#
|
455
|
+
# Currently, you must specify an Amazon Resource Name (ARN) for an
|
456
|
+
# existing VPC Lattice target group. Amazon EC2 Auto Scaling registers
|
457
|
+
# the running instances with the attached target groups. The target
|
458
|
+
# groups receive incoming traffic and route requests to one or more
|
459
|
+
# registered targets.
|
442
460
|
# @return [AutoScalingGroup]
|
443
461
|
def create_group(options = {})
|
444
462
|
@client.create_auto_scaling_group(options)
|