aws-sdk-autoscaling 1.152.0 → 1.154.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.
@@ -114,6 +114,9 @@ module Aws
114
114
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#instance_maintenance_policy-instance_method
115
115
  def instance_maintenance_policy: () -> Types::InstanceMaintenancePolicy
116
116
 
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#deletion_protection-instance_method
118
+ def deletion_protection: () -> ("none" | "prevent-force-deletion" | "prevent-all-deletion")
119
+
117
120
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#availability_zone_distribution-instance_method
118
121
  def availability_zone_distribution: () -> Types::AvailabilityZoneDistribution
119
122
 
@@ -520,14 +523,21 @@ module Aws
520
523
  retention_triggers: {
521
524
  terminate_hook_abandon: ("retain" | "terminate")?
522
525
  }?
523
- }
526
+ },
527
+ ?deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion")
524
528
  ) -> AutoScalingGroup
525
529
  | (?Hash[Symbol, untyped]) -> AutoScalingGroup
526
530
 
527
531
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#activities-instance_method
528
532
  def activities: (
529
533
  ?activity_ids: Array[::String],
530
- ?include_deleted_groups: bool
534
+ ?include_deleted_groups: bool,
535
+ ?filters: Array[
536
+ {
537
+ name: ::String?,
538
+ values: Array[::String]?
539
+ },
540
+ ]
531
541
  ) -> Activity::Collection
532
542
  | (?Hash[Symbol, untyped]) -> Activity::Collection
533
543
 
data/sig/client.rbs CHANGED
@@ -304,6 +304,7 @@ module Aws
304
304
  role_arn: ::String?
305
305
  },
306
306
  ],
307
+ ?deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion"),
307
308
  ?tags: Array[
308
309
  {
309
310
  resource_id: ::String?,
@@ -658,7 +659,13 @@ module Aws
658
659
  ?auto_scaling_group_name: ::String,
659
660
  ?include_deleted_groups: bool,
660
661
  ?max_records: ::Integer,
661
- ?next_token: ::String
662
+ ?next_token: ::String,
663
+ ?filters: Array[
664
+ {
665
+ name: ::String?,
666
+ values: Array[::String]?
667
+ },
668
+ ]
662
669
  ) -> _DescribeScalingActivitiesResponseSuccess
663
670
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScalingActivitiesResponseSuccess
664
671
 
@@ -1429,7 +1436,8 @@ module Aws
1429
1436
  retention_triggers: {
1430
1437
  terminate_hook_abandon: ("retain" | "terminate")?
1431
1438
  }?
1432
- }
1439
+ },
1440
+ ?deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion")
1433
1441
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1434
1442
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1435
1443
 
data/sig/resource.rbs CHANGED
@@ -206,6 +206,7 @@ module Aws
206
206
  role_arn: ::String?
207
207
  },
208
208
  ],
209
+ ?deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion"),
209
210
  ?tags: Array[
210
211
  {
211
212
  resource_id: ::String?,
@@ -303,7 +304,13 @@ module Aws
303
304
  def activities: (
304
305
  ?activity_ids: Array[::String],
305
306
  ?auto_scaling_group_name: ::String,
306
- ?include_deleted_groups: bool
307
+ ?include_deleted_groups: bool,
308
+ ?filters: Array[
309
+ {
310
+ name: ::String?,
311
+ values: Array[::String]?
312
+ },
313
+ ]
307
314
  ) -> Activity::Collection
308
315
  | (?Hash[Symbol, untyped]) -> Activity::Collection
309
316
 
data/sig/types.rbs CHANGED
@@ -143,6 +143,7 @@ module Aws::AutoScaling
143
143
  attr_accessor default_instance_warmup: ::Integer
144
144
  attr_accessor traffic_sources: ::Array[Types::TrafficSourceIdentifier]
145
145
  attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
146
+ attr_accessor deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion")
146
147
  attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
147
148
  attr_accessor availability_zone_impairment_policy: Types::AvailabilityZoneImpairmentPolicy
148
149
  attr_accessor capacity_reservation_specification: Types::CapacityReservationSpecification
@@ -305,6 +306,7 @@ module Aws::AutoScaling
305
306
  attr_accessor new_instances_protected_from_scale_in: bool
306
307
  attr_accessor capacity_rebalance: bool
307
308
  attr_accessor lifecycle_hook_specification_list: ::Array[Types::LifecycleHookSpecification]
309
+ attr_accessor deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion")
308
310
  attr_accessor tags: ::Array[Types::Tag]
309
311
  attr_accessor service_linked_role_arn: ::String
310
312
  attr_accessor max_instance_lifetime: ::Integer
@@ -522,6 +524,7 @@ module Aws::AutoScaling
522
524
  attr_accessor include_deleted_groups: bool
523
525
  attr_accessor max_records: ::Integer
524
526
  attr_accessor next_token: ::String
527
+ attr_accessor filters: ::Array[Types::Filter]
525
528
  SENSITIVE: []
526
529
  end
527
530
 
@@ -1509,6 +1512,7 @@ module Aws::AutoScaling
1509
1512
  attr_accessor skip_zonal_shift_validation: bool
1510
1513
  attr_accessor capacity_reservation_specification: Types::CapacityReservationSpecification
1511
1514
  attr_accessor instance_lifecycle_policy: Types::InstanceLifecyclePolicy
1515
+ attr_accessor deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion")
1512
1516
  SENSITIVE: []
1513
1517
  end
1514
1518
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-autoscaling
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.152.0
4
+ version: 1.154.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services