@aws-sdk/client-application-auto-scaling 3.987.0 → 3.989.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 +33 -863
- package/dist-cjs/models/ApplicationAutoScalingServiceException.js +12 -0
- package/dist-cjs/models/errors.js +143 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +636 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +64 -58
- package/dist-types/schemas/schemas_0.d.ts +17 -10
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -10
- package/package.json +13 -13
|
@@ -0,0 +1,636 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutScheduledActionResponse$ = exports.PutScheduledActionRequest$ = exports.PutScalingPolicyResponse$ = exports.PutScalingPolicyRequest$ = exports.PredictiveScalingPredefinedScalingMetricSpecification$ = exports.PredictiveScalingPredefinedMetricPairSpecification$ = exports.PredictiveScalingPredefinedLoadMetricSpecification$ = exports.PredictiveScalingPolicyConfiguration$ = exports.PredictiveScalingMetricStat$ = exports.PredictiveScalingMetricSpecification$ = exports.PredictiveScalingMetricDimension$ = exports.PredictiveScalingMetricDataQuery$ = exports.PredictiveScalingMetric$ = exports.PredictiveScalingCustomizedMetricSpecification$ = exports.PredefinedMetricSpecification$ = exports.NotScaledReason$ = exports.MetricDimension$ = exports.LoadForecast$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.GetPredictiveScalingForecastResponse$ = exports.GetPredictiveScalingForecastRequest$ = exports.DescribeScheduledActionsResponse$ = exports.DescribeScheduledActionsRequest$ = exports.DescribeScalingPoliciesResponse$ = exports.DescribeScalingPoliciesRequest$ = exports.DescribeScalingActivitiesResponse$ = exports.DescribeScalingActivitiesRequest$ = exports.DescribeScalableTargetsResponse$ = exports.DescribeScalableTargetsRequest$ = exports.DeregisterScalableTargetResponse$ = exports.DeregisterScalableTargetRequest$ = exports.DeleteScheduledActionResponse$ = exports.DeleteScheduledActionRequest$ = exports.DeleteScalingPolicyResponse$ = exports.DeleteScalingPolicyRequest$ = exports.CustomizedMetricSpecification$ = exports.CapacityForecast$ = exports.Alarm$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyTagsException$ = exports.ResourceNotFoundException$ = exports.ObjectNotFoundException$ = exports.LimitExceededException$ = exports.InvalidNextTokenException$ = exports.InternalServiceException$ = exports.FailedResourceAccessException$ = exports.ConcurrentUpdateException$ = exports.ApplicationAutoScalingServiceException$ = void 0;
|
|
4
|
+
exports.UntagResource$ = exports.TagResource$ = exports.RegisterScalableTarget$ = exports.PutScheduledAction$ = exports.PutScalingPolicy$ = exports.ListTagsForResource$ = exports.GetPredictiveScalingForecast$ = exports.DescribeScheduledActions$ = exports.DescribeScalingPolicies$ = exports.DescribeScalingActivities$ = exports.DescribeScalableTargets$ = exports.DeregisterScalableTarget$ = exports.DeleteScheduledAction$ = exports.DeleteScalingPolicy$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TargetTrackingScalingPolicyConfiguration$ = exports.TargetTrackingMetricStat$ = exports.TargetTrackingMetricDimension$ = exports.TargetTrackingMetricDataQuery$ = exports.TargetTrackingMetric$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.SuspendedState$ = exports.StepScalingPolicyConfiguration$ = exports.StepAdjustment$ = exports.ScheduledAction$ = exports.ScalingPolicy$ = exports.ScalingActivity$ = exports.ScalableTargetAction$ = exports.ScalableTarget$ = exports.RegisterScalableTargetResponse$ = exports.RegisterScalableTargetRequest$ = void 0;
|
|
5
|
+
const _A = "Alarm";
|
|
6
|
+
const _AARN = "AlarmARN";
|
|
7
|
+
const _AI = "ActivityId";
|
|
8
|
+
const _AN = "AlarmName";
|
|
9
|
+
const _AT = "AdjustmentType";
|
|
10
|
+
const _Al = "Alarms";
|
|
11
|
+
const _C = "Code";
|
|
12
|
+
const _CC = "CurrentCapacity";
|
|
13
|
+
const _CCMS = "CustomizedCapacityMetricSpecification";
|
|
14
|
+
const _CF = "CapacityForecast";
|
|
15
|
+
const _CLMS = "CustomizedLoadMetricSpecification";
|
|
16
|
+
const _CMS = "CustomizedMetricSpecification";
|
|
17
|
+
const _CSMS = "CustomizedScalingMetricSpecification";
|
|
18
|
+
const _CT = "CreationTime";
|
|
19
|
+
const _CUE = "ConcurrentUpdateException";
|
|
20
|
+
const _Ca = "Cause";
|
|
21
|
+
const _Co = "Cooldown";
|
|
22
|
+
const _D = "Dimensions";
|
|
23
|
+
const _DSA = "DeleteScheduledAction";
|
|
24
|
+
const _DSAR = "DeleteScheduledActionRequest";
|
|
25
|
+
const _DSARe = "DeleteScheduledActionResponse";
|
|
26
|
+
const _DSARes = "DescribeScalingActivitiesRequest";
|
|
27
|
+
const _DSAResc = "DescribeScalingActivitiesResponse";
|
|
28
|
+
const _DSARescr = "DescribeScheduledActionsRequest";
|
|
29
|
+
const _DSARescri = "DescribeScheduledActionsResponse";
|
|
30
|
+
const _DSAe = "DescribeScalingActivities";
|
|
31
|
+
const _DSAes = "DescribeScheduledActions";
|
|
32
|
+
const _DSI = "DisableScaleIn";
|
|
33
|
+
const _DSIS = "DynamicScalingInSuspended";
|
|
34
|
+
const _DSOS = "DynamicScalingOutSuspended";
|
|
35
|
+
const _DSP = "DeleteScalingPolicy";
|
|
36
|
+
const _DSPR = "DeleteScalingPolicyRequest";
|
|
37
|
+
const _DSPRe = "DeleteScalingPolicyResponse";
|
|
38
|
+
const _DSPRes = "DescribeScalingPoliciesRequest";
|
|
39
|
+
const _DSPResc = "DescribeScalingPoliciesResponse";
|
|
40
|
+
const _DSPe = "DescribeScalingPolicies";
|
|
41
|
+
const _DST = "DeregisterScalableTarget";
|
|
42
|
+
const _DSTR = "DeregisterScalableTargetRequest";
|
|
43
|
+
const _DSTRe = "DeregisterScalableTargetResponse";
|
|
44
|
+
const _DSTRes = "DescribeScalableTargetsRequest";
|
|
45
|
+
const _DSTResc = "DescribeScalableTargetsResponse";
|
|
46
|
+
const _DSTe = "DescribeScalableTargets";
|
|
47
|
+
const _De = "Description";
|
|
48
|
+
const _Det = "Details";
|
|
49
|
+
const _E = "Expression";
|
|
50
|
+
const _ET = "EndTime";
|
|
51
|
+
const _FRAE = "FailedResourceAccessException";
|
|
52
|
+
const _GPSF = "GetPredictiveScalingForecast";
|
|
53
|
+
const _GPSFR = "GetPredictiveScalingForecastRequest";
|
|
54
|
+
const _GPSFRe = "GetPredictiveScalingForecastResponse";
|
|
55
|
+
const _I = "Id";
|
|
56
|
+
const _INSA = "IncludeNotScaledActivities";
|
|
57
|
+
const _INTE = "InvalidNextTokenException";
|
|
58
|
+
const _ISE = "InternalServiceException";
|
|
59
|
+
const _L = "Label";
|
|
60
|
+
const _LEE = "LimitExceededException";
|
|
61
|
+
const _LF = "LoadForecast";
|
|
62
|
+
const _LFo = "LoadForecasts";
|
|
63
|
+
const _LTFR = "ListTagsForResource";
|
|
64
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
65
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
66
|
+
const _M = "Message";
|
|
67
|
+
const _MAM = "MinAdjustmentMagnitude";
|
|
68
|
+
const _MAT = "MetricAggregationType";
|
|
69
|
+
const _MC = "MaxCapacity";
|
|
70
|
+
const _MCB = "MaxCapacityBuffer";
|
|
71
|
+
const _MCBB = "MaxCapacityBreachBehavior";
|
|
72
|
+
const _MCi = "MinCapacity";
|
|
73
|
+
const _MD = "MetricDimension";
|
|
74
|
+
const _MDQ = "MetricDataQueries";
|
|
75
|
+
const _MDe = "MetricDimensions";
|
|
76
|
+
const _MILB = "MetricIntervalLowerBound";
|
|
77
|
+
const _MIUB = "MetricIntervalUpperBound";
|
|
78
|
+
const _MN = "MetricName";
|
|
79
|
+
const _MR = "MaxResults";
|
|
80
|
+
const _MS = "MetricSpecification";
|
|
81
|
+
const _MSe = "MetricStat";
|
|
82
|
+
const _MSet = "MetricSpecifications";
|
|
83
|
+
const _Me = "Metrics";
|
|
84
|
+
const _Met = "Metric";
|
|
85
|
+
const _Mo = "Mode";
|
|
86
|
+
const _N = "Namespace";
|
|
87
|
+
const _NSR = "NotScaledReason";
|
|
88
|
+
const _NSRo = "NotScaledReasons";
|
|
89
|
+
const _NT = "NextToken";
|
|
90
|
+
const _Na = "Name";
|
|
91
|
+
const _ONFE = "ObjectNotFoundException";
|
|
92
|
+
const _PARN = "PolicyARN";
|
|
93
|
+
const _PC = "PredictedCapacity";
|
|
94
|
+
const _PLMS = "PredefinedLoadMetricSpecification";
|
|
95
|
+
const _PMPS = "PredefinedMetricPairSpecification";
|
|
96
|
+
const _PMS = "PredefinedMetricSpecification";
|
|
97
|
+
const _PMT = "PredefinedMetricType";
|
|
98
|
+
const _PN = "PolicyName";
|
|
99
|
+
const _PNo = "PolicyNames";
|
|
100
|
+
const _PSA = "PutScheduledAction";
|
|
101
|
+
const _PSAR = "PutScheduledActionRequest";
|
|
102
|
+
const _PSARu = "PutScheduledActionResponse";
|
|
103
|
+
const _PSCMS = "PredictiveScalingCustomizedMetricSpecification";
|
|
104
|
+
const _PSM = "PredictiveScalingMetric";
|
|
105
|
+
const _PSMD = "PredictiveScalingMetricDimension";
|
|
106
|
+
const _PSMDQ = "PredictiveScalingMetricDataQuery";
|
|
107
|
+
const _PSMDQr = "PredictiveScalingMetricDataQueries";
|
|
108
|
+
const _PSMDr = "PredictiveScalingMetricDimensions";
|
|
109
|
+
const _PSMS = "PredictiveScalingMetricSpecification";
|
|
110
|
+
const _PSMSr = "PredefinedScalingMetricSpecification";
|
|
111
|
+
const _PSMSre = "PredictiveScalingMetricStat";
|
|
112
|
+
const _PSMSred = "PredictiveScalingMetricSpecifications";
|
|
113
|
+
const _PSP = "PutScalingPolicy";
|
|
114
|
+
const _PSPC = "PredictiveScalingPolicyConfiguration";
|
|
115
|
+
const _PSPLMS = "PredictiveScalingPredefinedLoadMetricSpecification";
|
|
116
|
+
const _PSPMPS = "PredictiveScalingPredefinedMetricPairSpecification";
|
|
117
|
+
const _PSPR = "PutScalingPolicyRequest";
|
|
118
|
+
const _PSPRu = "PutScalingPolicyResponse";
|
|
119
|
+
const _PSPSMS = "PredictiveScalingPredefinedScalingMetricSpecification";
|
|
120
|
+
const _PT = "PolicyType";
|
|
121
|
+
const _RARN = "ResourceARN";
|
|
122
|
+
const _RARNo = "RoleARN";
|
|
123
|
+
const _RD = "ReturnData";
|
|
124
|
+
const _RI = "ResourceId";
|
|
125
|
+
const _RIe = "ResourceIds";
|
|
126
|
+
const _RL = "ResourceLabel";
|
|
127
|
+
const _RN = "ResourceName";
|
|
128
|
+
const _RNFE = "ResourceNotFoundException";
|
|
129
|
+
const _RST = "RegisterScalableTarget";
|
|
130
|
+
const _RSTR = "RegisterScalableTargetRequest";
|
|
131
|
+
const _RSTRe = "RegisterScalableTargetResponse";
|
|
132
|
+
const _S = "Statistic";
|
|
133
|
+
const _SA = "ScalingActivities";
|
|
134
|
+
const _SAARN = "ScheduledActionARN";
|
|
135
|
+
const _SAN = "ScheduledActionName";
|
|
136
|
+
const _SANc = "ScheduledActionNames";
|
|
137
|
+
const _SAc = "ScheduledActions";
|
|
138
|
+
const _SAca = "ScalingActivity";
|
|
139
|
+
const _SAcal = "ScalingAdjustment";
|
|
140
|
+
const _SAch = "ScheduledAction";
|
|
141
|
+
const _SAt = "StepAdjustment";
|
|
142
|
+
const _SAte = "StepAdjustments";
|
|
143
|
+
const _SBT = "SchedulingBufferTime";
|
|
144
|
+
const _SC = "StatusCode";
|
|
145
|
+
const _SD = "ScalableDimension";
|
|
146
|
+
const _SIC = "ScaleInCooldown";
|
|
147
|
+
const _SM = "StatusMessage";
|
|
148
|
+
const _SN = "ServiceNamespace";
|
|
149
|
+
const _SOC = "ScaleOutCooldown";
|
|
150
|
+
const _SP = "ScalingPolicies";
|
|
151
|
+
const _SPc = "ScalingPolicy";
|
|
152
|
+
const _SS = "SuspendedState";
|
|
153
|
+
const _SSPC = "StepScalingPolicyConfiguration";
|
|
154
|
+
const _SSS = "ScheduledScalingSuspended";
|
|
155
|
+
const _ST = "ScalableTargets";
|
|
156
|
+
const _STA = "ScalableTargetAction";
|
|
157
|
+
const _STARN = "ScalableTargetARN";
|
|
158
|
+
const _STc = "ScalableTarget";
|
|
159
|
+
const _STt = "StartTime";
|
|
160
|
+
const _Sc = "Schedule";
|
|
161
|
+
const _St = "Stat";
|
|
162
|
+
const _T = "Timestamps";
|
|
163
|
+
const _TK = "TagKeys";
|
|
164
|
+
const _TMTE = "TooManyTagsException";
|
|
165
|
+
const _TR = "TagResource";
|
|
166
|
+
const _TRR = "TagResourceRequest";
|
|
167
|
+
const _TRRa = "TagResourceResponse";
|
|
168
|
+
const _TTM = "TargetTrackingMetric";
|
|
169
|
+
const _TTMD = "TargetTrackingMetricDimension";
|
|
170
|
+
const _TTMDQ = "TargetTrackingMetricDataQuery";
|
|
171
|
+
const _TTMDQa = "TargetTrackingMetricDataQueries";
|
|
172
|
+
const _TTMDa = "TargetTrackingMetricDimensions";
|
|
173
|
+
const _TTMS = "TargetTrackingMetricStat";
|
|
174
|
+
const _TTSPC = "TargetTrackingScalingPolicyConfiguration";
|
|
175
|
+
const _TV = "TargetValue";
|
|
176
|
+
const _Ta = "Tags";
|
|
177
|
+
const _Ti = "Timezone";
|
|
178
|
+
const _U = "Unit";
|
|
179
|
+
const _UR = "UntagResource";
|
|
180
|
+
const _URR = "UntagResourceRequest";
|
|
181
|
+
const _URRn = "UntagResourceResponse";
|
|
182
|
+
const _UT = "UpdateTime";
|
|
183
|
+
const _V = "Values";
|
|
184
|
+
const _VE = "ValidationException";
|
|
185
|
+
const _Va = "Value";
|
|
186
|
+
const _aQE = "awsQueryError";
|
|
187
|
+
const _c = "client";
|
|
188
|
+
const _e = "error";
|
|
189
|
+
const _hE = "httpError";
|
|
190
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.applicationautoscaling";
|
|
191
|
+
const _se = "server";
|
|
192
|
+
const n0 = "com.amazonaws.applicationautoscaling";
|
|
193
|
+
const schema_1 = require("@smithy/core/schema");
|
|
194
|
+
const ApplicationAutoScalingServiceException_1 = require("../models/ApplicationAutoScalingServiceException");
|
|
195
|
+
const errors_1 = require("../models/errors");
|
|
196
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
197
|
+
exports.ApplicationAutoScalingServiceException$ = [-3, _s, "ApplicationAutoScalingServiceException", 0, [], []];
|
|
198
|
+
_s_registry.registerError(exports.ApplicationAutoScalingServiceException$, ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException);
|
|
199
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
200
|
+
exports.ConcurrentUpdateException$ = [-3, n0, _CUE,
|
|
201
|
+
{ [_aQE]: [`ConcurrentUpdateException`, 500], [_e]: _se, [_hE]: 500 },
|
|
202
|
+
[_M],
|
|
203
|
+
[0]
|
|
204
|
+
];
|
|
205
|
+
n0_registry.registerError(exports.ConcurrentUpdateException$, errors_1.ConcurrentUpdateException);
|
|
206
|
+
exports.FailedResourceAccessException$ = [-3, n0, _FRAE,
|
|
207
|
+
{ [_aQE]: [`FailedResourceAccessException`, 400], [_e]: _c, [_hE]: 400 },
|
|
208
|
+
[_M],
|
|
209
|
+
[0]
|
|
210
|
+
];
|
|
211
|
+
n0_registry.registerError(exports.FailedResourceAccessException$, errors_1.FailedResourceAccessException);
|
|
212
|
+
exports.InternalServiceException$ = [-3, n0, _ISE,
|
|
213
|
+
{ [_aQE]: [`InternalServiceException`, 500], [_e]: _se, [_hE]: 500 },
|
|
214
|
+
[_M],
|
|
215
|
+
[0]
|
|
216
|
+
];
|
|
217
|
+
n0_registry.registerError(exports.InternalServiceException$, errors_1.InternalServiceException);
|
|
218
|
+
exports.InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
219
|
+
{ [_aQE]: [`InvalidNextTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
220
|
+
[_M],
|
|
221
|
+
[0]
|
|
222
|
+
];
|
|
223
|
+
n0_registry.registerError(exports.InvalidNextTokenException$, errors_1.InvalidNextTokenException);
|
|
224
|
+
exports.LimitExceededException$ = [-3, n0, _LEE,
|
|
225
|
+
{ [_aQE]: [`LimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
|
|
226
|
+
[_M],
|
|
227
|
+
[0]
|
|
228
|
+
];
|
|
229
|
+
n0_registry.registerError(exports.LimitExceededException$, errors_1.LimitExceededException);
|
|
230
|
+
exports.ObjectNotFoundException$ = [-3, n0, _ONFE,
|
|
231
|
+
{ [_aQE]: [`ObjectNotFoundException`, 400], [_e]: _c, [_hE]: 400 },
|
|
232
|
+
[_M],
|
|
233
|
+
[0]
|
|
234
|
+
];
|
|
235
|
+
n0_registry.registerError(exports.ObjectNotFoundException$, errors_1.ObjectNotFoundException);
|
|
236
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
237
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
238
|
+
[_M, _RN],
|
|
239
|
+
[0, 0]
|
|
240
|
+
];
|
|
241
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
242
|
+
exports.TooManyTagsException$ = [-3, n0, _TMTE,
|
|
243
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
244
|
+
[_M, _RN],
|
|
245
|
+
[0, 0]
|
|
246
|
+
];
|
|
247
|
+
n0_registry.registerError(exports.TooManyTagsException$, errors_1.TooManyTagsException);
|
|
248
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
249
|
+
{ [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
|
|
250
|
+
[_M],
|
|
251
|
+
[0]
|
|
252
|
+
];
|
|
253
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
254
|
+
exports.errorTypeRegistries = [
|
|
255
|
+
_s_registry,
|
|
256
|
+
n0_registry,
|
|
257
|
+
];
|
|
258
|
+
exports.Alarm$ = [3, n0, _A,
|
|
259
|
+
0,
|
|
260
|
+
[_AN, _AARN],
|
|
261
|
+
[0, 0], 2
|
|
262
|
+
];
|
|
263
|
+
exports.CapacityForecast$ = [3, n0, _CF,
|
|
264
|
+
0,
|
|
265
|
+
[_T, _V],
|
|
266
|
+
[64 | 4, 64 | 1], 2
|
|
267
|
+
];
|
|
268
|
+
exports.CustomizedMetricSpecification$ = [3, n0, _CMS,
|
|
269
|
+
0,
|
|
270
|
+
[_MN, _N, _D, _S, _U, _Me],
|
|
271
|
+
[0, 0, () => MetricDimensions, 0, 0, () => TargetTrackingMetricDataQueries]
|
|
272
|
+
];
|
|
273
|
+
exports.DeleteScalingPolicyRequest$ = [3, n0, _DSPR,
|
|
274
|
+
0,
|
|
275
|
+
[_PN, _SN, _RI, _SD],
|
|
276
|
+
[0, 0, 0, 0], 4
|
|
277
|
+
];
|
|
278
|
+
exports.DeleteScalingPolicyResponse$ = [3, n0, _DSPRe,
|
|
279
|
+
0,
|
|
280
|
+
[],
|
|
281
|
+
[]
|
|
282
|
+
];
|
|
283
|
+
exports.DeleteScheduledActionRequest$ = [3, n0, _DSAR,
|
|
284
|
+
0,
|
|
285
|
+
[_SN, _SAN, _RI, _SD],
|
|
286
|
+
[0, 0, 0, 0], 4
|
|
287
|
+
];
|
|
288
|
+
exports.DeleteScheduledActionResponse$ = [3, n0, _DSARe,
|
|
289
|
+
0,
|
|
290
|
+
[],
|
|
291
|
+
[]
|
|
292
|
+
];
|
|
293
|
+
exports.DeregisterScalableTargetRequest$ = [3, n0, _DSTR,
|
|
294
|
+
0,
|
|
295
|
+
[_SN, _RI, _SD],
|
|
296
|
+
[0, 0, 0], 3
|
|
297
|
+
];
|
|
298
|
+
exports.DeregisterScalableTargetResponse$ = [3, n0, _DSTRe,
|
|
299
|
+
0,
|
|
300
|
+
[],
|
|
301
|
+
[]
|
|
302
|
+
];
|
|
303
|
+
exports.DescribeScalableTargetsRequest$ = [3, n0, _DSTRes,
|
|
304
|
+
0,
|
|
305
|
+
[_SN, _RIe, _SD, _MR, _NT],
|
|
306
|
+
[0, 64 | 0, 0, 1, 0], 1
|
|
307
|
+
];
|
|
308
|
+
exports.DescribeScalableTargetsResponse$ = [3, n0, _DSTResc,
|
|
309
|
+
0,
|
|
310
|
+
[_ST, _NT],
|
|
311
|
+
[() => ScalableTargets, 0]
|
|
312
|
+
];
|
|
313
|
+
exports.DescribeScalingActivitiesRequest$ = [3, n0, _DSARes,
|
|
314
|
+
0,
|
|
315
|
+
[_SN, _RI, _SD, _MR, _NT, _INSA],
|
|
316
|
+
[0, 0, 0, 1, 0, 2], 1
|
|
317
|
+
];
|
|
318
|
+
exports.DescribeScalingActivitiesResponse$ = [3, n0, _DSAResc,
|
|
319
|
+
0,
|
|
320
|
+
[_SA, _NT],
|
|
321
|
+
[() => ScalingActivities, 0]
|
|
322
|
+
];
|
|
323
|
+
exports.DescribeScalingPoliciesRequest$ = [3, n0, _DSPRes,
|
|
324
|
+
0,
|
|
325
|
+
[_SN, _PNo, _RI, _SD, _MR, _NT],
|
|
326
|
+
[0, 64 | 0, 0, 0, 1, 0], 1
|
|
327
|
+
];
|
|
328
|
+
exports.DescribeScalingPoliciesResponse$ = [3, n0, _DSPResc,
|
|
329
|
+
0,
|
|
330
|
+
[_SP, _NT],
|
|
331
|
+
[() => ScalingPolicies, 0]
|
|
332
|
+
];
|
|
333
|
+
exports.DescribeScheduledActionsRequest$ = [3, n0, _DSARescr,
|
|
334
|
+
0,
|
|
335
|
+
[_SN, _SANc, _RI, _SD, _MR, _NT],
|
|
336
|
+
[0, 64 | 0, 0, 0, 1, 0], 1
|
|
337
|
+
];
|
|
338
|
+
exports.DescribeScheduledActionsResponse$ = [3, n0, _DSARescri,
|
|
339
|
+
0,
|
|
340
|
+
[_SAc, _NT],
|
|
341
|
+
[() => ScheduledActions, 0]
|
|
342
|
+
];
|
|
343
|
+
exports.GetPredictiveScalingForecastRequest$ = [3, n0, _GPSFR,
|
|
344
|
+
0,
|
|
345
|
+
[_SN, _RI, _SD, _PN, _STt, _ET],
|
|
346
|
+
[0, 0, 0, 0, 4, 4], 6
|
|
347
|
+
];
|
|
348
|
+
exports.GetPredictiveScalingForecastResponse$ = [3, n0, _GPSFRe,
|
|
349
|
+
0,
|
|
350
|
+
[_LF, _CF, _UT],
|
|
351
|
+
[() => LoadForecasts, () => exports.CapacityForecast$, 4]
|
|
352
|
+
];
|
|
353
|
+
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
354
|
+
0,
|
|
355
|
+
[_RARN],
|
|
356
|
+
[0], 1
|
|
357
|
+
];
|
|
358
|
+
exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
359
|
+
0,
|
|
360
|
+
[_Ta],
|
|
361
|
+
[128 | 0]
|
|
362
|
+
];
|
|
363
|
+
exports.LoadForecast$ = [3, n0, _LF,
|
|
364
|
+
0,
|
|
365
|
+
[_T, _V, _MS],
|
|
366
|
+
[64 | 4, 64 | 1, () => exports.PredictiveScalingMetricSpecification$], 3
|
|
367
|
+
];
|
|
368
|
+
exports.MetricDimension$ = [3, n0, _MD,
|
|
369
|
+
0,
|
|
370
|
+
[_Na, _Va],
|
|
371
|
+
[0, 0], 2
|
|
372
|
+
];
|
|
373
|
+
exports.NotScaledReason$ = [3, n0, _NSR,
|
|
374
|
+
0,
|
|
375
|
+
[_C, _MC, _MCi, _CC],
|
|
376
|
+
[0, 1, 1, 1], 1
|
|
377
|
+
];
|
|
378
|
+
exports.PredefinedMetricSpecification$ = [3, n0, _PMS,
|
|
379
|
+
0,
|
|
380
|
+
[_PMT, _RL],
|
|
381
|
+
[0, 0], 1
|
|
382
|
+
];
|
|
383
|
+
exports.PredictiveScalingCustomizedMetricSpecification$ = [3, n0, _PSCMS,
|
|
384
|
+
0,
|
|
385
|
+
[_MDQ],
|
|
386
|
+
[() => PredictiveScalingMetricDataQueries], 1
|
|
387
|
+
];
|
|
388
|
+
exports.PredictiveScalingMetric$ = [3, n0, _PSM,
|
|
389
|
+
0,
|
|
390
|
+
[_D, _MN, _N],
|
|
391
|
+
[() => PredictiveScalingMetricDimensions, 0, 0]
|
|
392
|
+
];
|
|
393
|
+
exports.PredictiveScalingMetricDataQuery$ = [3, n0, _PSMDQ,
|
|
394
|
+
0,
|
|
395
|
+
[_I, _E, _MSe, _L, _RD],
|
|
396
|
+
[0, 0, () => exports.PredictiveScalingMetricStat$, 0, 2], 1
|
|
397
|
+
];
|
|
398
|
+
exports.PredictiveScalingMetricDimension$ = [3, n0, _PSMD,
|
|
399
|
+
0,
|
|
400
|
+
[_Na, _Va],
|
|
401
|
+
[0, 0], 2
|
|
402
|
+
];
|
|
403
|
+
exports.PredictiveScalingMetricSpecification$ = [3, n0, _PSMS,
|
|
404
|
+
0,
|
|
405
|
+
[_TV, _PMPS, _PSMSr, _PLMS, _CSMS, _CLMS, _CCMS],
|
|
406
|
+
[1, () => exports.PredictiveScalingPredefinedMetricPairSpecification$, () => exports.PredictiveScalingPredefinedScalingMetricSpecification$, () => exports.PredictiveScalingPredefinedLoadMetricSpecification$, () => exports.PredictiveScalingCustomizedMetricSpecification$, () => exports.PredictiveScalingCustomizedMetricSpecification$, () => exports.PredictiveScalingCustomizedMetricSpecification$], 1
|
|
407
|
+
];
|
|
408
|
+
exports.PredictiveScalingMetricStat$ = [3, n0, _PSMSre,
|
|
409
|
+
0,
|
|
410
|
+
[_Met, _St, _U],
|
|
411
|
+
[() => exports.PredictiveScalingMetric$, 0, 0], 2
|
|
412
|
+
];
|
|
413
|
+
exports.PredictiveScalingPolicyConfiguration$ = [3, n0, _PSPC,
|
|
414
|
+
0,
|
|
415
|
+
[_MSet, _Mo, _SBT, _MCBB, _MCB],
|
|
416
|
+
[() => PredictiveScalingMetricSpecifications, 0, 1, 0, 1], 1
|
|
417
|
+
];
|
|
418
|
+
exports.PredictiveScalingPredefinedLoadMetricSpecification$ = [3, n0, _PSPLMS,
|
|
419
|
+
0,
|
|
420
|
+
[_PMT, _RL],
|
|
421
|
+
[0, 0], 1
|
|
422
|
+
];
|
|
423
|
+
exports.PredictiveScalingPredefinedMetricPairSpecification$ = [3, n0, _PSPMPS,
|
|
424
|
+
0,
|
|
425
|
+
[_PMT, _RL],
|
|
426
|
+
[0, 0], 1
|
|
427
|
+
];
|
|
428
|
+
exports.PredictiveScalingPredefinedScalingMetricSpecification$ = [3, n0, _PSPSMS,
|
|
429
|
+
0,
|
|
430
|
+
[_PMT, _RL],
|
|
431
|
+
[0, 0], 1
|
|
432
|
+
];
|
|
433
|
+
exports.PutScalingPolicyRequest$ = [3, n0, _PSPR,
|
|
434
|
+
0,
|
|
435
|
+
[_PN, _SN, _RI, _SD, _PT, _SSPC, _TTSPC, _PSPC],
|
|
436
|
+
[0, 0, 0, 0, 0, () => exports.StepScalingPolicyConfiguration$, () => exports.TargetTrackingScalingPolicyConfiguration$, () => exports.PredictiveScalingPolicyConfiguration$], 4
|
|
437
|
+
];
|
|
438
|
+
exports.PutScalingPolicyResponse$ = [3, n0, _PSPRu,
|
|
439
|
+
0,
|
|
440
|
+
[_PARN, _Al],
|
|
441
|
+
[0, () => Alarms], 1
|
|
442
|
+
];
|
|
443
|
+
exports.PutScheduledActionRequest$ = [3, n0, _PSAR,
|
|
444
|
+
0,
|
|
445
|
+
[_SN, _SAN, _RI, _SD, _Sc, _Ti, _STt, _ET, _STA],
|
|
446
|
+
[0, 0, 0, 0, 0, 0, 4, 4, () => exports.ScalableTargetAction$], 4
|
|
447
|
+
];
|
|
448
|
+
exports.PutScheduledActionResponse$ = [3, n0, _PSARu,
|
|
449
|
+
0,
|
|
450
|
+
[],
|
|
451
|
+
[]
|
|
452
|
+
];
|
|
453
|
+
exports.RegisterScalableTargetRequest$ = [3, n0, _RSTR,
|
|
454
|
+
0,
|
|
455
|
+
[_SN, _RI, _SD, _MCi, _MC, _RARNo, _SS, _Ta],
|
|
456
|
+
[0, 0, 0, 1, 1, 0, () => exports.SuspendedState$, 128 | 0], 3
|
|
457
|
+
];
|
|
458
|
+
exports.RegisterScalableTargetResponse$ = [3, n0, _RSTRe,
|
|
459
|
+
0,
|
|
460
|
+
[_STARN],
|
|
461
|
+
[0]
|
|
462
|
+
];
|
|
463
|
+
exports.ScalableTarget$ = [3, n0, _STc,
|
|
464
|
+
0,
|
|
465
|
+
[_SN, _RI, _SD, _MCi, _MC, _RARNo, _CT, _PC, _SS, _STARN],
|
|
466
|
+
[0, 0, 0, 1, 1, 0, 4, 1, () => exports.SuspendedState$, 0], 7
|
|
467
|
+
];
|
|
468
|
+
exports.ScalableTargetAction$ = [3, n0, _STA,
|
|
469
|
+
0,
|
|
470
|
+
[_MCi, _MC],
|
|
471
|
+
[1, 1]
|
|
472
|
+
];
|
|
473
|
+
exports.ScalingActivity$ = [3, n0, _SAca,
|
|
474
|
+
0,
|
|
475
|
+
[_AI, _SN, _RI, _SD, _De, _Ca, _STt, _SC, _ET, _SM, _Det, _NSRo],
|
|
476
|
+
[0, 0, 0, 0, 0, 0, 4, 0, 4, 0, 0, () => NotScaledReasons], 8
|
|
477
|
+
];
|
|
478
|
+
exports.ScalingPolicy$ = [3, n0, _SPc,
|
|
479
|
+
0,
|
|
480
|
+
[_PARN, _PN, _SN, _RI, _SD, _PT, _CT, _SSPC, _TTSPC, _PSPC, _Al],
|
|
481
|
+
[0, 0, 0, 0, 0, 0, 4, () => exports.StepScalingPolicyConfiguration$, () => exports.TargetTrackingScalingPolicyConfiguration$, () => exports.PredictiveScalingPolicyConfiguration$, () => Alarms], 7
|
|
482
|
+
];
|
|
483
|
+
exports.ScheduledAction$ = [3, n0, _SAch,
|
|
484
|
+
0,
|
|
485
|
+
[_SAN, _SAARN, _SN, _Sc, _RI, _CT, _Ti, _SD, _STt, _ET, _STA],
|
|
486
|
+
[0, 0, 0, 0, 0, 4, 0, 0, 4, 4, () => exports.ScalableTargetAction$], 6
|
|
487
|
+
];
|
|
488
|
+
exports.StepAdjustment$ = [3, n0, _SAt,
|
|
489
|
+
0,
|
|
490
|
+
[_SAcal, _MILB, _MIUB],
|
|
491
|
+
[1, 1, 1], 1
|
|
492
|
+
];
|
|
493
|
+
exports.StepScalingPolicyConfiguration$ = [3, n0, _SSPC,
|
|
494
|
+
0,
|
|
495
|
+
[_AT, _SAte, _MAM, _Co, _MAT],
|
|
496
|
+
[0, () => StepAdjustments, 1, 1, 0]
|
|
497
|
+
];
|
|
498
|
+
exports.SuspendedState$ = [3, n0, _SS,
|
|
499
|
+
0,
|
|
500
|
+
[_DSIS, _DSOS, _SSS],
|
|
501
|
+
[2, 2, 2]
|
|
502
|
+
];
|
|
503
|
+
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
504
|
+
0,
|
|
505
|
+
[_RARN, _Ta],
|
|
506
|
+
[0, 128 | 0], 2
|
|
507
|
+
];
|
|
508
|
+
exports.TagResourceResponse$ = [3, n0, _TRRa,
|
|
509
|
+
0,
|
|
510
|
+
[],
|
|
511
|
+
[]
|
|
512
|
+
];
|
|
513
|
+
exports.TargetTrackingMetric$ = [3, n0, _TTM,
|
|
514
|
+
0,
|
|
515
|
+
[_D, _MN, _N],
|
|
516
|
+
[() => TargetTrackingMetricDimensions, 0, 0]
|
|
517
|
+
];
|
|
518
|
+
exports.TargetTrackingMetricDataQuery$ = [3, n0, _TTMDQ,
|
|
519
|
+
0,
|
|
520
|
+
[_I, _E, _L, _MSe, _RD],
|
|
521
|
+
[0, 0, 0, () => exports.TargetTrackingMetricStat$, 2], 1
|
|
522
|
+
];
|
|
523
|
+
exports.TargetTrackingMetricDimension$ = [3, n0, _TTMD,
|
|
524
|
+
0,
|
|
525
|
+
[_Na, _Va],
|
|
526
|
+
[0, 0], 2
|
|
527
|
+
];
|
|
528
|
+
exports.TargetTrackingMetricStat$ = [3, n0, _TTMS,
|
|
529
|
+
0,
|
|
530
|
+
[_Met, _St, _U],
|
|
531
|
+
[() => exports.TargetTrackingMetric$, 0, 0], 2
|
|
532
|
+
];
|
|
533
|
+
exports.TargetTrackingScalingPolicyConfiguration$ = [3, n0, _TTSPC,
|
|
534
|
+
0,
|
|
535
|
+
[_TV, _PMS, _CMS, _SOC, _SIC, _DSI],
|
|
536
|
+
[1, () => exports.PredefinedMetricSpecification$, () => exports.CustomizedMetricSpecification$, 1, 1, 2], 1
|
|
537
|
+
];
|
|
538
|
+
exports.UntagResourceRequest$ = [3, n0, _URR,
|
|
539
|
+
0,
|
|
540
|
+
[_RARN, _TK],
|
|
541
|
+
[0, 64 | 0], 2
|
|
542
|
+
];
|
|
543
|
+
exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
544
|
+
0,
|
|
545
|
+
[],
|
|
546
|
+
[]
|
|
547
|
+
];
|
|
548
|
+
var Alarms = [1, n0, _Al,
|
|
549
|
+
0, () => exports.Alarm$
|
|
550
|
+
];
|
|
551
|
+
var LoadForecasts = [1, n0, _LFo,
|
|
552
|
+
0, () => exports.LoadForecast$
|
|
553
|
+
];
|
|
554
|
+
var MetricDimensions = [1, n0, _MDe,
|
|
555
|
+
0, () => exports.MetricDimension$
|
|
556
|
+
];
|
|
557
|
+
var NotScaledReasons = [1, n0, _NSRo,
|
|
558
|
+
0, () => exports.NotScaledReason$
|
|
559
|
+
];
|
|
560
|
+
var PredictiveScalingForecastTimestamps = 64 | 4;
|
|
561
|
+
var PredictiveScalingForecastValues = 64 | 1;
|
|
562
|
+
var PredictiveScalingMetricDataQueries = [1, n0, _PSMDQr,
|
|
563
|
+
0, () => exports.PredictiveScalingMetricDataQuery$
|
|
564
|
+
];
|
|
565
|
+
var PredictiveScalingMetricDimensions = [1, n0, _PSMDr,
|
|
566
|
+
0, () => exports.PredictiveScalingMetricDimension$
|
|
567
|
+
];
|
|
568
|
+
var PredictiveScalingMetricSpecifications = [1, n0, _PSMSred,
|
|
569
|
+
0, () => exports.PredictiveScalingMetricSpecification$
|
|
570
|
+
];
|
|
571
|
+
var ResourceIdsMaxLen1600 = 64 | 0;
|
|
572
|
+
var ScalableTargets = [1, n0, _ST,
|
|
573
|
+
0, () => exports.ScalableTarget$
|
|
574
|
+
];
|
|
575
|
+
var ScalingActivities = [1, n0, _SA,
|
|
576
|
+
0, () => exports.ScalingActivity$
|
|
577
|
+
];
|
|
578
|
+
var ScalingPolicies = [1, n0, _SP,
|
|
579
|
+
0, () => exports.ScalingPolicy$
|
|
580
|
+
];
|
|
581
|
+
var ScheduledActions = [1, n0, _SAc,
|
|
582
|
+
0, () => exports.ScheduledAction$
|
|
583
|
+
];
|
|
584
|
+
var StepAdjustments = [1, n0, _SAte,
|
|
585
|
+
0, () => exports.StepAdjustment$
|
|
586
|
+
];
|
|
587
|
+
var TagKeyList = 64 | 0;
|
|
588
|
+
var TargetTrackingMetricDataQueries = [1, n0, _TTMDQa,
|
|
589
|
+
0, () => exports.TargetTrackingMetricDataQuery$
|
|
590
|
+
];
|
|
591
|
+
var TargetTrackingMetricDimensions = [1, n0, _TTMDa,
|
|
592
|
+
0, () => exports.TargetTrackingMetricDimension$
|
|
593
|
+
];
|
|
594
|
+
var TagMap = 128 | 0;
|
|
595
|
+
exports.DeleteScalingPolicy$ = [9, n0, _DSP,
|
|
596
|
+
0, () => exports.DeleteScalingPolicyRequest$, () => exports.DeleteScalingPolicyResponse$
|
|
597
|
+
];
|
|
598
|
+
exports.DeleteScheduledAction$ = [9, n0, _DSA,
|
|
599
|
+
0, () => exports.DeleteScheduledActionRequest$, () => exports.DeleteScheduledActionResponse$
|
|
600
|
+
];
|
|
601
|
+
exports.DeregisterScalableTarget$ = [9, n0, _DST,
|
|
602
|
+
0, () => exports.DeregisterScalableTargetRequest$, () => exports.DeregisterScalableTargetResponse$
|
|
603
|
+
];
|
|
604
|
+
exports.DescribeScalableTargets$ = [9, n0, _DSTe,
|
|
605
|
+
0, () => exports.DescribeScalableTargetsRequest$, () => exports.DescribeScalableTargetsResponse$
|
|
606
|
+
];
|
|
607
|
+
exports.DescribeScalingActivities$ = [9, n0, _DSAe,
|
|
608
|
+
0, () => exports.DescribeScalingActivitiesRequest$, () => exports.DescribeScalingActivitiesResponse$
|
|
609
|
+
];
|
|
610
|
+
exports.DescribeScalingPolicies$ = [9, n0, _DSPe,
|
|
611
|
+
0, () => exports.DescribeScalingPoliciesRequest$, () => exports.DescribeScalingPoliciesResponse$
|
|
612
|
+
];
|
|
613
|
+
exports.DescribeScheduledActions$ = [9, n0, _DSAes,
|
|
614
|
+
0, () => exports.DescribeScheduledActionsRequest$, () => exports.DescribeScheduledActionsResponse$
|
|
615
|
+
];
|
|
616
|
+
exports.GetPredictiveScalingForecast$ = [9, n0, _GPSF,
|
|
617
|
+
0, () => exports.GetPredictiveScalingForecastRequest$, () => exports.GetPredictiveScalingForecastResponse$
|
|
618
|
+
];
|
|
619
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
620
|
+
0, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
621
|
+
];
|
|
622
|
+
exports.PutScalingPolicy$ = [9, n0, _PSP,
|
|
623
|
+
0, () => exports.PutScalingPolicyRequest$, () => exports.PutScalingPolicyResponse$
|
|
624
|
+
];
|
|
625
|
+
exports.PutScheduledAction$ = [9, n0, _PSA,
|
|
626
|
+
0, () => exports.PutScheduledActionRequest$, () => exports.PutScheduledActionResponse$
|
|
627
|
+
];
|
|
628
|
+
exports.RegisterScalableTarget$ = [9, n0, _RST,
|
|
629
|
+
0, () => exports.RegisterScalableTargetRequest$, () => exports.RegisterScalableTargetResponse$
|
|
630
|
+
];
|
|
631
|
+
exports.TagResource$ = [9, n0, _TR,
|
|
632
|
+
0, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
|
|
633
|
+
];
|
|
634
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
635
|
+
0, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
|
|
636
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultApplicationAutoScalingHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2016-02-06",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.applicationautoscaling",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2016-02-06",
|
|
30
32
|
serviceTarget: "AnyScaleFrontendService",
|
|
31
33
|
},
|