@aws-sdk/client-application-auto-scaling 3.687.0 → 3.692.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-types/models/models_0.d.ts +103 -103
- package/dist-types/ts3.4/models/models_0.d.ts +107 -103
- package/package.json +35 -35
|
@@ -37,7 +37,7 @@ export interface Alarm {
|
|
|
37
37
|
export declare class ConcurrentUpdateException extends __BaseException {
|
|
38
38
|
readonly name: "ConcurrentUpdateException";
|
|
39
39
|
readonly $fault: "server";
|
|
40
|
-
Message?: string;
|
|
40
|
+
Message?: string | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* @internal
|
|
43
43
|
*/
|
|
@@ -310,7 +310,7 @@ export interface DeleteScalingPolicyResponse {
|
|
|
310
310
|
export declare class InternalServiceException extends __BaseException {
|
|
311
311
|
readonly name: "InternalServiceException";
|
|
312
312
|
readonly $fault: "server";
|
|
313
|
-
Message?: string;
|
|
313
|
+
Message?: string | undefined;
|
|
314
314
|
/**
|
|
315
315
|
* @internal
|
|
316
316
|
*/
|
|
@@ -327,7 +327,7 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
327
327
|
export declare class ObjectNotFoundException extends __BaseException {
|
|
328
328
|
readonly name: "ObjectNotFoundException";
|
|
329
329
|
readonly $fault: "client";
|
|
330
|
-
Message?: string;
|
|
330
|
+
Message?: string | undefined;
|
|
331
331
|
/**
|
|
332
332
|
* @internal
|
|
333
333
|
*/
|
|
@@ -341,7 +341,7 @@ export declare class ObjectNotFoundException extends __BaseException {
|
|
|
341
341
|
export declare class ValidationException extends __BaseException {
|
|
342
342
|
readonly name: "ValidationException";
|
|
343
343
|
readonly $fault: "client";
|
|
344
|
-
Message?: string;
|
|
344
|
+
Message?: string | undefined;
|
|
345
345
|
/**
|
|
346
346
|
* @internal
|
|
347
347
|
*/
|
|
@@ -838,7 +838,7 @@ export interface DescribeScalableTargetsRequest {
|
|
|
838
838
|
* </ul>
|
|
839
839
|
* @public
|
|
840
840
|
*/
|
|
841
|
-
ResourceIds?: string[];
|
|
841
|
+
ResourceIds?: string[] | undefined;
|
|
842
842
|
/**
|
|
843
843
|
* <p>The scalable dimension associated with the scalable target.
|
|
844
844
|
* This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.</p>
|
|
@@ -938,7 +938,7 @@ export interface DescribeScalableTargetsRequest {
|
|
|
938
938
|
* </ul>
|
|
939
939
|
* @public
|
|
940
940
|
*/
|
|
941
|
-
ScalableDimension?: ScalableDimension;
|
|
941
|
+
ScalableDimension?: ScalableDimension | undefined;
|
|
942
942
|
/**
|
|
943
943
|
* <p>The maximum number of scalable targets. This value can be between 1 and
|
|
944
944
|
* 50. The default value is 50.</p>
|
|
@@ -949,12 +949,12 @@ export interface DescribeScalableTargetsRequest {
|
|
|
949
949
|
* <code>NextToken</code> value, if applicable.</p>
|
|
950
950
|
* @public
|
|
951
951
|
*/
|
|
952
|
-
MaxResults?: number;
|
|
952
|
+
MaxResults?: number | undefined;
|
|
953
953
|
/**
|
|
954
954
|
* <p>The token for the next set of results.</p>
|
|
955
955
|
* @public
|
|
956
956
|
*/
|
|
957
|
-
NextToken?: string;
|
|
957
|
+
NextToken?: string | undefined;
|
|
958
958
|
}
|
|
959
959
|
/**
|
|
960
960
|
* <p>Specifies whether the scaling activities for a scalable target are in a suspended state.
|
|
@@ -968,21 +968,21 @@ export interface SuspendedState {
|
|
|
968
968
|
* when a scaling policy is triggered. The default is <code>false</code>. </p>
|
|
969
969
|
* @public
|
|
970
970
|
*/
|
|
971
|
-
DynamicScalingInSuspended?: boolean;
|
|
971
|
+
DynamicScalingInSuspended?: boolean | undefined;
|
|
972
972
|
/**
|
|
973
973
|
* <p>Whether scale out by a target tracking scaling policy or a step scaling policy is
|
|
974
974
|
* suspended. Set the value to <code>true</code> if you don't want Application Auto Scaling to add capacity
|
|
975
975
|
* when a scaling policy is triggered. The default is <code>false</code>. </p>
|
|
976
976
|
* @public
|
|
977
977
|
*/
|
|
978
|
-
DynamicScalingOutSuspended?: boolean;
|
|
978
|
+
DynamicScalingOutSuspended?: boolean | undefined;
|
|
979
979
|
/**
|
|
980
980
|
* <p>Whether scheduled scaling is suspended. Set the value to <code>true</code> if you don't
|
|
981
981
|
* want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is
|
|
982
982
|
* <code>false</code>. </p>
|
|
983
983
|
* @public
|
|
984
984
|
*/
|
|
985
|
-
ScheduledScalingSuspended?: boolean;
|
|
985
|
+
ScheduledScalingSuspended?: boolean | undefined;
|
|
986
986
|
}
|
|
987
987
|
/**
|
|
988
988
|
* <p>Represents a scalable target.</p>
|
|
@@ -1203,12 +1203,12 @@ export interface ScalableTarget {
|
|
|
1203
1203
|
* state.</p>
|
|
1204
1204
|
* @public
|
|
1205
1205
|
*/
|
|
1206
|
-
SuspendedState?: SuspendedState;
|
|
1206
|
+
SuspendedState?: SuspendedState | undefined;
|
|
1207
1207
|
/**
|
|
1208
1208
|
* <p>The ARN of the scalable target.</p>
|
|
1209
1209
|
* @public
|
|
1210
1210
|
*/
|
|
1211
|
-
ScalableTargetARN?: string;
|
|
1211
|
+
ScalableTargetARN?: string | undefined;
|
|
1212
1212
|
}
|
|
1213
1213
|
/**
|
|
1214
1214
|
* @public
|
|
@@ -1218,13 +1218,13 @@ export interface DescribeScalableTargetsResponse {
|
|
|
1218
1218
|
* <p>The scalable targets that match the request parameters.</p>
|
|
1219
1219
|
* @public
|
|
1220
1220
|
*/
|
|
1221
|
-
ScalableTargets?: ScalableTarget[];
|
|
1221
|
+
ScalableTargets?: ScalableTarget[] | undefined;
|
|
1222
1222
|
/**
|
|
1223
1223
|
* <p>The token required to get the next set of results. This value is <code>null</code> if
|
|
1224
1224
|
* there are no more results to return.</p>
|
|
1225
1225
|
* @public
|
|
1226
1226
|
*/
|
|
1227
|
-
NextToken?: string;
|
|
1227
|
+
NextToken?: string | undefined;
|
|
1228
1228
|
}
|
|
1229
1229
|
/**
|
|
1230
1230
|
* <p>The next token supplied was invalid.</p>
|
|
@@ -1233,7 +1233,7 @@ export interface DescribeScalableTargetsResponse {
|
|
|
1233
1233
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
1234
1234
|
readonly name: "InvalidNextTokenException";
|
|
1235
1235
|
readonly $fault: "client";
|
|
1236
|
-
Message?: string;
|
|
1236
|
+
Message?: string | undefined;
|
|
1237
1237
|
/**
|
|
1238
1238
|
* @internal
|
|
1239
1239
|
*/
|
|
@@ -1330,7 +1330,7 @@ export interface DescribeScalingActivitiesRequest {
|
|
|
1330
1330
|
* </ul>
|
|
1331
1331
|
* @public
|
|
1332
1332
|
*/
|
|
1333
|
-
ResourceId?: string;
|
|
1333
|
+
ResourceId?: string | undefined;
|
|
1334
1334
|
/**
|
|
1335
1335
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
|
|
1336
1336
|
* If you specify a scalable dimension, you must also specify a resource ID.</p>
|
|
@@ -1430,7 +1430,7 @@ export interface DescribeScalingActivitiesRequest {
|
|
|
1430
1430
|
* </ul>
|
|
1431
1431
|
* @public
|
|
1432
1432
|
*/
|
|
1433
|
-
ScalableDimension?: ScalableDimension;
|
|
1433
|
+
ScalableDimension?: ScalableDimension | undefined;
|
|
1434
1434
|
/**
|
|
1435
1435
|
* <p>The maximum number of scalable targets. This value can be between 1 and
|
|
1436
1436
|
* 50. The default value is 50.</p>
|
|
@@ -1441,12 +1441,12 @@ export interface DescribeScalingActivitiesRequest {
|
|
|
1441
1441
|
* <code>NextToken</code> value, if applicable.</p>
|
|
1442
1442
|
* @public
|
|
1443
1443
|
*/
|
|
1444
|
-
MaxResults?: number;
|
|
1444
|
+
MaxResults?: number | undefined;
|
|
1445
1445
|
/**
|
|
1446
1446
|
* <p>The token for the next set of results.</p>
|
|
1447
1447
|
* @public
|
|
1448
1448
|
*/
|
|
1449
|
-
NextToken?: string;
|
|
1449
|
+
NextToken?: string | undefined;
|
|
1450
1450
|
/**
|
|
1451
1451
|
* <p>Specifies whether to include activities that aren't scaled (<i>not scaled
|
|
1452
1452
|
* activities</i>) in the response. Not scaled activities are activities that aren't
|
|
@@ -1454,7 +1454,7 @@ export interface DescribeScalingActivitiesRequest {
|
|
|
1454
1454
|
* help interpreting the not scaled reason details in the response, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html">Scaling activities for Application Auto Scaling</a>.</p>
|
|
1455
1455
|
* @public
|
|
1456
1456
|
*/
|
|
1457
|
-
IncludeNotScaledActivities?: boolean;
|
|
1457
|
+
IncludeNotScaledActivities?: boolean | undefined;
|
|
1458
1458
|
}
|
|
1459
1459
|
/**
|
|
1460
1460
|
* <p>Describes the reason for an activity that isn't scaled (<i>not scaled
|
|
@@ -1491,17 +1491,17 @@ export interface NotScaledReason {
|
|
|
1491
1491
|
* <p>The maximum capacity.</p>
|
|
1492
1492
|
* @public
|
|
1493
1493
|
*/
|
|
1494
|
-
MaxCapacity?: number;
|
|
1494
|
+
MaxCapacity?: number | undefined;
|
|
1495
1495
|
/**
|
|
1496
1496
|
* <p>The minimum capacity.</p>
|
|
1497
1497
|
* @public
|
|
1498
1498
|
*/
|
|
1499
|
-
MinCapacity?: number;
|
|
1499
|
+
MinCapacity?: number | undefined;
|
|
1500
1500
|
/**
|
|
1501
1501
|
* <p>The current capacity.</p>
|
|
1502
1502
|
* @public
|
|
1503
1503
|
*/
|
|
1504
|
-
CurrentCapacity?: number;
|
|
1504
|
+
CurrentCapacity?: number | undefined;
|
|
1505
1505
|
}
|
|
1506
1506
|
/**
|
|
1507
1507
|
* @public
|
|
@@ -1735,7 +1735,7 @@ export interface ScalingActivity {
|
|
|
1735
1735
|
* <p>The Unix timestamp for when the scaling activity ended.</p>
|
|
1736
1736
|
* @public
|
|
1737
1737
|
*/
|
|
1738
|
-
EndTime?: Date;
|
|
1738
|
+
EndTime?: Date | undefined;
|
|
1739
1739
|
/**
|
|
1740
1740
|
* <p>Indicates the status of the scaling activity.</p>
|
|
1741
1741
|
* @public
|
|
@@ -1745,18 +1745,18 @@ export interface ScalingActivity {
|
|
|
1745
1745
|
* <p>A simple message about the current status of the scaling activity.</p>
|
|
1746
1746
|
* @public
|
|
1747
1747
|
*/
|
|
1748
|
-
StatusMessage?: string;
|
|
1748
|
+
StatusMessage?: string | undefined;
|
|
1749
1749
|
/**
|
|
1750
1750
|
* <p>The details about the scaling activity.</p>
|
|
1751
1751
|
* @public
|
|
1752
1752
|
*/
|
|
1753
|
-
Details?: string;
|
|
1753
|
+
Details?: string | undefined;
|
|
1754
1754
|
/**
|
|
1755
1755
|
* <p>Machine-readable data that describes the reason for a not scaled activity. Only
|
|
1756
1756
|
* available when <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalingActivities.html">DescribeScalingActivities</a> includes not scaled activities.</p>
|
|
1757
1757
|
* @public
|
|
1758
1758
|
*/
|
|
1759
|
-
NotScaledReasons?: NotScaledReason[];
|
|
1759
|
+
NotScaledReasons?: NotScaledReason[] | undefined;
|
|
1760
1760
|
}
|
|
1761
1761
|
/**
|
|
1762
1762
|
* @public
|
|
@@ -1766,13 +1766,13 @@ export interface DescribeScalingActivitiesResponse {
|
|
|
1766
1766
|
* <p>A list of scaling activity objects.</p>
|
|
1767
1767
|
* @public
|
|
1768
1768
|
*/
|
|
1769
|
-
ScalingActivities?: ScalingActivity[];
|
|
1769
|
+
ScalingActivities?: ScalingActivity[] | undefined;
|
|
1770
1770
|
/**
|
|
1771
1771
|
* <p>The token required to get the next set of results. This value is <code>null</code> if
|
|
1772
1772
|
* there are no more results to return.</p>
|
|
1773
1773
|
* @public
|
|
1774
1774
|
*/
|
|
1775
|
-
NextToken?: string;
|
|
1775
|
+
NextToken?: string | undefined;
|
|
1776
1776
|
}
|
|
1777
1777
|
/**
|
|
1778
1778
|
* @public
|
|
@@ -1782,7 +1782,7 @@ export interface DescribeScalingPoliciesRequest {
|
|
|
1782
1782
|
* <p>The names of the scaling policies to describe.</p>
|
|
1783
1783
|
* @public
|
|
1784
1784
|
*/
|
|
1785
|
-
PolicyNames?: string[];
|
|
1785
|
+
PolicyNames?: string[] | undefined;
|
|
1786
1786
|
/**
|
|
1787
1787
|
* <p>The namespace of the Amazon Web Services service that provides the resource. For a resource provided
|
|
1788
1788
|
* by your own application or service, use <code>custom-resource</code> instead.</p>
|
|
@@ -1870,7 +1870,7 @@ export interface DescribeScalingPoliciesRequest {
|
|
|
1870
1870
|
* </ul>
|
|
1871
1871
|
* @public
|
|
1872
1872
|
*/
|
|
1873
|
-
ResourceId?: string;
|
|
1873
|
+
ResourceId?: string | undefined;
|
|
1874
1874
|
/**
|
|
1875
1875
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
|
|
1876
1876
|
* If you specify a scalable dimension, you must also specify a resource ID.</p>
|
|
@@ -1970,7 +1970,7 @@ export interface DescribeScalingPoliciesRequest {
|
|
|
1970
1970
|
* </ul>
|
|
1971
1971
|
* @public
|
|
1972
1972
|
*/
|
|
1973
|
-
ScalableDimension?: ScalableDimension;
|
|
1973
|
+
ScalableDimension?: ScalableDimension | undefined;
|
|
1974
1974
|
/**
|
|
1975
1975
|
* <p>The maximum number of scalable targets. This value can be between 1 and 10. The default
|
|
1976
1976
|
* value is 10.</p>
|
|
@@ -1981,12 +1981,12 @@ export interface DescribeScalingPoliciesRequest {
|
|
|
1981
1981
|
* applicable.</p>
|
|
1982
1982
|
* @public
|
|
1983
1983
|
*/
|
|
1984
|
-
MaxResults?: number;
|
|
1984
|
+
MaxResults?: number | undefined;
|
|
1985
1985
|
/**
|
|
1986
1986
|
* <p>The token for the next set of results.</p>
|
|
1987
1987
|
* @public
|
|
1988
1988
|
*/
|
|
1989
|
-
NextToken?: string;
|
|
1989
|
+
NextToken?: string | undefined;
|
|
1990
1990
|
}
|
|
1991
1991
|
/**
|
|
1992
1992
|
* @public
|
|
@@ -2061,7 +2061,7 @@ export interface StepAdjustment {
|
|
|
2061
2061
|
* value indicates negative infinity.</p>
|
|
2062
2062
|
* @public
|
|
2063
2063
|
*/
|
|
2064
|
-
MetricIntervalLowerBound?: number;
|
|
2064
|
+
MetricIntervalLowerBound?: number | undefined;
|
|
2065
2065
|
/**
|
|
2066
2066
|
* <p>The upper bound for the difference between the alarm threshold and the CloudWatch metric. If
|
|
2067
2067
|
* the metric value is above the breach threshold, the upper bound is exclusive (the metric
|
|
@@ -2071,7 +2071,7 @@ export interface StepAdjustment {
|
|
|
2071
2071
|
* <p>The upper bound must be greater than the lower bound.</p>
|
|
2072
2072
|
* @public
|
|
2073
2073
|
*/
|
|
2074
|
-
MetricIntervalUpperBound?: number;
|
|
2074
|
+
MetricIntervalUpperBound?: number | undefined;
|
|
2075
2075
|
/**
|
|
2076
2076
|
* <p>The amount by which to scale, based on the specified adjustment type. A positive value
|
|
2077
2077
|
* adds to the current capacity while a negative number removes from the current capacity. For
|
|
@@ -2095,7 +2095,7 @@ export interface StepScalingPolicyConfiguration {
|
|
|
2095
2095
|
* configuration.</p>
|
|
2096
2096
|
* @public
|
|
2097
2097
|
*/
|
|
2098
|
-
AdjustmentType?: AdjustmentType;
|
|
2098
|
+
AdjustmentType?: AdjustmentType | undefined;
|
|
2099
2099
|
/**
|
|
2100
2100
|
* <p>A set of adjustments that enable you to scale based on the size of the alarm
|
|
2101
2101
|
* breach.</p>
|
|
@@ -2103,7 +2103,7 @@ export interface StepScalingPolicyConfiguration {
|
|
|
2103
2103
|
* configuration.</p>
|
|
2104
2104
|
* @public
|
|
2105
2105
|
*/
|
|
2106
|
-
StepAdjustments?: StepAdjustment[];
|
|
2106
|
+
StepAdjustments?: StepAdjustment[] | undefined;
|
|
2107
2107
|
/**
|
|
2108
2108
|
* <p>The minimum value to scale by when the adjustment type is
|
|
2109
2109
|
* <code>PercentChangeInCapacity</code>. For example, suppose that you create a step
|
|
@@ -2114,20 +2114,20 @@ export interface StepScalingPolicyConfiguration {
|
|
|
2114
2114
|
* tasks.</p>
|
|
2115
2115
|
* @public
|
|
2116
2116
|
*/
|
|
2117
|
-
MinAdjustmentMagnitude?: number;
|
|
2117
|
+
MinAdjustmentMagnitude?: number | undefined;
|
|
2118
2118
|
/**
|
|
2119
2119
|
* <p>The amount of time, in seconds, to wait for a previous scaling activity to take effect. If
|
|
2120
2120
|
* not specified, the default value is 300. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown">Cooldown period</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
2121
2121
|
* @public
|
|
2122
2122
|
*/
|
|
2123
|
-
Cooldown?: number;
|
|
2123
|
+
Cooldown?: number | undefined;
|
|
2124
2124
|
/**
|
|
2125
2125
|
* <p>The aggregation type for the CloudWatch metrics. Valid values are <code>Minimum</code>,
|
|
2126
2126
|
* <code>Maximum</code>, and <code>Average</code>. If the aggregation type is null, the
|
|
2127
2127
|
* value is treated as <code>Average</code>.</p>
|
|
2128
2128
|
* @public
|
|
2129
2129
|
*/
|
|
2130
|
-
MetricAggregationType?: MetricAggregationType;
|
|
2130
|
+
MetricAggregationType?: MetricAggregationType | undefined;
|
|
2131
2131
|
}
|
|
2132
2132
|
/**
|
|
2133
2133
|
* <p>Describes the dimension names and values associated with a metric.</p>
|
|
@@ -2176,19 +2176,19 @@ export interface TargetTrackingMetric {
|
|
|
2176
2176
|
* dimensions in your scaling policy.</p>
|
|
2177
2177
|
* @public
|
|
2178
2178
|
*/
|
|
2179
|
-
Dimensions?: TargetTrackingMetricDimension[];
|
|
2179
|
+
Dimensions?: TargetTrackingMetricDimension[] | undefined;
|
|
2180
2180
|
/**
|
|
2181
2181
|
* <p>The name of the metric.</p>
|
|
2182
2182
|
* @public
|
|
2183
2183
|
*/
|
|
2184
|
-
MetricName?: string;
|
|
2184
|
+
MetricName?: string | undefined;
|
|
2185
2185
|
/**
|
|
2186
2186
|
* <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
|
|
2187
2187
|
* services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User
|
|
2188
2188
|
* Guide</i>.</p>
|
|
2189
2189
|
* @public
|
|
2190
2190
|
*/
|
|
2191
|
-
Namespace?: string;
|
|
2191
|
+
Namespace?: string | undefined;
|
|
2192
2192
|
}
|
|
2193
2193
|
/**
|
|
2194
2194
|
* <p>This structure defines the CloudWatch metric to return, along with the statistic and
|
|
@@ -2218,7 +2218,7 @@ export interface TargetTrackingMetricStat {
|
|
|
2218
2218
|
* type in the <i>Amazon CloudWatch API Reference</i>.</p>
|
|
2219
2219
|
* @public
|
|
2220
2220
|
*/
|
|
2221
|
-
Unit?: string;
|
|
2221
|
+
Unit?: string | undefined;
|
|
2222
2222
|
}
|
|
2223
2223
|
/**
|
|
2224
2224
|
* <p>The metric data to return. Also defines whether this call is returning data for one
|
|
@@ -2239,7 +2239,7 @@ export interface TargetTrackingMetricDataQuery {
|
|
|
2239
2239
|
* specify either <code>Expression</code> or <code>MetricStat</code>, but not both.</p>
|
|
2240
2240
|
* @public
|
|
2241
2241
|
*/
|
|
2242
|
-
Expression?: string;
|
|
2242
|
+
Expression?: string | undefined;
|
|
2243
2243
|
/**
|
|
2244
2244
|
* <p>A short name that identifies the object's results in the response. This name must be
|
|
2245
2245
|
* unique among all <code>MetricDataQuery</code> objects specified for a single scaling
|
|
@@ -2255,14 +2255,14 @@ export interface TargetTrackingMetricDataQuery {
|
|
|
2255
2255
|
* is a math expression, so that you know what the value represents.</p>
|
|
2256
2256
|
* @public
|
|
2257
2257
|
*/
|
|
2258
|
-
Label?: string;
|
|
2258
|
+
Label?: string | undefined;
|
|
2259
2259
|
/**
|
|
2260
2260
|
* <p>Information about the metric data to return.</p>
|
|
2261
2261
|
* <p>Conditional: Within each <code>MetricDataQuery</code> object, you must specify either
|
|
2262
2262
|
* <code>Expression</code> or <code>MetricStat</code>, but not both.</p>
|
|
2263
2263
|
* @public
|
|
2264
2264
|
*/
|
|
2265
|
-
MetricStat?: TargetTrackingMetricStat;
|
|
2265
|
+
MetricStat?: TargetTrackingMetricStat | undefined;
|
|
2266
2266
|
/**
|
|
2267
2267
|
* <p>Indicates whether to return the timestamps and raw data values of this metric. </p>
|
|
2268
2268
|
* <p>If you use any math expressions, specify <code>true</code> for this value for only the
|
|
@@ -2274,7 +2274,7 @@ export interface TargetTrackingMetricDataQuery {
|
|
|
2274
2274
|
* (<code>true</code>).</p>
|
|
2275
2275
|
* @public
|
|
2276
2276
|
*/
|
|
2277
|
-
ReturnData?: boolean;
|
|
2277
|
+
ReturnData?: boolean | undefined;
|
|
2278
2278
|
}
|
|
2279
2279
|
/**
|
|
2280
2280
|
* @public
|
|
@@ -2322,37 +2322,37 @@ export interface CustomizedMetricSpecification {
|
|
|
2322
2322
|
* the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html">Metric</a> object that's returned by a call to <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html">ListMetrics</a>.</p>
|
|
2323
2323
|
* @public
|
|
2324
2324
|
*/
|
|
2325
|
-
MetricName?: string;
|
|
2325
|
+
MetricName?: string | undefined;
|
|
2326
2326
|
/**
|
|
2327
2327
|
* <p>The namespace of the metric.</p>
|
|
2328
2328
|
* @public
|
|
2329
2329
|
*/
|
|
2330
|
-
Namespace?: string;
|
|
2330
|
+
Namespace?: string | undefined;
|
|
2331
2331
|
/**
|
|
2332
2332
|
* <p>The dimensions of the metric. </p>
|
|
2333
2333
|
* <p>Conditional: If you published your metric with dimensions, you must specify the same
|
|
2334
2334
|
* dimensions in your scaling policy.</p>
|
|
2335
2335
|
* @public
|
|
2336
2336
|
*/
|
|
2337
|
-
Dimensions?: MetricDimension[];
|
|
2337
|
+
Dimensions?: MetricDimension[] | undefined;
|
|
2338
2338
|
/**
|
|
2339
2339
|
* <p>The statistic of the metric.</p>
|
|
2340
2340
|
* @public
|
|
2341
2341
|
*/
|
|
2342
|
-
Statistic?: MetricStatistic;
|
|
2342
|
+
Statistic?: MetricStatistic | undefined;
|
|
2343
2343
|
/**
|
|
2344
2344
|
* <p>The unit of the metric. For a complete list of the units that CloudWatch supports, see the
|
|
2345
2345
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">MetricDatum</a> data
|
|
2346
2346
|
* type in the <i>Amazon CloudWatch API Reference</i>.</p>
|
|
2347
2347
|
* @public
|
|
2348
2348
|
*/
|
|
2349
|
-
Unit?: string;
|
|
2349
|
+
Unit?: string | undefined;
|
|
2350
2350
|
/**
|
|
2351
2351
|
* <p>The metrics to include in the target tracking scaling policy, as a metric data query.
|
|
2352
2352
|
* This can include both raw metric and metric math expressions.</p>
|
|
2353
2353
|
* @public
|
|
2354
2354
|
*/
|
|
2355
|
-
Metrics?: TargetTrackingMetricDataQuery[];
|
|
2355
|
+
Metrics?: TargetTrackingMetricDataQuery[] | undefined;
|
|
2356
2356
|
}
|
|
2357
2357
|
/**
|
|
2358
2358
|
* @public
|
|
@@ -2429,7 +2429,7 @@ export interface PredefinedMetricSpecification {
|
|
|
2429
2429
|
* the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html">DescribeTargetGroups</a> API operation.</p>
|
|
2430
2430
|
* @public
|
|
2431
2431
|
*/
|
|
2432
|
-
ResourceLabel?: string;
|
|
2432
|
+
ResourceLabel?: string | undefined;
|
|
2433
2433
|
}
|
|
2434
2434
|
/**
|
|
2435
2435
|
* <p>Represents a target tracking scaling policy configuration to use with Application Auto Scaling.</p>
|
|
@@ -2457,25 +2457,25 @@ export interface TargetTrackingScalingPolicyConfiguration {
|
|
|
2457
2457
|
* metric.</p>
|
|
2458
2458
|
* @public
|
|
2459
2459
|
*/
|
|
2460
|
-
PredefinedMetricSpecification?: PredefinedMetricSpecification;
|
|
2460
|
+
PredefinedMetricSpecification?: PredefinedMetricSpecification | undefined;
|
|
2461
2461
|
/**
|
|
2462
2462
|
* <p>A customized metric. You can specify either a predefined metric or a customized
|
|
2463
2463
|
* metric.</p>
|
|
2464
2464
|
* @public
|
|
2465
2465
|
*/
|
|
2466
|
-
CustomizedMetricSpecification?: CustomizedMetricSpecification;
|
|
2466
|
+
CustomizedMetricSpecification?: CustomizedMetricSpecification | undefined;
|
|
2467
2467
|
/**
|
|
2468
2468
|
* <p>The amount of time, in seconds, to wait for a previous scale-out activity to take effect.
|
|
2469
2469
|
* For more information and for default values, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown">Define cooldown periods</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
2470
2470
|
* @public
|
|
2471
2471
|
*/
|
|
2472
|
-
ScaleOutCooldown?: number;
|
|
2472
|
+
ScaleOutCooldown?: number | undefined;
|
|
2473
2473
|
/**
|
|
2474
2474
|
* <p>The amount of time, in seconds, after a scale-in activity completes before another
|
|
2475
2475
|
* scale-in activity can start. For more information and for default values, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown">Define cooldown periods</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
2476
2476
|
* @public
|
|
2477
2477
|
*/
|
|
2478
|
-
ScaleInCooldown?: number;
|
|
2478
|
+
ScaleInCooldown?: number | undefined;
|
|
2479
2479
|
/**
|
|
2480
2480
|
* <p>Indicates whether scale in by the target tracking scaling policy is disabled. If the
|
|
2481
2481
|
* value is <code>true</code>, scale in is disabled and the target tracking scaling policy
|
|
@@ -2484,7 +2484,7 @@ export interface TargetTrackingScalingPolicyConfiguration {
|
|
|
2484
2484
|
* value is <code>false</code>.</p>
|
|
2485
2485
|
* @public
|
|
2486
2486
|
*/
|
|
2487
|
-
DisableScaleIn?: boolean;
|
|
2487
|
+
DisableScaleIn?: boolean | undefined;
|
|
2488
2488
|
}
|
|
2489
2489
|
/**
|
|
2490
2490
|
* <p>Represents a scaling policy to use with Application Auto Scaling.</p>
|
|
@@ -2707,17 +2707,17 @@ export interface ScalingPolicy {
|
|
|
2707
2707
|
* <p>A step scaling policy.</p>
|
|
2708
2708
|
* @public
|
|
2709
2709
|
*/
|
|
2710
|
-
StepScalingPolicyConfiguration?: StepScalingPolicyConfiguration;
|
|
2710
|
+
StepScalingPolicyConfiguration?: StepScalingPolicyConfiguration | undefined;
|
|
2711
2711
|
/**
|
|
2712
2712
|
* <p>A target tracking scaling policy.</p>
|
|
2713
2713
|
* @public
|
|
2714
2714
|
*/
|
|
2715
|
-
TargetTrackingScalingPolicyConfiguration?: TargetTrackingScalingPolicyConfiguration;
|
|
2715
|
+
TargetTrackingScalingPolicyConfiguration?: TargetTrackingScalingPolicyConfiguration | undefined;
|
|
2716
2716
|
/**
|
|
2717
2717
|
* <p>The CloudWatch alarms associated with the scaling policy.</p>
|
|
2718
2718
|
* @public
|
|
2719
2719
|
*/
|
|
2720
|
-
Alarms?: Alarm[];
|
|
2720
|
+
Alarms?: Alarm[] | undefined;
|
|
2721
2721
|
/**
|
|
2722
2722
|
* <p>The Unix timestamp for when the scaling policy was created.</p>
|
|
2723
2723
|
* @public
|
|
@@ -2732,13 +2732,13 @@ export interface DescribeScalingPoliciesResponse {
|
|
|
2732
2732
|
* <p>Information about the scaling policies.</p>
|
|
2733
2733
|
* @public
|
|
2734
2734
|
*/
|
|
2735
|
-
ScalingPolicies?: ScalingPolicy[];
|
|
2735
|
+
ScalingPolicies?: ScalingPolicy[] | undefined;
|
|
2736
2736
|
/**
|
|
2737
2737
|
* <p>The token required to get the next set of results. This value is <code>null</code> if
|
|
2738
2738
|
* there are no more results to return.</p>
|
|
2739
2739
|
* @public
|
|
2740
2740
|
*/
|
|
2741
|
-
NextToken?: string;
|
|
2741
|
+
NextToken?: string | undefined;
|
|
2742
2742
|
}
|
|
2743
2743
|
/**
|
|
2744
2744
|
* <p>Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling
|
|
@@ -2750,7 +2750,7 @@ export interface DescribeScalingPoliciesResponse {
|
|
|
2750
2750
|
export declare class FailedResourceAccessException extends __BaseException {
|
|
2751
2751
|
readonly name: "FailedResourceAccessException";
|
|
2752
2752
|
readonly $fault: "client";
|
|
2753
|
-
Message?: string;
|
|
2753
|
+
Message?: string | undefined;
|
|
2754
2754
|
/**
|
|
2755
2755
|
* @internal
|
|
2756
2756
|
*/
|
|
@@ -2764,7 +2764,7 @@ export interface DescribeScheduledActionsRequest {
|
|
|
2764
2764
|
* <p>The names of the scheduled actions to describe.</p>
|
|
2765
2765
|
* @public
|
|
2766
2766
|
*/
|
|
2767
|
-
ScheduledActionNames?: string[];
|
|
2767
|
+
ScheduledActionNames?: string[] | undefined;
|
|
2768
2768
|
/**
|
|
2769
2769
|
* <p>The namespace of the Amazon Web Services service that provides the resource. For a resource provided
|
|
2770
2770
|
* by your own application or service, use <code>custom-resource</code> instead.</p>
|
|
@@ -2852,7 +2852,7 @@ export interface DescribeScheduledActionsRequest {
|
|
|
2852
2852
|
* </ul>
|
|
2853
2853
|
* @public
|
|
2854
2854
|
*/
|
|
2855
|
-
ResourceId?: string;
|
|
2855
|
+
ResourceId?: string | undefined;
|
|
2856
2856
|
/**
|
|
2857
2857
|
* <p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
|
|
2858
2858
|
* If you specify a scalable dimension, you must also specify a resource ID.</p>
|
|
@@ -2952,7 +2952,7 @@ export interface DescribeScheduledActionsRequest {
|
|
|
2952
2952
|
* </ul>
|
|
2953
2953
|
* @public
|
|
2954
2954
|
*/
|
|
2955
|
-
ScalableDimension?: ScalableDimension;
|
|
2955
|
+
ScalableDimension?: ScalableDimension | undefined;
|
|
2956
2956
|
/**
|
|
2957
2957
|
* <p>The maximum number of scheduled action results. This value can be between
|
|
2958
2958
|
* 1 and 50. The default value is 50.</p>
|
|
@@ -2963,12 +2963,12 @@ export interface DescribeScheduledActionsRequest {
|
|
|
2963
2963
|
* <code>NextToken</code> value, if applicable.</p>
|
|
2964
2964
|
* @public
|
|
2965
2965
|
*/
|
|
2966
|
-
MaxResults?: number;
|
|
2966
|
+
MaxResults?: number | undefined;
|
|
2967
2967
|
/**
|
|
2968
2968
|
* <p>The token for the next set of results.</p>
|
|
2969
2969
|
* @public
|
|
2970
2970
|
*/
|
|
2971
|
-
NextToken?: string;
|
|
2971
|
+
NextToken?: string | undefined;
|
|
2972
2972
|
}
|
|
2973
2973
|
/**
|
|
2974
2974
|
* <p>Represents the minimum and maximum capacity for a scheduled action.</p>
|
|
@@ -2982,7 +2982,7 @@ export interface ScalableTargetAction {
|
|
|
2982
2982
|
* tracking scaling policy.</p>
|
|
2983
2983
|
* @public
|
|
2984
2984
|
*/
|
|
2985
|
-
MinCapacity?: number;
|
|
2985
|
+
MinCapacity?: number | undefined;
|
|
2986
2986
|
/**
|
|
2987
2987
|
* <p>The maximum capacity.</p>
|
|
2988
2988
|
* <p>Although you can specify a large maximum capacity, note that service quotas may impose
|
|
@@ -2993,7 +2993,7 @@ export interface ScalableTargetAction {
|
|
|
2993
2993
|
* quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
2994
2994
|
* @public
|
|
2995
2995
|
*/
|
|
2996
|
-
MaxCapacity?: number;
|
|
2996
|
+
MaxCapacity?: number | undefined;
|
|
2997
2997
|
}
|
|
2998
2998
|
/**
|
|
2999
2999
|
* <p>Represents a scheduled action.</p>
|
|
@@ -3047,7 +3047,7 @@ export interface ScheduledAction {
|
|
|
3047
3047
|
* scheduled action uses an at or cron expression.</p>
|
|
3048
3048
|
* @public
|
|
3049
3049
|
*/
|
|
3050
|
-
Timezone?: string;
|
|
3050
|
+
Timezone?: string | undefined;
|
|
3051
3051
|
/**
|
|
3052
3052
|
* <p>The identifier of the resource associated with the scaling policy.
|
|
3053
3053
|
* This string consists of the resource type and unique identifier.</p>
|
|
@@ -3228,17 +3228,17 @@ export interface ScheduledAction {
|
|
|
3228
3228
|
* </ul>
|
|
3229
3229
|
* @public
|
|
3230
3230
|
*/
|
|
3231
|
-
ScalableDimension?: ScalableDimension;
|
|
3231
|
+
ScalableDimension?: ScalableDimension | undefined;
|
|
3232
3232
|
/**
|
|
3233
3233
|
* <p>The date and time that the action is scheduled to begin, in UTC.</p>
|
|
3234
3234
|
* @public
|
|
3235
3235
|
*/
|
|
3236
|
-
StartTime?: Date;
|
|
3236
|
+
StartTime?: Date | undefined;
|
|
3237
3237
|
/**
|
|
3238
3238
|
* <p>The date and time that the action is scheduled to end, in UTC.</p>
|
|
3239
3239
|
* @public
|
|
3240
3240
|
*/
|
|
3241
|
-
EndTime?: Date;
|
|
3241
|
+
EndTime?: Date | undefined;
|
|
3242
3242
|
/**
|
|
3243
3243
|
* <p>The new minimum and maximum capacity. You can set both values or just one. At the
|
|
3244
3244
|
* scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out
|
|
@@ -3246,7 +3246,7 @@ export interface ScheduledAction {
|
|
|
3246
3246
|
* scales in to the maximum capacity.</p>
|
|
3247
3247
|
* @public
|
|
3248
3248
|
*/
|
|
3249
|
-
ScalableTargetAction?: ScalableTargetAction;
|
|
3249
|
+
ScalableTargetAction?: ScalableTargetAction | undefined;
|
|
3250
3250
|
/**
|
|
3251
3251
|
* <p>The date and time that the scheduled action was created.</p>
|
|
3252
3252
|
* @public
|
|
@@ -3261,13 +3261,13 @@ export interface DescribeScheduledActionsResponse {
|
|
|
3261
3261
|
* <p>Information about the scheduled actions.</p>
|
|
3262
3262
|
* @public
|
|
3263
3263
|
*/
|
|
3264
|
-
ScheduledActions?: ScheduledAction[];
|
|
3264
|
+
ScheduledActions?: ScheduledAction[] | undefined;
|
|
3265
3265
|
/**
|
|
3266
3266
|
* <p>The token required to get the next set of results. This value is <code>null</code> if
|
|
3267
3267
|
* there are no more results to return.</p>
|
|
3268
3268
|
* @public
|
|
3269
3269
|
*/
|
|
3270
|
-
NextToken?: string;
|
|
3270
|
+
NextToken?: string | undefined;
|
|
3271
3271
|
}
|
|
3272
3272
|
/**
|
|
3273
3273
|
* @public
|
|
@@ -3291,7 +3291,7 @@ export interface ListTagsForResourceResponse {
|
|
|
3291
3291
|
* <p>A list of tags. Each tag consists of a tag key and a tag value.</p>
|
|
3292
3292
|
* @public
|
|
3293
3293
|
*/
|
|
3294
|
-
Tags?: Record<string, string
|
|
3294
|
+
Tags?: Record<string, string> | undefined;
|
|
3295
3295
|
}
|
|
3296
3296
|
/**
|
|
3297
3297
|
* <p>The specified resource doesn't exist.</p>
|
|
@@ -3300,12 +3300,12 @@ export interface ListTagsForResourceResponse {
|
|
|
3300
3300
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
3301
3301
|
readonly name: "ResourceNotFoundException";
|
|
3302
3302
|
readonly $fault: "client";
|
|
3303
|
-
Message?: string;
|
|
3303
|
+
Message?: string | undefined;
|
|
3304
3304
|
/**
|
|
3305
3305
|
* <p>The name of the Application Auto Scaling resource. This value is an Amazon Resource Name (ARN).</p>
|
|
3306
3306
|
* @public
|
|
3307
3307
|
*/
|
|
3308
|
-
ResourceName?: string;
|
|
3308
|
+
ResourceName?: string | undefined;
|
|
3309
3309
|
/**
|
|
3310
3310
|
* @internal
|
|
3311
3311
|
*/
|
|
@@ -3318,7 +3318,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
3318
3318
|
export declare class LimitExceededException extends __BaseException {
|
|
3319
3319
|
readonly name: "LimitExceededException";
|
|
3320
3320
|
readonly $fault: "client";
|
|
3321
|
-
Message?: string;
|
|
3321
|
+
Message?: string | undefined;
|
|
3322
3322
|
/**
|
|
3323
3323
|
* @internal
|
|
3324
3324
|
*/
|
|
@@ -3535,14 +3535,14 @@ export interface PutScalingPolicyRequest {
|
|
|
3535
3535
|
* tracking scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html">Step scaling policies</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
3536
3536
|
* @public
|
|
3537
3537
|
*/
|
|
3538
|
-
PolicyType?: PolicyType;
|
|
3538
|
+
PolicyType?: PolicyType | undefined;
|
|
3539
3539
|
/**
|
|
3540
3540
|
* <p>A step scaling policy.</p>
|
|
3541
3541
|
* <p>This parameter is required if you are creating a policy and the policy type is
|
|
3542
3542
|
* <code>StepScaling</code>.</p>
|
|
3543
3543
|
* @public
|
|
3544
3544
|
*/
|
|
3545
|
-
StepScalingPolicyConfiguration?: StepScalingPolicyConfiguration;
|
|
3545
|
+
StepScalingPolicyConfiguration?: StepScalingPolicyConfiguration | undefined;
|
|
3546
3546
|
/**
|
|
3547
3547
|
* <p>A target tracking scaling policy. Includes support for predefined or customized
|
|
3548
3548
|
* metrics.</p>
|
|
@@ -3550,7 +3550,7 @@ export interface PutScalingPolicyRequest {
|
|
|
3550
3550
|
* <code>TargetTrackingScaling</code>.</p>
|
|
3551
3551
|
* @public
|
|
3552
3552
|
*/
|
|
3553
|
-
TargetTrackingScalingPolicyConfiguration?: TargetTrackingScalingPolicyConfiguration;
|
|
3553
|
+
TargetTrackingScalingPolicyConfiguration?: TargetTrackingScalingPolicyConfiguration | undefined;
|
|
3554
3554
|
}
|
|
3555
3555
|
/**
|
|
3556
3556
|
* @public
|
|
@@ -3565,7 +3565,7 @@ export interface PutScalingPolicyResponse {
|
|
|
3565
3565
|
* <p>The CloudWatch alarms created for the target tracking scaling policy.</p>
|
|
3566
3566
|
* @public
|
|
3567
3567
|
*/
|
|
3568
|
-
Alarms?: Alarm[];
|
|
3568
|
+
Alarms?: Alarm[] | undefined;
|
|
3569
3569
|
}
|
|
3570
3570
|
/**
|
|
3571
3571
|
* @public
|
|
@@ -3602,7 +3602,7 @@ export interface PutScheduledActionRequest {
|
|
|
3602
3602
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-using-cron-expressions.html">Schedule recurring scaling actions using cron expressions</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
3603
3603
|
* @public
|
|
3604
3604
|
*/
|
|
3605
|
-
Schedule?: string;
|
|
3605
|
+
Schedule?: string | undefined;
|
|
3606
3606
|
/**
|
|
3607
3607
|
* <p>Specifies the time zone used when setting a scheduled action by using an at or cron
|
|
3608
3608
|
* expression. If a time zone is not provided, UTC is used by default.</p>
|
|
@@ -3610,7 +3610,7 @@ export interface PutScheduledActionRequest {
|
|
|
3610
3610
|
* as <code>Etc/GMT+9</code> or <code>Pacific/Tahiti</code>). For more information, see <a href="https://www.joda.org/joda-time/timezones.html">https://www.joda.org/joda-time/timezones.html</a>.</p>
|
|
3611
3611
|
* @public
|
|
3612
3612
|
*/
|
|
3613
|
-
Timezone?: string;
|
|
3613
|
+
Timezone?: string | undefined;
|
|
3614
3614
|
/**
|
|
3615
3615
|
* <p>The name of the scheduled action. This name must be unique among all other scheduled
|
|
3616
3616
|
* actions on the specified scalable target. </p>
|
|
@@ -3802,12 +3802,12 @@ export interface PutScheduledActionRequest {
|
|
|
3802
3802
|
* <p>The date and time for this scheduled action to start, in UTC.</p>
|
|
3803
3803
|
* @public
|
|
3804
3804
|
*/
|
|
3805
|
-
StartTime?: Date;
|
|
3805
|
+
StartTime?: Date | undefined;
|
|
3806
3806
|
/**
|
|
3807
3807
|
* <p>The date and time for the recurring schedule to end, in UTC.</p>
|
|
3808
3808
|
* @public
|
|
3809
3809
|
*/
|
|
3810
|
-
EndTime?: Date;
|
|
3810
|
+
EndTime?: Date | undefined;
|
|
3811
3811
|
/**
|
|
3812
3812
|
* <p>The new minimum and maximum capacity. You can set both values or just one. At the
|
|
3813
3813
|
* scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out
|
|
@@ -3815,7 +3815,7 @@ export interface PutScheduledActionRequest {
|
|
|
3815
3815
|
* scales in to the maximum capacity.</p>
|
|
3816
3816
|
* @public
|
|
3817
3817
|
*/
|
|
3818
|
-
ScalableTargetAction?: ScalableTargetAction;
|
|
3818
|
+
ScalableTargetAction?: ScalableTargetAction | undefined;
|
|
3819
3819
|
}
|
|
3820
3820
|
/**
|
|
3821
3821
|
* @public
|
|
@@ -4060,7 +4060,7 @@ export interface RegisterScalableTargetRequest {
|
|
|
4060
4060
|
* accept.</p>
|
|
4061
4061
|
* @public
|
|
4062
4062
|
*/
|
|
4063
|
-
MinCapacity?: number;
|
|
4063
|
+
MinCapacity?: number | undefined;
|
|
4064
4064
|
/**
|
|
4065
4065
|
* <p>The maximum value that you plan to scale out to. When a scaling policy is in effect,
|
|
4066
4066
|
* Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to
|
|
@@ -4073,7 +4073,7 @@ export interface RegisterScalableTargetRequest {
|
|
|
4073
4073
|
* quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
4074
4074
|
* @public
|
|
4075
4075
|
*/
|
|
4076
|
-
MaxCapacity?: number;
|
|
4076
|
+
MaxCapacity?: number | undefined;
|
|
4077
4077
|
/**
|
|
4078
4078
|
* <p>This parameter is required for services that do not support service-linked roles (such as
|
|
4079
4079
|
* Amazon EMR), and it must specify the ARN of an IAM role that allows Application Auto Scaling to modify the scalable
|
|
@@ -4082,7 +4082,7 @@ export interface RegisterScalableTargetRequest {
|
|
|
4082
4082
|
* it creates if it does not yet exist. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html">How Application Auto Scaling works with IAM</a>.</p>
|
|
4083
4083
|
* @public
|
|
4084
4084
|
*/
|
|
4085
|
-
RoleARN?: string;
|
|
4085
|
+
RoleARN?: string | undefined;
|
|
4086
4086
|
/**
|
|
4087
4087
|
* <p>An embedded object that contains attributes and attribute values that are used to
|
|
4088
4088
|
* suspend and resume automatic scaling. Setting the value of an attribute to
|
|
@@ -4109,7 +4109,7 @@ export interface RegisterScalableTargetRequest {
|
|
|
4109
4109
|
* Guide</i>.</p>
|
|
4110
4110
|
* @public
|
|
4111
4111
|
*/
|
|
4112
|
-
SuspendedState?: SuspendedState;
|
|
4112
|
+
SuspendedState?: SuspendedState | undefined;
|
|
4113
4113
|
/**
|
|
4114
4114
|
* <p>Assigns one or more tags to the scalable target. Use this parameter to tag the scalable
|
|
4115
4115
|
* target when it is created. To tag an existing scalable target, use the <a>TagResource</a> operation.</p>
|
|
@@ -4120,7 +4120,7 @@ export interface RegisterScalableTargetRequest {
|
|
|
4120
4120
|
* for Application Auto Scaling</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
4121
4121
|
* @public
|
|
4122
4122
|
*/
|
|
4123
|
-
Tags?: Record<string, string
|
|
4123
|
+
Tags?: Record<string, string> | undefined;
|
|
4124
4124
|
}
|
|
4125
4125
|
/**
|
|
4126
4126
|
* @public
|
|
@@ -4130,7 +4130,7 @@ export interface RegisterScalableTargetResponse {
|
|
|
4130
4130
|
* <p>The ARN of the scalable target.</p>
|
|
4131
4131
|
* @public
|
|
4132
4132
|
*/
|
|
4133
|
-
ScalableTargetARN?: string;
|
|
4133
|
+
ScalableTargetARN?: string | undefined;
|
|
4134
4134
|
}
|
|
4135
4135
|
/**
|
|
4136
4136
|
* @public
|
|
@@ -4170,12 +4170,12 @@ export interface TagResourceResponse {
|
|
|
4170
4170
|
export declare class TooManyTagsException extends __BaseException {
|
|
4171
4171
|
readonly name: "TooManyTagsException";
|
|
4172
4172
|
readonly $fault: "client";
|
|
4173
|
-
Message?: string;
|
|
4173
|
+
Message?: string | undefined;
|
|
4174
4174
|
/**
|
|
4175
4175
|
* <p>The name of the Application Auto Scaling resource. This value is an Amazon Resource Name (ARN).</p>
|
|
4176
4176
|
* @public
|
|
4177
4177
|
*/
|
|
4178
|
-
ResourceName?: string;
|
|
4178
|
+
ResourceName?: string | undefined;
|
|
4179
4179
|
/**
|
|
4180
4180
|
* @internal
|
|
4181
4181
|
*/
|
|
@@ -14,7 +14,7 @@ export interface Alarm {
|
|
|
14
14
|
export declare class ConcurrentUpdateException extends __BaseException {
|
|
15
15
|
readonly name: "ConcurrentUpdateException";
|
|
16
16
|
readonly $fault: "server";
|
|
17
|
-
Message?: string;
|
|
17
|
+
Message?: string | undefined;
|
|
18
18
|
constructor(
|
|
19
19
|
opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>
|
|
20
20
|
);
|
|
@@ -75,7 +75,7 @@ export interface DeleteScalingPolicyResponse {}
|
|
|
75
75
|
export declare class InternalServiceException extends __BaseException {
|
|
76
76
|
readonly name: "InternalServiceException";
|
|
77
77
|
readonly $fault: "server";
|
|
78
|
-
Message?: string;
|
|
78
|
+
Message?: string | undefined;
|
|
79
79
|
constructor(
|
|
80
80
|
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
81
81
|
);
|
|
@@ -83,7 +83,7 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
83
83
|
export declare class ObjectNotFoundException extends __BaseException {
|
|
84
84
|
readonly name: "ObjectNotFoundException";
|
|
85
85
|
readonly $fault: "client";
|
|
86
|
-
Message?: string;
|
|
86
|
+
Message?: string | undefined;
|
|
87
87
|
constructor(
|
|
88
88
|
opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>
|
|
89
89
|
);
|
|
@@ -91,7 +91,7 @@ export declare class ObjectNotFoundException extends __BaseException {
|
|
|
91
91
|
export declare class ValidationException extends __BaseException {
|
|
92
92
|
readonly name: "ValidationException";
|
|
93
93
|
readonly $fault: "client";
|
|
94
|
-
Message?: string;
|
|
94
|
+
Message?: string | undefined;
|
|
95
95
|
constructor(
|
|
96
96
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
97
97
|
);
|
|
@@ -111,15 +111,15 @@ export interface DeregisterScalableTargetRequest {
|
|
|
111
111
|
export interface DeregisterScalableTargetResponse {}
|
|
112
112
|
export interface DescribeScalableTargetsRequest {
|
|
113
113
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
114
|
-
ResourceIds?: string[];
|
|
115
|
-
ScalableDimension?: ScalableDimension;
|
|
116
|
-
MaxResults?: number;
|
|
117
|
-
NextToken?: string;
|
|
114
|
+
ResourceIds?: string[] | undefined;
|
|
115
|
+
ScalableDimension?: ScalableDimension | undefined;
|
|
116
|
+
MaxResults?: number | undefined;
|
|
117
|
+
NextToken?: string | undefined;
|
|
118
118
|
}
|
|
119
119
|
export interface SuspendedState {
|
|
120
|
-
DynamicScalingInSuspended?: boolean;
|
|
121
|
-
DynamicScalingOutSuspended?: boolean;
|
|
122
|
-
ScheduledScalingSuspended?: boolean;
|
|
120
|
+
DynamicScalingInSuspended?: boolean | undefined;
|
|
121
|
+
DynamicScalingOutSuspended?: boolean | undefined;
|
|
122
|
+
ScheduledScalingSuspended?: boolean | undefined;
|
|
123
123
|
}
|
|
124
124
|
export interface ScalableTarget {
|
|
125
125
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
@@ -129,34 +129,34 @@ export interface ScalableTarget {
|
|
|
129
129
|
MaxCapacity: number | undefined;
|
|
130
130
|
RoleARN: string | undefined;
|
|
131
131
|
CreationTime: Date | undefined;
|
|
132
|
-
SuspendedState?: SuspendedState;
|
|
133
|
-
ScalableTargetARN?: string;
|
|
132
|
+
SuspendedState?: SuspendedState | undefined;
|
|
133
|
+
ScalableTargetARN?: string | undefined;
|
|
134
134
|
}
|
|
135
135
|
export interface DescribeScalableTargetsResponse {
|
|
136
|
-
ScalableTargets?: ScalableTarget[];
|
|
137
|
-
NextToken?: string;
|
|
136
|
+
ScalableTargets?: ScalableTarget[] | undefined;
|
|
137
|
+
NextToken?: string | undefined;
|
|
138
138
|
}
|
|
139
139
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
140
140
|
readonly name: "InvalidNextTokenException";
|
|
141
141
|
readonly $fault: "client";
|
|
142
|
-
Message?: string;
|
|
142
|
+
Message?: string | undefined;
|
|
143
143
|
constructor(
|
|
144
144
|
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
145
145
|
);
|
|
146
146
|
}
|
|
147
147
|
export interface DescribeScalingActivitiesRequest {
|
|
148
148
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
149
|
-
ResourceId?: string;
|
|
150
|
-
ScalableDimension?: ScalableDimension;
|
|
151
|
-
MaxResults?: number;
|
|
152
|
-
NextToken?: string;
|
|
153
|
-
IncludeNotScaledActivities?: boolean;
|
|
149
|
+
ResourceId?: string | undefined;
|
|
150
|
+
ScalableDimension?: ScalableDimension | undefined;
|
|
151
|
+
MaxResults?: number | undefined;
|
|
152
|
+
NextToken?: string | undefined;
|
|
153
|
+
IncludeNotScaledActivities?: boolean | undefined;
|
|
154
154
|
}
|
|
155
155
|
export interface NotScaledReason {
|
|
156
156
|
Code: string | undefined;
|
|
157
|
-
MaxCapacity?: number;
|
|
158
|
-
MinCapacity?: number;
|
|
159
|
-
CurrentCapacity?: number;
|
|
157
|
+
MaxCapacity?: number | undefined;
|
|
158
|
+
MinCapacity?: number | undefined;
|
|
159
|
+
CurrentCapacity?: number | undefined;
|
|
160
160
|
}
|
|
161
161
|
export declare const ScalingActivityStatusCode: {
|
|
162
162
|
readonly Failed: "Failed";
|
|
@@ -176,23 +176,23 @@ export interface ScalingActivity {
|
|
|
176
176
|
Description: string | undefined;
|
|
177
177
|
Cause: string | undefined;
|
|
178
178
|
StartTime: Date | undefined;
|
|
179
|
-
EndTime?: Date;
|
|
179
|
+
EndTime?: Date | undefined;
|
|
180
180
|
StatusCode: ScalingActivityStatusCode | undefined;
|
|
181
|
-
StatusMessage?: string;
|
|
182
|
-
Details?: string;
|
|
183
|
-
NotScaledReasons?: NotScaledReason[];
|
|
181
|
+
StatusMessage?: string | undefined;
|
|
182
|
+
Details?: string | undefined;
|
|
183
|
+
NotScaledReasons?: NotScaledReason[] | undefined;
|
|
184
184
|
}
|
|
185
185
|
export interface DescribeScalingActivitiesResponse {
|
|
186
|
-
ScalingActivities?: ScalingActivity[];
|
|
187
|
-
NextToken?: string;
|
|
186
|
+
ScalingActivities?: ScalingActivity[] | undefined;
|
|
187
|
+
NextToken?: string | undefined;
|
|
188
188
|
}
|
|
189
189
|
export interface DescribeScalingPoliciesRequest {
|
|
190
|
-
PolicyNames?: string[];
|
|
190
|
+
PolicyNames?: string[] | undefined;
|
|
191
191
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
192
|
-
ResourceId?: string;
|
|
193
|
-
ScalableDimension?: ScalableDimension;
|
|
194
|
-
MaxResults?: number;
|
|
195
|
-
NextToken?: string;
|
|
192
|
+
ResourceId?: string | undefined;
|
|
193
|
+
ScalableDimension?: ScalableDimension | undefined;
|
|
194
|
+
MaxResults?: number | undefined;
|
|
195
|
+
NextToken?: string | undefined;
|
|
196
196
|
}
|
|
197
197
|
export declare const PolicyType: {
|
|
198
198
|
readonly StepScaling: "StepScaling";
|
|
@@ -207,16 +207,16 @@ export declare const MetricAggregationType: {
|
|
|
207
207
|
export type MetricAggregationType =
|
|
208
208
|
(typeof MetricAggregationType)[keyof typeof MetricAggregationType];
|
|
209
209
|
export interface StepAdjustment {
|
|
210
|
-
MetricIntervalLowerBound?: number;
|
|
211
|
-
MetricIntervalUpperBound?: number;
|
|
210
|
+
MetricIntervalLowerBound?: number | undefined;
|
|
211
|
+
MetricIntervalUpperBound?: number | undefined;
|
|
212
212
|
ScalingAdjustment: number | undefined;
|
|
213
213
|
}
|
|
214
214
|
export interface StepScalingPolicyConfiguration {
|
|
215
|
-
AdjustmentType?: AdjustmentType;
|
|
216
|
-
StepAdjustments?: StepAdjustment[];
|
|
217
|
-
MinAdjustmentMagnitude?: number;
|
|
218
|
-
Cooldown?: number;
|
|
219
|
-
MetricAggregationType?: MetricAggregationType;
|
|
215
|
+
AdjustmentType?: AdjustmentType | undefined;
|
|
216
|
+
StepAdjustments?: StepAdjustment[] | undefined;
|
|
217
|
+
MinAdjustmentMagnitude?: number | undefined;
|
|
218
|
+
Cooldown?: number | undefined;
|
|
219
|
+
MetricAggregationType?: MetricAggregationType | undefined;
|
|
220
220
|
}
|
|
221
221
|
export interface MetricDimension {
|
|
222
222
|
Name: string | undefined;
|
|
@@ -227,21 +227,21 @@ export interface TargetTrackingMetricDimension {
|
|
|
227
227
|
Value: string | undefined;
|
|
228
228
|
}
|
|
229
229
|
export interface TargetTrackingMetric {
|
|
230
|
-
Dimensions?: TargetTrackingMetricDimension[];
|
|
231
|
-
MetricName?: string;
|
|
232
|
-
Namespace?: string;
|
|
230
|
+
Dimensions?: TargetTrackingMetricDimension[] | undefined;
|
|
231
|
+
MetricName?: string | undefined;
|
|
232
|
+
Namespace?: string | undefined;
|
|
233
233
|
}
|
|
234
234
|
export interface TargetTrackingMetricStat {
|
|
235
235
|
Metric: TargetTrackingMetric | undefined;
|
|
236
236
|
Stat: string | undefined;
|
|
237
|
-
Unit?: string;
|
|
237
|
+
Unit?: string | undefined;
|
|
238
238
|
}
|
|
239
239
|
export interface TargetTrackingMetricDataQuery {
|
|
240
|
-
Expression?: string;
|
|
240
|
+
Expression?: string | undefined;
|
|
241
241
|
Id: string | undefined;
|
|
242
|
-
Label?: string;
|
|
243
|
-
MetricStat?: TargetTrackingMetricStat;
|
|
244
|
-
ReturnData?: boolean;
|
|
242
|
+
Label?: string | undefined;
|
|
243
|
+
MetricStat?: TargetTrackingMetricStat | undefined;
|
|
244
|
+
ReturnData?: boolean | undefined;
|
|
245
245
|
}
|
|
246
246
|
export declare const MetricStatistic: {
|
|
247
247
|
readonly Average: "Average";
|
|
@@ -253,12 +253,12 @@ export declare const MetricStatistic: {
|
|
|
253
253
|
export type MetricStatistic =
|
|
254
254
|
(typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
255
255
|
export interface CustomizedMetricSpecification {
|
|
256
|
-
MetricName?: string;
|
|
257
|
-
Namespace?: string;
|
|
258
|
-
Dimensions?: MetricDimension[];
|
|
259
|
-
Statistic?: MetricStatistic;
|
|
260
|
-
Unit?: string;
|
|
261
|
-
Metrics?: TargetTrackingMetricDataQuery[];
|
|
256
|
+
MetricName?: string | undefined;
|
|
257
|
+
Namespace?: string | undefined;
|
|
258
|
+
Dimensions?: MetricDimension[] | undefined;
|
|
259
|
+
Statistic?: MetricStatistic | undefined;
|
|
260
|
+
Unit?: string | undefined;
|
|
261
|
+
Metrics?: TargetTrackingMetricDataQuery[] | undefined;
|
|
262
262
|
}
|
|
263
263
|
export declare const MetricType: {
|
|
264
264
|
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
@@ -292,15 +292,15 @@ export declare const MetricType: {
|
|
|
292
292
|
export type MetricType = (typeof MetricType)[keyof typeof MetricType];
|
|
293
293
|
export interface PredefinedMetricSpecification {
|
|
294
294
|
PredefinedMetricType: MetricType | undefined;
|
|
295
|
-
ResourceLabel?: string;
|
|
295
|
+
ResourceLabel?: string | undefined;
|
|
296
296
|
}
|
|
297
297
|
export interface TargetTrackingScalingPolicyConfiguration {
|
|
298
298
|
TargetValue: number | undefined;
|
|
299
|
-
PredefinedMetricSpecification?: PredefinedMetricSpecification;
|
|
300
|
-
CustomizedMetricSpecification?: CustomizedMetricSpecification;
|
|
301
|
-
ScaleOutCooldown?: number;
|
|
302
|
-
ScaleInCooldown?: number;
|
|
303
|
-
DisableScaleIn?: boolean;
|
|
299
|
+
PredefinedMetricSpecification?: PredefinedMetricSpecification | undefined;
|
|
300
|
+
CustomizedMetricSpecification?: CustomizedMetricSpecification | undefined;
|
|
301
|
+
ScaleOutCooldown?: number | undefined;
|
|
302
|
+
ScaleInCooldown?: number | undefined;
|
|
303
|
+
DisableScaleIn?: boolean | undefined;
|
|
304
304
|
}
|
|
305
305
|
export interface ScalingPolicy {
|
|
306
306
|
PolicyARN: string | undefined;
|
|
@@ -309,63 +309,65 @@ export interface ScalingPolicy {
|
|
|
309
309
|
ResourceId: string | undefined;
|
|
310
310
|
ScalableDimension: ScalableDimension | undefined;
|
|
311
311
|
PolicyType: PolicyType | undefined;
|
|
312
|
-
StepScalingPolicyConfiguration?: StepScalingPolicyConfiguration;
|
|
313
|
-
TargetTrackingScalingPolicyConfiguration?:
|
|
314
|
-
|
|
312
|
+
StepScalingPolicyConfiguration?: StepScalingPolicyConfiguration | undefined;
|
|
313
|
+
TargetTrackingScalingPolicyConfiguration?:
|
|
314
|
+
| TargetTrackingScalingPolicyConfiguration
|
|
315
|
+
| undefined;
|
|
316
|
+
Alarms?: Alarm[] | undefined;
|
|
315
317
|
CreationTime: Date | undefined;
|
|
316
318
|
}
|
|
317
319
|
export interface DescribeScalingPoliciesResponse {
|
|
318
|
-
ScalingPolicies?: ScalingPolicy[];
|
|
319
|
-
NextToken?: string;
|
|
320
|
+
ScalingPolicies?: ScalingPolicy[] | undefined;
|
|
321
|
+
NextToken?: string | undefined;
|
|
320
322
|
}
|
|
321
323
|
export declare class FailedResourceAccessException extends __BaseException {
|
|
322
324
|
readonly name: "FailedResourceAccessException";
|
|
323
325
|
readonly $fault: "client";
|
|
324
|
-
Message?: string;
|
|
326
|
+
Message?: string | undefined;
|
|
325
327
|
constructor(
|
|
326
328
|
opts: __ExceptionOptionType<FailedResourceAccessException, __BaseException>
|
|
327
329
|
);
|
|
328
330
|
}
|
|
329
331
|
export interface DescribeScheduledActionsRequest {
|
|
330
|
-
ScheduledActionNames?: string[];
|
|
332
|
+
ScheduledActionNames?: string[] | undefined;
|
|
331
333
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
332
|
-
ResourceId?: string;
|
|
333
|
-
ScalableDimension?: ScalableDimension;
|
|
334
|
-
MaxResults?: number;
|
|
335
|
-
NextToken?: string;
|
|
334
|
+
ResourceId?: string | undefined;
|
|
335
|
+
ScalableDimension?: ScalableDimension | undefined;
|
|
336
|
+
MaxResults?: number | undefined;
|
|
337
|
+
NextToken?: string | undefined;
|
|
336
338
|
}
|
|
337
339
|
export interface ScalableTargetAction {
|
|
338
|
-
MinCapacity?: number;
|
|
339
|
-
MaxCapacity?: number;
|
|
340
|
+
MinCapacity?: number | undefined;
|
|
341
|
+
MaxCapacity?: number | undefined;
|
|
340
342
|
}
|
|
341
343
|
export interface ScheduledAction {
|
|
342
344
|
ScheduledActionName: string | undefined;
|
|
343
345
|
ScheduledActionARN: string | undefined;
|
|
344
346
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
345
347
|
Schedule: string | undefined;
|
|
346
|
-
Timezone?: string;
|
|
348
|
+
Timezone?: string | undefined;
|
|
347
349
|
ResourceId: string | undefined;
|
|
348
|
-
ScalableDimension?: ScalableDimension;
|
|
349
|
-
StartTime?: Date;
|
|
350
|
-
EndTime?: Date;
|
|
351
|
-
ScalableTargetAction?: ScalableTargetAction;
|
|
350
|
+
ScalableDimension?: ScalableDimension | undefined;
|
|
351
|
+
StartTime?: Date | undefined;
|
|
352
|
+
EndTime?: Date | undefined;
|
|
353
|
+
ScalableTargetAction?: ScalableTargetAction | undefined;
|
|
352
354
|
CreationTime: Date | undefined;
|
|
353
355
|
}
|
|
354
356
|
export interface DescribeScheduledActionsResponse {
|
|
355
|
-
ScheduledActions?: ScheduledAction[];
|
|
356
|
-
NextToken?: string;
|
|
357
|
+
ScheduledActions?: ScheduledAction[] | undefined;
|
|
358
|
+
NextToken?: string | undefined;
|
|
357
359
|
}
|
|
358
360
|
export interface ListTagsForResourceRequest {
|
|
359
361
|
ResourceARN: string | undefined;
|
|
360
362
|
}
|
|
361
363
|
export interface ListTagsForResourceResponse {
|
|
362
|
-
Tags?: Record<string, string
|
|
364
|
+
Tags?: Record<string, string> | undefined;
|
|
363
365
|
}
|
|
364
366
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
365
367
|
readonly name: "ResourceNotFoundException";
|
|
366
368
|
readonly $fault: "client";
|
|
367
|
-
Message?: string;
|
|
368
|
-
ResourceName?: string;
|
|
369
|
+
Message?: string | undefined;
|
|
370
|
+
ResourceName?: string | undefined;
|
|
369
371
|
constructor(
|
|
370
372
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
371
373
|
);
|
|
@@ -373,7 +375,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
373
375
|
export declare class LimitExceededException extends __BaseException {
|
|
374
376
|
readonly name: "LimitExceededException";
|
|
375
377
|
readonly $fault: "client";
|
|
376
|
-
Message?: string;
|
|
378
|
+
Message?: string | undefined;
|
|
377
379
|
constructor(
|
|
378
380
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
379
381
|
);
|
|
@@ -383,38 +385,40 @@ export interface PutScalingPolicyRequest {
|
|
|
383
385
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
384
386
|
ResourceId: string | undefined;
|
|
385
387
|
ScalableDimension: ScalableDimension | undefined;
|
|
386
|
-
PolicyType?: PolicyType;
|
|
387
|
-
StepScalingPolicyConfiguration?: StepScalingPolicyConfiguration;
|
|
388
|
-
TargetTrackingScalingPolicyConfiguration?:
|
|
388
|
+
PolicyType?: PolicyType | undefined;
|
|
389
|
+
StepScalingPolicyConfiguration?: StepScalingPolicyConfiguration | undefined;
|
|
390
|
+
TargetTrackingScalingPolicyConfiguration?:
|
|
391
|
+
| TargetTrackingScalingPolicyConfiguration
|
|
392
|
+
| undefined;
|
|
389
393
|
}
|
|
390
394
|
export interface PutScalingPolicyResponse {
|
|
391
395
|
PolicyARN: string | undefined;
|
|
392
|
-
Alarms?: Alarm[];
|
|
396
|
+
Alarms?: Alarm[] | undefined;
|
|
393
397
|
}
|
|
394
398
|
export interface PutScheduledActionRequest {
|
|
395
399
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
396
|
-
Schedule?: string;
|
|
397
|
-
Timezone?: string;
|
|
400
|
+
Schedule?: string | undefined;
|
|
401
|
+
Timezone?: string | undefined;
|
|
398
402
|
ScheduledActionName: string | undefined;
|
|
399
403
|
ResourceId: string | undefined;
|
|
400
404
|
ScalableDimension: ScalableDimension | undefined;
|
|
401
|
-
StartTime?: Date;
|
|
402
|
-
EndTime?: Date;
|
|
403
|
-
ScalableTargetAction?: ScalableTargetAction;
|
|
405
|
+
StartTime?: Date | undefined;
|
|
406
|
+
EndTime?: Date | undefined;
|
|
407
|
+
ScalableTargetAction?: ScalableTargetAction | undefined;
|
|
404
408
|
}
|
|
405
409
|
export interface PutScheduledActionResponse {}
|
|
406
410
|
export interface RegisterScalableTargetRequest {
|
|
407
411
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
408
412
|
ResourceId: string | undefined;
|
|
409
413
|
ScalableDimension: ScalableDimension | undefined;
|
|
410
|
-
MinCapacity?: number;
|
|
411
|
-
MaxCapacity?: number;
|
|
412
|
-
RoleARN?: string;
|
|
413
|
-
SuspendedState?: SuspendedState;
|
|
414
|
-
Tags?: Record<string, string
|
|
414
|
+
MinCapacity?: number | undefined;
|
|
415
|
+
MaxCapacity?: number | undefined;
|
|
416
|
+
RoleARN?: string | undefined;
|
|
417
|
+
SuspendedState?: SuspendedState | undefined;
|
|
418
|
+
Tags?: Record<string, string> | undefined;
|
|
415
419
|
}
|
|
416
420
|
export interface RegisterScalableTargetResponse {
|
|
417
|
-
ScalableTargetARN?: string;
|
|
421
|
+
ScalableTargetARN?: string | undefined;
|
|
418
422
|
}
|
|
419
423
|
export interface TagResourceRequest {
|
|
420
424
|
ResourceARN: string | undefined;
|
|
@@ -424,8 +428,8 @@ export interface TagResourceResponse {}
|
|
|
424
428
|
export declare class TooManyTagsException extends __BaseException {
|
|
425
429
|
readonly name: "TooManyTagsException";
|
|
426
430
|
readonly $fault: "client";
|
|
427
|
-
Message?: string;
|
|
428
|
-
ResourceName?: string;
|
|
431
|
+
Message?: string | undefined;
|
|
432
|
+
ResourceName?: string | undefined;
|
|
429
433
|
constructor(
|
|
430
434
|
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
431
435
|
);
|
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.692.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-application-auto-scaling",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/fetch-http-handler": "^4.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.4.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.692.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.692.0",
|
|
25
|
+
"@aws-sdk/core": "3.692.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.692.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.692.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.692.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.692.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.692.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.692.0",
|
|
32
|
+
"@aws-sdk/types": "3.692.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.692.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.692.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.692.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.11",
|
|
37
|
+
"@smithy/core": "^2.5.2",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.1.0",
|
|
39
|
+
"@smithy/hash-node": "^3.0.9",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.9",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.11",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.2",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.26",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.9",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.9",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.10",
|
|
47
|
+
"@smithy/node-http-handler": "^3.3.0",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.6",
|
|
49
|
+
"@smithy/smithy-client": "^3.4.3",
|
|
50
|
+
"@smithy/types": "^3.7.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.9",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.26",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.26",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.5",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.9",
|
|
59
|
+
"@smithy/util-retry": "^3.0.9",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|