aws-sdk-autoscaling 1.170.0 → 1.171.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/client.rb +86 -1
- data/lib/aws-sdk-autoscaling/client_api.rb +48 -0
- data/lib/aws-sdk-autoscaling/types.rb +123 -0
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/sig/client.rbs +23 -0
- data/sig/types.rbs +32 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d347609c902e52485ec58dfdd14960fd4cef94feedbda12abf3aa9244908d27
|
|
4
|
+
data.tar.gz: 6fc20b8b37ac09c576cfce200aa8092e79b469718811a0c1dd84ecdc79236948
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 532efe19666baeb529b35663a2697505bdf09e449ca147825b22916e3a25e1e3a3e03405ff06ca46b51aee83d9ad178d2ed055ec68216d48e733661fbeefb63d
|
|
7
|
+
data.tar.gz: 443f2f1994e6c1ec1f6eb3cec88039e8387a8056e7aa400577b35e6e0188f965cb6473b8fa94edaad494d154b0a3916ea8845af29662d25a929ea39ea67d6313
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.171.0 (2026-10-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - EC2 Auto Scaling now supports account settings, letting you manage account-level configuration for Auto Scaling.
|
|
8
|
+
|
|
4
9
|
1.170.0 (2026-10-20)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.171.0
|
|
@@ -2593,6 +2593,57 @@ module Aws::AutoScaling
|
|
|
2593
2593
|
req.send_request(options)
|
|
2594
2594
|
end
|
|
2595
2595
|
|
|
2596
|
+
# Describes the current Amazon EC2 Auto Scaling account settings for
|
|
2597
|
+
# your account. Account settings are a framework that allows you to
|
|
2598
|
+
# enable or disable features for your account. The framework also gives
|
|
2599
|
+
# you visibility into features that will be enforced by a given date,
|
|
2600
|
+
# providing a time window to prepare for backwards-incompatible changes.
|
|
2601
|
+
#
|
|
2602
|
+
# @option params [String] :name
|
|
2603
|
+
# The name of the account setting to describe. If you omit this
|
|
2604
|
+
# parameter, all account settings are described.
|
|
2605
|
+
#
|
|
2606
|
+
# @option params [String] :next_token
|
|
2607
|
+
# The token for the next set of items to return. (You received this
|
|
2608
|
+
# token from a previous call.)
|
|
2609
|
+
#
|
|
2610
|
+
# @option params [Integer] :max_records
|
|
2611
|
+
# The maximum number of items to return with this call. The default
|
|
2612
|
+
# value is `50` and the maximum value is `100`.
|
|
2613
|
+
#
|
|
2614
|
+
# @return [Types::DescribeAccountSettingsAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2615
|
+
#
|
|
2616
|
+
# * {Types::DescribeAccountSettingsAnswer#settings #settings} => Array<Types::AccountSetting>
|
|
2617
|
+
# * {Types::DescribeAccountSettingsAnswer#next_token #next_token} => String
|
|
2618
|
+
#
|
|
2619
|
+
# @example Request syntax with placeholder values
|
|
2620
|
+
#
|
|
2621
|
+
# resp = client.describe_account_settings({
|
|
2622
|
+
# name: "AsciiStringMaxLen255",
|
|
2623
|
+
# next_token: "XmlString",
|
|
2624
|
+
# max_records: 1,
|
|
2625
|
+
# })
|
|
2626
|
+
#
|
|
2627
|
+
# @example Response structure
|
|
2628
|
+
#
|
|
2629
|
+
# resp.settings #=> Array
|
|
2630
|
+
# resp.settings[0].name #=> String
|
|
2631
|
+
# resp.settings[0].value #=> String
|
|
2632
|
+
# resp.settings[0].enforcement_type #=> String
|
|
2633
|
+
# resp.settings[0].enforcement_date #=> Time
|
|
2634
|
+
# resp.settings[0].default_value #=> String
|
|
2635
|
+
# resp.settings[0].enforced_value #=> String
|
|
2636
|
+
# resp.next_token #=> String
|
|
2637
|
+
#
|
|
2638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountSettings AWS API Documentation
|
|
2639
|
+
#
|
|
2640
|
+
# @overload describe_account_settings(params = {})
|
|
2641
|
+
# @param [Hash] params ({})
|
|
2642
|
+
def describe_account_settings(params = {}, options = {})
|
|
2643
|
+
req = build_request(:describe_account_settings, params)
|
|
2644
|
+
req.send_request(options)
|
|
2645
|
+
end
|
|
2646
|
+
|
|
2596
2647
|
# Describes the available adjustment types for step scaling and simple
|
|
2597
2648
|
# scaling policies.
|
|
2598
2649
|
#
|
|
@@ -5654,6 +5705,40 @@ module Aws::AutoScaling
|
|
|
5654
5705
|
req.send_request(options)
|
|
5655
5706
|
end
|
|
5656
5707
|
|
|
5708
|
+
# Modifies an account setting for your account. You can use this
|
|
5709
|
+
# operation to opt in or opt out of features provided through account
|
|
5710
|
+
# settings when permitted. Account settings give you control over
|
|
5711
|
+
# features that might have backwards-incompatible changes. When Amazon
|
|
5712
|
+
# EC2 Auto Scaling introduces such changes, account settings allow you
|
|
5713
|
+
# to test and adopt new features. Some account settings are enforced
|
|
5714
|
+
# after a specified date. This means that after the enforcement date,
|
|
5715
|
+
# you can no longer modify the setting.
|
|
5716
|
+
#
|
|
5717
|
+
# @option params [required, String] :name
|
|
5718
|
+
# The name of the account setting to modify. Each account setting has a
|
|
5719
|
+
# unique name that identifies the specific feature it controls.
|
|
5720
|
+
#
|
|
5721
|
+
# @option params [required, String] :value
|
|
5722
|
+
# The value for the account setting.
|
|
5723
|
+
#
|
|
5724
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
5725
|
+
#
|
|
5726
|
+
# @example Request syntax with placeholder values
|
|
5727
|
+
#
|
|
5728
|
+
# resp = client.put_account_setting({
|
|
5729
|
+
# name: "AsciiStringMaxLen255", # required
|
|
5730
|
+
# value: "AsciiStringMaxLen255", # required
|
|
5731
|
+
# })
|
|
5732
|
+
#
|
|
5733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutAccountSetting AWS API Documentation
|
|
5734
|
+
#
|
|
5735
|
+
# @overload put_account_setting(params = {})
|
|
5736
|
+
# @param [Hash] params ({})
|
|
5737
|
+
def put_account_setting(params = {}, options = {})
|
|
5738
|
+
req = build_request(:put_account_setting, params)
|
|
5739
|
+
req.send_request(options)
|
|
5740
|
+
end
|
|
5741
|
+
|
|
5657
5742
|
# Creates or updates a lifecycle hook for the specified Auto Scaling
|
|
5658
5743
|
# group.
|
|
5659
5744
|
#
|
|
@@ -7911,7 +7996,7 @@ module Aws::AutoScaling
|
|
|
7911
7996
|
tracer: tracer
|
|
7912
7997
|
)
|
|
7913
7998
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
|
7914
|
-
context[:gem_version] = '1.
|
|
7999
|
+
context[:gem_version] = '1.171.0'
|
|
7915
8000
|
Seahorse::Client::Request.new(handlers, context)
|
|
7916
8001
|
end
|
|
7917
8002
|
|
|
@@ -22,6 +22,8 @@ module Aws::AutoScaling
|
|
|
22
22
|
AcceleratorTotalMemoryMiBRequest = Shapes::StructureShape.new(name: 'AcceleratorTotalMemoryMiBRequest')
|
|
23
23
|
AcceleratorType = Shapes::StringShape.new(name: 'AcceleratorType')
|
|
24
24
|
AcceleratorTypes = Shapes::ListShape.new(name: 'AcceleratorTypes')
|
|
25
|
+
AccountSetting = Shapes::StructureShape.new(name: 'AccountSetting')
|
|
26
|
+
AccountSettings = Shapes::ListShape.new(name: 'AccountSettings')
|
|
25
27
|
ActiveInstanceRefreshNotFoundFault = Shapes::StructureShape.new(name: 'ActiveInstanceRefreshNotFoundFault', error: {"code" => "ActiveInstanceRefreshNotFound", "httpStatusCode" => 400, "senderFault" => true})
|
|
26
28
|
Activities = Shapes::ListShape.new(name: 'Activities')
|
|
27
29
|
ActivitiesType = Shapes::StructureShape.new(name: 'ActivitiesType')
|
|
@@ -123,6 +125,8 @@ module Aws::AutoScaling
|
|
|
123
125
|
DeleteWarmPoolType = Shapes::StructureShape.new(name: 'DeleteWarmPoolType')
|
|
124
126
|
DeletionProtection = Shapes::StringShape.new(name: 'DeletionProtection')
|
|
125
127
|
DescribeAccountLimitsAnswer = Shapes::StructureShape.new(name: 'DescribeAccountLimitsAnswer')
|
|
128
|
+
DescribeAccountSettingsAnswer = Shapes::StructureShape.new(name: 'DescribeAccountSettingsAnswer')
|
|
129
|
+
DescribeAccountSettingsType = Shapes::StructureShape.new(name: 'DescribeAccountSettingsType')
|
|
126
130
|
DescribeAdjustmentTypesAnswer = Shapes::StructureShape.new(name: 'DescribeAdjustmentTypesAnswer')
|
|
127
131
|
DescribeAutoScalingInstancesType = Shapes::StructureShape.new(name: 'DescribeAutoScalingInstancesType')
|
|
128
132
|
DescribeAutoScalingNotificationTypesAnswer = Shapes::StructureShape.new(name: 'DescribeAutoScalingNotificationTypesAnswer')
|
|
@@ -339,6 +343,8 @@ module Aws::AutoScaling
|
|
|
339
343
|
Progress = Shapes::IntegerShape.new(name: 'Progress')
|
|
340
344
|
PropagateAtLaunch = Shapes::BooleanShape.new(name: 'PropagateAtLaunch')
|
|
341
345
|
ProtectedFromScaleIn = Shapes::BooleanShape.new(name: 'ProtectedFromScaleIn')
|
|
346
|
+
PutAccountSettingAnswer = Shapes::StructureShape.new(name: 'PutAccountSettingAnswer')
|
|
347
|
+
PutAccountSettingType = Shapes::StructureShape.new(name: 'PutAccountSettingType')
|
|
342
348
|
PutLifecycleHookAnswer = Shapes::StructureShape.new(name: 'PutLifecycleHookAnswer')
|
|
343
349
|
PutLifecycleHookType = Shapes::StructureShape.new(name: 'PutLifecycleHookType')
|
|
344
350
|
PutNotificationConfigurationType = Shapes::StructureShape.new(name: 'PutNotificationConfigurationType')
|
|
@@ -458,6 +464,16 @@ module Aws::AutoScaling
|
|
|
458
464
|
|
|
459
465
|
AcceleratorTypes.member = Shapes::ShapeRef.new(shape: AcceleratorType)
|
|
460
466
|
|
|
467
|
+
AccountSetting.add_member(:name, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, location_name: "Name"))
|
|
468
|
+
AccountSetting.add_member(:value, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, location_name: "Value"))
|
|
469
|
+
AccountSetting.add_member(:enforcement_type, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, location_name: "EnforcementType"))
|
|
470
|
+
AccountSetting.add_member(:enforcement_date, Shapes::ShapeRef.new(shape: TimestampType, location_name: "EnforcementDate"))
|
|
471
|
+
AccountSetting.add_member(:default_value, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, location_name: "DefaultValue"))
|
|
472
|
+
AccountSetting.add_member(:enforced_value, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, location_name: "EnforcedValue"))
|
|
473
|
+
AccountSetting.struct_class = Types::AccountSetting
|
|
474
|
+
|
|
475
|
+
AccountSettings.member = Shapes::ShapeRef.new(shape: AccountSetting)
|
|
476
|
+
|
|
461
477
|
ActiveInstanceRefreshNotFoundFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
|
462
478
|
ActiveInstanceRefreshNotFoundFault.struct_class = Types::ActiveInstanceRefreshNotFoundFault
|
|
463
479
|
|
|
@@ -805,6 +821,15 @@ module Aws::AutoScaling
|
|
|
805
821
|
DescribeAccountLimitsAnswer.add_member(:number_of_launch_configurations, Shapes::ShapeRef.new(shape: NumberOfLaunchConfigurations, location_name: "NumberOfLaunchConfigurations"))
|
|
806
822
|
DescribeAccountLimitsAnswer.struct_class = Types::DescribeAccountLimitsAnswer
|
|
807
823
|
|
|
824
|
+
DescribeAccountSettingsAnswer.add_member(:settings, Shapes::ShapeRef.new(shape: AccountSettings, location_name: "Settings"))
|
|
825
|
+
DescribeAccountSettingsAnswer.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
|
826
|
+
DescribeAccountSettingsAnswer.struct_class = Types::DescribeAccountSettingsAnswer
|
|
827
|
+
|
|
828
|
+
DescribeAccountSettingsType.add_member(:name, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, location_name: "Name"))
|
|
829
|
+
DescribeAccountSettingsType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
|
830
|
+
DescribeAccountSettingsType.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
|
|
831
|
+
DescribeAccountSettingsType.struct_class = Types::DescribeAccountSettingsType
|
|
832
|
+
|
|
808
833
|
DescribeAdjustmentTypesAnswer.add_member(:adjustment_types, Shapes::ShapeRef.new(shape: AdjustmentTypes, location_name: "AdjustmentTypes"))
|
|
809
834
|
DescribeAdjustmentTypesAnswer.struct_class = Types::DescribeAdjustmentTypesAnswer
|
|
810
835
|
|
|
@@ -1429,6 +1454,12 @@ module Aws::AutoScaling
|
|
|
1429
1454
|
ProcessesType.add_member(:processes, Shapes::ShapeRef.new(shape: Processes, location_name: "Processes"))
|
|
1430
1455
|
ProcessesType.struct_class = Types::ProcessesType
|
|
1431
1456
|
|
|
1457
|
+
PutAccountSettingAnswer.struct_class = Types::PutAccountSettingAnswer
|
|
1458
|
+
|
|
1459
|
+
PutAccountSettingType.add_member(:name, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, required: true, location_name: "Name"))
|
|
1460
|
+
PutAccountSettingType.add_member(:value, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, required: true, location_name: "Value"))
|
|
1461
|
+
PutAccountSettingType.struct_class = Types::PutAccountSettingType
|
|
1462
|
+
|
|
1432
1463
|
PutLifecycleHookAnswer.struct_class = Types::PutLifecycleHookAnswer
|
|
1433
1464
|
|
|
1434
1465
|
PutLifecycleHookType.add_member(:lifecycle_hook_name, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, required: true, location_name: "LifecycleHookName"))
|
|
@@ -1978,6 +2009,15 @@ module Aws::AutoScaling
|
|
|
1978
2009
|
o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
|
|
1979
2010
|
end)
|
|
1980
2011
|
|
|
2012
|
+
api.add_operation(:describe_account_settings, Seahorse::Model::Operation.new.tap do |o|
|
|
2013
|
+
o.name = "DescribeAccountSettings"
|
|
2014
|
+
o.http_method = "POST"
|
|
2015
|
+
o.http_request_uri = "/"
|
|
2016
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAccountSettingsType)
|
|
2017
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAccountSettingsAnswer)
|
|
2018
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
|
2019
|
+
end)
|
|
2020
|
+
|
|
1981
2021
|
api.add_operation(:describe_adjustment_types, Seahorse::Model::Operation.new.tap do |o|
|
|
1982
2022
|
o.name = "DescribeAdjustmentTypes"
|
|
1983
2023
|
o.http_method = "POST"
|
|
@@ -2353,6 +2393,14 @@ module Aws::AutoScaling
|
|
|
2353
2393
|
o.errors << Shapes::ShapeRef.new(shape: IdempotentCallInProgressFault)
|
|
2354
2394
|
end)
|
|
2355
2395
|
|
|
2396
|
+
api.add_operation(:put_account_setting, Seahorse::Model::Operation.new.tap do |o|
|
|
2397
|
+
o.name = "PutAccountSetting"
|
|
2398
|
+
o.http_method = "POST"
|
|
2399
|
+
o.http_request_uri = "/"
|
|
2400
|
+
o.input = Shapes::ShapeRef.new(shape: PutAccountSettingType)
|
|
2401
|
+
o.output = Shapes::ShapeRef.new(shape: PutAccountSettingAnswer)
|
|
2402
|
+
end)
|
|
2403
|
+
|
|
2356
2404
|
api.add_operation(:put_lifecycle_hook, Seahorse::Model::Operation.new.tap do |o|
|
|
2357
2405
|
o.name = "PutLifecycleHook"
|
|
2358
2406
|
o.http_method = "POST"
|
|
@@ -59,6 +59,61 @@ module Aws::AutoScaling
|
|
|
59
59
|
include Aws::Structure
|
|
60
60
|
end
|
|
61
61
|
|
|
62
|
+
# Describes an account setting for Amazon EC2 Auto Scaling. Account
|
|
63
|
+
# settings control how certain features behave for your account. Some
|
|
64
|
+
# settings can be enforced after a specified date, meaning that after
|
|
65
|
+
# the enforcement date, you can no longer modify the setting.
|
|
66
|
+
#
|
|
67
|
+
# @!attribute [rw] name
|
|
68
|
+
# The name of the account setting. Each account setting has a unique
|
|
69
|
+
# name that identifies the specific feature it controls.
|
|
70
|
+
# @return [String]
|
|
71
|
+
#
|
|
72
|
+
# @!attribute [rw] value
|
|
73
|
+
# The current value of the account setting.
|
|
74
|
+
# @return [String]
|
|
75
|
+
#
|
|
76
|
+
# @!attribute [rw] enforcement_type
|
|
77
|
+
# The type of enforcement for the account setting. Valid values
|
|
78
|
+
# include: `hard` (the setting has a hard enforcement date after which
|
|
79
|
+
# the setting will be enforced and cannot be modified), `flexible`
|
|
80
|
+
# (the setting has a flexible enforcement where you can always modify
|
|
81
|
+
# the setting value), and `none` (the setting has no enforcement and
|
|
82
|
+
# can always be modified).
|
|
83
|
+
# @return [String]
|
|
84
|
+
#
|
|
85
|
+
# @!attribute [rw] enforcement_date
|
|
86
|
+
# The date when the account setting will be enforced. After this date,
|
|
87
|
+
# for settings with hard enforcement type, you can no longer modify
|
|
88
|
+
# the setting value. This parameter is only returned for settings with
|
|
89
|
+
# hard or flexible enforcement types.
|
|
90
|
+
# @return [Time]
|
|
91
|
+
#
|
|
92
|
+
# @!attribute [rw] default_value
|
|
93
|
+
# The default value of the account setting before the enforcement
|
|
94
|
+
# date. Valid values are enabled and disabled. This parameter is only
|
|
95
|
+
# returned for settings with hard or flexible enforcement types.
|
|
96
|
+
# @return [String]
|
|
97
|
+
#
|
|
98
|
+
# @!attribute [rw] enforced_value
|
|
99
|
+
# The value that will be enforced after the enforcement date. Valid
|
|
100
|
+
# values are enabled and disabled. This parameter is only returned for
|
|
101
|
+
# settings with hard or flexible enforcement types.
|
|
102
|
+
# @return [String]
|
|
103
|
+
#
|
|
104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AccountSetting AWS API Documentation
|
|
105
|
+
#
|
|
106
|
+
class AccountSetting < Struct.new(
|
|
107
|
+
:name,
|
|
108
|
+
:value,
|
|
109
|
+
:enforcement_type,
|
|
110
|
+
:enforcement_date,
|
|
111
|
+
:default_value,
|
|
112
|
+
:enforced_value)
|
|
113
|
+
SENSITIVE = []
|
|
114
|
+
include Aws::Structure
|
|
115
|
+
end
|
|
116
|
+
|
|
62
117
|
# The request failed because an active instance refresh or rollback for
|
|
63
118
|
# the specified Auto Scaling group was not found.
|
|
64
119
|
#
|
|
@@ -2208,6 +2263,52 @@ module Aws::AutoScaling
|
|
|
2208
2263
|
include Aws::Structure
|
|
2209
2264
|
end
|
|
2210
2265
|
|
|
2266
|
+
# @!attribute [rw] settings
|
|
2267
|
+
# Information about the account settings.
|
|
2268
|
+
# @return [Array<Types::AccountSetting>]
|
|
2269
|
+
#
|
|
2270
|
+
# @!attribute [rw] next_token
|
|
2271
|
+
# A string that indicates that the response contains more items than
|
|
2272
|
+
# can be returned in a single response. To receive additional items,
|
|
2273
|
+
# specify this string for the `NextToken` value when requesting the
|
|
2274
|
+
# next set of items. This value is `null` when there are no more items
|
|
2275
|
+
# to return.
|
|
2276
|
+
# @return [String]
|
|
2277
|
+
#
|
|
2278
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountSettingsAnswer AWS API Documentation
|
|
2279
|
+
#
|
|
2280
|
+
class DescribeAccountSettingsAnswer < Struct.new(
|
|
2281
|
+
:settings,
|
|
2282
|
+
:next_token)
|
|
2283
|
+
SENSITIVE = []
|
|
2284
|
+
include Aws::Structure
|
|
2285
|
+
end
|
|
2286
|
+
|
|
2287
|
+
# @!attribute [rw] name
|
|
2288
|
+
# The name of the account setting to describe. If you omit this
|
|
2289
|
+
# parameter, all account settings are described.
|
|
2290
|
+
# @return [String]
|
|
2291
|
+
#
|
|
2292
|
+
# @!attribute [rw] next_token
|
|
2293
|
+
# The token for the next set of items to return. (You received this
|
|
2294
|
+
# token from a previous call.)
|
|
2295
|
+
# @return [String]
|
|
2296
|
+
#
|
|
2297
|
+
# @!attribute [rw] max_records
|
|
2298
|
+
# The maximum number of items to return with this call. The default
|
|
2299
|
+
# value is `50` and the maximum value is `100`.
|
|
2300
|
+
# @return [Integer]
|
|
2301
|
+
#
|
|
2302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountSettingsType AWS API Documentation
|
|
2303
|
+
#
|
|
2304
|
+
class DescribeAccountSettingsType < Struct.new(
|
|
2305
|
+
:name,
|
|
2306
|
+
:next_token,
|
|
2307
|
+
:max_records)
|
|
2308
|
+
SENSITIVE = []
|
|
2309
|
+
include Aws::Structure
|
|
2310
|
+
end
|
|
2311
|
+
|
|
2211
2312
|
# @!attribute [rw] adjustment_types
|
|
2212
2313
|
# The policy adjustment types.
|
|
2213
2314
|
# @return [Array<Types::AdjustmentType>]
|
|
@@ -6732,6 +6833,28 @@ module Aws::AutoScaling
|
|
|
6732
6833
|
include Aws::Structure
|
|
6733
6834
|
end
|
|
6734
6835
|
|
|
6836
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutAccountSettingAnswer AWS API Documentation
|
|
6837
|
+
#
|
|
6838
|
+
class PutAccountSettingAnswer < Aws::EmptyStructure; end
|
|
6839
|
+
|
|
6840
|
+
# @!attribute [rw] name
|
|
6841
|
+
# The name of the account setting to modify. Each account setting has
|
|
6842
|
+
# a unique name that identifies the specific feature it controls.
|
|
6843
|
+
# @return [String]
|
|
6844
|
+
#
|
|
6845
|
+
# @!attribute [rw] value
|
|
6846
|
+
# The value for the account setting.
|
|
6847
|
+
# @return [String]
|
|
6848
|
+
#
|
|
6849
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutAccountSettingType AWS API Documentation
|
|
6850
|
+
#
|
|
6851
|
+
class PutAccountSettingType < Struct.new(
|
|
6852
|
+
:name,
|
|
6853
|
+
:value)
|
|
6854
|
+
SENSITIVE = []
|
|
6855
|
+
include Aws::Structure
|
|
6856
|
+
end
|
|
6857
|
+
|
|
6735
6858
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookAnswer AWS API Documentation
|
|
6736
6859
|
#
|
|
6737
6860
|
class PutLifecycleHookAnswer < Aws::EmptyStructure; end
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -405,6 +405,19 @@ module Aws
|
|
|
405
405
|
def describe_account_limits: () -> _DescribeAccountLimitsResponseSuccess
|
|
406
406
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountLimitsResponseSuccess
|
|
407
407
|
|
|
408
|
+
interface _DescribeAccountSettingsResponseSuccess
|
|
409
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountSettingsAnswer]
|
|
410
|
+
def settings: () -> ::Array[Types::AccountSetting]
|
|
411
|
+
def next_token: () -> ::String
|
|
412
|
+
end
|
|
413
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_account_settings-instance_method
|
|
414
|
+
def describe_account_settings: (
|
|
415
|
+
?name: ::String,
|
|
416
|
+
?next_token: ::String,
|
|
417
|
+
?max_records: ::Integer
|
|
418
|
+
) -> _DescribeAccountSettingsResponseSuccess
|
|
419
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountSettingsResponseSuccess
|
|
420
|
+
|
|
408
421
|
interface _DescribeAdjustmentTypesResponseSuccess
|
|
409
422
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAdjustmentTypesAnswer]
|
|
410
423
|
def adjustment_types: () -> ::Array[Types::AdjustmentType]
|
|
@@ -791,6 +804,16 @@ module Aws
|
|
|
791
804
|
) -> _LaunchInstancesResponseSuccess
|
|
792
805
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _LaunchInstancesResponseSuccess
|
|
793
806
|
|
|
807
|
+
interface _PutAccountSettingResponseSuccess
|
|
808
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountSettingAnswer]
|
|
809
|
+
end
|
|
810
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#put_account_setting-instance_method
|
|
811
|
+
def put_account_setting: (
|
|
812
|
+
name: ::String,
|
|
813
|
+
value: ::String
|
|
814
|
+
) -> _PutAccountSettingResponseSuccess
|
|
815
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountSettingResponseSuccess
|
|
816
|
+
|
|
794
817
|
interface _PutLifecycleHookResponseSuccess
|
|
795
818
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutLifecycleHookAnswer]
|
|
796
819
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -20,6 +20,16 @@ module Aws::AutoScaling
|
|
|
20
20
|
SENSITIVE: []
|
|
21
21
|
end
|
|
22
22
|
|
|
23
|
+
class AccountSetting
|
|
24
|
+
attr_accessor name: ::String
|
|
25
|
+
attr_accessor value: ::String
|
|
26
|
+
attr_accessor enforcement_type: ::String
|
|
27
|
+
attr_accessor enforcement_date: ::Time
|
|
28
|
+
attr_accessor default_value: ::String
|
|
29
|
+
attr_accessor enforced_value: ::String
|
|
30
|
+
SENSITIVE: []
|
|
31
|
+
end
|
|
32
|
+
|
|
23
33
|
class ActiveInstanceRefreshNotFoundFault
|
|
24
34
|
attr_accessor message: ::String
|
|
25
35
|
SENSITIVE: []
|
|
@@ -423,6 +433,19 @@ module Aws::AutoScaling
|
|
|
423
433
|
SENSITIVE: []
|
|
424
434
|
end
|
|
425
435
|
|
|
436
|
+
class DescribeAccountSettingsAnswer
|
|
437
|
+
attr_accessor settings: ::Array[Types::AccountSetting]
|
|
438
|
+
attr_accessor next_token: ::String
|
|
439
|
+
SENSITIVE: []
|
|
440
|
+
end
|
|
441
|
+
|
|
442
|
+
class DescribeAccountSettingsType
|
|
443
|
+
attr_accessor name: ::String
|
|
444
|
+
attr_accessor next_token: ::String
|
|
445
|
+
attr_accessor max_records: ::Integer
|
|
446
|
+
SENSITIVE: []
|
|
447
|
+
end
|
|
448
|
+
|
|
426
449
|
class DescribeAdjustmentTypesAnswer
|
|
427
450
|
attr_accessor adjustment_types: ::Array[Types::AdjustmentType]
|
|
428
451
|
SENSITIVE: []
|
|
@@ -1186,6 +1209,15 @@ module Aws::AutoScaling
|
|
|
1186
1209
|
SENSITIVE: []
|
|
1187
1210
|
end
|
|
1188
1211
|
|
|
1212
|
+
class PutAccountSettingAnswer < Aws::EmptyStructure
|
|
1213
|
+
end
|
|
1214
|
+
|
|
1215
|
+
class PutAccountSettingType
|
|
1216
|
+
attr_accessor name: ::String
|
|
1217
|
+
attr_accessor value: ::String
|
|
1218
|
+
SENSITIVE: []
|
|
1219
|
+
end
|
|
1220
|
+
|
|
1189
1221
|
class PutLifecycleHookAnswer < Aws::EmptyStructure
|
|
1190
1222
|
end
|
|
1191
1223
|
|
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.
|
|
4
|
+
version: 1.171.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.260.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.260.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|