aws-sdk-autoscaling 1.163.0 → 1.164.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +8 -0
- data/lib/aws-sdk-autoscaling/client.rb +12 -1
- data/lib/aws-sdk-autoscaling/client_api.rb +7 -0
- data/lib/aws-sdk-autoscaling/resource.rb +9 -0
- data/lib/aws-sdk-autoscaling/types.rb +36 -3
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/sig/auto_scaling_group.rbs +3 -0
- data/sig/client.rbs +3 -0
- data/sig/resource.rbs +3 -0
- data/sig/types.rbs +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2565ab9596be0d21af90da1a4ecc5ae43188560ba680c2f9868da39336c75ef2
|
|
4
|
+
data.tar.gz: 7f13b43e45cbc9a9965987b0974676122bf908894f88371bd05640be02c3fa7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9f8b557992e13eab65dd899e44750fe848aa89ebdc668c999229b44a20dc495e8b72d7e88eb759a4e089e4dd86942f935a5134fc33e401f9dc5aed54d049741
|
|
7
|
+
data.tar.gz: fc4de83b6e114019ec6d8d4c1cad60f11700bced57987b45a041cd3a11db6922dc39e06e35f92ee35f0f4cfc1f5906af22a131af3a8ca5d07caa7913e9c1de82
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.164.0
|
|
@@ -292,6 +292,14 @@ module Aws::AutoScaling
|
|
|
292
292
|
data[:instance_lifecycle_policy]
|
|
293
293
|
end
|
|
294
294
|
|
|
295
|
+
# The entity that manages the Auto Scaling group, if applicable. When
|
|
296
|
+
# set, only the designated operator can make changes to the group
|
|
297
|
+
# configuration.
|
|
298
|
+
# @return [Types::Operator]
|
|
299
|
+
def operator
|
|
300
|
+
data[:operator]
|
|
301
|
+
end
|
|
302
|
+
|
|
295
303
|
# @!endgroup
|
|
296
304
|
|
|
297
305
|
# @return [Client]
|
|
@@ -1422,6 +1422,13 @@ module Aws::AutoScaling
|
|
|
1422
1422
|
#
|
|
1423
1423
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
|
|
1424
1424
|
#
|
|
1425
|
+
# @option params [Types::Operator] :operator
|
|
1426
|
+
# The entity that manages the Auto Scaling group. If you specify this
|
|
1427
|
+
# parameter, Amazon EC2 Auto Scaling passes the operator identity to EC2
|
|
1428
|
+
# for instance launches and only allows the designated operator to make
|
|
1429
|
+
# changes to the Auto Scaling group. All mutating API calls from
|
|
1430
|
+
# non-operator callers are rejected with an `AccessDenied` exception.
|
|
1431
|
+
#
|
|
1425
1432
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1426
1433
|
#
|
|
1427
1434
|
#
|
|
@@ -1719,6 +1726,9 @@ module Aws::AutoScaling
|
|
|
1719
1726
|
# terminate_hook_abandon: "retain", # accepts retain, terminate
|
|
1720
1727
|
# },
|
|
1721
1728
|
# },
|
|
1729
|
+
# operator: {
|
|
1730
|
+
# principal: "ManagerIdentifier", # required
|
|
1731
|
+
# },
|
|
1722
1732
|
# })
|
|
1723
1733
|
#
|
|
1724
1734
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup AWS API Documentation
|
|
@@ -2855,6 +2865,7 @@ module Aws::AutoScaling
|
|
|
2855
2865
|
# resp.auto_scaling_groups[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arns #=> Array
|
|
2856
2866
|
# resp.auto_scaling_groups[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arns[0] #=> String
|
|
2857
2867
|
# resp.auto_scaling_groups[0].instance_lifecycle_policy.retention_triggers.terminate_hook_abandon #=> String, one of "retain", "terminate"
|
|
2868
|
+
# resp.auto_scaling_groups[0].operator.principal #=> String
|
|
2858
2869
|
# resp.next_token #=> String
|
|
2859
2870
|
#
|
|
2860
2871
|
#
|
|
@@ -7747,7 +7758,7 @@ module Aws::AutoScaling
|
|
|
7747
7758
|
tracer: tracer
|
|
7748
7759
|
)
|
|
7749
7760
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
|
7750
|
-
context[:gem_version] = '1.
|
|
7761
|
+
context[:gem_version] = '1.164.0'
|
|
7751
7762
|
Seahorse::Client::Request.new(handlers, context)
|
|
7752
7763
|
end
|
|
7753
7764
|
|
|
@@ -254,6 +254,7 @@ module Aws::AutoScaling
|
|
|
254
254
|
LocalStorage = Shapes::StringShape.new(name: 'LocalStorage')
|
|
255
255
|
LocalStorageType = Shapes::StringShape.new(name: 'LocalStorageType')
|
|
256
256
|
LocalStorageTypes = Shapes::ListShape.new(name: 'LocalStorageTypes')
|
|
257
|
+
ManagerIdentifier = Shapes::StringShape.new(name: 'ManagerIdentifier')
|
|
257
258
|
MaxGroupPreparedCapacity = Shapes::IntegerShape.new(name: 'MaxGroupPreparedCapacity')
|
|
258
259
|
MaxInstanceLifetime = Shapes::IntegerShape.new(name: 'MaxInstanceLifetime')
|
|
259
260
|
MaxNumberOfAutoScalingGroups = Shapes::IntegerShape.new(name: 'MaxNumberOfAutoScalingGroups')
|
|
@@ -300,6 +301,7 @@ module Aws::AutoScaling
|
|
|
300
301
|
NumberOfLaunchConfigurations = Shapes::IntegerShape.new(name: 'NumberOfLaunchConfigurations')
|
|
301
302
|
OnDemandBaseCapacity = Shapes::IntegerShape.new(name: 'OnDemandBaseCapacity')
|
|
302
303
|
OnDemandPercentageAboveBaseCapacity = Shapes::IntegerShape.new(name: 'OnDemandPercentageAboveBaseCapacity')
|
|
304
|
+
Operator = Shapes::StructureShape.new(name: 'Operator')
|
|
303
305
|
Overrides = Shapes::ListShape.new(name: 'Overrides')
|
|
304
306
|
PerformanceFactorReferenceRequest = Shapes::StructureShape.new(name: 'PerformanceFactorReferenceRequest')
|
|
305
307
|
PerformanceFactorReferenceSetRequest = Shapes::ListShape.new(name: 'PerformanceFactorReferenceSetRequest')
|
|
@@ -563,6 +565,7 @@ module Aws::AutoScaling
|
|
|
563
565
|
AutoScalingGroup.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
|
|
564
566
|
AutoScalingGroup.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
|
|
565
567
|
AutoScalingGroup.add_member(:instance_lifecycle_policy, Shapes::ShapeRef.new(shape: InstanceLifecyclePolicy, location_name: "InstanceLifecyclePolicy"))
|
|
568
|
+
AutoScalingGroup.add_member(:operator, Shapes::ShapeRef.new(shape: Operator, location_name: "Operator"))
|
|
566
569
|
AutoScalingGroup.struct_class = Types::AutoScalingGroup
|
|
567
570
|
|
|
568
571
|
AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
|
@@ -722,6 +725,7 @@ module Aws::AutoScaling
|
|
|
722
725
|
CreateAutoScalingGroupType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
|
|
723
726
|
CreateAutoScalingGroupType.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
|
|
724
727
|
CreateAutoScalingGroupType.add_member(:instance_lifecycle_policy, Shapes::ShapeRef.new(shape: InstanceLifecyclePolicy, location_name: "InstanceLifecyclePolicy"))
|
|
728
|
+
CreateAutoScalingGroupType.add_member(:operator, Shapes::ShapeRef.new(shape: Operator, location_name: "Operator"))
|
|
725
729
|
CreateAutoScalingGroupType.struct_class = Types::CreateAutoScalingGroupType
|
|
726
730
|
|
|
727
731
|
CreateLaunchConfigurationType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
|
|
@@ -1330,6 +1334,9 @@ module Aws::AutoScaling
|
|
|
1330
1334
|
|
|
1331
1335
|
NotificationConfigurations.member = Shapes::ShapeRef.new(shape: NotificationConfiguration)
|
|
1332
1336
|
|
|
1337
|
+
Operator.add_member(:principal, Shapes::ShapeRef.new(shape: ManagerIdentifier, required: true, location_name: "Principal"))
|
|
1338
|
+
Operator.struct_class = Types::Operator
|
|
1339
|
+
|
|
1333
1340
|
Overrides.member = Shapes::ShapeRef.new(shape: LaunchTemplateOverrides)
|
|
1334
1341
|
|
|
1335
1342
|
PerformanceFactorReferenceRequest.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "InstanceFamily"))
|
|
@@ -208,6 +208,9 @@ module Aws::AutoScaling
|
|
|
208
208
|
# terminate_hook_abandon: "retain", # accepts retain, terminate
|
|
209
209
|
# },
|
|
210
210
|
# },
|
|
211
|
+
# operator: {
|
|
212
|
+
# principal: "ManagerIdentifier", # required
|
|
213
|
+
# },
|
|
211
214
|
# })
|
|
212
215
|
# @param [Hash] options ({})
|
|
213
216
|
# @option options [required, String] :auto_scaling_group_name
|
|
@@ -558,6 +561,12 @@ module Aws::AutoScaling
|
|
|
558
561
|
#
|
|
559
562
|
#
|
|
560
563
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
|
|
564
|
+
# @option options [Types::Operator] :operator
|
|
565
|
+
# The entity that manages the Auto Scaling group. If you specify this
|
|
566
|
+
# parameter, Amazon EC2 Auto Scaling passes the operator identity to EC2
|
|
567
|
+
# for instance launches and only allows the designated operator to make
|
|
568
|
+
# changes to the Auto Scaling group. All mutating API calls from
|
|
569
|
+
# non-operator callers are rejected with an `AccessDenied` exception.
|
|
561
570
|
# @return [AutoScalingGroup]
|
|
562
571
|
def create_group(options = {})
|
|
563
572
|
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
|
@@ -541,6 +541,12 @@ module Aws::AutoScaling
|
|
|
541
541
|
# The instance lifecycle policy for the Auto Scaling group.
|
|
542
542
|
# @return [Types::InstanceLifecyclePolicy]
|
|
543
543
|
#
|
|
544
|
+
# @!attribute [rw] operator
|
|
545
|
+
# The entity that manages the Auto Scaling group, if applicable. When
|
|
546
|
+
# set, only the designated operator can make changes to the group
|
|
547
|
+
# configuration.
|
|
548
|
+
# @return [Types::Operator]
|
|
549
|
+
#
|
|
544
550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
|
|
545
551
|
#
|
|
546
552
|
class AutoScalingGroup < Struct.new(
|
|
@@ -584,7 +590,8 @@ module Aws::AutoScaling
|
|
|
584
590
|
:availability_zone_distribution,
|
|
585
591
|
:availability_zone_impairment_policy,
|
|
586
592
|
:capacity_reservation_specification,
|
|
587
|
-
:instance_lifecycle_policy
|
|
593
|
+
:instance_lifecycle_policy,
|
|
594
|
+
:operator)
|
|
588
595
|
SENSITIVE = []
|
|
589
596
|
include Aws::Structure
|
|
590
597
|
end
|
|
@@ -801,7 +808,7 @@ module Aws::AutoScaling
|
|
|
801
808
|
#
|
|
802
809
|
# * `reservations-then-balanced` - Auto Scaling will first attempt to
|
|
803
810
|
# launch into your Capacity Reservations, and then balance any
|
|
804
|
-
# remaining capacity across
|
|
811
|
+
# remaining capacity across healthy Availability Zones.
|
|
805
812
|
# @return [String]
|
|
806
813
|
#
|
|
807
814
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AvailabilityZoneDistribution AWS API Documentation
|
|
@@ -1603,6 +1610,14 @@ module Aws::AutoScaling
|
|
|
1603
1610
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
|
|
1604
1611
|
# @return [Types::InstanceLifecyclePolicy]
|
|
1605
1612
|
#
|
|
1613
|
+
# @!attribute [rw] operator
|
|
1614
|
+
# The entity that manages the Auto Scaling group. If you specify this
|
|
1615
|
+
# parameter, Amazon EC2 Auto Scaling passes the operator identity to
|
|
1616
|
+
# EC2 for instance launches and only allows the designated operator to
|
|
1617
|
+
# make changes to the Auto Scaling group. All mutating API calls from
|
|
1618
|
+
# non-operator callers are rejected with an `AccessDenied` exception.
|
|
1619
|
+
# @return [Types::Operator]
|
|
1620
|
+
#
|
|
1606
1621
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
|
|
1607
1622
|
#
|
|
1608
1623
|
class CreateAutoScalingGroupType < Struct.new(
|
|
@@ -1640,7 +1655,8 @@ module Aws::AutoScaling
|
|
|
1640
1655
|
:availability_zone_impairment_policy,
|
|
1641
1656
|
:skip_zonal_shift_validation,
|
|
1642
1657
|
:capacity_reservation_specification,
|
|
1643
|
-
:instance_lifecycle_policy
|
|
1658
|
+
:instance_lifecycle_policy,
|
|
1659
|
+
:operator)
|
|
1644
1660
|
SENSITIVE = []
|
|
1645
1661
|
include Aws::Structure
|
|
1646
1662
|
end
|
|
@@ -6014,6 +6030,23 @@ module Aws::AutoScaling
|
|
|
6014
6030
|
include Aws::Structure
|
|
6015
6031
|
end
|
|
6016
6032
|
|
|
6033
|
+
# Describes the entity that manages an Auto Scaling group.
|
|
6034
|
+
#
|
|
6035
|
+
# @!attribute [rw] principal
|
|
6036
|
+
# The service principal that is authorized to manage the Auto Scaling
|
|
6037
|
+
# group. When an operator is specified, only the designated operator
|
|
6038
|
+
# service principal can make mutating changes to the Auto Scaling
|
|
6039
|
+
# group.
|
|
6040
|
+
# @return [String]
|
|
6041
|
+
#
|
|
6042
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Operator AWS API Documentation
|
|
6043
|
+
#
|
|
6044
|
+
class Operator < Struct.new(
|
|
6045
|
+
:principal)
|
|
6046
|
+
SENSITIVE = []
|
|
6047
|
+
include Aws::Structure
|
|
6048
|
+
end
|
|
6049
|
+
|
|
6017
6050
|
# Specify an instance family to use as the baseline reference for CPU
|
|
6018
6051
|
# performance. All instance types that All instance types that match
|
|
6019
6052
|
# your specified attributes will be compared against the CPU performance
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
data/sig/auto_scaling_group.rbs
CHANGED
|
@@ -132,6 +132,9 @@ module Aws
|
|
|
132
132
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#instance_lifecycle_policy-instance_method
|
|
133
133
|
def instance_lifecycle_policy: () -> Types::InstanceLifecyclePolicy
|
|
134
134
|
|
|
135
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#operator-instance_method
|
|
136
|
+
def operator: () -> Types::Operator
|
|
137
|
+
|
|
135
138
|
def client: () -> Client
|
|
136
139
|
|
|
137
140
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#load-instance_method
|
data/sig/client.rbs
CHANGED
|
@@ -259,6 +259,9 @@ module Aws
|
|
|
259
259
|
retention_triggers: {
|
|
260
260
|
terminate_hook_abandon: ("retain" | "terminate")?
|
|
261
261
|
}?
|
|
262
|
+
},
|
|
263
|
+
?operator: {
|
|
264
|
+
principal: ::String
|
|
262
265
|
}
|
|
263
266
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
264
267
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -149,6 +149,7 @@ module Aws::AutoScaling
|
|
|
149
149
|
attr_accessor availability_zone_impairment_policy: Types::AvailabilityZoneImpairmentPolicy
|
|
150
150
|
attr_accessor capacity_reservation_specification: Types::CapacityReservationSpecification
|
|
151
151
|
attr_accessor instance_lifecycle_policy: Types::InstanceLifecyclePolicy
|
|
152
|
+
attr_accessor operator: Types::Operator
|
|
152
153
|
SENSITIVE: []
|
|
153
154
|
end
|
|
154
155
|
|
|
@@ -323,6 +324,7 @@ module Aws::AutoScaling
|
|
|
323
324
|
attr_accessor skip_zonal_shift_validation: bool
|
|
324
325
|
attr_accessor capacity_reservation_specification: Types::CapacityReservationSpecification
|
|
325
326
|
attr_accessor instance_lifecycle_policy: Types::InstanceLifecyclePolicy
|
|
327
|
+
attr_accessor operator: Types::Operator
|
|
326
328
|
SENSITIVE: []
|
|
327
329
|
end
|
|
328
330
|
|
|
@@ -1081,6 +1083,11 @@ module Aws::AutoScaling
|
|
|
1081
1083
|
SENSITIVE: []
|
|
1082
1084
|
end
|
|
1083
1085
|
|
|
1086
|
+
class Operator
|
|
1087
|
+
attr_accessor principal: ::String
|
|
1088
|
+
SENSITIVE: []
|
|
1089
|
+
end
|
|
1090
|
+
|
|
1084
1091
|
class PerformanceFactorReferenceRequest
|
|
1085
1092
|
attr_accessor instance_family: ::String
|
|
1086
1093
|
SENSITIVE: []
|