lib/aws-sdk-applicationautoscaling/client.rb in aws-sdk-applicationautoscaling-1.7.0 vs lib/aws-sdk-applicationautoscaling/client.rb in aws-sdk-applicationautoscaling-1.8.0
- old
+ new
@@ -202,10 +202,14 @@
# `table/my-table/index/my-table-index`.
#
# * Aurora DB cluster - The resource type is `cluster` and the unique
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
#
+ # * Amazon SageMaker endpoint variants - The resource type is `variant`
+ # and the unique identifier is the resource ID. Example:
+ # `endpoint/my-end-point/variant/KMeansClustering`.
+ #
# @option params [required, String] :scalable_dimension
# The scalable dimension. This string consists of the service namespace,
# resource type, and scaling property.
#
# * `ecs:service:DesiredCount` - The desired task count of an ECS
@@ -233,10 +237,13 @@
# for a DynamoDB global secondary index.
#
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
#
+ # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
+ # instances for an Amazon SageMaker model endpoint variant.
+ #
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
#
# @example Example: To delete a scaling policy
#
@@ -256,13 +263,13 @@
#
# @example Request syntax with placeholder values
#
# resp = client.delete_scaling_policy({
# policy_name: "ResourceIdMaxLen1600", # required
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
# resource_id: "ResourceIdMaxLen1600", # required
- # 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
+ # 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
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
#
# @overload delete_scaling_policy(params = {})
@@ -312,10 +319,14 @@
# `table/my-table/index/my-table-index`.
#
# * Aurora DB cluster - The resource type is `cluster` and the unique
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
#
+ # * Amazon SageMaker endpoint variants - The resource type is `variant`
+ # and the unique identifier is the resource ID. Example:
+ # `endpoint/my-end-point/variant/KMeansClustering`.
+ #
# @option params [String] :scalable_dimension
# The scalable dimension. This string consists of the service namespace,
# resource type, and scaling property.
#
# * `ecs:service:DesiredCount` - The desired task count of an ECS
@@ -343,19 +354,22 @@
# for a DynamoDB global secondary index.
#
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
#
+ # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
+ # instances for an Amazon SageMaker model endpoint variant.
+ #
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
#
# resp = client.delete_scheduled_action({
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
# scheduled_action_name: "ResourceIdMaxLen1600", # required
# resource_id: "ResourceIdMaxLen1600", # required
- # 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
+ # 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
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
#
# @overload delete_scheduled_action(params = {})
@@ -408,10 +422,14 @@
# `table/my-table/index/my-table-index`.
#
# * Aurora DB cluster - The resource type is `cluster` and the unique
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
#
+ # * Amazon SageMaker endpoint variants - The resource type is `variant`
+ # and the unique identifier is the resource ID. Example:
+ # `endpoint/my-end-point/variant/KMeansClustering`.
+ #
# @option params [required, String] :scalable_dimension
# The scalable dimension associated with the scalable target. This
# string consists of the service namespace, resource type, and scaling
# property.
#
@@ -440,10 +458,13 @@
# for a DynamoDB global secondary index.
#
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
#
+ # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
+ # instances for an Amazon SageMaker model endpoint variant.
+ #
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
#
# @example Example: To deregister a scalable target
#
@@ -461,13 +482,13 @@
# }
#
# @example Request syntax with placeholder values
#
# resp = client.deregister_scalable_target({
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
# resource_id: "ResourceIdMaxLen1600", # required
- # 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
+ # 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
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
#
# @overload deregister_scalable_target(params = {})
@@ -523,10 +544,14 @@
# `table/my-table/index/my-table-index`.
#
# * Aurora DB cluster - The resource type is `cluster` and the unique
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
#
+ # * Amazon SageMaker endpoint variants - The resource type is `variant`
+ # and the unique identifier is the resource ID. Example:
+ # `endpoint/my-end-point/variant/KMeansClustering`.
+ #
# @option params [String] :scalable_dimension
# The scalable dimension associated with the scalable target. This
# string consists of the service namespace, resource type, and scaling
# property. If you specify a scalable dimension, you must also specify a
# resource ID.
@@ -556,10 +581,13 @@
# for a DynamoDB global secondary index.
#
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
#
+ # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
+ # instances for an Amazon SageMaker model endpoint variant.
+ #
# @option params [Integer] :max_results
# The maximum number of scalable targets. This value can be between 1
# and 50. The default value is 50.
#
# If this parameter is used, the operation returns up to `MaxResults`
@@ -601,23 +629,23 @@
# }
#
# @example Request syntax with placeholder values
#
# resp = client.describe_scalable_targets({
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
# resource_ids: ["ResourceIdMaxLen1600"],
- # 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
+ # 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
# max_results: 1,
# next_token: "XmlString",
# })
#
# @example Response structure
#
# resp.scalable_targets #=> Array
- # resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds"
+ # resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker"
# resp.scalable_targets[0].resource_id #=> String
- # 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"
+ # 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"
# resp.scalable_targets[0].min_capacity #=> Integer
# resp.scalable_targets[0].max_capacity #=> Integer
# resp.scalable_targets[0].role_arn #=> String
# resp.scalable_targets[0].creation_time #=> Time
# resp.next_token #=> String
@@ -678,10 +706,14 @@
# `table/my-table/index/my-table-index`.
#
# * Aurora DB cluster - The resource type is `cluster` and the unique
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
#
+ # * Amazon SageMaker endpoint variants - The resource type is `variant`
+ # and the unique identifier is the resource ID. Example:
+ # `endpoint/my-end-point/variant/KMeansClustering`.
+ #
# @option params [String] :scalable_dimension
# The scalable dimension. This string consists of the service namespace,
# resource type, and scaling property. If you specify a scalable
# dimension, you must also specify a resource ID.
#
@@ -710,10 +742,13 @@
# for a DynamoDB global secondary index.
#
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
#
+ # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
+ # instances for an Amazon SageMaker model endpoint variant.
+ #
# @option params [Integer] :max_results
# The maximum number of scalable targets. This value can be between 1
# and 50. The default value is 50.
#
# If this parameter is used, the operation returns up to `MaxResults`
@@ -761,24 +796,24 @@
# }
#
# @example Request syntax with placeholder values
#
# resp = client.describe_scaling_activities({
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
# resource_id: "ResourceIdMaxLen1600",
- # 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
+ # 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
# max_results: 1,
# next_token: "XmlString",
# })
#
# @example Response structure
#
# resp.scaling_activities #=> Array
# resp.scaling_activities[0].activity_id #=> String
- # resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds"
+ # resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker"
# resp.scaling_activities[0].resource_id #=> String
- # 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"
+ # 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"
# resp.scaling_activities[0].description #=> String
# resp.scaling_activities[0].cause #=> String
# resp.scaling_activities[0].start_time #=> Time
# resp.scaling_activities[0].end_time #=> Time
# resp.scaling_activities[0].status_code #=> String, one of "Pending", "InProgress", "Successful", "Overridden", "Unfulfilled", "Failed"
@@ -843,10 +878,14 @@
# `table/my-table/index/my-table-index`.
#
# * Aurora DB cluster - The resource type is `cluster` and the unique
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
#
+ # * Amazon SageMaker endpoint variants - The resource type is `variant`
+ # and the unique identifier is the resource ID. Example:
+ # `endpoint/my-end-point/variant/KMeansClustering`.
+ #
# @option params [String] :scalable_dimension
# The scalable dimension. This string consists of the service namespace,
# resource type, and scaling property. If you specify a scalable
# dimension, you must also specify a resource ID.
#
@@ -875,10 +914,13 @@
# for a DynamoDB global secondary index.
#
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
#
+ # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
+ # instances for an Amazon SageMaker model endpoint variant.
+ #
# @option params [Integer] :max_results
# The maximum number of scalable targets. This value can be between 1
# and 50. The default value is 50.
#
# If this parameter is used, the operation returns up to `MaxResults`
@@ -938,36 +980,36 @@
#
# @example Request syntax with placeholder values
#
# resp = client.describe_scaling_policies({
# policy_names: ["ResourceIdMaxLen1600"],
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
# resource_id: "ResourceIdMaxLen1600",
- # 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
+ # 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
# max_results: 1,
# next_token: "XmlString",
# })
#
# @example Response structure
#
# resp.scaling_policies #=> Array
# resp.scaling_policies[0].policy_arn #=> String
# resp.scaling_policies[0].policy_name #=> String
- # resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds"
+ # resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker"
# resp.scaling_policies[0].resource_id #=> String
- # 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"
+ # 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"
# resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
# resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments[0].metric_interval_lower_bound #=> Float
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments[0].metric_interval_upper_bound #=> Float
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments[0].scaling_adjustment #=> Integer
# resp.scaling_policies[0].step_scaling_policy_configuration.min_adjustment_magnitude #=> Integer
# resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
# resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
- # 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"
+ # 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"
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.dimensions #=> Array
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.dimensions[0].name #=> String
@@ -1040,10 +1082,14 @@
# `table/my-table/index/my-table-index`.
#
# * Aurora DB cluster - The resource type is `cluster` and the unique
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
#
+ # * Amazon SageMaker endpoint variants - The resource type is `variant`
+ # and the unique identifier is the resource ID. Example:
+ # `endpoint/my-end-point/variant/KMeansClustering`.
+ #
# @option params [String] :scalable_dimension
# The scalable dimension. This string consists of the service namespace,
# resource type, and scaling property. If you specify a scalable
# dimension, you must also specify a resource ID.
#
@@ -1072,10 +1118,13 @@
# for a DynamoDB global secondary index.
#
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
#
+ # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
+ # instances for an Amazon SageMaker model endpoint variant.
+ #
# @option params [Integer] :max_results
# The maximum number of scheduled action results. This value can be
# between 1 and 50. The default value is 50.
#
# If this parameter is used, the operation returns up to `MaxResults`
@@ -1094,26 +1143,26 @@
#
# @example Request syntax with placeholder values
#
# resp = client.describe_scheduled_actions({
# scheduled_action_names: ["ResourceIdMaxLen1600"],
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
# resource_id: "ResourceIdMaxLen1600",
- # 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
+ # 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
# max_results: 1,
# next_token: "XmlString",
# })
#
# @example Response structure
#
# resp.scheduled_actions #=> Array
# resp.scheduled_actions[0].scheduled_action_name #=> String
# resp.scheduled_actions[0].scheduled_action_arn #=> String
- # resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds"
+ # resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker"
# resp.scheduled_actions[0].schedule #=> String
# resp.scheduled_actions[0].resource_id #=> String
- # 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"
+ # 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"
# resp.scheduled_actions[0].start_time #=> Time
# resp.scheduled_actions[0].end_time #=> Time
# resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
# resp.scheduled_actions[0].scalable_target_action.max_capacity #=> Integer
# resp.scheduled_actions[0].creation_time #=> Time
@@ -1183,10 +1232,14 @@
# `table/my-table/index/my-table-index`.
#
# * Aurora DB cluster - The resource type is `cluster` and the unique
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
#
+ # * Amazon SageMaker endpoint variants - The resource type is `variant`
+ # and the unique identifier is the resource ID. Example:
+ # `endpoint/my-end-point/variant/KMeansClustering`.
+ #
# @option params [required, String] :scalable_dimension
# The scalable dimension. This string consists of the service namespace,
# resource type, and scaling property.
#
# * `ecs:service:DesiredCount` - The desired task count of an ECS
@@ -1214,10 +1267,13 @@
# for a DynamoDB global secondary index.
#
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
#
+ # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
+ # instances for an Amazon SageMaker model endpoint variant.
+ #
# @option params [String] :policy_type
# The policy type. This parameter is required if you are creating a
# policy.
#
# For DynamoDB, only `TargetTrackingScaling` is supported. For Amazon
@@ -1301,13 +1357,13 @@
#
# @example Request syntax with placeholder values
#
# resp = client.put_scaling_policy({
# policy_name: "PolicyName", # required
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
# resource_id: "ResourceIdMaxLen1600", # required
- # 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
+ # 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
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
# step_scaling_policy_configuration: {
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
# step_adjustments: [
# {
@@ -1321,11 +1377,11 @@
# metric_aggregation_type: "Average", # accepts Average, Minimum, Maximum
# },
# target_tracking_scaling_policy_configuration: {
# target_value: 1.0, # required
# predefined_metric_specification: {
- # predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
+ # predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
# resource_label: "ResourceLabel",
# },
# customized_metric_specification: {
# metric_name: "MetricName", # required
# namespace: "MetricNamespace", # required
@@ -1437,10 +1493,14 @@
# `table/my-table/index/my-table-index`.
#
# * Aurora DB cluster - The resource type is `cluster` and the unique
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
#
+ # * Amazon SageMaker endpoint variants - The resource type is `variant`
+ # and the unique identifier is the resource ID. Example:
+ # `endpoint/my-end-point/variant/KMeansClustering`.
+ #
# @option params [String] :scalable_dimension
# The scalable dimension. This parameter is required if you are creating
# a scheduled action. This string consists of the service namespace,
# resource type, and scaling property.
#
@@ -1469,10 +1529,13 @@
# for a DynamoDB global secondary index.
#
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
#
+ # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
+ # instances for an Amazon SageMaker model endpoint variant.
+ #
# @option params [Time,DateTime,Date,Integer,String] :start_time
# The date and time for the scheduled action to start.
#
# @option params [Time,DateTime,Date,Integer,String] :end_time
# The date and time for the scheduled action to end.
@@ -1487,15 +1550,15 @@
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
#
# resp = client.put_scheduled_action({
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
# schedule: "ResourceIdMaxLen1600",
# scheduled_action_name: "ScheduledActionName", # required
# resource_id: "ResourceIdMaxLen1600", # required
- # 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
+ # 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
# start_time: Time.now,
# end_time: Time.now,
# scalable_target_action: {
# min_capacity: 1,
# max_capacity: 1,
@@ -1558,10 +1621,14 @@
# `table/my-table/index/my-table-index`.
#
# * Aurora DB cluster - The resource type is `cluster` and the unique
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
#
+ # * Amazon SageMaker endpoint variants - The resource type is `variant`
+ # and the unique identifier is the resource ID. Example:
+ # `endpoint/my-end-point/variant/KMeansClustering`.
+ #
# @option params [required, String] :scalable_dimension
# The scalable dimension associated with the scalable target. This
# string consists of the service namespace, resource type, and scaling
# property.
#
@@ -1590,10 +1657,13 @@
# for a DynamoDB global secondary index.
#
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an
# Aurora DB cluster. Available for Aurora MySQL-compatible edition.
#
+ # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
+ # instances for an Amazon SageMaker model endpoint variant.
+ #
# @option params [Integer] :min_capacity
# The minimum value to scale to in response to a scale in event. This
# parameter is required if you are registering a scalable target.
#
# @option params [Integer] :max_capacity
@@ -1651,13 +1721,13 @@
# }
#
# @example Request syntax with placeholder values
#
# resp = client.register_scalable_target({
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker
# resource_id: "ResourceIdMaxLen1600", # required
- # 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
+ # 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
# min_capacity: 1,
# max_capacity: 1,
# role_arn: "ResourceIdMaxLen1600",
# })
#
@@ -1681,10 +1751,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-applicationautoscaling'
- context[:gem_version] = '1.7.0'
+ context[:gem_version] = '1.8.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated