aws.autoscaling_plans.get_scaling_plan_resource_forecast_data
Example SQL Queries
SELECT * FROMaws.autoscaling_plans.get_scaling_plan_resource_forecast_dataWHERE"scaling_plan_name" = 'VALUE'AND "scaling_plan_version" = 'VALUE'AND "service_namespace" = 'VALUE'AND "resource_id" = 'VALUE'AND "scalable_dimension" = 'VALUE'AND "forecast_data_type" = 'VALUE'AND "start_time" = 'VALUE'AND "end_time" = 'VALUE';Description
Retrieves 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.
Table Definition
| Column Name | Column Data Type |
|---|---|
| end_time Required Input Column The exclusive end time of the time range for the forecast data to get. The maximum time duration between the start and end time is seven days. Although this parameter can accept a date and time that is more than two days in the future, the availability of forecast data has limits. AWS Auto Scaling only issues forecasts for periods of two days in advance. | TIMESTAMP_S |
| forecast_data_type Required Input Column The type of forecast data to get.
| VARCHAR |
| resource_id Required Input Column The ID of the resource. This string consists of a prefix (autoScalingGroup) followed by the name of a specified Auto Scaling group (my-asg). Example: autoScalingGroup/my-asg. | VARCHAR |
| scalable_dimension Required Input Column The scalable dimension for the resource. The only valid value is autoscaling:autoScalingGroup:DesiredCapacity. | VARCHAR |
| scaling_plan_name Required Input Column The name of the scaling plan. | VARCHAR |
| scaling_plan_version Required Input Column The version number of the scaling plan. Currently, the only valid value is 1. | BIGINT |
| service_namespace Required Input Column The namespace of the AWS service. The only valid value is autoscaling. | VARCHAR |
| start_time Required Input Column The inclusive start time of the time range for the forecast data to get. The date and time can be at most 56 days before the current date and time. | TIMESTAMP_S |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| datapoints The data points to return. | STRUCT( |
Show child fields
| |