aws-sdk-autoscaling 1.146.0 → 1.148.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.
@@ -63,8 +63,10 @@ module Aws::AutoScaling
63
63
  AutoScalingInstancesType = Shapes::StructureShape.new(name: 'AutoScalingInstancesType')
64
64
  AutoScalingNotificationTypes = Shapes::ListShape.new(name: 'AutoScalingNotificationTypes')
65
65
  AvailabilityZoneDistribution = Shapes::StructureShape.new(name: 'AvailabilityZoneDistribution')
66
+ AvailabilityZoneIdsLimit1 = Shapes::ListShape.new(name: 'AvailabilityZoneIdsLimit1')
66
67
  AvailabilityZoneImpairmentPolicy = Shapes::StructureShape.new(name: 'AvailabilityZoneImpairmentPolicy')
67
68
  AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
69
+ AvailabilityZonesLimit1 = Shapes::ListShape.new(name: 'AvailabilityZonesLimit1')
68
70
  BakeTime = Shapes::IntegerShape.new(name: 'BakeTime')
69
71
  BareMetal = Shapes::StringShape.new(name: 'BareMetal')
70
72
  BaselineEbsBandwidthMbpsRequest = Shapes::StructureShape.new(name: 'BaselineEbsBandwidthMbpsRequest')
@@ -96,6 +98,7 @@ module Aws::AutoScaling
96
98
  CheckpointDelay = Shapes::IntegerShape.new(name: 'CheckpointDelay')
97
99
  CheckpointPercentages = Shapes::ListShape.new(name: 'CheckpointPercentages')
98
100
  ClassicLinkVPCSecurityGroups = Shapes::ListShape.new(name: 'ClassicLinkVPCSecurityGroups')
101
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
99
102
  CompleteLifecycleActionAnswer = Shapes::StructureShape.new(name: 'CompleteLifecycleActionAnswer')
100
103
  CompleteLifecycleActionType = Shapes::StructureShape.new(name: 'CompleteLifecycleActionType')
101
104
  Context = Shapes::StringShape.new(name: 'Context')
@@ -177,13 +180,18 @@ module Aws::AutoScaling
177
180
  HealthCheckGracePeriod = Shapes::IntegerShape.new(name: 'HealthCheckGracePeriod')
178
181
  HeartbeatTimeout = Shapes::IntegerShape.new(name: 'HeartbeatTimeout')
179
182
  HonorCooldown = Shapes::BooleanShape.new(name: 'HonorCooldown')
183
+ IdempotentParameterMismatchError = Shapes::StructureShape.new(name: 'IdempotentParameterMismatchError', error: {"code" => "IdempotentParameterMismatch", "httpStatusCode" => 400, "senderFault" => true})
184
+ ImageId = Shapes::StringShape.new(name: 'ImageId')
180
185
  ImpairedZoneHealthCheckBehavior = Shapes::StringShape.new(name: 'ImpairedZoneHealthCheckBehavior')
181
186
  IncludeDeletedGroups = Shapes::BooleanShape.new(name: 'IncludeDeletedGroups')
182
187
  IncludeInstances = Shapes::BooleanShape.new(name: 'IncludeInstances')
183
188
  Instance = Shapes::StructureShape.new(name: 'Instance')
189
+ InstanceCollection = Shapes::StructureShape.new(name: 'InstanceCollection')
190
+ InstanceCollections = Shapes::ListShape.new(name: 'InstanceCollections')
184
191
  InstanceGeneration = Shapes::StringShape.new(name: 'InstanceGeneration')
185
192
  InstanceGenerations = Shapes::ListShape.new(name: 'InstanceGenerations')
186
193
  InstanceIds = Shapes::ListShape.new(name: 'InstanceIds')
194
+ InstanceLifecyclePolicy = Shapes::StructureShape.new(name: 'InstanceLifecyclePolicy')
187
195
  InstanceMaintenancePolicy = Shapes::StructureShape.new(name: 'InstanceMaintenancePolicy')
188
196
  InstanceMetadataEndpointState = Shapes::StringShape.new(name: 'InstanceMetadataEndpointState')
189
197
  InstanceMetadataHttpPutResponseHopLimit = Shapes::IntegerShape.new(name: 'InstanceMetadataHttpPutResponseHopLimit')
@@ -216,6 +224,10 @@ module Aws::AutoScaling
216
224
  LaunchConfigurationNamesType = Shapes::StructureShape.new(name: 'LaunchConfigurationNamesType')
217
225
  LaunchConfigurations = Shapes::ListShape.new(name: 'LaunchConfigurations')
218
226
  LaunchConfigurationsType = Shapes::StructureShape.new(name: 'LaunchConfigurationsType')
227
+ LaunchInstancesError = Shapes::StructureShape.new(name: 'LaunchInstancesError')
228
+ LaunchInstancesErrors = Shapes::ListShape.new(name: 'LaunchInstancesErrors')
229
+ LaunchInstancesRequest = Shapes::StructureShape.new(name: 'LaunchInstancesRequest')
230
+ LaunchInstancesResult = Shapes::StructureShape.new(name: 'LaunchInstancesResult')
219
231
  LaunchTemplate = Shapes::StructureShape.new(name: 'LaunchTemplate')
220
232
  LaunchTemplateName = Shapes::StringShape.new(name: 'LaunchTemplateName')
221
233
  LaunchTemplateOverrides = Shapes::StructureShape.new(name: 'LaunchTemplateOverrides')
@@ -332,9 +344,13 @@ module Aws::AutoScaling
332
344
  RefreshInstanceWarmup = Shapes::IntegerShape.new(name: 'RefreshInstanceWarmup')
333
345
  RefreshPreferences = Shapes::StructureShape.new(name: 'RefreshPreferences')
334
346
  RefreshStrategy = Shapes::StringShape.new(name: 'RefreshStrategy')
347
+ RequestedCapacity = Shapes::IntegerShape.new(name: 'RequestedCapacity')
335
348
  ResourceContentionFault = Shapes::StructureShape.new(name: 'ResourceContentionFault', error: {"code" => "ResourceContention", "httpStatusCode" => 500, "senderFault" => true})
336
349
  ResourceInUseFault = Shapes::StructureShape.new(name: 'ResourceInUseFault', error: {"code" => "ResourceInUse", "httpStatusCode" => 400, "senderFault" => true})
337
350
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
351
+ RetentionAction = Shapes::StringShape.new(name: 'RetentionAction')
352
+ RetentionTriggers = Shapes::StructureShape.new(name: 'RetentionTriggers')
353
+ RetryStrategy = Shapes::StringShape.new(name: 'RetryStrategy')
338
354
  ReturnData = Shapes::BooleanShape.new(name: 'ReturnData')
339
355
  ReuseOnScaleIn = Shapes::BooleanShape.new(name: 'ReuseOnScaleIn')
340
356
  RollbackDetails = Shapes::StructureShape.new(name: 'RollbackDetails')
@@ -371,6 +387,7 @@ module Aws::AutoScaling
371
387
  StepAdjustment = Shapes::StructureShape.new(name: 'StepAdjustment')
372
388
  StepAdjustments = Shapes::ListShape.new(name: 'StepAdjustments')
373
389
  String = Shapes::StringShape.new(name: 'String')
390
+ SubnetIdsLimit1 = Shapes::ListShape.new(name: 'SubnetIdsLimit1')
374
391
  SuspendedProcess = Shapes::StructureShape.new(name: 'SuspendedProcess')
375
392
  SuspendedProcesses = Shapes::ListShape.new(name: 'SuspendedProcesses')
376
393
  Tag = Shapes::StructureShape.new(name: 'Tag')
@@ -541,6 +558,7 @@ module Aws::AutoScaling
541
558
  AutoScalingGroup.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
542
559
  AutoScalingGroup.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
543
560
  AutoScalingGroup.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
561
+ AutoScalingGroup.add_member(:instance_lifecycle_policy, Shapes::ShapeRef.new(shape: InstanceLifecyclePolicy, location_name: "InstanceLifecyclePolicy"))
544
562
  AutoScalingGroup.struct_class = Types::AutoScalingGroup
545
563
 
546
564
  AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
@@ -566,6 +584,7 @@ module Aws::AutoScaling
566
584
  AutoScalingInstanceDetails.add_member(:health_status, Shapes::ShapeRef.new(shape: XmlStringMaxLen32, required: true, location_name: "HealthStatus"))
567
585
  AutoScalingInstanceDetails.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchConfigurationName"))
568
586
  AutoScalingInstanceDetails.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
587
+ AutoScalingInstanceDetails.add_member(:image_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "ImageId"))
569
588
  AutoScalingInstanceDetails.add_member(:protected_from_scale_in, Shapes::ShapeRef.new(shape: InstanceProtected, required: true, location_name: "ProtectedFromScaleIn"))
570
589
  AutoScalingInstanceDetails.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: XmlStringMaxLen32, location_name: "WeightedCapacity"))
571
590
  AutoScalingInstanceDetails.struct_class = Types::AutoScalingInstanceDetails
@@ -581,12 +600,16 @@ module Aws::AutoScaling
581
600
  AvailabilityZoneDistribution.add_member(:capacity_distribution_strategy, Shapes::ShapeRef.new(shape: CapacityDistributionStrategy, location_name: "CapacityDistributionStrategy"))
582
601
  AvailabilityZoneDistribution.struct_class = Types::AvailabilityZoneDistribution
583
602
 
603
+ AvailabilityZoneIdsLimit1.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
604
+
584
605
  AvailabilityZoneImpairmentPolicy.add_member(:zonal_shift_enabled, Shapes::ShapeRef.new(shape: ZonalShiftEnabled, location_name: "ZonalShiftEnabled"))
585
606
  AvailabilityZoneImpairmentPolicy.add_member(:impaired_zone_health_check_behavior, Shapes::ShapeRef.new(shape: ImpairedZoneHealthCheckBehavior, location_name: "ImpairedZoneHealthCheckBehavior"))
586
607
  AvailabilityZoneImpairmentPolicy.struct_class = Types::AvailabilityZoneImpairmentPolicy
587
608
 
588
609
  AvailabilityZones.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
589
610
 
611
+ AvailabilityZonesLimit1.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
612
+
590
613
  BaselineEbsBandwidthMbpsRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Min"))
591
614
  BaselineEbsBandwidthMbpsRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Max"))
592
615
  BaselineEbsBandwidthMbpsRequest.struct_class = Types::BaselineEbsBandwidthMbpsRequest
@@ -689,6 +712,7 @@ module Aws::AutoScaling
689
712
  CreateAutoScalingGroupType.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
690
713
  CreateAutoScalingGroupType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
691
714
  CreateAutoScalingGroupType.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
715
+ CreateAutoScalingGroupType.add_member(:instance_lifecycle_policy, Shapes::ShapeRef.new(shape: InstanceLifecyclePolicy, location_name: "InstanceLifecyclePolicy"))
692
716
  CreateAutoScalingGroupType.struct_class = Types::CreateAutoScalingGroupType
693
717
 
694
718
  CreateLaunchConfigurationType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
@@ -975,6 +999,9 @@ module Aws::AutoScaling
975
999
  GetPredictiveScalingForecastType.add_member(:end_time, Shapes::ShapeRef.new(shape: TimestampType, required: true, location_name: "EndTime"))
976
1000
  GetPredictiveScalingForecastType.struct_class = Types::GetPredictiveScalingForecastType
977
1001
 
1002
+ IdempotentParameterMismatchError.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "Message"))
1003
+ IdempotentParameterMismatchError.struct_class = Types::IdempotentParameterMismatchError
1004
+
978
1005
  Instance.add_member(:instance_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen19, required: true, location_name: "InstanceId"))
979
1006
  Instance.add_member(:instance_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "InstanceType"))
980
1007
  Instance.add_member(:availability_zone, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AvailabilityZone"))
@@ -982,14 +1009,28 @@ module Aws::AutoScaling
982
1009
  Instance.add_member(:health_status, Shapes::ShapeRef.new(shape: XmlStringMaxLen32, required: true, location_name: "HealthStatus"))
983
1010
  Instance.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchConfigurationName"))
984
1011
  Instance.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
1012
+ Instance.add_member(:image_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "ImageId"))
985
1013
  Instance.add_member(:protected_from_scale_in, Shapes::ShapeRef.new(shape: InstanceProtected, required: true, location_name: "ProtectedFromScaleIn"))
986
1014
  Instance.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: XmlStringMaxLen32, location_name: "WeightedCapacity"))
987
1015
  Instance.struct_class = Types::Instance
988
1016
 
1017
+ InstanceCollection.add_member(:instance_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "InstanceType"))
1018
+ InstanceCollection.add_member(:market_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen64, location_name: "MarketType"))
1019
+ InstanceCollection.add_member(:subnet_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "SubnetId"))
1020
+ InstanceCollection.add_member(:availability_zone, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AvailabilityZone"))
1021
+ InstanceCollection.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AvailabilityZoneId"))
1022
+ InstanceCollection.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, location_name: "InstanceIds"))
1023
+ InstanceCollection.struct_class = Types::InstanceCollection
1024
+
1025
+ InstanceCollections.member = Shapes::ShapeRef.new(shape: InstanceCollection)
1026
+
989
1027
  InstanceGenerations.member = Shapes::ShapeRef.new(shape: InstanceGeneration)
990
1028
 
991
1029
  InstanceIds.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen19)
992
1030
 
1031
+ InstanceLifecyclePolicy.add_member(:retention_triggers, Shapes::ShapeRef.new(shape: RetentionTriggers, location_name: "RetentionTriggers"))
1032
+ InstanceLifecyclePolicy.struct_class = Types::InstanceLifecyclePolicy
1033
+
993
1034
  InstanceMaintenancePolicy.add_member(:min_healthy_percentage, Shapes::ShapeRef.new(shape: IntPercentResettable, location_name: "MinHealthyPercentage"))
994
1035
  InstanceMaintenancePolicy.add_member(:max_healthy_percentage, Shapes::ShapeRef.new(shape: IntPercent100To200Resettable, location_name: "MaxHealthyPercentage"))
995
1036
  InstanceMaintenancePolicy.struct_class = Types::InstanceMaintenancePolicy
@@ -1014,6 +1055,7 @@ module Aws::AutoScaling
1014
1055
  InstanceRefresh.add_member(:preferences, Shapes::ShapeRef.new(shape: RefreshPreferences, location_name: "Preferences"))
1015
1056
  InstanceRefresh.add_member(:desired_configuration, Shapes::ShapeRef.new(shape: DesiredConfiguration, location_name: "DesiredConfiguration"))
1016
1057
  InstanceRefresh.add_member(:rollback_details, Shapes::ShapeRef.new(shape: RollbackDetails, location_name: "RollbackDetails"))
1058
+ InstanceRefresh.add_member(:strategy, Shapes::ShapeRef.new(shape: RefreshStrategy, location_name: "Strategy"))
1017
1059
  InstanceRefresh.struct_class = Types::InstanceRefresh
1018
1060
 
1019
1061
  InstanceRefreshIds.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
@@ -1119,6 +1161,32 @@ module Aws::AutoScaling
1119
1161
  LaunchConfigurationsType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
1120
1162
  LaunchConfigurationsType.struct_class = Types::LaunchConfigurationsType
1121
1163
 
1164
+ LaunchInstancesError.add_member(:instance_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "InstanceType"))
1165
+ LaunchInstancesError.add_member(:market_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen64, location_name: "MarketType"))
1166
+ LaunchInstancesError.add_member(:subnet_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "SubnetId"))
1167
+ LaunchInstancesError.add_member(:availability_zone, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AvailabilityZone"))
1168
+ LaunchInstancesError.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AvailabilityZoneId"))
1169
+ LaunchInstancesError.add_member(:error_code, Shapes::ShapeRef.new(shape: XmlStringMaxLen64, location_name: "ErrorCode"))
1170
+ LaunchInstancesError.add_member(:error_message, Shapes::ShapeRef.new(shape: XmlString, location_name: "ErrorMessage"))
1171
+ LaunchInstancesError.struct_class = Types::LaunchInstancesError
1172
+
1173
+ LaunchInstancesErrors.member = Shapes::ShapeRef.new(shape: LaunchInstancesError)
1174
+
1175
+ LaunchInstancesRequest.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
1176
+ LaunchInstancesRequest.add_member(:requested_capacity, Shapes::ShapeRef.new(shape: RequestedCapacity, required: true, location_name: "RequestedCapacity"))
1177
+ LaunchInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
1178
+ LaunchInstancesRequest.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZonesLimit1, location_name: "AvailabilityZones"))
1179
+ LaunchInstancesRequest.add_member(:availability_zone_ids, Shapes::ShapeRef.new(shape: AvailabilityZoneIdsLimit1, location_name: "AvailabilityZoneIds"))
1180
+ LaunchInstancesRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdsLimit1, location_name: "SubnetIds"))
1181
+ LaunchInstancesRequest.add_member(:retry_strategy, Shapes::ShapeRef.new(shape: RetryStrategy, location_name: "RetryStrategy"))
1182
+ LaunchInstancesRequest.struct_class = Types::LaunchInstancesRequest
1183
+
1184
+ LaunchInstancesResult.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
1185
+ LaunchInstancesResult.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
1186
+ LaunchInstancesResult.add_member(:instances, Shapes::ShapeRef.new(shape: InstanceCollections, location_name: "Instances"))
1187
+ LaunchInstancesResult.add_member(:errors, Shapes::ShapeRef.new(shape: LaunchInstancesErrors, location_name: "Errors"))
1188
+ LaunchInstancesResult.struct_class = Types::LaunchInstancesResult
1189
+
1122
1190
  LaunchTemplate.add_member(:launch_template_specification, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplateSpecification"))
1123
1191
  LaunchTemplate.add_member(:overrides, Shapes::ShapeRef.new(shape: Overrides, location_name: "Overrides"))
1124
1192
  LaunchTemplate.struct_class = Types::LaunchTemplate
@@ -1127,6 +1195,7 @@ module Aws::AutoScaling
1127
1195
  LaunchTemplateOverrides.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: XmlStringMaxLen32, location_name: "WeightedCapacity"))
1128
1196
  LaunchTemplateOverrides.add_member(:launch_template_specification, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplateSpecification"))
1129
1197
  LaunchTemplateOverrides.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirements, location_name: "InstanceRequirements"))
1198
+ LaunchTemplateOverrides.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
1130
1199
  LaunchTemplateOverrides.struct_class = Types::LaunchTemplateOverrides
1131
1200
 
1132
1201
  LaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchTemplateId"))
@@ -1407,6 +1476,9 @@ module Aws::AutoScaling
1407
1476
  ResourceInUseFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
1408
1477
  ResourceInUseFault.struct_class = Types::ResourceInUseFault
1409
1478
 
1479
+ RetentionTriggers.add_member(:terminate_hook_abandon, Shapes::ShapeRef.new(shape: RetentionAction, location_name: "TerminateHookAbandon"))
1480
+ RetentionTriggers.struct_class = Types::RetentionTriggers
1481
+
1410
1482
  RollbackDetails.add_member(:rollback_reason, Shapes::ShapeRef.new(shape: XmlStringMaxLen1023, location_name: "RollbackReason"))
1411
1483
  RollbackDetails.add_member(:rollback_start_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "RollbackStartTime"))
1412
1484
  RollbackDetails.add_member(:percentage_complete_on_rollback, Shapes::ShapeRef.new(shape: IntPercent, location_name: "PercentageCompleteOnRollback"))
@@ -1518,6 +1590,8 @@ module Aws::AutoScaling
1518
1590
 
1519
1591
  StepAdjustments.member = Shapes::ShapeRef.new(shape: StepAdjustment)
1520
1592
 
1593
+ SubnetIdsLimit1.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
1594
+
1521
1595
  SuspendedProcess.add_member(:process_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "ProcessName"))
1522
1596
  SuspendedProcess.add_member(:suspension_reason, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "SuspensionReason"))
1523
1597
  SuspendedProcess.struct_class = Types::SuspendedProcess
@@ -1620,6 +1694,7 @@ module Aws::AutoScaling
1620
1694
  UpdateAutoScalingGroupType.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
1621
1695
  UpdateAutoScalingGroupType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
1622
1696
  UpdateAutoScalingGroupType.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
1697
+ UpdateAutoScalingGroupType.add_member(:instance_lifecycle_policy, Shapes::ShapeRef.new(shape: InstanceLifecyclePolicy, location_name: "InstanceLifecyclePolicy"))
1623
1698
  UpdateAutoScalingGroupType.struct_class = Types::UpdateAutoScalingGroupType
1624
1699
 
1625
1700
  VCpuCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, required: true, location_name: "Min"))
@@ -1672,6 +1747,7 @@ module Aws::AutoScaling
1672
1747
  o.output = Shapes::ShapeRef.new(shape: AttachLoadBalancerTargetGroupsResultType)
1673
1748
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
1674
1749
  o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
1750
+ o.errors << Shapes::ShapeRef.new(shape: InstanceRefreshInProgressFault)
1675
1751
  end)
1676
1752
 
1677
1753
  api.add_operation(:attach_load_balancers, Seahorse::Model::Operation.new.tap do |o|
@@ -1682,6 +1758,7 @@ module Aws::AutoScaling
1682
1758
  o.output = Shapes::ShapeRef.new(shape: AttachLoadBalancersResultType)
1683
1759
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
1684
1760
  o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
1761
+ o.errors << Shapes::ShapeRef.new(shape: InstanceRefreshInProgressFault)
1685
1762
  end)
1686
1763
 
1687
1764
  api.add_operation(:attach_traffic_sources, Seahorse::Model::Operation.new.tap do |o|
@@ -1692,6 +1769,7 @@ module Aws::AutoScaling
1692
1769
  o.output = Shapes::ShapeRef.new(shape: AttachTrafficSourcesResultType)
1693
1770
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
1694
1771
  o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
1772
+ o.errors << Shapes::ShapeRef.new(shape: InstanceRefreshInProgressFault)
1695
1773
  end)
1696
1774
 
1697
1775
  api.add_operation(:batch_delete_scheduled_action, Seahorse::Model::Operation.new.tap do |o|
@@ -2222,6 +2300,16 @@ module Aws::AutoScaling
2222
2300
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
2223
2301
  end)
2224
2302
 
2303
+ api.add_operation(:launch_instances, Seahorse::Model::Operation.new.tap do |o|
2304
+ o.name = "LaunchInstances"
2305
+ o.http_method = "POST"
2306
+ o.http_request_uri = "/"
2307
+ o.input = Shapes::ShapeRef.new(shape: LaunchInstancesRequest)
2308
+ o.output = Shapes::ShapeRef.new(shape: LaunchInstancesResult)
2309
+ o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
2310
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchError)
2311
+ end)
2312
+
2225
2313
  api.add_operation(:put_lifecycle_hook, Seahorse::Model::Operation.new.tap do |o|
2226
2314
  o.name = "PutLifecycleHook"
2227
2315
  o.http_method = "POST"
@@ -2273,6 +2361,7 @@ module Aws::AutoScaling
2273
2361
  o.output = Shapes::ShapeRef.new(shape: PutWarmPoolAnswer)
2274
2362
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
2275
2363
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
2364
+ o.errors << Shapes::ShapeRef.new(shape: InstanceRefreshInProgressFault)
2276
2365
  end)
2277
2366
 
2278
2367
  api.add_operation(:record_lifecycle_action_heartbeat, Seahorse::Model::Operation.new.tap do |o|
@@ -31,6 +31,8 @@ module Aws::AutoScaling
31
31
  # * This error class is not used. `ActiveInstanceRefreshNotFound` is used during parsing instead.
32
32
  # * {AlreadyExistsFault}
33
33
  # * This error class is not used. `AlreadyExists` is used during parsing instead.
34
+ # * {IdempotentParameterMismatchError}
35
+ # * This error class is not used. `IdempotentParameterMismatch` is used during parsing instead.
34
36
  # * {InstanceRefreshInProgressFault}
35
37
  # * This error class is not used. `InstanceRefreshInProgress` is used during parsing instead.
36
38
  # * {InvalidNextToken}
@@ -86,6 +88,23 @@ module Aws::AutoScaling
86
88
  end
87
89
  end
88
90
 
91
+ # @deprecated This error class is not used during parsing.
92
+ # Please use `IdempotentParameterMismatch` instead.
93
+ class IdempotentParameterMismatchError < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::AutoScaling::Types::IdempotentParameterMismatchError] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+ end
107
+
89
108
  # @deprecated This error class is not used during parsing.
90
109
  # Please use `InstanceRefreshInProgress` instead.
91
110
  class InstanceRefreshInProgressFault < ServiceError
@@ -99,6 +99,28 @@ module Aws::AutoScaling
99
99
  data[:launch_template]
100
100
  end
101
101
 
102
+ # The ID of the Amazon Machine Image (AMI) associated with the instance.
103
+ # This field shows the current AMI ID of the instance's root volume. It
104
+ # may differ from the original AMI used when the instance was first
105
+ # launched.
106
+ #
107
+ # This field appears for:
108
+ #
109
+ # * Instances with root volume replacements through Instance Refresh
110
+ #
111
+ # * Instances launched with AMI overrides
112
+ #
113
+ # This field won't appear for:
114
+ #
115
+ # * Existing instances launched from Launch Templates without overrides
116
+ #
117
+ # * Existing instances that didn’t have their root volume replaced
118
+ # through Instance Refresh
119
+ # @return [String]
120
+ def image_id
121
+ data[:image_id]
122
+ end
123
+
102
124
  # Indicates whether the instance is protected from termination by Amazon
103
125
  # EC2 Auto Scaling when scaling in.
104
126
  # @return [Boolean]
@@ -123,6 +123,7 @@ module Aws::AutoScaling
123
123
  # },
124
124
  # },
125
125
  # },
126
+ # image_id: "ImageId",
126
127
  # },
127
128
  # ],
128
129
  # },
@@ -200,6 +201,11 @@ module Aws::AutoScaling
200
201
  # capacity_reservation_resource_group_arns: ["ResourceName"],
201
202
  # },
202
203
  # },
204
+ # instance_lifecycle_policy: {
205
+ # retention_triggers: {
206
+ # terminate_hook_abandon: "retain", # accepts retain, terminate
207
+ # },
208
+ # },
203
209
  # })
204
210
  # @param [Hash] options ({})
205
211
  # @option options [required, String] :auto_scaling_group_name
@@ -508,6 +514,17 @@ module Aws::AutoScaling
508
514
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
509
515
  # @option options [Types::CapacityReservationSpecification] :capacity_reservation_specification
510
516
  # The capacity reservation specification for the Auto Scaling group.
517
+ # @option options [Types::InstanceLifecyclePolicy] :instance_lifecycle_policy
518
+ # The instance lifecycle policy for the Auto Scaling group. This policy
519
+ # controls instance behavior when an instance transitions through its
520
+ # lifecycle states. Configure retention triggers to specify when
521
+ # instances should move to a `Retained` state for manual intervention
522
+ # instead of automatic termination.
523
+ #
524
+ # <note markdown="1"> Instances in a Retained state will continue to incur standard EC2
525
+ # charges until terminated.
526
+ #
527
+ # </note>
511
528
  # @return [AutoScalingGroup]
512
529
  def create_group(options = {})
513
530
  Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do