@aws-sdk/client-auto-scaling-plans 3.301.0 → 3.303.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/models/models_0.js +82 -94
- package/dist-es/models/models_0.js +82 -94
- package/dist-types/models/models_0.d.ts +142 -82
- package/dist-types/ts3.4/models/models_0.d.ts +105 -82
- package/package.json +34 -34
|
@@ -16,72 +16,64 @@ class ConcurrentUpdateException extends AutoScalingPlansServiceException_1.AutoS
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
exports.ConcurrentUpdateException = ConcurrentUpdateException;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
ScalingMetricType["EC2SpotFleetRequestAverageCPUUtilization"] = "EC2SpotFleetRequestAverageCPUUtilization";
|
|
78
|
-
ScalingMetricType["EC2SpotFleetRequestAverageNetworkIn"] = "EC2SpotFleetRequestAverageNetworkIn";
|
|
79
|
-
ScalingMetricType["EC2SpotFleetRequestAverageNetworkOut"] = "EC2SpotFleetRequestAverageNetworkOut";
|
|
80
|
-
ScalingMetricType["ECSServiceAverageCPUUtilization"] = "ECSServiceAverageCPUUtilization";
|
|
81
|
-
ScalingMetricType["ECSServiceAverageMemoryUtilization"] = "ECSServiceAverageMemoryUtilization";
|
|
82
|
-
ScalingMetricType["RDSReaderAverageCPUUtilization"] = "RDSReaderAverageCPUUtilization";
|
|
83
|
-
ScalingMetricType["RDSReaderAverageDatabaseConnections"] = "RDSReaderAverageDatabaseConnections";
|
|
84
|
-
})(ScalingMetricType = exports.ScalingMetricType || (exports.ScalingMetricType = {}));
|
|
19
|
+
exports.MetricStatistic = {
|
|
20
|
+
Average: "Average",
|
|
21
|
+
Maximum: "Maximum",
|
|
22
|
+
Minimum: "Minimum",
|
|
23
|
+
SampleCount: "SampleCount",
|
|
24
|
+
Sum: "Sum",
|
|
25
|
+
};
|
|
26
|
+
exports.LoadMetricType = {
|
|
27
|
+
ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount",
|
|
28
|
+
ASGTotalCPUUtilization: "ASGTotalCPUUtilization",
|
|
29
|
+
ASGTotalNetworkIn: "ASGTotalNetworkIn",
|
|
30
|
+
ASGTotalNetworkOut: "ASGTotalNetworkOut",
|
|
31
|
+
};
|
|
32
|
+
exports.PredictiveScalingMaxCapacityBehavior = {
|
|
33
|
+
SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity",
|
|
34
|
+
SetMaxCapacityAboveForecastCapacity: "SetMaxCapacityAboveForecastCapacity",
|
|
35
|
+
SetMaxCapacityToForecastCapacity: "SetMaxCapacityToForecastCapacity",
|
|
36
|
+
};
|
|
37
|
+
exports.PredictiveScalingMode = {
|
|
38
|
+
ForecastAndScale: "ForecastAndScale",
|
|
39
|
+
ForecastOnly: "ForecastOnly",
|
|
40
|
+
};
|
|
41
|
+
exports.ScalableDimension = {
|
|
42
|
+
AutoScalingGroupDesiredCapacity: "autoscaling:autoScalingGroup:DesiredCapacity",
|
|
43
|
+
DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
|
|
44
|
+
DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
|
|
45
|
+
DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
|
|
46
|
+
DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
|
|
47
|
+
EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
|
|
48
|
+
ECSServiceDesiredCount: "ecs:service:DesiredCount",
|
|
49
|
+
RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
|
|
50
|
+
};
|
|
51
|
+
exports.ScalingPolicyUpdateBehavior = {
|
|
52
|
+
KeepExternalPolicies: "KeepExternalPolicies",
|
|
53
|
+
ReplaceExternalPolicies: "ReplaceExternalPolicies",
|
|
54
|
+
};
|
|
55
|
+
exports.ServiceNamespace = {
|
|
56
|
+
AUTOSCALING: "autoscaling",
|
|
57
|
+
DYNAMODB: "dynamodb",
|
|
58
|
+
EC2: "ec2",
|
|
59
|
+
ECS: "ecs",
|
|
60
|
+
RDS: "rds",
|
|
61
|
+
};
|
|
62
|
+
exports.ScalingMetricType = {
|
|
63
|
+
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
64
|
+
ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
|
|
65
|
+
ASGAverageNetworkIn: "ASGAverageNetworkIn",
|
|
66
|
+
ASGAverageNetworkOut: "ASGAverageNetworkOut",
|
|
67
|
+
DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
|
|
68
|
+
DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
|
|
69
|
+
EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
|
|
70
|
+
EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
|
|
71
|
+
EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
|
|
72
|
+
ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
|
|
73
|
+
ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
|
|
74
|
+
RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
|
|
75
|
+
RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
|
|
76
|
+
};
|
|
85
77
|
class InternalServiceException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
86
78
|
constructor(opts) {
|
|
87
79
|
super({
|
|
@@ -138,16 +130,14 @@ class ObjectNotFoundException extends AutoScalingPlansServiceException_1.AutoSca
|
|
|
138
130
|
}
|
|
139
131
|
}
|
|
140
132
|
exports.ObjectNotFoundException = ObjectNotFoundException;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
ScalingStatusCode["PartiallyActive"] = "PartiallyActive";
|
|
150
|
-
})(ScalingStatusCode = exports.ScalingStatusCode || (exports.ScalingStatusCode = {}));
|
|
133
|
+
exports.PolicyType = {
|
|
134
|
+
TargetTrackingScaling: "TargetTrackingScaling",
|
|
135
|
+
};
|
|
136
|
+
exports.ScalingStatusCode = {
|
|
137
|
+
Active: "Active",
|
|
138
|
+
Inactive: "Inactive",
|
|
139
|
+
PartiallyActive: "PartiallyActive",
|
|
140
|
+
};
|
|
151
141
|
class InvalidNextTokenException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
152
142
|
constructor(opts) {
|
|
153
143
|
super({
|
|
@@ -162,21 +152,19 @@ class InvalidNextTokenException extends AutoScalingPlansServiceException_1.AutoS
|
|
|
162
152
|
}
|
|
163
153
|
}
|
|
164
154
|
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
ForecastDataType["ScheduledActionMinCapacity"] = "ScheduledActionMinCapacity";
|
|
182
|
-
})(ForecastDataType = exports.ForecastDataType || (exports.ForecastDataType = {}));
|
|
155
|
+
exports.ScalingPlanStatusCode = {
|
|
156
|
+
Active: "Active",
|
|
157
|
+
ActiveWithProblems: "ActiveWithProblems",
|
|
158
|
+
CreationFailed: "CreationFailed",
|
|
159
|
+
CreationInProgress: "CreationInProgress",
|
|
160
|
+
DeletionFailed: "DeletionFailed",
|
|
161
|
+
DeletionInProgress: "DeletionInProgress",
|
|
162
|
+
UpdateFailed: "UpdateFailed",
|
|
163
|
+
UpdateInProgress: "UpdateInProgress",
|
|
164
|
+
};
|
|
165
|
+
exports.ForecastDataType = {
|
|
166
|
+
CapacityForecast: "CapacityForecast",
|
|
167
|
+
LoadForecast: "LoadForecast",
|
|
168
|
+
ScheduledActionMaxCapacity: "ScheduledActionMaxCapacity",
|
|
169
|
+
ScheduledActionMinCapacity: "ScheduledActionMinCapacity",
|
|
170
|
+
};
|
|
@@ -12,72 +12,64 @@ export class ConcurrentUpdateException extends __BaseException {
|
|
|
12
12
|
this.Message = opts.Message;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
ScalingMetricType["EC2SpotFleetRequestAverageCPUUtilization"] = "EC2SpotFleetRequestAverageCPUUtilization";
|
|
74
|
-
ScalingMetricType["EC2SpotFleetRequestAverageNetworkIn"] = "EC2SpotFleetRequestAverageNetworkIn";
|
|
75
|
-
ScalingMetricType["EC2SpotFleetRequestAverageNetworkOut"] = "EC2SpotFleetRequestAverageNetworkOut";
|
|
76
|
-
ScalingMetricType["ECSServiceAverageCPUUtilization"] = "ECSServiceAverageCPUUtilization";
|
|
77
|
-
ScalingMetricType["ECSServiceAverageMemoryUtilization"] = "ECSServiceAverageMemoryUtilization";
|
|
78
|
-
ScalingMetricType["RDSReaderAverageCPUUtilization"] = "RDSReaderAverageCPUUtilization";
|
|
79
|
-
ScalingMetricType["RDSReaderAverageDatabaseConnections"] = "RDSReaderAverageDatabaseConnections";
|
|
80
|
-
})(ScalingMetricType || (ScalingMetricType = {}));
|
|
15
|
+
export const MetricStatistic = {
|
|
16
|
+
Average: "Average",
|
|
17
|
+
Maximum: "Maximum",
|
|
18
|
+
Minimum: "Minimum",
|
|
19
|
+
SampleCount: "SampleCount",
|
|
20
|
+
Sum: "Sum",
|
|
21
|
+
};
|
|
22
|
+
export const LoadMetricType = {
|
|
23
|
+
ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount",
|
|
24
|
+
ASGTotalCPUUtilization: "ASGTotalCPUUtilization",
|
|
25
|
+
ASGTotalNetworkIn: "ASGTotalNetworkIn",
|
|
26
|
+
ASGTotalNetworkOut: "ASGTotalNetworkOut",
|
|
27
|
+
};
|
|
28
|
+
export const PredictiveScalingMaxCapacityBehavior = {
|
|
29
|
+
SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity",
|
|
30
|
+
SetMaxCapacityAboveForecastCapacity: "SetMaxCapacityAboveForecastCapacity",
|
|
31
|
+
SetMaxCapacityToForecastCapacity: "SetMaxCapacityToForecastCapacity",
|
|
32
|
+
};
|
|
33
|
+
export const PredictiveScalingMode = {
|
|
34
|
+
ForecastAndScale: "ForecastAndScale",
|
|
35
|
+
ForecastOnly: "ForecastOnly",
|
|
36
|
+
};
|
|
37
|
+
export const ScalableDimension = {
|
|
38
|
+
AutoScalingGroupDesiredCapacity: "autoscaling:autoScalingGroup:DesiredCapacity",
|
|
39
|
+
DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
|
|
40
|
+
DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
|
|
41
|
+
DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
|
|
42
|
+
DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
|
|
43
|
+
EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
|
|
44
|
+
ECSServiceDesiredCount: "ecs:service:DesiredCount",
|
|
45
|
+
RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
|
|
46
|
+
};
|
|
47
|
+
export const ScalingPolicyUpdateBehavior = {
|
|
48
|
+
KeepExternalPolicies: "KeepExternalPolicies",
|
|
49
|
+
ReplaceExternalPolicies: "ReplaceExternalPolicies",
|
|
50
|
+
};
|
|
51
|
+
export const ServiceNamespace = {
|
|
52
|
+
AUTOSCALING: "autoscaling",
|
|
53
|
+
DYNAMODB: "dynamodb",
|
|
54
|
+
EC2: "ec2",
|
|
55
|
+
ECS: "ecs",
|
|
56
|
+
RDS: "rds",
|
|
57
|
+
};
|
|
58
|
+
export const ScalingMetricType = {
|
|
59
|
+
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
60
|
+
ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
|
|
61
|
+
ASGAverageNetworkIn: "ASGAverageNetworkIn",
|
|
62
|
+
ASGAverageNetworkOut: "ASGAverageNetworkOut",
|
|
63
|
+
DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
|
|
64
|
+
DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
|
|
65
|
+
EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
|
|
66
|
+
EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
|
|
67
|
+
EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
|
|
68
|
+
ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
|
|
69
|
+
ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
|
|
70
|
+
RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
|
|
71
|
+
RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
|
|
72
|
+
};
|
|
81
73
|
export class InternalServiceException extends __BaseException {
|
|
82
74
|
constructor(opts) {
|
|
83
75
|
super({
|
|
@@ -130,16 +122,14 @@ export class ObjectNotFoundException extends __BaseException {
|
|
|
130
122
|
this.Message = opts.Message;
|
|
131
123
|
}
|
|
132
124
|
}
|
|
133
|
-
export
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
ScalingStatusCode["PartiallyActive"] = "PartiallyActive";
|
|
142
|
-
})(ScalingStatusCode || (ScalingStatusCode = {}));
|
|
125
|
+
export const PolicyType = {
|
|
126
|
+
TargetTrackingScaling: "TargetTrackingScaling",
|
|
127
|
+
};
|
|
128
|
+
export const ScalingStatusCode = {
|
|
129
|
+
Active: "Active",
|
|
130
|
+
Inactive: "Inactive",
|
|
131
|
+
PartiallyActive: "PartiallyActive",
|
|
132
|
+
};
|
|
143
133
|
export class InvalidNextTokenException extends __BaseException {
|
|
144
134
|
constructor(opts) {
|
|
145
135
|
super({
|
|
@@ -153,21 +143,19 @@ export class InvalidNextTokenException extends __BaseException {
|
|
|
153
143
|
this.Message = opts.Message;
|
|
154
144
|
}
|
|
155
145
|
}
|
|
156
|
-
export
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
ForecastDataType["ScheduledActionMinCapacity"] = "ScheduledActionMinCapacity";
|
|
173
|
-
})(ForecastDataType || (ForecastDataType = {}));
|
|
146
|
+
export const ScalingPlanStatusCode = {
|
|
147
|
+
Active: "Active",
|
|
148
|
+
ActiveWithProblems: "ActiveWithProblems",
|
|
149
|
+
CreationFailed: "CreationFailed",
|
|
150
|
+
CreationInProgress: "CreationInProgress",
|
|
151
|
+
DeletionFailed: "DeletionFailed",
|
|
152
|
+
DeletionInProgress: "DeletionInProgress",
|
|
153
|
+
UpdateFailed: "UpdateFailed",
|
|
154
|
+
UpdateInProgress: "UpdateInProgress",
|
|
155
|
+
};
|
|
156
|
+
export const ForecastDataType = {
|
|
157
|
+
CapacityForecast: "CapacityForecast",
|
|
158
|
+
LoadForecast: "LoadForecast",
|
|
159
|
+
ScheduledActionMaxCapacity: "ScheduledActionMaxCapacity",
|
|
160
|
+
ScheduledActionMinCapacity: "ScheduledActionMinCapacity",
|
|
161
|
+
};
|
|
@@ -58,14 +58,19 @@ export interface MetricDimension {
|
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* @public
|
|
61
|
+
* @enum
|
|
61
62
|
*/
|
|
62
|
-
export declare
|
|
63
|
-
Average
|
|
64
|
-
Maximum
|
|
65
|
-
Minimum
|
|
66
|
-
SampleCount
|
|
67
|
-
Sum
|
|
68
|
-
}
|
|
63
|
+
export declare const MetricStatistic: {
|
|
64
|
+
readonly Average: "Average";
|
|
65
|
+
readonly Maximum: "Maximum";
|
|
66
|
+
readonly Minimum: "Minimum";
|
|
67
|
+
readonly SampleCount: "SampleCount";
|
|
68
|
+
readonly Sum: "Sum";
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
69
74
|
/**
|
|
70
75
|
* @public
|
|
71
76
|
* <p>Represents a CloudWatch metric of your choosing that can be used for predictive scaling. </p>
|
|
@@ -119,13 +124,18 @@ export interface CustomizedLoadMetricSpecification {
|
|
|
119
124
|
}
|
|
120
125
|
/**
|
|
121
126
|
* @public
|
|
127
|
+
* @enum
|
|
122
128
|
*/
|
|
123
|
-
export declare
|
|
124
|
-
ALBTargetGroupRequestCount
|
|
125
|
-
ASGTotalCPUUtilization
|
|
126
|
-
ASGTotalNetworkIn
|
|
127
|
-
ASGTotalNetworkOut
|
|
128
|
-
}
|
|
129
|
+
export declare const LoadMetricType: {
|
|
130
|
+
readonly ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount";
|
|
131
|
+
readonly ASGTotalCPUUtilization: "ASGTotalCPUUtilization";
|
|
132
|
+
readonly ASGTotalNetworkIn: "ASGTotalNetworkIn";
|
|
133
|
+
readonly ASGTotalNetworkOut: "ASGTotalNetworkOut";
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export type LoadMetricType = (typeof LoadMetricType)[keyof typeof LoadMetricType];
|
|
129
139
|
/**
|
|
130
140
|
* @public
|
|
131
141
|
* <p>Represents a predefined metric that can be used for predictive scaling.</p>
|
|
@@ -167,49 +177,74 @@ export interface PredefinedLoadMetricSpecification {
|
|
|
167
177
|
}
|
|
168
178
|
/**
|
|
169
179
|
* @public
|
|
180
|
+
* @enum
|
|
170
181
|
*/
|
|
171
|
-
export declare
|
|
172
|
-
SetForecastCapacityToMaxCapacity
|
|
173
|
-
SetMaxCapacityAboveForecastCapacity
|
|
174
|
-
SetMaxCapacityToForecastCapacity
|
|
175
|
-
}
|
|
182
|
+
export declare const PredictiveScalingMaxCapacityBehavior: {
|
|
183
|
+
readonly SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity";
|
|
184
|
+
readonly SetMaxCapacityAboveForecastCapacity: "SetMaxCapacityAboveForecastCapacity";
|
|
185
|
+
readonly SetMaxCapacityToForecastCapacity: "SetMaxCapacityToForecastCapacity";
|
|
186
|
+
};
|
|
176
187
|
/**
|
|
177
188
|
* @public
|
|
178
189
|
*/
|
|
179
|
-
export
|
|
180
|
-
ForecastAndScale = "ForecastAndScale",
|
|
181
|
-
ForecastOnly = "ForecastOnly"
|
|
182
|
-
}
|
|
190
|
+
export type PredictiveScalingMaxCapacityBehavior = (typeof PredictiveScalingMaxCapacityBehavior)[keyof typeof PredictiveScalingMaxCapacityBehavior];
|
|
183
191
|
/**
|
|
184
192
|
* @public
|
|
193
|
+
* @enum
|
|
185
194
|
*/
|
|
186
|
-
export declare
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
DynamoDBTableReadCapacityUnits = "dynamodb:table:ReadCapacityUnits",
|
|
191
|
-
DynamoDBTableWriteCapacityUnits = "dynamodb:table:WriteCapacityUnits",
|
|
192
|
-
EC2SpotFleetRequestTargetCapacity = "ec2:spot-fleet-request:TargetCapacity",
|
|
193
|
-
ECSServiceDesiredCount = "ecs:service:DesiredCount",
|
|
194
|
-
RDSClusterReadReplicaCount = "rds:cluster:ReadReplicaCount"
|
|
195
|
-
}
|
|
195
|
+
export declare const PredictiveScalingMode: {
|
|
196
|
+
readonly ForecastAndScale: "ForecastAndScale";
|
|
197
|
+
readonly ForecastOnly: "ForecastOnly";
|
|
198
|
+
};
|
|
196
199
|
/**
|
|
197
200
|
* @public
|
|
198
201
|
*/
|
|
199
|
-
export
|
|
200
|
-
KeepExternalPolicies = "KeepExternalPolicies",
|
|
201
|
-
ReplaceExternalPolicies = "ReplaceExternalPolicies"
|
|
202
|
-
}
|
|
202
|
+
export type PredictiveScalingMode = (typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
|
|
203
203
|
/**
|
|
204
204
|
* @public
|
|
205
|
+
* @enum
|
|
205
206
|
*/
|
|
206
|
-
export declare
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
207
|
+
export declare const ScalableDimension: {
|
|
208
|
+
readonly AutoScalingGroupDesiredCapacity: "autoscaling:autoScalingGroup:DesiredCapacity";
|
|
209
|
+
readonly DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits";
|
|
210
|
+
readonly DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits";
|
|
211
|
+
readonly DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits";
|
|
212
|
+
readonly DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits";
|
|
213
|
+
readonly EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity";
|
|
214
|
+
readonly ECSServiceDesiredCount: "ecs:service:DesiredCount";
|
|
215
|
+
readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export type ScalableDimension = (typeof ScalableDimension)[keyof typeof ScalableDimension];
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
* @enum
|
|
224
|
+
*/
|
|
225
|
+
export declare const ScalingPolicyUpdateBehavior: {
|
|
226
|
+
readonly KeepExternalPolicies: "KeepExternalPolicies";
|
|
227
|
+
readonly ReplaceExternalPolicies: "ReplaceExternalPolicies";
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
export type ScalingPolicyUpdateBehavior = (typeof ScalingPolicyUpdateBehavior)[keyof typeof ScalingPolicyUpdateBehavior];
|
|
233
|
+
/**
|
|
234
|
+
* @public
|
|
235
|
+
* @enum
|
|
236
|
+
*/
|
|
237
|
+
export declare const ServiceNamespace: {
|
|
238
|
+
readonly AUTOSCALING: "autoscaling";
|
|
239
|
+
readonly DYNAMODB: "dynamodb";
|
|
240
|
+
readonly EC2: "ec2";
|
|
241
|
+
readonly ECS: "ecs";
|
|
242
|
+
readonly RDS: "rds";
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
export type ServiceNamespace = (typeof ServiceNamespace)[keyof typeof ServiceNamespace];
|
|
213
248
|
/**
|
|
214
249
|
* @public
|
|
215
250
|
* <p>Represents a CloudWatch metric of your choosing that can be used for dynamic scaling as part
|
|
@@ -258,22 +293,27 @@ export interface CustomizedScalingMetricSpecification {
|
|
|
258
293
|
}
|
|
259
294
|
/**
|
|
260
295
|
* @public
|
|
296
|
+
* @enum
|
|
261
297
|
*/
|
|
262
|
-
export declare
|
|
263
|
-
ALBRequestCountPerTarget
|
|
264
|
-
ASGAverageCPUUtilization
|
|
265
|
-
ASGAverageNetworkIn
|
|
266
|
-
ASGAverageNetworkOut
|
|
267
|
-
DynamoDBReadCapacityUtilization
|
|
268
|
-
DynamoDBWriteCapacityUtilization
|
|
269
|
-
EC2SpotFleetRequestAverageCPUUtilization
|
|
270
|
-
EC2SpotFleetRequestAverageNetworkIn
|
|
271
|
-
EC2SpotFleetRequestAverageNetworkOut
|
|
272
|
-
ECSServiceAverageCPUUtilization
|
|
273
|
-
ECSServiceAverageMemoryUtilization
|
|
274
|
-
RDSReaderAverageCPUUtilization
|
|
275
|
-
RDSReaderAverageDatabaseConnections
|
|
276
|
-
}
|
|
298
|
+
export declare const ScalingMetricType: {
|
|
299
|
+
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
300
|
+
readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
|
|
301
|
+
readonly ASGAverageNetworkIn: "ASGAverageNetworkIn";
|
|
302
|
+
readonly ASGAverageNetworkOut: "ASGAverageNetworkOut";
|
|
303
|
+
readonly DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization";
|
|
304
|
+
readonly DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization";
|
|
305
|
+
readonly EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization";
|
|
306
|
+
readonly EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn";
|
|
307
|
+
readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
|
|
308
|
+
readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
|
|
309
|
+
readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
|
|
310
|
+
readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
|
|
311
|
+
readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
|
|
312
|
+
};
|
|
313
|
+
/**
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
export type ScalingMetricType = (typeof ScalingMetricType)[keyof typeof ScalingMetricType];
|
|
277
317
|
/**
|
|
278
318
|
* @public
|
|
279
319
|
* <p>Represents a predefined metric that can be used for dynamic scaling as part of a target
|
|
@@ -694,10 +734,15 @@ export interface DescribeScalingPlanResourcesRequest {
|
|
|
694
734
|
}
|
|
695
735
|
/**
|
|
696
736
|
* @public
|
|
737
|
+
* @enum
|
|
697
738
|
*/
|
|
698
|
-
export declare
|
|
699
|
-
TargetTrackingScaling
|
|
700
|
-
}
|
|
739
|
+
export declare const PolicyType: {
|
|
740
|
+
readonly TargetTrackingScaling: "TargetTrackingScaling";
|
|
741
|
+
};
|
|
742
|
+
/**
|
|
743
|
+
* @public
|
|
744
|
+
*/
|
|
745
|
+
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
701
746
|
/**
|
|
702
747
|
* @public
|
|
703
748
|
* <p>Represents a scaling policy.</p>
|
|
@@ -719,12 +764,17 @@ export interface ScalingPolicy {
|
|
|
719
764
|
}
|
|
720
765
|
/**
|
|
721
766
|
* @public
|
|
767
|
+
* @enum
|
|
722
768
|
*/
|
|
723
|
-
export declare
|
|
724
|
-
Active
|
|
725
|
-
Inactive
|
|
726
|
-
PartiallyActive
|
|
727
|
-
}
|
|
769
|
+
export declare const ScalingStatusCode: {
|
|
770
|
+
readonly Active: "Active";
|
|
771
|
+
readonly Inactive: "Inactive";
|
|
772
|
+
readonly PartiallyActive: "PartiallyActive";
|
|
773
|
+
};
|
|
774
|
+
/**
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
export type ScalingStatusCode = (typeof ScalingStatusCode)[keyof typeof ScalingStatusCode];
|
|
728
778
|
/**
|
|
729
779
|
* @public
|
|
730
780
|
* <p>Represents a scalable resource.</p>
|
|
@@ -904,17 +954,22 @@ export interface DescribeScalingPlansRequest {
|
|
|
904
954
|
}
|
|
905
955
|
/**
|
|
906
956
|
* @public
|
|
957
|
+
* @enum
|
|
907
958
|
*/
|
|
908
|
-
export declare
|
|
909
|
-
Active
|
|
910
|
-
ActiveWithProblems
|
|
911
|
-
CreationFailed
|
|
912
|
-
CreationInProgress
|
|
913
|
-
DeletionFailed
|
|
914
|
-
DeletionInProgress
|
|
915
|
-
UpdateFailed
|
|
916
|
-
UpdateInProgress
|
|
917
|
-
}
|
|
959
|
+
export declare const ScalingPlanStatusCode: {
|
|
960
|
+
readonly Active: "Active";
|
|
961
|
+
readonly ActiveWithProblems: "ActiveWithProblems";
|
|
962
|
+
readonly CreationFailed: "CreationFailed";
|
|
963
|
+
readonly CreationInProgress: "CreationInProgress";
|
|
964
|
+
readonly DeletionFailed: "DeletionFailed";
|
|
965
|
+
readonly DeletionInProgress: "DeletionInProgress";
|
|
966
|
+
readonly UpdateFailed: "UpdateFailed";
|
|
967
|
+
readonly UpdateInProgress: "UpdateInProgress";
|
|
968
|
+
};
|
|
969
|
+
/**
|
|
970
|
+
* @public
|
|
971
|
+
*/
|
|
972
|
+
export type ScalingPlanStatusCode = (typeof ScalingPlanStatusCode)[keyof typeof ScalingPlanStatusCode];
|
|
918
973
|
/**
|
|
919
974
|
* @public
|
|
920
975
|
* <p>Represents a scaling plan.</p>
|
|
@@ -1005,13 +1060,18 @@ export interface DescribeScalingPlansResponse {
|
|
|
1005
1060
|
}
|
|
1006
1061
|
/**
|
|
1007
1062
|
* @public
|
|
1063
|
+
* @enum
|
|
1008
1064
|
*/
|
|
1009
|
-
export declare
|
|
1010
|
-
CapacityForecast
|
|
1011
|
-
LoadForecast
|
|
1012
|
-
ScheduledActionMaxCapacity
|
|
1013
|
-
ScheduledActionMinCapacity
|
|
1014
|
-
}
|
|
1065
|
+
export declare const ForecastDataType: {
|
|
1066
|
+
readonly CapacityForecast: "CapacityForecast";
|
|
1067
|
+
readonly LoadForecast: "LoadForecast";
|
|
1068
|
+
readonly ScheduledActionMaxCapacity: "ScheduledActionMaxCapacity";
|
|
1069
|
+
readonly ScheduledActionMinCapacity: "ScheduledActionMinCapacity";
|
|
1070
|
+
};
|
|
1071
|
+
/**
|
|
1072
|
+
* @public
|
|
1073
|
+
*/
|
|
1074
|
+
export type ForecastDataType = (typeof ForecastDataType)[keyof typeof ForecastDataType];
|
|
1015
1075
|
/**
|
|
1016
1076
|
* @public
|
|
1017
1077
|
*/
|
|
@@ -20,13 +20,15 @@ export interface MetricDimension {
|
|
|
20
20
|
Name: string | undefined;
|
|
21
21
|
Value: string | undefined;
|
|
22
22
|
}
|
|
23
|
-
export declare
|
|
24
|
-
Average
|
|
25
|
-
Maximum
|
|
26
|
-
Minimum
|
|
27
|
-
SampleCount
|
|
28
|
-
Sum
|
|
29
|
-
}
|
|
23
|
+
export declare const MetricStatistic: {
|
|
24
|
+
readonly Average: "Average";
|
|
25
|
+
readonly Maximum: "Maximum";
|
|
26
|
+
readonly Minimum: "Minimum";
|
|
27
|
+
readonly SampleCount: "SampleCount";
|
|
28
|
+
readonly Sum: "Sum";
|
|
29
|
+
};
|
|
30
|
+
export type MetricStatistic =
|
|
31
|
+
(typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
30
32
|
export interface CustomizedLoadMetricSpecification {
|
|
31
33
|
MetricName: string | undefined;
|
|
32
34
|
Namespace: string | undefined;
|
|
@@ -34,46 +36,58 @@ export interface CustomizedLoadMetricSpecification {
|
|
|
34
36
|
Statistic: MetricStatistic | string | undefined;
|
|
35
37
|
Unit?: string;
|
|
36
38
|
}
|
|
37
|
-
export declare
|
|
38
|
-
ALBTargetGroupRequestCount
|
|
39
|
-
ASGTotalCPUUtilization
|
|
40
|
-
ASGTotalNetworkIn
|
|
41
|
-
ASGTotalNetworkOut
|
|
42
|
-
}
|
|
39
|
+
export declare const LoadMetricType: {
|
|
40
|
+
readonly ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount";
|
|
41
|
+
readonly ASGTotalCPUUtilization: "ASGTotalCPUUtilization";
|
|
42
|
+
readonly ASGTotalNetworkIn: "ASGTotalNetworkIn";
|
|
43
|
+
readonly ASGTotalNetworkOut: "ASGTotalNetworkOut";
|
|
44
|
+
};
|
|
45
|
+
export type LoadMetricType =
|
|
46
|
+
(typeof LoadMetricType)[keyof typeof LoadMetricType];
|
|
43
47
|
export interface PredefinedLoadMetricSpecification {
|
|
44
48
|
PredefinedLoadMetricType: LoadMetricType | string | undefined;
|
|
45
49
|
ResourceLabel?: string;
|
|
46
50
|
}
|
|
47
|
-
export declare
|
|
48
|
-
SetForecastCapacityToMaxCapacity
|
|
49
|
-
SetMaxCapacityAboveForecastCapacity
|
|
50
|
-
SetMaxCapacityToForecastCapacity
|
|
51
|
-
}
|
|
52
|
-
export
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
export
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
51
|
+
export declare const PredictiveScalingMaxCapacityBehavior: {
|
|
52
|
+
readonly SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity";
|
|
53
|
+
readonly SetMaxCapacityAboveForecastCapacity: "SetMaxCapacityAboveForecastCapacity";
|
|
54
|
+
readonly SetMaxCapacityToForecastCapacity: "SetMaxCapacityToForecastCapacity";
|
|
55
|
+
};
|
|
56
|
+
export type PredictiveScalingMaxCapacityBehavior =
|
|
57
|
+
(typeof PredictiveScalingMaxCapacityBehavior)[keyof typeof PredictiveScalingMaxCapacityBehavior];
|
|
58
|
+
export declare const PredictiveScalingMode: {
|
|
59
|
+
readonly ForecastAndScale: "ForecastAndScale";
|
|
60
|
+
readonly ForecastOnly: "ForecastOnly";
|
|
61
|
+
};
|
|
62
|
+
export type PredictiveScalingMode =
|
|
63
|
+
(typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
|
|
64
|
+
export declare const ScalableDimension: {
|
|
65
|
+
readonly AutoScalingGroupDesiredCapacity: "autoscaling:autoScalingGroup:DesiredCapacity";
|
|
66
|
+
readonly DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits";
|
|
67
|
+
readonly DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits";
|
|
68
|
+
readonly DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits";
|
|
69
|
+
readonly DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits";
|
|
70
|
+
readonly EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity";
|
|
71
|
+
readonly ECSServiceDesiredCount: "ecs:service:DesiredCount";
|
|
72
|
+
readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
|
|
73
|
+
};
|
|
74
|
+
export type ScalableDimension =
|
|
75
|
+
(typeof ScalableDimension)[keyof typeof ScalableDimension];
|
|
76
|
+
export declare const ScalingPolicyUpdateBehavior: {
|
|
77
|
+
readonly KeepExternalPolicies: "KeepExternalPolicies";
|
|
78
|
+
readonly ReplaceExternalPolicies: "ReplaceExternalPolicies";
|
|
79
|
+
};
|
|
80
|
+
export type ScalingPolicyUpdateBehavior =
|
|
81
|
+
(typeof ScalingPolicyUpdateBehavior)[keyof typeof ScalingPolicyUpdateBehavior];
|
|
82
|
+
export declare const ServiceNamespace: {
|
|
83
|
+
readonly AUTOSCALING: "autoscaling";
|
|
84
|
+
readonly DYNAMODB: "dynamodb";
|
|
85
|
+
readonly EC2: "ec2";
|
|
86
|
+
readonly ECS: "ecs";
|
|
87
|
+
readonly RDS: "rds";
|
|
88
|
+
};
|
|
89
|
+
export type ServiceNamespace =
|
|
90
|
+
(typeof ServiceNamespace)[keyof typeof ServiceNamespace];
|
|
77
91
|
export interface CustomizedScalingMetricSpecification {
|
|
78
92
|
MetricName: string | undefined;
|
|
79
93
|
Namespace: string | undefined;
|
|
@@ -81,21 +95,23 @@ export interface CustomizedScalingMetricSpecification {
|
|
|
81
95
|
Statistic: MetricStatistic | string | undefined;
|
|
82
96
|
Unit?: string;
|
|
83
97
|
}
|
|
84
|
-
export declare
|
|
85
|
-
ALBRequestCountPerTarget
|
|
86
|
-
ASGAverageCPUUtilization
|
|
87
|
-
ASGAverageNetworkIn
|
|
88
|
-
ASGAverageNetworkOut
|
|
89
|
-
DynamoDBReadCapacityUtilization
|
|
90
|
-
DynamoDBWriteCapacityUtilization
|
|
91
|
-
EC2SpotFleetRequestAverageCPUUtilization
|
|
92
|
-
EC2SpotFleetRequestAverageNetworkIn
|
|
93
|
-
EC2SpotFleetRequestAverageNetworkOut
|
|
94
|
-
ECSServiceAverageCPUUtilization
|
|
95
|
-
ECSServiceAverageMemoryUtilization
|
|
96
|
-
RDSReaderAverageCPUUtilization
|
|
97
|
-
RDSReaderAverageDatabaseConnections
|
|
98
|
-
}
|
|
98
|
+
export declare const ScalingMetricType: {
|
|
99
|
+
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
100
|
+
readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
|
|
101
|
+
readonly ASGAverageNetworkIn: "ASGAverageNetworkIn";
|
|
102
|
+
readonly ASGAverageNetworkOut: "ASGAverageNetworkOut";
|
|
103
|
+
readonly DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization";
|
|
104
|
+
readonly DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization";
|
|
105
|
+
readonly EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization";
|
|
106
|
+
readonly EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn";
|
|
107
|
+
readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
|
|
108
|
+
readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
|
|
109
|
+
readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
|
|
110
|
+
readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
|
|
111
|
+
readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
|
|
112
|
+
};
|
|
113
|
+
export type ScalingMetricType =
|
|
114
|
+
(typeof ScalingMetricType)[keyof typeof ScalingMetricType];
|
|
99
115
|
export interface PredefinedScalingMetricSpecification {
|
|
100
116
|
PredefinedScalingMetricType: ScalingMetricType | string | undefined;
|
|
101
117
|
ResourceLabel?: string;
|
|
@@ -178,19 +194,22 @@ export interface DescribeScalingPlanResourcesRequest {
|
|
|
178
194
|
MaxResults?: number;
|
|
179
195
|
NextToken?: string;
|
|
180
196
|
}
|
|
181
|
-
export declare
|
|
182
|
-
TargetTrackingScaling
|
|
183
|
-
}
|
|
197
|
+
export declare const PolicyType: {
|
|
198
|
+
readonly TargetTrackingScaling: "TargetTrackingScaling";
|
|
199
|
+
};
|
|
200
|
+
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
184
201
|
export interface ScalingPolicy {
|
|
185
202
|
PolicyName: string | undefined;
|
|
186
203
|
PolicyType: PolicyType | string | undefined;
|
|
187
204
|
TargetTrackingConfiguration?: TargetTrackingConfiguration;
|
|
188
205
|
}
|
|
189
|
-
export declare
|
|
190
|
-
Active
|
|
191
|
-
Inactive
|
|
192
|
-
PartiallyActive
|
|
193
|
-
}
|
|
206
|
+
export declare const ScalingStatusCode: {
|
|
207
|
+
readonly Active: "Active";
|
|
208
|
+
readonly Inactive: "Inactive";
|
|
209
|
+
readonly PartiallyActive: "PartiallyActive";
|
|
210
|
+
};
|
|
211
|
+
export type ScalingStatusCode =
|
|
212
|
+
(typeof ScalingStatusCode)[keyof typeof ScalingStatusCode];
|
|
194
213
|
export interface ScalingPlanResource {
|
|
195
214
|
ScalingPlanName: string | undefined;
|
|
196
215
|
ScalingPlanVersion: number | undefined;
|
|
@@ -220,16 +239,18 @@ export interface DescribeScalingPlansRequest {
|
|
|
220
239
|
MaxResults?: number;
|
|
221
240
|
NextToken?: string;
|
|
222
241
|
}
|
|
223
|
-
export declare
|
|
224
|
-
Active
|
|
225
|
-
ActiveWithProblems
|
|
226
|
-
CreationFailed
|
|
227
|
-
CreationInProgress
|
|
228
|
-
DeletionFailed
|
|
229
|
-
DeletionInProgress
|
|
230
|
-
UpdateFailed
|
|
231
|
-
UpdateInProgress
|
|
232
|
-
}
|
|
242
|
+
export declare const ScalingPlanStatusCode: {
|
|
243
|
+
readonly Active: "Active";
|
|
244
|
+
readonly ActiveWithProblems: "ActiveWithProblems";
|
|
245
|
+
readonly CreationFailed: "CreationFailed";
|
|
246
|
+
readonly CreationInProgress: "CreationInProgress";
|
|
247
|
+
readonly DeletionFailed: "DeletionFailed";
|
|
248
|
+
readonly DeletionInProgress: "DeletionInProgress";
|
|
249
|
+
readonly UpdateFailed: "UpdateFailed";
|
|
250
|
+
readonly UpdateInProgress: "UpdateInProgress";
|
|
251
|
+
};
|
|
252
|
+
export type ScalingPlanStatusCode =
|
|
253
|
+
(typeof ScalingPlanStatusCode)[keyof typeof ScalingPlanStatusCode];
|
|
233
254
|
export interface ScalingPlan {
|
|
234
255
|
ScalingPlanName: string | undefined;
|
|
235
256
|
ScalingPlanVersion: number | undefined;
|
|
@@ -244,12 +265,14 @@ export interface DescribeScalingPlansResponse {
|
|
|
244
265
|
ScalingPlans?: ScalingPlan[];
|
|
245
266
|
NextToken?: string;
|
|
246
267
|
}
|
|
247
|
-
export declare
|
|
248
|
-
CapacityForecast
|
|
249
|
-
LoadForecast
|
|
250
|
-
ScheduledActionMaxCapacity
|
|
251
|
-
ScheduledActionMinCapacity
|
|
252
|
-
}
|
|
268
|
+
export declare const ForecastDataType: {
|
|
269
|
+
readonly CapacityForecast: "CapacityForecast";
|
|
270
|
+
readonly LoadForecast: "LoadForecast";
|
|
271
|
+
readonly ScheduledActionMaxCapacity: "ScheduledActionMaxCapacity";
|
|
272
|
+
readonly ScheduledActionMinCapacity: "ScheduledActionMinCapacity";
|
|
273
|
+
};
|
|
274
|
+
export type ForecastDataType =
|
|
275
|
+
(typeof ForecastDataType)[keyof typeof ForecastDataType];
|
|
253
276
|
export interface GetScalingPlanResourceForecastDataRequest {
|
|
254
277
|
ScalingPlanName: string | undefined;
|
|
255
278
|
ScalingPlanVersion: number | undefined;
|
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.303.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,42 +21,42 @@
|
|
|
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/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|