@aws-sdk/client-application-auto-scaling 3.489.0 → 3.495.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.
Files changed (31) hide show
  1. package/dist-cjs/ApplicationAutoScaling.js +1 -37
  2. package/dist-cjs/ApplicationAutoScalingClient.js +1 -43
  3. package/dist-cjs/commands/DeleteScalingPolicyCommand.js +1 -28
  4. package/dist-cjs/commands/DeleteScheduledActionCommand.js +1 -28
  5. package/dist-cjs/commands/DeregisterScalableTargetCommand.js +1 -28
  6. package/dist-cjs/commands/DescribeScalableTargetsCommand.js +1 -28
  7. package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +1 -28
  8. package/dist-cjs/commands/DescribeScalingPoliciesCommand.js +1 -28
  9. package/dist-cjs/commands/DescribeScheduledActionsCommand.js +1 -28
  10. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  11. package/dist-cjs/commands/PutScalingPolicyCommand.js +1 -28
  12. package/dist-cjs/commands/PutScheduledActionCommand.js +1 -28
  13. package/dist-cjs/commands/RegisterScalableTargetCommand.js +1 -28
  14. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  15. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  16. package/dist-cjs/commands/index.js +1 -16
  17. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  18. package/dist-cjs/extensionConfiguration.js +1 -2
  19. package/dist-cjs/index.js +1688 -11
  20. package/dist-cjs/models/ApplicationAutoScalingServiceException.js +1 -12
  21. package/dist-cjs/models/index.js +1 -4
  22. package/dist-cjs/models/models_0.js +1 -227
  23. package/dist-cjs/pagination/DescribeScalableTargetsPaginator.js +1 -7
  24. package/dist-cjs/pagination/DescribeScalingActivitiesPaginator.js +1 -7
  25. package/dist-cjs/pagination/DescribeScalingPoliciesPaginator.js +1 -7
  26. package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js +1 -7
  27. package/dist-cjs/pagination/Interfaces.js +1 -2
  28. package/dist-cjs/pagination/index.js +1 -8
  29. package/dist-cjs/protocols/Aws_json1_1.js +1 -996
  30. package/dist-cjs/runtimeExtensions.js +1 -22
  31. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApplicationAutoScalingServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ApplicationAutoScalingServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, ApplicationAutoScalingServiceException.prototype);
10
- }
11
- }
12
- exports.ApplicationAutoScalingServiceException = ApplicationAutoScalingServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,227 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TooManyTagsException = exports.LimitExceededException = exports.ResourceNotFoundException = exports.FailedResourceAccessException = exports.MetricType = exports.MetricStatistic = exports.MetricAggregationType = exports.PolicyType = exports.ScalingActivityStatusCode = exports.InvalidNextTokenException = exports.ValidationException = exports.ObjectNotFoundException = exports.InternalServiceException = exports.ServiceNamespace = exports.ScalableDimension = exports.ConcurrentUpdateException = exports.AdjustmentType = void 0;
4
- const ApplicationAutoScalingServiceException_1 = require("./ApplicationAutoScalingServiceException");
5
- exports.AdjustmentType = {
6
- ChangeInCapacity: "ChangeInCapacity",
7
- ExactCapacity: "ExactCapacity",
8
- PercentChangeInCapacity: "PercentChangeInCapacity",
9
- };
10
- class ConcurrentUpdateException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
11
- constructor(opts) {
12
- super({
13
- name: "ConcurrentUpdateException",
14
- $fault: "server",
15
- ...opts,
16
- });
17
- this.name = "ConcurrentUpdateException";
18
- this.$fault = "server";
19
- Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
20
- this.Message = opts.Message;
21
- }
22
- }
23
- exports.ConcurrentUpdateException = ConcurrentUpdateException;
24
- exports.ScalableDimension = {
25
- AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity",
26
- CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits",
27
- CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits",
28
- ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits",
29
- ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits",
30
- CustomResourceScalableDimension: "custom-resource:ResourceType:Property",
31
- DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
32
- DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
33
- DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
34
- DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
35
- EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
36
- ECSServiceDesiredCount: "ecs:service:DesiredCount",
37
- EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount",
38
- ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups",
39
- ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas",
40
- KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize",
41
- LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency",
42
- NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount",
43
- RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
44
- SageMakerInferenceComponentDesiredCopyCount: "sagemaker:inference-component:DesiredCopyCount",
45
- SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount",
46
- SageMakerVariantDesiredProvisionedConcurrency: "sagemaker:variant:DesiredProvisionedConcurrency",
47
- };
48
- exports.ServiceNamespace = {
49
- APPSTREAM: "appstream",
50
- CASSANDRA: "cassandra",
51
- COMPREHEND: "comprehend",
52
- CUSTOM_RESOURCE: "custom-resource",
53
- DYNAMODB: "dynamodb",
54
- EC2: "ec2",
55
- ECS: "ecs",
56
- ELASTICACHE: "elasticache",
57
- EMR: "elasticmapreduce",
58
- KAFKA: "kafka",
59
- LAMBDA: "lambda",
60
- NEPTUNE: "neptune",
61
- RDS: "rds",
62
- SAGEMAKER: "sagemaker",
63
- };
64
- class InternalServiceException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
65
- constructor(opts) {
66
- super({
67
- name: "InternalServiceException",
68
- $fault: "server",
69
- ...opts,
70
- });
71
- this.name = "InternalServiceException";
72
- this.$fault = "server";
73
- Object.setPrototypeOf(this, InternalServiceException.prototype);
74
- this.Message = opts.Message;
75
- }
76
- }
77
- exports.InternalServiceException = InternalServiceException;
78
- class ObjectNotFoundException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
79
- constructor(opts) {
80
- super({
81
- name: "ObjectNotFoundException",
82
- $fault: "client",
83
- ...opts,
84
- });
85
- this.name = "ObjectNotFoundException";
86
- this.$fault = "client";
87
- Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
88
- this.Message = opts.Message;
89
- }
90
- }
91
- exports.ObjectNotFoundException = ObjectNotFoundException;
92
- class ValidationException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
93
- constructor(opts) {
94
- super({
95
- name: "ValidationException",
96
- $fault: "client",
97
- ...opts,
98
- });
99
- this.name = "ValidationException";
100
- this.$fault = "client";
101
- Object.setPrototypeOf(this, ValidationException.prototype);
102
- this.Message = opts.Message;
103
- }
104
- }
105
- exports.ValidationException = ValidationException;
106
- class InvalidNextTokenException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
107
- constructor(opts) {
108
- super({
109
- name: "InvalidNextTokenException",
110
- $fault: "client",
111
- ...opts,
112
- });
113
- this.name = "InvalidNextTokenException";
114
- this.$fault = "client";
115
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
116
- this.Message = opts.Message;
117
- }
118
- }
119
- exports.InvalidNextTokenException = InvalidNextTokenException;
120
- exports.ScalingActivityStatusCode = {
121
- Failed: "Failed",
122
- InProgress: "InProgress",
123
- Overridden: "Overridden",
124
- Pending: "Pending",
125
- Successful: "Successful",
126
- Unfulfilled: "Unfulfilled",
127
- };
128
- exports.PolicyType = {
129
- StepScaling: "StepScaling",
130
- TargetTrackingScaling: "TargetTrackingScaling",
131
- };
132
- exports.MetricAggregationType = {
133
- Average: "Average",
134
- Maximum: "Maximum",
135
- Minimum: "Minimum",
136
- };
137
- exports.MetricStatistic = {
138
- Average: "Average",
139
- Maximum: "Maximum",
140
- Minimum: "Minimum",
141
- SampleCount: "SampleCount",
142
- Sum: "Sum",
143
- };
144
- exports.MetricType = {
145
- ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
146
- AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization",
147
- CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization",
148
- CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization",
149
- ComprehendInferenceUtilization: "ComprehendInferenceUtilization",
150
- DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
151
- DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
152
- EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
153
- EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
154
- EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
155
- ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
156
- ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
157
- ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage",
158
- ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage",
159
- ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization",
160
- ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization",
161
- KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization",
162
- LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization",
163
- NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization",
164
- RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
165
- RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
166
- SageMakerInferenceComponentInvocationsPerCopy: "SageMakerInferenceComponentInvocationsPerCopy",
167
- SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance",
168
- SageMakerVariantProvisionedConcurrencyUtilization: "SageMakerVariantProvisionedConcurrencyUtilization",
169
- };
170
- class FailedResourceAccessException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
171
- constructor(opts) {
172
- super({
173
- name: "FailedResourceAccessException",
174
- $fault: "client",
175
- ...opts,
176
- });
177
- this.name = "FailedResourceAccessException";
178
- this.$fault = "client";
179
- Object.setPrototypeOf(this, FailedResourceAccessException.prototype);
180
- this.Message = opts.Message;
181
- }
182
- }
183
- exports.FailedResourceAccessException = FailedResourceAccessException;
184
- class ResourceNotFoundException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
185
- constructor(opts) {
186
- super({
187
- name: "ResourceNotFoundException",
188
- $fault: "client",
189
- ...opts,
190
- });
191
- this.name = "ResourceNotFoundException";
192
- this.$fault = "client";
193
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
194
- this.Message = opts.Message;
195
- this.ResourceName = opts.ResourceName;
196
- }
197
- }
198
- exports.ResourceNotFoundException = ResourceNotFoundException;
199
- class LimitExceededException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
200
- constructor(opts) {
201
- super({
202
- name: "LimitExceededException",
203
- $fault: "client",
204
- ...opts,
205
- });
206
- this.name = "LimitExceededException";
207
- this.$fault = "client";
208
- Object.setPrototypeOf(this, LimitExceededException.prototype);
209
- this.Message = opts.Message;
210
- }
211
- }
212
- exports.LimitExceededException = LimitExceededException;
213
- class TooManyTagsException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
214
- constructor(opts) {
215
- super({
216
- name: "TooManyTagsException",
217
- $fault: "client",
218
- ...opts,
219
- });
220
- this.name = "TooManyTagsException";
221
- this.$fault = "client";
222
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
223
- this.Message = opts.Message;
224
- this.ResourceName = opts.ResourceName;
225
- }
226
- }
227
- exports.TooManyTagsException = TooManyTagsException;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeScalableTargets = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ApplicationAutoScalingClient_1 = require("../ApplicationAutoScalingClient");
6
- const DescribeScalableTargetsCommand_1 = require("../commands/DescribeScalableTargetsCommand");
7
- exports.paginateDescribeScalableTargets = (0, core_1.createPaginator)(ApplicationAutoScalingClient_1.ApplicationAutoScalingClient, DescribeScalableTargetsCommand_1.DescribeScalableTargetsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeScalingActivities = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ApplicationAutoScalingClient_1 = require("../ApplicationAutoScalingClient");
6
- const DescribeScalingActivitiesCommand_1 = require("../commands/DescribeScalingActivitiesCommand");
7
- exports.paginateDescribeScalingActivities = (0, core_1.createPaginator)(ApplicationAutoScalingClient_1.ApplicationAutoScalingClient, DescribeScalingActivitiesCommand_1.DescribeScalingActivitiesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeScalingPolicies = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ApplicationAutoScalingClient_1 = require("../ApplicationAutoScalingClient");
6
- const DescribeScalingPoliciesCommand_1 = require("../commands/DescribeScalingPoliciesCommand");
7
- exports.paginateDescribeScalingPolicies = (0, core_1.createPaginator)(ApplicationAutoScalingClient_1.ApplicationAutoScalingClient, DescribeScalingPoliciesCommand_1.DescribeScalingPoliciesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeScheduledActions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ApplicationAutoScalingClient_1 = require("../ApplicationAutoScalingClient");
6
- const DescribeScheduledActionsCommand_1 = require("../commands/DescribeScheduledActionsCommand");
7
- exports.paginateDescribeScheduledActions = (0, core_1.createPaginator)(ApplicationAutoScalingClient_1.ApplicationAutoScalingClient, DescribeScheduledActionsCommand_1.DescribeScheduledActionsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./DescribeScalableTargetsPaginator"), exports);
5
- tslib_1.__exportStar(require("./DescribeScalingActivitiesPaginator"), exports);
6
- tslib_1.__exportStar(require("./DescribeScalingPoliciesPaginator"), exports);
7
- tslib_1.__exportStar(require("./DescribeScheduledActionsPaginator"), exports);
8
- tslib_1.__exportStar(require("./Interfaces"), exports);
1
+ module.exports = require("../index.js");