aws-sdk-autoscaling 1.51.0 → 1.56.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,6 +37,7 @@ module Aws::AutoScaling
37
37
  AutoScalingGroupMinSize = Shapes::IntegerShape.new(name: 'AutoScalingGroupMinSize')
38
38
  AutoScalingGroupNames = Shapes::ListShape.new(name: 'AutoScalingGroupNames')
39
39
  AutoScalingGroupNamesType = Shapes::StructureShape.new(name: 'AutoScalingGroupNamesType')
40
+ AutoScalingGroupState = Shapes::StringShape.new(name: 'AutoScalingGroupState')
40
41
  AutoScalingGroups = Shapes::ListShape.new(name: 'AutoScalingGroups')
41
42
  AutoScalingGroupsType = Shapes::StructureShape.new(name: 'AutoScalingGroupsType')
42
43
  AutoScalingInstanceDetails = Shapes::StructureShape.new(name: 'AutoScalingInstanceDetails')
@@ -122,6 +123,7 @@ module Aws::AutoScaling
122
123
  HealthCheckGracePeriod = Shapes::IntegerShape.new(name: 'HealthCheckGracePeriod')
123
124
  HeartbeatTimeout = Shapes::IntegerShape.new(name: 'HeartbeatTimeout')
124
125
  HonorCooldown = Shapes::BooleanShape.new(name: 'HonorCooldown')
126
+ IncludeDeletedGroups = Shapes::BooleanShape.new(name: 'IncludeDeletedGroups')
125
127
  Instance = Shapes::StructureShape.new(name: 'Instance')
126
128
  InstanceIds = Shapes::ListShape.new(name: 'InstanceIds')
127
129
  InstanceMetadataEndpointState = Shapes::StringShape.new(name: 'InstanceMetadataEndpointState')
@@ -296,6 +298,8 @@ module Aws::AutoScaling
296
298
  Activity.add_member(:status_message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "StatusMessage"))
297
299
  Activity.add_member(:progress, Shapes::ShapeRef.new(shape: Progress, location_name: "Progress"))
298
300
  Activity.add_member(:details, Shapes::ShapeRef.new(shape: XmlString, location_name: "Details"))
301
+ Activity.add_member(:auto_scaling_group_state, Shapes::ShapeRef.new(shape: AutoScalingGroupState, location_name: "AutoScalingGroupState"))
302
+ Activity.add_member(:auto_scaling_group_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "AutoScalingGroupARN"))
299
303
  Activity.struct_class = Types::Activity
300
304
 
301
305
  ActivityIds.member = Shapes::ShapeRef.new(shape: XmlString)
@@ -318,18 +322,18 @@ module Aws::AutoScaling
318
322
  AlreadyExistsFault.struct_class = Types::AlreadyExistsFault
319
323
 
320
324
  AttachInstancesQuery.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, location_name: "InstanceIds"))
321
- AttachInstancesQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
325
+ AttachInstancesQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
322
326
  AttachInstancesQuery.struct_class = Types::AttachInstancesQuery
323
327
 
324
328
  AttachLoadBalancerTargetGroupsResultType.struct_class = Types::AttachLoadBalancerTargetGroupsResultType
325
329
 
326
- AttachLoadBalancerTargetGroupsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
330
+ AttachLoadBalancerTargetGroupsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
327
331
  AttachLoadBalancerTargetGroupsType.add_member(:target_group_arns, Shapes::ShapeRef.new(shape: TargetGroupARNs, required: true, location_name: "TargetGroupARNs"))
328
332
  AttachLoadBalancerTargetGroupsType.struct_class = Types::AttachLoadBalancerTargetGroupsType
329
333
 
330
334
  AttachLoadBalancersResultType.struct_class = Types::AttachLoadBalancersResultType
331
335
 
332
- AttachLoadBalancersType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
336
+ AttachLoadBalancersType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
333
337
  AttachLoadBalancersType.add_member(:load_balancer_names, Shapes::ShapeRef.new(shape: LoadBalancerNames, required: true, location_name: "LoadBalancerNames"))
334
338
  AttachLoadBalancersType.struct_class = Types::AttachLoadBalancersType
335
339
 
@@ -362,7 +366,7 @@ module Aws::AutoScaling
362
366
  AutoScalingGroup.add_member(:capacity_rebalance, Shapes::ShapeRef.new(shape: CapacityRebalanceEnabled, location_name: "CapacityRebalance"))
363
367
  AutoScalingGroup.struct_class = Types::AutoScalingGroup
364
368
 
365
- AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: ResourceName)
369
+ AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
366
370
 
367
371
  AutoScalingGroupNamesType.add_member(:auto_scaling_group_names, Shapes::ShapeRef.new(shape: AutoScalingGroupNames, location_name: "AutoScalingGroupNames"))
368
372
  AutoScalingGroupNamesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
@@ -400,14 +404,14 @@ module Aws::AutoScaling
400
404
  BatchDeleteScheduledActionAnswer.add_member(:failed_scheduled_actions, Shapes::ShapeRef.new(shape: FailedScheduledUpdateGroupActionRequests, location_name: "FailedScheduledActions"))
401
405
  BatchDeleteScheduledActionAnswer.struct_class = Types::BatchDeleteScheduledActionAnswer
402
406
 
403
- BatchDeleteScheduledActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
407
+ BatchDeleteScheduledActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
404
408
  BatchDeleteScheduledActionType.add_member(:scheduled_action_names, Shapes::ShapeRef.new(shape: ScheduledActionNames, required: true, location_name: "ScheduledActionNames"))
405
409
  BatchDeleteScheduledActionType.struct_class = Types::BatchDeleteScheduledActionType
406
410
 
407
411
  BatchPutScheduledUpdateGroupActionAnswer.add_member(:failed_scheduled_update_group_actions, Shapes::ShapeRef.new(shape: FailedScheduledUpdateGroupActionRequests, location_name: "FailedScheduledUpdateGroupActions"))
408
412
  BatchPutScheduledUpdateGroupActionAnswer.struct_class = Types::BatchPutScheduledUpdateGroupActionAnswer
409
413
 
410
- BatchPutScheduledUpdateGroupActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
414
+ BatchPutScheduledUpdateGroupActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
411
415
  BatchPutScheduledUpdateGroupActionType.add_member(:scheduled_update_group_actions, Shapes::ShapeRef.new(shape: ScheduledUpdateGroupActionRequests, required: true, location_name: "ScheduledUpdateGroupActions"))
412
416
  BatchPutScheduledUpdateGroupActionType.struct_class = Types::BatchPutScheduledUpdateGroupActionType
413
417
 
@@ -437,7 +441,7 @@ module Aws::AutoScaling
437
441
  CompleteLifecycleActionType.struct_class = Types::CompleteLifecycleActionType
438
442
 
439
443
  CreateAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
440
- CreateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "LaunchConfigurationName"))
444
+ CreateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchConfigurationName"))
441
445
  CreateAutoScalingGroupType.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
442
446
  CreateAutoScalingGroupType.add_member(:mixed_instances_policy, Shapes::ShapeRef.new(shape: MixedInstancesPolicy, location_name: "MixedInstancesPolicy"))
443
447
  CreateAutoScalingGroupType.add_member(:instance_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen19, location_name: "InstanceId"))
@@ -492,26 +496,26 @@ module Aws::AutoScaling
492
496
  CustomizedMetricSpecification.add_member(:unit, Shapes::ShapeRef.new(shape: MetricUnit, location_name: "Unit"))
493
497
  CustomizedMetricSpecification.struct_class = Types::CustomizedMetricSpecification
494
498
 
495
- DeleteAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
499
+ DeleteAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
496
500
  DeleteAutoScalingGroupType.add_member(:force_delete, Shapes::ShapeRef.new(shape: ForceDelete, location_name: "ForceDelete"))
497
501
  DeleteAutoScalingGroupType.struct_class = Types::DeleteAutoScalingGroupType
498
502
 
499
503
  DeleteLifecycleHookAnswer.struct_class = Types::DeleteLifecycleHookAnswer
500
504
 
501
505
  DeleteLifecycleHookType.add_member(:lifecycle_hook_name, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, required: true, location_name: "LifecycleHookName"))
502
- DeleteLifecycleHookType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
506
+ DeleteLifecycleHookType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
503
507
  DeleteLifecycleHookType.struct_class = Types::DeleteLifecycleHookType
504
508
 
505
- DeleteNotificationConfigurationType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
506
- DeleteNotificationConfigurationType.add_member(:topic_arn, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TopicARN"))
509
+ DeleteNotificationConfigurationType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
510
+ DeleteNotificationConfigurationType.add_member(:topic_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "TopicARN"))
507
511
  DeleteNotificationConfigurationType.struct_class = Types::DeleteNotificationConfigurationType
508
512
 
509
- DeletePolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "AutoScalingGroupName"))
513
+ DeletePolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
510
514
  DeletePolicyType.add_member(:policy_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "PolicyName"))
511
515
  DeletePolicyType.struct_class = Types::DeletePolicyType
512
516
 
513
- DeleteScheduledActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
514
- DeleteScheduledActionType.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ScheduledActionName"))
517
+ DeleteScheduledActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
518
+ DeleteScheduledActionType.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "ScheduledActionName"))
515
519
  DeleteScheduledActionType.struct_class = Types::DeleteScheduledActionType
516
520
 
517
521
  DeleteTagsType.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
@@ -550,11 +554,11 @@ module Aws::AutoScaling
550
554
  DescribeLifecycleHooksAnswer.add_member(:lifecycle_hooks, Shapes::ShapeRef.new(shape: LifecycleHooks, location_name: "LifecycleHooks"))
551
555
  DescribeLifecycleHooksAnswer.struct_class = Types::DescribeLifecycleHooksAnswer
552
556
 
553
- DescribeLifecycleHooksType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
557
+ DescribeLifecycleHooksType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
554
558
  DescribeLifecycleHooksType.add_member(:lifecycle_hook_names, Shapes::ShapeRef.new(shape: LifecycleHookNames, location_name: "LifecycleHookNames"))
555
559
  DescribeLifecycleHooksType.struct_class = Types::DescribeLifecycleHooksType
556
560
 
557
- DescribeLoadBalancerTargetGroupsRequest.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
561
+ DescribeLoadBalancerTargetGroupsRequest.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
558
562
  DescribeLoadBalancerTargetGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
559
563
  DescribeLoadBalancerTargetGroupsRequest.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
560
564
  DescribeLoadBalancerTargetGroupsRequest.struct_class = Types::DescribeLoadBalancerTargetGroupsRequest
@@ -563,7 +567,7 @@ module Aws::AutoScaling
563
567
  DescribeLoadBalancerTargetGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
564
568
  DescribeLoadBalancerTargetGroupsResponse.struct_class = Types::DescribeLoadBalancerTargetGroupsResponse
565
569
 
566
- DescribeLoadBalancersRequest.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
570
+ DescribeLoadBalancersRequest.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
567
571
  DescribeLoadBalancersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
568
572
  DescribeLoadBalancersRequest.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
569
573
  DescribeLoadBalancersRequest.struct_class = Types::DescribeLoadBalancersRequest
@@ -585,7 +589,7 @@ module Aws::AutoScaling
585
589
  DescribeNotificationConfigurationsType.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
586
590
  DescribeNotificationConfigurationsType.struct_class = Types::DescribeNotificationConfigurationsType
587
591
 
588
- DescribePoliciesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "AutoScalingGroupName"))
592
+ DescribePoliciesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
589
593
  DescribePoliciesType.add_member(:policy_names, Shapes::ShapeRef.new(shape: PolicyNames, location_name: "PolicyNames"))
590
594
  DescribePoliciesType.add_member(:policy_types, Shapes::ShapeRef.new(shape: PolicyTypes, location_name: "PolicyTypes"))
591
595
  DescribePoliciesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
@@ -593,12 +597,13 @@ module Aws::AutoScaling
593
597
  DescribePoliciesType.struct_class = Types::DescribePoliciesType
594
598
 
595
599
  DescribeScalingActivitiesType.add_member(:activity_ids, Shapes::ShapeRef.new(shape: ActivityIds, location_name: "ActivityIds"))
596
- DescribeScalingActivitiesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "AutoScalingGroupName"))
600
+ DescribeScalingActivitiesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
601
+ DescribeScalingActivitiesType.add_member(:include_deleted_groups, Shapes::ShapeRef.new(shape: IncludeDeletedGroups, location_name: "IncludeDeletedGroups"))
597
602
  DescribeScalingActivitiesType.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
598
603
  DescribeScalingActivitiesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
599
604
  DescribeScalingActivitiesType.struct_class = Types::DescribeScalingActivitiesType
600
605
 
601
- DescribeScheduledActionsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "AutoScalingGroupName"))
606
+ DescribeScheduledActionsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
602
607
  DescribeScheduledActionsType.add_member(:scheduled_action_names, Shapes::ShapeRef.new(shape: ScheduledActionNames, location_name: "ScheduledActionNames"))
603
608
  DescribeScheduledActionsType.add_member(:start_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "StartTime"))
604
609
  DescribeScheduledActionsType.add_member(:end_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "EndTime"))
@@ -618,23 +623,23 @@ module Aws::AutoScaling
618
623
  DetachInstancesAnswer.struct_class = Types::DetachInstancesAnswer
619
624
 
620
625
  DetachInstancesQuery.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, location_name: "InstanceIds"))
621
- DetachInstancesQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
626
+ DetachInstancesQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
622
627
  DetachInstancesQuery.add_member(:should_decrement_desired_capacity, Shapes::ShapeRef.new(shape: ShouldDecrementDesiredCapacity, required: true, location_name: "ShouldDecrementDesiredCapacity"))
623
628
  DetachInstancesQuery.struct_class = Types::DetachInstancesQuery
624
629
 
625
630
  DetachLoadBalancerTargetGroupsResultType.struct_class = Types::DetachLoadBalancerTargetGroupsResultType
626
631
 
627
- DetachLoadBalancerTargetGroupsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
632
+ DetachLoadBalancerTargetGroupsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
628
633
  DetachLoadBalancerTargetGroupsType.add_member(:target_group_arns, Shapes::ShapeRef.new(shape: TargetGroupARNs, required: true, location_name: "TargetGroupARNs"))
629
634
  DetachLoadBalancerTargetGroupsType.struct_class = Types::DetachLoadBalancerTargetGroupsType
630
635
 
631
636
  DetachLoadBalancersResultType.struct_class = Types::DetachLoadBalancersResultType
632
637
 
633
- DetachLoadBalancersType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
638
+ DetachLoadBalancersType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
634
639
  DetachLoadBalancersType.add_member(:load_balancer_names, Shapes::ShapeRef.new(shape: LoadBalancerNames, required: true, location_name: "LoadBalancerNames"))
635
640
  DetachLoadBalancersType.struct_class = Types::DetachLoadBalancersType
636
641
 
637
- DisableMetricsCollectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
642
+ DisableMetricsCollectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
638
643
  DisableMetricsCollectionQuery.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
639
644
  DisableMetricsCollectionQuery.struct_class = Types::DisableMetricsCollectionQuery
640
645
 
@@ -646,7 +651,7 @@ module Aws::AutoScaling
646
651
  Ebs.add_member(:encrypted, Shapes::ShapeRef.new(shape: BlockDeviceEbsEncrypted, location_name: "Encrypted"))
647
652
  Ebs.struct_class = Types::Ebs
648
653
 
649
- EnableMetricsCollectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
654
+ EnableMetricsCollectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
650
655
  EnableMetricsCollectionQuery.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
651
656
  EnableMetricsCollectionQuery.add_member(:granularity, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "Granularity"))
652
657
  EnableMetricsCollectionQuery.struct_class = Types::EnableMetricsCollectionQuery
@@ -661,11 +666,11 @@ module Aws::AutoScaling
661
666
  EnterStandbyAnswer.struct_class = Types::EnterStandbyAnswer
662
667
 
663
668
  EnterStandbyQuery.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, location_name: "InstanceIds"))
664
- EnterStandbyQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
669
+ EnterStandbyQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
665
670
  EnterStandbyQuery.add_member(:should_decrement_desired_capacity, Shapes::ShapeRef.new(shape: ShouldDecrementDesiredCapacity, required: true, location_name: "ShouldDecrementDesiredCapacity"))
666
671
  EnterStandbyQuery.struct_class = Types::EnterStandbyQuery
667
672
 
668
- ExecutePolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "AutoScalingGroupName"))
673
+ ExecutePolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
669
674
  ExecutePolicyType.add_member(:policy_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "PolicyName"))
670
675
  ExecutePolicyType.add_member(:honor_cooldown, Shapes::ShapeRef.new(shape: HonorCooldown, location_name: "HonorCooldown"))
671
676
  ExecutePolicyType.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricScale, location_name: "MetricValue"))
@@ -676,7 +681,7 @@ module Aws::AutoScaling
676
681
  ExitStandbyAnswer.struct_class = Types::ExitStandbyAnswer
677
682
 
678
683
  ExitStandbyQuery.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, location_name: "InstanceIds"))
679
- ExitStandbyQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
684
+ ExitStandbyQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
680
685
  ExitStandbyQuery.struct_class = Types::ExitStandbyQuery
681
686
 
682
687
  FailedScheduledUpdateGroupActionRequest.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "ScheduledActionName"))
@@ -765,10 +770,10 @@ module Aws::AutoScaling
765
770
  LaunchConfiguration.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "MetadataOptions"))
766
771
  LaunchConfiguration.struct_class = Types::LaunchConfiguration
767
772
 
768
- LaunchConfigurationNameType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "LaunchConfigurationName"))
773
+ LaunchConfigurationNameType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
769
774
  LaunchConfigurationNameType.struct_class = Types::LaunchConfigurationNameType
770
775
 
771
- LaunchConfigurationNames.member = Shapes::ShapeRef.new(shape: ResourceName)
776
+ LaunchConfigurationNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
772
777
 
773
778
  LaunchConfigurationNamesType.add_member(:launch_configuration_names, Shapes::ShapeRef.new(shape: LaunchConfigurationNames, location_name: "LaunchConfigurationNames"))
774
779
  LaunchConfigurationNamesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
@@ -796,10 +801,10 @@ module Aws::AutoScaling
796
801
  LaunchTemplateSpecification.struct_class = Types::LaunchTemplateSpecification
797
802
 
798
803
  LifecycleHook.add_member(:lifecycle_hook_name, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, location_name: "LifecycleHookName"))
799
- LifecycleHook.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "AutoScalingGroupName"))
804
+ LifecycleHook.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
800
805
  LifecycleHook.add_member(:lifecycle_transition, Shapes::ShapeRef.new(shape: LifecycleTransition, location_name: "LifecycleTransition"))
801
- LifecycleHook.add_member(:notification_target_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "NotificationTargetARN"))
802
- LifecycleHook.add_member(:role_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "RoleARN"))
806
+ LifecycleHook.add_member(:notification_target_arn, Shapes::ShapeRef.new(shape: NotificationTargetResourceName, location_name: "NotificationTargetARN"))
807
+ LifecycleHook.add_member(:role_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "RoleARN"))
803
808
  LifecycleHook.add_member(:notification_metadata, Shapes::ShapeRef.new(shape: XmlStringMaxLen1023, location_name: "NotificationMetadata"))
804
809
  LifecycleHook.add_member(:heartbeat_timeout, Shapes::ShapeRef.new(shape: HeartbeatTimeout, location_name: "HeartbeatTimeout"))
805
810
  LifecycleHook.add_member(:global_timeout, Shapes::ShapeRef.new(shape: GlobalTimeout, location_name: "GlobalTimeout"))
@@ -814,7 +819,7 @@ module Aws::AutoScaling
814
819
  LifecycleHookSpecification.add_member(:heartbeat_timeout, Shapes::ShapeRef.new(shape: HeartbeatTimeout, location_name: "HeartbeatTimeout"))
815
820
  LifecycleHookSpecification.add_member(:default_result, Shapes::ShapeRef.new(shape: LifecycleActionResult, location_name: "DefaultResult"))
816
821
  LifecycleHookSpecification.add_member(:notification_target_arn, Shapes::ShapeRef.new(shape: NotificationTargetResourceName, location_name: "NotificationTargetARN"))
817
- LifecycleHookSpecification.add_member(:role_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "RoleARN"))
822
+ LifecycleHookSpecification.add_member(:role_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "RoleARN"))
818
823
  LifecycleHookSpecification.struct_class = Types::LifecycleHookSpecification
819
824
 
820
825
  LifecycleHookSpecifications.member = Shapes::ShapeRef.new(shape: LifecycleHookSpecification)
@@ -860,8 +865,8 @@ module Aws::AutoScaling
860
865
  MixedInstancesPolicy.add_member(:instances_distribution, Shapes::ShapeRef.new(shape: InstancesDistribution, location_name: "InstancesDistribution"))
861
866
  MixedInstancesPolicy.struct_class = Types::MixedInstancesPolicy
862
867
 
863
- NotificationConfiguration.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "AutoScalingGroupName"))
864
- NotificationConfiguration.add_member(:topic_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "TopicARN"))
868
+ NotificationConfiguration.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
869
+ NotificationConfiguration.add_member(:topic_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "TopicARN"))
865
870
  NotificationConfiguration.add_member(:notification_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "NotificationType"))
866
871
  NotificationConfiguration.struct_class = Types::NotificationConfiguration
867
872
 
@@ -898,21 +903,21 @@ module Aws::AutoScaling
898
903
  PutLifecycleHookAnswer.struct_class = Types::PutLifecycleHookAnswer
899
904
 
900
905
  PutLifecycleHookType.add_member(:lifecycle_hook_name, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, required: true, location_name: "LifecycleHookName"))
901
- PutLifecycleHookType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
906
+ PutLifecycleHookType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
902
907
  PutLifecycleHookType.add_member(:lifecycle_transition, Shapes::ShapeRef.new(shape: LifecycleTransition, location_name: "LifecycleTransition"))
903
- PutLifecycleHookType.add_member(:role_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "RoleARN"))
908
+ PutLifecycleHookType.add_member(:role_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "RoleARN"))
904
909
  PutLifecycleHookType.add_member(:notification_target_arn, Shapes::ShapeRef.new(shape: NotificationTargetResourceName, location_name: "NotificationTargetARN"))
905
910
  PutLifecycleHookType.add_member(:notification_metadata, Shapes::ShapeRef.new(shape: XmlStringMaxLen1023, location_name: "NotificationMetadata"))
906
911
  PutLifecycleHookType.add_member(:heartbeat_timeout, Shapes::ShapeRef.new(shape: HeartbeatTimeout, location_name: "HeartbeatTimeout"))
907
912
  PutLifecycleHookType.add_member(:default_result, Shapes::ShapeRef.new(shape: LifecycleActionResult, location_name: "DefaultResult"))
908
913
  PutLifecycleHookType.struct_class = Types::PutLifecycleHookType
909
914
 
910
- PutNotificationConfigurationType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
911
- PutNotificationConfigurationType.add_member(:topic_arn, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TopicARN"))
915
+ PutNotificationConfigurationType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
916
+ PutNotificationConfigurationType.add_member(:topic_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "TopicARN"))
912
917
  PutNotificationConfigurationType.add_member(:notification_types, Shapes::ShapeRef.new(shape: AutoScalingNotificationTypes, required: true, location_name: "NotificationTypes"))
913
918
  PutNotificationConfigurationType.struct_class = Types::PutNotificationConfigurationType
914
919
 
915
- PutScalingPolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
920
+ PutScalingPolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
916
921
  PutScalingPolicyType.add_member(:policy_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "PolicyName"))
917
922
  PutScalingPolicyType.add_member(:policy_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen64, location_name: "PolicyType"))
918
923
  PutScalingPolicyType.add_member(:adjustment_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AdjustmentType"))
@@ -927,7 +932,7 @@ module Aws::AutoScaling
927
932
  PutScalingPolicyType.add_member(:enabled, Shapes::ShapeRef.new(shape: ScalingPolicyEnabled, location_name: "Enabled"))
928
933
  PutScalingPolicyType.struct_class = Types::PutScalingPolicyType
929
934
 
930
- PutScheduledUpdateGroupActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
935
+ PutScheduledUpdateGroupActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
931
936
  PutScheduledUpdateGroupActionType.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "ScheduledActionName"))
932
937
  PutScheduledUpdateGroupActionType.add_member(:time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "Time"))
933
938
  PutScheduledUpdateGroupActionType.add_member(:start_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "StartTime"))
@@ -978,11 +983,11 @@ module Aws::AutoScaling
978
983
  ScalingPolicy.add_member(:enabled, Shapes::ShapeRef.new(shape: ScalingPolicyEnabled, location_name: "Enabled"))
979
984
  ScalingPolicy.struct_class = Types::ScalingPolicy
980
985
 
981
- ScalingProcessQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
986
+ ScalingProcessQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
982
987
  ScalingProcessQuery.add_member(:scaling_processes, Shapes::ShapeRef.new(shape: ProcessNames, location_name: "ScalingProcesses"))
983
988
  ScalingProcessQuery.struct_class = Types::ScalingProcessQuery
984
989
 
985
- ScheduledActionNames.member = Shapes::ShapeRef.new(shape: ResourceName)
990
+ ScheduledActionNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
986
991
 
987
992
  ScheduledActionsType.add_member(:scheduled_update_group_actions, Shapes::ShapeRef.new(shape: ScheduledUpdateGroupActions, location_name: "ScheduledUpdateGroupActions"))
988
993
  ScheduledActionsType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
@@ -1018,7 +1023,7 @@ module Aws::AutoScaling
1018
1023
  ServiceLinkedRoleFailure.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
1019
1024
  ServiceLinkedRoleFailure.struct_class = Types::ServiceLinkedRoleFailure
1020
1025
 
1021
- SetDesiredCapacityType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
1026
+ SetDesiredCapacityType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
1022
1027
  SetDesiredCapacityType.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: AutoScalingGroupDesiredCapacity, required: true, location_name: "DesiredCapacity"))
1023
1028
  SetDesiredCapacityType.add_member(:honor_cooldown, Shapes::ShapeRef.new(shape: HonorCooldown, location_name: "HonorCooldown"))
1024
1029
  SetDesiredCapacityType.struct_class = Types::SetDesiredCapacityType
@@ -1031,7 +1036,7 @@ module Aws::AutoScaling
1031
1036
  SetInstanceProtectionAnswer.struct_class = Types::SetInstanceProtectionAnswer
1032
1037
 
1033
1038
  SetInstanceProtectionQuery.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, required: true, location_name: "InstanceIds"))
1034
- SetInstanceProtectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
1039
+ SetInstanceProtectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
1035
1040
  SetInstanceProtectionQuery.add_member(:protected_from_scale_in, Shapes::ShapeRef.new(shape: ProtectedFromScaleIn, required: true, location_name: "ProtectedFromScaleIn"))
1036
1041
  SetInstanceProtectionQuery.struct_class = Types::SetInstanceProtectionQuery
1037
1042
 
@@ -1092,8 +1097,8 @@ module Aws::AutoScaling
1092
1097
 
1093
1098
  TerminationPolicies.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen1600)
1094
1099
 
1095
- UpdateAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
1096
- UpdateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "LaunchConfigurationName"))
1100
+ UpdateAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
1101
+ UpdateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchConfigurationName"))
1097
1102
  UpdateAutoScalingGroupType.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
1098
1103
  UpdateAutoScalingGroupType.add_member(:mixed_instances_policy, Shapes::ShapeRef.new(shape: MixedInstancesPolicy, location_name: "MixedInstancesPolicy"))
1099
1104
  UpdateAutoScalingGroupType.add_member(:min_size, Shapes::ShapeRef.new(shape: AutoScalingGroupMinSize, location_name: "MinSize"))
@@ -56,7 +56,18 @@ module Aws::AutoScaling
56
56
  data[:availability_zone]
57
57
  end
58
58
 
59
- # The lifecycle state for the instance.
59
+ # The lifecycle state for the instance. The `Quarantined` state is not
60
+ # used. For information about lifecycle states, see [Instance
61
+ # lifecycle][1] in the *Amazon EC2 Auto Scaling User Guide*.
62
+ #
63
+ # Valid Values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
64
+ # `Quarantined` \| `InService` \| `Terminating` \| `Terminating:Wait` \|
65
+ # `Terminating:Proceed` \| `Terminated` \| `Detaching` \| `Detached` \|
66
+ # `EnteringStandby` \| `Standby`
67
+ #
68
+ #
69
+ #
70
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html
60
71
  # @return [String]
61
72
  def lifecycle_state
62
73
  data[:lifecycle_state]
@@ -108,13 +108,17 @@ module Aws::AutoScaling
108
108
  data[:classic_link_vpc_security_groups]
109
109
  end
110
110
 
111
- # The Base64-encoded user data to make available to the launched EC2
112
- # instances. For more information, see [Instance metadata and user
113
- # data][1] in the *Amazon EC2 User Guide for Linux Instances*.
111
+ # The user data to make available to the launched EC2 instances. For
112
+ # more information, see [Instance metadata and user data][1] (Linux) and
113
+ # [Instance metadata and user data][2] (Windows). If you are using a
114
+ # command line tool, base64-encoding is performed for you, and you can
115
+ # load the text from a file. Otherwise, you must provide base64-encoded
116
+ # text. User data is limited to 16 KB.
114
117
  #
115
118
  #
116
119
  #
117
120
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
121
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html
118
122
  # @return [String]
119
123
  def user_data
120
124
  data[:user_data]
@@ -123,7 +127,7 @@ module Aws::AutoScaling
123
127
  # The instance type for the instances.
124
128
  #
125
129
  # For information about available instance types, see [Available
126
- # Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances.*
130
+ # Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances*.
127
131
  #
128
132
  #
129
133
  #
@@ -286,7 +286,7 @@ module Aws::AutoScaling
286
286
  #
287
287
  # lifecycle_hook.put({
288
288
  # lifecycle_transition: "LifecycleTransition",
289
- # role_arn: "ResourceName",
289
+ # role_arn: "XmlStringMaxLen255",
290
290
  # notification_target_arn: "NotificationTargetResourceName",
291
291
  # notification_metadata: "XmlStringMaxLen1023",
292
292
  # heartbeat_timeout: 1,
@@ -39,7 +39,7 @@ module Aws::AutoScaling
39
39
  #
40
40
  # autoscalinggroup = auto_scaling.create_group({
41
41
  # auto_scaling_group_name: "XmlStringMaxLen255", # required
42
- # launch_configuration_name: "ResourceName",
42
+ # launch_configuration_name: "XmlStringMaxLen255",
43
43
  # launch_template: {
44
44
  # launch_template_id: "XmlStringMaxLen255",
45
45
  # launch_template_name: "LaunchTemplateName",
@@ -96,7 +96,7 @@ module Aws::AutoScaling
96
96
  # heartbeat_timeout: 1,
97
97
  # default_result: "LifecycleActionResult",
98
98
  # notification_target_arn: "NotificationTargetResourceName",
99
- # role_arn: "ResourceName",
99
+ # role_arn: "XmlStringMaxLen255",
100
100
  # },
101
101
  # ],
102
102
  # tags: [
@@ -122,8 +122,8 @@ module Aws::AutoScaling
122
122
  # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
123
123
  # (`LaunchConfigurationName` or `InstanceId`).
124
124
  # @option options [Types::LaunchTemplateSpecification] :launch_template
125
- # Parameters used to specify the [launch template][1] and version to use
126
- # to launch instances.
125
+ # Parameters used to specify the launch template and version to use to
126
+ # launch instances.
127
127
  #
128
128
  # Conditional: You must specify either a launch template
129
129
  # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
@@ -131,25 +131,24 @@ module Aws::AutoScaling
131
131
  #
132
132
  # <note markdown="1"> The launch template that is specified must be configured for use with
133
133
  # an Auto Scaling group. For more information, see [Creating a launch
134
- # template for an Auto Scaling group][2] in the *Amazon EC2 Auto Scaling
134
+ # template for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
135
135
  # User Guide*.
136
136
  #
137
137
  # </note>
138
138
  #
139
139
  #
140
140
  #
141
- # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html
142
- # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
141
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
143
142
  # @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
144
143
  # An embedded object that specifies a mixed instances policy. The
145
- # required parameters must be specified. If optional parameters are
144
+ # required properties must be specified. If optional properties are
146
145
  # unspecified, their default values are used.
147
146
  #
148
- # The policy includes parameters that not only define the distribution
147
+ # The policy includes properties that not only define the distribution
149
148
  # of On-Demand Instances and Spot Instances, the maximum price to pay
150
149
  # for Spot Instances, and how the Auto Scaling group allocates instance
151
150
  # types to fulfill On-Demand and Spot capacities, but also the
152
- # parameters that specify the instance configuration information—the
151
+ # properties that specify the instance configuration information—the
153
152
  # launch template and instance types. The policy can also include a
154
153
  # weight for each instance type and different launch templates for
155
154
  # individual instance types. For more information, see [Auto Scaling
@@ -456,13 +455,17 @@ module Aws::AutoScaling
456
455
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
457
456
  # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
458
457
  # @option options [String] :user_data
459
- # The Base64-encoded user data to make available to the launched EC2
460
- # instances. For more information, see [Instance metadata and user
461
- # data][1] in the *Amazon EC2 User Guide for Linux Instances*.
458
+ # The user data to make available to the launched EC2 instances. For
459
+ # more information, see [Instance metadata and user data][1] (Linux) and
460
+ # [Instance metadata and user data][2] (Windows). If you are using a
461
+ # command line tool, base64-encoding is performed for you, and you can
462
+ # load the text from a file. Otherwise, you must provide base64-encoded
463
+ # text. User data is limited to 16 KB.
462
464
  #
463
465
  #
464
466
  #
465
467
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
468
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html
466
469
  # @option options [String] :instance_id
467
470
  # The ID of the instance to use to create the launch configuration. The
468
471
  # new launch configuration derives attributes from the instance, except
@@ -485,7 +488,7 @@ module Aws::AutoScaling
485
488
  # Specifies the instance type of the EC2 instance.
486
489
  #
487
490
  # For information about available instance types, see [Available
488
- # Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances.*
491
+ # Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances*.
489
492
  #
490
493
  # If you do not specify `InstanceId`, you must specify `InstanceType`.
491
494
  #
@@ -629,7 +632,8 @@ module Aws::AutoScaling
629
632
  #
630
633
  # activities = auto_scaling.activities({
631
634
  # activity_ids: ["XmlString"],
632
- # auto_scaling_group_name: "ResourceName",
635
+ # auto_scaling_group_name: "XmlStringMaxLen255",
636
+ # include_deleted_groups: false,
633
637
  # })
634
638
  # @param [Hash] options ({})
635
639
  # @option options [Array<String>] :activity_ids
@@ -640,6 +644,9 @@ module Aws::AutoScaling
640
644
  # results are limited to that group.
641
645
  # @option options [String] :auto_scaling_group_name
642
646
  # The name of the Auto Scaling group.
647
+ # @option options [Boolean] :include_deleted_groups
648
+ # Indicates whether to include scaling activity from deleted Auto
649
+ # Scaling groups.
643
650
  # @return [Activity::Collection]
644
651
  def activities(options = {})
645
652
  batches = Enumerator.new do |y|
@@ -680,7 +687,7 @@ module Aws::AutoScaling
680
687
  # @example Request syntax with placeholder values
681
688
  #
682
689
  # groups = auto_scaling.groups({
683
- # auto_scaling_group_names: ["ResourceName"],
690
+ # auto_scaling_group_names: ["XmlStringMaxLen255"],
684
691
  # })
685
692
  # @param [Hash] options ({})
686
693
  # @option options [Array<String>] :auto_scaling_group_names
@@ -750,7 +757,7 @@ module Aws::AutoScaling
750
757
  # @example Request syntax with placeholder values
751
758
  #
752
759
  # launch_configurations = auto_scaling.launch_configurations({
753
- # launch_configuration_names: ["ResourceName"],
760
+ # launch_configuration_names: ["XmlStringMaxLen255"],
754
761
  # })
755
762
  # @param [Hash] options ({})
756
763
  # @option options [Array<String>] :launch_configuration_names
@@ -778,7 +785,7 @@ module Aws::AutoScaling
778
785
  # @example Request syntax with placeholder values
779
786
  #
780
787
  # policies = auto_scaling.policies({
781
- # auto_scaling_group_name: "ResourceName",
788
+ # auto_scaling_group_name: "XmlStringMaxLen255",
782
789
  # policy_names: ["ResourceName"],
783
790
  # policy_types: ["XmlStringMaxLen64"],
784
791
  # })
@@ -833,8 +840,8 @@ module Aws::AutoScaling
833
840
  # @example Request syntax with placeholder values
834
841
  #
835
842
  # scheduled_actions = auto_scaling.scheduled_actions({
836
- # auto_scaling_group_name: "ResourceName",
837
- # scheduled_action_names: ["ResourceName"],
843
+ # auto_scaling_group_name: "XmlStringMaxLen255",
844
+ # scheduled_action_names: ["XmlStringMaxLen255"],
838
845
  # start_time: Time.now,
839
846
  # end_time: Time.now,
840
847
  # })