Awso_autoscaling_plans_asyncSourceval create_scaling_plan :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_autoscaling_plans.Values.CreateScalingPlanRequest.t ->
(Awso_autoscaling_plans.Values.CreateScalingPlanResponse.t,
Awso_autoscaling_plans.Values.CreateScalingPlanResponse.error)
Result.t
Async.Deferred.tval delete_scaling_plan :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_autoscaling_plans.Values.DeleteScalingPlanRequest.t ->
(Awso_autoscaling_plans.Values.DeleteScalingPlanResponse.t,
Awso_autoscaling_plans.Values.DeleteScalingPlanResponse.error)
Result.t
Async.Deferred.tval describe_scaling_plan_resources :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_autoscaling_plans.Values.DescribeScalingPlanResourcesRequest.t ->
(Awso_autoscaling_plans.Values.DescribeScalingPlanResourcesResponse.t,
Awso_autoscaling_plans.Values.DescribeScalingPlanResourcesResponse.error)
Result.t
Async.Deferred.tval describe_scaling_plans :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_autoscaling_plans.Values.DescribeScalingPlansRequest.t ->
(Awso_autoscaling_plans.Values.DescribeScalingPlansResponse.t,
Awso_autoscaling_plans.Values.DescribeScalingPlansResponse.error)
Result.t
Async.Deferred.tval get_scaling_plan_resource_forecast_data :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_autoscaling_plans.Values.GetScalingPlanResourceForecastDataRequest.t ->
(Awso_autoscaling_plans.Values.GetScalingPlanResourceForecastDataResponse.t,
Awso_autoscaling_plans.Values.GetScalingPlanResourceForecastDataResponse.error)
Result.t
Async.Deferred.tval update_scaling_plan :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_autoscaling_plans.Values.UpdateScalingPlanRequest.t ->
(Awso_autoscaling_plans.Values.UpdateScalingPlanResponse.t,
Awso_autoscaling_plans.Values.UpdateScalingPlanResponse.error)
Result.t
Async.Deferred.tinclude module type of struct include Awso_autoscaling_plans.Values endval structure_to_value_aux :
('a * 'b option) list ->
f:(('a * 'b) list -> 'c) ->
[> `Structure of 'c ]val structure_to_wrapped_value :
wrapper:'a ->
response:'a ->
('b * 'c option) list ->
[> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]Represents a dimension for a customized metric.
module CustomizedScalingMetricSpecification =
Awso_autoscaling_plans.Values.CustomizedScalingMetricSpecificationRepresents a CloudWatch metric of your choosing that can be used for dynamic scaling as part of a target tracking scaling policy. To create your customized scaling metric specification: Add values for each required parameter from CloudWatch. You can use an existing metric, or a new metric that you create. To use your own metric, you must first publish the metric to CloudWatch. For more information, see Publish Custom Metrics in the Amazon CloudWatch User Guide. Choose a metric that changes proportionally with capacity. The value of the metric should increase or decrease in inverse proportion to the number of capacity units. That is, the value of the metric should decrease when capacity increases. For information about terminology, available metrics, or how to publish new metrics, see Amazon CloudWatch Concepts in the Amazon CloudWatch User Guide.
module PredefinedScalingMetricSpecification =
Awso_autoscaling_plans.Values.PredefinedScalingMetricSpecificationRepresents a predefined metric that can be used for dynamic scaling as part of a target tracking scaling policy.
module TargetTrackingConfiguration =
Awso_autoscaling_plans.Values.TargetTrackingConfigurationDescribes a target tracking configuration to use with AWS Auto Scaling. Used with ScalingInstruction and ScalingPolicy.
Represents a tag.
module CustomizedLoadMetricSpecification =
Awso_autoscaling_plans.Values.CustomizedLoadMetricSpecificationRepresents a CloudWatch metric of your choosing that can be used for predictive scaling. For predictive scaling to work with a customized load metric specification, AWS Auto Scaling needs access to the Sum and Average statistics that CloudWatch computes from metric data. When you choose a load metric, make sure that the required Sum and Average statistics for your metric are available in CloudWatch and that they provide relevant data for predictive scaling. The Sum statistic must represent the total load on the resource, and the Average statistic must represent the average load per capacity unit of the resource. For example, there is a metric that counts the number of requests processed by your Auto Scaling group. If the Sum statistic represents the total request count processed by the group, then the Average statistic for the specified metric must represent the average request count processed by each instance of the group. If you publish your own metrics, you can aggregate the data points at a given interval and then publish the aggregated data points to CloudWatch. Before AWS Auto Scaling generates the forecast, it sums up all the metric data points that occurred within each hour to match the granularity period that is used in the forecast (60 minutes). For information about terminology, available metrics, or how to publish new metrics, see Amazon CloudWatch Concepts in the Amazon CloudWatch User Guide. After creating your scaling plan, you can use the AWS Auto Scaling console to visualize forecasts for the specified metric. For more information, see View Scaling Information for a Resource in the AWS Auto Scaling User Guide.
module PredefinedLoadMetricSpecification =
Awso_autoscaling_plans.Values.PredefinedLoadMetricSpecificationRepresents a predefined metric that can be used for predictive scaling. After creating your scaling plan, you can use the AWS Auto Scaling console to visualize forecasts for the specified metric. For more information, see View Scaling Information for a Resource in the AWS Auto Scaling User Guide.
module PredictiveScalingMaxCapacityBehavior =
Awso_autoscaling_plans.Values.PredictiveScalingMaxCapacityBehaviormodule ScalingPolicyUpdateBehavior =
Awso_autoscaling_plans.Values.ScalingPolicyUpdateBehaviormodule TargetTrackingConfigurations =
Awso_autoscaling_plans.Values.TargetTrackingConfigurationsDescribes a scaling instruction for a scalable resource in a scaling plan. Each scaling instruction applies to one resource. AWS Auto Scaling creates target tracking scaling policies based on the scaling instructions. Target tracking scaling policies adjust the capacity of your scalable resource as required to maintain resource utilization at the target value that you specified. AWS Auto Scaling also configures predictive scaling for your Amazon EC2 Auto Scaling groups using a subset of parameters, including the load metric, the scaling metric, the target value for the scaling metric, the predictive scaling mode (forecast and scale or forecast only), and the desired behavior when the forecast capacity exceeds the maximum capacity of the resource. With predictive scaling, AWS Auto Scaling generates forecasts with traffic predictions for the two days ahead and schedules scaling actions that proactively add and remove resource capacity to match the forecast. We recommend waiting a minimum of 24 hours after creating an Auto Scaling group to configure predictive scaling. At minimum, there must be 24 hours of historical data to generate a forecast. For more information, see Best Practices for AWS Auto Scaling in the AWS Auto Scaling User Guide.
Represents a scaling policy.
Represents an application source.
Represents a single value in the forecast data used for predictive scaling.
Represents a scaling plan.
Represents a scalable resource.
Concurrent updates caused an exception, for example, if you request an update to a scaling plan that already has a pending update.
The service encountered an internal error.
The specified object could not be found.
An exception was thrown for a validation issue. Review the parameters provided.
The token provided is not valid.
Your account exceeded a limit. This exception is thrown when a per-account resource limit is exceeded.
Updates the specified scaling plan. You cannot update a scaling plan if it is in the process of being created, updated, or deleted.
Updates the specified scaling plan. You cannot update a scaling plan if it is in the process of being created, updated, or deleted.
module GetScalingPlanResourceForecastDataResponse =
Awso_autoscaling_plans.Values.GetScalingPlanResourceForecastDataResponseRetrieves the forecast data for a scalable resource. Capacity forecasts are represented as predicted values, or data points, that are calculated using historical data points from a specified CloudWatch load metric. Data points are available for up to 56 days.
module GetScalingPlanResourceForecastDataRequest =
Awso_autoscaling_plans.Values.GetScalingPlanResourceForecastDataRequestRetrieves the forecast data for a scalable resource. Capacity forecasts are represented as predicted values, or data points, that are calculated using historical data points from a specified CloudWatch load metric. Data points are available for up to 56 days.
module DescribeScalingPlansResponse =
Awso_autoscaling_plans.Values.DescribeScalingPlansResponseDescribes one or more of your scaling plans.
module DescribeScalingPlansRequest =
Awso_autoscaling_plans.Values.DescribeScalingPlansRequestDescribes one or more of your scaling plans.
module DescribeScalingPlanResourcesResponse =
Awso_autoscaling_plans.Values.DescribeScalingPlanResourcesResponseDescribes the scalable resources in the specified scaling plan.
module DescribeScalingPlanResourcesRequest =
Awso_autoscaling_plans.Values.DescribeScalingPlanResourcesRequestDescribes the scalable resources in the specified scaling plan.
Deletes the specified scaling plan. Deleting a scaling plan deletes the underlying ScalingInstruction for all of the scalable resources that are covered by the plan. If the plan has launched resources or has scaling activities in progress, you must delete those resources separately.
Deletes the specified scaling plan. Deleting a scaling plan deletes the underlying ScalingInstruction for all of the scalable resources that are covered by the plan. If the plan has launched resources or has scaling activities in progress, you must delete those resources separately.
Creates a scaling plan.
Creates a scaling plan.