aws-sdk-applicationautoscaling 1.78.0 → 1.80.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationautoscaling/client.rb +90 -20
- data/lib/aws-sdk-applicationautoscaling/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-applicationautoscaling/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-applicationautoscaling/types.rb +105 -6
- data/lib/aws-sdk-applicationautoscaling.rb +1 -1
- data/sig/client.rbs +319 -0
- data/sig/errors.rbs +45 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +393 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/types.rbs
ADDED
@@ -0,0 +1,393 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::ApplicationAutoScaling
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class Alarm
|
12
|
+
attr_accessor alarm_name: ::String
|
13
|
+
attr_accessor alarm_arn: ::String
|
14
|
+
SENSITIVE: []
|
15
|
+
end
|
16
|
+
|
17
|
+
class ConcurrentUpdateException
|
18
|
+
attr_accessor message: ::String
|
19
|
+
SENSITIVE: []
|
20
|
+
end
|
21
|
+
|
22
|
+
class CustomizedMetricSpecification
|
23
|
+
attr_accessor metric_name: ::String
|
24
|
+
attr_accessor namespace: ::String
|
25
|
+
attr_accessor dimensions: ::Array[Types::MetricDimension]
|
26
|
+
attr_accessor statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum")
|
27
|
+
attr_accessor unit: ::String
|
28
|
+
attr_accessor metrics: ::Array[Types::TargetTrackingMetricDataQuery]
|
29
|
+
SENSITIVE: []
|
30
|
+
end
|
31
|
+
|
32
|
+
class DeleteScalingPolicyRequest
|
33
|
+
attr_accessor policy_name: ::String
|
34
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
35
|
+
attr_accessor resource_id: ::String
|
36
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
37
|
+
SENSITIVE: []
|
38
|
+
end
|
39
|
+
|
40
|
+
class DeleteScalingPolicyResponse < Aws::EmptyStructure
|
41
|
+
end
|
42
|
+
|
43
|
+
class DeleteScheduledActionRequest
|
44
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
45
|
+
attr_accessor scheduled_action_name: ::String
|
46
|
+
attr_accessor resource_id: ::String
|
47
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
48
|
+
SENSITIVE: []
|
49
|
+
end
|
50
|
+
|
51
|
+
class DeleteScheduledActionResponse < Aws::EmptyStructure
|
52
|
+
end
|
53
|
+
|
54
|
+
class DeregisterScalableTargetRequest
|
55
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
56
|
+
attr_accessor resource_id: ::String
|
57
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
58
|
+
SENSITIVE: []
|
59
|
+
end
|
60
|
+
|
61
|
+
class DeregisterScalableTargetResponse < Aws::EmptyStructure
|
62
|
+
end
|
63
|
+
|
64
|
+
class DescribeScalableTargetsRequest
|
65
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
66
|
+
attr_accessor resource_ids: ::Array[::String]
|
67
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
68
|
+
attr_accessor max_results: ::Integer
|
69
|
+
attr_accessor next_token: ::String
|
70
|
+
SENSITIVE: []
|
71
|
+
end
|
72
|
+
|
73
|
+
class DescribeScalableTargetsResponse
|
74
|
+
attr_accessor scalable_targets: ::Array[Types::ScalableTarget]
|
75
|
+
attr_accessor next_token: ::String
|
76
|
+
SENSITIVE: []
|
77
|
+
end
|
78
|
+
|
79
|
+
class DescribeScalingActivitiesRequest
|
80
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
81
|
+
attr_accessor resource_id: ::String
|
82
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
83
|
+
attr_accessor max_results: ::Integer
|
84
|
+
attr_accessor next_token: ::String
|
85
|
+
attr_accessor include_not_scaled_activities: bool
|
86
|
+
SENSITIVE: []
|
87
|
+
end
|
88
|
+
|
89
|
+
class DescribeScalingActivitiesResponse
|
90
|
+
attr_accessor scaling_activities: ::Array[Types::ScalingActivity]
|
91
|
+
attr_accessor next_token: ::String
|
92
|
+
SENSITIVE: []
|
93
|
+
end
|
94
|
+
|
95
|
+
class DescribeScalingPoliciesRequest
|
96
|
+
attr_accessor policy_names: ::Array[::String]
|
97
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
98
|
+
attr_accessor resource_id: ::String
|
99
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
100
|
+
attr_accessor max_results: ::Integer
|
101
|
+
attr_accessor next_token: ::String
|
102
|
+
SENSITIVE: []
|
103
|
+
end
|
104
|
+
|
105
|
+
class DescribeScalingPoliciesResponse
|
106
|
+
attr_accessor scaling_policies: ::Array[Types::ScalingPolicy]
|
107
|
+
attr_accessor next_token: ::String
|
108
|
+
SENSITIVE: []
|
109
|
+
end
|
110
|
+
|
111
|
+
class DescribeScheduledActionsRequest
|
112
|
+
attr_accessor scheduled_action_names: ::Array[::String]
|
113
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
114
|
+
attr_accessor resource_id: ::String
|
115
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
116
|
+
attr_accessor max_results: ::Integer
|
117
|
+
attr_accessor next_token: ::String
|
118
|
+
SENSITIVE: []
|
119
|
+
end
|
120
|
+
|
121
|
+
class DescribeScheduledActionsResponse
|
122
|
+
attr_accessor scheduled_actions: ::Array[Types::ScheduledAction]
|
123
|
+
attr_accessor next_token: ::String
|
124
|
+
SENSITIVE: []
|
125
|
+
end
|
126
|
+
|
127
|
+
class FailedResourceAccessException
|
128
|
+
attr_accessor message: ::String
|
129
|
+
SENSITIVE: []
|
130
|
+
end
|
131
|
+
|
132
|
+
class InternalServiceException
|
133
|
+
attr_accessor message: ::String
|
134
|
+
SENSITIVE: []
|
135
|
+
end
|
136
|
+
|
137
|
+
class InvalidNextTokenException
|
138
|
+
attr_accessor message: ::String
|
139
|
+
SENSITIVE: []
|
140
|
+
end
|
141
|
+
|
142
|
+
class LimitExceededException
|
143
|
+
attr_accessor message: ::String
|
144
|
+
SENSITIVE: []
|
145
|
+
end
|
146
|
+
|
147
|
+
class ListTagsForResourceRequest
|
148
|
+
attr_accessor resource_arn: ::String
|
149
|
+
SENSITIVE: []
|
150
|
+
end
|
151
|
+
|
152
|
+
class ListTagsForResourceResponse
|
153
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
154
|
+
SENSITIVE: []
|
155
|
+
end
|
156
|
+
|
157
|
+
class MetricDimension
|
158
|
+
attr_accessor name: ::String
|
159
|
+
attr_accessor value: ::String
|
160
|
+
SENSITIVE: []
|
161
|
+
end
|
162
|
+
|
163
|
+
class NotScaledReason
|
164
|
+
attr_accessor code: ::String
|
165
|
+
attr_accessor max_capacity: ::Integer
|
166
|
+
attr_accessor min_capacity: ::Integer
|
167
|
+
attr_accessor current_capacity: ::Integer
|
168
|
+
SENSITIVE: []
|
169
|
+
end
|
170
|
+
|
171
|
+
class ObjectNotFoundException
|
172
|
+
attr_accessor message: ::String
|
173
|
+
SENSITIVE: []
|
174
|
+
end
|
175
|
+
|
176
|
+
class PredefinedMetricSpecification
|
177
|
+
attr_accessor predefined_metric_type: ("DynamoDBReadCapacityUtilization" | "DynamoDBWriteCapacityUtilization" | "ALBRequestCountPerTarget" | "RDSReaderAverageCPUUtilization" | "RDSReaderAverageDatabaseConnections" | "EC2SpotFleetRequestAverageCPUUtilization" | "EC2SpotFleetRequestAverageNetworkIn" | "EC2SpotFleetRequestAverageNetworkOut" | "SageMakerVariantInvocationsPerInstance" | "ECSServiceAverageCPUUtilization" | "ECSServiceAverageMemoryUtilization" | "AppStreamAverageCapacityUtilization" | "ComprehendInferenceUtilization" | "LambdaProvisionedConcurrencyUtilization" | "CassandraReadCapacityUtilization" | "CassandraWriteCapacityUtilization" | "KafkaBrokerStorageUtilization" | "ElastiCachePrimaryEngineCPUUtilization" | "ElastiCacheReplicaEngineCPUUtilization" | "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage" | "NeptuneReaderAverageCPUUtilization" | "SageMakerVariantProvisionedConcurrencyUtilization" | "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage" | "SageMakerInferenceComponentInvocationsPerCopy")
|
178
|
+
attr_accessor resource_label: ::String
|
179
|
+
SENSITIVE: []
|
180
|
+
end
|
181
|
+
|
182
|
+
class PutScalingPolicyRequest
|
183
|
+
attr_accessor policy_name: ::String
|
184
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
185
|
+
attr_accessor resource_id: ::String
|
186
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
187
|
+
attr_accessor policy_type: ("StepScaling" | "TargetTrackingScaling")
|
188
|
+
attr_accessor step_scaling_policy_configuration: Types::StepScalingPolicyConfiguration
|
189
|
+
attr_accessor target_tracking_scaling_policy_configuration: Types::TargetTrackingScalingPolicyConfiguration
|
190
|
+
SENSITIVE: []
|
191
|
+
end
|
192
|
+
|
193
|
+
class PutScalingPolicyResponse
|
194
|
+
attr_accessor policy_arn: ::String
|
195
|
+
attr_accessor alarms: ::Array[Types::Alarm]
|
196
|
+
SENSITIVE: []
|
197
|
+
end
|
198
|
+
|
199
|
+
class PutScheduledActionRequest
|
200
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
201
|
+
attr_accessor schedule: ::String
|
202
|
+
attr_accessor timezone: ::String
|
203
|
+
attr_accessor scheduled_action_name: ::String
|
204
|
+
attr_accessor resource_id: ::String
|
205
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
206
|
+
attr_accessor start_time: ::Time
|
207
|
+
attr_accessor end_time: ::Time
|
208
|
+
attr_accessor scalable_target_action: Types::ScalableTargetAction
|
209
|
+
SENSITIVE: []
|
210
|
+
end
|
211
|
+
|
212
|
+
class PutScheduledActionResponse < Aws::EmptyStructure
|
213
|
+
end
|
214
|
+
|
215
|
+
class RegisterScalableTargetRequest
|
216
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
217
|
+
attr_accessor resource_id: ::String
|
218
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
219
|
+
attr_accessor min_capacity: ::Integer
|
220
|
+
attr_accessor max_capacity: ::Integer
|
221
|
+
attr_accessor role_arn: ::String
|
222
|
+
attr_accessor suspended_state: Types::SuspendedState
|
223
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
224
|
+
SENSITIVE: []
|
225
|
+
end
|
226
|
+
|
227
|
+
class RegisterScalableTargetResponse
|
228
|
+
attr_accessor scalable_target_arn: ::String
|
229
|
+
SENSITIVE: []
|
230
|
+
end
|
231
|
+
|
232
|
+
class ResourceNotFoundException
|
233
|
+
attr_accessor message: ::String
|
234
|
+
attr_accessor resource_name: ::String
|
235
|
+
SENSITIVE: []
|
236
|
+
end
|
237
|
+
|
238
|
+
class ScalableTarget
|
239
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
240
|
+
attr_accessor resource_id: ::String
|
241
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
242
|
+
attr_accessor min_capacity: ::Integer
|
243
|
+
attr_accessor max_capacity: ::Integer
|
244
|
+
attr_accessor role_arn: ::String
|
245
|
+
attr_accessor creation_time: ::Time
|
246
|
+
attr_accessor suspended_state: Types::SuspendedState
|
247
|
+
attr_accessor scalable_target_arn: ::String
|
248
|
+
SENSITIVE: []
|
249
|
+
end
|
250
|
+
|
251
|
+
class ScalableTargetAction
|
252
|
+
attr_accessor min_capacity: ::Integer
|
253
|
+
attr_accessor max_capacity: ::Integer
|
254
|
+
SENSITIVE: []
|
255
|
+
end
|
256
|
+
|
257
|
+
class ScalingActivity
|
258
|
+
attr_accessor activity_id: ::String
|
259
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
260
|
+
attr_accessor resource_id: ::String
|
261
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
262
|
+
attr_accessor description: ::String
|
263
|
+
attr_accessor cause: ::String
|
264
|
+
attr_accessor start_time: ::Time
|
265
|
+
attr_accessor end_time: ::Time
|
266
|
+
attr_accessor status_code: ("Pending" | "InProgress" | "Successful" | "Overridden" | "Unfulfilled" | "Failed")
|
267
|
+
attr_accessor status_message: ::String
|
268
|
+
attr_accessor details: ::String
|
269
|
+
attr_accessor not_scaled_reasons: ::Array[Types::NotScaledReason]
|
270
|
+
SENSITIVE: []
|
271
|
+
end
|
272
|
+
|
273
|
+
class ScalingPolicy
|
274
|
+
attr_accessor policy_arn: ::String
|
275
|
+
attr_accessor policy_name: ::String
|
276
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
277
|
+
attr_accessor resource_id: ::String
|
278
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
279
|
+
attr_accessor policy_type: ("StepScaling" | "TargetTrackingScaling")
|
280
|
+
attr_accessor step_scaling_policy_configuration: Types::StepScalingPolicyConfiguration
|
281
|
+
attr_accessor target_tracking_scaling_policy_configuration: Types::TargetTrackingScalingPolicyConfiguration
|
282
|
+
attr_accessor alarms: ::Array[Types::Alarm]
|
283
|
+
attr_accessor creation_time: ::Time
|
284
|
+
SENSITIVE: []
|
285
|
+
end
|
286
|
+
|
287
|
+
class ScheduledAction
|
288
|
+
attr_accessor scheduled_action_name: ::String
|
289
|
+
attr_accessor scheduled_action_arn: ::String
|
290
|
+
attr_accessor service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune")
|
291
|
+
attr_accessor schedule: ::String
|
292
|
+
attr_accessor timezone: ::String
|
293
|
+
attr_accessor resource_id: ::String
|
294
|
+
attr_accessor scalable_dimension: ("ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount")
|
295
|
+
attr_accessor start_time: ::Time
|
296
|
+
attr_accessor end_time: ::Time
|
297
|
+
attr_accessor scalable_target_action: Types::ScalableTargetAction
|
298
|
+
attr_accessor creation_time: ::Time
|
299
|
+
SENSITIVE: []
|
300
|
+
end
|
301
|
+
|
302
|
+
class StepAdjustment
|
303
|
+
attr_accessor metric_interval_lower_bound: ::Float
|
304
|
+
attr_accessor metric_interval_upper_bound: ::Float
|
305
|
+
attr_accessor scaling_adjustment: ::Integer
|
306
|
+
SENSITIVE: []
|
307
|
+
end
|
308
|
+
|
309
|
+
class StepScalingPolicyConfiguration
|
310
|
+
attr_accessor adjustment_type: ("ChangeInCapacity" | "PercentChangeInCapacity" | "ExactCapacity")
|
311
|
+
attr_accessor step_adjustments: ::Array[Types::StepAdjustment]
|
312
|
+
attr_accessor min_adjustment_magnitude: ::Integer
|
313
|
+
attr_accessor cooldown: ::Integer
|
314
|
+
attr_accessor metric_aggregation_type: ("Average" | "Minimum" | "Maximum")
|
315
|
+
SENSITIVE: []
|
316
|
+
end
|
317
|
+
|
318
|
+
class SuspendedState
|
319
|
+
attr_accessor dynamic_scaling_in_suspended: bool
|
320
|
+
attr_accessor dynamic_scaling_out_suspended: bool
|
321
|
+
attr_accessor scheduled_scaling_suspended: bool
|
322
|
+
SENSITIVE: []
|
323
|
+
end
|
324
|
+
|
325
|
+
class TagResourceRequest
|
326
|
+
attr_accessor resource_arn: ::String
|
327
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
328
|
+
SENSITIVE: []
|
329
|
+
end
|
330
|
+
|
331
|
+
class TagResourceResponse < Aws::EmptyStructure
|
332
|
+
end
|
333
|
+
|
334
|
+
class TargetTrackingMetric
|
335
|
+
attr_accessor dimensions: ::Array[Types::TargetTrackingMetricDimension]
|
336
|
+
attr_accessor metric_name: ::String
|
337
|
+
attr_accessor namespace: ::String
|
338
|
+
SENSITIVE: []
|
339
|
+
end
|
340
|
+
|
341
|
+
class TargetTrackingMetricDataQuery
|
342
|
+
attr_accessor expression: ::String
|
343
|
+
attr_accessor id: ::String
|
344
|
+
attr_accessor label: ::String
|
345
|
+
attr_accessor metric_stat: Types::TargetTrackingMetricStat
|
346
|
+
attr_accessor return_data: bool
|
347
|
+
SENSITIVE: []
|
348
|
+
end
|
349
|
+
|
350
|
+
class TargetTrackingMetricDimension
|
351
|
+
attr_accessor name: ::String
|
352
|
+
attr_accessor value: ::String
|
353
|
+
SENSITIVE: []
|
354
|
+
end
|
355
|
+
|
356
|
+
class TargetTrackingMetricStat
|
357
|
+
attr_accessor metric: Types::TargetTrackingMetric
|
358
|
+
attr_accessor stat: ::String
|
359
|
+
attr_accessor unit: ::String
|
360
|
+
SENSITIVE: []
|
361
|
+
end
|
362
|
+
|
363
|
+
class TargetTrackingScalingPolicyConfiguration
|
364
|
+
attr_accessor target_value: ::Float
|
365
|
+
attr_accessor predefined_metric_specification: Types::PredefinedMetricSpecification
|
366
|
+
attr_accessor customized_metric_specification: Types::CustomizedMetricSpecification
|
367
|
+
attr_accessor scale_out_cooldown: ::Integer
|
368
|
+
attr_accessor scale_in_cooldown: ::Integer
|
369
|
+
attr_accessor disable_scale_in: bool
|
370
|
+
SENSITIVE: []
|
371
|
+
end
|
372
|
+
|
373
|
+
class TooManyTagsException
|
374
|
+
attr_accessor message: ::String
|
375
|
+
attr_accessor resource_name: ::String
|
376
|
+
SENSITIVE: []
|
377
|
+
end
|
378
|
+
|
379
|
+
class UntagResourceRequest
|
380
|
+
attr_accessor resource_arn: ::String
|
381
|
+
attr_accessor tag_keys: ::Array[::String]
|
382
|
+
SENSITIVE: []
|
383
|
+
end
|
384
|
+
|
385
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
386
|
+
end
|
387
|
+
|
388
|
+
class ValidationException
|
389
|
+
attr_accessor message: ::String
|
390
|
+
SENSITIVE: []
|
391
|
+
end
|
392
|
+
end
|
393
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ApplicationAutoScaling
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-applicationautoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.80.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.191.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.191.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,13 +66,18 @@ files:
|
|
66
66
|
- lib/aws-sdk-applicationautoscaling/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-applicationautoscaling/resource.rb
|
68
68
|
- lib/aws-sdk-applicationautoscaling/types.rb
|
69
|
+
- sig/client.rbs
|
70
|
+
- sig/errors.rbs
|
71
|
+
- sig/resource.rbs
|
72
|
+
- sig/types.rbs
|
73
|
+
- sig/waiters.rbs
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
70
75
|
licenses:
|
71
76
|
- Apache-2.0
|
72
77
|
metadata:
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-applicationautoscaling
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-applicationautoscaling/CHANGELOG.md
|
75
|
-
post_install_message:
|
80
|
+
post_install_message:
|
76
81
|
rdoc_options: []
|
77
82
|
require_paths:
|
78
83
|
- lib
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
92
|
- !ruby/object:Gem::Version
|
88
93
|
version: '0'
|
89
94
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
91
|
-
signing_key:
|
95
|
+
rubygems_version: 3.4.10
|
96
|
+
signing_key:
|
92
97
|
specification_version: 4
|
93
98
|
summary: AWS SDK for Ruby - Application Auto Scaling
|
94
99
|
test_files: []
|