aws-sdk-applicationautoscaling 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a231ada1572157667576a329f4dab6c442d84f0
|
4
|
+
data.tar.gz: 189ce7e5ce8643db4a5e731100f03c327ba5c9a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a439701c444b3e3509d456ed0ebdfc38c1fb626c5e7be1e44b6b5a9c068be4568dc697e1da1daa9f661b728f27fd6927342eafd3d592425b0eb16a137bfd8729
|
7
|
+
data.tar.gz: 90d54cd26fdc6b59bc90f9f856642af39f72d9213b332eca7b0c4dc6f54dc114a7ec25773369dab5d5f95300a5093ba9597190371c80ef12f65921c63bb2f0ab
|
@@ -204,6 +204,10 @@ module Aws::ApplicationAutoScaling
|
|
204
204
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
205
205
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
206
206
|
#
|
207
|
+
# * Amazon SageMaker endpoint variants - The resource type is `variant`
|
208
|
+
# and the unique identifier is the resource ID. Example:
|
209
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
210
|
+
#
|
207
211
|
# @option params [required, String] :scalable_dimension
|
208
212
|
# The scalable dimension. This string consists of the service namespace,
|
209
213
|
# resource type, and scaling property.
|
@@ -235,6 +239,9 @@ module Aws::ApplicationAutoScaling
|
|
235
239
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
|
236
240
|
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
|
237
241
|
#
|
242
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
243
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
244
|
+
#
|
238
245
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
239
246
|
#
|
240
247
|
#
|
@@ -258,9 +265,9 @@ module Aws::ApplicationAutoScaling
|
|
258
265
|
#
|
259
266
|
# resp = client.delete_scaling_policy({
|
260
267
|
# policy_name: "ResourceIdMaxLen1600", # required
|
261
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
268
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
262
269
|
# resource_id: "ResourceIdMaxLen1600", # required
|
263
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
270
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
264
271
|
# })
|
265
272
|
#
|
266
273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
|
@@ -314,6 +321,10 @@ module Aws::ApplicationAutoScaling
|
|
314
321
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
315
322
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
316
323
|
#
|
324
|
+
# * Amazon SageMaker endpoint variants - The resource type is `variant`
|
325
|
+
# and the unique identifier is the resource ID. Example:
|
326
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
327
|
+
#
|
317
328
|
# @option params [String] :scalable_dimension
|
318
329
|
# The scalable dimension. This string consists of the service namespace,
|
319
330
|
# resource type, and scaling property.
|
@@ -345,15 +356,18 @@ module Aws::ApplicationAutoScaling
|
|
345
356
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
|
346
357
|
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
|
347
358
|
#
|
359
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
360
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
361
|
+
#
|
348
362
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
349
363
|
#
|
350
364
|
# @example Request syntax with placeholder values
|
351
365
|
#
|
352
366
|
# resp = client.delete_scheduled_action({
|
353
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
367
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
354
368
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
355
369
|
# resource_id: "ResourceIdMaxLen1600", # required
|
356
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
370
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
357
371
|
# })
|
358
372
|
#
|
359
373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
|
@@ -410,6 +424,10 @@ module Aws::ApplicationAutoScaling
|
|
410
424
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
411
425
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
412
426
|
#
|
427
|
+
# * Amazon SageMaker endpoint variants - The resource type is `variant`
|
428
|
+
# and the unique identifier is the resource ID. Example:
|
429
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
430
|
+
#
|
413
431
|
# @option params [required, String] :scalable_dimension
|
414
432
|
# The scalable dimension associated with the scalable target. This
|
415
433
|
# string consists of the service namespace, resource type, and scaling
|
@@ -442,6 +460,9 @@ module Aws::ApplicationAutoScaling
|
|
442
460
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
|
443
461
|
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
|
444
462
|
#
|
463
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
464
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
465
|
+
#
|
445
466
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
446
467
|
#
|
447
468
|
#
|
@@ -463,9 +484,9 @@ module Aws::ApplicationAutoScaling
|
|
463
484
|
# @example Request syntax with placeholder values
|
464
485
|
#
|
465
486
|
# resp = client.deregister_scalable_target({
|
466
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
487
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
467
488
|
# resource_id: "ResourceIdMaxLen1600", # required
|
468
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
489
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
469
490
|
# })
|
470
491
|
#
|
471
492
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
|
@@ -525,6 +546,10 @@ module Aws::ApplicationAutoScaling
|
|
525
546
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
526
547
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
527
548
|
#
|
549
|
+
# * Amazon SageMaker endpoint variants - The resource type is `variant`
|
550
|
+
# and the unique identifier is the resource ID. Example:
|
551
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
552
|
+
#
|
528
553
|
# @option params [String] :scalable_dimension
|
529
554
|
# The scalable dimension associated with the scalable target. This
|
530
555
|
# string consists of the service namespace, resource type, and scaling
|
@@ -558,6 +583,9 @@ module Aws::ApplicationAutoScaling
|
|
558
583
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
|
559
584
|
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
|
560
585
|
#
|
586
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
587
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
588
|
+
#
|
561
589
|
# @option params [Integer] :max_results
|
562
590
|
# The maximum number of scalable targets. This value can be between 1
|
563
591
|
# and 50. The default value is 50.
|
@@ -603,9 +631,9 @@ module Aws::ApplicationAutoScaling
|
|
603
631
|
# @example Request syntax with placeholder values
|
604
632
|
#
|
605
633
|
# resp = client.describe_scalable_targets({
|
606
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
634
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
607
635
|
# resource_ids: ["ResourceIdMaxLen1600"],
|
608
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
636
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
609
637
|
# max_results: 1,
|
610
638
|
# next_token: "XmlString",
|
611
639
|
# })
|
@@ -613,9 +641,9 @@ module Aws::ApplicationAutoScaling
|
|
613
641
|
# @example Response structure
|
614
642
|
#
|
615
643
|
# resp.scalable_targets #=> Array
|
616
|
-
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds"
|
644
|
+
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker"
|
617
645
|
# resp.scalable_targets[0].resource_id #=> String
|
618
|
-
# resp.scalable_targets[0].scalable_dimension #=> String, one of "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"
|
646
|
+
# resp.scalable_targets[0].scalable_dimension #=> String, one of "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"
|
619
647
|
# resp.scalable_targets[0].min_capacity #=> Integer
|
620
648
|
# resp.scalable_targets[0].max_capacity #=> Integer
|
621
649
|
# resp.scalable_targets[0].role_arn #=> String
|
@@ -680,6 +708,10 @@ module Aws::ApplicationAutoScaling
|
|
680
708
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
681
709
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
682
710
|
#
|
711
|
+
# * Amazon SageMaker endpoint variants - The resource type is `variant`
|
712
|
+
# and the unique identifier is the resource ID. Example:
|
713
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
714
|
+
#
|
683
715
|
# @option params [String] :scalable_dimension
|
684
716
|
# The scalable dimension. This string consists of the service namespace,
|
685
717
|
# resource type, and scaling property. If you specify a scalable
|
@@ -712,6 +744,9 @@ module Aws::ApplicationAutoScaling
|
|
712
744
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
|
713
745
|
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
|
714
746
|
#
|
747
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
748
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
749
|
+
#
|
715
750
|
# @option params [Integer] :max_results
|
716
751
|
# The maximum number of scalable targets. This value can be between 1
|
717
752
|
# and 50. The default value is 50.
|
@@ -763,9 +798,9 @@ module Aws::ApplicationAutoScaling
|
|
763
798
|
# @example Request syntax with placeholder values
|
764
799
|
#
|
765
800
|
# resp = client.describe_scaling_activities({
|
766
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
801
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
767
802
|
# resource_id: "ResourceIdMaxLen1600",
|
768
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
803
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
769
804
|
# max_results: 1,
|
770
805
|
# next_token: "XmlString",
|
771
806
|
# })
|
@@ -774,9 +809,9 @@ module Aws::ApplicationAutoScaling
|
|
774
809
|
#
|
775
810
|
# resp.scaling_activities #=> Array
|
776
811
|
# resp.scaling_activities[0].activity_id #=> String
|
777
|
-
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds"
|
812
|
+
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker"
|
778
813
|
# resp.scaling_activities[0].resource_id #=> String
|
779
|
-
# resp.scaling_activities[0].scalable_dimension #=> String, one of "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"
|
814
|
+
# resp.scaling_activities[0].scalable_dimension #=> String, one of "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"
|
780
815
|
# resp.scaling_activities[0].description #=> String
|
781
816
|
# resp.scaling_activities[0].cause #=> String
|
782
817
|
# resp.scaling_activities[0].start_time #=> Time
|
@@ -845,6 +880,10 @@ module Aws::ApplicationAutoScaling
|
|
845
880
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
846
881
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
847
882
|
#
|
883
|
+
# * Amazon SageMaker endpoint variants - The resource type is `variant`
|
884
|
+
# and the unique identifier is the resource ID. Example:
|
885
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
886
|
+
#
|
848
887
|
# @option params [String] :scalable_dimension
|
849
888
|
# The scalable dimension. This string consists of the service namespace,
|
850
889
|
# resource type, and scaling property. If you specify a scalable
|
@@ -877,6 +916,9 @@ module Aws::ApplicationAutoScaling
|
|
877
916
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
|
878
917
|
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
|
879
918
|
#
|
919
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
920
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
921
|
+
#
|
880
922
|
# @option params [Integer] :max_results
|
881
923
|
# The maximum number of scalable targets. This value can be between 1
|
882
924
|
# and 50. The default value is 50.
|
@@ -940,9 +982,9 @@ module Aws::ApplicationAutoScaling
|
|
940
982
|
#
|
941
983
|
# resp = client.describe_scaling_policies({
|
942
984
|
# policy_names: ["ResourceIdMaxLen1600"],
|
943
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
985
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
944
986
|
# resource_id: "ResourceIdMaxLen1600",
|
945
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
987
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
946
988
|
# max_results: 1,
|
947
989
|
# next_token: "XmlString",
|
948
990
|
# })
|
@@ -952,9 +994,9 @@ module Aws::ApplicationAutoScaling
|
|
952
994
|
# resp.scaling_policies #=> Array
|
953
995
|
# resp.scaling_policies[0].policy_arn #=> String
|
954
996
|
# resp.scaling_policies[0].policy_name #=> String
|
955
|
-
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds"
|
997
|
+
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker"
|
956
998
|
# resp.scaling_policies[0].resource_id #=> String
|
957
|
-
# resp.scaling_policies[0].scalable_dimension #=> String, one of "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"
|
999
|
+
# resp.scaling_policies[0].scalable_dimension #=> String, one of "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"
|
958
1000
|
# resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
|
959
1001
|
# resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
|
960
1002
|
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
|
@@ -965,7 +1007,7 @@ module Aws::ApplicationAutoScaling
|
|
965
1007
|
# resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
|
966
1008
|
# resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
|
967
1009
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
|
968
|
-
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.predefined_metric_type #=> String, one of "DynamoDBReadCapacityUtilization", "DynamoDBWriteCapacityUtilization", "ALBRequestCountPerTarget", "RDSReaderAverageCPUUtilization", "RDSReaderAverageDatabaseConnections", "EC2SpotFleetRequestAverageCPUUtilization", "EC2SpotFleetRequestAverageNetworkIn", "EC2SpotFleetRequestAverageNetworkOut", "ECSServiceAverageCPUUtilization", "ECSServiceAverageMemoryUtilization"
|
1010
|
+
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.predefined_metric_type #=> String, one of "DynamoDBReadCapacityUtilization", "DynamoDBWriteCapacityUtilization", "ALBRequestCountPerTarget", "RDSReaderAverageCPUUtilization", "RDSReaderAverageDatabaseConnections", "EC2SpotFleetRequestAverageCPUUtilization", "EC2SpotFleetRequestAverageNetworkIn", "EC2SpotFleetRequestAverageNetworkOut", "SageMakerVariantInvocationsPerInstance", "ECSServiceAverageCPUUtilization", "ECSServiceAverageMemoryUtilization"
|
969
1011
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
|
970
1012
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
|
971
1013
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
|
@@ -1042,6 +1084,10 @@ module Aws::ApplicationAutoScaling
|
|
1042
1084
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1043
1085
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1044
1086
|
#
|
1087
|
+
# * Amazon SageMaker endpoint variants - The resource type is `variant`
|
1088
|
+
# and the unique identifier is the resource ID. Example:
|
1089
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1090
|
+
#
|
1045
1091
|
# @option params [String] :scalable_dimension
|
1046
1092
|
# The scalable dimension. This string consists of the service namespace,
|
1047
1093
|
# resource type, and scaling property. If you specify a scalable
|
@@ -1074,6 +1120,9 @@ module Aws::ApplicationAutoScaling
|
|
1074
1120
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
|
1075
1121
|
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
|
1076
1122
|
#
|
1123
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1124
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
1125
|
+
#
|
1077
1126
|
# @option params [Integer] :max_results
|
1078
1127
|
# The maximum number of scheduled action results. This value can be
|
1079
1128
|
# between 1 and 50. The default value is 50.
|
@@ -1096,9 +1145,9 @@ module Aws::ApplicationAutoScaling
|
|
1096
1145
|
#
|
1097
1146
|
# resp = client.describe_scheduled_actions({
|
1098
1147
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
1099
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
1148
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
1100
1149
|
# resource_id: "ResourceIdMaxLen1600",
|
1101
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
1150
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
1102
1151
|
# max_results: 1,
|
1103
1152
|
# next_token: "XmlString",
|
1104
1153
|
# })
|
@@ -1108,10 +1157,10 @@ module Aws::ApplicationAutoScaling
|
|
1108
1157
|
# resp.scheduled_actions #=> Array
|
1109
1158
|
# resp.scheduled_actions[0].scheduled_action_name #=> String
|
1110
1159
|
# resp.scheduled_actions[0].scheduled_action_arn #=> String
|
1111
|
-
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds"
|
1160
|
+
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker"
|
1112
1161
|
# resp.scheduled_actions[0].schedule #=> String
|
1113
1162
|
# resp.scheduled_actions[0].resource_id #=> String
|
1114
|
-
# resp.scheduled_actions[0].scalable_dimension #=> String, one of "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"
|
1163
|
+
# resp.scheduled_actions[0].scalable_dimension #=> String, one of "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"
|
1115
1164
|
# resp.scheduled_actions[0].start_time #=> Time
|
1116
1165
|
# resp.scheduled_actions[0].end_time #=> Time
|
1117
1166
|
# resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
|
@@ -1185,6 +1234,10 @@ module Aws::ApplicationAutoScaling
|
|
1185
1234
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1186
1235
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1187
1236
|
#
|
1237
|
+
# * Amazon SageMaker endpoint variants - The resource type is `variant`
|
1238
|
+
# and the unique identifier is the resource ID. Example:
|
1239
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1240
|
+
#
|
1188
1241
|
# @option params [required, String] :scalable_dimension
|
1189
1242
|
# The scalable dimension. This string consists of the service namespace,
|
1190
1243
|
# resource type, and scaling property.
|
@@ -1216,6 +1269,9 @@ module Aws::ApplicationAutoScaling
|
|
1216
1269
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
|
1217
1270
|
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
|
1218
1271
|
#
|
1272
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1273
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
1274
|
+
#
|
1219
1275
|
# @option params [String] :policy_type
|
1220
1276
|
# The policy type. This parameter is required if you are creating a
|
1221
1277
|
# policy.
|
@@ -1303,9 +1359,9 @@ module Aws::ApplicationAutoScaling
|
|
1303
1359
|
#
|
1304
1360
|
# resp = client.put_scaling_policy({
|
1305
1361
|
# policy_name: "PolicyName", # required
|
1306
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
1362
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
1307
1363
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1308
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
1364
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
1309
1365
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
1310
1366
|
# step_scaling_policy_configuration: {
|
1311
1367
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -1323,7 +1379,7 @@ module Aws::ApplicationAutoScaling
|
|
1323
1379
|
# target_tracking_scaling_policy_configuration: {
|
1324
1380
|
# target_value: 1.0, # required
|
1325
1381
|
# predefined_metric_specification: {
|
1326
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
|
1382
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
|
1327
1383
|
# resource_label: "ResourceLabel",
|
1328
1384
|
# },
|
1329
1385
|
# customized_metric_specification: {
|
@@ -1439,6 +1495,10 @@ module Aws::ApplicationAutoScaling
|
|
1439
1495
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1440
1496
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1441
1497
|
#
|
1498
|
+
# * Amazon SageMaker endpoint variants - The resource type is `variant`
|
1499
|
+
# and the unique identifier is the resource ID. Example:
|
1500
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1501
|
+
#
|
1442
1502
|
# @option params [String] :scalable_dimension
|
1443
1503
|
# The scalable dimension. This parameter is required if you are creating
|
1444
1504
|
# a scheduled action. This string consists of the service namespace,
|
@@ -1471,6 +1531,9 @@ module Aws::ApplicationAutoScaling
|
|
1471
1531
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
|
1472
1532
|
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
|
1473
1533
|
#
|
1534
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1535
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
1536
|
+
#
|
1474
1537
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
1475
1538
|
# The date and time for the scheduled action to start.
|
1476
1539
|
#
|
@@ -1489,11 +1552,11 @@ module Aws::ApplicationAutoScaling
|
|
1489
1552
|
# @example Request syntax with placeholder values
|
1490
1553
|
#
|
1491
1554
|
# resp = client.put_scheduled_action({
|
1492
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
1555
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
1493
1556
|
# schedule: "ResourceIdMaxLen1600",
|
1494
1557
|
# scheduled_action_name: "ScheduledActionName", # required
|
1495
1558
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1496
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
1559
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
1497
1560
|
# start_time: Time.now,
|
1498
1561
|
# end_time: Time.now,
|
1499
1562
|
# scalable_target_action: {
|
@@ -1560,6 +1623,10 @@ module Aws::ApplicationAutoScaling
|
|
1560
1623
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1561
1624
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1562
1625
|
#
|
1626
|
+
# * Amazon SageMaker endpoint variants - The resource type is `variant`
|
1627
|
+
# and the unique identifier is the resource ID. Example:
|
1628
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1629
|
+
#
|
1563
1630
|
# @option params [required, String] :scalable_dimension
|
1564
1631
|
# The scalable dimension associated with the scalable target. This
|
1565
1632
|
# string consists of the service namespace, resource type, and scaling
|
@@ -1592,6 +1659,9 @@ module Aws::ApplicationAutoScaling
|
|
1592
1659
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
|
1593
1660
|
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
|
1594
1661
|
#
|
1662
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1663
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
1664
|
+
#
|
1595
1665
|
# @option params [Integer] :min_capacity
|
1596
1666
|
# The minimum value to scale to in response to a scale in event. This
|
1597
1667
|
# parameter is required if you are registering a scalable target.
|
@@ -1653,9 +1723,9 @@ module Aws::ApplicationAutoScaling
|
|
1653
1723
|
# @example Request syntax with placeholder values
|
1654
1724
|
#
|
1655
1725
|
# resp = client.register_scalable_target({
|
1656
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
1726
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
1657
1727
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1658
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
1728
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
1659
1729
|
# min_capacity: 1,
|
1660
1730
|
# max_capacity: 1,
|
1661
1731
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -1683,7 +1753,7 @@ module Aws::ApplicationAutoScaling
|
|
1683
1753
|
params: params,
|
1684
1754
|
config: config)
|
1685
1755
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
1686
|
-
context[:gem_version] = '1.
|
1756
|
+
context[:gem_version] = '1.8.0'
|
1687
1757
|
Seahorse::Client::Request.new(handlers, context)
|
1688
1758
|
end
|
1689
1759
|
|
@@ -80,9 +80,9 @@ module Aws::ApplicationAutoScaling
|
|
80
80
|
#
|
81
81
|
# {
|
82
82
|
# policy_name: "ResourceIdMaxLen1600", # required
|
83
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
83
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
84
84
|
# resource_id: "ResourceIdMaxLen1600", # required
|
85
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
85
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
86
86
|
# }
|
87
87
|
#
|
88
88
|
# @!attribute [rw] policy_name
|
@@ -127,6 +127,10 @@ module Aws::ApplicationAutoScaling
|
|
127
127
|
#
|
128
128
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
129
129
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
130
|
+
#
|
131
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
132
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
133
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
130
134
|
# @return [String]
|
131
135
|
#
|
132
136
|
# @!attribute [rw] scalable_dimension
|
@@ -160,6 +164,9 @@ module Aws::ApplicationAutoScaling
|
|
160
164
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
161
165
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
162
166
|
# edition.
|
167
|
+
#
|
168
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
169
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
163
170
|
# @return [String]
|
164
171
|
#
|
165
172
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicyRequest AWS API Documentation
|
@@ -180,10 +187,10 @@ module Aws::ApplicationAutoScaling
|
|
180
187
|
# data as a hash:
|
181
188
|
#
|
182
189
|
# {
|
183
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
190
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
184
191
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
185
192
|
# resource_id: "ResourceIdMaxLen1600", # required
|
186
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
193
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
187
194
|
# }
|
188
195
|
#
|
189
196
|
# @!attribute [rw] service_namespace
|
@@ -228,6 +235,10 @@ module Aws::ApplicationAutoScaling
|
|
228
235
|
#
|
229
236
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
230
237
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
238
|
+
#
|
239
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
240
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
241
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
231
242
|
# @return [String]
|
232
243
|
#
|
233
244
|
# @!attribute [rw] scalable_dimension
|
@@ -261,6 +272,9 @@ module Aws::ApplicationAutoScaling
|
|
261
272
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
262
273
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
263
274
|
# edition.
|
275
|
+
#
|
276
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
277
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
264
278
|
# @return [String]
|
265
279
|
#
|
266
280
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledActionRequest AWS API Documentation
|
@@ -281,9 +295,9 @@ module Aws::ApplicationAutoScaling
|
|
281
295
|
# data as a hash:
|
282
296
|
#
|
283
297
|
# {
|
284
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
298
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
285
299
|
# resource_id: "ResourceIdMaxLen1600", # required
|
286
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
300
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
287
301
|
# }
|
288
302
|
#
|
289
303
|
# @!attribute [rw] service_namespace
|
@@ -324,6 +338,10 @@ module Aws::ApplicationAutoScaling
|
|
324
338
|
#
|
325
339
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
326
340
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
341
|
+
#
|
342
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
343
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
344
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
327
345
|
# @return [String]
|
328
346
|
#
|
329
347
|
# @!attribute [rw] scalable_dimension
|
@@ -358,6 +376,9 @@ module Aws::ApplicationAutoScaling
|
|
358
376
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
359
377
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
360
378
|
# edition.
|
379
|
+
#
|
380
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
381
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
361
382
|
# @return [String]
|
362
383
|
#
|
363
384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTargetRequest AWS API Documentation
|
@@ -377,9 +398,9 @@ module Aws::ApplicationAutoScaling
|
|
377
398
|
# data as a hash:
|
378
399
|
#
|
379
400
|
# {
|
380
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
401
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
381
402
|
# resource_ids: ["ResourceIdMaxLen1600"],
|
382
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
403
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
383
404
|
# max_results: 1,
|
384
405
|
# next_token: "XmlString",
|
385
406
|
# }
|
@@ -424,6 +445,10 @@ module Aws::ApplicationAutoScaling
|
|
424
445
|
#
|
425
446
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
426
447
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
448
|
+
#
|
449
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
450
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
451
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
427
452
|
# @return [Array<String>]
|
428
453
|
#
|
429
454
|
# @!attribute [rw] scalable_dimension
|
@@ -459,6 +484,9 @@ module Aws::ApplicationAutoScaling
|
|
459
484
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
460
485
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
461
486
|
# edition.
|
487
|
+
#
|
488
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
489
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
462
490
|
# @return [String]
|
463
491
|
#
|
464
492
|
# @!attribute [rw] max_results
|
@@ -508,9 +536,9 @@ module Aws::ApplicationAutoScaling
|
|
508
536
|
# data as a hash:
|
509
537
|
#
|
510
538
|
# {
|
511
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
539
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
512
540
|
# resource_id: "ResourceIdMaxLen1600",
|
513
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
541
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
514
542
|
# max_results: 1,
|
515
543
|
# next_token: "XmlString",
|
516
544
|
# }
|
@@ -555,6 +583,10 @@ module Aws::ApplicationAutoScaling
|
|
555
583
|
#
|
556
584
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
557
585
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
586
|
+
#
|
587
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
588
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
589
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
558
590
|
# @return [String]
|
559
591
|
#
|
560
592
|
# @!attribute [rw] scalable_dimension
|
@@ -589,6 +621,9 @@ module Aws::ApplicationAutoScaling
|
|
589
621
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
590
622
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
591
623
|
# edition.
|
624
|
+
#
|
625
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
626
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
592
627
|
# @return [String]
|
593
628
|
#
|
594
629
|
# @!attribute [rw] max_results
|
@@ -639,9 +674,9 @@ module Aws::ApplicationAutoScaling
|
|
639
674
|
#
|
640
675
|
# {
|
641
676
|
# policy_names: ["ResourceIdMaxLen1600"],
|
642
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
677
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
643
678
|
# resource_id: "ResourceIdMaxLen1600",
|
644
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
679
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
645
680
|
# max_results: 1,
|
646
681
|
# next_token: "XmlString",
|
647
682
|
# }
|
@@ -690,6 +725,10 @@ module Aws::ApplicationAutoScaling
|
|
690
725
|
#
|
691
726
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
692
727
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
728
|
+
#
|
729
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
730
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
731
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
693
732
|
# @return [String]
|
694
733
|
#
|
695
734
|
# @!attribute [rw] scalable_dimension
|
@@ -724,6 +763,9 @@ module Aws::ApplicationAutoScaling
|
|
724
763
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
725
764
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
726
765
|
# edition.
|
766
|
+
#
|
767
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
768
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
727
769
|
# @return [String]
|
728
770
|
#
|
729
771
|
# @!attribute [rw] max_results
|
@@ -775,9 +817,9 @@ module Aws::ApplicationAutoScaling
|
|
775
817
|
#
|
776
818
|
# {
|
777
819
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
778
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
820
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
779
821
|
# resource_id: "ResourceIdMaxLen1600",
|
780
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
822
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
781
823
|
# max_results: 1,
|
782
824
|
# next_token: "XmlString",
|
783
825
|
# }
|
@@ -826,6 +868,10 @@ module Aws::ApplicationAutoScaling
|
|
826
868
|
#
|
827
869
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
828
870
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
871
|
+
#
|
872
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
873
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
874
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
829
875
|
# @return [String]
|
830
876
|
#
|
831
877
|
# @!attribute [rw] scalable_dimension
|
@@ -860,6 +906,9 @@ module Aws::ApplicationAutoScaling
|
|
860
906
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
861
907
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
862
908
|
# edition.
|
909
|
+
#
|
910
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
911
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
863
912
|
# @return [String]
|
864
913
|
#
|
865
914
|
# @!attribute [rw] max_results
|
@@ -938,7 +987,7 @@ module Aws::ApplicationAutoScaling
|
|
938
987
|
# data as a hash:
|
939
988
|
#
|
940
989
|
# {
|
941
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
|
990
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
|
942
991
|
# resource_label: "ResourceLabel",
|
943
992
|
# }
|
944
993
|
#
|
@@ -977,9 +1026,9 @@ module Aws::ApplicationAutoScaling
|
|
977
1026
|
#
|
978
1027
|
# {
|
979
1028
|
# policy_name: "PolicyName", # required
|
980
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
1029
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
981
1030
|
# resource_id: "ResourceIdMaxLen1600", # required
|
982
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
1031
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
983
1032
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
984
1033
|
# step_scaling_policy_configuration: {
|
985
1034
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -997,7 +1046,7 @@ module Aws::ApplicationAutoScaling
|
|
997
1046
|
# target_tracking_scaling_policy_configuration: {
|
998
1047
|
# target_value: 1.0, # required
|
999
1048
|
# predefined_metric_specification: {
|
1000
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
|
1049
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
|
1001
1050
|
# resource_label: "ResourceLabel",
|
1002
1051
|
# },
|
1003
1052
|
# customized_metric_specification: {
|
@@ -1060,6 +1109,10 @@ module Aws::ApplicationAutoScaling
|
|
1060
1109
|
#
|
1061
1110
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1062
1111
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1112
|
+
#
|
1113
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
1114
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
1115
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1063
1116
|
# @return [String]
|
1064
1117
|
#
|
1065
1118
|
# @!attribute [rw] scalable_dimension
|
@@ -1093,6 +1146,9 @@ module Aws::ApplicationAutoScaling
|
|
1093
1146
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
1094
1147
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
1095
1148
|
# edition.
|
1149
|
+
#
|
1150
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1151
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
1096
1152
|
# @return [String]
|
1097
1153
|
#
|
1098
1154
|
# @!attribute [rw] policy_type
|
@@ -1152,11 +1208,11 @@ module Aws::ApplicationAutoScaling
|
|
1152
1208
|
# data as a hash:
|
1153
1209
|
#
|
1154
1210
|
# {
|
1155
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
1211
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
1156
1212
|
# schedule: "ResourceIdMaxLen1600",
|
1157
1213
|
# scheduled_action_name: "ScheduledActionName", # required
|
1158
1214
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1159
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
1215
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts 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
|
1160
1216
|
# start_time: Time.now,
|
1161
1217
|
# end_time: Time.now,
|
1162
1218
|
# scalable_target_action: {
|
@@ -1229,6 +1285,10 @@ module Aws::ApplicationAutoScaling
|
|
1229
1285
|
#
|
1230
1286
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1231
1287
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1288
|
+
#
|
1289
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
1290
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
1291
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1232
1292
|
# @return [String]
|
1233
1293
|
#
|
1234
1294
|
# @!attribute [rw] scalable_dimension
|
@@ -1263,6 +1323,9 @@ module Aws::ApplicationAutoScaling
|
|
1263
1323
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
1264
1324
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
1265
1325
|
# edition.
|
1326
|
+
#
|
1327
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1328
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
1266
1329
|
# @return [String]
|
1267
1330
|
#
|
1268
1331
|
# @!attribute [rw] start_time
|
@@ -1304,9 +1367,9 @@ module Aws::ApplicationAutoScaling
|
|
1304
1367
|
# data as a hash:
|
1305
1368
|
#
|
1306
1369
|
# {
|
1307
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
|
1370
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
|
1308
1371
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1309
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
1372
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts 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
|
1310
1373
|
# min_capacity: 1,
|
1311
1374
|
# max_capacity: 1,
|
1312
1375
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -1350,6 +1413,10 @@ module Aws::ApplicationAutoScaling
|
|
1350
1413
|
#
|
1351
1414
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1352
1415
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1416
|
+
#
|
1417
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
1418
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
1419
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1353
1420
|
# @return [String]
|
1354
1421
|
#
|
1355
1422
|
# @!attribute [rw] scalable_dimension
|
@@ -1384,6 +1451,9 @@ module Aws::ApplicationAutoScaling
|
|
1384
1451
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
1385
1452
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
1386
1453
|
# edition.
|
1454
|
+
#
|
1455
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1456
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
1387
1457
|
# @return [String]
|
1388
1458
|
#
|
1389
1459
|
# @!attribute [rw] min_capacity
|
@@ -1468,6 +1538,10 @@ module Aws::ApplicationAutoScaling
|
|
1468
1538
|
#
|
1469
1539
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1470
1540
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1541
|
+
#
|
1542
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
1543
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
1544
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1471
1545
|
# @return [String]
|
1472
1546
|
#
|
1473
1547
|
# @!attribute [rw] scalable_dimension
|
@@ -1502,6 +1576,9 @@ module Aws::ApplicationAutoScaling
|
|
1502
1576
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
1503
1577
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
1504
1578
|
# edition.
|
1579
|
+
#
|
1580
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1581
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
1505
1582
|
# @return [String]
|
1506
1583
|
#
|
1507
1584
|
# @!attribute [rw] min_capacity
|
@@ -1604,6 +1681,10 @@ module Aws::ApplicationAutoScaling
|
|
1604
1681
|
#
|
1605
1682
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1606
1683
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1684
|
+
#
|
1685
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
1686
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
1687
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1607
1688
|
# @return [String]
|
1608
1689
|
#
|
1609
1690
|
# @!attribute [rw] scalable_dimension
|
@@ -1637,6 +1718,9 @@ module Aws::ApplicationAutoScaling
|
|
1637
1718
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
1638
1719
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
1639
1720
|
# edition.
|
1721
|
+
#
|
1722
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1723
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
1640
1724
|
# @return [String]
|
1641
1725
|
#
|
1642
1726
|
# @!attribute [rw] description
|
@@ -1733,6 +1817,10 @@ module Aws::ApplicationAutoScaling
|
|
1733
1817
|
#
|
1734
1818
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1735
1819
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1820
|
+
#
|
1821
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
1822
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
1823
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1736
1824
|
# @return [String]
|
1737
1825
|
#
|
1738
1826
|
# @!attribute [rw] scalable_dimension
|
@@ -1766,6 +1854,9 @@ module Aws::ApplicationAutoScaling
|
|
1766
1854
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
1767
1855
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
1768
1856
|
# edition.
|
1857
|
+
#
|
1858
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1859
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
1769
1860
|
# @return [String]
|
1770
1861
|
#
|
1771
1862
|
# @!attribute [rw] policy_type
|
@@ -1874,6 +1965,10 @@ module Aws::ApplicationAutoScaling
|
|
1874
1965
|
#
|
1875
1966
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1876
1967
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1968
|
+
#
|
1969
|
+
# * Amazon SageMaker endpoint variants - The resource type is
|
1970
|
+
# `variant` and the unique identifier is the resource ID. Example:
|
1971
|
+
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1877
1972
|
# @return [String]
|
1878
1973
|
#
|
1879
1974
|
# @!attribute [rw] scalable_dimension
|
@@ -1907,6 +2002,9 @@ module Aws::ApplicationAutoScaling
|
|
1907
2002
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
1908
2003
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
1909
2004
|
# edition.
|
2005
|
+
#
|
2006
|
+
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
2007
|
+
# instances for an Amazon SageMaker model endpoint variant.
|
1910
2008
|
# @return [String]
|
1911
2009
|
#
|
1912
2010
|
# @!attribute [rw] start_time
|
@@ -2107,7 +2205,7 @@ module Aws::ApplicationAutoScaling
|
|
2107
2205
|
# {
|
2108
2206
|
# target_value: 1.0, # required
|
2109
2207
|
# predefined_metric_specification: {
|
2110
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
|
2208
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
|
2111
2209
|
# resource_label: "ResourceLabel",
|
2112
2210
|
# },
|
2113
2211
|
# customized_metric_specification: {
|
@@ -2137,7 +2235,7 @@ module Aws::ApplicationAutoScaling
|
|
2137
2235
|
# @return [Types::PredefinedMetricSpecification]
|
2138
2236
|
#
|
2139
2237
|
# @!attribute [rw] customized_metric_specification
|
2140
|
-
#
|
2238
|
+
# A customized metric.
|
2141
2239
|
# @return [Types::CustomizedMetricSpecification]
|
2142
2240
|
#
|
2143
2241
|
# @!attribute [rw] scale_out_cooldown
|
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.8.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: 2018-
|
11
|
+
date: 2018-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|