@aws-sdk/client-application-auto-scaling 3.933.0 → 3.935.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.
@@ -1,18 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ApplicationAutoScalingServiceException as __BaseException } from "./ApplicationAutoScalingServiceException";
3
- /**
4
- * @public
5
- * @enum
6
- */
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];
1
+ import { AdjustmentType, MetricAggregationType, MetricStatistic, MetricType, PolicyType, PredictiveScalingMaxCapacityBreachBehavior, PredictiveScalingMode, ScalableDimension, ScalingActivityStatusCode, ServiceNamespace } from "./enums";
16
2
  /**
17
3
  * <p>Represents a CloudWatch alarm associated with a scaling policy.</p>
18
4
  * @public
@@ -29,79 +15,6 @@ export interface Alarm {
29
15
  */
30
16
  AlarmARN: string | undefined;
31
17
  }
32
- /**
33
- * <p>Concurrent updates caused an exception, for example, if you request an update to an
34
- * Application Auto Scaling resource that already has a pending update.</p>
35
- * @public
36
- */
37
- export declare class ConcurrentUpdateException extends __BaseException {
38
- readonly name: "ConcurrentUpdateException";
39
- readonly $fault: "server";
40
- Message?: string | undefined;
41
- /**
42
- * @internal
43
- */
44
- constructor(opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>);
45
- }
46
- /**
47
- * @public
48
- * @enum
49
- */
50
- export declare const ScalableDimension: {
51
- readonly AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity";
52
- readonly CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits";
53
- readonly CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits";
54
- readonly ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits";
55
- readonly ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits";
56
- readonly CustomResourceScalableDimension: "custom-resource:ResourceType:Property";
57
- readonly DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits";
58
- readonly DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits";
59
- readonly DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits";
60
- readonly DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits";
61
- readonly EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity";
62
- readonly ECSServiceDesiredCount: "ecs:service:DesiredCount";
63
- readonly EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount";
64
- readonly ElastiCacheCacheClusterNodes: "elasticache:cache-cluster:Nodes";
65
- readonly ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups";
66
- readonly ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas";
67
- readonly KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize";
68
- readonly LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency";
69
- readonly NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount";
70
- readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
71
- readonly SageMakerInferenceComponentDesiredCopyCount: "sagemaker:inference-component:DesiredCopyCount";
72
- readonly SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount";
73
- readonly SageMakerVariantDesiredProvisionedConcurrency: "sagemaker:variant:DesiredProvisionedConcurrency";
74
- readonly WorkSpacesWorkSpacesPoolDesiredUserSessions: "workspaces:workspacespool:DesiredUserSessions";
75
- };
76
- /**
77
- * @public
78
- */
79
- export type ScalableDimension = (typeof ScalableDimension)[keyof typeof ScalableDimension];
80
- /**
81
- * @public
82
- * @enum
83
- */
84
- export declare const ServiceNamespace: {
85
- readonly APPSTREAM: "appstream";
86
- readonly CASSANDRA: "cassandra";
87
- readonly COMPREHEND: "comprehend";
88
- readonly CUSTOM_RESOURCE: "custom-resource";
89
- readonly DYNAMODB: "dynamodb";
90
- readonly EC2: "ec2";
91
- readonly ECS: "ecs";
92
- readonly ELASTICACHE: "elasticache";
93
- readonly EMR: "elasticmapreduce";
94
- readonly KAFKA: "kafka";
95
- readonly LAMBDA: "lambda";
96
- readonly NEPTUNE: "neptune";
97
- readonly RDS: "rds";
98
- readonly SAGEMAKER: "sagemaker";
99
- readonly WORKSPACES: "workspaces";
100
- };
101
- /**
102
- * @public
103
- */
104
- export type ServiceNamespace = (typeof ServiceNamespace)[keyof typeof ServiceNamespace];
105
18
  /**
106
19
  * @public
107
20
  */
@@ -312,50 +225,6 @@ export interface DeleteScalingPolicyRequest {
312
225
  */
313
226
  export interface DeleteScalingPolicyResponse {
314
227
  }
315
- /**
316
- * <p>The service encountered an internal error.</p>
317
- * @public
318
- */
319
- export declare class InternalServiceException extends __BaseException {
320
- readonly name: "InternalServiceException";
321
- readonly $fault: "server";
322
- Message?: string | undefined;
323
- /**
324
- * @internal
325
- */
326
- constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
327
- }
328
- /**
329
- * <p>The specified object could not be found. For any operation that depends on the existence
330
- * of a scalable target, this exception is thrown if the scalable target with the specified
331
- * service namespace, resource ID, and scalable dimension does not exist. For any operation
332
- * that deletes or deregisters a resource, this exception is thrown if the resource cannot be
333
- * found.</p>
334
- * @public
335
- */
336
- export declare class ObjectNotFoundException extends __BaseException {
337
- readonly name: "ObjectNotFoundException";
338
- readonly $fault: "client";
339
- Message?: string | undefined;
340
- /**
341
- * @internal
342
- */
343
- constructor(opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>);
344
- }
345
- /**
346
- * <p>An exception was thrown for a validation issue. Review the available parameters for the
347
- * API request.</p>
348
- * @public
349
- */
350
- export declare class ValidationException extends __BaseException {
351
- readonly name: "ValidationException";
352
- readonly $fault: "client";
353
- Message?: string | undefined;
354
- /**
355
- * @internal
356
- */
357
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
358
- }
359
228
  /**
360
229
  * @public
361
230
  */
@@ -1274,19 +1143,6 @@ export interface DescribeScalableTargetsResponse {
1274
1143
  */
1275
1144
  NextToken?: string | undefined;
1276
1145
  }
1277
- /**
1278
- * <p>The next token supplied was invalid.</p>
1279
- * @public
1280
- */
1281
- export declare class InvalidNextTokenException extends __BaseException {
1282
- readonly name: "InvalidNextTokenException";
1283
- readonly $fault: "client";
1284
- Message?: string | undefined;
1285
- /**
1286
- * @internal
1287
- */
1288
- constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
1289
- }
1290
1146
  /**
1291
1147
  * @public
1292
1148
  */
@@ -1559,22 +1415,6 @@ export interface NotScaledReason {
1559
1415
  */
1560
1416
  CurrentCapacity?: number | undefined;
1561
1417
  }
1562
- /**
1563
- * @public
1564
- * @enum
1565
- */
1566
- export declare const ScalingActivityStatusCode: {
1567
- readonly Failed: "Failed";
1568
- readonly InProgress: "InProgress";
1569
- readonly Overridden: "Overridden";
1570
- readonly Pending: "Pending";
1571
- readonly Successful: "Successful";
1572
- readonly Unfulfilled: "Unfulfilled";
1573
- };
1574
- /**
1575
- * @public
1576
- */
1577
- export type ScalingActivityStatusCode = (typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
1578
1418
  /**
1579
1419
  * <p>Represents a scaling activity.</p>
1580
1420
  * @public
@@ -2060,31 +1900,6 @@ export interface DescribeScalingPoliciesRequest {
2060
1900
  */
2061
1901
  NextToken?: string | undefined;
2062
1902
  }
2063
- /**
2064
- * @public
2065
- * @enum
2066
- */
2067
- export declare const PolicyType: {
2068
- readonly PredictiveScaling: "PredictiveScaling";
2069
- readonly StepScaling: "StepScaling";
2070
- readonly TargetTrackingScaling: "TargetTrackingScaling";
2071
- };
2072
- /**
2073
- * @public
2074
- */
2075
- export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
2076
- /**
2077
- * @public
2078
- * @enum
2079
- */
2080
- export declare const PredictiveScalingMaxCapacityBreachBehavior: {
2081
- readonly HonorMaxCapacity: "HonorMaxCapacity";
2082
- readonly IncreaseMaxCapacity: "IncreaseMaxCapacity";
2083
- };
2084
- /**
2085
- * @public
2086
- */
2087
- export type PredictiveScalingMaxCapacityBreachBehavior = (typeof PredictiveScalingMaxCapacityBreachBehavior)[keyof typeof PredictiveScalingMaxCapacityBreachBehavior];
2088
1903
  /**
2089
1904
  * <p>
2090
1905
  * Describes the dimension of a metric.
@@ -2534,18 +2349,6 @@ export interface PredictiveScalingMetricSpecification {
2534
2349
  */
2535
2350
  CustomizedCapacityMetricSpecification?: PredictiveScalingCustomizedMetricSpecification | undefined;
2536
2351
  }
2537
- /**
2538
- * @public
2539
- * @enum
2540
- */
2541
- export declare const PredictiveScalingMode: {
2542
- readonly ForecastAndScale: "ForecastAndScale";
2543
- readonly ForecastOnly: "ForecastOnly";
2544
- };
2545
- /**
2546
- * @public
2547
- */
2548
- export type PredictiveScalingMode = (typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
2549
2352
  /**
2550
2353
  * <p>
2551
2354
  * Represents a predictive scaling policy configuration. Predictive scaling is supported on Amazon ECS services.
@@ -2602,19 +2405,6 @@ export interface PredictiveScalingPolicyConfiguration {
2602
2405
  */
2603
2406
  MaxCapacityBuffer?: number | undefined;
2604
2407
  }
2605
- /**
2606
- * @public
2607
- * @enum
2608
- */
2609
- export declare const MetricAggregationType: {
2610
- readonly Average: "Average";
2611
- readonly Maximum: "Maximum";
2612
- readonly Minimum: "Minimum";
2613
- };
2614
- /**
2615
- * @public
2616
- */
2617
- export type MetricAggregationType = (typeof MetricAggregationType)[keyof typeof MetricAggregationType];
2618
2408
  /**
2619
2409
  * <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
2620
2410
  * between the value of the aggregated CloudWatch metric and the breach threshold that you've
@@ -2878,21 +2668,6 @@ export interface TargetTrackingMetricDataQuery {
2878
2668
  */
2879
2669
  ReturnData?: boolean | undefined;
2880
2670
  }
2881
- /**
2882
- * @public
2883
- * @enum
2884
- */
2885
- export declare const MetricStatistic: {
2886
- readonly Average: "Average";
2887
- readonly Maximum: "Maximum";
2888
- readonly Minimum: "Minimum";
2889
- readonly SampleCount: "SampleCount";
2890
- readonly Sum: "Sum";
2891
- };
2892
- /**
2893
- * @public
2894
- */
2895
- export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
2896
2671
  /**
2897
2672
  * <p>Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use
2898
2673
  * with Application Auto Scaling.</p>
@@ -2956,45 +2731,6 @@ export interface CustomizedMetricSpecification {
2956
2731
  */
2957
2732
  Metrics?: TargetTrackingMetricDataQuery[] | undefined;
2958
2733
  }
2959
- /**
2960
- * @public
2961
- * @enum
2962
- */
2963
- export declare const MetricType: {
2964
- readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
2965
- readonly AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization";
2966
- readonly CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization";
2967
- readonly CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization";
2968
- readonly ComprehendInferenceUtilization: "ComprehendInferenceUtilization";
2969
- readonly DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization";
2970
- readonly DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization";
2971
- readonly EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization";
2972
- readonly EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn";
2973
- readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
2974
- readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
2975
- readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
2976
- readonly ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage";
2977
- readonly ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage";
2978
- readonly ElastiCacheDatabaseMemoryUsagePercentage: "ElastiCacheDatabaseMemoryUsagePercentage";
2979
- readonly ElastiCacheEngineCPUUtilization: "ElastiCacheEngineCPUUtilization";
2980
- readonly ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization";
2981
- readonly ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization";
2982
- readonly KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization";
2983
- readonly LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization";
2984
- readonly NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization";
2985
- readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
2986
- readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
2987
- readonly SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution: "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution";
2988
- readonly SageMakerInferenceComponentInvocationsPerCopy: "SageMakerInferenceComponentInvocationsPerCopy";
2989
- readonly SageMakerVariantConcurrentRequestsPerModelHighResolution: "SageMakerVariantConcurrentRequestsPerModelHighResolution";
2990
- readonly SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance";
2991
- readonly SageMakerVariantProvisionedConcurrencyUtilization: "SageMakerVariantProvisionedConcurrencyUtilization";
2992
- readonly WorkSpacesAverageUserSessionsCapacityUtilization: "WorkSpacesAverageUserSessionsCapacityUtilization";
2993
- };
2994
- /**
2995
- * @public
2996
- */
2997
- export type MetricType = (typeof MetricType)[keyof typeof MetricType];
2998
2734
  /**
2999
2735
  * <p>Represents a predefined metric for a target tracking scaling policy to use with
3000
2736
  * Application Auto Scaling.</p>
@@ -3361,22 +3097,6 @@ export interface DescribeScalingPoliciesResponse {
3361
3097
  */
3362
3098
  NextToken?: string | undefined;
3363
3099
  }
3364
- /**
3365
- * <p>Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling
3366
- * is unable to retrieve the alarms associated with a scaling policy due to a client error,
3367
- * for example, if the role ARN specified for a scalable target does not have permission to
3368
- * call the CloudWatch <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> on your behalf.</p>
3369
- * @public
3370
- */
3371
- export declare class FailedResourceAccessException extends __BaseException {
3372
- readonly name: "FailedResourceAccessException";
3373
- readonly $fault: "client";
3374
- Message?: string | undefined;
3375
- /**
3376
- * @internal
3377
- */
3378
- constructor(opts: __ExceptionOptionType<FailedResourceAccessException, __BaseException>);
3379
- }
3380
3100
  /**
3381
3101
  * @public
3382
3102
  */
@@ -4059,37 +3779,6 @@ export interface ListTagsForResourceResponse {
4059
3779
  */
4060
3780
  Tags?: Record<string, string> | undefined;
4061
3781
  }
4062
- /**
4063
- * <p>The specified resource doesn't exist.</p>
4064
- * @public
4065
- */
4066
- export declare class ResourceNotFoundException extends __BaseException {
4067
- readonly name: "ResourceNotFoundException";
4068
- readonly $fault: "client";
4069
- Message?: string | undefined;
4070
- /**
4071
- * <p>The name of the Application Auto Scaling resource. This value is an Amazon Resource Name (ARN).</p>
4072
- * @public
4073
- */
4074
- ResourceName?: string | undefined;
4075
- /**
4076
- * @internal
4077
- */
4078
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
4079
- }
4080
- /**
4081
- * <p>A per-account resource limit is exceeded. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html">Application Auto Scaling service quotas</a>.</p>
4082
- * @public
4083
- */
4084
- export declare class LimitExceededException extends __BaseException {
4085
- readonly name: "LimitExceededException";
4086
- readonly $fault: "client";
4087
- Message?: string | undefined;
4088
- /**
4089
- * @internal
4090
- */
4091
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
4092
- }
4093
3782
  /**
4094
3783
  * @public
4095
3784
  */
@@ -4963,24 +4652,6 @@ export interface TagResourceRequest {
4963
4652
  */
4964
4653
  export interface TagResourceResponse {
4965
4654
  }
4966
- /**
4967
- * <p>The request contains too many tags. Try the request again with fewer tags.</p>
4968
- * @public
4969
- */
4970
- export declare class TooManyTagsException extends __BaseException {
4971
- readonly name: "TooManyTagsException";
4972
- readonly $fault: "client";
4973
- Message?: string | undefined;
4974
- /**
4975
- * <p>The name of the Application Auto Scaling resource. This value is an Amazon Resource Name (ARN).</p>
4976
- * @public
4977
- */
4978
- ResourceName?: string | undefined;
4979
- /**
4980
- * @internal
4981
- */
4982
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
4983
- }
4984
4655
  /**
4985
4656
  * @public
4986
4657
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ApplicationAutoScalingExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { ApplicationAutoScalingServiceException } from "./models/ApplicationAutoScalingServiceException";
@@ -0,0 +1,130 @@
1
+ export declare const AdjustmentType: {
2
+ readonly ChangeInCapacity: "ChangeInCapacity";
3
+ readonly ExactCapacity: "ExactCapacity";
4
+ readonly PercentChangeInCapacity: "PercentChangeInCapacity";
5
+ };
6
+ export type AdjustmentType =
7
+ (typeof AdjustmentType)[keyof typeof AdjustmentType];
8
+ export declare const ScalableDimension: {
9
+ readonly AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity";
10
+ readonly CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits";
11
+ readonly CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits";
12
+ readonly ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits";
13
+ readonly ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits";
14
+ readonly CustomResourceScalableDimension: "custom-resource:ResourceType:Property";
15
+ readonly DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits";
16
+ readonly DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits";
17
+ readonly DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits";
18
+ readonly DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits";
19
+ readonly EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity";
20
+ readonly ECSServiceDesiredCount: "ecs:service:DesiredCount";
21
+ readonly EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount";
22
+ readonly ElastiCacheCacheClusterNodes: "elasticache:cache-cluster:Nodes";
23
+ readonly ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups";
24
+ readonly ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas";
25
+ readonly KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize";
26
+ readonly LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency";
27
+ readonly NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount";
28
+ readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
29
+ readonly SageMakerInferenceComponentDesiredCopyCount: "sagemaker:inference-component:DesiredCopyCount";
30
+ readonly SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount";
31
+ readonly SageMakerVariantDesiredProvisionedConcurrency: "sagemaker:variant:DesiredProvisionedConcurrency";
32
+ readonly WorkSpacesWorkSpacesPoolDesiredUserSessions: "workspaces:workspacespool:DesiredUserSessions";
33
+ };
34
+ export type ScalableDimension =
35
+ (typeof ScalableDimension)[keyof typeof ScalableDimension];
36
+ export declare const ServiceNamespace: {
37
+ readonly APPSTREAM: "appstream";
38
+ readonly CASSANDRA: "cassandra";
39
+ readonly COMPREHEND: "comprehend";
40
+ readonly CUSTOM_RESOURCE: "custom-resource";
41
+ readonly DYNAMODB: "dynamodb";
42
+ readonly EC2: "ec2";
43
+ readonly ECS: "ecs";
44
+ readonly ELASTICACHE: "elasticache";
45
+ readonly EMR: "elasticmapreduce";
46
+ readonly KAFKA: "kafka";
47
+ readonly LAMBDA: "lambda";
48
+ readonly NEPTUNE: "neptune";
49
+ readonly RDS: "rds";
50
+ readonly SAGEMAKER: "sagemaker";
51
+ readonly WORKSPACES: "workspaces";
52
+ };
53
+ export type ServiceNamespace =
54
+ (typeof ServiceNamespace)[keyof typeof ServiceNamespace];
55
+ export declare const ScalingActivityStatusCode: {
56
+ readonly Failed: "Failed";
57
+ readonly InProgress: "InProgress";
58
+ readonly Overridden: "Overridden";
59
+ readonly Pending: "Pending";
60
+ readonly Successful: "Successful";
61
+ readonly Unfulfilled: "Unfulfilled";
62
+ };
63
+ export type ScalingActivityStatusCode =
64
+ (typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
65
+ export declare const PolicyType: {
66
+ readonly PredictiveScaling: "PredictiveScaling";
67
+ readonly StepScaling: "StepScaling";
68
+ readonly TargetTrackingScaling: "TargetTrackingScaling";
69
+ };
70
+ export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
71
+ export declare const PredictiveScalingMaxCapacityBreachBehavior: {
72
+ readonly HonorMaxCapacity: "HonorMaxCapacity";
73
+ readonly IncreaseMaxCapacity: "IncreaseMaxCapacity";
74
+ };
75
+ export type PredictiveScalingMaxCapacityBreachBehavior =
76
+ (typeof PredictiveScalingMaxCapacityBreachBehavior)[keyof typeof PredictiveScalingMaxCapacityBreachBehavior];
77
+ export declare const PredictiveScalingMode: {
78
+ readonly ForecastAndScale: "ForecastAndScale";
79
+ readonly ForecastOnly: "ForecastOnly";
80
+ };
81
+ export type PredictiveScalingMode =
82
+ (typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
83
+ export declare const MetricAggregationType: {
84
+ readonly Average: "Average";
85
+ readonly Maximum: "Maximum";
86
+ readonly Minimum: "Minimum";
87
+ };
88
+ export type MetricAggregationType =
89
+ (typeof MetricAggregationType)[keyof typeof MetricAggregationType];
90
+ export declare const MetricStatistic: {
91
+ readonly Average: "Average";
92
+ readonly Maximum: "Maximum";
93
+ readonly Minimum: "Minimum";
94
+ readonly SampleCount: "SampleCount";
95
+ readonly Sum: "Sum";
96
+ };
97
+ export type MetricStatistic =
98
+ (typeof MetricStatistic)[keyof typeof MetricStatistic];
99
+ export declare const MetricType: {
100
+ readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
101
+ readonly AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization";
102
+ readonly CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization";
103
+ readonly CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization";
104
+ readonly ComprehendInferenceUtilization: "ComprehendInferenceUtilization";
105
+ readonly DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization";
106
+ readonly DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization";
107
+ readonly EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization";
108
+ readonly EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn";
109
+ readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
110
+ readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
111
+ readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
112
+ readonly ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage";
113
+ readonly ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage";
114
+ readonly ElastiCacheDatabaseMemoryUsagePercentage: "ElastiCacheDatabaseMemoryUsagePercentage";
115
+ readonly ElastiCacheEngineCPUUtilization: "ElastiCacheEngineCPUUtilization";
116
+ readonly ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization";
117
+ readonly ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization";
118
+ readonly KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization";
119
+ readonly LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization";
120
+ readonly NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization";
121
+ readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
122
+ readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
123
+ readonly SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution: "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution";
124
+ readonly SageMakerInferenceComponentInvocationsPerCopy: "SageMakerInferenceComponentInvocationsPerCopy";
125
+ readonly SageMakerVariantConcurrentRequestsPerModelHighResolution: "SageMakerVariantConcurrentRequestsPerModelHighResolution";
126
+ readonly SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance";
127
+ readonly SageMakerVariantProvisionedConcurrencyUtilization: "SageMakerVariantProvisionedConcurrencyUtilization";
128
+ readonly WorkSpacesAverageUserSessionsCapacityUtilization: "WorkSpacesAverageUserSessionsCapacityUtilization";
129
+ };
130
+ export type MetricType = (typeof MetricType)[keyof typeof MetricType];
@@ -0,0 +1,76 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ApplicationAutoScalingServiceException as __BaseException } from "./ApplicationAutoScalingServiceException";
3
+ export declare class ConcurrentUpdateException extends __BaseException {
4
+ readonly name: "ConcurrentUpdateException";
5
+ readonly $fault: "server";
6
+ Message?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>
9
+ );
10
+ }
11
+ export declare class InternalServiceException extends __BaseException {
12
+ readonly name: "InternalServiceException";
13
+ readonly $fault: "server";
14
+ Message?: string | undefined;
15
+ constructor(
16
+ opts: __ExceptionOptionType<InternalServiceException, __BaseException>
17
+ );
18
+ }
19
+ export declare class ObjectNotFoundException extends __BaseException {
20
+ readonly name: "ObjectNotFoundException";
21
+ readonly $fault: "client";
22
+ Message?: string | undefined;
23
+ constructor(
24
+ opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>
25
+ );
26
+ }
27
+ export declare class ValidationException extends __BaseException {
28
+ readonly name: "ValidationException";
29
+ readonly $fault: "client";
30
+ Message?: string | undefined;
31
+ constructor(
32
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
33
+ );
34
+ }
35
+ export declare class InvalidNextTokenException extends __BaseException {
36
+ readonly name: "InvalidNextTokenException";
37
+ readonly $fault: "client";
38
+ Message?: string | undefined;
39
+ constructor(
40
+ opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
41
+ );
42
+ }
43
+ export declare class FailedResourceAccessException extends __BaseException {
44
+ readonly name: "FailedResourceAccessException";
45
+ readonly $fault: "client";
46
+ Message?: string | undefined;
47
+ constructor(
48
+ opts: __ExceptionOptionType<FailedResourceAccessException, __BaseException>
49
+ );
50
+ }
51
+ export declare class ResourceNotFoundException extends __BaseException {
52
+ readonly name: "ResourceNotFoundException";
53
+ readonly $fault: "client";
54
+ Message?: string | undefined;
55
+ ResourceName?: string | undefined;
56
+ constructor(
57
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
58
+ );
59
+ }
60
+ export declare class LimitExceededException extends __BaseException {
61
+ readonly name: "LimitExceededException";
62
+ readonly $fault: "client";
63
+ Message?: string | undefined;
64
+ constructor(
65
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
66
+ );
67
+ }
68
+ export declare class TooManyTagsException extends __BaseException {
69
+ readonly name: "TooManyTagsException";
70
+ readonly $fault: "client";
71
+ Message?: string | undefined;
72
+ ResourceName?: string | undefined;
73
+ constructor(
74
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
75
+ );
76
+ }