@aws-sdk/client-auto-scaling-plans 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.
package/dist-cjs/index.js CHANGED
@@ -131,64 +131,6 @@ let ConcurrentUpdateException$1 = class ConcurrentUpdateException extends AutoSc
131
131
  this.Message = opts.Message;
132
132
  }
133
133
  };
134
- const MetricStatistic = {
135
- Average: "Average",
136
- Maximum: "Maximum",
137
- Minimum: "Minimum",
138
- SampleCount: "SampleCount",
139
- Sum: "Sum",
140
- };
141
- const LoadMetricType = {
142
- ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount",
143
- ASGTotalCPUUtilization: "ASGTotalCPUUtilization",
144
- ASGTotalNetworkIn: "ASGTotalNetworkIn",
145
- ASGTotalNetworkOut: "ASGTotalNetworkOut",
146
- };
147
- const PredictiveScalingMaxCapacityBehavior = {
148
- SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity",
149
- SetMaxCapacityAboveForecastCapacity: "SetMaxCapacityAboveForecastCapacity",
150
- SetMaxCapacityToForecastCapacity: "SetMaxCapacityToForecastCapacity",
151
- };
152
- const PredictiveScalingMode = {
153
- ForecastAndScale: "ForecastAndScale",
154
- ForecastOnly: "ForecastOnly",
155
- };
156
- const ScalableDimension = {
157
- AutoScalingGroupDesiredCapacity: "autoscaling:autoScalingGroup:DesiredCapacity",
158
- DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
159
- DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
160
- DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
161
- DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
162
- EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
163
- ECSServiceDesiredCount: "ecs:service:DesiredCount",
164
- RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
165
- };
166
- const ScalingPolicyUpdateBehavior = {
167
- KeepExternalPolicies: "KeepExternalPolicies",
168
- ReplaceExternalPolicies: "ReplaceExternalPolicies",
169
- };
170
- const ServiceNamespace = {
171
- AUTOSCALING: "autoscaling",
172
- DYNAMODB: "dynamodb",
173
- EC2: "ec2",
174
- ECS: "ecs",
175
- RDS: "rds",
176
- };
177
- const ScalingMetricType = {
178
- ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
179
- ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
180
- ASGAverageNetworkIn: "ASGAverageNetworkIn",
181
- ASGAverageNetworkOut: "ASGAverageNetworkOut",
182
- DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
183
- DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
184
- EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
185
- EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
186
- EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
187
- ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
188
- ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
189
- RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
190
- RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
191
- };
192
134
  let InternalServiceException$1 = class InternalServiceException extends AutoScalingPlansServiceException$1 {
193
135
  name = "InternalServiceException";
194
136
  $fault = "server";
@@ -245,14 +187,6 @@ let ObjectNotFoundException$1 = class ObjectNotFoundException extends AutoScalin
245
187
  this.Message = opts.Message;
246
188
  }
247
189
  };
248
- const PolicyType = {
249
- TargetTrackingScaling: "TargetTrackingScaling",
250
- };
251
- const ScalingStatusCode = {
252
- Active: "Active",
253
- Inactive: "Inactive",
254
- PartiallyActive: "PartiallyActive",
255
- };
256
190
  let InvalidNextTokenException$1 = class InvalidNextTokenException extends AutoScalingPlansServiceException$1 {
257
191
  name = "InvalidNextTokenException";
258
192
  $fault = "client";
@@ -267,22 +201,6 @@ let InvalidNextTokenException$1 = class InvalidNextTokenException extends AutoSc
267
201
  this.Message = opts.Message;
268
202
  }
269
203
  };
270
- const ScalingPlanStatusCode = {
271
- Active: "Active",
272
- ActiveWithProblems: "ActiveWithProblems",
273
- CreationFailed: "CreationFailed",
274
- CreationInProgress: "CreationInProgress",
275
- DeletionFailed: "DeletionFailed",
276
- DeletionInProgress: "DeletionInProgress",
277
- UpdateFailed: "UpdateFailed",
278
- UpdateInProgress: "UpdateInProgress",
279
- };
280
- const ForecastDataType = {
281
- CapacityForecast: "CapacityForecast",
282
- LoadForecast: "LoadForecast",
283
- ScheduledActionMaxCapacity: "ScheduledActionMaxCapacity",
284
- ScheduledActionMinCapacity: "ScheduledActionMinCapacity",
285
- };
286
204
 
287
205
  const _AS = "ApplicationSource";
288
206
  const _ASp = "ApplicationSources";
@@ -758,6 +676,89 @@ class AutoScalingPlans extends AutoScalingPlansClient {
758
676
  }
759
677
  smithyClient.createAggregatedClient(commands, AutoScalingPlans);
760
678
 
679
+ const MetricStatistic = {
680
+ Average: "Average",
681
+ Maximum: "Maximum",
682
+ Minimum: "Minimum",
683
+ SampleCount: "SampleCount",
684
+ Sum: "Sum",
685
+ };
686
+ const LoadMetricType = {
687
+ ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount",
688
+ ASGTotalCPUUtilization: "ASGTotalCPUUtilization",
689
+ ASGTotalNetworkIn: "ASGTotalNetworkIn",
690
+ ASGTotalNetworkOut: "ASGTotalNetworkOut",
691
+ };
692
+ const PredictiveScalingMaxCapacityBehavior = {
693
+ SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity",
694
+ SetMaxCapacityAboveForecastCapacity: "SetMaxCapacityAboveForecastCapacity",
695
+ SetMaxCapacityToForecastCapacity: "SetMaxCapacityToForecastCapacity",
696
+ };
697
+ const PredictiveScalingMode = {
698
+ ForecastAndScale: "ForecastAndScale",
699
+ ForecastOnly: "ForecastOnly",
700
+ };
701
+ const ScalableDimension = {
702
+ AutoScalingGroupDesiredCapacity: "autoscaling:autoScalingGroup:DesiredCapacity",
703
+ DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
704
+ DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
705
+ DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
706
+ DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
707
+ EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
708
+ ECSServiceDesiredCount: "ecs:service:DesiredCount",
709
+ RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
710
+ };
711
+ const ScalingPolicyUpdateBehavior = {
712
+ KeepExternalPolicies: "KeepExternalPolicies",
713
+ ReplaceExternalPolicies: "ReplaceExternalPolicies",
714
+ };
715
+ const ServiceNamespace = {
716
+ AUTOSCALING: "autoscaling",
717
+ DYNAMODB: "dynamodb",
718
+ EC2: "ec2",
719
+ ECS: "ecs",
720
+ RDS: "rds",
721
+ };
722
+ const ScalingMetricType = {
723
+ ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
724
+ ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
725
+ ASGAverageNetworkIn: "ASGAverageNetworkIn",
726
+ ASGAverageNetworkOut: "ASGAverageNetworkOut",
727
+ DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
728
+ DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
729
+ EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
730
+ EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
731
+ EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
732
+ ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
733
+ ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
734
+ RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
735
+ RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
736
+ };
737
+ const PolicyType = {
738
+ TargetTrackingScaling: "TargetTrackingScaling",
739
+ };
740
+ const ScalingStatusCode = {
741
+ Active: "Active",
742
+ Inactive: "Inactive",
743
+ PartiallyActive: "PartiallyActive",
744
+ };
745
+ const ScalingPlanStatusCode = {
746
+ Active: "Active",
747
+ ActiveWithProblems: "ActiveWithProblems",
748
+ CreationFailed: "CreationFailed",
749
+ CreationInProgress: "CreationInProgress",
750
+ DeletionFailed: "DeletionFailed",
751
+ DeletionInProgress: "DeletionInProgress",
752
+ UpdateFailed: "UpdateFailed",
753
+ UpdateInProgress: "UpdateInProgress",
754
+ };
755
+ const ForecastDataType = {
756
+ CapacityForecast: "CapacityForecast",
757
+ LoadForecast: "LoadForecast",
758
+ ScheduledActionMaxCapacity: "ScheduledActionMaxCapacity",
759
+ ScheduledActionMinCapacity: "ScheduledActionMinCapacity",
760
+ };
761
+
761
762
  Object.defineProperty(exports, "$Command", {
762
763
  enumerable: true,
763
764
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./AutoScalingPlansClient";
2
2
  export * from "./AutoScalingPlans";
3
3
  export * from "./commands";
4
- export * from "./models";
4
+ export * from "./models/enums";
5
+ export * from "./models/errors";
5
6
  export { AutoScalingPlansServiceException } from "./models/AutoScalingPlansServiceException";
@@ -0,0 +1,82 @@
1
+ export const MetricStatistic = {
2
+ Average: "Average",
3
+ Maximum: "Maximum",
4
+ Minimum: "Minimum",
5
+ SampleCount: "SampleCount",
6
+ Sum: "Sum",
7
+ };
8
+ export const LoadMetricType = {
9
+ ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount",
10
+ ASGTotalCPUUtilization: "ASGTotalCPUUtilization",
11
+ ASGTotalNetworkIn: "ASGTotalNetworkIn",
12
+ ASGTotalNetworkOut: "ASGTotalNetworkOut",
13
+ };
14
+ export const PredictiveScalingMaxCapacityBehavior = {
15
+ SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity",
16
+ SetMaxCapacityAboveForecastCapacity: "SetMaxCapacityAboveForecastCapacity",
17
+ SetMaxCapacityToForecastCapacity: "SetMaxCapacityToForecastCapacity",
18
+ };
19
+ export const PredictiveScalingMode = {
20
+ ForecastAndScale: "ForecastAndScale",
21
+ ForecastOnly: "ForecastOnly",
22
+ };
23
+ export const ScalableDimension = {
24
+ AutoScalingGroupDesiredCapacity: "autoscaling:autoScalingGroup:DesiredCapacity",
25
+ DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
26
+ DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
27
+ DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
28
+ DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
29
+ EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
30
+ ECSServiceDesiredCount: "ecs:service:DesiredCount",
31
+ RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
32
+ };
33
+ export const ScalingPolicyUpdateBehavior = {
34
+ KeepExternalPolicies: "KeepExternalPolicies",
35
+ ReplaceExternalPolicies: "ReplaceExternalPolicies",
36
+ };
37
+ export const ServiceNamespace = {
38
+ AUTOSCALING: "autoscaling",
39
+ DYNAMODB: "dynamodb",
40
+ EC2: "ec2",
41
+ ECS: "ecs",
42
+ RDS: "rds",
43
+ };
44
+ export const ScalingMetricType = {
45
+ ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
46
+ ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
47
+ ASGAverageNetworkIn: "ASGAverageNetworkIn",
48
+ ASGAverageNetworkOut: "ASGAverageNetworkOut",
49
+ DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
50
+ DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
51
+ EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
52
+ EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
53
+ EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
54
+ ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
55
+ ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
56
+ RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
57
+ RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
58
+ };
59
+ export const PolicyType = {
60
+ TargetTrackingScaling: "TargetTrackingScaling",
61
+ };
62
+ export const ScalingStatusCode = {
63
+ Active: "Active",
64
+ Inactive: "Inactive",
65
+ PartiallyActive: "PartiallyActive",
66
+ };
67
+ export const ScalingPlanStatusCode = {
68
+ Active: "Active",
69
+ ActiveWithProblems: "ActiveWithProblems",
70
+ CreationFailed: "CreationFailed",
71
+ CreationInProgress: "CreationInProgress",
72
+ DeletionFailed: "DeletionFailed",
73
+ DeletionInProgress: "DeletionInProgress",
74
+ UpdateFailed: "UpdateFailed",
75
+ UpdateInProgress: "UpdateInProgress",
76
+ };
77
+ export const ForecastDataType = {
78
+ CapacityForecast: "CapacityForecast",
79
+ LoadForecast: "LoadForecast",
80
+ ScheduledActionMaxCapacity: "ScheduledActionMaxCapacity",
81
+ ScheduledActionMinCapacity: "ScheduledActionMinCapacity",
82
+ };
@@ -0,0 +1,85 @@
1
+ import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
2
+ export class ConcurrentUpdateException extends __BaseException {
3
+ name = "ConcurrentUpdateException";
4
+ $fault = "server";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "ConcurrentUpdateException",
9
+ $fault: "server",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class InternalServiceException extends __BaseException {
17
+ name = "InternalServiceException";
18
+ $fault = "server";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "InternalServiceException",
23
+ $fault: "server",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class LimitExceededException extends __BaseException {
31
+ name = "LimitExceededException";
32
+ $fault = "client";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "LimitExceededException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class ValidationException extends __BaseException {
45
+ name = "ValidationException";
46
+ $fault = "client";
47
+ Message;
48
+ constructor(opts) {
49
+ super({
50
+ name: "ValidationException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, ValidationException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class ObjectNotFoundException extends __BaseException {
59
+ name = "ObjectNotFoundException";
60
+ $fault = "client";
61
+ Message;
62
+ constructor(opts) {
63
+ super({
64
+ name: "ObjectNotFoundException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ export class InvalidNextTokenException extends __BaseException {
73
+ name = "InvalidNextTokenException";
74
+ $fault = "client";
75
+ Message;
76
+ constructor(opts) {
77
+ super({
78
+ name: "InvalidNextTokenException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
@@ -1,167 +1 @@
1
- import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
2
- export class ConcurrentUpdateException extends __BaseException {
3
- name = "ConcurrentUpdateException";
4
- $fault = "server";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "ConcurrentUpdateException",
9
- $fault: "server",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
- export const MetricStatistic = {
17
- Average: "Average",
18
- Maximum: "Maximum",
19
- Minimum: "Minimum",
20
- SampleCount: "SampleCount",
21
- Sum: "Sum",
22
- };
23
- export const LoadMetricType = {
24
- ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount",
25
- ASGTotalCPUUtilization: "ASGTotalCPUUtilization",
26
- ASGTotalNetworkIn: "ASGTotalNetworkIn",
27
- ASGTotalNetworkOut: "ASGTotalNetworkOut",
28
- };
29
- export const PredictiveScalingMaxCapacityBehavior = {
30
- SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity",
31
- SetMaxCapacityAboveForecastCapacity: "SetMaxCapacityAboveForecastCapacity",
32
- SetMaxCapacityToForecastCapacity: "SetMaxCapacityToForecastCapacity",
33
- };
34
- export const PredictiveScalingMode = {
35
- ForecastAndScale: "ForecastAndScale",
36
- ForecastOnly: "ForecastOnly",
37
- };
38
- export const ScalableDimension = {
39
- AutoScalingGroupDesiredCapacity: "autoscaling:autoScalingGroup:DesiredCapacity",
40
- DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
41
- DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
42
- DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
43
- DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
44
- EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
45
- ECSServiceDesiredCount: "ecs:service:DesiredCount",
46
- RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
47
- };
48
- export const ScalingPolicyUpdateBehavior = {
49
- KeepExternalPolicies: "KeepExternalPolicies",
50
- ReplaceExternalPolicies: "ReplaceExternalPolicies",
51
- };
52
- export const ServiceNamespace = {
53
- AUTOSCALING: "autoscaling",
54
- DYNAMODB: "dynamodb",
55
- EC2: "ec2",
56
- ECS: "ecs",
57
- RDS: "rds",
58
- };
59
- export const ScalingMetricType = {
60
- ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
61
- ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
62
- ASGAverageNetworkIn: "ASGAverageNetworkIn",
63
- ASGAverageNetworkOut: "ASGAverageNetworkOut",
64
- DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
65
- DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
66
- EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
67
- EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
68
- EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
69
- ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
70
- ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
71
- RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
72
- RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
73
- };
74
- export class InternalServiceException extends __BaseException {
75
- name = "InternalServiceException";
76
- $fault = "server";
77
- Message;
78
- constructor(opts) {
79
- super({
80
- name: "InternalServiceException",
81
- $fault: "server",
82
- ...opts,
83
- });
84
- Object.setPrototypeOf(this, InternalServiceException.prototype);
85
- this.Message = opts.Message;
86
- }
87
- }
88
- export class LimitExceededException extends __BaseException {
89
- name = "LimitExceededException";
90
- $fault = "client";
91
- Message;
92
- constructor(opts) {
93
- super({
94
- name: "LimitExceededException",
95
- $fault: "client",
96
- ...opts,
97
- });
98
- Object.setPrototypeOf(this, LimitExceededException.prototype);
99
- this.Message = opts.Message;
100
- }
101
- }
102
- export class ValidationException extends __BaseException {
103
- name = "ValidationException";
104
- $fault = "client";
105
- Message;
106
- constructor(opts) {
107
- super({
108
- name: "ValidationException",
109
- $fault: "client",
110
- ...opts,
111
- });
112
- Object.setPrototypeOf(this, ValidationException.prototype);
113
- this.Message = opts.Message;
114
- }
115
- }
116
- export class ObjectNotFoundException extends __BaseException {
117
- name = "ObjectNotFoundException";
118
- $fault = "client";
119
- Message;
120
- constructor(opts) {
121
- super({
122
- name: "ObjectNotFoundException",
123
- $fault: "client",
124
- ...opts,
125
- });
126
- Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
127
- this.Message = opts.Message;
128
- }
129
- }
130
- export const PolicyType = {
131
- TargetTrackingScaling: "TargetTrackingScaling",
132
- };
133
- export const ScalingStatusCode = {
134
- Active: "Active",
135
- Inactive: "Inactive",
136
- PartiallyActive: "PartiallyActive",
137
- };
138
- export class InvalidNextTokenException extends __BaseException {
139
- name = "InvalidNextTokenException";
140
- $fault = "client";
141
- Message;
142
- constructor(opts) {
143
- super({
144
- name: "InvalidNextTokenException",
145
- $fault: "client",
146
- ...opts,
147
- });
148
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
149
- this.Message = opts.Message;
150
- }
151
- }
152
- export const ScalingPlanStatusCode = {
153
- Active: "Active",
154
- ActiveWithProblems: "ActiveWithProblems",
155
- CreationFailed: "CreationFailed",
156
- CreationInProgress: "CreationInProgress",
157
- DeletionFailed: "DeletionFailed",
158
- DeletionInProgress: "DeletionInProgress",
159
- UpdateFailed: "UpdateFailed",
160
- UpdateInProgress: "UpdateInProgress",
161
- };
162
- export const ForecastDataType = {
163
- CapacityForecast: "CapacityForecast",
164
- LoadForecast: "LoadForecast",
165
- ScheduledActionMaxCapacity: "ScheduledActionMaxCapacity",
166
- ScheduledActionMinCapacity: "ScheduledActionMinCapacity",
167
- };
1
+ export {};
@@ -100,7 +100,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.autoscalingplans";
100
100
  const n0 = "com.amazonaws.autoscalingplans";
101
101
  import { TypeRegistry } from "@smithy/core/schema";
102
102
  import { AutoScalingPlansServiceException as __AutoScalingPlansServiceException } from "../models/AutoScalingPlansServiceException";
103
- import { ConcurrentUpdateException as __ConcurrentUpdateException, InternalServiceException as __InternalServiceException, InvalidNextTokenException as __InvalidNextTokenException, LimitExceededException as __LimitExceededException, ObjectNotFoundException as __ObjectNotFoundException, ValidationException as __ValidationException, } from "../models/index";
103
+ import { ConcurrentUpdateException as __ConcurrentUpdateException, InternalServiceException as __InternalServiceException, InvalidNextTokenException as __InvalidNextTokenException, LimitExceededException as __LimitExceededException, ObjectNotFoundException as __ObjectNotFoundException, ValidationException as __ValidationException, } from "../models/errors";
104
104
  export var ApplicationSource = [3, n0, _AS, 0, [_CFSARN, _TF], [0, () => TagFilters]];
105
105
  export var ConcurrentUpdateException = [
106
106
  -3,
@@ -43,5 +43,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
43
43
  export type { RuntimeExtension } from "./runtimeExtensions";
44
44
  export type { AutoScalingPlansExtensionConfiguration } from "./extensionConfiguration";
45
45
  export * from "./commands";
46
- export * from "./models";
46
+ export * from "./models/enums";
47
+ export * from "./models/errors";
48
+ export type * from "./models/models_0";
47
49
  export { AutoScalingPlansServiceException } from "./models/AutoScalingPlansServiceException";