@aws-sdk/client-application-auto-scaling 3.131.0 → 3.142.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/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/DeleteScalingPolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteScheduledActionCommand.js +2 -2
- package/dist-cjs/commands/DeregisterScalableTargetCommand.js +2 -2
- package/dist-cjs/commands/DescribeScalableTargetsCommand.js +2 -2
- package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +2 -2
- package/dist-cjs/commands/DescribeScalingPoliciesCommand.js +2 -2
- package/dist-cjs/commands/DescribeScheduledActionsCommand.js +2 -2
- package/dist-cjs/commands/PutScalingPolicyCommand.js +2 -2
- package/dist-cjs/commands/PutScheduledActionCommand.js +2 -2
- package/dist-cjs/commands/RegisterScalableTargetCommand.js +2 -2
- package/dist-cjs/models/models_0.js +133 -199
- package/dist-cjs/protocols/Aws_json1_1.js +50 -89
- package/dist-es/commands/DeleteScalingPolicyCommand.js +3 -3
- package/dist-es/commands/DeleteScheduledActionCommand.js +3 -3
- package/dist-es/commands/DeregisterScalableTargetCommand.js +3 -3
- package/dist-es/commands/DescribeScalableTargetsCommand.js +3 -3
- package/dist-es/commands/DescribeScalingActivitiesCommand.js +3 -3
- package/dist-es/commands/DescribeScalingPoliciesCommand.js +3 -3
- package/dist-es/commands/DescribeScheduledActionsCommand.js +3 -3
- package/dist-es/commands/PutScalingPolicyCommand.js +3 -3
- package/dist-es/commands/PutScheduledActionCommand.js +3 -3
- package/dist-es/commands/RegisterScalableTargetCommand.js +3 -3
- package/dist-es/models/models_0.js +33 -132
- package/dist-es/protocols/Aws_json1_1.js +81 -90
- package/dist-types/models/models_0.d.ts +132 -198
- package/dist-types/ts3.4/models/models_0.d.ts +66 -132
- package/package.json +6 -6
|
@@ -6,10 +6,6 @@ export var AdjustmentType;
|
|
|
6
6
|
AdjustmentType["ExactCapacity"] = "ExactCapacity";
|
|
7
7
|
AdjustmentType["PercentChangeInCapacity"] = "PercentChangeInCapacity";
|
|
8
8
|
})(AdjustmentType || (AdjustmentType = {}));
|
|
9
|
-
export var Alarm;
|
|
10
|
-
(function (Alarm) {
|
|
11
|
-
Alarm.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
12
|
-
})(Alarm || (Alarm = {}));
|
|
13
9
|
var ConcurrentUpdateException = (function (_super) {
|
|
14
10
|
__extends(ConcurrentUpdateException, _super);
|
|
15
11
|
function ConcurrentUpdateException(opts) {
|
|
@@ -63,14 +59,6 @@ export var ServiceNamespace;
|
|
|
63
59
|
ServiceNamespace["RDS"] = "rds";
|
|
64
60
|
ServiceNamespace["SAGEMAKER"] = "sagemaker";
|
|
65
61
|
})(ServiceNamespace || (ServiceNamespace = {}));
|
|
66
|
-
export var DeleteScalingPolicyRequest;
|
|
67
|
-
(function (DeleteScalingPolicyRequest) {
|
|
68
|
-
DeleteScalingPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
-
})(DeleteScalingPolicyRequest || (DeleteScalingPolicyRequest = {}));
|
|
70
|
-
export var DeleteScalingPolicyResponse;
|
|
71
|
-
(function (DeleteScalingPolicyResponse) {
|
|
72
|
-
DeleteScalingPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
73
|
-
})(DeleteScalingPolicyResponse || (DeleteScalingPolicyResponse = {}));
|
|
74
62
|
var InternalServiceException = (function (_super) {
|
|
75
63
|
__extends(InternalServiceException, _super);
|
|
76
64
|
function InternalServiceException(opts) {
|
|
@@ -110,38 +98,6 @@ var ValidationException = (function (_super) {
|
|
|
110
98
|
return ValidationException;
|
|
111
99
|
}(__BaseException));
|
|
112
100
|
export { ValidationException };
|
|
113
|
-
export var DeleteScheduledActionRequest;
|
|
114
|
-
(function (DeleteScheduledActionRequest) {
|
|
115
|
-
DeleteScheduledActionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
116
|
-
})(DeleteScheduledActionRequest || (DeleteScheduledActionRequest = {}));
|
|
117
|
-
export var DeleteScheduledActionResponse;
|
|
118
|
-
(function (DeleteScheduledActionResponse) {
|
|
119
|
-
DeleteScheduledActionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
120
|
-
})(DeleteScheduledActionResponse || (DeleteScheduledActionResponse = {}));
|
|
121
|
-
export var DeregisterScalableTargetRequest;
|
|
122
|
-
(function (DeregisterScalableTargetRequest) {
|
|
123
|
-
DeregisterScalableTargetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
124
|
-
})(DeregisterScalableTargetRequest || (DeregisterScalableTargetRequest = {}));
|
|
125
|
-
export var DeregisterScalableTargetResponse;
|
|
126
|
-
(function (DeregisterScalableTargetResponse) {
|
|
127
|
-
DeregisterScalableTargetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
128
|
-
})(DeregisterScalableTargetResponse || (DeregisterScalableTargetResponse = {}));
|
|
129
|
-
export var DescribeScalableTargetsRequest;
|
|
130
|
-
(function (DescribeScalableTargetsRequest) {
|
|
131
|
-
DescribeScalableTargetsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
132
|
-
})(DescribeScalableTargetsRequest || (DescribeScalableTargetsRequest = {}));
|
|
133
|
-
export var SuspendedState;
|
|
134
|
-
(function (SuspendedState) {
|
|
135
|
-
SuspendedState.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
136
|
-
})(SuspendedState || (SuspendedState = {}));
|
|
137
|
-
export var ScalableTarget;
|
|
138
|
-
(function (ScalableTarget) {
|
|
139
|
-
ScalableTarget.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
140
|
-
})(ScalableTarget || (ScalableTarget = {}));
|
|
141
|
-
export var DescribeScalableTargetsResponse;
|
|
142
|
-
(function (DescribeScalableTargetsResponse) {
|
|
143
|
-
DescribeScalableTargetsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
144
|
-
})(DescribeScalableTargetsResponse || (DescribeScalableTargetsResponse = {}));
|
|
145
101
|
var InvalidNextTokenException = (function (_super) {
|
|
146
102
|
__extends(InvalidNextTokenException, _super);
|
|
147
103
|
function InvalidNextTokenException(opts) {
|
|
@@ -155,10 +111,6 @@ var InvalidNextTokenException = (function (_super) {
|
|
|
155
111
|
return InvalidNextTokenException;
|
|
156
112
|
}(__BaseException));
|
|
157
113
|
export { InvalidNextTokenException };
|
|
158
|
-
export var DescribeScalingActivitiesRequest;
|
|
159
|
-
(function (DescribeScalingActivitiesRequest) {
|
|
160
|
-
DescribeScalingActivitiesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
-
})(DescribeScalingActivitiesRequest || (DescribeScalingActivitiesRequest = {}));
|
|
162
114
|
export var ScalingActivityStatusCode;
|
|
163
115
|
(function (ScalingActivityStatusCode) {
|
|
164
116
|
ScalingActivityStatusCode["Failed"] = "Failed";
|
|
@@ -168,18 +120,6 @@ export var ScalingActivityStatusCode;
|
|
|
168
120
|
ScalingActivityStatusCode["Successful"] = "Successful";
|
|
169
121
|
ScalingActivityStatusCode["Unfulfilled"] = "Unfulfilled";
|
|
170
122
|
})(ScalingActivityStatusCode || (ScalingActivityStatusCode = {}));
|
|
171
|
-
export var ScalingActivity;
|
|
172
|
-
(function (ScalingActivity) {
|
|
173
|
-
ScalingActivity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
|
-
})(ScalingActivity || (ScalingActivity = {}));
|
|
175
|
-
export var DescribeScalingActivitiesResponse;
|
|
176
|
-
(function (DescribeScalingActivitiesResponse) {
|
|
177
|
-
DescribeScalingActivitiesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
178
|
-
})(DescribeScalingActivitiesResponse || (DescribeScalingActivitiesResponse = {}));
|
|
179
|
-
export var DescribeScalingPoliciesRequest;
|
|
180
|
-
(function (DescribeScalingPoliciesRequest) {
|
|
181
|
-
DescribeScalingPoliciesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
|
-
})(DescribeScalingPoliciesRequest || (DescribeScalingPoliciesRequest = {}));
|
|
183
123
|
export var PolicyType;
|
|
184
124
|
(function (PolicyType) {
|
|
185
125
|
PolicyType["StepScaling"] = "StepScaling";
|
|
@@ -191,18 +131,6 @@ export var MetricAggregationType;
|
|
|
191
131
|
MetricAggregationType["Maximum"] = "Maximum";
|
|
192
132
|
MetricAggregationType["Minimum"] = "Minimum";
|
|
193
133
|
})(MetricAggregationType || (MetricAggregationType = {}));
|
|
194
|
-
export var StepAdjustment;
|
|
195
|
-
(function (StepAdjustment) {
|
|
196
|
-
StepAdjustment.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
-
})(StepAdjustment || (StepAdjustment = {}));
|
|
198
|
-
export var StepScalingPolicyConfiguration;
|
|
199
|
-
(function (StepScalingPolicyConfiguration) {
|
|
200
|
-
StepScalingPolicyConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
201
|
-
})(StepScalingPolicyConfiguration || (StepScalingPolicyConfiguration = {}));
|
|
202
|
-
export var MetricDimension;
|
|
203
|
-
(function (MetricDimension) {
|
|
204
|
-
MetricDimension.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
205
|
-
})(MetricDimension || (MetricDimension = {}));
|
|
206
134
|
export var MetricStatistic;
|
|
207
135
|
(function (MetricStatistic) {
|
|
208
136
|
MetricStatistic["Average"] = "Average";
|
|
@@ -211,10 +139,6 @@ export var MetricStatistic;
|
|
|
211
139
|
MetricStatistic["SampleCount"] = "SampleCount";
|
|
212
140
|
MetricStatistic["Sum"] = "Sum";
|
|
213
141
|
})(MetricStatistic || (MetricStatistic = {}));
|
|
214
|
-
export var CustomizedMetricSpecification;
|
|
215
|
-
(function (CustomizedMetricSpecification) {
|
|
216
|
-
CustomizedMetricSpecification.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
217
|
-
})(CustomizedMetricSpecification || (CustomizedMetricSpecification = {}));
|
|
218
142
|
export var MetricType;
|
|
219
143
|
(function (MetricType) {
|
|
220
144
|
MetricType["ALBRequestCountPerTarget"] = "ALBRequestCountPerTarget";
|
|
@@ -239,22 +163,6 @@ export var MetricType;
|
|
|
239
163
|
MetricType["RDSReaderAverageDatabaseConnections"] = "RDSReaderAverageDatabaseConnections";
|
|
240
164
|
MetricType["SageMakerVariantInvocationsPerInstance"] = "SageMakerVariantInvocationsPerInstance";
|
|
241
165
|
})(MetricType || (MetricType = {}));
|
|
242
|
-
export var PredefinedMetricSpecification;
|
|
243
|
-
(function (PredefinedMetricSpecification) {
|
|
244
|
-
PredefinedMetricSpecification.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
245
|
-
})(PredefinedMetricSpecification || (PredefinedMetricSpecification = {}));
|
|
246
|
-
export var TargetTrackingScalingPolicyConfiguration;
|
|
247
|
-
(function (TargetTrackingScalingPolicyConfiguration) {
|
|
248
|
-
TargetTrackingScalingPolicyConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
249
|
-
})(TargetTrackingScalingPolicyConfiguration || (TargetTrackingScalingPolicyConfiguration = {}));
|
|
250
|
-
export var ScalingPolicy;
|
|
251
|
-
(function (ScalingPolicy) {
|
|
252
|
-
ScalingPolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
253
|
-
})(ScalingPolicy || (ScalingPolicy = {}));
|
|
254
|
-
export var DescribeScalingPoliciesResponse;
|
|
255
|
-
(function (DescribeScalingPoliciesResponse) {
|
|
256
|
-
DescribeScalingPoliciesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
257
|
-
})(DescribeScalingPoliciesResponse || (DescribeScalingPoliciesResponse = {}));
|
|
258
166
|
var FailedResourceAccessException = (function (_super) {
|
|
259
167
|
__extends(FailedResourceAccessException, _super);
|
|
260
168
|
function FailedResourceAccessException(opts) {
|
|
@@ -268,22 +176,6 @@ var FailedResourceAccessException = (function (_super) {
|
|
|
268
176
|
return FailedResourceAccessException;
|
|
269
177
|
}(__BaseException));
|
|
270
178
|
export { FailedResourceAccessException };
|
|
271
|
-
export var DescribeScheduledActionsRequest;
|
|
272
|
-
(function (DescribeScheduledActionsRequest) {
|
|
273
|
-
DescribeScheduledActionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
274
|
-
})(DescribeScheduledActionsRequest || (DescribeScheduledActionsRequest = {}));
|
|
275
|
-
export var ScalableTargetAction;
|
|
276
|
-
(function (ScalableTargetAction) {
|
|
277
|
-
ScalableTargetAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
278
|
-
})(ScalableTargetAction || (ScalableTargetAction = {}));
|
|
279
|
-
export var ScheduledAction;
|
|
280
|
-
(function (ScheduledAction) {
|
|
281
|
-
ScheduledAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
282
|
-
})(ScheduledAction || (ScheduledAction = {}));
|
|
283
|
-
export var DescribeScheduledActionsResponse;
|
|
284
|
-
(function (DescribeScheduledActionsResponse) {
|
|
285
|
-
DescribeScheduledActionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
286
|
-
})(DescribeScheduledActionsResponse || (DescribeScheduledActionsResponse = {}));
|
|
287
179
|
var LimitExceededException = (function (_super) {
|
|
288
180
|
__extends(LimitExceededException, _super);
|
|
289
181
|
function LimitExceededException(opts) {
|
|
@@ -297,27 +189,36 @@ var LimitExceededException = (function (_super) {
|
|
|
297
189
|
return LimitExceededException;
|
|
298
190
|
}(__BaseException));
|
|
299
191
|
export { LimitExceededException };
|
|
300
|
-
export var
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
export var
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
export var
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
export var
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
export var
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
export var
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
192
|
+
export var AlarmFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
+
export var DeleteScalingPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
|
+
export var DeleteScalingPolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
|
+
export var DeleteScheduledActionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
+
export var DeleteScheduledActionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
+
export var DeregisterScalableTargetRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
198
|
+
export var DeregisterScalableTargetResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
|
+
export var DescribeScalableTargetsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
200
|
+
export var SuspendedStateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
201
|
+
export var ScalableTargetFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
202
|
+
export var DescribeScalableTargetsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
|
+
export var DescribeScalingActivitiesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
204
|
+
export var ScalingActivityFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
205
|
+
export var DescribeScalingActivitiesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
206
|
+
export var DescribeScalingPoliciesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
|
+
export var StepAdjustmentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
208
|
+
export var StepScalingPolicyConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
209
|
+
export var MetricDimensionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
210
|
+
export var CustomizedMetricSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
211
|
+
export var PredefinedMetricSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
|
+
export var TargetTrackingScalingPolicyConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
213
|
+
export var ScalingPolicyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
214
|
+
export var DescribeScalingPoliciesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
215
|
+
export var DescribeScheduledActionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
+
export var ScalableTargetActionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
217
|
+
export var ScheduledActionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
218
|
+
export var DescribeScheduledActionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
219
|
+
export var PutScalingPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
|
+
export var PutScalingPolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
221
|
+
export var PutScheduledActionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
222
|
+
export var PutScheduledActionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
|
+
export var RegisterScalableTargetRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
+
export var RegisterScalableTargetResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { ApplicationAutoScalingServiceException as __BaseException } from "../models/ApplicationAutoScalingServiceException";
|
|
5
5
|
import { ConcurrentUpdateException, FailedResourceAccessException, InternalServiceException, InvalidNextTokenException, LimitExceededException, ObjectNotFoundException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_1DeleteScalingPolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -132,7 +132,7 @@ export var deserializeAws_json1_1DeleteScalingPolicyCommand = function (output,
|
|
|
132
132
|
});
|
|
133
133
|
}); };
|
|
134
134
|
var deserializeAws_json1_1DeleteScalingPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
135
|
-
var parsedOutput, _a,
|
|
135
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
136
136
|
var _c;
|
|
137
137
|
return __generator(this, function (_d) {
|
|
138
138
|
switch (_d.label) {
|
|
@@ -165,14 +165,14 @@ var deserializeAws_json1_1DeleteScalingPolicyCommandError = function (output, co
|
|
|
165
165
|
case 9: throw _d.sent();
|
|
166
166
|
case 10:
|
|
167
167
|
parsedBody = parsedOutput.body;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
$metadata: $metadata,
|
|
168
|
+
throwDefaultError({
|
|
169
|
+
output: output,
|
|
170
|
+
parsedBody: parsedBody,
|
|
171
|
+
exceptionCtor: __BaseException,
|
|
172
|
+
errorCode: errorCode,
|
|
174
173
|
});
|
|
175
|
-
|
|
174
|
+
_d.label = 11;
|
|
175
|
+
case 11: return [2];
|
|
176
176
|
}
|
|
177
177
|
});
|
|
178
178
|
}); };
|
|
@@ -195,7 +195,7 @@ export var deserializeAws_json1_1DeleteScheduledActionCommand = function (output
|
|
|
195
195
|
});
|
|
196
196
|
}); };
|
|
197
197
|
var deserializeAws_json1_1DeleteScheduledActionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
198
|
-
var parsedOutput, _a,
|
|
198
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
199
199
|
var _c;
|
|
200
200
|
return __generator(this, function (_d) {
|
|
201
201
|
switch (_d.label) {
|
|
@@ -228,14 +228,14 @@ var deserializeAws_json1_1DeleteScheduledActionCommandError = function (output,
|
|
|
228
228
|
case 9: throw _d.sent();
|
|
229
229
|
case 10:
|
|
230
230
|
parsedBody = parsedOutput.body;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
$metadata: $metadata,
|
|
231
|
+
throwDefaultError({
|
|
232
|
+
output: output,
|
|
233
|
+
parsedBody: parsedBody,
|
|
234
|
+
exceptionCtor: __BaseException,
|
|
235
|
+
errorCode: errorCode,
|
|
237
236
|
});
|
|
238
|
-
|
|
237
|
+
_d.label = 11;
|
|
238
|
+
case 11: return [2];
|
|
239
239
|
}
|
|
240
240
|
});
|
|
241
241
|
}); };
|
|
@@ -258,7 +258,7 @@ export var deserializeAws_json1_1DeregisterScalableTargetCommand = function (out
|
|
|
258
258
|
});
|
|
259
259
|
}); };
|
|
260
260
|
var deserializeAws_json1_1DeregisterScalableTargetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
261
|
-
var parsedOutput, _a,
|
|
261
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
262
262
|
var _c;
|
|
263
263
|
return __generator(this, function (_d) {
|
|
264
264
|
switch (_d.label) {
|
|
@@ -291,14 +291,14 @@ var deserializeAws_json1_1DeregisterScalableTargetCommandError = function (outpu
|
|
|
291
291
|
case 9: throw _d.sent();
|
|
292
292
|
case 10:
|
|
293
293
|
parsedBody = parsedOutput.body;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
$metadata: $metadata,
|
|
294
|
+
throwDefaultError({
|
|
295
|
+
output: output,
|
|
296
|
+
parsedBody: parsedBody,
|
|
297
|
+
exceptionCtor: __BaseException,
|
|
298
|
+
errorCode: errorCode,
|
|
300
299
|
});
|
|
301
|
-
|
|
300
|
+
_d.label = 11;
|
|
301
|
+
case 11: return [2];
|
|
302
302
|
}
|
|
303
303
|
});
|
|
304
304
|
}); };
|
|
@@ -321,7 +321,7 @@ export var deserializeAws_json1_1DescribeScalableTargetsCommand = function (outp
|
|
|
321
321
|
});
|
|
322
322
|
}); };
|
|
323
323
|
var deserializeAws_json1_1DescribeScalableTargetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
324
|
-
var parsedOutput, _a,
|
|
324
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
325
325
|
var _c;
|
|
326
326
|
return __generator(this, function (_d) {
|
|
327
327
|
switch (_d.label) {
|
|
@@ -354,14 +354,14 @@ var deserializeAws_json1_1DescribeScalableTargetsCommandError = function (output
|
|
|
354
354
|
case 9: throw _d.sent();
|
|
355
355
|
case 10:
|
|
356
356
|
parsedBody = parsedOutput.body;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
$metadata: $metadata,
|
|
357
|
+
throwDefaultError({
|
|
358
|
+
output: output,
|
|
359
|
+
parsedBody: parsedBody,
|
|
360
|
+
exceptionCtor: __BaseException,
|
|
361
|
+
errorCode: errorCode,
|
|
363
362
|
});
|
|
364
|
-
|
|
363
|
+
_d.label = 11;
|
|
364
|
+
case 11: return [2];
|
|
365
365
|
}
|
|
366
366
|
});
|
|
367
367
|
}); };
|
|
@@ -384,7 +384,7 @@ export var deserializeAws_json1_1DescribeScalingActivitiesCommand = function (ou
|
|
|
384
384
|
});
|
|
385
385
|
}); };
|
|
386
386
|
var deserializeAws_json1_1DescribeScalingActivitiesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
387
|
-
var parsedOutput, _a,
|
|
387
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
388
388
|
var _c;
|
|
389
389
|
return __generator(this, function (_d) {
|
|
390
390
|
switch (_d.label) {
|
|
@@ -417,14 +417,14 @@ var deserializeAws_json1_1DescribeScalingActivitiesCommandError = function (outp
|
|
|
417
417
|
case 9: throw _d.sent();
|
|
418
418
|
case 10:
|
|
419
419
|
parsedBody = parsedOutput.body;
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
$metadata: $metadata,
|
|
420
|
+
throwDefaultError({
|
|
421
|
+
output: output,
|
|
422
|
+
parsedBody: parsedBody,
|
|
423
|
+
exceptionCtor: __BaseException,
|
|
424
|
+
errorCode: errorCode,
|
|
426
425
|
});
|
|
427
|
-
|
|
426
|
+
_d.label = 11;
|
|
427
|
+
case 11: return [2];
|
|
428
428
|
}
|
|
429
429
|
});
|
|
430
430
|
}); };
|
|
@@ -447,7 +447,7 @@ export var deserializeAws_json1_1DescribeScalingPoliciesCommand = function (outp
|
|
|
447
447
|
});
|
|
448
448
|
}); };
|
|
449
449
|
var deserializeAws_json1_1DescribeScalingPoliciesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
450
|
-
var parsedOutput, _a,
|
|
450
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
451
451
|
var _c;
|
|
452
452
|
return __generator(this, function (_d) {
|
|
453
453
|
switch (_d.label) {
|
|
@@ -484,14 +484,14 @@ var deserializeAws_json1_1DescribeScalingPoliciesCommandError = function (output
|
|
|
484
484
|
case 11: throw _d.sent();
|
|
485
485
|
case 12:
|
|
486
486
|
parsedBody = parsedOutput.body;
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
$metadata: $metadata,
|
|
487
|
+
throwDefaultError({
|
|
488
|
+
output: output,
|
|
489
|
+
parsedBody: parsedBody,
|
|
490
|
+
exceptionCtor: __BaseException,
|
|
491
|
+
errorCode: errorCode,
|
|
493
492
|
});
|
|
494
|
-
|
|
493
|
+
_d.label = 13;
|
|
494
|
+
case 13: return [2];
|
|
495
495
|
}
|
|
496
496
|
});
|
|
497
497
|
}); };
|
|
@@ -514,7 +514,7 @@ export var deserializeAws_json1_1DescribeScheduledActionsCommand = function (out
|
|
|
514
514
|
});
|
|
515
515
|
}); };
|
|
516
516
|
var deserializeAws_json1_1DescribeScheduledActionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
517
|
-
var parsedOutput, _a,
|
|
517
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
518
518
|
var _c;
|
|
519
519
|
return __generator(this, function (_d) {
|
|
520
520
|
switch (_d.label) {
|
|
@@ -547,14 +547,14 @@ var deserializeAws_json1_1DescribeScheduledActionsCommandError = function (outpu
|
|
|
547
547
|
case 9: throw _d.sent();
|
|
548
548
|
case 10:
|
|
549
549
|
parsedBody = parsedOutput.body;
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
$metadata: $metadata,
|
|
550
|
+
throwDefaultError({
|
|
551
|
+
output: output,
|
|
552
|
+
parsedBody: parsedBody,
|
|
553
|
+
exceptionCtor: __BaseException,
|
|
554
|
+
errorCode: errorCode,
|
|
556
555
|
});
|
|
557
|
-
|
|
556
|
+
_d.label = 11;
|
|
557
|
+
case 11: return [2];
|
|
558
558
|
}
|
|
559
559
|
});
|
|
560
560
|
}); };
|
|
@@ -577,7 +577,7 @@ export var deserializeAws_json1_1PutScalingPolicyCommand = function (output, con
|
|
|
577
577
|
});
|
|
578
578
|
}); };
|
|
579
579
|
var deserializeAws_json1_1PutScalingPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
580
|
-
var parsedOutput, _a,
|
|
580
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
581
581
|
var _c;
|
|
582
582
|
return __generator(this, function (_d) {
|
|
583
583
|
switch (_d.label) {
|
|
@@ -618,14 +618,14 @@ var deserializeAws_json1_1PutScalingPolicyCommandError = function (output, conte
|
|
|
618
618
|
case 13: throw _d.sent();
|
|
619
619
|
case 14:
|
|
620
620
|
parsedBody = parsedOutput.body;
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
$metadata: $metadata,
|
|
621
|
+
throwDefaultError({
|
|
622
|
+
output: output,
|
|
623
|
+
parsedBody: parsedBody,
|
|
624
|
+
exceptionCtor: __BaseException,
|
|
625
|
+
errorCode: errorCode,
|
|
627
626
|
});
|
|
628
|
-
|
|
627
|
+
_d.label = 15;
|
|
628
|
+
case 15: return [2];
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}); };
|
|
@@ -648,7 +648,7 @@ export var deserializeAws_json1_1PutScheduledActionCommand = function (output, c
|
|
|
648
648
|
});
|
|
649
649
|
}); };
|
|
650
650
|
var deserializeAws_json1_1PutScheduledActionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
651
|
-
var parsedOutput, _a,
|
|
651
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
652
652
|
var _c;
|
|
653
653
|
return __generator(this, function (_d) {
|
|
654
654
|
switch (_d.label) {
|
|
@@ -685,14 +685,14 @@ var deserializeAws_json1_1PutScheduledActionCommandError = function (output, con
|
|
|
685
685
|
case 11: throw _d.sent();
|
|
686
686
|
case 12:
|
|
687
687
|
parsedBody = parsedOutput.body;
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
$metadata: $metadata,
|
|
688
|
+
throwDefaultError({
|
|
689
|
+
output: output,
|
|
690
|
+
parsedBody: parsedBody,
|
|
691
|
+
exceptionCtor: __BaseException,
|
|
692
|
+
errorCode: errorCode,
|
|
694
693
|
});
|
|
695
|
-
|
|
694
|
+
_d.label = 13;
|
|
695
|
+
case 13: return [2];
|
|
696
696
|
}
|
|
697
697
|
});
|
|
698
698
|
}); };
|
|
@@ -715,7 +715,7 @@ export var deserializeAws_json1_1RegisterScalableTargetCommand = function (outpu
|
|
|
715
715
|
});
|
|
716
716
|
}); };
|
|
717
717
|
var deserializeAws_json1_1RegisterScalableTargetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
718
|
-
var parsedOutput, _a,
|
|
718
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
719
719
|
var _c;
|
|
720
720
|
return __generator(this, function (_d) {
|
|
721
721
|
switch (_d.label) {
|
|
@@ -748,14 +748,14 @@ var deserializeAws_json1_1RegisterScalableTargetCommandError = function (output,
|
|
|
748
748
|
case 9: throw _d.sent();
|
|
749
749
|
case 10:
|
|
750
750
|
parsedBody = parsedOutput.body;
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
$metadata: $metadata,
|
|
751
|
+
throwDefaultError({
|
|
752
|
+
output: output,
|
|
753
|
+
parsedBody: parsedBody,
|
|
754
|
+
exceptionCtor: __BaseException,
|
|
755
|
+
errorCode: errorCode,
|
|
757
756
|
});
|
|
758
|
-
|
|
757
|
+
_d.label = 11;
|
|
758
|
+
case 11: return [2];
|
|
759
759
|
}
|
|
760
760
|
});
|
|
761
761
|
}); };
|
|
@@ -859,9 +859,6 @@ var serializeAws_json1_1MetricDimensions = function (input, context) {
|
|
|
859
859
|
return input
|
|
860
860
|
.filter(function (e) { return e != null; })
|
|
861
861
|
.map(function (entry) {
|
|
862
|
-
if (entry === null) {
|
|
863
|
-
return null;
|
|
864
|
-
}
|
|
865
862
|
return serializeAws_json1_1MetricDimension(entry, context);
|
|
866
863
|
});
|
|
867
864
|
};
|
|
@@ -889,9 +886,6 @@ var serializeAws_json1_1ResourceIdsMaxLen1600 = function (input, context) {
|
|
|
889
886
|
return input
|
|
890
887
|
.filter(function (e) { return e != null; })
|
|
891
888
|
.map(function (entry) {
|
|
892
|
-
if (entry === null) {
|
|
893
|
-
return null;
|
|
894
|
-
}
|
|
895
889
|
return entry;
|
|
896
890
|
});
|
|
897
891
|
};
|
|
@@ -909,9 +903,6 @@ var serializeAws_json1_1StepAdjustments = function (input, context) {
|
|
|
909
903
|
return input
|
|
910
904
|
.filter(function (e) { return e != null; })
|
|
911
905
|
.map(function (entry) {
|
|
912
|
-
if (entry === null) {
|
|
913
|
-
return null;
|
|
914
|
-
}
|
|
915
906
|
return serializeAws_json1_1StepAdjustment(entry, context);
|
|
916
907
|
});
|
|
917
908
|
};
|