aws-sdk-applicationautoscaling 1.79.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationautoscaling/client.rb +1 -1
- data/lib/aws-sdk-applicationautoscaling/plugins/endpoints.rb +1 -0
- 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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e09971b65c304b50b5b3719ec7b75cd674a96e927b67ee46cb5aa4d47366c93
|
4
|
+
data.tar.gz: 65cc16dfe50c37d10d9f8b5bd0e564b8917676aaaeb5128b65f946b7e1788568
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2183df56ec3e8f2773fa92924deee1948e5062382a80ff1a5f7fc7a88f31d128268d66c3bcc30cff7f467868a537166ae8f084ec500241c757a1b7d713cbe99b
|
7
|
+
data.tar.gz: e829eb4edda2b06754bf075cfc8ec5cb1d62079442e63f9e340dc040d2469d13caefec0e9aca270ab2f7aea59a13cdc7a25d890fb9fceb147eafea5728d68a84
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.80.0
|
@@ -3393,7 +3393,7 @@ module Aws::ApplicationAutoScaling
|
|
3393
3393
|
params: params,
|
3394
3394
|
config: config)
|
3395
3395
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
3396
|
-
context[:gem_version] = '1.
|
3396
|
+
context[:gem_version] = '1.80.0'
|
3397
3397
|
Seahorse::Client::Request.new(handlers, context)
|
3398
3398
|
end
|
3399
3399
|
|
@@ -14,6 +14,7 @@ module Aws::ApplicationAutoScaling
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::ApplicationAutoScaling::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,319 @@
|
|
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
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> instance
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
74
|
+
|
75
|
+
|
76
|
+
interface _DeleteScalingPolicyResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteScalingPolicyResponse]
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#delete_scaling_policy-instance_method
|
80
|
+
def delete_scaling_policy: (
|
81
|
+
policy_name: ::String,
|
82
|
+
service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune"),
|
83
|
+
resource_id: ::String,
|
84
|
+
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")
|
85
|
+
) -> _DeleteScalingPolicyResponseSuccess
|
86
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteScalingPolicyResponseSuccess
|
87
|
+
|
88
|
+
interface _DeleteScheduledActionResponseSuccess
|
89
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteScheduledActionResponse]
|
90
|
+
end
|
91
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#delete_scheduled_action-instance_method
|
92
|
+
def delete_scheduled_action: (
|
93
|
+
service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune"),
|
94
|
+
scheduled_action_name: ::String,
|
95
|
+
resource_id: ::String,
|
96
|
+
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")
|
97
|
+
) -> _DeleteScheduledActionResponseSuccess
|
98
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteScheduledActionResponseSuccess
|
99
|
+
|
100
|
+
interface _DeregisterScalableTargetResponseSuccess
|
101
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterScalableTargetResponse]
|
102
|
+
end
|
103
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#deregister_scalable_target-instance_method
|
104
|
+
def deregister_scalable_target: (
|
105
|
+
service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune"),
|
106
|
+
resource_id: ::String,
|
107
|
+
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")
|
108
|
+
) -> _DeregisterScalableTargetResponseSuccess
|
109
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterScalableTargetResponseSuccess
|
110
|
+
|
111
|
+
interface _DescribeScalableTargetsResponseSuccess
|
112
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeScalableTargetsResponse]
|
113
|
+
def scalable_targets: () -> ::Array[Types::ScalableTarget]
|
114
|
+
def next_token: () -> ::String
|
115
|
+
end
|
116
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#describe_scalable_targets-instance_method
|
117
|
+
def describe_scalable_targets: (
|
118
|
+
service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune"),
|
119
|
+
?resource_ids: Array[::String],
|
120
|
+
?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"),
|
121
|
+
?max_results: ::Integer,
|
122
|
+
?next_token: ::String
|
123
|
+
) -> _DescribeScalableTargetsResponseSuccess
|
124
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScalableTargetsResponseSuccess
|
125
|
+
|
126
|
+
interface _DescribeScalingActivitiesResponseSuccess
|
127
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeScalingActivitiesResponse]
|
128
|
+
def scaling_activities: () -> ::Array[Types::ScalingActivity]
|
129
|
+
def next_token: () -> ::String
|
130
|
+
end
|
131
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#describe_scaling_activities-instance_method
|
132
|
+
def describe_scaling_activities: (
|
133
|
+
service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune"),
|
134
|
+
?resource_id: ::String,
|
135
|
+
?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"),
|
136
|
+
?max_results: ::Integer,
|
137
|
+
?next_token: ::String,
|
138
|
+
?include_not_scaled_activities: bool
|
139
|
+
) -> _DescribeScalingActivitiesResponseSuccess
|
140
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScalingActivitiesResponseSuccess
|
141
|
+
|
142
|
+
interface _DescribeScalingPoliciesResponseSuccess
|
143
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeScalingPoliciesResponse]
|
144
|
+
def scaling_policies: () -> ::Array[Types::ScalingPolicy]
|
145
|
+
def next_token: () -> ::String
|
146
|
+
end
|
147
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#describe_scaling_policies-instance_method
|
148
|
+
def describe_scaling_policies: (
|
149
|
+
?policy_names: Array[::String],
|
150
|
+
service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune"),
|
151
|
+
?resource_id: ::String,
|
152
|
+
?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"),
|
153
|
+
?max_results: ::Integer,
|
154
|
+
?next_token: ::String
|
155
|
+
) -> _DescribeScalingPoliciesResponseSuccess
|
156
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScalingPoliciesResponseSuccess
|
157
|
+
|
158
|
+
interface _DescribeScheduledActionsResponseSuccess
|
159
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeScheduledActionsResponse]
|
160
|
+
def scheduled_actions: () -> ::Array[Types::ScheduledAction]
|
161
|
+
def next_token: () -> ::String
|
162
|
+
end
|
163
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#describe_scheduled_actions-instance_method
|
164
|
+
def describe_scheduled_actions: (
|
165
|
+
?scheduled_action_names: Array[::String],
|
166
|
+
service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune"),
|
167
|
+
?resource_id: ::String,
|
168
|
+
?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"),
|
169
|
+
?max_results: ::Integer,
|
170
|
+
?next_token: ::String
|
171
|
+
) -> _DescribeScheduledActionsResponseSuccess
|
172
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScheduledActionsResponseSuccess
|
173
|
+
|
174
|
+
interface _ListTagsForResourceResponseSuccess
|
175
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
176
|
+
def tags: () -> ::Hash[::String, ::String]
|
177
|
+
end
|
178
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#list_tags_for_resource-instance_method
|
179
|
+
def list_tags_for_resource: (
|
180
|
+
resource_arn: ::String
|
181
|
+
) -> _ListTagsForResourceResponseSuccess
|
182
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
183
|
+
|
184
|
+
interface _PutScalingPolicyResponseSuccess
|
185
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutScalingPolicyResponse]
|
186
|
+
def policy_arn: () -> ::String
|
187
|
+
def alarms: () -> ::Array[Types::Alarm]
|
188
|
+
end
|
189
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#put_scaling_policy-instance_method
|
190
|
+
def put_scaling_policy: (
|
191
|
+
policy_name: ::String,
|
192
|
+
service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune"),
|
193
|
+
resource_id: ::String,
|
194
|
+
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"),
|
195
|
+
?policy_type: ("StepScaling" | "TargetTrackingScaling"),
|
196
|
+
?step_scaling_policy_configuration: {
|
197
|
+
adjustment_type: ("ChangeInCapacity" | "PercentChangeInCapacity" | "ExactCapacity")?,
|
198
|
+
step_adjustments: Array[
|
199
|
+
{
|
200
|
+
metric_interval_lower_bound: ::Float?,
|
201
|
+
metric_interval_upper_bound: ::Float?,
|
202
|
+
scaling_adjustment: ::Integer
|
203
|
+
},
|
204
|
+
]?,
|
205
|
+
min_adjustment_magnitude: ::Integer?,
|
206
|
+
cooldown: ::Integer?,
|
207
|
+
metric_aggregation_type: ("Average" | "Minimum" | "Maximum")?
|
208
|
+
},
|
209
|
+
?target_tracking_scaling_policy_configuration: {
|
210
|
+
target_value: ::Float,
|
211
|
+
predefined_metric_specification: {
|
212
|
+
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"),
|
213
|
+
resource_label: ::String?
|
214
|
+
}?,
|
215
|
+
customized_metric_specification: {
|
216
|
+
metric_name: ::String?,
|
217
|
+
namespace: ::String?,
|
218
|
+
dimensions: Array[
|
219
|
+
{
|
220
|
+
name: ::String,
|
221
|
+
value: ::String
|
222
|
+
},
|
223
|
+
]?,
|
224
|
+
statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum")?,
|
225
|
+
unit: ::String?,
|
226
|
+
metrics: Array[
|
227
|
+
{
|
228
|
+
expression: ::String?,
|
229
|
+
id: ::String,
|
230
|
+
label: ::String?,
|
231
|
+
metric_stat: {
|
232
|
+
metric: {
|
233
|
+
dimensions: Array[
|
234
|
+
{
|
235
|
+
name: ::String,
|
236
|
+
value: ::String
|
237
|
+
},
|
238
|
+
]?,
|
239
|
+
metric_name: ::String?,
|
240
|
+
namespace: ::String?
|
241
|
+
},
|
242
|
+
stat: ::String,
|
243
|
+
unit: ::String?
|
244
|
+
}?,
|
245
|
+
return_data: bool?
|
246
|
+
},
|
247
|
+
]?
|
248
|
+
}?,
|
249
|
+
scale_out_cooldown: ::Integer?,
|
250
|
+
scale_in_cooldown: ::Integer?,
|
251
|
+
disable_scale_in: bool?
|
252
|
+
}
|
253
|
+
) -> _PutScalingPolicyResponseSuccess
|
254
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutScalingPolicyResponseSuccess
|
255
|
+
|
256
|
+
interface _PutScheduledActionResponseSuccess
|
257
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutScheduledActionResponse]
|
258
|
+
end
|
259
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#put_scheduled_action-instance_method
|
260
|
+
def put_scheduled_action: (
|
261
|
+
service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune"),
|
262
|
+
?schedule: ::String,
|
263
|
+
?timezone: ::String,
|
264
|
+
scheduled_action_name: ::String,
|
265
|
+
resource_id: ::String,
|
266
|
+
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"),
|
267
|
+
?start_time: ::Time,
|
268
|
+
?end_time: ::Time,
|
269
|
+
?scalable_target_action: {
|
270
|
+
min_capacity: ::Integer?,
|
271
|
+
max_capacity: ::Integer?
|
272
|
+
}
|
273
|
+
) -> _PutScheduledActionResponseSuccess
|
274
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutScheduledActionResponseSuccess
|
275
|
+
|
276
|
+
interface _RegisterScalableTargetResponseSuccess
|
277
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RegisterScalableTargetResponse]
|
278
|
+
def scalable_target_arn: () -> ::String
|
279
|
+
end
|
280
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#register_scalable_target-instance_method
|
281
|
+
def register_scalable_target: (
|
282
|
+
service_namespace: ("ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune"),
|
283
|
+
resource_id: ::String,
|
284
|
+
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"),
|
285
|
+
?min_capacity: ::Integer,
|
286
|
+
?max_capacity: ::Integer,
|
287
|
+
?role_arn: ::String,
|
288
|
+
?suspended_state: {
|
289
|
+
dynamic_scaling_in_suspended: bool?,
|
290
|
+
dynamic_scaling_out_suspended: bool?,
|
291
|
+
scheduled_scaling_suspended: bool?
|
292
|
+
},
|
293
|
+
?tags: Hash[::String, ::String]
|
294
|
+
) -> _RegisterScalableTargetResponseSuccess
|
295
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterScalableTargetResponseSuccess
|
296
|
+
|
297
|
+
interface _TagResourceResponseSuccess
|
298
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
299
|
+
end
|
300
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#tag_resource-instance_method
|
301
|
+
def tag_resource: (
|
302
|
+
resource_arn: ::String,
|
303
|
+
tags: Hash[::String, ::String]
|
304
|
+
) -> _TagResourceResponseSuccess
|
305
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
306
|
+
|
307
|
+
interface _UntagResourceResponseSuccess
|
308
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
309
|
+
end
|
310
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Client.html#untag_resource-instance_method
|
311
|
+
def untag_resource: (
|
312
|
+
resource_arn: ::String,
|
313
|
+
tag_keys: Array[::String]
|
314
|
+
) -> _UntagResourceResponseSuccess
|
315
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
316
|
+
end
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,45 @@
|
|
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 Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class ConcurrentUpdateException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class FailedResourceAccessException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class InternalServiceException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class InvalidNextTokenException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class LimitExceededException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class ObjectNotFoundException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
32
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
def resource_name: () -> ::String
|
35
|
+
end
|
36
|
+
class TooManyTagsException < ::Aws::Errors::ServiceError
|
37
|
+
def message: () -> ::String
|
38
|
+
def resource_name: () -> ::String
|
39
|
+
end
|
40
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
41
|
+
def message: () -> ::String
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,80 @@
|
|
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
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationAutoScaling/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> void
|
73
|
+
| (?Hash[Symbol, untyped]) -> void
|
74
|
+
|
75
|
+
def client: () -> Client
|
76
|
+
|
77
|
+
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
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: []
|