@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,71 +1,19 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ApplicationAutoScalingServiceException as __BaseException } from "./ApplicationAutoScalingServiceException";
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];
1
+ import {
2
+ AdjustmentType,
3
+ MetricAggregationType,
4
+ MetricStatistic,
5
+ MetricType,
6
+ PolicyType,
7
+ PredictiveScalingMaxCapacityBreachBehavior,
8
+ PredictiveScalingMode,
9
+ ScalableDimension,
10
+ ScalingActivityStatusCode,
11
+ ServiceNamespace,
12
+ } from "./enums";
10
13
  export interface Alarm {
11
14
  AlarmName: string | undefined;
12
15
  AlarmARN: string | undefined;
13
16
  }
14
- export declare class ConcurrentUpdateException extends __BaseException {
15
- readonly name: "ConcurrentUpdateException";
16
- readonly $fault: "server";
17
- Message?: string | undefined;
18
- constructor(
19
- opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>
20
- );
21
- }
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 ElastiCacheCacheClusterNodes: "elasticache:cache-cluster:Nodes";
37
- readonly ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups";
38
- readonly ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas";
39
- readonly KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize";
40
- readonly LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency";
41
- readonly NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount";
42
- readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
43
- readonly SageMakerInferenceComponentDesiredCopyCount: "sagemaker:inference-component:DesiredCopyCount";
44
- readonly SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount";
45
- readonly SageMakerVariantDesiredProvisionedConcurrency: "sagemaker:variant:DesiredProvisionedConcurrency";
46
- readonly WorkSpacesWorkSpacesPoolDesiredUserSessions: "workspaces:workspacespool:DesiredUserSessions";
47
- };
48
- export type ScalableDimension =
49
- (typeof ScalableDimension)[keyof typeof ScalableDimension];
50
- export declare const ServiceNamespace: {
51
- readonly APPSTREAM: "appstream";
52
- readonly CASSANDRA: "cassandra";
53
- readonly COMPREHEND: "comprehend";
54
- readonly CUSTOM_RESOURCE: "custom-resource";
55
- readonly DYNAMODB: "dynamodb";
56
- readonly EC2: "ec2";
57
- readonly ECS: "ecs";
58
- readonly ELASTICACHE: "elasticache";
59
- readonly EMR: "elasticmapreduce";
60
- readonly KAFKA: "kafka";
61
- readonly LAMBDA: "lambda";
62
- readonly NEPTUNE: "neptune";
63
- readonly RDS: "rds";
64
- readonly SAGEMAKER: "sagemaker";
65
- readonly WORKSPACES: "workspaces";
66
- };
67
- export type ServiceNamespace =
68
- (typeof ServiceNamespace)[keyof typeof ServiceNamespace];
69
17
  export interface DeleteScalingPolicyRequest {
70
18
  PolicyName: string | undefined;
71
19
  ServiceNamespace: ServiceNamespace | undefined;
@@ -73,30 +21,6 @@ export interface DeleteScalingPolicyRequest {
73
21
  ScalableDimension: ScalableDimension | undefined;
74
22
  }
75
23
  export interface DeleteScalingPolicyResponse {}
76
- export declare class InternalServiceException extends __BaseException {
77
- readonly name: "InternalServiceException";
78
- readonly $fault: "server";
79
- Message?: string | undefined;
80
- constructor(
81
- opts: __ExceptionOptionType<InternalServiceException, __BaseException>
82
- );
83
- }
84
- export declare class ObjectNotFoundException extends __BaseException {
85
- readonly name: "ObjectNotFoundException";
86
- readonly $fault: "client";
87
- Message?: string | undefined;
88
- constructor(
89
- opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>
90
- );
91
- }
92
- export declare class ValidationException extends __BaseException {
93
- readonly name: "ValidationException";
94
- readonly $fault: "client";
95
- Message?: string | undefined;
96
- constructor(
97
- opts: __ExceptionOptionType<ValidationException, __BaseException>
98
- );
99
- }
100
24
  export interface DeleteScheduledActionRequest {
101
25
  ServiceNamespace: ServiceNamespace | undefined;
102
26
  ScheduledActionName: string | undefined;
@@ -138,14 +62,6 @@ export interface DescribeScalableTargetsResponse {
138
62
  ScalableTargets?: ScalableTarget[] | undefined;
139
63
  NextToken?: string | undefined;
140
64
  }
141
- export declare class InvalidNextTokenException extends __BaseException {
142
- readonly name: "InvalidNextTokenException";
143
- readonly $fault: "client";
144
- Message?: string | undefined;
145
- constructor(
146
- opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
147
- );
148
- }
149
65
  export interface DescribeScalingActivitiesRequest {
150
66
  ServiceNamespace: ServiceNamespace | undefined;
151
67
  ResourceId?: string | undefined;
@@ -160,16 +76,6 @@ export interface NotScaledReason {
160
76
  MinCapacity?: number | undefined;
161
77
  CurrentCapacity?: number | undefined;
162
78
  }
163
- export declare const ScalingActivityStatusCode: {
164
- readonly Failed: "Failed";
165
- readonly InProgress: "InProgress";
166
- readonly Overridden: "Overridden";
167
- readonly Pending: "Pending";
168
- readonly Successful: "Successful";
169
- readonly Unfulfilled: "Unfulfilled";
170
- };
171
- export type ScalingActivityStatusCode =
172
- (typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
173
79
  export interface ScalingActivity {
174
80
  ActivityId: string | undefined;
175
81
  ServiceNamespace: ServiceNamespace | undefined;
@@ -196,18 +102,6 @@ export interface DescribeScalingPoliciesRequest {
196
102
  MaxResults?: number | undefined;
197
103
  NextToken?: string | undefined;
198
104
  }
199
- export declare const PolicyType: {
200
- readonly PredictiveScaling: "PredictiveScaling";
201
- readonly StepScaling: "StepScaling";
202
- readonly TargetTrackingScaling: "TargetTrackingScaling";
203
- };
204
- export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
205
- export declare const PredictiveScalingMaxCapacityBreachBehavior: {
206
- readonly HonorMaxCapacity: "HonorMaxCapacity";
207
- readonly IncreaseMaxCapacity: "IncreaseMaxCapacity";
208
- };
209
- export type PredictiveScalingMaxCapacityBreachBehavior =
210
- (typeof PredictiveScalingMaxCapacityBreachBehavior)[keyof typeof PredictiveScalingMaxCapacityBreachBehavior];
211
105
  export interface PredictiveScalingMetricDimension {
212
106
  Name: string | undefined;
213
107
  Value: string | undefined;
@@ -265,12 +159,6 @@ export interface PredictiveScalingMetricSpecification {
265
159
  | PredictiveScalingCustomizedMetricSpecification
266
160
  | undefined;
267
161
  }
268
- export declare const PredictiveScalingMode: {
269
- readonly ForecastAndScale: "ForecastAndScale";
270
- readonly ForecastOnly: "ForecastOnly";
271
- };
272
- export type PredictiveScalingMode =
273
- (typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
274
162
  export interface PredictiveScalingPolicyConfiguration {
275
163
  MetricSpecifications: PredictiveScalingMetricSpecification[] | undefined;
276
164
  Mode?: PredictiveScalingMode | undefined;
@@ -280,13 +168,6 @@ export interface PredictiveScalingPolicyConfiguration {
280
168
  | undefined;
281
169
  MaxCapacityBuffer?: number | undefined;
282
170
  }
283
- export declare const MetricAggregationType: {
284
- readonly Average: "Average";
285
- readonly Maximum: "Maximum";
286
- readonly Minimum: "Minimum";
287
- };
288
- export type MetricAggregationType =
289
- (typeof MetricAggregationType)[keyof typeof MetricAggregationType];
290
171
  export interface StepAdjustment {
291
172
  MetricIntervalLowerBound?: number | undefined;
292
173
  MetricIntervalUpperBound?: number | undefined;
@@ -324,15 +205,6 @@ export interface TargetTrackingMetricDataQuery {
324
205
  MetricStat?: TargetTrackingMetricStat | undefined;
325
206
  ReturnData?: boolean | undefined;
326
207
  }
327
- export declare const MetricStatistic: {
328
- readonly Average: "Average";
329
- readonly Maximum: "Maximum";
330
- readonly Minimum: "Minimum";
331
- readonly SampleCount: "SampleCount";
332
- readonly Sum: "Sum";
333
- };
334
- export type MetricStatistic =
335
- (typeof MetricStatistic)[keyof typeof MetricStatistic];
336
208
  export interface CustomizedMetricSpecification {
337
209
  MetricName?: string | undefined;
338
210
  Namespace?: string | undefined;
@@ -341,38 +213,6 @@ export interface CustomizedMetricSpecification {
341
213
  Unit?: string | undefined;
342
214
  Metrics?: TargetTrackingMetricDataQuery[] | undefined;
343
215
  }
344
- export declare const MetricType: {
345
- readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
346
- readonly AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization";
347
- readonly CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization";
348
- readonly CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization";
349
- readonly ComprehendInferenceUtilization: "ComprehendInferenceUtilization";
350
- readonly DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization";
351
- readonly DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization";
352
- readonly EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization";
353
- readonly EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn";
354
- readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
355
- readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
356
- readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
357
- readonly ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage";
358
- readonly ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage";
359
- readonly ElastiCacheDatabaseMemoryUsagePercentage: "ElastiCacheDatabaseMemoryUsagePercentage";
360
- readonly ElastiCacheEngineCPUUtilization: "ElastiCacheEngineCPUUtilization";
361
- readonly ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization";
362
- readonly ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization";
363
- readonly KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization";
364
- readonly LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization";
365
- readonly NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization";
366
- readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
367
- readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
368
- readonly SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution: "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution";
369
- readonly SageMakerInferenceComponentInvocationsPerCopy: "SageMakerInferenceComponentInvocationsPerCopy";
370
- readonly SageMakerVariantConcurrentRequestsPerModelHighResolution: "SageMakerVariantConcurrentRequestsPerModelHighResolution";
371
- readonly SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance";
372
- readonly SageMakerVariantProvisionedConcurrencyUtilization: "SageMakerVariantProvisionedConcurrencyUtilization";
373
- readonly WorkSpacesAverageUserSessionsCapacityUtilization: "WorkSpacesAverageUserSessionsCapacityUtilization";
374
- };
375
- export type MetricType = (typeof MetricType)[keyof typeof MetricType];
376
216
  export interface PredefinedMetricSpecification {
377
217
  PredefinedMetricType: MetricType | undefined;
378
218
  ResourceLabel?: string | undefined;
@@ -406,14 +246,6 @@ export interface DescribeScalingPoliciesResponse {
406
246
  ScalingPolicies?: ScalingPolicy[] | undefined;
407
247
  NextToken?: string | undefined;
408
248
  }
409
- export declare class FailedResourceAccessException extends __BaseException {
410
- readonly name: "FailedResourceAccessException";
411
- readonly $fault: "client";
412
- Message?: string | undefined;
413
- constructor(
414
- opts: __ExceptionOptionType<FailedResourceAccessException, __BaseException>
415
- );
416
- }
417
249
  export interface DescribeScheduledActionsRequest {
418
250
  ScheduledActionNames?: string[] | undefined;
419
251
  ServiceNamespace: ServiceNamespace | undefined;
@@ -471,23 +303,6 @@ export interface ListTagsForResourceRequest {
471
303
  export interface ListTagsForResourceResponse {
472
304
  Tags?: Record<string, string> | undefined;
473
305
  }
474
- export declare class ResourceNotFoundException extends __BaseException {
475
- readonly name: "ResourceNotFoundException";
476
- readonly $fault: "client";
477
- Message?: string | undefined;
478
- ResourceName?: string | undefined;
479
- constructor(
480
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
481
- );
482
- }
483
- export declare class LimitExceededException extends __BaseException {
484
- readonly name: "LimitExceededException";
485
- readonly $fault: "client";
486
- Message?: string | undefined;
487
- constructor(
488
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
489
- );
490
- }
491
306
  export interface PutScalingPolicyRequest {
492
307
  PolicyName: string | undefined;
493
308
  ServiceNamespace: ServiceNamespace | undefined;
@@ -536,15 +351,6 @@ export interface TagResourceRequest {
536
351
  Tags: Record<string, string> | undefined;
537
352
  }
538
353
  export interface TagResourceResponse {}
539
- export declare class TooManyTagsException extends __BaseException {
540
- readonly name: "TooManyTagsException";
541
- readonly $fault: "client";
542
- Message?: string | undefined;
543
- ResourceName?: string | undefined;
544
- constructor(
545
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
546
- );
547
- }
548
354
  export interface UntagResourceRequest {
549
355
  ResourceARN: string | undefined;
550
356
  TagKeys: string[] | undefined;
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.933.0",
4
+ "version": "3.935.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,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";