@aws-sdk/client-auto-scaling-plans 3.405.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.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/commands/CreateScalingPlanCommand.d.ts +9 -9
- package/dist-types/commands/DescribeScalingPlanResourcesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeScalingPlansCommand.d.ts +10 -10
- package/dist-types/commands/GetScalingPlanResourceForecastDataCommand.d.ts +3 -3
- package/dist-types/commands/UpdateScalingPlanCommand.d.ts +9 -9
- package/package.json +12 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
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
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
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: "
|
|
48
|
+
* ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required
|
|
49
49
|
* ResourceId: "STRING_VALUE", // required
|
|
50
|
-
* ScalableDimension: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
91
|
+
* Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required
|
|
92
92
|
* Unit: "STRING_VALUE",
|
|
93
93
|
* },
|
|
94
94
|
* ScheduledActionBufferTime: Number("int"),
|
|
95
|
-
* PredictiveScalingMaxCapacityBehavior: "
|
|
95
|
+
* PredictiveScalingMaxCapacityBehavior: "SetForecastCapacityToMaxCapacity" || "SetMaxCapacityToForecastCapacity" || "SetMaxCapacityAboveForecastCapacity",
|
|
96
96
|
* PredictiveScalingMaxCapacityBuffer: Number("int"),
|
|
97
|
-
* PredictiveScalingMode: "
|
|
98
|
-
* ScalingPolicyUpdateBehavior: "
|
|
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: "
|
|
46
|
+
* // ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required
|
|
47
47
|
* // ResourceId: "STRING_VALUE", // required
|
|
48
|
-
* // ScalableDimension: "
|
|
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: "
|
|
52
|
+
* // PolicyType: "TargetTrackingScaling", // required
|
|
53
53
|
* // TargetTrackingConfiguration: { // TargetTrackingConfiguration
|
|
54
54
|
* // PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification
|
|
55
|
-
* // PredefinedScalingMetricType: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
74
|
+
* // ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required
|
|
75
75
|
* // ResourceId: "STRING_VALUE", // required
|
|
76
|
-
* // ScalableDimension: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
117
|
+
* // Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required
|
|
118
118
|
* // Unit: "STRING_VALUE",
|
|
119
119
|
* // },
|
|
120
120
|
* // ScheduledActionBufferTime: Number("int"),
|
|
121
|
-
* // PredictiveScalingMaxCapacityBehavior: "
|
|
121
|
+
* // PredictiveScalingMaxCapacityBehavior: "SetForecastCapacityToMaxCapacity" || "SetMaxCapacityToForecastCapacity" || "SetMaxCapacityAboveForecastCapacity",
|
|
122
122
|
* // PredictiveScalingMaxCapacityBuffer: Number("int"),
|
|
123
|
-
* // PredictiveScalingMode: "
|
|
124
|
-
* // ScalingPolicyUpdateBehavior: "
|
|
123
|
+
* // PredictiveScalingMode: "ForecastAndScale" || "ForecastOnly",
|
|
124
|
+
* // ScalingPolicyUpdateBehavior: "KeepExternalPolicies" || "ReplaceExternalPolicies",
|
|
125
125
|
* // DisableDynamicScaling: true || false,
|
|
126
126
|
* // },
|
|
127
127
|
* // ],
|
|
128
|
-
* // StatusCode: "
|
|
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: "
|
|
39
|
+
* ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required
|
|
40
40
|
* ResourceId: "STRING_VALUE", // required
|
|
41
|
-
* ScalableDimension: "
|
|
42
|
-
* ForecastDataType: "
|
|
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: "
|
|
51
|
+
* ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required
|
|
52
52
|
* ResourceId: "STRING_VALUE", // required
|
|
53
|
-
* ScalableDimension: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
94
|
+
* Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required
|
|
95
95
|
* Unit: "STRING_VALUE",
|
|
96
96
|
* },
|
|
97
97
|
* ScheduledActionBufferTime: Number("int"),
|
|
98
|
-
* PredictiveScalingMaxCapacityBehavior: "
|
|
98
|
+
* PredictiveScalingMaxCapacityBehavior: "SetForecastCapacityToMaxCapacity" || "SetMaxCapacityToForecastCapacity" || "SetMaxCapacityAboveForecastCapacity",
|
|
99
99
|
* PredictiveScalingMaxCapacityBuffer: Number("int"),
|
|
100
|
-
* PredictiveScalingMode: "
|
|
101
|
-
* ScalingPolicyUpdateBehavior: "
|
|
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.
|
|
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,17 +21,17 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.409.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.409.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.408.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.408.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.408.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.408.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.408.0",
|
|
31
|
+
"@aws-sdk/types": "3.408.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.408.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.408.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.408.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^2.0.5",
|
|
37
37
|
"@smithy/hash-node": "^2.0.5",
|