aws-sdk-applicationautoscaling 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff486c8ee3086b0ca7875110fd0c11342a7a06bf
|
4
|
+
data.tar.gz: 7b14b32580269421d26cab2be8edd555d11d0926
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa8aa256fd0e9e6c40f6113f3fbbf178d030c38aa5ed52461bb4a29fb56568dd111133d6ed10c5a5f49e03dc1e1c8cee67141d335425807212f56efbc85358de
|
7
|
+
data.tar.gz: 7b68e5227ca7aca96d7c7b9588574dd122f843e6e9fde020095a91a9138a8d6132dfecc23bc1b8f9661b8f9983da9a5e41707e06fa9f50f92a83d9c8ecb92148
|
@@ -234,7 +234,8 @@ module Aws::ApplicationAutoScaling
|
|
234
234
|
#
|
235
235
|
# @example Example: To delete a scaling policy
|
236
236
|
#
|
237
|
-
# # This example deletes a scaling policy for the Amazon ECS service called web-app, which is running in the default
|
237
|
+
# # This example deletes a scaling policy for the Amazon ECS service called web-app, which is running in the default
|
238
|
+
# # cluster.
|
238
239
|
#
|
239
240
|
# resp = client.delete_scaling_policy({
|
240
241
|
# policy_name: "web-app-cpu-lt-25",
|
@@ -341,7 +342,8 @@ module Aws::ApplicationAutoScaling
|
|
341
342
|
#
|
342
343
|
# @example Example: To deregister a scalable target
|
343
344
|
#
|
344
|
-
# # This example deregisters a scalable target for an Amazon ECS service called web-app that is running in the default
|
345
|
+
# # This example deregisters a scalable target for an Amazon ECS service called web-app that is running in the default
|
346
|
+
# # cluster.
|
345
347
|
#
|
346
348
|
# resp = client.deregister_scalable_target({
|
347
349
|
# resource_id: "service/default/web-app",
|
@@ -614,7 +616,8 @@ module Aws::ApplicationAutoScaling
|
|
614
616
|
#
|
615
617
|
# @example Example: To describe scaling activities for a scalable target
|
616
618
|
#
|
617
|
-
# # This example describes the scaling activities for an Amazon ECS service called web-app that is running in the default
|
619
|
+
# # This example describes the scaling activities for an Amazon ECS service called web-app that is running in the default
|
620
|
+
# # cluster.
|
618
621
|
#
|
619
622
|
# resp = client.describe_scaling_activities({
|
620
623
|
# resource_id: "service/default/web-app",
|
@@ -977,7 +980,8 @@ module Aws::ApplicationAutoScaling
|
|
977
980
|
#
|
978
981
|
# @example Example: To apply a scaling policy to an Amazon ECS service
|
979
982
|
#
|
980
|
-
# # This example applies a scaling policy to an Amazon ECS service called web-app in the default cluster. The policy
|
983
|
+
# # This example applies a scaling policy to an Amazon ECS service called web-app in the default cluster. The policy
|
984
|
+
# # increases the desired count of the service by 200%, with a cool down period of 60 seconds.
|
981
985
|
#
|
982
986
|
# resp = client.put_scaling_policy({
|
983
987
|
# policy_name: "web-app-cpu-gt-75",
|
@@ -1004,8 +1008,8 @@ module Aws::ApplicationAutoScaling
|
|
1004
1008
|
#
|
1005
1009
|
# @example Example: To apply a scaling policy to an Amazon EC2 Spot fleet
|
1006
1010
|
#
|
1007
|
-
# # This example applies a scaling policy to an Amazon EC2 Spot fleet. The policy increases the target capacity of the spot
|
1008
|
-
|
1011
|
+
# # This example applies a scaling policy to an Amazon EC2 Spot fleet. The policy increases the target capacity of the spot
|
1012
|
+
# # fleet by 200%, with a cool down period of 180 seconds.",
|
1009
1013
|
#
|
1010
1014
|
# resp = client.put_scaling_policy({
|
1011
1015
|
# policy_name: "fleet-cpu-gt-75",
|
@@ -1186,7 +1190,8 @@ module Aws::ApplicationAutoScaling
|
|
1186
1190
|
#
|
1187
1191
|
# @example Example: To register an ECS service as a scalable target
|
1188
1192
|
#
|
1189
|
-
# # This example registers a scalable target from an Amazon ECS service called web-app that is running on the default
|
1193
|
+
# # This example registers a scalable target from an Amazon ECS service called web-app that is running on the default
|
1194
|
+
# # cluster, with a minimum desired count of 1 task and a maximum desired count of 10 tasks.
|
1190
1195
|
#
|
1191
1196
|
# resp = client.register_scalable_target({
|
1192
1197
|
# max_capacity: 10,
|
@@ -1199,7 +1204,8 @@ module Aws::ApplicationAutoScaling
|
|
1199
1204
|
#
|
1200
1205
|
# @example Example: To register an EC2 Spot fleet as a scalable target
|
1201
1206
|
#
|
1202
|
-
# # This example registers a scalable target from an Amazon EC2 Spot fleet with a minimum target capacity of 1 and a maximum
|
1207
|
+
# # This example registers a scalable target from an Amazon EC2 Spot fleet with a minimum target capacity of 1 and a maximum
|
1208
|
+
# # of 10.
|
1203
1209
|
#
|
1204
1210
|
# resp = client.register_scalable_target({
|
1205
1211
|
# max_capacity: 10,
|
@@ -1247,7 +1253,7 @@ module Aws::ApplicationAutoScaling
|
|
1247
1253
|
params: params,
|
1248
1254
|
config: config)
|
1249
1255
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
1250
|
-
context[:gem_version] = '1.
|
1256
|
+
context[:gem_version] = '1.3.0'
|
1251
1257
|
Seahorse::Client::Request.new(handlers, context)
|
1252
1258
|
end
|
1253
1259
|
|
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.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|