aws-sdk-applicationautoscaling 1.78.0 → 1.80.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationautoscaling/client.rb +90 -20
- data/lib/aws-sdk-applicationautoscaling/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-applicationautoscaling/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-applicationautoscaling/types.rb +105 -6
- data/lib/aws-sdk-applicationautoscaling.rb +1 -1
- data/sig/client.rbs +319 -0
- data/sig/errors.rbs +45 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +393 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
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
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.80.0 (2024-01-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.79.0 (2023-11-29)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon SageMaker customers can now use Application Auto Scaling to automatically scale the number of Inference Component copies across an endpoint to meet the varying demand of their workloads.
|
13
|
+
|
4
14
|
1.78.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.80.0
|
@@ -411,8 +411,8 @@ module Aws::ApplicationAutoScaling
|
|
411
411
|
#
|
412
412
|
#
|
413
413
|
#
|
414
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/
|
415
|
-
# [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/
|
414
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/create-step-scaling-policy-cli.html#delete-step-scaling-policy
|
415
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/create-target-tracking-policy-cli.html#delete-target-tracking-policy
|
416
416
|
#
|
417
417
|
# @option params [required, String] :policy_name
|
418
418
|
# The name of the scaling policy.
|
@@ -494,6 +494,10 @@ module Aws::ApplicationAutoScaling
|
|
494
494
|
# the unique identifier is the resource ID. Example:
|
495
495
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
496
496
|
#
|
497
|
+
# * SageMaker inference component - The resource type is
|
498
|
+
# `inference-component` and the unique identifier is the resource ID.
|
499
|
+
# Example: `inference-component/my-inference-component`.
|
500
|
+
#
|
497
501
|
#
|
498
502
|
#
|
499
503
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -568,6 +572,9 @@ module Aws::ApplicationAutoScaling
|
|
568
572
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
569
573
|
# concurrency for a SageMaker Serverless endpoint.
|
570
574
|
#
|
575
|
+
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
576
|
+
# copies across an endpoint for a SageMaker inference component.
|
577
|
+
#
|
571
578
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
572
579
|
#
|
573
580
|
#
|
@@ -593,7 +600,7 @@ module Aws::ApplicationAutoScaling
|
|
593
600
|
# policy_name: "ResourceIdMaxLen1600", # required
|
594
601
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
595
602
|
# resource_id: "ResourceIdMaxLen1600", # required
|
596
|
-
# 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, 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
|
603
|
+
# 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, 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
|
597
604
|
# })
|
598
605
|
#
|
599
606
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
|
@@ -695,6 +702,10 @@ module Aws::ApplicationAutoScaling
|
|
695
702
|
# the unique identifier is the resource ID. Example:
|
696
703
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
697
704
|
#
|
705
|
+
# * SageMaker inference component - The resource type is
|
706
|
+
# `inference-component` and the unique identifier is the resource ID.
|
707
|
+
# Example: `inference-component/my-inference-component`.
|
708
|
+
#
|
698
709
|
#
|
699
710
|
#
|
700
711
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -769,6 +780,9 @@ module Aws::ApplicationAutoScaling
|
|
769
780
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
770
781
|
# concurrency for a SageMaker Serverless endpoint.
|
771
782
|
#
|
783
|
+
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
784
|
+
# copies across an endpoint for a SageMaker inference component.
|
785
|
+
#
|
772
786
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
773
787
|
#
|
774
788
|
#
|
@@ -793,7 +807,7 @@ module Aws::ApplicationAutoScaling
|
|
793
807
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
794
808
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
795
809
|
# resource_id: "ResourceIdMaxLen1600", # required
|
796
|
-
# 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, 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
|
810
|
+
# 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, 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
|
797
811
|
# })
|
798
812
|
#
|
799
813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
|
@@ -895,6 +909,10 @@ module Aws::ApplicationAutoScaling
|
|
895
909
|
# the unique identifier is the resource ID. Example:
|
896
910
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
897
911
|
#
|
912
|
+
# * SageMaker inference component - The resource type is
|
913
|
+
# `inference-component` and the unique identifier is the resource ID.
|
914
|
+
# Example: `inference-component/my-inference-component`.
|
915
|
+
#
|
898
916
|
#
|
899
917
|
#
|
900
918
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -970,6 +988,9 @@ module Aws::ApplicationAutoScaling
|
|
970
988
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
971
989
|
# concurrency for a SageMaker Serverless endpoint.
|
972
990
|
#
|
991
|
+
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
992
|
+
# copies across an endpoint for a SageMaker inference component.
|
993
|
+
#
|
973
994
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
974
995
|
#
|
975
996
|
#
|
@@ -993,7 +1014,7 @@ module Aws::ApplicationAutoScaling
|
|
993
1014
|
# resp = client.deregister_scalable_target({
|
994
1015
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
995
1016
|
# resource_id: "ResourceIdMaxLen1600", # required
|
996
|
-
# 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, 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
|
1017
|
+
# 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, 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
|
997
1018
|
# })
|
998
1019
|
#
|
999
1020
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
|
@@ -1088,6 +1109,10 @@ module Aws::ApplicationAutoScaling
|
|
1088
1109
|
# the unique identifier is the resource ID. Example:
|
1089
1110
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1090
1111
|
#
|
1112
|
+
# * SageMaker inference component - The resource type is
|
1113
|
+
# `inference-component` and the unique identifier is the resource ID.
|
1114
|
+
# Example: `inference-component/my-inference-component`.
|
1115
|
+
#
|
1091
1116
|
#
|
1092
1117
|
#
|
1093
1118
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1164,6 +1189,9 @@ module Aws::ApplicationAutoScaling
|
|
1164
1189
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
1165
1190
|
# concurrency for a SageMaker Serverless endpoint.
|
1166
1191
|
#
|
1192
|
+
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
1193
|
+
# copies across an endpoint for a SageMaker inference component.
|
1194
|
+
#
|
1167
1195
|
# @option params [Integer] :max_results
|
1168
1196
|
# The maximum number of scalable targets. This value can be between 1
|
1169
1197
|
# and 50. The default value is 50.
|
@@ -1218,7 +1246,7 @@ module Aws::ApplicationAutoScaling
|
|
1218
1246
|
# resp = client.describe_scalable_targets({
|
1219
1247
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1220
1248
|
# resource_ids: ["ResourceIdMaxLen1600"],
|
1221
|
-
# 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, 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
|
1249
|
+
# 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, 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
|
1222
1250
|
# max_results: 1,
|
1223
1251
|
# next_token: "XmlString",
|
1224
1252
|
# })
|
@@ -1228,7 +1256,7 @@ module Aws::ApplicationAutoScaling
|
|
1228
1256
|
# resp.scalable_targets #=> Array
|
1229
1257
|
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1230
1258
|
# resp.scalable_targets[0].resource_id #=> String
|
1231
|
-
# 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", "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"
|
1259
|
+
# 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", "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"
|
1232
1260
|
# resp.scalable_targets[0].min_capacity #=> Integer
|
1233
1261
|
# resp.scalable_targets[0].max_capacity #=> Integer
|
1234
1262
|
# resp.scalable_targets[0].role_arn #=> String
|
@@ -1338,6 +1366,10 @@ module Aws::ApplicationAutoScaling
|
|
1338
1366
|
# the unique identifier is the resource ID. Example:
|
1339
1367
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1340
1368
|
#
|
1369
|
+
# * SageMaker inference component - The resource type is
|
1370
|
+
# `inference-component` and the unique identifier is the resource ID.
|
1371
|
+
# Example: `inference-component/my-inference-component`.
|
1372
|
+
#
|
1341
1373
|
#
|
1342
1374
|
#
|
1343
1375
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1413,6 +1445,9 @@ module Aws::ApplicationAutoScaling
|
|
1413
1445
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
1414
1446
|
# concurrency for a SageMaker Serverless endpoint.
|
1415
1447
|
#
|
1448
|
+
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
1449
|
+
# copies across an endpoint for a SageMaker inference component.
|
1450
|
+
#
|
1416
1451
|
# @option params [Integer] :max_results
|
1417
1452
|
# The maximum number of scalable targets. This value can be between 1
|
1418
1453
|
# and 50. The default value is 50.
|
@@ -1480,7 +1515,7 @@ module Aws::ApplicationAutoScaling
|
|
1480
1515
|
# resp = client.describe_scaling_activities({
|
1481
1516
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1482
1517
|
# resource_id: "ResourceIdMaxLen1600",
|
1483
|
-
# 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, 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
|
1518
|
+
# 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, 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
|
1484
1519
|
# max_results: 1,
|
1485
1520
|
# next_token: "XmlString",
|
1486
1521
|
# include_not_scaled_activities: false,
|
@@ -1492,7 +1527,7 @@ module Aws::ApplicationAutoScaling
|
|
1492
1527
|
# resp.scaling_activities[0].activity_id #=> String
|
1493
1528
|
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1494
1529
|
# resp.scaling_activities[0].resource_id #=> String
|
1495
|
-
# 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", "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"
|
1530
|
+
# 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", "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"
|
1496
1531
|
# resp.scaling_activities[0].description #=> String
|
1497
1532
|
# resp.scaling_activities[0].cause #=> String
|
1498
1533
|
# resp.scaling_activities[0].start_time #=> Time
|
@@ -1611,6 +1646,10 @@ module Aws::ApplicationAutoScaling
|
|
1611
1646
|
# the unique identifier is the resource ID. Example:
|
1612
1647
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1613
1648
|
#
|
1649
|
+
# * SageMaker inference component - The resource type is
|
1650
|
+
# `inference-component` and the unique identifier is the resource ID.
|
1651
|
+
# Example: `inference-component/my-inference-component`.
|
1652
|
+
#
|
1614
1653
|
#
|
1615
1654
|
#
|
1616
1655
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1686,6 +1725,9 @@ module Aws::ApplicationAutoScaling
|
|
1686
1725
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
1687
1726
|
# concurrency for a SageMaker Serverless endpoint.
|
1688
1727
|
#
|
1728
|
+
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
1729
|
+
# copies across an endpoint for a SageMaker inference component.
|
1730
|
+
#
|
1689
1731
|
# @option params [Integer] :max_results
|
1690
1732
|
# The maximum number of scalable targets. This value can be between 1
|
1691
1733
|
# and 10. The default value is 10.
|
@@ -1753,7 +1795,7 @@ module Aws::ApplicationAutoScaling
|
|
1753
1795
|
# policy_names: ["ResourceIdMaxLen1600"],
|
1754
1796
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1755
1797
|
# resource_id: "ResourceIdMaxLen1600",
|
1756
|
-
# 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, 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
|
1798
|
+
# 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, 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
|
1757
1799
|
# max_results: 1,
|
1758
1800
|
# next_token: "XmlString",
|
1759
1801
|
# })
|
@@ -1765,7 +1807,7 @@ module Aws::ApplicationAutoScaling
|
|
1765
1807
|
# resp.scaling_policies[0].policy_name #=> String
|
1766
1808
|
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1767
1809
|
# resp.scaling_policies[0].resource_id #=> String
|
1768
|
-
# 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", "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"
|
1810
|
+
# 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", "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"
|
1769
1811
|
# resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
|
1770
1812
|
# resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
|
1771
1813
|
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
|
@@ -1776,7 +1818,7 @@ module Aws::ApplicationAutoScaling
|
|
1776
1818
|
# resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
|
1777
1819
|
# resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
|
1778
1820
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
|
1779
|
-
# 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", "AppStreamAverageCapacityUtilization", "ComprehendInferenceUtilization", "LambdaProvisionedConcurrencyUtilization", "CassandraReadCapacityUtilization", "CassandraWriteCapacityUtilization", "KafkaBrokerStorageUtilization", "ElastiCachePrimaryEngineCPUUtilization", "ElastiCacheReplicaEngineCPUUtilization", "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage", "NeptuneReaderAverageCPUUtilization", "SageMakerVariantProvisionedConcurrencyUtilization", "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage"
|
1821
|
+
# 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", "AppStreamAverageCapacityUtilization", "ComprehendInferenceUtilization", "LambdaProvisionedConcurrencyUtilization", "CassandraReadCapacityUtilization", "CassandraWriteCapacityUtilization", "KafkaBrokerStorageUtilization", "ElastiCachePrimaryEngineCPUUtilization", "ElastiCacheReplicaEngineCPUUtilization", "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage", "NeptuneReaderAverageCPUUtilization", "SageMakerVariantProvisionedConcurrencyUtilization", "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage", "SageMakerInferenceComponentInvocationsPerCopy"
|
1780
1822
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
|
1781
1823
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
|
1782
1824
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
|
@@ -1909,6 +1951,10 @@ module Aws::ApplicationAutoScaling
|
|
1909
1951
|
# the unique identifier is the resource ID. Example:
|
1910
1952
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1911
1953
|
#
|
1954
|
+
# * SageMaker inference component - The resource type is
|
1955
|
+
# `inference-component` and the unique identifier is the resource ID.
|
1956
|
+
# Example: `inference-component/my-inference-component`.
|
1957
|
+
#
|
1912
1958
|
#
|
1913
1959
|
#
|
1914
1960
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1984,6 +2030,9 @@ module Aws::ApplicationAutoScaling
|
|
1984
2030
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
1985
2031
|
# concurrency for a SageMaker Serverless endpoint.
|
1986
2032
|
#
|
2033
|
+
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
2034
|
+
# copies across an endpoint for a SageMaker inference component.
|
2035
|
+
#
|
1987
2036
|
# @option params [Integer] :max_results
|
1988
2037
|
# The maximum number of scheduled action results. This value can be
|
1989
2038
|
# between 1 and 50. The default value is 50.
|
@@ -2051,7 +2100,7 @@ module Aws::ApplicationAutoScaling
|
|
2051
2100
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
2052
2101
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2053
2102
|
# resource_id: "ResourceIdMaxLen1600",
|
2054
|
-
# 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, 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
|
2103
|
+
# 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, 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
|
2055
2104
|
# max_results: 1,
|
2056
2105
|
# next_token: "XmlString",
|
2057
2106
|
# })
|
@@ -2065,7 +2114,7 @@ module Aws::ApplicationAutoScaling
|
|
2065
2114
|
# resp.scheduled_actions[0].schedule #=> String
|
2066
2115
|
# resp.scheduled_actions[0].timezone #=> String
|
2067
2116
|
# resp.scheduled_actions[0].resource_id #=> String
|
2068
|
-
# 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", "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"
|
2117
|
+
# 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", "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"
|
2069
2118
|
# resp.scheduled_actions[0].start_time #=> Time
|
2070
2119
|
# resp.scheduled_actions[0].end_time #=> Time
|
2071
2120
|
# resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
|
@@ -2269,6 +2318,10 @@ module Aws::ApplicationAutoScaling
|
|
2269
2318
|
# the unique identifier is the resource ID. Example:
|
2270
2319
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2271
2320
|
#
|
2321
|
+
# * SageMaker inference component - The resource type is
|
2322
|
+
# `inference-component` and the unique identifier is the resource ID.
|
2323
|
+
# Example: `inference-component/my-inference-component`.
|
2324
|
+
#
|
2272
2325
|
#
|
2273
2326
|
#
|
2274
2327
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2343,13 +2396,16 @@ module Aws::ApplicationAutoScaling
|
|
2343
2396
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
2344
2397
|
# concurrency for a SageMaker Serverless endpoint.
|
2345
2398
|
#
|
2399
|
+
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
2400
|
+
# copies across an endpoint for a SageMaker inference component.
|
2401
|
+
#
|
2346
2402
|
# @option params [String] :policy_type
|
2347
2403
|
# The scaling policy type. This parameter is required if you are
|
2348
2404
|
# creating a scaling policy.
|
2349
2405
|
#
|
2350
2406
|
# The following policy types are supported:
|
2351
2407
|
#
|
2352
|
-
# `TargetTrackingScaling`—Not supported for Amazon EMR
|
2408
|
+
# `TargetTrackingScaling`—Not supported for Amazon EMR.
|
2353
2409
|
#
|
2354
2410
|
# `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
|
2355
2411
|
# Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
|
@@ -2425,7 +2481,7 @@ module Aws::ApplicationAutoScaling
|
|
2425
2481
|
# policy_name: "PolicyName", # required
|
2426
2482
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2427
2483
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2428
|
-
# 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, 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
|
2484
|
+
# 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, 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
|
2429
2485
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
2430
2486
|
# step_scaling_policy_configuration: {
|
2431
2487
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -2443,7 +2499,7 @@ module Aws::ApplicationAutoScaling
|
|
2443
2499
|
# target_tracking_scaling_policy_configuration: {
|
2444
2500
|
# target_value: 1.0, # required
|
2445
2501
|
# predefined_metric_specification: {
|
2446
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage, NeptuneReaderAverageCPUUtilization, SageMakerVariantProvisionedConcurrencyUtilization, ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage
|
2502
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage, NeptuneReaderAverageCPUUtilization, SageMakerVariantProvisionedConcurrencyUtilization, ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage, SageMakerInferenceComponentInvocationsPerCopy
|
2447
2503
|
# resource_label: "ResourceLabel",
|
2448
2504
|
# },
|
2449
2505
|
# customized_metric_specification: {
|
@@ -2658,6 +2714,10 @@ module Aws::ApplicationAutoScaling
|
|
2658
2714
|
# the unique identifier is the resource ID. Example:
|
2659
2715
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2660
2716
|
#
|
2717
|
+
# * SageMaker inference component - The resource type is
|
2718
|
+
# `inference-component` and the unique identifier is the resource ID.
|
2719
|
+
# Example: `inference-component/my-inference-component`.
|
2720
|
+
#
|
2661
2721
|
#
|
2662
2722
|
#
|
2663
2723
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2732,6 +2792,9 @@ module Aws::ApplicationAutoScaling
|
|
2732
2792
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
2733
2793
|
# concurrency for a SageMaker Serverless endpoint.
|
2734
2794
|
#
|
2795
|
+
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
2796
|
+
# copies across an endpoint for a SageMaker inference component.
|
2797
|
+
#
|
2735
2798
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
2736
2799
|
# The date and time for this scheduled action to start, in UTC.
|
2737
2800
|
#
|
@@ -2777,7 +2840,7 @@ module Aws::ApplicationAutoScaling
|
|
2777
2840
|
# timezone: "ResourceIdMaxLen1600",
|
2778
2841
|
# scheduled_action_name: "ScheduledActionName", # required
|
2779
2842
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2780
|
-
# 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, 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
|
2843
|
+
# 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, 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
|
2781
2844
|
# start_time: Time.now,
|
2782
2845
|
# end_time: Time.now,
|
2783
2846
|
# scalable_target_action: {
|
@@ -2926,6 +2989,10 @@ module Aws::ApplicationAutoScaling
|
|
2926
2989
|
# the unique identifier is the resource ID. Example:
|
2927
2990
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2928
2991
|
#
|
2992
|
+
# * SageMaker inference component - The resource type is
|
2993
|
+
# `inference-component` and the unique identifier is the resource ID.
|
2994
|
+
# Example: `inference-component/my-inference-component`.
|
2995
|
+
#
|
2929
2996
|
#
|
2930
2997
|
#
|
2931
2998
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -3001,6 +3068,9 @@ module Aws::ApplicationAutoScaling
|
|
3001
3068
|
# * `sagemaker:variant:DesiredProvisionedConcurrency` - The provisioned
|
3002
3069
|
# concurrency for a SageMaker Serverless endpoint.
|
3003
3070
|
#
|
3071
|
+
# * `sagemaker:inference-component:DesiredCopyCount` - The number of
|
3072
|
+
# copies across an endpoint for a SageMaker inference component.
|
3073
|
+
#
|
3004
3074
|
# @option params [Integer] :min_capacity
|
3005
3075
|
# The minimum value that you plan to scale in to. When a scaling policy
|
3006
3076
|
# is in effect, Application Auto Scaling can scale in (contract) as
|
@@ -3143,7 +3213,7 @@ module Aws::ApplicationAutoScaling
|
|
3143
3213
|
# resp = client.register_scalable_target({
|
3144
3214
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
3145
3215
|
# resource_id: "ResourceIdMaxLen1600", # required
|
3146
|
-
# 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, 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
|
3216
|
+
# 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, 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
|
3147
3217
|
# min_capacity: 1,
|
3148
3218
|
# max_capacity: 1,
|
3149
3219
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -3323,7 +3393,7 @@ module Aws::ApplicationAutoScaling
|
|
3323
3393
|
params: params,
|
3324
3394
|
config: config)
|
3325
3395
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
3326
|
-
context[:gem_version] = '1.
|
3396
|
+
context[:gem_version] = '1.80.0'
|
3327
3397
|
Seahorse::Client::Request.new(handlers, context)
|
3328
3398
|
end
|
3329
3399
|
|
@@ -32,8 +32,8 @@ module Aws::ApplicationAutoScaling
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
36
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
37
37
|
return Aws::Endpoints::Endpoint.new(url: "https://application-autoscaling.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
39
|
return Aws::Endpoints::Endpoint.new(url: "https://application-autoscaling-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
@@ -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 '\
|