aws-sdk-autoscaling 1.68.0 → 1.72.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +85 -5
- data/lib/aws-sdk-autoscaling/client.rb +291 -29
- data/lib/aws-sdk-autoscaling/client_api.rb +105 -0
- data/lib/aws-sdk-autoscaling/resource.rb +77 -15
- data/lib/aws-sdk-autoscaling/types.rb +1127 -137
- data/lib/aws-sdk-autoscaling.rb +1 -1
- metadata +4 -4
@@ -13,6 +13,14 @@ module Aws::AutoScaling
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
AcceleratorCountRequest = Shapes::StructureShape.new(name: 'AcceleratorCountRequest')
|
17
|
+
AcceleratorManufacturer = Shapes::StringShape.new(name: 'AcceleratorManufacturer')
|
18
|
+
AcceleratorManufacturers = Shapes::ListShape.new(name: 'AcceleratorManufacturers')
|
19
|
+
AcceleratorName = Shapes::StringShape.new(name: 'AcceleratorName')
|
20
|
+
AcceleratorNames = Shapes::ListShape.new(name: 'AcceleratorNames')
|
21
|
+
AcceleratorTotalMemoryMiBRequest = Shapes::StructureShape.new(name: 'AcceleratorTotalMemoryMiBRequest')
|
22
|
+
AcceleratorType = Shapes::StringShape.new(name: 'AcceleratorType')
|
23
|
+
AcceleratorTypes = Shapes::ListShape.new(name: 'AcceleratorTypes')
|
16
24
|
ActiveInstanceRefreshNotFoundFault = Shapes::StructureShape.new(name: 'ActiveInstanceRefreshNotFoundFault')
|
17
25
|
Activities = Shapes::ListShape.new(name: 'Activities')
|
18
26
|
ActivitiesType = Shapes::StructureShape.new(name: 'ActivitiesType')
|
@@ -46,6 +54,8 @@ module Aws::AutoScaling
|
|
46
54
|
AutoScalingInstancesType = Shapes::StructureShape.new(name: 'AutoScalingInstancesType')
|
47
55
|
AutoScalingNotificationTypes = Shapes::ListShape.new(name: 'AutoScalingNotificationTypes')
|
48
56
|
AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
|
57
|
+
BareMetal = Shapes::StringShape.new(name: 'BareMetal')
|
58
|
+
BaselineEbsBandwidthMbpsRequest = Shapes::StructureShape.new(name: 'BaselineEbsBandwidthMbpsRequest')
|
49
59
|
BatchDeleteScheduledActionAnswer = Shapes::StructureShape.new(name: 'BatchDeleteScheduledActionAnswer')
|
50
60
|
BatchDeleteScheduledActionType = Shapes::StructureShape.new(name: 'BatchDeleteScheduledActionType')
|
51
61
|
BatchPutScheduledUpdateGroupActionAnswer = Shapes::StructureShape.new(name: 'BatchPutScheduledUpdateGroupActionAnswer')
|
@@ -58,6 +68,7 @@ module Aws::AutoScaling
|
|
58
68
|
BlockDeviceEbsVolumeType = Shapes::StringShape.new(name: 'BlockDeviceEbsVolumeType')
|
59
69
|
BlockDeviceMapping = Shapes::StructureShape.new(name: 'BlockDeviceMapping')
|
60
70
|
BlockDeviceMappings = Shapes::ListShape.new(name: 'BlockDeviceMappings')
|
71
|
+
BurstablePerformance = Shapes::StringShape.new(name: 'BurstablePerformance')
|
61
72
|
CancelInstanceRefreshAnswer = Shapes::StructureShape.new(name: 'CancelInstanceRefreshAnswer')
|
62
73
|
CancelInstanceRefreshType = Shapes::StructureShape.new(name: 'CancelInstanceRefreshType')
|
63
74
|
CapacityForecast = Shapes::StructureShape.new(name: 'CapacityForecast')
|
@@ -69,6 +80,8 @@ module Aws::AutoScaling
|
|
69
80
|
CompleteLifecycleActionType = Shapes::StructureShape.new(name: 'CompleteLifecycleActionType')
|
70
81
|
Context = Shapes::StringShape.new(name: 'Context')
|
71
82
|
Cooldown = Shapes::IntegerShape.new(name: 'Cooldown')
|
83
|
+
CpuManufacturer = Shapes::StringShape.new(name: 'CpuManufacturer')
|
84
|
+
CpuManufacturers = Shapes::ListShape.new(name: 'CpuManufacturers')
|
72
85
|
CreateAutoScalingGroupType = Shapes::StructureShape.new(name: 'CreateAutoScalingGroupType')
|
73
86
|
CreateLaunchConfigurationType = Shapes::StructureShape.new(name: 'CreateLaunchConfigurationType')
|
74
87
|
CreateOrUpdateTagsType = Shapes::StructureShape.new(name: 'CreateOrUpdateTagsType')
|
@@ -122,6 +135,8 @@ module Aws::AutoScaling
|
|
122
135
|
EnterStandbyAnswer = Shapes::StructureShape.new(name: 'EnterStandbyAnswer')
|
123
136
|
EnterStandbyQuery = Shapes::StructureShape.new(name: 'EnterStandbyQuery')
|
124
137
|
EstimatedInstanceWarmup = Shapes::IntegerShape.new(name: 'EstimatedInstanceWarmup')
|
138
|
+
ExcludedInstance = Shapes::StringShape.new(name: 'ExcludedInstance')
|
139
|
+
ExcludedInstanceTypes = Shapes::ListShape.new(name: 'ExcludedInstanceTypes')
|
125
140
|
ExecutePolicyType = Shapes::StructureShape.new(name: 'ExecutePolicyType')
|
126
141
|
ExitStandbyAnswer = Shapes::StructureShape.new(name: 'ExitStandbyAnswer')
|
127
142
|
ExitStandbyQuery = Shapes::StructureShape.new(name: 'ExitStandbyQuery')
|
@@ -138,6 +153,8 @@ module Aws::AutoScaling
|
|
138
153
|
HonorCooldown = Shapes::BooleanShape.new(name: 'HonorCooldown')
|
139
154
|
IncludeDeletedGroups = Shapes::BooleanShape.new(name: 'IncludeDeletedGroups')
|
140
155
|
Instance = Shapes::StructureShape.new(name: 'Instance')
|
156
|
+
InstanceGeneration = Shapes::StringShape.new(name: 'InstanceGeneration')
|
157
|
+
InstanceGenerations = Shapes::ListShape.new(name: 'InstanceGenerations')
|
141
158
|
InstanceIds = Shapes::ListShape.new(name: 'InstanceIds')
|
142
159
|
InstanceMetadataEndpointState = Shapes::StringShape.new(name: 'InstanceMetadataEndpointState')
|
143
160
|
InstanceMetadataHttpPutResponseHopLimit = Shapes::IntegerShape.new(name: 'InstanceMetadataHttpPutResponseHopLimit')
|
@@ -153,6 +170,7 @@ module Aws::AutoScaling
|
|
153
170
|
InstanceRefreshStatus = Shapes::StringShape.new(name: 'InstanceRefreshStatus')
|
154
171
|
InstanceRefreshWarmPoolProgress = Shapes::StructureShape.new(name: 'InstanceRefreshWarmPoolProgress')
|
155
172
|
InstanceRefreshes = Shapes::ListShape.new(name: 'InstanceRefreshes')
|
173
|
+
InstanceRequirements = Shapes::StructureShape.new(name: 'InstanceRequirements')
|
156
174
|
Instances = Shapes::ListShape.new(name: 'Instances')
|
157
175
|
InstancesDistribution = Shapes::StructureShape.new(name: 'InstancesDistribution')
|
158
176
|
InstancesToUpdate = Shapes::IntegerShape.new(name: 'InstancesToUpdate')
|
@@ -185,11 +203,16 @@ module Aws::AutoScaling
|
|
185
203
|
LoadBalancerTargetGroupStates = Shapes::ListShape.new(name: 'LoadBalancerTargetGroupStates')
|
186
204
|
LoadForecast = Shapes::StructureShape.new(name: 'LoadForecast')
|
187
205
|
LoadForecasts = Shapes::ListShape.new(name: 'LoadForecasts')
|
206
|
+
LocalStorage = Shapes::StringShape.new(name: 'LocalStorage')
|
207
|
+
LocalStorageType = Shapes::StringShape.new(name: 'LocalStorageType')
|
208
|
+
LocalStorageTypes = Shapes::ListShape.new(name: 'LocalStorageTypes')
|
188
209
|
MaxGroupPreparedCapacity = Shapes::IntegerShape.new(name: 'MaxGroupPreparedCapacity')
|
189
210
|
MaxInstanceLifetime = Shapes::IntegerShape.new(name: 'MaxInstanceLifetime')
|
190
211
|
MaxNumberOfAutoScalingGroups = Shapes::IntegerShape.new(name: 'MaxNumberOfAutoScalingGroups')
|
191
212
|
MaxNumberOfLaunchConfigurations = Shapes::IntegerShape.new(name: 'MaxNumberOfLaunchConfigurations')
|
192
213
|
MaxRecords = Shapes::IntegerShape.new(name: 'MaxRecords')
|
214
|
+
MemoryGiBPerVCpuRequest = Shapes::StructureShape.new(name: 'MemoryGiBPerVCpuRequest')
|
215
|
+
MemoryMiBRequest = Shapes::StructureShape.new(name: 'MemoryMiBRequest')
|
193
216
|
MetricCollectionType = Shapes::StructureShape.new(name: 'MetricCollectionType')
|
194
217
|
MetricCollectionTypes = Shapes::ListShape.new(name: 'MetricCollectionTypes')
|
195
218
|
MetricDimension = Shapes::StructureShape.new(name: 'MetricDimension')
|
@@ -210,11 +233,15 @@ module Aws::AutoScaling
|
|
210
233
|
MixedInstanceSpotPrice = Shapes::StringShape.new(name: 'MixedInstanceSpotPrice')
|
211
234
|
MixedInstancesPolicy = Shapes::StructureShape.new(name: 'MixedInstancesPolicy')
|
212
235
|
MonitoringEnabled = Shapes::BooleanShape.new(name: 'MonitoringEnabled')
|
236
|
+
NetworkInterfaceCountRequest = Shapes::StructureShape.new(name: 'NetworkInterfaceCountRequest')
|
213
237
|
NoDevice = Shapes::BooleanShape.new(name: 'NoDevice')
|
214
238
|
NonZeroIntPercent = Shapes::IntegerShape.new(name: 'NonZeroIntPercent')
|
215
239
|
NotificationConfiguration = Shapes::StructureShape.new(name: 'NotificationConfiguration')
|
216
240
|
NotificationConfigurations = Shapes::ListShape.new(name: 'NotificationConfigurations')
|
217
241
|
NotificationTargetResourceName = Shapes::StringShape.new(name: 'NotificationTargetResourceName')
|
242
|
+
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
243
|
+
NullablePositiveDouble = Shapes::FloatShape.new(name: 'NullablePositiveDouble')
|
244
|
+
NullablePositiveInteger = Shapes::IntegerShape.new(name: 'NullablePositiveInteger')
|
218
245
|
NumberOfAutoScalingGroups = Shapes::IntegerShape.new(name: 'NumberOfAutoScalingGroups')
|
219
246
|
NumberOfLaunchConfigurations = Shapes::IntegerShape.new(name: 'NumberOfLaunchConfigurations')
|
220
247
|
OnDemandBaseCapacity = Shapes::IntegerShape.new(name: 'OnDemandBaseCapacity')
|
@@ -304,7 +331,9 @@ module Aws::AutoScaling
|
|
304
331
|
TerminateInstanceInAutoScalingGroupType = Shapes::StructureShape.new(name: 'TerminateInstanceInAutoScalingGroupType')
|
305
332
|
TerminationPolicies = Shapes::ListShape.new(name: 'TerminationPolicies')
|
306
333
|
TimestampType = Shapes::TimestampShape.new(name: 'TimestampType')
|
334
|
+
TotalLocalStorageGBRequest = Shapes::StructureShape.new(name: 'TotalLocalStorageGBRequest')
|
307
335
|
UpdateAutoScalingGroupType = Shapes::StructureShape.new(name: 'UpdateAutoScalingGroupType')
|
336
|
+
VCpuCountRequest = Shapes::StructureShape.new(name: 'VCpuCountRequest')
|
308
337
|
Values = Shapes::ListShape.new(name: 'Values')
|
309
338
|
WarmPoolConfiguration = Shapes::StructureShape.new(name: 'WarmPoolConfiguration')
|
310
339
|
WarmPoolMinSize = Shapes::IntegerShape.new(name: 'WarmPoolMinSize')
|
@@ -322,6 +351,20 @@ module Aws::AutoScaling
|
|
322
351
|
XmlStringMaxLen64 = Shapes::StringShape.new(name: 'XmlStringMaxLen64')
|
323
352
|
XmlStringUserData = Shapes::StringShape.new(name: 'XmlStringUserData')
|
324
353
|
|
354
|
+
AcceleratorCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Min"))
|
355
|
+
AcceleratorCountRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Max"))
|
356
|
+
AcceleratorCountRequest.struct_class = Types::AcceleratorCountRequest
|
357
|
+
|
358
|
+
AcceleratorManufacturers.member = Shapes::ShapeRef.new(shape: AcceleratorManufacturer)
|
359
|
+
|
360
|
+
AcceleratorNames.member = Shapes::ShapeRef.new(shape: AcceleratorName)
|
361
|
+
|
362
|
+
AcceleratorTotalMemoryMiBRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Min"))
|
363
|
+
AcceleratorTotalMemoryMiBRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Max"))
|
364
|
+
AcceleratorTotalMemoryMiBRequest.struct_class = Types::AcceleratorTotalMemoryMiBRequest
|
365
|
+
|
366
|
+
AcceleratorTypes.member = Shapes::ShapeRef.new(shape: AcceleratorType)
|
367
|
+
|
325
368
|
ActiveInstanceRefreshNotFoundFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
326
369
|
ActiveInstanceRefreshNotFoundFault.struct_class = Types::ActiveInstanceRefreshNotFoundFault
|
327
370
|
|
@@ -411,6 +454,7 @@ module Aws::AutoScaling
|
|
411
454
|
AutoScalingGroup.add_member(:warm_pool_configuration, Shapes::ShapeRef.new(shape: WarmPoolConfiguration, location_name: "WarmPoolConfiguration"))
|
412
455
|
AutoScalingGroup.add_member(:warm_pool_size, Shapes::ShapeRef.new(shape: WarmPoolSize, location_name: "WarmPoolSize"))
|
413
456
|
AutoScalingGroup.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "Context"))
|
457
|
+
AutoScalingGroup.add_member(:desired_capacity_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "DesiredCapacityType"))
|
414
458
|
AutoScalingGroup.struct_class = Types::AutoScalingGroup
|
415
459
|
|
416
460
|
AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
@@ -418,6 +462,7 @@ module Aws::AutoScaling
|
|
418
462
|
AutoScalingGroupNamesType.add_member(:auto_scaling_group_names, Shapes::ShapeRef.new(shape: AutoScalingGroupNames, location_name: "AutoScalingGroupNames"))
|
419
463
|
AutoScalingGroupNamesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
420
464
|
AutoScalingGroupNamesType.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
|
465
|
+
AutoScalingGroupNamesType.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
|
421
466
|
AutoScalingGroupNamesType.struct_class = Types::AutoScalingGroupNamesType
|
422
467
|
|
423
468
|
AutoScalingGroups.member = Shapes::ShapeRef.new(shape: AutoScalingGroup)
|
@@ -448,6 +493,10 @@ module Aws::AutoScaling
|
|
448
493
|
|
449
494
|
AvailabilityZones.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
450
495
|
|
496
|
+
BaselineEbsBandwidthMbpsRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Min"))
|
497
|
+
BaselineEbsBandwidthMbpsRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Max"))
|
498
|
+
BaselineEbsBandwidthMbpsRequest.struct_class = Types::BaselineEbsBandwidthMbpsRequest
|
499
|
+
|
451
500
|
BatchDeleteScheduledActionAnswer.add_member(:failed_scheduled_actions, Shapes::ShapeRef.new(shape: FailedScheduledUpdateGroupActionRequests, location_name: "FailedScheduledActions"))
|
452
501
|
BatchDeleteScheduledActionAnswer.struct_class = Types::BatchDeleteScheduledActionAnswer
|
453
502
|
|
@@ -493,6 +542,8 @@ module Aws::AutoScaling
|
|
493
542
|
CompleteLifecycleActionType.add_member(:instance_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen19, location_name: "InstanceId"))
|
494
543
|
CompleteLifecycleActionType.struct_class = Types::CompleteLifecycleActionType
|
495
544
|
|
545
|
+
CpuManufacturers.member = Shapes::ShapeRef.new(shape: CpuManufacturer)
|
546
|
+
|
496
547
|
CreateAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
497
548
|
CreateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchConfigurationName"))
|
498
549
|
CreateAutoScalingGroupType.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
|
@@ -517,6 +568,7 @@ module Aws::AutoScaling
|
|
517
568
|
CreateAutoScalingGroupType.add_member(:service_linked_role_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ServiceLinkedRoleARN"))
|
518
569
|
CreateAutoScalingGroupType.add_member(:max_instance_lifetime, Shapes::ShapeRef.new(shape: MaxInstanceLifetime, location_name: "MaxInstanceLifetime"))
|
519
570
|
CreateAutoScalingGroupType.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "Context"))
|
571
|
+
CreateAutoScalingGroupType.add_member(:desired_capacity_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "DesiredCapacityType"))
|
520
572
|
CreateAutoScalingGroupType.struct_class = Types::CreateAutoScalingGroupType
|
521
573
|
|
522
574
|
CreateLaunchConfigurationType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
|
@@ -745,6 +797,8 @@ module Aws::AutoScaling
|
|
745
797
|
EnterStandbyQuery.add_member(:should_decrement_desired_capacity, Shapes::ShapeRef.new(shape: ShouldDecrementDesiredCapacity, required: true, location_name: "ShouldDecrementDesiredCapacity"))
|
746
798
|
EnterStandbyQuery.struct_class = Types::EnterStandbyQuery
|
747
799
|
|
800
|
+
ExcludedInstanceTypes.member = Shapes::ShapeRef.new(shape: ExcludedInstance)
|
801
|
+
|
748
802
|
ExecutePolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
749
803
|
ExecutePolicyType.add_member(:policy_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "PolicyName"))
|
750
804
|
ExecutePolicyType.add_member(:honor_cooldown, Shapes::ShapeRef.new(shape: HonorCooldown, location_name: "HonorCooldown"))
|
@@ -794,6 +848,8 @@ module Aws::AutoScaling
|
|
794
848
|
Instance.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: XmlStringMaxLen32, location_name: "WeightedCapacity"))
|
795
849
|
Instance.struct_class = Types::Instance
|
796
850
|
|
851
|
+
InstanceGenerations.member = Shapes::ShapeRef.new(shape: InstanceGeneration)
|
852
|
+
|
797
853
|
InstanceIds.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen19)
|
798
854
|
|
799
855
|
InstanceMetadataOptions.add_member(:http_tokens, Shapes::ShapeRef.new(shape: InstanceMetadataHttpTokensState, location_name: "HttpTokens"))
|
@@ -836,6 +892,29 @@ module Aws::AutoScaling
|
|
836
892
|
|
837
893
|
InstanceRefreshes.member = Shapes::ShapeRef.new(shape: InstanceRefresh)
|
838
894
|
|
895
|
+
InstanceRequirements.add_member(:v_cpu_count, Shapes::ShapeRef.new(shape: VCpuCountRequest, required: true, location_name: "VCpuCount"))
|
896
|
+
InstanceRequirements.add_member(:memory_mi_b, Shapes::ShapeRef.new(shape: MemoryMiBRequest, required: true, location_name: "MemoryMiB"))
|
897
|
+
InstanceRequirements.add_member(:cpu_manufacturers, Shapes::ShapeRef.new(shape: CpuManufacturers, location_name: "CpuManufacturers"))
|
898
|
+
InstanceRequirements.add_member(:memory_gi_b_per_v_cpu, Shapes::ShapeRef.new(shape: MemoryGiBPerVCpuRequest, location_name: "MemoryGiBPerVCpu"))
|
899
|
+
InstanceRequirements.add_member(:excluded_instance_types, Shapes::ShapeRef.new(shape: ExcludedInstanceTypes, location_name: "ExcludedInstanceTypes"))
|
900
|
+
InstanceRequirements.add_member(:instance_generations, Shapes::ShapeRef.new(shape: InstanceGenerations, location_name: "InstanceGenerations"))
|
901
|
+
InstanceRequirements.add_member(:spot_max_price_percentage_over_lowest_price, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "SpotMaxPricePercentageOverLowestPrice"))
|
902
|
+
InstanceRequirements.add_member(:on_demand_max_price_percentage_over_lowest_price, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "OnDemandMaxPricePercentageOverLowestPrice"))
|
903
|
+
InstanceRequirements.add_member(:bare_metal, Shapes::ShapeRef.new(shape: BareMetal, location_name: "BareMetal"))
|
904
|
+
InstanceRequirements.add_member(:burstable_performance, Shapes::ShapeRef.new(shape: BurstablePerformance, location_name: "BurstablePerformance"))
|
905
|
+
InstanceRequirements.add_member(:require_hibernate_support, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "RequireHibernateSupport"))
|
906
|
+
InstanceRequirements.add_member(:network_interface_count, Shapes::ShapeRef.new(shape: NetworkInterfaceCountRequest, location_name: "NetworkInterfaceCount"))
|
907
|
+
InstanceRequirements.add_member(:local_storage, Shapes::ShapeRef.new(shape: LocalStorage, location_name: "LocalStorage"))
|
908
|
+
InstanceRequirements.add_member(:local_storage_types, Shapes::ShapeRef.new(shape: LocalStorageTypes, location_name: "LocalStorageTypes"))
|
909
|
+
InstanceRequirements.add_member(:total_local_storage_gb, Shapes::ShapeRef.new(shape: TotalLocalStorageGBRequest, location_name: "TotalLocalStorageGB"))
|
910
|
+
InstanceRequirements.add_member(:baseline_ebs_bandwidth_mbps, Shapes::ShapeRef.new(shape: BaselineEbsBandwidthMbpsRequest, location_name: "BaselineEbsBandwidthMbps"))
|
911
|
+
InstanceRequirements.add_member(:accelerator_types, Shapes::ShapeRef.new(shape: AcceleratorTypes, location_name: "AcceleratorTypes"))
|
912
|
+
InstanceRequirements.add_member(:accelerator_count, Shapes::ShapeRef.new(shape: AcceleratorCountRequest, location_name: "AcceleratorCount"))
|
913
|
+
InstanceRequirements.add_member(:accelerator_manufacturers, Shapes::ShapeRef.new(shape: AcceleratorManufacturers, location_name: "AcceleratorManufacturers"))
|
914
|
+
InstanceRequirements.add_member(:accelerator_names, Shapes::ShapeRef.new(shape: AcceleratorNames, location_name: "AcceleratorNames"))
|
915
|
+
InstanceRequirements.add_member(:accelerator_total_memory_mi_b, Shapes::ShapeRef.new(shape: AcceleratorTotalMemoryMiBRequest, location_name: "AcceleratorTotalMemoryMiB"))
|
916
|
+
InstanceRequirements.struct_class = Types::InstanceRequirements
|
917
|
+
|
839
918
|
Instances.member = Shapes::ShapeRef.new(shape: Instance)
|
840
919
|
|
841
920
|
InstancesDistribution.add_member(:on_demand_allocation_strategy, Shapes::ShapeRef.new(shape: XmlString, location_name: "OnDemandAllocationStrategy"))
|
@@ -894,6 +973,7 @@ module Aws::AutoScaling
|
|
894
973
|
LaunchTemplateOverrides.add_member(:instance_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "InstanceType"))
|
895
974
|
LaunchTemplateOverrides.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: XmlStringMaxLen32, location_name: "WeightedCapacity"))
|
896
975
|
LaunchTemplateOverrides.add_member(:launch_template_specification, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplateSpecification"))
|
976
|
+
LaunchTemplateOverrides.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirements, location_name: "InstanceRequirements"))
|
897
977
|
LaunchTemplateOverrides.struct_class = Types::LaunchTemplateOverrides
|
898
978
|
|
899
979
|
LaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchTemplateId"))
|
@@ -951,6 +1031,16 @@ module Aws::AutoScaling
|
|
951
1031
|
|
952
1032
|
LoadForecasts.member = Shapes::ShapeRef.new(shape: LoadForecast)
|
953
1033
|
|
1034
|
+
LocalStorageTypes.member = Shapes::ShapeRef.new(shape: LocalStorageType)
|
1035
|
+
|
1036
|
+
MemoryGiBPerVCpuRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveDouble, location_name: "Min"))
|
1037
|
+
MemoryGiBPerVCpuRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveDouble, location_name: "Max"))
|
1038
|
+
MemoryGiBPerVCpuRequest.struct_class = Types::MemoryGiBPerVCpuRequest
|
1039
|
+
|
1040
|
+
MemoryMiBRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, required: true, location_name: "Min"))
|
1041
|
+
MemoryMiBRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Max"))
|
1042
|
+
MemoryMiBRequest.struct_class = Types::MemoryMiBRequest
|
1043
|
+
|
954
1044
|
MetricCollectionType.add_member(:metric, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "Metric"))
|
955
1045
|
MetricCollectionType.struct_class = Types::MetricCollectionType
|
956
1046
|
|
@@ -973,6 +1063,10 @@ module Aws::AutoScaling
|
|
973
1063
|
MixedInstancesPolicy.add_member(:instances_distribution, Shapes::ShapeRef.new(shape: InstancesDistribution, location_name: "InstancesDistribution"))
|
974
1064
|
MixedInstancesPolicy.struct_class = Types::MixedInstancesPolicy
|
975
1065
|
|
1066
|
+
NetworkInterfaceCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Min"))
|
1067
|
+
NetworkInterfaceCountRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Max"))
|
1068
|
+
NetworkInterfaceCountRequest.struct_class = Types::NetworkInterfaceCountRequest
|
1069
|
+
|
976
1070
|
NotificationConfiguration.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
977
1071
|
NotificationConfiguration.add_member(:topic_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "TopicARN"))
|
978
1072
|
NotificationConfiguration.add_member(:notification_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "NotificationType"))
|
@@ -1253,6 +1347,10 @@ module Aws::AutoScaling
|
|
1253
1347
|
|
1254
1348
|
TerminationPolicies.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen1600)
|
1255
1349
|
|
1350
|
+
TotalLocalStorageGBRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveDouble, location_name: "Min"))
|
1351
|
+
TotalLocalStorageGBRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveDouble, location_name: "Max"))
|
1352
|
+
TotalLocalStorageGBRequest.struct_class = Types::TotalLocalStorageGBRequest
|
1353
|
+
|
1256
1354
|
UpdateAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
1257
1355
|
UpdateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchConfigurationName"))
|
1258
1356
|
UpdateAutoScalingGroupType.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
|
@@ -1272,8 +1370,13 @@ module Aws::AutoScaling
|
|
1272
1370
|
UpdateAutoScalingGroupType.add_member(:max_instance_lifetime, Shapes::ShapeRef.new(shape: MaxInstanceLifetime, location_name: "MaxInstanceLifetime"))
|
1273
1371
|
UpdateAutoScalingGroupType.add_member(:capacity_rebalance, Shapes::ShapeRef.new(shape: CapacityRebalanceEnabled, location_name: "CapacityRebalance"))
|
1274
1372
|
UpdateAutoScalingGroupType.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "Context"))
|
1373
|
+
UpdateAutoScalingGroupType.add_member(:desired_capacity_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "DesiredCapacityType"))
|
1275
1374
|
UpdateAutoScalingGroupType.struct_class = Types::UpdateAutoScalingGroupType
|
1276
1375
|
|
1376
|
+
VCpuCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, required: true, location_name: "Min"))
|
1377
|
+
VCpuCountRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Max"))
|
1378
|
+
VCpuCountRequest.struct_class = Types::VCpuCountRequest
|
1379
|
+
|
1277
1380
|
Values.member = Shapes::ShapeRef.new(shape: XmlString)
|
1278
1381
|
|
1279
1382
|
WarmPoolConfiguration.add_member(:max_group_prepared_capacity, Shapes::ShapeRef.new(shape: MaxGroupPreparedCapacity, location_name: "MaxGroupPreparedCapacity"))
|
@@ -1594,6 +1697,7 @@ module Aws::AutoScaling
|
|
1594
1697
|
o.input = Shapes::ShapeRef.new(shape: DescribeLoadBalancerTargetGroupsRequest)
|
1595
1698
|
o.output = Shapes::ShapeRef.new(shape: DescribeLoadBalancerTargetGroupsResponse)
|
1596
1699
|
o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
|
1700
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
1597
1701
|
end)
|
1598
1702
|
|
1599
1703
|
api.add_operation(:describe_load_balancers, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1603,6 +1707,7 @@ module Aws::AutoScaling
|
|
1603
1707
|
o.input = Shapes::ShapeRef.new(shape: DescribeLoadBalancersRequest)
|
1604
1708
|
o.output = Shapes::ShapeRef.new(shape: DescribeLoadBalancersResponse)
|
1605
1709
|
o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
|
1710
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
1606
1711
|
end)
|
1607
1712
|
|
1608
1713
|
api.add_operation(:describe_metric_collection_types, Seahorse::Model::Operation.new.tap do |o|
|
@@ -61,6 +61,53 @@ module Aws::AutoScaling
|
|
61
61
|
# launch_template_name: "LaunchTemplateName",
|
62
62
|
# version: "XmlStringMaxLen255",
|
63
63
|
# },
|
64
|
+
# instance_requirements: {
|
65
|
+
# v_cpu_count: { # required
|
66
|
+
# min: 1, # required
|
67
|
+
# max: 1,
|
68
|
+
# },
|
69
|
+
# memory_mi_b: { # required
|
70
|
+
# min: 1, # required
|
71
|
+
# max: 1,
|
72
|
+
# },
|
73
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
74
|
+
# memory_gi_b_per_v_cpu: {
|
75
|
+
# min: 1.0,
|
76
|
+
# max: 1.0,
|
77
|
+
# },
|
78
|
+
# excluded_instance_types: ["ExcludedInstance"],
|
79
|
+
# instance_generations: ["current"], # accepts current, previous
|
80
|
+
# spot_max_price_percentage_over_lowest_price: 1,
|
81
|
+
# on_demand_max_price_percentage_over_lowest_price: 1,
|
82
|
+
# bare_metal: "included", # accepts included, excluded, required
|
83
|
+
# burstable_performance: "included", # accepts included, excluded, required
|
84
|
+
# require_hibernate_support: false,
|
85
|
+
# network_interface_count: {
|
86
|
+
# min: 1,
|
87
|
+
# max: 1,
|
88
|
+
# },
|
89
|
+
# local_storage: "included", # accepts included, excluded, required
|
90
|
+
# local_storage_types: ["hdd"], # accepts hdd, ssd
|
91
|
+
# total_local_storage_gb: {
|
92
|
+
# min: 1.0,
|
93
|
+
# max: 1.0,
|
94
|
+
# },
|
95
|
+
# baseline_ebs_bandwidth_mbps: {
|
96
|
+
# min: 1,
|
97
|
+
# max: 1,
|
98
|
+
# },
|
99
|
+
# accelerator_types: ["gpu"], # accepts gpu, fpga, inference
|
100
|
+
# accelerator_count: {
|
101
|
+
# min: 1,
|
102
|
+
# max: 1,
|
103
|
+
# },
|
104
|
+
# accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
|
105
|
+
# accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
|
106
|
+
# accelerator_total_memory_mi_b: {
|
107
|
+
# min: 1,
|
108
|
+
# max: 1,
|
109
|
+
# },
|
110
|
+
# },
|
64
111
|
# },
|
65
112
|
# ],
|
66
113
|
# },
|
@@ -111,6 +158,7 @@ module Aws::AutoScaling
|
|
111
158
|
# service_linked_role_arn: "ResourceName",
|
112
159
|
# max_instance_lifetime: 1,
|
113
160
|
# context: "Context",
|
161
|
+
# desired_capacity_type: "XmlStringMaxLen255",
|
114
162
|
# })
|
115
163
|
# @param [Hash] options ({})
|
116
164
|
# @option options [required, String] :auto_scaling_group_name
|
@@ -141,20 +189,11 @@ module Aws::AutoScaling
|
|
141
189
|
#
|
142
190
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
143
191
|
# @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
|
144
|
-
# An embedded object that specifies a mixed instances policy.
|
145
|
-
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
149
|
-
# of On-Demand Instances and Spot Instances, the maximum price to pay
|
150
|
-
# for Spot Instances, and how the Auto Scaling group allocates instance
|
151
|
-
# types to fulfill On-Demand and Spot capacities, but also the
|
152
|
-
# properties that specify the instance configuration information—the
|
153
|
-
# launch template and instance types. The policy can also include a
|
154
|
-
# weight for each instance type and different launch templates for
|
155
|
-
# individual instance types. For more information, see [Auto Scaling
|
156
|
-
# groups with multiple instance types and purchase options][1] in the
|
157
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
192
|
+
# An embedded object that specifies a mixed instances policy.
|
193
|
+
#
|
194
|
+
# For more information, see [Auto Scaling groups with multiple instance
|
195
|
+
# types and purchase options][1] in the *Amazon EC2 Auto Scaling User
|
196
|
+
# Guide*.
|
158
197
|
#
|
159
198
|
#
|
160
199
|
#
|
@@ -341,6 +380,21 @@ module Aws::AutoScaling
|
|
341
380
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
|
342
381
|
# @option options [String] :context
|
343
382
|
# Reserved.
|
383
|
+
# @option options [String] :desired_capacity_type
|
384
|
+
# The unit of measurement for the value specified for desired capacity.
|
385
|
+
# Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
|
386
|
+
# attribute-based instance type selection only. For more information,
|
387
|
+
# see [Creating an Auto Scaling group using attribute-based instance
|
388
|
+
# type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
389
|
+
#
|
390
|
+
# By default, Amazon EC2 Auto Scaling specifies `units`, which
|
391
|
+
# translates into number of instances.
|
392
|
+
#
|
393
|
+
# Valid values: `units` \| `vcpu` \| `memory-mib`
|
394
|
+
#
|
395
|
+
#
|
396
|
+
#
|
397
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
|
344
398
|
# @return [AutoScalingGroup]
|
345
399
|
def create_group(options = {})
|
346
400
|
@client.create_auto_scaling_group(options)
|
@@ -562,7 +616,7 @@ module Aws::AutoScaling
|
|
562
616
|
# provide optimal I/O performance. This optimization is not available
|
563
617
|
# with all instance types. Additional fees are incurred when you enable
|
564
618
|
# EBS optimization for an instance type that is not EBS-optimized by
|
565
|
-
# default. For more information, see [Amazon EBS-
|
619
|
+
# default. For more information, see [Amazon EBS-optimized instances][1]
|
566
620
|
# in the *Amazon EC2 User Guide for Linux Instances*.
|
567
621
|
#
|
568
622
|
# The default value is `false`.
|
@@ -694,6 +748,12 @@ module Aws::AutoScaling
|
|
694
748
|
#
|
695
749
|
# groups = auto_scaling.groups({
|
696
750
|
# auto_scaling_group_names: ["XmlStringMaxLen255"],
|
751
|
+
# filters: [
|
752
|
+
# {
|
753
|
+
# name: "XmlString",
|
754
|
+
# values: ["XmlString"],
|
755
|
+
# },
|
756
|
+
# ],
|
697
757
|
# })
|
698
758
|
# @param [Hash] options ({})
|
699
759
|
# @option options [Array<String>] :auto_scaling_group_names
|
@@ -702,6 +762,8 @@ module Aws::AutoScaling
|
|
702
762
|
# `MaxRecords` parameter.
|
703
763
|
#
|
704
764
|
# If you omit this parameter, all Auto Scaling groups are described.
|
765
|
+
# @option options [Array<Types::Filter>] :filters
|
766
|
+
# One or more filters to limit the results based on specific tags.
|
705
767
|
# @return [AutoScalingGroup::Collection]
|
706
768
|
def groups(options = {})
|
707
769
|
batches = Enumerator.new do |y|
|