@aws-sdk/client-auto-scaling-plans 3.408.0 → 3.409.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://autoscaling-plans-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://autoscaling-plans-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://autoscaling-plans.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://autoscaling-plans.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://autoscaling-plans-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://autoscaling-plans-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://autoscaling-plans.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://autoscaling-plans.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://autoscaling-plans-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://autoscaling-plans-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://autoscaling-plans.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://autoscaling-plans.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://autoscaling-plans-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://autoscaling-plans-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://autoscaling-plans.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://autoscaling-plans.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -45,15 +45,15 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons
45
45
  * },
46
46
  * ScalingInstructions: [ // ScalingInstructions // required
47
47
  * { // ScalingInstruction
48
- * ServiceNamespace: "STRING_VALUE", // required
48
+ * ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required
49
49
  * ResourceId: "STRING_VALUE", // required
50
- * ScalableDimension: "STRING_VALUE", // required
50
+ * ScalableDimension: "autoscaling:autoScalingGroup:DesiredCapacity" || "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "rds:cluster:ReadReplicaCount" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits", // required
51
51
  * MinCapacity: Number("int"), // required
52
52
  * MaxCapacity: Number("int"), // required
53
53
  * TargetTrackingConfigurations: [ // TargetTrackingConfigurations // required
54
54
  * { // TargetTrackingConfiguration
55
55
  * PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification
56
- * PredefinedScalingMetricType: "STRING_VALUE", // required
56
+ * PredefinedScalingMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut", // required
57
57
  * ResourceLabel: "STRING_VALUE",
58
58
  * },
59
59
  * CustomizedScalingMetricSpecification: { // CustomizedScalingMetricSpecification
@@ -65,7 +65,7 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons
65
65
  * Value: "STRING_VALUE", // required
66
66
  * },
67
67
  * ],
68
- * Statistic: "STRING_VALUE", // required
68
+ * Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required
69
69
  * Unit: "STRING_VALUE",
70
70
  * },
71
71
  * TargetValue: Number("double"), // required
@@ -76,7 +76,7 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons
76
76
  * },
77
77
  * ],
78
78
  * PredefinedLoadMetricSpecification: { // PredefinedLoadMetricSpecification
79
- * PredefinedLoadMetricType: "STRING_VALUE", // required
79
+ * PredefinedLoadMetricType: "ASGTotalCPUUtilization" || "ASGTotalNetworkIn" || "ASGTotalNetworkOut" || "ALBTargetGroupRequestCount", // required
80
80
  * ResourceLabel: "STRING_VALUE",
81
81
  * },
82
82
  * CustomizedLoadMetricSpecification: { // CustomizedLoadMetricSpecification
@@ -88,14 +88,14 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons
88
88
  * Value: "STRING_VALUE", // required
89
89
  * },
90
90
  * ],
91
- * Statistic: "STRING_VALUE", // required
91
+ * Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required
92
92
  * Unit: "STRING_VALUE",
93
93
  * },
94
94
  * ScheduledActionBufferTime: Number("int"),
95
- * PredictiveScalingMaxCapacityBehavior: "STRING_VALUE",
95
+ * PredictiveScalingMaxCapacityBehavior: "SetForecastCapacityToMaxCapacity" || "SetMaxCapacityToForecastCapacity" || "SetMaxCapacityAboveForecastCapacity",
96
96
  * PredictiveScalingMaxCapacityBuffer: Number("int"),
97
- * PredictiveScalingMode: "STRING_VALUE",
98
- * ScalingPolicyUpdateBehavior: "STRING_VALUE",
97
+ * PredictiveScalingMode: "ForecastAndScale" || "ForecastOnly",
98
+ * ScalingPolicyUpdateBehavior: "KeepExternalPolicies" || "ReplaceExternalPolicies",
99
99
  * DisableDynamicScaling: true || false,
100
100
  * },
101
101
  * ],
@@ -43,16 +43,16 @@ export interface DescribeScalingPlanResourcesCommandOutput extends DescribeScali
43
43
  * // { // ScalingPlanResource
44
44
  * // ScalingPlanName: "STRING_VALUE", // required
45
45
  * // ScalingPlanVersion: Number("long"), // required
46
- * // ServiceNamespace: "STRING_VALUE", // required
46
+ * // ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required
47
47
  * // ResourceId: "STRING_VALUE", // required
48
- * // ScalableDimension: "STRING_VALUE", // required
48
+ * // ScalableDimension: "autoscaling:autoScalingGroup:DesiredCapacity" || "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "rds:cluster:ReadReplicaCount" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits", // required
49
49
  * // ScalingPolicies: [ // ScalingPolicies
50
50
  * // { // ScalingPolicy
51
51
  * // PolicyName: "STRING_VALUE", // required
52
- * // PolicyType: "STRING_VALUE", // required
52
+ * // PolicyType: "TargetTrackingScaling", // required
53
53
  * // TargetTrackingConfiguration: { // TargetTrackingConfiguration
54
54
  * // PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification
55
- * // PredefinedScalingMetricType: "STRING_VALUE", // required
55
+ * // PredefinedScalingMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut", // required
56
56
  * // ResourceLabel: "STRING_VALUE",
57
57
  * // },
58
58
  * // CustomizedScalingMetricSpecification: { // CustomizedScalingMetricSpecification
@@ -64,7 +64,7 @@ export interface DescribeScalingPlanResourcesCommandOutput extends DescribeScali
64
64
  * // Value: "STRING_VALUE", // required
65
65
  * // },
66
66
  * // ],
67
- * // Statistic: "STRING_VALUE", // required
67
+ * // Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required
68
68
  * // Unit: "STRING_VALUE",
69
69
  * // },
70
70
  * // TargetValue: Number("double"), // required
@@ -75,7 +75,7 @@ export interface DescribeScalingPlanResourcesCommandOutput extends DescribeScali
75
75
  * // },
76
76
  * // },
77
77
  * // ],
78
- * // ScalingStatusCode: "STRING_VALUE", // required
78
+ * // ScalingStatusCode: "Inactive" || "PartiallyActive" || "Active", // required
79
79
  * // ScalingStatusMessage: "STRING_VALUE",
80
80
  * // },
81
81
  * // ],
@@ -71,15 +71,15 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR
71
71
  * // },
72
72
  * // ScalingInstructions: [ // ScalingInstructions // required
73
73
  * // { // ScalingInstruction
74
- * // ServiceNamespace: "STRING_VALUE", // required
74
+ * // ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required
75
75
  * // ResourceId: "STRING_VALUE", // required
76
- * // ScalableDimension: "STRING_VALUE", // required
76
+ * // ScalableDimension: "autoscaling:autoScalingGroup:DesiredCapacity" || "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "rds:cluster:ReadReplicaCount" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits", // required
77
77
  * // MinCapacity: Number("int"), // required
78
78
  * // MaxCapacity: Number("int"), // required
79
79
  * // TargetTrackingConfigurations: [ // TargetTrackingConfigurations // required
80
80
  * // { // TargetTrackingConfiguration
81
81
  * // PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification
82
- * // PredefinedScalingMetricType: "STRING_VALUE", // required
82
+ * // PredefinedScalingMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut", // required
83
83
  * // ResourceLabel: "STRING_VALUE",
84
84
  * // },
85
85
  * // CustomizedScalingMetricSpecification: { // CustomizedScalingMetricSpecification
@@ -91,7 +91,7 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR
91
91
  * // Value: "STRING_VALUE", // required
92
92
  * // },
93
93
  * // ],
94
- * // Statistic: "STRING_VALUE", // required
94
+ * // Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required
95
95
  * // Unit: "STRING_VALUE",
96
96
  * // },
97
97
  * // TargetValue: Number("double"), // required
@@ -102,7 +102,7 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR
102
102
  * // },
103
103
  * // ],
104
104
  * // PredefinedLoadMetricSpecification: { // PredefinedLoadMetricSpecification
105
- * // PredefinedLoadMetricType: "STRING_VALUE", // required
105
+ * // PredefinedLoadMetricType: "ASGTotalCPUUtilization" || "ASGTotalNetworkIn" || "ASGTotalNetworkOut" || "ALBTargetGroupRequestCount", // required
106
106
  * // ResourceLabel: "STRING_VALUE",
107
107
  * // },
108
108
  * // CustomizedLoadMetricSpecification: { // CustomizedLoadMetricSpecification
@@ -114,18 +114,18 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR
114
114
  * // Value: "STRING_VALUE", // required
115
115
  * // },
116
116
  * // ],
117
- * // Statistic: "STRING_VALUE", // required
117
+ * // Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required
118
118
  * // Unit: "STRING_VALUE",
119
119
  * // },
120
120
  * // ScheduledActionBufferTime: Number("int"),
121
- * // PredictiveScalingMaxCapacityBehavior: "STRING_VALUE",
121
+ * // PredictiveScalingMaxCapacityBehavior: "SetForecastCapacityToMaxCapacity" || "SetMaxCapacityToForecastCapacity" || "SetMaxCapacityAboveForecastCapacity",
122
122
  * // PredictiveScalingMaxCapacityBuffer: Number("int"),
123
- * // PredictiveScalingMode: "STRING_VALUE",
124
- * // ScalingPolicyUpdateBehavior: "STRING_VALUE",
123
+ * // PredictiveScalingMode: "ForecastAndScale" || "ForecastOnly",
124
+ * // ScalingPolicyUpdateBehavior: "KeepExternalPolicies" || "ReplaceExternalPolicies",
125
125
  * // DisableDynamicScaling: true || false,
126
126
  * // },
127
127
  * // ],
128
- * // StatusCode: "STRING_VALUE", // required
128
+ * // StatusCode: "Active" || "ActiveWithProblems" || "CreationInProgress" || "CreationFailed" || "DeletionInProgress" || "DeletionFailed" || "UpdateInProgress" || "UpdateFailed", // required
129
129
  * // StatusMessage: "STRING_VALUE",
130
130
  * // StatusStartTime: new Date("TIMESTAMP"),
131
131
  * // CreationTime: new Date("TIMESTAMP"),
@@ -36,10 +36,10 @@ export interface GetScalingPlanResourceForecastDataCommandOutput extends GetScal
36
36
  * const input = { // GetScalingPlanResourceForecastDataRequest
37
37
  * ScalingPlanName: "STRING_VALUE", // required
38
38
  * ScalingPlanVersion: Number("long"), // required
39
- * ServiceNamespace: "STRING_VALUE", // required
39
+ * ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required
40
40
  * ResourceId: "STRING_VALUE", // required
41
- * ScalableDimension: "STRING_VALUE", // required
42
- * ForecastDataType: "STRING_VALUE", // required
41
+ * ScalableDimension: "autoscaling:autoScalingGroup:DesiredCapacity" || "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "rds:cluster:ReadReplicaCount" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits", // required
42
+ * ForecastDataType: "CapacityForecast" || "LoadForecast" || "ScheduledActionMinCapacity" || "ScheduledActionMaxCapacity", // required
43
43
  * StartTime: new Date("TIMESTAMP"), // required
44
44
  * EndTime: new Date("TIMESTAMP"), // required
45
45
  * };
@@ -48,15 +48,15 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons
48
48
  * },
49
49
  * ScalingInstructions: [ // ScalingInstructions
50
50
  * { // ScalingInstruction
51
- * ServiceNamespace: "STRING_VALUE", // required
51
+ * ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required
52
52
  * ResourceId: "STRING_VALUE", // required
53
- * ScalableDimension: "STRING_VALUE", // required
53
+ * ScalableDimension: "autoscaling:autoScalingGroup:DesiredCapacity" || "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "rds:cluster:ReadReplicaCount" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits", // required
54
54
  * MinCapacity: Number("int"), // required
55
55
  * MaxCapacity: Number("int"), // required
56
56
  * TargetTrackingConfigurations: [ // TargetTrackingConfigurations // required
57
57
  * { // TargetTrackingConfiguration
58
58
  * PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification
59
- * PredefinedScalingMetricType: "STRING_VALUE", // required
59
+ * PredefinedScalingMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut", // required
60
60
  * ResourceLabel: "STRING_VALUE",
61
61
  * },
62
62
  * CustomizedScalingMetricSpecification: { // CustomizedScalingMetricSpecification
@@ -68,7 +68,7 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons
68
68
  * Value: "STRING_VALUE", // required
69
69
  * },
70
70
  * ],
71
- * Statistic: "STRING_VALUE", // required
71
+ * Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required
72
72
  * Unit: "STRING_VALUE",
73
73
  * },
74
74
  * TargetValue: Number("double"), // required
@@ -79,7 +79,7 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons
79
79
  * },
80
80
  * ],
81
81
  * PredefinedLoadMetricSpecification: { // PredefinedLoadMetricSpecification
82
- * PredefinedLoadMetricType: "STRING_VALUE", // required
82
+ * PredefinedLoadMetricType: "ASGTotalCPUUtilization" || "ASGTotalNetworkIn" || "ASGTotalNetworkOut" || "ALBTargetGroupRequestCount", // required
83
83
  * ResourceLabel: "STRING_VALUE",
84
84
  * },
85
85
  * CustomizedLoadMetricSpecification: { // CustomizedLoadMetricSpecification
@@ -91,14 +91,14 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons
91
91
  * Value: "STRING_VALUE", // required
92
92
  * },
93
93
  * ],
94
- * Statistic: "STRING_VALUE", // required
94
+ * Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required
95
95
  * Unit: "STRING_VALUE",
96
96
  * },
97
97
  * ScheduledActionBufferTime: Number("int"),
98
- * PredictiveScalingMaxCapacityBehavior: "STRING_VALUE",
98
+ * PredictiveScalingMaxCapacityBehavior: "SetForecastCapacityToMaxCapacity" || "SetMaxCapacityToForecastCapacity" || "SetMaxCapacityAboveForecastCapacity",
99
99
  * PredictiveScalingMaxCapacityBuffer: Number("int"),
100
- * PredictiveScalingMode: "STRING_VALUE",
101
- * ScalingPolicyUpdateBehavior: "STRING_VALUE",
100
+ * PredictiveScalingMode: "ForecastAndScale" || "ForecastOnly",
101
+ * ScalingPolicyUpdateBehavior: "KeepExternalPolicies" || "ReplaceExternalPolicies",
102
102
  * DisableDynamicScaling: true || false,
103
103
  * },
104
104
  * ],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auto-scaling-plans",
3
3
  "description": "AWS SDK for JavaScript Auto Scaling Plans Client for Node.js, Browser and React Native",
4
- "version": "3.408.0",
4
+ "version": "3.409.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.408.0",
25
- "@aws-sdk/credential-provider-node": "3.408.0",
24
+ "@aws-sdk/client-sts": "3.409.0",
25
+ "@aws-sdk/credential-provider-node": "3.409.0",
26
26
  "@aws-sdk/middleware-host-header": "3.408.0",
27
27
  "@aws-sdk/middleware-logger": "3.408.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.408.0",