lib/aws-sdk-applicationautoscaling/client.rb in aws-sdk-applicationautoscaling-1.55.0 vs lib/aws-sdk-applicationautoscaling/client.rb in aws-sdk-applicationautoscaling-1.56.0

- old
+ new

@@ -367,12 +367,12 @@ # # * ECS service - The resource type is `service` and the unique # identifier is the cluster name and service name. Example: # `service/default/sample-webapp`. # - # * Spot Fleet request - The resource type is `spot-fleet-request` and - # the unique identifier is the Spot Fleet request ID. Example: + # * Spot Fleet - The resource type is `spot-fleet-request` and the + # unique identifier is the Spot Fleet request ID. Example: # `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`. # # * EMR cluster - The resource type is `instancegroup` and the unique # identifier is the cluster ID and instance group ID. Example: # `instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0`. @@ -388,12 +388,12 @@ # `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 variant - The resource type is `variant` - # and the unique identifier is the resource ID. Example: + # * SageMaker endpoint variant - The resource type is `variant` and the + # unique identifier is the resource ID. Example: # `endpoint/my-end-point/variant/KMeansClustering`. # # * Custom resources are not supported with a resource type. This # parameter must specify the `OutputValue` from the CloudFormation # template stack used to access the resources. The unique identifier @@ -424,12 +424,15 @@ # # * Amazon ElastiCache replication group - The resource type is # `replication-group` and the unique identifier is the replication # group name. Example: `replication-group/mycluster`. # + # * Neptune cluster - The resource type is `cluster` and the unique + # identifier is the cluster name. Example: `cluster:mycluster`. # # + # # [1]: https://github.com/aws/aws-auto-scaling-custom-resource # # @option params [required, String] :scalable_dimension # The scalable dimension. This string consists of the service namespace, # resource type, and scaling property. @@ -439,11 +442,11 @@ # # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count # of an EMR Instance Group. # # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a - # Spot Fleet request. + # Spot Fleet. # # * `appstream:fleet:DesiredCapacity` - The desired capacity of an # AppStream 2.0 fleet. # # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity @@ -461,11 +464,11 @@ # * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an # Aurora DB cluster. Available for Aurora MySQL-compatible edition and # Aurora PostgreSQL-compatible edition. # # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2 - # instances for an Amazon SageMaker model endpoint variant. + # instances for an SageMaker model endpoint variant. # # * `custom-resource:ResourceType:Property` - The scalable dimension for # a custom resource provided by your own application or service. # # * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` - @@ -492,10 +495,13 @@ # groups for an Amazon ElastiCache replication group. # # * `elasticache:replication-group:Replicas` - The number of replicas # per node group for an Amazon ElastiCache replication group. # + # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in + # an Amazon Neptune DB cluster. + # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # # @example Example: To delete a scaling policy # @@ -515,13 +521,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, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache + # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune # 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, 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 + # 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 # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation # # @overload delete_scaling_policy(params = {}) @@ -555,12 +561,12 @@ # # * ECS service - The resource type is `service` and the unique # identifier is the cluster name and service name. Example: # `service/default/sample-webapp`. # - # * Spot Fleet request - The resource type is `spot-fleet-request` and - # the unique identifier is the Spot Fleet request ID. Example: + # * Spot Fleet - The resource type is `spot-fleet-request` and the + # unique identifier is the Spot Fleet request ID. Example: # `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`. # # * EMR cluster - The resource type is `instancegroup` and the unique # identifier is the cluster ID and instance group ID. Example: # `instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0`. @@ -576,12 +582,12 @@ # `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 variant - The resource type is `variant` - # and the unique identifier is the resource ID. Example: + # * SageMaker endpoint variant - The resource type is `variant` and the + # unique identifier is the resource ID. Example: # `endpoint/my-end-point/variant/KMeansClustering`. # # * Custom resources are not supported with a resource type. This # parameter must specify the `OutputValue` from the CloudFormation # template stack used to access the resources. The unique identifier @@ -612,12 +618,15 @@ # # * Amazon ElastiCache replication group - The resource type is # `replication-group` and the unique identifier is the replication # group name. Example: `replication-group/mycluster`. # + # * Neptune cluster - The resource type is `cluster` and the unique + # identifier is the cluster name. Example: `cluster:mycluster`. # # + # # [1]: https://github.com/aws/aws-auto-scaling-custom-resource # # @option params [required, String] :scalable_dimension # The scalable dimension. This string consists of the service namespace, # resource type, and scaling property. @@ -627,11 +636,11 @@ # # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count # of an EMR Instance Group. # # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a - # Spot Fleet request. + # Spot Fleet. # # * `appstream:fleet:DesiredCapacity` - The desired capacity of an # AppStream 2.0 fleet. # # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity @@ -649,11 +658,11 @@ # * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an # Aurora DB cluster. Available for Aurora MySQL-compatible edition and # Aurora PostgreSQL-compatible edition. # # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2 - # instances for an Amazon SageMaker model endpoint variant. + # instances for an SageMaker model endpoint variant. # # * `custom-resource:ResourceType:Property` - The scalable dimension for # a custom resource provided by your own application or service. # # * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` - @@ -680,19 +689,22 @@ # groups for an Amazon ElastiCache replication group. # # * `elasticache:replication-group:Replicas` - The number of replicas # per node group for an Amazon ElastiCache replication group. # + # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in + # an Amazon Neptune DB cluster. + # # @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, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache + # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune # scheduled_action_name: "ResourceIdMaxLen1600", # required # 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, 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 + # 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 # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation # # @overload delete_scheduled_action(params = {}) @@ -726,12 +738,12 @@ # # * ECS service - The resource type is `service` and the unique # identifier is the cluster name and service name. Example: # `service/default/sample-webapp`. # - # * Spot Fleet request - The resource type is `spot-fleet-request` and - # the unique identifier is the Spot Fleet request ID. Example: + # * Spot Fleet - The resource type is `spot-fleet-request` and the + # unique identifier is the Spot Fleet request ID. Example: # `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`. # # * EMR cluster - The resource type is `instancegroup` and the unique # identifier is the cluster ID and instance group ID. Example: # `instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0`. @@ -747,12 +759,12 @@ # `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 variant - The resource type is `variant` - # and the unique identifier is the resource ID. Example: + # * SageMaker endpoint variant - The resource type is `variant` and the + # unique identifier is the resource ID. Example: # `endpoint/my-end-point/variant/KMeansClustering`. # # * Custom resources are not supported with a resource type. This # parameter must specify the `OutputValue` from the CloudFormation # template stack used to access the resources. The unique identifier @@ -783,12 +795,15 @@ # # * Amazon ElastiCache replication group - The resource type is # `replication-group` and the unique identifier is the replication # group name. Example: `replication-group/mycluster`. # + # * Neptune cluster - The resource type is `cluster` and the unique + # identifier is the cluster name. Example: `cluster:mycluster`. # # + # # [1]: https://github.com/aws/aws-auto-scaling-custom-resource # # @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 @@ -799,11 +814,11 @@ # # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count # of an EMR Instance Group. # # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a - # Spot Fleet request. + # Spot Fleet. # # * `appstream:fleet:DesiredCapacity` - The desired capacity of an # AppStream 2.0 fleet. # # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity @@ -821,11 +836,11 @@ # * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an # Aurora DB cluster. Available for Aurora MySQL-compatible edition and # Aurora PostgreSQL-compatible edition. # # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2 - # instances for an Amazon SageMaker model endpoint variant. + # instances for an SageMaker model endpoint variant. # # * `custom-resource:ResourceType:Property` - The scalable dimension for # a custom resource provided by your own application or service. # # * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` - @@ -852,10 +867,13 @@ # groups for an Amazon ElastiCache replication group. # # * `elasticache:replication-group:Replicas` - The number of replicas # per node group for an Amazon ElastiCache replication group. # + # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in + # an Amazon Neptune DB cluster. + # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # # @example Example: To deregister a scalable target # @@ -873,13 +891,13 @@ # } # # @example Request syntax with placeholder values # # resp = client.deregister_scalable_target({ - # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache + # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune # 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, 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 + # 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 # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation # # @overload deregister_scalable_target(params = {}) @@ -906,12 +924,12 @@ # # * ECS service - The resource type is `service` and the unique # identifier is the cluster name and service name. Example: # `service/default/sample-webapp`. # - # * Spot Fleet request - The resource type is `spot-fleet-request` and - # the unique identifier is the Spot Fleet request ID. Example: + # * Spot Fleet - The resource type is `spot-fleet-request` and the + # unique identifier is the Spot Fleet request ID. Example: # `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`. # # * EMR cluster - The resource type is `instancegroup` and the unique # identifier is the cluster ID and instance group ID. Example: # `instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0`. @@ -927,12 +945,12 @@ # `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 variant - The resource type is `variant` - # and the unique identifier is the resource ID. Example: + # * SageMaker endpoint variant - The resource type is `variant` and the + # unique identifier is the resource ID. Example: # `endpoint/my-end-point/variant/KMeansClustering`. # # * Custom resources are not supported with a resource type. This # parameter must specify the `OutputValue` from the CloudFormation # template stack used to access the resources. The unique identifier @@ -963,12 +981,15 @@ # # * Amazon ElastiCache replication group - The resource type is # `replication-group` and the unique identifier is the replication # group name. Example: `replication-group/mycluster`. # + # * Neptune cluster - The resource type is `cluster` and the unique + # identifier is the cluster name. Example: `cluster:mycluster`. # # + # # [1]: https://github.com/aws/aws-auto-scaling-custom-resource # # @option params [String] :scalable_dimension # The scalable dimension associated with the scalable target. This # string consists of the service namespace, resource type, and scaling @@ -980,11 +1001,11 @@ # # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count # of an EMR Instance Group. # # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a - # Spot Fleet request. + # Spot Fleet. # # * `appstream:fleet:DesiredCapacity` - The desired capacity of an # AppStream 2.0 fleet. # # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity @@ -1002,11 +1023,11 @@ # * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an # Aurora DB cluster. Available for Aurora MySQL-compatible edition and # Aurora PostgreSQL-compatible edition. # # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2 - # instances for an Amazon SageMaker model endpoint variant. + # instances for an SageMaker model endpoint variant. # # * `custom-resource:ResourceType:Property` - The scalable dimension for # a custom resource provided by your own application or service. # # * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` - @@ -1033,10 +1054,13 @@ # groups for an Amazon ElastiCache replication group. # # * `elasticache:replication-group:Replicas` - The number of replicas # per node group for an Amazon ElastiCache replication group. # + # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in + # an Amazon Neptune DB cluster. + # # @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` @@ -1085,23 +1109,23 @@ # } # # @example Request syntax with placeholder values # # resp = client.describe_scalable_targets({ - # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache + # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune # 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, 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 + # 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 # 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", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache" + # resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune" # 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", "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" + # 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" # 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.scalable_targets[0].suspended_state.dynamic_scaling_in_suspended #=> Boolean @@ -1134,12 +1158,12 @@ # # * ECS service - The resource type is `service` and the unique # identifier is the cluster name and service name. Example: # `service/default/sample-webapp`. # - # * Spot Fleet request - The resource type is `spot-fleet-request` and - # the unique identifier is the Spot Fleet request ID. Example: + # * Spot Fleet - The resource type is `spot-fleet-request` and the + # unique identifier is the Spot Fleet request ID. Example: # `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`. # # * EMR cluster - The resource type is `instancegroup` and the unique # identifier is the cluster ID and instance group ID. Example: # `instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0`. @@ -1155,12 +1179,12 @@ # `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 variant - The resource type is `variant` - # and the unique identifier is the resource ID. Example: + # * SageMaker endpoint variant - The resource type is `variant` and the + # unique identifier is the resource ID. Example: # `endpoint/my-end-point/variant/KMeansClustering`. # # * Custom resources are not supported with a resource type. This # parameter must specify the `OutputValue` from the CloudFormation # template stack used to access the resources. The unique identifier @@ -1191,12 +1215,15 @@ # # * Amazon ElastiCache replication group - The resource type is # `replication-group` and the unique identifier is the replication # group name. Example: `replication-group/mycluster`. # + # * Neptune cluster - The resource type is `cluster` and the unique + # identifier is the cluster name. Example: `cluster:mycluster`. # # + # # [1]: https://github.com/aws/aws-auto-scaling-custom-resource # # @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 @@ -1207,11 +1234,11 @@ # # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count # of an EMR Instance Group. # # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a - # Spot Fleet request. + # Spot Fleet. # # * `appstream:fleet:DesiredCapacity` - The desired capacity of an # AppStream 2.0 fleet. # # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity @@ -1229,11 +1256,11 @@ # * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an # Aurora DB cluster. Available for Aurora MySQL-compatible edition and # Aurora PostgreSQL-compatible edition. # # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2 - # instances for an Amazon SageMaker model endpoint variant. + # instances for an SageMaker model endpoint variant. # # * `custom-resource:ResourceType:Property` - The scalable dimension for # a custom resource provided by your own application or service. # # * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` - @@ -1260,10 +1287,13 @@ # groups for an Amazon ElastiCache replication group. # # * `elasticache:replication-group:Replicas` - The number of replicas # per node group for an Amazon ElastiCache replication group. # + # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in + # an Amazon Neptune DB cluster. + # # @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` @@ -1313,24 +1343,24 @@ # } # # @example Request syntax with placeholder values # # resp = client.describe_scaling_activities({ - # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache + # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune # 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, 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 + # 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 # 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", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache" + # resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune" # 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", "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" + # 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" # 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" @@ -1376,12 +1406,12 @@ # # * ECS service - The resource type is `service` and the unique # identifier is the cluster name and service name. Example: # `service/default/sample-webapp`. # - # * Spot Fleet request - The resource type is `spot-fleet-request` and - # the unique identifier is the Spot Fleet request ID. Example: + # * Spot Fleet - The resource type is `spot-fleet-request` and the + # unique identifier is the Spot Fleet request ID. Example: # `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`. # # * EMR cluster - The resource type is `instancegroup` and the unique # identifier is the cluster ID and instance group ID. Example: # `instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0`. @@ -1397,12 +1427,12 @@ # `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 variant - The resource type is `variant` - # and the unique identifier is the resource ID. Example: + # * SageMaker endpoint variant - The resource type is `variant` and the + # unique identifier is the resource ID. Example: # `endpoint/my-end-point/variant/KMeansClustering`. # # * Custom resources are not supported with a resource type. This # parameter must specify the `OutputValue` from the CloudFormation # template stack used to access the resources. The unique identifier @@ -1433,12 +1463,15 @@ # # * Amazon ElastiCache replication group - The resource type is # `replication-group` and the unique identifier is the replication # group name. Example: `replication-group/mycluster`. # + # * Neptune cluster - The resource type is `cluster` and the unique + # identifier is the cluster name. Example: `cluster:mycluster`. # # + # # [1]: https://github.com/aws/aws-auto-scaling-custom-resource # # @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 @@ -1449,11 +1482,11 @@ # # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count # of an EMR Instance Group. # # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a - # Spot Fleet request. + # Spot Fleet. # # * `appstream:fleet:DesiredCapacity` - The desired capacity of an # AppStream 2.0 fleet. # # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity @@ -1471,11 +1504,11 @@ # * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an # Aurora DB cluster. Available for Aurora MySQL-compatible edition and # Aurora PostgreSQL-compatible edition. # # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2 - # instances for an Amazon SageMaker model endpoint variant. + # instances for an SageMaker model endpoint variant. # # * `custom-resource:ResourceType:Property` - The scalable dimension for # a custom resource provided by your own application or service. # # * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` - @@ -1502,18 +1535,21 @@ # groups for an Amazon ElastiCache replication group. # # * `elasticache:replication-group:Replicas` - The number of replicas # per node group for an Amazon ElastiCache replication group. # + # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in + # an Amazon Neptune DB cluster. + # # @option params [Integer] :max_results # The maximum number of scalable targets. This value can be between 1 - # and 50. The default value is 50. + # and 10. The default value is 10. # # If this parameter is used, the operation returns up to `MaxResults` # results at a time, along with a `NextToken` value. To get the next set # of results, include the `NextToken` value in a subsequent call. If - # this parameter is not used, the operation returns up to 50 results and + # this parameter is not used, the operation returns up to 10 results and # a `NextToken` value, if applicable. # # @option params [String] :next_token # The token for the next set of results. # @@ -1567,36 +1603,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, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache + # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune # 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, 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 + # 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 # 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", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache" + # resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune" # 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", "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" + # 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" # 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", "SageMakerVariantInvocationsPerInstance", "ECSServiceAverageCPUUtilization", "ECSServiceAverageMemoryUtilization", "AppStreamAverageCapacityUtilization", "ComprehendInferenceUtilization", "LambdaProvisionedConcurrencyUtilization", "CassandraReadCapacityUtilization", "CassandraWriteCapacityUtilization", "KafkaBrokerStorageUtilization", "ElastiCachePrimaryEngineCPUUtilization", "ElastiCacheReplicaEngineCPUUtilization", "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage" + # 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" # 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 @@ -1649,12 +1685,12 @@ # # * ECS service - The resource type is `service` and the unique # identifier is the cluster name and service name. Example: # `service/default/sample-webapp`. # - # * Spot Fleet request - The resource type is `spot-fleet-request` and - # the unique identifier is the Spot Fleet request ID. Example: + # * Spot Fleet - The resource type is `spot-fleet-request` and the + # unique identifier is the Spot Fleet request ID. Example: # `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`. # # * EMR cluster - The resource type is `instancegroup` and the unique # identifier is the cluster ID and instance group ID. Example: # `instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0`. @@ -1670,12 +1706,12 @@ # `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 variant - The resource type is `variant` - # and the unique identifier is the resource ID. Example: + # * SageMaker endpoint variant - The resource type is `variant` and the + # unique identifier is the resource ID. Example: # `endpoint/my-end-point/variant/KMeansClustering`. # # * Custom resources are not supported with a resource type. This # parameter must specify the `OutputValue` from the CloudFormation # template stack used to access the resources. The unique identifier @@ -1706,12 +1742,15 @@ # # * Amazon ElastiCache replication group - The resource type is # `replication-group` and the unique identifier is the replication # group name. Example: `replication-group/mycluster`. # + # * Neptune cluster - The resource type is `cluster` and the unique + # identifier is the cluster name. Example: `cluster:mycluster`. # # + # # [1]: https://github.com/aws/aws-auto-scaling-custom-resource # # @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 @@ -1722,11 +1761,11 @@ # # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count # of an EMR Instance Group. # # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a - # Spot Fleet request. + # Spot Fleet. # # * `appstream:fleet:DesiredCapacity` - The desired capacity of an # AppStream 2.0 fleet. # # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity @@ -1744,11 +1783,11 @@ # * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an # Aurora DB cluster. Available for Aurora MySQL-compatible edition and # Aurora PostgreSQL-compatible edition. # # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2 - # instances for an Amazon SageMaker model endpoint variant. + # instances for an SageMaker model endpoint variant. # # * `custom-resource:ResourceType:Property` - The scalable dimension for # a custom resource provided by your own application or service. # # * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` - @@ -1775,10 +1814,13 @@ # groups for an Amazon ElastiCache replication group. # # * `elasticache:replication-group:Replicas` - The number of replicas # per node group for an Amazon ElastiCache replication group. # + # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in + # an Amazon Neptune DB cluster. + # # @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` @@ -1799,27 +1841,27 @@ # # @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, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache + # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune # 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, 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 + # 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 # 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", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache" + # resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune" # resp.scheduled_actions[0].schedule #=> String # resp.scheduled_actions[0].timezone #=> 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", "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" + # 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" # 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 @@ -1892,12 +1934,12 @@ # # * ECS service - The resource type is `service` and the unique # identifier is the cluster name and service name. Example: # `service/default/sample-webapp`. # - # * Spot Fleet request - The resource type is `spot-fleet-request` and - # the unique identifier is the Spot Fleet request ID. Example: + # * Spot Fleet - The resource type is `spot-fleet-request` and the + # unique identifier is the Spot Fleet request ID. Example: # `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`. # # * EMR cluster - The resource type is `instancegroup` and the unique # identifier is the cluster ID and instance group ID. Example: # `instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0`. @@ -1913,12 +1955,12 @@ # `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 variant - The resource type is `variant` - # and the unique identifier is the resource ID. Example: + # * SageMaker endpoint variant - The resource type is `variant` and the + # unique identifier is the resource ID. Example: # `endpoint/my-end-point/variant/KMeansClustering`. # # * Custom resources are not supported with a resource type. This # parameter must specify the `OutputValue` from the CloudFormation # template stack used to access the resources. The unique identifier @@ -1949,12 +1991,15 @@ # # * Amazon ElastiCache replication group - The resource type is # `replication-group` and the unique identifier is the replication # group name. Example: `replication-group/mycluster`. # + # * Neptune cluster - The resource type is `cluster` and the unique + # identifier is the cluster name. Example: `cluster:mycluster`. # # + # # [1]: https://github.com/aws/aws-auto-scaling-custom-resource # # @option params [required, String] :scalable_dimension # The scalable dimension. This string consists of the service namespace, # resource type, and scaling property. @@ -1964,11 +2009,11 @@ # # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count # of an EMR Instance Group. # # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a - # Spot Fleet request. + # Spot Fleet. # # * `appstream:fleet:DesiredCapacity` - The desired capacity of an # AppStream 2.0 fleet. # # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity @@ -1986,11 +2031,11 @@ # * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an # Aurora DB cluster. Available for Aurora MySQL-compatible edition and # Aurora PostgreSQL-compatible edition. # # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2 - # instances for an Amazon SageMaker model endpoint variant. + # instances for an SageMaker model endpoint variant. # # * `custom-resource:ResourceType:Property` - The scalable dimension for # a custom resource provided by your own application or service. # # * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` - @@ -2017,21 +2062,23 @@ # groups for an Amazon ElastiCache replication group. # # * `elasticache:replication-group:Replicas` - The number of replicas # per node group for an Amazon ElastiCache replication group. # + # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in + # an Amazon Neptune DB cluster. + # # @option params [String] :policy_type # The policy type. This parameter is required if you are creating a # scaling policy. # # The following policy types are supported: # # `TargetTrackingScaling`—Not supported for Amazon EMR # # `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda, - # Amazon Keyspaces (for Apache Cassandra), Amazon MSK, or Amazon - # ElastiCache for Redis. + # Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune. # # For more information, see [Target tracking scaling policies][1] and # [Step scaling policies][2] in the *Application Auto Scaling User # Guide*. # @@ -2098,13 +2145,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, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache + # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune # 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, 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 + # 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 # policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling # step_scaling_policy_configuration: { # adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity # step_adjustments: [ # { @@ -2118,11 +2165,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, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage + # 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 # resource_label: "ResourceLabel", # }, # customized_metric_specification: { # metric_name: "MetricName", # required # namespace: "MetricNamespace", # required @@ -2247,12 +2294,12 @@ # # * ECS service - The resource type is `service` and the unique # identifier is the cluster name and service name. Example: # `service/default/sample-webapp`. # - # * Spot Fleet request - The resource type is `spot-fleet-request` and - # the unique identifier is the Spot Fleet request ID. Example: + # * Spot Fleet - The resource type is `spot-fleet-request` and the + # unique identifier is the Spot Fleet request ID. Example: # `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`. # # * EMR cluster - The resource type is `instancegroup` and the unique # identifier is the cluster ID and instance group ID. Example: # `instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0`. @@ -2268,12 +2315,12 @@ # `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 variant - The resource type is `variant` - # and the unique identifier is the resource ID. Example: + # * SageMaker endpoint variant - The resource type is `variant` and the + # unique identifier is the resource ID. Example: # `endpoint/my-end-point/variant/KMeansClustering`. # # * Custom resources are not supported with a resource type. This # parameter must specify the `OutputValue` from the CloudFormation # template stack used to access the resources. The unique identifier @@ -2304,12 +2351,15 @@ # # * Amazon ElastiCache replication group - The resource type is # `replication-group` and the unique identifier is the replication # group name. Example: `replication-group/mycluster`. # + # * Neptune cluster - The resource type is `cluster` and the unique + # identifier is the cluster name. Example: `cluster:mycluster`. # # + # # [1]: https://github.com/aws/aws-auto-scaling-custom-resource # # @option params [required, String] :scalable_dimension # The scalable dimension. This string consists of the service namespace, # resource type, and scaling property. @@ -2319,11 +2369,11 @@ # # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count # of an EMR Instance Group. # # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a - # Spot Fleet request. + # Spot Fleet. # # * `appstream:fleet:DesiredCapacity` - The desired capacity of an # AppStream 2.0 fleet. # # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity @@ -2341,11 +2391,11 @@ # * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an # Aurora DB cluster. Available for Aurora MySQL-compatible edition and # Aurora PostgreSQL-compatible edition. # # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2 - # instances for an Amazon SageMaker model endpoint variant. + # instances for an SageMaker model endpoint variant. # # * `custom-resource:ResourceType:Property` - The scalable dimension for # a custom resource provided by your own application or service. # # * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` - @@ -2372,10 +2422,13 @@ # groups for an Amazon ElastiCache replication group. # # * `elasticache:replication-group:Replicas` - The number of replicas # per node group for an Amazon ElastiCache replication group. # + # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in + # an Amazon Neptune DB cluster. + # # @option params [Time,DateTime,Date,Integer,String] :start_time # The date and time for this scheduled action to start, in UTC. # # @option params [Time,DateTime,Date,Integer,String] :end_time # The date and time for the recurring schedule to end, in UTC. @@ -2390,16 +2443,16 @@ # @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, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache + # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune # schedule: "ResourceIdMaxLen1600", # timezone: "ResourceIdMaxLen1600", # scheduled_action_name: "ScheduledActionName", # required # 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, 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 + # 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 # start_time: Time.now, # end_time: Time.now, # scalable_target_action: { # min_capacity: 1, # max_capacity: 1, @@ -2437,12 +2490,21 @@ # To update a scalable target, specify the parameters that you want to # change. Include the parameters that identify the scalable target: # resource ID, scalable dimension, and namespace. Any parameters that # you don't specify are not changed by this update request. # + # <note markdown="1"> If you call the `RegisterScalableTarget` API to update an existing + # scalable target, Application Auto Scaling retrieves the current + # capacity of the resource. If it is below the minimum capacity or above + # the maximum capacity, Application Auto Scaling adjusts the capacity of + # the scalable target to place it within these bounds, even if you + # don't include the `MinCapacity` or `MaxCapacity` request parameters. # + # </note> # + # + # # [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html # [2]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DeregisterScalableTarget.html # # @option params [required, String] :service_namespace # The namespace of the Amazon Web Services service that provides the @@ -2456,12 +2518,12 @@ # # * ECS service - The resource type is `service` and the unique # identifier is the cluster name and service name. Example: # `service/default/sample-webapp`. # - # * Spot Fleet request - The resource type is `spot-fleet-request` and - # the unique identifier is the Spot Fleet request ID. Example: + # * Spot Fleet - The resource type is `spot-fleet-request` and the + # unique identifier is the Spot Fleet request ID. Example: # `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`. # # * EMR cluster - The resource type is `instancegroup` and the unique # identifier is the cluster ID and instance group ID. Example: # `instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0`. @@ -2477,12 +2539,12 @@ # `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 variant - The resource type is `variant` - # and the unique identifier is the resource ID. Example: + # * SageMaker endpoint variant - The resource type is `variant` and the + # unique identifier is the resource ID. Example: # `endpoint/my-end-point/variant/KMeansClustering`. # # * Custom resources are not supported with a resource type. This # parameter must specify the `OutputValue` from the CloudFormation # template stack used to access the resources. The unique identifier @@ -2513,12 +2575,15 @@ # # * Amazon ElastiCache replication group - The resource type is # `replication-group` and the unique identifier is the replication # group name. Example: `replication-group/mycluster`. # + # * Neptune cluster - The resource type is `cluster` and the unique + # identifier is the cluster name. Example: `cluster:mycluster`. # # + # # [1]: https://github.com/aws/aws-auto-scaling-custom-resource # # @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 @@ -2529,11 +2594,11 @@ # # * `elasticmapreduce:instancegroup:InstanceCount` - The instance count # of an EMR Instance Group. # # * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a - # Spot Fleet request. + # Spot Fleet. # # * `appstream:fleet:DesiredCapacity` - The desired capacity of an # AppStream 2.0 fleet. # # * `dynamodb:table:ReadCapacityUnits` - The provisioned read capacity @@ -2551,11 +2616,11 @@ # * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in an # Aurora DB cluster. Available for Aurora MySQL-compatible edition and # Aurora PostgreSQL-compatible edition. # # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2 - # instances for an Amazon SageMaker model endpoint variant. + # instances for an SageMaker model endpoint variant. # # * `custom-resource:ResourceType:Property` - The scalable dimension for # a custom resource provided by your own application or service. # # * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` - @@ -2582,10 +2647,13 @@ # groups for an Amazon ElastiCache replication group. # # * `elasticache:replication-group:Replicas` - The number of replicas # per node group for an Amazon ElastiCache replication group. # + # * `neptune:cluster:ReadReplicaCount` - The count of read replicas in + # an Amazon Neptune DB cluster. + # # @option params [Integer] :min_capacity # The minimum value that you plan to scale in to. When a scaling policy # is in effect, Application Auto Scaling can scale in (contract) as # needed to the minimum capacity limit in response to changing demand. # This property is required when registering a new scalable target. @@ -2672,13 +2740,13 @@ # }) # # @example Request syntax with placeholder values # # resp = client.register_scalable_target({ - # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache + # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune # 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, 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 + # 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 # min_capacity: 1, # max_capacity: 1, # role_arn: "ResourceIdMaxLen1600", # suspended_state: { # dynamic_scaling_in_suspended: false, @@ -2707,10 +2775,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-applicationautoscaling' - context[:gem_version] = '1.55.0' + context[:gem_version] = '1.56.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated