@aws-sdk/client-application-auto-scaling 3.289.0 → 3.291.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/README.md +2 -3
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +18 -1
- package/dist-cjs/protocols/Aws_json1_1.js +108 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_json1_1.js +108 -0
- package/dist-types/ApplicationAutoScaling.d.ts +2 -3
- package/dist-types/ApplicationAutoScalingClient.d.ts +2 -3
- package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +19 -0
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +19 -0
- package/dist-types/commands/DeregisterScalableTargetCommand.d.ts +19 -0
- package/dist-types/commands/DescribeScalableTargetsCommand.d.ts +15 -0
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +15 -0
- package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +21 -0
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +15 -0
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +28 -0
- package/dist-types/commands/PutScheduledActionCommand.d.ts +22 -0
- package/dist-types/commands/RegisterScalableTargetCommand.d.ts +15 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +141 -9
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +37 -3
- package/package.json +29 -29
package/README.md
CHANGED
|
@@ -55,6 +55,8 @@ resources:</p>
|
|
|
55
55
|
<p>Custom resources provided by your own applications or services</p>
|
|
56
56
|
</li>
|
|
57
57
|
</ul>
|
|
58
|
+
<p>To learn more about Application Auto Scaling, see the <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html">Application Auto Scaling User
|
|
59
|
+
Guide</a>.</p>
|
|
58
60
|
<p>
|
|
59
61
|
<b>API Summary</b>
|
|
60
62
|
</p>
|
|
@@ -78,9 +80,6 @@ triggered by a scaling policy, scale-in activities that are triggered by a scali
|
|
|
78
80
|
and scheduled scaling.</p>
|
|
79
81
|
</li>
|
|
80
82
|
</ul>
|
|
81
|
-
<p>To learn more about Application Auto Scaling, including information about granting IAM users required
|
|
82
|
-
permissions for Application Auto Scaling actions, see the <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html">Application Auto Scaling User
|
|
83
|
-
Guide</a>.</p>
|
|
84
83
|
|
|
85
84
|
## Installing
|
|
86
85
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const s = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://application-autoscaling-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://application-autoscaling.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://application-autoscaling-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://application-autoscaling.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://application-autoscaling.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PutScheduledActionRequestFilterSensitiveLog = exports.PutScalingPolicyResponseFilterSensitiveLog = exports.PutScalingPolicyRequestFilterSensitiveLog = exports.DescribeScheduledActionsResponseFilterSensitiveLog = exports.ScheduledActionFilterSensitiveLog = exports.ScalableTargetActionFilterSensitiveLog = exports.DescribeScheduledActionsRequestFilterSensitiveLog = exports.DescribeScalingPoliciesResponseFilterSensitiveLog = exports.ScalingPolicyFilterSensitiveLog = exports.TargetTrackingScalingPolicyConfigurationFilterSensitiveLog = exports.PredefinedMetricSpecificationFilterSensitiveLog = exports.CustomizedMetricSpecificationFilterSensitiveLog = exports.TargetTrackingMetricDataQueryFilterSensitiveLog = exports.TargetTrackingMetricStatFilterSensitiveLog = exports.TargetTrackingMetricFilterSensitiveLog = exports.TargetTrackingMetricDimensionFilterSensitiveLog = exports.MetricDimensionFilterSensitiveLog = exports.StepScalingPolicyConfigurationFilterSensitiveLog = exports.StepAdjustmentFilterSensitiveLog = exports.DescribeScalingPoliciesRequestFilterSensitiveLog = exports.DescribeScalingActivitiesResponseFilterSensitiveLog = exports.ScalingActivityFilterSensitiveLog = exports.NotScaledReasonFilterSensitiveLog = exports.DescribeScalingActivitiesRequestFilterSensitiveLog = exports.DescribeScalableTargetsResponseFilterSensitiveLog = exports.ScalableTargetFilterSensitiveLog = exports.SuspendedStateFilterSensitiveLog = exports.DescribeScalableTargetsRequestFilterSensitiveLog = exports.DeregisterScalableTargetResponseFilterSensitiveLog = exports.DeregisterScalableTargetRequestFilterSensitiveLog = exports.DeleteScheduledActionResponseFilterSensitiveLog = exports.DeleteScheduledActionRequestFilterSensitiveLog = exports.DeleteScalingPolicyResponseFilterSensitiveLog = exports.DeleteScalingPolicyRequestFilterSensitiveLog = exports.AlarmFilterSensitiveLog = exports.LimitExceededException = exports.FailedResourceAccessException = exports.MetricType = exports.MetricStatistic = exports.MetricAggregationType = exports.PolicyType = exports.ScalingActivityStatusCode = exports.InvalidNextTokenException = exports.ValidationException = exports.ObjectNotFoundException = exports.InternalServiceException = exports.ServiceNamespace = exports.ScalableDimension = exports.ConcurrentUpdateException = exports.AdjustmentType = void 0;
|
|
4
|
+
exports.RegisterScalableTargetResponseFilterSensitiveLog = exports.RegisterScalableTargetRequestFilterSensitiveLog = exports.PutScheduledActionResponseFilterSensitiveLog = void 0;
|
|
4
5
|
const ApplicationAutoScalingServiceException_1 = require("./ApplicationAutoScalingServiceException");
|
|
5
6
|
var AdjustmentType;
|
|
6
7
|
(function (AdjustmentType) {
|
|
@@ -274,6 +275,22 @@ const MetricDimensionFilterSensitiveLog = (obj) => ({
|
|
|
274
275
|
...obj,
|
|
275
276
|
});
|
|
276
277
|
exports.MetricDimensionFilterSensitiveLog = MetricDimensionFilterSensitiveLog;
|
|
278
|
+
const TargetTrackingMetricDimensionFilterSensitiveLog = (obj) => ({
|
|
279
|
+
...obj,
|
|
280
|
+
});
|
|
281
|
+
exports.TargetTrackingMetricDimensionFilterSensitiveLog = TargetTrackingMetricDimensionFilterSensitiveLog;
|
|
282
|
+
const TargetTrackingMetricFilterSensitiveLog = (obj) => ({
|
|
283
|
+
...obj,
|
|
284
|
+
});
|
|
285
|
+
exports.TargetTrackingMetricFilterSensitiveLog = TargetTrackingMetricFilterSensitiveLog;
|
|
286
|
+
const TargetTrackingMetricStatFilterSensitiveLog = (obj) => ({
|
|
287
|
+
...obj,
|
|
288
|
+
});
|
|
289
|
+
exports.TargetTrackingMetricStatFilterSensitiveLog = TargetTrackingMetricStatFilterSensitiveLog;
|
|
290
|
+
const TargetTrackingMetricDataQueryFilterSensitiveLog = (obj) => ({
|
|
291
|
+
...obj,
|
|
292
|
+
});
|
|
293
|
+
exports.TargetTrackingMetricDataQueryFilterSensitiveLog = TargetTrackingMetricDataQueryFilterSensitiveLog;
|
|
277
294
|
const CustomizedMetricSpecificationFilterSensitiveLog = (obj) => ({
|
|
278
295
|
...obj,
|
|
279
296
|
});
|
|
@@ -614,6 +614,9 @@ const serializeAws_json1_1CustomizedMetricSpecification = (input, context) => {
|
|
|
614
614
|
return {
|
|
615
615
|
...(input.Dimensions != null && { Dimensions: serializeAws_json1_1MetricDimensions(input.Dimensions, context) }),
|
|
616
616
|
...(input.MetricName != null && { MetricName: input.MetricName }),
|
|
617
|
+
...(input.Metrics != null && {
|
|
618
|
+
Metrics: serializeAws_json1_1TargetTrackingMetricDataQueries(input.Metrics, context),
|
|
619
|
+
}),
|
|
617
620
|
...(input.Namespace != null && { Namespace: input.Namespace }),
|
|
618
621
|
...(input.Statistic != null && { Statistic: input.Statistic }),
|
|
619
622
|
...(input.Unit != null && { Unit: input.Unit }),
|
|
@@ -798,6 +801,53 @@ const serializeAws_json1_1SuspendedState = (input, context) => {
|
|
|
798
801
|
...(input.ScheduledScalingSuspended != null && { ScheduledScalingSuspended: input.ScheduledScalingSuspended }),
|
|
799
802
|
};
|
|
800
803
|
};
|
|
804
|
+
const serializeAws_json1_1TargetTrackingMetric = (input, context) => {
|
|
805
|
+
return {
|
|
806
|
+
...(input.Dimensions != null && {
|
|
807
|
+
Dimensions: serializeAws_json1_1TargetTrackingMetricDimensions(input.Dimensions, context),
|
|
808
|
+
}),
|
|
809
|
+
...(input.MetricName != null && { MetricName: input.MetricName }),
|
|
810
|
+
...(input.Namespace != null && { Namespace: input.Namespace }),
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
const serializeAws_json1_1TargetTrackingMetricDataQueries = (input, context) => {
|
|
814
|
+
return input
|
|
815
|
+
.filter((e) => e != null)
|
|
816
|
+
.map((entry) => {
|
|
817
|
+
return serializeAws_json1_1TargetTrackingMetricDataQuery(entry, context);
|
|
818
|
+
});
|
|
819
|
+
};
|
|
820
|
+
const serializeAws_json1_1TargetTrackingMetricDataQuery = (input, context) => {
|
|
821
|
+
return {
|
|
822
|
+
...(input.Expression != null && { Expression: input.Expression }),
|
|
823
|
+
...(input.Id != null && { Id: input.Id }),
|
|
824
|
+
...(input.Label != null && { Label: input.Label }),
|
|
825
|
+
...(input.MetricStat != null && {
|
|
826
|
+
MetricStat: serializeAws_json1_1TargetTrackingMetricStat(input.MetricStat, context),
|
|
827
|
+
}),
|
|
828
|
+
...(input.ReturnData != null && { ReturnData: input.ReturnData }),
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
const serializeAws_json1_1TargetTrackingMetricDimension = (input, context) => {
|
|
832
|
+
return {
|
|
833
|
+
...(input.Name != null && { Name: input.Name }),
|
|
834
|
+
...(input.Value != null && { Value: input.Value }),
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
const serializeAws_json1_1TargetTrackingMetricDimensions = (input, context) => {
|
|
838
|
+
return input
|
|
839
|
+
.filter((e) => e != null)
|
|
840
|
+
.map((entry) => {
|
|
841
|
+
return serializeAws_json1_1TargetTrackingMetricDimension(entry, context);
|
|
842
|
+
});
|
|
843
|
+
};
|
|
844
|
+
const serializeAws_json1_1TargetTrackingMetricStat = (input, context) => {
|
|
845
|
+
return {
|
|
846
|
+
...(input.Metric != null && { Metric: serializeAws_json1_1TargetTrackingMetric(input.Metric, context) }),
|
|
847
|
+
...(input.Stat != null && { Stat: input.Stat }),
|
|
848
|
+
...(input.Unit != null && { Unit: input.Unit }),
|
|
849
|
+
};
|
|
850
|
+
};
|
|
801
851
|
const serializeAws_json1_1TargetTrackingScalingPolicyConfiguration = (input, context) => {
|
|
802
852
|
return {
|
|
803
853
|
...(input.CustomizedMetricSpecification != null && {
|
|
@@ -838,6 +888,9 @@ const deserializeAws_json1_1CustomizedMetricSpecification = (output, context) =>
|
|
|
838
888
|
return {
|
|
839
889
|
Dimensions: output.Dimensions != null ? deserializeAws_json1_1MetricDimensions(output.Dimensions, context) : undefined,
|
|
840
890
|
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
891
|
+
Metrics: output.Metrics != null
|
|
892
|
+
? deserializeAws_json1_1TargetTrackingMetricDataQueries(output.Metrics, context)
|
|
893
|
+
: undefined,
|
|
841
894
|
Namespace: (0, smithy_client_1.expectString)(output.Namespace),
|
|
842
895
|
Statistic: (0, smithy_client_1.expectString)(output.Statistic),
|
|
843
896
|
Unit: (0, smithy_client_1.expectString)(output.Unit),
|
|
@@ -1120,6 +1173,61 @@ const deserializeAws_json1_1SuspendedState = (output, context) => {
|
|
|
1120
1173
|
ScheduledScalingSuspended: (0, smithy_client_1.expectBoolean)(output.ScheduledScalingSuspended),
|
|
1121
1174
|
};
|
|
1122
1175
|
};
|
|
1176
|
+
const deserializeAws_json1_1TargetTrackingMetric = (output, context) => {
|
|
1177
|
+
return {
|
|
1178
|
+
Dimensions: output.Dimensions != null
|
|
1179
|
+
? deserializeAws_json1_1TargetTrackingMetricDimensions(output.Dimensions, context)
|
|
1180
|
+
: undefined,
|
|
1181
|
+
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
1182
|
+
Namespace: (0, smithy_client_1.expectString)(output.Namespace),
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
const deserializeAws_json1_1TargetTrackingMetricDataQueries = (output, context) => {
|
|
1186
|
+
const retVal = (output || [])
|
|
1187
|
+
.filter((e) => e != null)
|
|
1188
|
+
.map((entry) => {
|
|
1189
|
+
if (entry === null) {
|
|
1190
|
+
return null;
|
|
1191
|
+
}
|
|
1192
|
+
return deserializeAws_json1_1TargetTrackingMetricDataQuery(entry, context);
|
|
1193
|
+
});
|
|
1194
|
+
return retVal;
|
|
1195
|
+
};
|
|
1196
|
+
const deserializeAws_json1_1TargetTrackingMetricDataQuery = (output, context) => {
|
|
1197
|
+
return {
|
|
1198
|
+
Expression: (0, smithy_client_1.expectString)(output.Expression),
|
|
1199
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
1200
|
+
Label: (0, smithy_client_1.expectString)(output.Label),
|
|
1201
|
+
MetricStat: output.MetricStat != null
|
|
1202
|
+
? deserializeAws_json1_1TargetTrackingMetricStat(output.MetricStat, context)
|
|
1203
|
+
: undefined,
|
|
1204
|
+
ReturnData: (0, smithy_client_1.expectBoolean)(output.ReturnData),
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
const deserializeAws_json1_1TargetTrackingMetricDimension = (output, context) => {
|
|
1208
|
+
return {
|
|
1209
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1210
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
const deserializeAws_json1_1TargetTrackingMetricDimensions = (output, context) => {
|
|
1214
|
+
const retVal = (output || [])
|
|
1215
|
+
.filter((e) => e != null)
|
|
1216
|
+
.map((entry) => {
|
|
1217
|
+
if (entry === null) {
|
|
1218
|
+
return null;
|
|
1219
|
+
}
|
|
1220
|
+
return deserializeAws_json1_1TargetTrackingMetricDimension(entry, context);
|
|
1221
|
+
});
|
|
1222
|
+
return retVal;
|
|
1223
|
+
};
|
|
1224
|
+
const deserializeAws_json1_1TargetTrackingMetricStat = (output, context) => {
|
|
1225
|
+
return {
|
|
1226
|
+
Metric: output.Metric != null ? deserializeAws_json1_1TargetTrackingMetric(output.Metric, context) : undefined,
|
|
1227
|
+
Stat: (0, smithy_client_1.expectString)(output.Stat),
|
|
1228
|
+
Unit: (0, smithy_client_1.expectString)(output.Unit),
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1123
1231
|
const deserializeAws_json1_1TargetTrackingScalingPolicyConfiguration = (output, context) => {
|
|
1124
1232
|
return {
|
|
1125
1233
|
CustomizedMetricSpecification: output.CustomizedMetricSpecification != null
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const s = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://application-autoscaling-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://application-autoscaling.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://application-autoscaling-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://application-autoscaling.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://application-autoscaling.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -245,6 +245,18 @@ export const StepScalingPolicyConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
245
245
|
export const MetricDimensionFilterSensitiveLog = (obj) => ({
|
|
246
246
|
...obj,
|
|
247
247
|
});
|
|
248
|
+
export const TargetTrackingMetricDimensionFilterSensitiveLog = (obj) => ({
|
|
249
|
+
...obj,
|
|
250
|
+
});
|
|
251
|
+
export const TargetTrackingMetricFilterSensitiveLog = (obj) => ({
|
|
252
|
+
...obj,
|
|
253
|
+
});
|
|
254
|
+
export const TargetTrackingMetricStatFilterSensitiveLog = (obj) => ({
|
|
255
|
+
...obj,
|
|
256
|
+
});
|
|
257
|
+
export const TargetTrackingMetricDataQueryFilterSensitiveLog = (obj) => ({
|
|
258
|
+
...obj,
|
|
259
|
+
});
|
|
248
260
|
export const CustomizedMetricSpecificationFilterSensitiveLog = (obj) => ({
|
|
249
261
|
...obj,
|
|
250
262
|
});
|
|
@@ -591,6 +591,9 @@ const serializeAws_json1_1CustomizedMetricSpecification = (input, context) => {
|
|
|
591
591
|
return {
|
|
592
592
|
...(input.Dimensions != null && { Dimensions: serializeAws_json1_1MetricDimensions(input.Dimensions, context) }),
|
|
593
593
|
...(input.MetricName != null && { MetricName: input.MetricName }),
|
|
594
|
+
...(input.Metrics != null && {
|
|
595
|
+
Metrics: serializeAws_json1_1TargetTrackingMetricDataQueries(input.Metrics, context),
|
|
596
|
+
}),
|
|
594
597
|
...(input.Namespace != null && { Namespace: input.Namespace }),
|
|
595
598
|
...(input.Statistic != null && { Statistic: input.Statistic }),
|
|
596
599
|
...(input.Unit != null && { Unit: input.Unit }),
|
|
@@ -775,6 +778,53 @@ const serializeAws_json1_1SuspendedState = (input, context) => {
|
|
|
775
778
|
...(input.ScheduledScalingSuspended != null && { ScheduledScalingSuspended: input.ScheduledScalingSuspended }),
|
|
776
779
|
};
|
|
777
780
|
};
|
|
781
|
+
const serializeAws_json1_1TargetTrackingMetric = (input, context) => {
|
|
782
|
+
return {
|
|
783
|
+
...(input.Dimensions != null && {
|
|
784
|
+
Dimensions: serializeAws_json1_1TargetTrackingMetricDimensions(input.Dimensions, context),
|
|
785
|
+
}),
|
|
786
|
+
...(input.MetricName != null && { MetricName: input.MetricName }),
|
|
787
|
+
...(input.Namespace != null && { Namespace: input.Namespace }),
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
const serializeAws_json1_1TargetTrackingMetricDataQueries = (input, context) => {
|
|
791
|
+
return input
|
|
792
|
+
.filter((e) => e != null)
|
|
793
|
+
.map((entry) => {
|
|
794
|
+
return serializeAws_json1_1TargetTrackingMetricDataQuery(entry, context);
|
|
795
|
+
});
|
|
796
|
+
};
|
|
797
|
+
const serializeAws_json1_1TargetTrackingMetricDataQuery = (input, context) => {
|
|
798
|
+
return {
|
|
799
|
+
...(input.Expression != null && { Expression: input.Expression }),
|
|
800
|
+
...(input.Id != null && { Id: input.Id }),
|
|
801
|
+
...(input.Label != null && { Label: input.Label }),
|
|
802
|
+
...(input.MetricStat != null && {
|
|
803
|
+
MetricStat: serializeAws_json1_1TargetTrackingMetricStat(input.MetricStat, context),
|
|
804
|
+
}),
|
|
805
|
+
...(input.ReturnData != null && { ReturnData: input.ReturnData }),
|
|
806
|
+
};
|
|
807
|
+
};
|
|
808
|
+
const serializeAws_json1_1TargetTrackingMetricDimension = (input, context) => {
|
|
809
|
+
return {
|
|
810
|
+
...(input.Name != null && { Name: input.Name }),
|
|
811
|
+
...(input.Value != null && { Value: input.Value }),
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
|
+
const serializeAws_json1_1TargetTrackingMetricDimensions = (input, context) => {
|
|
815
|
+
return input
|
|
816
|
+
.filter((e) => e != null)
|
|
817
|
+
.map((entry) => {
|
|
818
|
+
return serializeAws_json1_1TargetTrackingMetricDimension(entry, context);
|
|
819
|
+
});
|
|
820
|
+
};
|
|
821
|
+
const serializeAws_json1_1TargetTrackingMetricStat = (input, context) => {
|
|
822
|
+
return {
|
|
823
|
+
...(input.Metric != null && { Metric: serializeAws_json1_1TargetTrackingMetric(input.Metric, context) }),
|
|
824
|
+
...(input.Stat != null && { Stat: input.Stat }),
|
|
825
|
+
...(input.Unit != null && { Unit: input.Unit }),
|
|
826
|
+
};
|
|
827
|
+
};
|
|
778
828
|
const serializeAws_json1_1TargetTrackingScalingPolicyConfiguration = (input, context) => {
|
|
779
829
|
return {
|
|
780
830
|
...(input.CustomizedMetricSpecification != null && {
|
|
@@ -815,6 +865,9 @@ const deserializeAws_json1_1CustomizedMetricSpecification = (output, context) =>
|
|
|
815
865
|
return {
|
|
816
866
|
Dimensions: output.Dimensions != null ? deserializeAws_json1_1MetricDimensions(output.Dimensions, context) : undefined,
|
|
817
867
|
MetricName: __expectString(output.MetricName),
|
|
868
|
+
Metrics: output.Metrics != null
|
|
869
|
+
? deserializeAws_json1_1TargetTrackingMetricDataQueries(output.Metrics, context)
|
|
870
|
+
: undefined,
|
|
818
871
|
Namespace: __expectString(output.Namespace),
|
|
819
872
|
Statistic: __expectString(output.Statistic),
|
|
820
873
|
Unit: __expectString(output.Unit),
|
|
@@ -1097,6 +1150,61 @@ const deserializeAws_json1_1SuspendedState = (output, context) => {
|
|
|
1097
1150
|
ScheduledScalingSuspended: __expectBoolean(output.ScheduledScalingSuspended),
|
|
1098
1151
|
};
|
|
1099
1152
|
};
|
|
1153
|
+
const deserializeAws_json1_1TargetTrackingMetric = (output, context) => {
|
|
1154
|
+
return {
|
|
1155
|
+
Dimensions: output.Dimensions != null
|
|
1156
|
+
? deserializeAws_json1_1TargetTrackingMetricDimensions(output.Dimensions, context)
|
|
1157
|
+
: undefined,
|
|
1158
|
+
MetricName: __expectString(output.MetricName),
|
|
1159
|
+
Namespace: __expectString(output.Namespace),
|
|
1160
|
+
};
|
|
1161
|
+
};
|
|
1162
|
+
const deserializeAws_json1_1TargetTrackingMetricDataQueries = (output, context) => {
|
|
1163
|
+
const retVal = (output || [])
|
|
1164
|
+
.filter((e) => e != null)
|
|
1165
|
+
.map((entry) => {
|
|
1166
|
+
if (entry === null) {
|
|
1167
|
+
return null;
|
|
1168
|
+
}
|
|
1169
|
+
return deserializeAws_json1_1TargetTrackingMetricDataQuery(entry, context);
|
|
1170
|
+
});
|
|
1171
|
+
return retVal;
|
|
1172
|
+
};
|
|
1173
|
+
const deserializeAws_json1_1TargetTrackingMetricDataQuery = (output, context) => {
|
|
1174
|
+
return {
|
|
1175
|
+
Expression: __expectString(output.Expression),
|
|
1176
|
+
Id: __expectString(output.Id),
|
|
1177
|
+
Label: __expectString(output.Label),
|
|
1178
|
+
MetricStat: output.MetricStat != null
|
|
1179
|
+
? deserializeAws_json1_1TargetTrackingMetricStat(output.MetricStat, context)
|
|
1180
|
+
: undefined,
|
|
1181
|
+
ReturnData: __expectBoolean(output.ReturnData),
|
|
1182
|
+
};
|
|
1183
|
+
};
|
|
1184
|
+
const deserializeAws_json1_1TargetTrackingMetricDimension = (output, context) => {
|
|
1185
|
+
return {
|
|
1186
|
+
Name: __expectString(output.Name),
|
|
1187
|
+
Value: __expectString(output.Value),
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
const deserializeAws_json1_1TargetTrackingMetricDimensions = (output, context) => {
|
|
1191
|
+
const retVal = (output || [])
|
|
1192
|
+
.filter((e) => e != null)
|
|
1193
|
+
.map((entry) => {
|
|
1194
|
+
if (entry === null) {
|
|
1195
|
+
return null;
|
|
1196
|
+
}
|
|
1197
|
+
return deserializeAws_json1_1TargetTrackingMetricDimension(entry, context);
|
|
1198
|
+
});
|
|
1199
|
+
return retVal;
|
|
1200
|
+
};
|
|
1201
|
+
const deserializeAws_json1_1TargetTrackingMetricStat = (output, context) => {
|
|
1202
|
+
return {
|
|
1203
|
+
Metric: output.Metric != null ? deserializeAws_json1_1TargetTrackingMetric(output.Metric, context) : undefined,
|
|
1204
|
+
Stat: __expectString(output.Stat),
|
|
1205
|
+
Unit: __expectString(output.Unit),
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1100
1208
|
const deserializeAws_json1_1TargetTrackingScalingPolicyConfiguration = (output, context) => {
|
|
1101
1209
|
return {
|
|
1102
1210
|
CustomizedMetricSpecification: output.CustomizedMetricSpecification != null
|
|
@@ -57,6 +57,8 @@ import { RegisterScalableTargetCommandInput, RegisterScalableTargetCommandOutput
|
|
|
57
57
|
* <p>Custom resources provided by your own applications or services</p>
|
|
58
58
|
* </li>
|
|
59
59
|
* </ul>
|
|
60
|
+
* <p>To learn more about Application Auto Scaling, see the <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html">Application Auto Scaling User
|
|
61
|
+
* Guide</a>.</p>
|
|
60
62
|
* <p>
|
|
61
63
|
* <b>API Summary</b>
|
|
62
64
|
* </p>
|
|
@@ -80,9 +82,6 @@ import { RegisterScalableTargetCommandInput, RegisterScalableTargetCommandOutput
|
|
|
80
82
|
* and scheduled scaling.</p>
|
|
81
83
|
* </li>
|
|
82
84
|
* </ul>
|
|
83
|
-
* <p>To learn more about Application Auto Scaling, including information about granting IAM users required
|
|
84
|
-
* permissions for Application Auto Scaling actions, see the <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html">Application Auto Scaling User
|
|
85
|
-
* Guide</a>.</p>
|
|
86
85
|
*/
|
|
87
86
|
export declare class ApplicationAutoScaling extends ApplicationAutoScalingClient {
|
|
88
87
|
/**
|
|
@@ -179,6 +179,8 @@ export interface ApplicationAutoScalingClientResolvedConfig extends ApplicationA
|
|
|
179
179
|
* <p>Custom resources provided by your own applications or services</p>
|
|
180
180
|
* </li>
|
|
181
181
|
* </ul>
|
|
182
|
+
* <p>To learn more about Application Auto Scaling, see the <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html">Application Auto Scaling User
|
|
183
|
+
* Guide</a>.</p>
|
|
182
184
|
* <p>
|
|
183
185
|
* <b>API Summary</b>
|
|
184
186
|
* </p>
|
|
@@ -202,9 +204,6 @@ export interface ApplicationAutoScalingClientResolvedConfig extends ApplicationA
|
|
|
202
204
|
* and scheduled scaling.</p>
|
|
203
205
|
* </li>
|
|
204
206
|
* </ul>
|
|
205
|
-
* <p>To learn more about Application Auto Scaling, including information about granting IAM users required
|
|
206
|
-
* permissions for Application Auto Scaling actions, see the <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html">Application Auto Scaling User
|
|
207
|
-
* Guide</a>.</p>
|
|
208
207
|
*/
|
|
209
208
|
export declare class ApplicationAutoScalingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ApplicationAutoScalingClientResolvedConfig> {
|
|
210
209
|
/**
|
|
@@ -34,6 +34,25 @@ export interface DeleteScalingPolicyCommandOutput extends DeleteScalingPolicyRes
|
|
|
34
34
|
* @see {@link DeleteScalingPolicyCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link ConcurrentUpdateException} (server fault)
|
|
38
|
+
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
39
|
+
* Application Auto Scaling resource that already has a pending update.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
42
|
+
* <p>The service encountered an internal error.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ObjectNotFoundException} (client fault)
|
|
45
|
+
* <p>The specified object could not be found. For any operation that depends on the existence
|
|
46
|
+
* of a scalable target, this exception is thrown if the scalable target with the specified
|
|
47
|
+
* service namespace, resource ID, and scalable dimension does not exist. For any operation
|
|
48
|
+
* that deletes or deregisters a resource, this exception is thrown if the resource cannot be
|
|
49
|
+
* found.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ValidationException} (client fault)
|
|
52
|
+
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
53
|
+
* API request.</p>
|
|
54
|
+
*
|
|
55
|
+
*
|
|
37
56
|
* @example To delete a scaling policy
|
|
38
57
|
* ```javascript
|
|
39
58
|
* // This example deletes a scaling policy for the Amazon ECS service called web-app, which is running in the default cluster.
|
|
@@ -30,6 +30,25 @@ export interface DeleteScheduledActionCommandOutput extends DeleteScheduledActio
|
|
|
30
30
|
* @see {@link DeleteScheduledActionCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link ConcurrentUpdateException} (server fault)
|
|
34
|
+
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
35
|
+
* Application Auto Scaling resource that already has a pending update.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
38
|
+
* <p>The service encountered an internal error.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ObjectNotFoundException} (client fault)
|
|
41
|
+
* <p>The specified object could not be found. For any operation that depends on the existence
|
|
42
|
+
* of a scalable target, this exception is thrown if the scalable target with the specified
|
|
43
|
+
* service namespace, resource ID, and scalable dimension does not exist. For any operation
|
|
44
|
+
* that deletes or deregisters a resource, this exception is thrown if the resource cannot be
|
|
45
|
+
* found.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ValidationException} (client fault)
|
|
48
|
+
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
49
|
+
* API request.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
33
52
|
*/
|
|
34
53
|
export declare class DeleteScheduledActionCommand extends $Command<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
35
54
|
readonly input: DeleteScheduledActionCommandInput;
|
|
@@ -34,6 +34,25 @@ export interface DeregisterScalableTargetCommandOutput extends DeregisterScalabl
|
|
|
34
34
|
* @see {@link DeregisterScalableTargetCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link ConcurrentUpdateException} (server fault)
|
|
38
|
+
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
39
|
+
* Application Auto Scaling resource that already has a pending update.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
42
|
+
* <p>The service encountered an internal error.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ObjectNotFoundException} (client fault)
|
|
45
|
+
* <p>The specified object could not be found. For any operation that depends on the existence
|
|
46
|
+
* of a scalable target, this exception is thrown if the scalable target with the specified
|
|
47
|
+
* service namespace, resource ID, and scalable dimension does not exist. For any operation
|
|
48
|
+
* that deletes or deregisters a resource, this exception is thrown if the resource cannot be
|
|
49
|
+
* found.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ValidationException} (client fault)
|
|
52
|
+
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
53
|
+
* API request.</p>
|
|
54
|
+
*
|
|
55
|
+
*
|
|
37
56
|
* @example To deregister a scalable target
|
|
38
57
|
* ```javascript
|
|
39
58
|
* // This example deregisters a scalable target for an Amazon ECS service called web-app that is running in the default cluster.
|
|
@@ -31,6 +31,21 @@ export interface DescribeScalableTargetsCommandOutput extends DescribeScalableTa
|
|
|
31
31
|
* @see {@link DescribeScalableTargetsCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link ConcurrentUpdateException} (server fault)
|
|
35
|
+
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
36
|
+
* Application Auto Scaling resource that already has a pending update.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
39
|
+
* <p>The service encountered an internal error.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
42
|
+
* <p>The next token supplied was invalid.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ValidationException} (client fault)
|
|
45
|
+
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
46
|
+
* API request.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
34
49
|
* @example To describe scalable targets
|
|
35
50
|
* ```javascript
|
|
36
51
|
* // This example describes the scalable targets for the ECS service namespace.
|
|
@@ -33,6 +33,21 @@ export interface DescribeScalingActivitiesCommandOutput extends DescribeScalingA
|
|
|
33
33
|
* @see {@link DescribeScalingActivitiesCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link ConcurrentUpdateException} (server fault)
|
|
37
|
+
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
38
|
+
* Application Auto Scaling resource that already has a pending update.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
41
|
+
* <p>The service encountered an internal error.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
44
|
+
* <p>The next token supplied was invalid.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ValidationException} (client fault)
|
|
47
|
+
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
48
|
+
* API request.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
36
51
|
* @example To describe scaling activities for a scalable target
|
|
37
52
|
* ```javascript
|
|
38
53
|
* // This example describes the scaling activities for an Amazon ECS service called web-app that is running in the default cluster.
|
|
@@ -32,6 +32,27 @@ export interface DescribeScalingPoliciesCommandOutput extends DescribeScalingPol
|
|
|
32
32
|
* @see {@link DescribeScalingPoliciesCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link ConcurrentUpdateException} (server fault)
|
|
36
|
+
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
37
|
+
* Application Auto Scaling resource that already has a pending update.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link FailedResourceAccessException} (client fault)
|
|
40
|
+
* <p>Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling
|
|
41
|
+
* is unable to retrieve the alarms associated with a scaling policy due to a client error,
|
|
42
|
+
* for example, if the role ARN specified for a scalable target does not have permission to
|
|
43
|
+
* call the CloudWatch <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> on your behalf.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
46
|
+
* <p>The service encountered an internal error.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
49
|
+
* <p>The next token supplied was invalid.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ValidationException} (client fault)
|
|
52
|
+
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
53
|
+
* API request.</p>
|
|
54
|
+
*
|
|
55
|
+
*
|
|
35
56
|
* @example To describe scaling policies
|
|
36
57
|
* ```javascript
|
|
37
58
|
* // This example describes the scaling policies for the ECS service namespace.
|
|
@@ -33,6 +33,21 @@ export interface DescribeScheduledActionsCommandOutput extends DescribeScheduled
|
|
|
33
33
|
* @see {@link DescribeScheduledActionsCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link ConcurrentUpdateException} (server fault)
|
|
37
|
+
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
38
|
+
* Application Auto Scaling resource that already has a pending update.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
41
|
+
* <p>The service encountered an internal error.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
44
|
+
* <p>The next token supplied was invalid.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ValidationException} (client fault)
|
|
47
|
+
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
48
|
+
* API request.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
36
51
|
*/
|
|
37
52
|
export declare class DescribeScheduledActionsCommand extends $Command<DescribeScheduledActionsCommandInput, DescribeScheduledActionsCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
38
53
|
readonly input: DescribeScheduledActionsCommandInput;
|
|
@@ -53,6 +53,34 @@ export interface PutScalingPolicyCommandOutput extends PutScalingPolicyResponse,
|
|
|
53
53
|
* @see {@link PutScalingPolicyCommandOutput} for command's `response` shape.
|
|
54
54
|
* @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
|
|
55
55
|
*
|
|
56
|
+
* @throws {@link ConcurrentUpdateException} (server fault)
|
|
57
|
+
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
58
|
+
* Application Auto Scaling resource that already has a pending update.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link FailedResourceAccessException} (client fault)
|
|
61
|
+
* <p>Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling
|
|
62
|
+
* is unable to retrieve the alarms associated with a scaling policy due to a client error,
|
|
63
|
+
* for example, if the role ARN specified for a scalable target does not have permission to
|
|
64
|
+
* call the CloudWatch <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> on your behalf.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
67
|
+
* <p>The service encountered an internal error.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
70
|
+
* <p>A per-account resource limit is exceeded. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html">Application Auto Scaling service quotas</a>.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ObjectNotFoundException} (client fault)
|
|
73
|
+
* <p>The specified object could not be found. For any operation that depends on the existence
|
|
74
|
+
* of a scalable target, this exception is thrown if the scalable target with the specified
|
|
75
|
+
* service namespace, resource ID, and scalable dimension does not exist. For any operation
|
|
76
|
+
* that deletes or deregisters a resource, this exception is thrown if the resource cannot be
|
|
77
|
+
* found.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
81
|
+
* API request.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
56
84
|
* @example To apply a target tracking scaling policy with a predefined metric specification
|
|
57
85
|
* ```javascript
|
|
58
86
|
* // The following example applies a target tracking scaling policy with a predefined metric specification to an Amazon ECS service called web-app in the default cluster. The policy keeps the average CPU utilization of the service at 75 percent, with scale-out and scale-in cooldown periods of 60 seconds.
|
|
@@ -43,6 +43,28 @@ export interface PutScheduledActionCommandOutput extends PutScheduledActionRespo
|
|
|
43
43
|
* @see {@link PutScheduledActionCommandOutput} for command's `response` shape.
|
|
44
44
|
* @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
|
|
45
45
|
*
|
|
46
|
+
* @throws {@link ConcurrentUpdateException} (server fault)
|
|
47
|
+
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
48
|
+
* Application Auto Scaling resource that already has a pending update.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
51
|
+
* <p>The service encountered an internal error.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
54
|
+
* <p>A per-account resource limit is exceeded. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html">Application Auto Scaling service quotas</a>.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ObjectNotFoundException} (client fault)
|
|
57
|
+
* <p>The specified object could not be found. For any operation that depends on the existence
|
|
58
|
+
* of a scalable target, this exception is thrown if the scalable target with the specified
|
|
59
|
+
* service namespace, resource ID, and scalable dimension does not exist. For any operation
|
|
60
|
+
* that deletes or deregisters a resource, this exception is thrown if the resource cannot be
|
|
61
|
+
* found.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
65
|
+
* API request.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
46
68
|
*/
|
|
47
69
|
export declare class PutScheduledActionCommand extends $Command<PutScheduledActionCommandInput, PutScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig> {
|
|
48
70
|
readonly input: PutScheduledActionCommandInput;
|
|
@@ -53,6 +53,21 @@ export interface RegisterScalableTargetCommandOutput extends RegisterScalableTar
|
|
|
53
53
|
* @see {@link RegisterScalableTargetCommandOutput} for command's `response` shape.
|
|
54
54
|
* @see {@link ApplicationAutoScalingClientResolvedConfig | config} for ApplicationAutoScalingClient's `config` shape.
|
|
55
55
|
*
|
|
56
|
+
* @throws {@link ConcurrentUpdateException} (server fault)
|
|
57
|
+
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
58
|
+
* Application Auto Scaling resource that already has a pending update.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
61
|
+
* <p>The service encountered an internal error.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
64
|
+
* <p>A per-account resource limit is exceeded. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html">Application Auto Scaling service quotas</a>.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
68
|
+
* API request.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
56
71
|
* @example To register an ECS service as a scalable target
|
|
57
72
|
* ```javascript
|
|
58
73
|
* // This example registers a scalable target from an Amazon ECS service called web-app that is running on the default cluster, with a minimum desired count of 1 task and a maximum desired count of 10 tasks.
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -995,8 +995,8 @@ export interface ScalableTarget {
|
|
|
995
995
|
*/
|
|
996
996
|
CreationTime: Date | undefined;
|
|
997
997
|
/**
|
|
998
|
-
* <p>Specifies whether the scaling activities for a scalable target are in a suspended
|
|
999
|
-
*
|
|
998
|
+
* <p>Specifies whether the scaling activities for a scalable target are in a suspended
|
|
999
|
+
* state.</p>
|
|
1000
1000
|
*/
|
|
1001
1001
|
SuspendedState?: SuspendedState;
|
|
1002
1002
|
}
|
|
@@ -1835,6 +1835,121 @@ export interface MetricDimension {
|
|
|
1835
1835
|
*/
|
|
1836
1836
|
Value: string | undefined;
|
|
1837
1837
|
}
|
|
1838
|
+
/**
|
|
1839
|
+
* <p>Describes the dimension of a metric.</p>
|
|
1840
|
+
*/
|
|
1841
|
+
export interface TargetTrackingMetricDimension {
|
|
1842
|
+
/**
|
|
1843
|
+
* <p>The name of the dimension.</p>
|
|
1844
|
+
*/
|
|
1845
|
+
Name: string | undefined;
|
|
1846
|
+
/**
|
|
1847
|
+
* <p>The value of the dimension.</p>
|
|
1848
|
+
*/
|
|
1849
|
+
Value: string | undefined;
|
|
1850
|
+
}
|
|
1851
|
+
/**
|
|
1852
|
+
* <p>Represents a specific metric.</p>
|
|
1853
|
+
* <p>Metric is a property of the <a>TargetTrackingMetricStat</a> object.</p>
|
|
1854
|
+
*/
|
|
1855
|
+
export interface TargetTrackingMetric {
|
|
1856
|
+
/**
|
|
1857
|
+
* <p>The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services
|
|
1858
|
+
* documentation available from the table in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html">Amazon Web Services
|
|
1859
|
+
* services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User
|
|
1860
|
+
* Guide</i>. </p>
|
|
1861
|
+
* <p>Conditional: If you published your metric with dimensions, you must specify the same
|
|
1862
|
+
* dimensions in your scaling policy.</p>
|
|
1863
|
+
*/
|
|
1864
|
+
Dimensions?: TargetTrackingMetricDimension[];
|
|
1865
|
+
/**
|
|
1866
|
+
* <p>The name of the metric.</p>
|
|
1867
|
+
*/
|
|
1868
|
+
MetricName?: string;
|
|
1869
|
+
/**
|
|
1870
|
+
* <p>The namespace of the metric. For more information, see the table in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html">Amazon Web Services
|
|
1871
|
+
* services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User
|
|
1872
|
+
* Guide</i>.</p>
|
|
1873
|
+
*/
|
|
1874
|
+
Namespace?: string;
|
|
1875
|
+
}
|
|
1876
|
+
/**
|
|
1877
|
+
* <p>This structure defines the CloudWatch metric to return, along with the statistic, period, and
|
|
1878
|
+
* unit.</p>
|
|
1879
|
+
* <p>For more information about the CloudWatch terminology below, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html">Amazon CloudWatch
|
|
1880
|
+
* concepts</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
1881
|
+
*/
|
|
1882
|
+
export interface TargetTrackingMetricStat {
|
|
1883
|
+
/**
|
|
1884
|
+
* <p>The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get
|
|
1885
|
+
* the exact metric name, namespace, and dimensions, inspect the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html">Metric</a> object that is
|
|
1886
|
+
* returned by a call to <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html">ListMetrics</a>.</p>
|
|
1887
|
+
*/
|
|
1888
|
+
Metric: TargetTrackingMetric | undefined;
|
|
1889
|
+
/**
|
|
1890
|
+
* <p>The statistic to return. It can include any CloudWatch statistic or extended statistic. For a
|
|
1891
|
+
* list of valid values, see the table in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic">Statistics</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
1892
|
+
* <p>The most commonly used metrics for scaling is <code>Average</code>
|
|
1893
|
+
* </p>
|
|
1894
|
+
*/
|
|
1895
|
+
Stat: string | undefined;
|
|
1896
|
+
/**
|
|
1897
|
+
* <p>The unit to use for the returned data points. For a complete list of the units that CloudWatch
|
|
1898
|
+
* supports, see the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">MetricDatum</a> data
|
|
1899
|
+
* type in the <i>Amazon CloudWatch API Reference</i>.</p>
|
|
1900
|
+
*/
|
|
1901
|
+
Unit?: string;
|
|
1902
|
+
}
|
|
1903
|
+
/**
|
|
1904
|
+
* <p>The metric data to return. Also defines whether this call is returning data for one
|
|
1905
|
+
* metric only, or whether it is performing a math expression on the values of returned metric
|
|
1906
|
+
* statistics to create a new time series. A time series is a series of data points, each of
|
|
1907
|
+
* which is associated with a timestamp.</p>
|
|
1908
|
+
* <p>For more information and examples, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html">Create a target tracking scaling policy for Application Auto Scaling using metric math</a> in the
|
|
1909
|
+
* <i>Application Auto Scaling User Guide</i>.</p>
|
|
1910
|
+
*/
|
|
1911
|
+
export interface TargetTrackingMetricDataQuery {
|
|
1912
|
+
/**
|
|
1913
|
+
* <p>The math expression to perform on the returned data, if this object is performing a math
|
|
1914
|
+
* expression. This expression can use the <code>Id</code> of the other metrics to refer to
|
|
1915
|
+
* those metrics, and can also use the <code>Id</code> of other expressions to use the result
|
|
1916
|
+
* of those expressions. </p>
|
|
1917
|
+
* <p>Conditional: Within each <code>TargetTrackingMetricDataQuery</code> object, you must
|
|
1918
|
+
* specify either <code>Expression</code> or <code>MetricStat</code>, but not both.</p>
|
|
1919
|
+
*/
|
|
1920
|
+
Expression?: string;
|
|
1921
|
+
/**
|
|
1922
|
+
* <p>A short name that identifies the object's results in the response. This name must be
|
|
1923
|
+
* unique among all <code>MetricDataQuery</code> objects specified for a single scaling
|
|
1924
|
+
* policy. If you are performing math expressions on this set of data, this name represents
|
|
1925
|
+
* that data and can serve as a variable in the mathematical expression. The valid characters
|
|
1926
|
+
* are letters, numbers, and underscores. The first character must be a lowercase letter.
|
|
1927
|
+
* </p>
|
|
1928
|
+
*/
|
|
1929
|
+
Id: string | undefined;
|
|
1930
|
+
/**
|
|
1931
|
+
* <p>A human-readable label for this metric or expression. This is especially useful if this
|
|
1932
|
+
* is a math expression, so that you know what the value represents.</p>
|
|
1933
|
+
*/
|
|
1934
|
+
Label?: string;
|
|
1935
|
+
/**
|
|
1936
|
+
* <p>Information about the metric data to return.</p>
|
|
1937
|
+
* <p>Conditional: Within each <code>MetricDataQuery</code> object, you must specify either
|
|
1938
|
+
* <code>Expression</code> or <code>MetricStat</code>, but not both.</p>
|
|
1939
|
+
*/
|
|
1940
|
+
MetricStat?: TargetTrackingMetricStat;
|
|
1941
|
+
/**
|
|
1942
|
+
* <p>Indicates whether to return the timestamps and raw data values of this metric. </p>
|
|
1943
|
+
* <p>If you use any math expressions, specify <code>true</code> for this value for only the
|
|
1944
|
+
* final math expression that the metric specification is based on. You must specify
|
|
1945
|
+
* <code>false</code> for <code>ReturnData</code> for all the other metrics and expressions
|
|
1946
|
+
* used in the metric specification.</p>
|
|
1947
|
+
* <p>If you are only retrieving metrics and not performing any math expressions, do not
|
|
1948
|
+
* specify anything for <code>ReturnData</code>. This sets it to its default
|
|
1949
|
+
* (<code>true</code>).</p>
|
|
1950
|
+
*/
|
|
1951
|
+
ReturnData?: boolean;
|
|
1952
|
+
}
|
|
1838
1953
|
export declare enum MetricStatistic {
|
|
1839
1954
|
Average = "Average",
|
|
1840
1955
|
Maximum = "Maximum",
|
|
@@ -1863,10 +1978,6 @@ export declare enum MetricStatistic {
|
|
|
1863
1978
|
* increase when capacity decreases. </p>
|
|
1864
1979
|
* </li>
|
|
1865
1980
|
* </ul>
|
|
1866
|
-
* <p>For an example of how creating new metrics can be useful, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html">Scaling
|
|
1867
|
-
* based on Amazon SQS</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. This topic
|
|
1868
|
-
* mentions Auto Scaling groups, but the same scenario for Amazon SQS can apply to the target tracking
|
|
1869
|
-
* scaling policies that you create for a Spot Fleet by using the Application Auto Scaling API.</p>
|
|
1870
1981
|
* <p>For more information about the CloudWatch terminology below, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html">Amazon CloudWatch
|
|
1871
1982
|
* concepts</a> in the <i>Amazon CloudWatch User Guide</i>. </p>
|
|
1872
1983
|
*/
|
|
@@ -1875,11 +1986,11 @@ export interface CustomizedMetricSpecification {
|
|
|
1875
1986
|
* <p>The name of the metric. To get the exact metric name, namespace, and dimensions, inspect
|
|
1876
1987
|
* the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html">Metric</a> object that is returned by a call to <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html">ListMetrics</a>.</p>
|
|
1877
1988
|
*/
|
|
1878
|
-
MetricName
|
|
1989
|
+
MetricName?: string;
|
|
1879
1990
|
/**
|
|
1880
1991
|
* <p>The namespace of the metric.</p>
|
|
1881
1992
|
*/
|
|
1882
|
-
Namespace
|
|
1993
|
+
Namespace?: string;
|
|
1883
1994
|
/**
|
|
1884
1995
|
* <p>The dimensions of the metric. </p>
|
|
1885
1996
|
* <p>Conditional: If you published your metric with dimensions, you must specify the same
|
|
@@ -1889,13 +2000,18 @@ export interface CustomizedMetricSpecification {
|
|
|
1889
2000
|
/**
|
|
1890
2001
|
* <p>The statistic of the metric.</p>
|
|
1891
2002
|
*/
|
|
1892
|
-
Statistic
|
|
2003
|
+
Statistic?: MetricStatistic | string;
|
|
1893
2004
|
/**
|
|
1894
2005
|
* <p>The unit of the metric. For a complete list of the units that CloudWatch supports, see the
|
|
1895
2006
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">MetricDatum</a> data
|
|
1896
2007
|
* type in the <i>Amazon CloudWatch API Reference</i>.</p>
|
|
1897
2008
|
*/
|
|
1898
2009
|
Unit?: string;
|
|
2010
|
+
/**
|
|
2011
|
+
* <p>The metrics to include in the target tracking scaling policy, as a metric data query.
|
|
2012
|
+
* This can include both raw metric and metric math expressions.</p>
|
|
2013
|
+
*/
|
|
2014
|
+
Metrics?: TargetTrackingMetricDataQuery[];
|
|
1899
2015
|
}
|
|
1900
2016
|
export declare enum MetricType {
|
|
1901
2017
|
ALBRequestCountPerTarget = "ALBRequestCountPerTarget",
|
|
@@ -3533,6 +3649,22 @@ export declare const StepScalingPolicyConfigurationFilterSensitiveLog: (obj: Ste
|
|
|
3533
3649
|
* @internal
|
|
3534
3650
|
*/
|
|
3535
3651
|
export declare const MetricDimensionFilterSensitiveLog: (obj: MetricDimension) => any;
|
|
3652
|
+
/**
|
|
3653
|
+
* @internal
|
|
3654
|
+
*/
|
|
3655
|
+
export declare const TargetTrackingMetricDimensionFilterSensitiveLog: (obj: TargetTrackingMetricDimension) => any;
|
|
3656
|
+
/**
|
|
3657
|
+
* @internal
|
|
3658
|
+
*/
|
|
3659
|
+
export declare const TargetTrackingMetricFilterSensitiveLog: (obj: TargetTrackingMetric) => any;
|
|
3660
|
+
/**
|
|
3661
|
+
* @internal
|
|
3662
|
+
*/
|
|
3663
|
+
export declare const TargetTrackingMetricStatFilterSensitiveLog: (obj: TargetTrackingMetricStat) => any;
|
|
3664
|
+
/**
|
|
3665
|
+
* @internal
|
|
3666
|
+
*/
|
|
3667
|
+
export declare const TargetTrackingMetricDataQueryFilterSensitiveLog: (obj: TargetTrackingMetricDataQuery) => any;
|
|
3536
3668
|
/**
|
|
3537
3669
|
* @internal
|
|
3538
3670
|
*/
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -206,6 +206,27 @@ export interface MetricDimension {
|
|
|
206
206
|
Name: string | undefined;
|
|
207
207
|
Value: string | undefined;
|
|
208
208
|
}
|
|
209
|
+
export interface TargetTrackingMetricDimension {
|
|
210
|
+
Name: string | undefined;
|
|
211
|
+
Value: string | undefined;
|
|
212
|
+
}
|
|
213
|
+
export interface TargetTrackingMetric {
|
|
214
|
+
Dimensions?: TargetTrackingMetricDimension[];
|
|
215
|
+
MetricName?: string;
|
|
216
|
+
Namespace?: string;
|
|
217
|
+
}
|
|
218
|
+
export interface TargetTrackingMetricStat {
|
|
219
|
+
Metric: TargetTrackingMetric | undefined;
|
|
220
|
+
Stat: string | undefined;
|
|
221
|
+
Unit?: string;
|
|
222
|
+
}
|
|
223
|
+
export interface TargetTrackingMetricDataQuery {
|
|
224
|
+
Expression?: string;
|
|
225
|
+
Id: string | undefined;
|
|
226
|
+
Label?: string;
|
|
227
|
+
MetricStat?: TargetTrackingMetricStat;
|
|
228
|
+
ReturnData?: boolean;
|
|
229
|
+
}
|
|
209
230
|
export declare enum MetricStatistic {
|
|
210
231
|
Average = "Average",
|
|
211
232
|
Maximum = "Maximum",
|
|
@@ -214,11 +235,12 @@ export declare enum MetricStatistic {
|
|
|
214
235
|
Sum = "Sum",
|
|
215
236
|
}
|
|
216
237
|
export interface CustomizedMetricSpecification {
|
|
217
|
-
MetricName
|
|
218
|
-
Namespace
|
|
238
|
+
MetricName?: string;
|
|
239
|
+
Namespace?: string;
|
|
219
240
|
Dimensions?: MetricDimension[];
|
|
220
|
-
Statistic
|
|
241
|
+
Statistic?: MetricStatistic | string;
|
|
221
242
|
Unit?: string;
|
|
243
|
+
Metrics?: TargetTrackingMetricDataQuery[];
|
|
222
244
|
}
|
|
223
245
|
export declare enum MetricType {
|
|
224
246
|
ALBRequestCountPerTarget = "ALBRequestCountPerTarget",
|
|
@@ -406,6 +428,18 @@ export declare const StepScalingPolicyConfigurationFilterSensitiveLog: (
|
|
|
406
428
|
export declare const MetricDimensionFilterSensitiveLog: (
|
|
407
429
|
obj: MetricDimension
|
|
408
430
|
) => any;
|
|
431
|
+
export declare const TargetTrackingMetricDimensionFilterSensitiveLog: (
|
|
432
|
+
obj: TargetTrackingMetricDimension
|
|
433
|
+
) => any;
|
|
434
|
+
export declare const TargetTrackingMetricFilterSensitiveLog: (
|
|
435
|
+
obj: TargetTrackingMetric
|
|
436
|
+
) => any;
|
|
437
|
+
export declare const TargetTrackingMetricStatFilterSensitiveLog: (
|
|
438
|
+
obj: TargetTrackingMetricStat
|
|
439
|
+
) => any;
|
|
440
|
+
export declare const TargetTrackingMetricDataQueryFilterSensitiveLog: (
|
|
441
|
+
obj: TargetTrackingMetricDataQuery
|
|
442
|
+
) => any;
|
|
409
443
|
export declare const CustomizedMetricSpecificationFilterSensitiveLog: (
|
|
410
444
|
obj: CustomizedMetricSpecification
|
|
411
445
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-application-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Application Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.291.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",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.290.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.290.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.290.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.290.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.290.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.290.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.290.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.290.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.290.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.290.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.290.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.290.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.290.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.290.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.290.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.290.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.290.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.290.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.290.0",
|
|
43
|
+
"@aws-sdk/types": "3.290.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.290.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.290.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.290.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.290.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.290.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.290.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.290.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|