@aws-sdk/client-application-auto-scaling 3.300.0 → 3.303.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +90 -98
- package/dist-es/models/models_0.js +90 -98
- package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterScalableTargetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScalableTargetsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +15 -15
- package/dist-types/commands/PutScheduledActionCommand.d.ts +2 -2
- package/dist-types/commands/RegisterScalableTargetCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +130 -90
- package/dist-types/ts3.4/models/models_0.d.ts +104 -90
- package/package.json +34 -34
|
@@ -40,7 +40,7 @@ export interface PutScheduledActionCommandOutput extends PutScheduledActionRespo
|
|
|
40
40
|
* import { ApplicationAutoScalingClient, PutScheduledActionCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
41
41
|
* // const { ApplicationAutoScalingClient, PutScheduledActionCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
42
42
|
* const client = new ApplicationAutoScalingClient(config);
|
|
43
|
-
* const input = {
|
|
43
|
+
* const input = { // PutScheduledActionRequest
|
|
44
44
|
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
45
45
|
* Schedule: "STRING_VALUE",
|
|
46
46
|
* Timezone: "STRING_VALUE",
|
|
@@ -49,7 +49,7 @@ export interface PutScheduledActionCommandOutput extends PutScheduledActionRespo
|
|
|
49
49
|
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
50
50
|
* StartTime: new Date("TIMESTAMP"),
|
|
51
51
|
* EndTime: new Date("TIMESTAMP"),
|
|
52
|
-
* ScalableTargetAction: {
|
|
52
|
+
* ScalableTargetAction: { // ScalableTargetAction
|
|
53
53
|
* MinCapacity: Number("int"),
|
|
54
54
|
* MaxCapacity: Number("int"),
|
|
55
55
|
* },
|
|
@@ -57,19 +57,19 @@ export interface RegisterScalableTargetCommandOutput extends RegisterScalableTar
|
|
|
57
57
|
* import { ApplicationAutoScalingClient, RegisterScalableTargetCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
58
58
|
* // const { ApplicationAutoScalingClient, RegisterScalableTargetCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
59
59
|
* const client = new ApplicationAutoScalingClient(config);
|
|
60
|
-
* const input = {
|
|
60
|
+
* const input = { // RegisterScalableTargetRequest
|
|
61
61
|
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
62
62
|
* ResourceId: "STRING_VALUE", // required
|
|
63
63
|
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
64
64
|
* MinCapacity: Number("int"),
|
|
65
65
|
* MaxCapacity: Number("int"),
|
|
66
66
|
* RoleARN: "STRING_VALUE",
|
|
67
|
-
* SuspendedState: {
|
|
67
|
+
* SuspendedState: { // SuspendedState
|
|
68
68
|
* DynamicScalingInSuspended: true || false,
|
|
69
69
|
* DynamicScalingOutSuspended: true || false,
|
|
70
70
|
* ScheduledScalingSuspended: true || false,
|
|
71
71
|
* },
|
|
72
|
-
* Tags: {
|
|
72
|
+
* Tags: { // TagMap
|
|
73
73
|
* "<keys>": "STRING_VALUE",
|
|
74
74
|
* },
|
|
75
75
|
* };
|
|
@@ -37,9 +37,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
37
37
|
* import { ApplicationAutoScalingClient, TagResourceCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
38
38
|
* // const { ApplicationAutoScalingClient, TagResourceCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
39
39
|
* const client = new ApplicationAutoScalingClient(config);
|
|
40
|
-
* const input = {
|
|
40
|
+
* const input = { // TagResourceRequest
|
|
41
41
|
* ResourceARN: "STRING_VALUE", // required
|
|
42
|
-
* Tags: { // required
|
|
42
|
+
* Tags: { // TagMap // required
|
|
43
43
|
* "<keys>": "STRING_VALUE",
|
|
44
44
|
* },
|
|
45
45
|
* };
|
|
@@ -27,9 +27,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
27
27
|
* import { ApplicationAutoScalingClient, UntagResourceCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
28
28
|
* // const { ApplicationAutoScalingClient, UntagResourceCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
29
29
|
* const client = new ApplicationAutoScalingClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UntagResourceRequest
|
|
31
31
|
* ResourceARN: "STRING_VALUE", // required
|
|
32
|
-
* TagKeys: [ // required
|
|
32
|
+
* TagKeys: [ // TagKeyList // required
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* };
|
|
@@ -2,12 +2,17 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
2
2
|
import { ApplicationAutoScalingServiceException as __BaseException } from "./ApplicationAutoScalingServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
|
+
* @enum
|
|
5
6
|
*/
|
|
6
|
-
export declare
|
|
7
|
-
ChangeInCapacity
|
|
8
|
-
ExactCapacity
|
|
9
|
-
PercentChangeInCapacity
|
|
10
|
-
}
|
|
7
|
+
export declare const AdjustmentType: {
|
|
8
|
+
readonly ChangeInCapacity: "ChangeInCapacity";
|
|
9
|
+
readonly ExactCapacity: "ExactCapacity";
|
|
10
|
+
readonly PercentChangeInCapacity: "PercentChangeInCapacity";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type AdjustmentType = (typeof AdjustmentType)[keyof typeof AdjustmentType];
|
|
11
16
|
/**
|
|
12
17
|
* @public
|
|
13
18
|
* <p>Represents a CloudWatch alarm associated with a scaling policy.</p>
|
|
@@ -38,48 +43,58 @@ export declare class ConcurrentUpdateException extends __BaseException {
|
|
|
38
43
|
}
|
|
39
44
|
/**
|
|
40
45
|
* @public
|
|
46
|
+
* @enum
|
|
41
47
|
*/
|
|
42
|
-
export declare
|
|
43
|
-
AppstreamFleetDesiredCapacity
|
|
44
|
-
CassandraTableReadCapacityUnits
|
|
45
|
-
CassandraTableWriteCapacityUnits
|
|
46
|
-
ComprehendDocClassifierEndpointInferenceUnits
|
|
47
|
-
ComprehendEntityRecognizerEndpointInferenceUnits
|
|
48
|
-
CustomResourceScalableDimension
|
|
49
|
-
DynamoDBIndexReadCapacityUnits
|
|
50
|
-
DynamoDBIndexWriteCapacityUnits
|
|
51
|
-
DynamoDBTableReadCapacityUnits
|
|
52
|
-
DynamoDBTableWriteCapacityUnits
|
|
53
|
-
EC2SpotFleetRequestTargetCapacity
|
|
54
|
-
ECSServiceDesiredCount
|
|
55
|
-
EMRInstanceGroupInstanceCount
|
|
56
|
-
ElastiCacheReplicationGroupNodeGroups
|
|
57
|
-
ElastiCacheReplicationGroupReplicas
|
|
58
|
-
KafkaBrokerStorageVolumeSize
|
|
59
|
-
LambdaFunctionProvisionedConcurrency
|
|
60
|
-
NeptuneClusterReadReplicaCount
|
|
61
|
-
RDSClusterReadReplicaCount
|
|
62
|
-
SageMakerVariantDesiredInstanceCount
|
|
63
|
-
}
|
|
48
|
+
export declare const ScalableDimension: {
|
|
49
|
+
readonly AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity";
|
|
50
|
+
readonly CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits";
|
|
51
|
+
readonly CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits";
|
|
52
|
+
readonly ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits";
|
|
53
|
+
readonly ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits";
|
|
54
|
+
readonly CustomResourceScalableDimension: "custom-resource:ResourceType:Property";
|
|
55
|
+
readonly DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits";
|
|
56
|
+
readonly DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits";
|
|
57
|
+
readonly DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits";
|
|
58
|
+
readonly DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits";
|
|
59
|
+
readonly EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity";
|
|
60
|
+
readonly ECSServiceDesiredCount: "ecs:service:DesiredCount";
|
|
61
|
+
readonly EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount";
|
|
62
|
+
readonly ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups";
|
|
63
|
+
readonly ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas";
|
|
64
|
+
readonly KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize";
|
|
65
|
+
readonly LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency";
|
|
66
|
+
readonly NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount";
|
|
67
|
+
readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
|
|
68
|
+
readonly SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount";
|
|
69
|
+
};
|
|
64
70
|
/**
|
|
65
71
|
* @public
|
|
66
72
|
*/
|
|
67
|
-
export
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
73
|
+
export type ScalableDimension = (typeof ScalableDimension)[keyof typeof ScalableDimension];
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* @enum
|
|
77
|
+
*/
|
|
78
|
+
export declare const ServiceNamespace: {
|
|
79
|
+
readonly APPSTREAM: "appstream";
|
|
80
|
+
readonly CASSANDRA: "cassandra";
|
|
81
|
+
readonly COMPREHEND: "comprehend";
|
|
82
|
+
readonly CUSTOM_RESOURCE: "custom-resource";
|
|
83
|
+
readonly DYNAMODB: "dynamodb";
|
|
84
|
+
readonly EC2: "ec2";
|
|
85
|
+
readonly ECS: "ecs";
|
|
86
|
+
readonly ELASTICACHE: "elasticache";
|
|
87
|
+
readonly EMR: "elasticmapreduce";
|
|
88
|
+
readonly KAFKA: "kafka";
|
|
89
|
+
readonly LAMBDA: "lambda";
|
|
90
|
+
readonly NEPTUNE: "neptune";
|
|
91
|
+
readonly RDS: "rds";
|
|
92
|
+
readonly SAGEMAKER: "sagemaker";
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export type ServiceNamespace = (typeof ServiceNamespace)[keyof typeof ServiceNamespace];
|
|
83
98
|
/**
|
|
84
99
|
* @public
|
|
85
100
|
*/
|
|
@@ -1299,15 +1314,20 @@ export interface NotScaledReason {
|
|
|
1299
1314
|
}
|
|
1300
1315
|
/**
|
|
1301
1316
|
* @public
|
|
1317
|
+
* @enum
|
|
1302
1318
|
*/
|
|
1303
|
-
export declare
|
|
1304
|
-
Failed
|
|
1305
|
-
InProgress
|
|
1306
|
-
Overridden
|
|
1307
|
-
Pending
|
|
1308
|
-
Successful
|
|
1309
|
-
Unfulfilled
|
|
1310
|
-
}
|
|
1319
|
+
export declare const ScalingActivityStatusCode: {
|
|
1320
|
+
readonly Failed: "Failed";
|
|
1321
|
+
readonly InProgress: "InProgress";
|
|
1322
|
+
readonly Overridden: "Overridden";
|
|
1323
|
+
readonly Pending: "Pending";
|
|
1324
|
+
readonly Successful: "Successful";
|
|
1325
|
+
readonly Unfulfilled: "Unfulfilled";
|
|
1326
|
+
};
|
|
1327
|
+
/**
|
|
1328
|
+
* @public
|
|
1329
|
+
*/
|
|
1330
|
+
export type ScalingActivityStatusCode = (typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
|
|
1311
1331
|
/**
|
|
1312
1332
|
* @public
|
|
1313
1333
|
* <p>Represents a scaling activity.</p>
|
|
@@ -1711,19 +1731,29 @@ export interface DescribeScalingPoliciesRequest {
|
|
|
1711
1731
|
}
|
|
1712
1732
|
/**
|
|
1713
1733
|
* @public
|
|
1734
|
+
* @enum
|
|
1714
1735
|
*/
|
|
1715
|
-
export declare
|
|
1716
|
-
StepScaling
|
|
1717
|
-
TargetTrackingScaling
|
|
1718
|
-
}
|
|
1736
|
+
export declare const PolicyType: {
|
|
1737
|
+
readonly StepScaling: "StepScaling";
|
|
1738
|
+
readonly TargetTrackingScaling: "TargetTrackingScaling";
|
|
1739
|
+
};
|
|
1719
1740
|
/**
|
|
1720
1741
|
* @public
|
|
1721
1742
|
*/
|
|
1722
|
-
export
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1743
|
+
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
1744
|
+
/**
|
|
1745
|
+
* @public
|
|
1746
|
+
* @enum
|
|
1747
|
+
*/
|
|
1748
|
+
export declare const MetricAggregationType: {
|
|
1749
|
+
readonly Average: "Average";
|
|
1750
|
+
readonly Maximum: "Maximum";
|
|
1751
|
+
readonly Minimum: "Minimum";
|
|
1752
|
+
};
|
|
1753
|
+
/**
|
|
1754
|
+
* @public
|
|
1755
|
+
*/
|
|
1756
|
+
export type MetricAggregationType = (typeof MetricAggregationType)[keyof typeof MetricAggregationType];
|
|
1727
1757
|
/**
|
|
1728
1758
|
* @public
|
|
1729
1759
|
* <p>Represents a step adjustment for a <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepScalingPolicyConfiguration.html">StepScalingPolicyConfiguration</a>. Describes an adjustment based on the difference
|
|
@@ -2025,14 +2055,19 @@ export interface TargetTrackingMetricDataQuery {
|
|
|
2025
2055
|
}
|
|
2026
2056
|
/**
|
|
2027
2057
|
* @public
|
|
2058
|
+
* @enum
|
|
2028
2059
|
*/
|
|
2029
|
-
export declare
|
|
2030
|
-
Average
|
|
2031
|
-
Maximum
|
|
2032
|
-
Minimum
|
|
2033
|
-
SampleCount
|
|
2034
|
-
Sum
|
|
2035
|
-
}
|
|
2060
|
+
export declare const MetricStatistic: {
|
|
2061
|
+
readonly Average: "Average";
|
|
2062
|
+
readonly Maximum: "Maximum";
|
|
2063
|
+
readonly Minimum: "Minimum";
|
|
2064
|
+
readonly SampleCount: "SampleCount";
|
|
2065
|
+
readonly Sum: "Sum";
|
|
2066
|
+
};
|
|
2067
|
+
/**
|
|
2068
|
+
* @public
|
|
2069
|
+
*/
|
|
2070
|
+
export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
2036
2071
|
/**
|
|
2037
2072
|
* @public
|
|
2038
2073
|
* <p>Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use
|
|
@@ -2092,30 +2127,35 @@ export interface CustomizedMetricSpecification {
|
|
|
2092
2127
|
}
|
|
2093
2128
|
/**
|
|
2094
2129
|
* @public
|
|
2130
|
+
* @enum
|
|
2095
2131
|
*/
|
|
2096
|
-
export declare
|
|
2097
|
-
ALBRequestCountPerTarget
|
|
2098
|
-
AppStreamAverageCapacityUtilization
|
|
2099
|
-
CassandraReadCapacityUtilization
|
|
2100
|
-
CassandraWriteCapacityUtilization
|
|
2101
|
-
ComprehendInferenceUtilization
|
|
2102
|
-
DynamoDBReadCapacityUtilization
|
|
2103
|
-
DynamoDBWriteCapacityUtilization
|
|
2104
|
-
EC2SpotFleetRequestAverageCPUUtilization
|
|
2105
|
-
EC2SpotFleetRequestAverageNetworkIn
|
|
2106
|
-
EC2SpotFleetRequestAverageNetworkOut
|
|
2107
|
-
ECSServiceAverageCPUUtilization
|
|
2108
|
-
ECSServiceAverageMemoryUtilization
|
|
2109
|
-
ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage
|
|
2110
|
-
ElastiCachePrimaryEngineCPUUtilization
|
|
2111
|
-
ElastiCacheReplicaEngineCPUUtilization
|
|
2112
|
-
KafkaBrokerStorageUtilization
|
|
2113
|
-
LambdaProvisionedConcurrencyUtilization
|
|
2114
|
-
NeptuneReaderAverageCPUUtilization
|
|
2115
|
-
RDSReaderAverageCPUUtilization
|
|
2116
|
-
RDSReaderAverageDatabaseConnections
|
|
2117
|
-
SageMakerVariantInvocationsPerInstance
|
|
2118
|
-
}
|
|
2132
|
+
export declare const MetricType: {
|
|
2133
|
+
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
2134
|
+
readonly AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization";
|
|
2135
|
+
readonly CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization";
|
|
2136
|
+
readonly CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization";
|
|
2137
|
+
readonly ComprehendInferenceUtilization: "ComprehendInferenceUtilization";
|
|
2138
|
+
readonly DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization";
|
|
2139
|
+
readonly DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization";
|
|
2140
|
+
readonly EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization";
|
|
2141
|
+
readonly EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn";
|
|
2142
|
+
readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
|
|
2143
|
+
readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
|
|
2144
|
+
readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
|
|
2145
|
+
readonly ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage";
|
|
2146
|
+
readonly ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization";
|
|
2147
|
+
readonly ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization";
|
|
2148
|
+
readonly KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization";
|
|
2149
|
+
readonly LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization";
|
|
2150
|
+
readonly NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization";
|
|
2151
|
+
readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
|
|
2152
|
+
readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
|
|
2153
|
+
readonly SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance";
|
|
2154
|
+
};
|
|
2155
|
+
/**
|
|
2156
|
+
* @public
|
|
2157
|
+
*/
|
|
2158
|
+
export type MetricType = (typeof MetricType)[keyof typeof MetricType];
|
|
2119
2159
|
/**
|
|
2120
2160
|
* @public
|
|
2121
2161
|
* <p>Represents a predefined metric for a target tracking scaling policy to use with
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ApplicationAutoScalingServiceException as __BaseException } from "./ApplicationAutoScalingServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
ChangeInCapacity
|
|
5
|
-
ExactCapacity
|
|
6
|
-
PercentChangeInCapacity
|
|
7
|
-
}
|
|
3
|
+
export declare const AdjustmentType: {
|
|
4
|
+
readonly ChangeInCapacity: "ChangeInCapacity";
|
|
5
|
+
readonly ExactCapacity: "ExactCapacity";
|
|
6
|
+
readonly PercentChangeInCapacity: "PercentChangeInCapacity";
|
|
7
|
+
};
|
|
8
|
+
export type AdjustmentType =
|
|
9
|
+
(typeof AdjustmentType)[keyof typeof AdjustmentType];
|
|
8
10
|
export interface Alarm {
|
|
9
11
|
AlarmName: string | undefined;
|
|
10
12
|
AlarmARN: string | undefined;
|
|
@@ -17,44 +19,48 @@ export declare class ConcurrentUpdateException extends __BaseException {
|
|
|
17
19
|
opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>
|
|
18
20
|
);
|
|
19
21
|
}
|
|
20
|
-
export declare
|
|
21
|
-
AppstreamFleetDesiredCapacity
|
|
22
|
-
CassandraTableReadCapacityUnits
|
|
23
|
-
CassandraTableWriteCapacityUnits
|
|
24
|
-
ComprehendDocClassifierEndpointInferenceUnits
|
|
25
|
-
ComprehendEntityRecognizerEndpointInferenceUnits
|
|
26
|
-
CustomResourceScalableDimension
|
|
27
|
-
DynamoDBIndexReadCapacityUnits
|
|
28
|
-
DynamoDBIndexWriteCapacityUnits
|
|
29
|
-
DynamoDBTableReadCapacityUnits
|
|
30
|
-
DynamoDBTableWriteCapacityUnits
|
|
31
|
-
EC2SpotFleetRequestTargetCapacity
|
|
32
|
-
ECSServiceDesiredCount
|
|
33
|
-
EMRInstanceGroupInstanceCount
|
|
34
|
-
ElastiCacheReplicationGroupNodeGroups
|
|
35
|
-
ElastiCacheReplicationGroupReplicas
|
|
36
|
-
KafkaBrokerStorageVolumeSize
|
|
37
|
-
LambdaFunctionProvisionedConcurrency
|
|
38
|
-
NeptuneClusterReadReplicaCount
|
|
39
|
-
RDSClusterReadReplicaCount
|
|
40
|
-
SageMakerVariantDesiredInstanceCount
|
|
41
|
-
}
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
22
|
+
export declare const ScalableDimension: {
|
|
23
|
+
readonly AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity";
|
|
24
|
+
readonly CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits";
|
|
25
|
+
readonly CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits";
|
|
26
|
+
readonly ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits";
|
|
27
|
+
readonly ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits";
|
|
28
|
+
readonly CustomResourceScalableDimension: "custom-resource:ResourceType:Property";
|
|
29
|
+
readonly DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits";
|
|
30
|
+
readonly DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits";
|
|
31
|
+
readonly DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits";
|
|
32
|
+
readonly DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits";
|
|
33
|
+
readonly EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity";
|
|
34
|
+
readonly ECSServiceDesiredCount: "ecs:service:DesiredCount";
|
|
35
|
+
readonly EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount";
|
|
36
|
+
readonly ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups";
|
|
37
|
+
readonly ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas";
|
|
38
|
+
readonly KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize";
|
|
39
|
+
readonly LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency";
|
|
40
|
+
readonly NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount";
|
|
41
|
+
readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
|
|
42
|
+
readonly SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount";
|
|
43
|
+
};
|
|
44
|
+
export type ScalableDimension =
|
|
45
|
+
(typeof ScalableDimension)[keyof typeof ScalableDimension];
|
|
46
|
+
export declare const ServiceNamespace: {
|
|
47
|
+
readonly APPSTREAM: "appstream";
|
|
48
|
+
readonly CASSANDRA: "cassandra";
|
|
49
|
+
readonly COMPREHEND: "comprehend";
|
|
50
|
+
readonly CUSTOM_RESOURCE: "custom-resource";
|
|
51
|
+
readonly DYNAMODB: "dynamodb";
|
|
52
|
+
readonly EC2: "ec2";
|
|
53
|
+
readonly ECS: "ecs";
|
|
54
|
+
readonly ELASTICACHE: "elasticache";
|
|
55
|
+
readonly EMR: "elasticmapreduce";
|
|
56
|
+
readonly KAFKA: "kafka";
|
|
57
|
+
readonly LAMBDA: "lambda";
|
|
58
|
+
readonly NEPTUNE: "neptune";
|
|
59
|
+
readonly RDS: "rds";
|
|
60
|
+
readonly SAGEMAKER: "sagemaker";
|
|
61
|
+
};
|
|
62
|
+
export type ServiceNamespace =
|
|
63
|
+
(typeof ServiceNamespace)[keyof typeof ServiceNamespace];
|
|
58
64
|
export interface DeleteScalingPolicyRequest {
|
|
59
65
|
PolicyName: string | undefined;
|
|
60
66
|
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
@@ -148,14 +154,16 @@ export interface NotScaledReason {
|
|
|
148
154
|
MinCapacity?: number;
|
|
149
155
|
CurrentCapacity?: number;
|
|
150
156
|
}
|
|
151
|
-
export declare
|
|
152
|
-
Failed
|
|
153
|
-
InProgress
|
|
154
|
-
Overridden
|
|
155
|
-
Pending
|
|
156
|
-
Successful
|
|
157
|
-
Unfulfilled
|
|
158
|
-
}
|
|
157
|
+
export declare const ScalingActivityStatusCode: {
|
|
158
|
+
readonly Failed: "Failed";
|
|
159
|
+
readonly InProgress: "InProgress";
|
|
160
|
+
readonly Overridden: "Overridden";
|
|
161
|
+
readonly Pending: "Pending";
|
|
162
|
+
readonly Successful: "Successful";
|
|
163
|
+
readonly Unfulfilled: "Unfulfilled";
|
|
164
|
+
};
|
|
165
|
+
export type ScalingActivityStatusCode =
|
|
166
|
+
(typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
|
|
159
167
|
export interface ScalingActivity {
|
|
160
168
|
ActivityId: string | undefined;
|
|
161
169
|
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
@@ -182,15 +190,18 @@ export interface DescribeScalingPoliciesRequest {
|
|
|
182
190
|
MaxResults?: number;
|
|
183
191
|
NextToken?: string;
|
|
184
192
|
}
|
|
185
|
-
export declare
|
|
186
|
-
StepScaling
|
|
187
|
-
TargetTrackingScaling
|
|
188
|
-
}
|
|
189
|
-
export
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
193
|
+
export declare const PolicyType: {
|
|
194
|
+
readonly StepScaling: "StepScaling";
|
|
195
|
+
readonly TargetTrackingScaling: "TargetTrackingScaling";
|
|
196
|
+
};
|
|
197
|
+
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
198
|
+
export declare const MetricAggregationType: {
|
|
199
|
+
readonly Average: "Average";
|
|
200
|
+
readonly Maximum: "Maximum";
|
|
201
|
+
readonly Minimum: "Minimum";
|
|
202
|
+
};
|
|
203
|
+
export type MetricAggregationType =
|
|
204
|
+
(typeof MetricAggregationType)[keyof typeof MetricAggregationType];
|
|
194
205
|
export interface StepAdjustment {
|
|
195
206
|
MetricIntervalLowerBound?: number;
|
|
196
207
|
MetricIntervalUpperBound?: number;
|
|
@@ -228,13 +239,15 @@ export interface TargetTrackingMetricDataQuery {
|
|
|
228
239
|
MetricStat?: TargetTrackingMetricStat;
|
|
229
240
|
ReturnData?: boolean;
|
|
230
241
|
}
|
|
231
|
-
export declare
|
|
232
|
-
Average
|
|
233
|
-
Maximum
|
|
234
|
-
Minimum
|
|
235
|
-
SampleCount
|
|
236
|
-
Sum
|
|
237
|
-
}
|
|
242
|
+
export declare const MetricStatistic: {
|
|
243
|
+
readonly Average: "Average";
|
|
244
|
+
readonly Maximum: "Maximum";
|
|
245
|
+
readonly Minimum: "Minimum";
|
|
246
|
+
readonly SampleCount: "SampleCount";
|
|
247
|
+
readonly Sum: "Sum";
|
|
248
|
+
};
|
|
249
|
+
export type MetricStatistic =
|
|
250
|
+
(typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
238
251
|
export interface CustomizedMetricSpecification {
|
|
239
252
|
MetricName?: string;
|
|
240
253
|
Namespace?: string;
|
|
@@ -243,29 +256,30 @@ export interface CustomizedMetricSpecification {
|
|
|
243
256
|
Unit?: string;
|
|
244
257
|
Metrics?: TargetTrackingMetricDataQuery[];
|
|
245
258
|
}
|
|
246
|
-
export declare
|
|
247
|
-
ALBRequestCountPerTarget
|
|
248
|
-
AppStreamAverageCapacityUtilization
|
|
249
|
-
CassandraReadCapacityUtilization
|
|
250
|
-
CassandraWriteCapacityUtilization
|
|
251
|
-
ComprehendInferenceUtilization
|
|
252
|
-
DynamoDBReadCapacityUtilization
|
|
253
|
-
DynamoDBWriteCapacityUtilization
|
|
254
|
-
EC2SpotFleetRequestAverageCPUUtilization
|
|
255
|
-
EC2SpotFleetRequestAverageNetworkIn
|
|
256
|
-
EC2SpotFleetRequestAverageNetworkOut
|
|
257
|
-
ECSServiceAverageCPUUtilization
|
|
258
|
-
ECSServiceAverageMemoryUtilization
|
|
259
|
-
ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage
|
|
260
|
-
ElastiCachePrimaryEngineCPUUtilization
|
|
261
|
-
ElastiCacheReplicaEngineCPUUtilization
|
|
262
|
-
KafkaBrokerStorageUtilization
|
|
263
|
-
LambdaProvisionedConcurrencyUtilization
|
|
264
|
-
NeptuneReaderAverageCPUUtilization
|
|
265
|
-
RDSReaderAverageCPUUtilization
|
|
266
|
-
RDSReaderAverageDatabaseConnections
|
|
267
|
-
SageMakerVariantInvocationsPerInstance
|
|
268
|
-
}
|
|
259
|
+
export declare const MetricType: {
|
|
260
|
+
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
261
|
+
readonly AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization";
|
|
262
|
+
readonly CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization";
|
|
263
|
+
readonly CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization";
|
|
264
|
+
readonly ComprehendInferenceUtilization: "ComprehendInferenceUtilization";
|
|
265
|
+
readonly DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization";
|
|
266
|
+
readonly DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization";
|
|
267
|
+
readonly EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization";
|
|
268
|
+
readonly EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn";
|
|
269
|
+
readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
|
|
270
|
+
readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
|
|
271
|
+
readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
|
|
272
|
+
readonly ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage";
|
|
273
|
+
readonly ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization";
|
|
274
|
+
readonly ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization";
|
|
275
|
+
readonly KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization";
|
|
276
|
+
readonly LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization";
|
|
277
|
+
readonly NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization";
|
|
278
|
+
readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
|
|
279
|
+
readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
|
|
280
|
+
readonly SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance";
|
|
281
|
+
};
|
|
282
|
+
export type MetricType = (typeof MetricType)[keyof typeof MetricType];
|
|
269
283
|
export interface PredefinedMetricSpecification {
|
|
270
284
|
PredefinedMetricType: MetricType | string | undefined;
|
|
271
285
|
ResourceLabel?: string;
|