@aws-sdk/client-auto-scaling-plans 3.952.0 → 3.953.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 +138 -100
- package/dist-cjs/runtimeConfig.shared.js +6 -6
- package/dist-es/commands/CreateScalingPlanCommand.js +2 -2
- package/dist-es/commands/DeleteScalingPlanCommand.js +2 -2
- package/dist-es/commands/DescribeScalingPlanResourcesCommand.js +2 -2
- package/dist-es/commands/DescribeScalingPlansCommand.js +2 -2
- package/dist-es/commands/GetScalingPlanResourceForecastDataCommand.js +2 -2
- package/dist-es/commands/UpdateScalingPlanCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -6
- package/dist-es/schemas/schemas_0.js +77 -77
- package/dist-types/AutoScalingPlansClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +39 -50
- package/dist-types/ts3.4/AutoScalingPlansClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +38 -50
- package/package.json +34 -34
|
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.autoscalingplans",
|
|
29
|
+
version: "2018-01-06",
|
|
30
|
+
serviceTarget: "AnyScaleScalingPlannerFrontendService",
|
|
31
|
+
},
|
|
32
32
|
serviceId: config?.serviceId ?? "Auto Scaling Plans",
|
|
33
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -99,10 +99,10 @@ const _s = "server";
|
|
|
99
99
|
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
|
-
import { AutoScalingPlansServiceException
|
|
103
|
-
import { ConcurrentUpdateException
|
|
104
|
-
export var ApplicationSource = [3, n0, _AS, 0, [_CFSARN, _TF], [0, () => TagFilters]];
|
|
105
|
-
export var ConcurrentUpdateException = [
|
|
102
|
+
import { AutoScalingPlansServiceException } from "../models/AutoScalingPlansServiceException";
|
|
103
|
+
import { ConcurrentUpdateException, InternalServiceException, InvalidNextTokenException, LimitExceededException, ObjectNotFoundException, ValidationException, } from "../models/errors";
|
|
104
|
+
export var ApplicationSource$ = [3, n0, _AS, 0, [_CFSARN, _TF], [0, () => TagFilters]];
|
|
105
|
+
export var ConcurrentUpdateException$ = [
|
|
106
106
|
-3,
|
|
107
107
|
n0,
|
|
108
108
|
_CUE,
|
|
@@ -110,17 +110,17 @@ export var ConcurrentUpdateException = [
|
|
|
110
110
|
[_M],
|
|
111
111
|
[0],
|
|
112
112
|
];
|
|
113
|
-
TypeRegistry.for(n0).registerError(ConcurrentUpdateException
|
|
114
|
-
export var CreateScalingPlanRequest = [
|
|
113
|
+
TypeRegistry.for(n0).registerError(ConcurrentUpdateException$, ConcurrentUpdateException);
|
|
114
|
+
export var CreateScalingPlanRequest$ = [
|
|
115
115
|
3,
|
|
116
116
|
n0,
|
|
117
117
|
_CSPR,
|
|
118
118
|
0,
|
|
119
119
|
[_SPN, _AS, _SI],
|
|
120
|
-
[0, () => ApplicationSource
|
|
120
|
+
[0, () => ApplicationSource$, () => ScalingInstructions],
|
|
121
121
|
];
|
|
122
|
-
export var CreateScalingPlanResponse = [3, n0, _CSPRr, 0, [_SPV], [1]];
|
|
123
|
-
export var CustomizedLoadMetricSpecification = [
|
|
122
|
+
export var CreateScalingPlanResponse$ = [3, n0, _CSPRr, 0, [_SPV], [1]];
|
|
123
|
+
export var CustomizedLoadMetricSpecification$ = [
|
|
124
124
|
3,
|
|
125
125
|
n0,
|
|
126
126
|
_CLMS,
|
|
@@ -128,7 +128,7 @@ export var CustomizedLoadMetricSpecification = [
|
|
|
128
128
|
[_MN, _N, _D, _S, _U],
|
|
129
129
|
[0, 0, () => MetricDimensions, 0, 0],
|
|
130
130
|
];
|
|
131
|
-
export var CustomizedScalingMetricSpecification = [
|
|
131
|
+
export var CustomizedScalingMetricSpecification$ = [
|
|
132
132
|
3,
|
|
133
133
|
n0,
|
|
134
134
|
_CSMS,
|
|
@@ -136,10 +136,10 @@ export var CustomizedScalingMetricSpecification = [
|
|
|
136
136
|
[_MN, _N, _D, _S, _U],
|
|
137
137
|
[0, 0, () => MetricDimensions, 0, 0],
|
|
138
138
|
];
|
|
139
|
-
export var Datapoint = [3, n0, _Da, 0, [_T, _V], [4, 1]];
|
|
140
|
-
export var DeleteScalingPlanRequest = [3, n0, _DSPR, 0, [_SPN, _SPV], [0, 1]];
|
|
141
|
-
export var DeleteScalingPlanResponse = [3, n0, _DSPRe, 0, [], []];
|
|
142
|
-
export var DescribeScalingPlanResourcesRequest = [
|
|
139
|
+
export var Datapoint$ = [3, n0, _Da, 0, [_T, _V], [4, 1]];
|
|
140
|
+
export var DeleteScalingPlanRequest$ = [3, n0, _DSPR, 0, [_SPN, _SPV], [0, 1]];
|
|
141
|
+
export var DeleteScalingPlanResponse$ = [3, n0, _DSPRe, 0, [], []];
|
|
142
|
+
export var DescribeScalingPlanResourcesRequest$ = [
|
|
143
143
|
3,
|
|
144
144
|
n0,
|
|
145
145
|
_DSPRR,
|
|
@@ -147,7 +147,7 @@ export var DescribeScalingPlanResourcesRequest = [
|
|
|
147
147
|
[_SPN, _SPV, _MR, _NT],
|
|
148
148
|
[0, 1, 1, 0],
|
|
149
149
|
];
|
|
150
|
-
export var DescribeScalingPlanResourcesResponse = [
|
|
150
|
+
export var DescribeScalingPlanResourcesResponse$ = [
|
|
151
151
|
3,
|
|
152
152
|
n0,
|
|
153
153
|
_DSPRRe,
|
|
@@ -155,7 +155,7 @@ export var DescribeScalingPlanResourcesResponse = [
|
|
|
155
155
|
[_SPR, _NT],
|
|
156
156
|
[() => ScalingPlanResources, 0],
|
|
157
157
|
];
|
|
158
|
-
export var DescribeScalingPlansRequest = [
|
|
158
|
+
export var DescribeScalingPlansRequest$ = [
|
|
159
159
|
3,
|
|
160
160
|
n0,
|
|
161
161
|
_DSPRes,
|
|
@@ -163,7 +163,7 @@ export var DescribeScalingPlansRequest = [
|
|
|
163
163
|
[_SPNc, _SPV, _ASp, _MR, _NT],
|
|
164
164
|
[64 | 0, 1, () => ApplicationSources, 1, 0],
|
|
165
165
|
];
|
|
166
|
-
export var DescribeScalingPlansResponse = [
|
|
166
|
+
export var DescribeScalingPlansResponse$ = [
|
|
167
167
|
3,
|
|
168
168
|
n0,
|
|
169
169
|
_DSPResc,
|
|
@@ -171,7 +171,7 @@ export var DescribeScalingPlansResponse = [
|
|
|
171
171
|
[_SP, _NT],
|
|
172
172
|
[() => ScalingPlans, 0],
|
|
173
173
|
];
|
|
174
|
-
export var GetScalingPlanResourceForecastDataRequest = [
|
|
174
|
+
export var GetScalingPlanResourceForecastDataRequest$ = [
|
|
175
175
|
3,
|
|
176
176
|
n0,
|
|
177
177
|
_GSPRFDR,
|
|
@@ -179,7 +179,7 @@ export var GetScalingPlanResourceForecastDataRequest = [
|
|
|
179
179
|
[_SPN, _SPV, _SN, _RI, _SD, _FDT, _ST, _ET],
|
|
180
180
|
[0, 1, 0, 0, 0, 0, 4, 4],
|
|
181
181
|
];
|
|
182
|
-
export var GetScalingPlanResourceForecastDataResponse = [
|
|
182
|
+
export var GetScalingPlanResourceForecastDataResponse$ = [
|
|
183
183
|
3,
|
|
184
184
|
n0,
|
|
185
185
|
_GSPRFDRe,
|
|
@@ -187,7 +187,7 @@ export var GetScalingPlanResourceForecastDataResponse = [
|
|
|
187
187
|
[_Dat],
|
|
188
188
|
[() => Datapoints],
|
|
189
189
|
];
|
|
190
|
-
export var InternalServiceException = [
|
|
190
|
+
export var InternalServiceException$ = [
|
|
191
191
|
-3,
|
|
192
192
|
n0,
|
|
193
193
|
_ISE,
|
|
@@ -195,8 +195,8 @@ export var InternalServiceException = [
|
|
|
195
195
|
[_M],
|
|
196
196
|
[0],
|
|
197
197
|
];
|
|
198
|
-
TypeRegistry.for(n0).registerError(InternalServiceException
|
|
199
|
-
export var InvalidNextTokenException = [
|
|
198
|
+
TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
|
|
199
|
+
export var InvalidNextTokenException$ = [
|
|
200
200
|
-3,
|
|
201
201
|
n0,
|
|
202
202
|
_INTE,
|
|
@@ -204,8 +204,8 @@ export var InvalidNextTokenException = [
|
|
|
204
204
|
[_M],
|
|
205
205
|
[0],
|
|
206
206
|
];
|
|
207
|
-
TypeRegistry.for(n0).registerError(InvalidNextTokenException
|
|
208
|
-
export var LimitExceededException = [
|
|
207
|
+
TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
208
|
+
export var LimitExceededException$ = [
|
|
209
209
|
-3,
|
|
210
210
|
n0,
|
|
211
211
|
_LEE,
|
|
@@ -213,9 +213,9 @@ export var LimitExceededException = [
|
|
|
213
213
|
[_M],
|
|
214
214
|
[0],
|
|
215
215
|
];
|
|
216
|
-
TypeRegistry.for(n0).registerError(LimitExceededException
|
|
217
|
-
export var MetricDimension = [3, n0, _MD, 0, [_Na, _V], [0, 0]];
|
|
218
|
-
export var ObjectNotFoundException = [
|
|
216
|
+
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
217
|
+
export var MetricDimension$ = [3, n0, _MD, 0, [_Na, _V], [0, 0]];
|
|
218
|
+
export var ObjectNotFoundException$ = [
|
|
219
219
|
-3,
|
|
220
220
|
n0,
|
|
221
221
|
_ONFE,
|
|
@@ -223,10 +223,10 @@ export var ObjectNotFoundException = [
|
|
|
223
223
|
[_M],
|
|
224
224
|
[0],
|
|
225
225
|
];
|
|
226
|
-
TypeRegistry.for(n0).registerError(ObjectNotFoundException
|
|
227
|
-
export var PredefinedLoadMetricSpecification = [3, n0, _PLMS, 0, [_PLMT, _RL], [0, 0]];
|
|
228
|
-
export var PredefinedScalingMetricSpecification = [3, n0, _PSMS, 0, [_PSMT, _RL], [0, 0]];
|
|
229
|
-
export var ScalingInstruction = [
|
|
226
|
+
TypeRegistry.for(n0).registerError(ObjectNotFoundException$, ObjectNotFoundException);
|
|
227
|
+
export var PredefinedLoadMetricSpecification$ = [3, n0, _PLMS, 0, [_PLMT, _RL], [0, 0]];
|
|
228
|
+
export var PredefinedScalingMetricSpecification$ = [3, n0, _PSMS, 0, [_PSMT, _RL], [0, 0]];
|
|
229
|
+
export var ScalingInstruction$ = [
|
|
230
230
|
3,
|
|
231
231
|
n0,
|
|
232
232
|
_SIc,
|
|
@@ -239,8 +239,8 @@ export var ScalingInstruction = [
|
|
|
239
239
|
1,
|
|
240
240
|
1,
|
|
241
241
|
() => TargetTrackingConfigurations,
|
|
242
|
-
() => PredefinedLoadMetricSpecification
|
|
243
|
-
() => CustomizedLoadMetricSpecification
|
|
242
|
+
() => PredefinedLoadMetricSpecification$,
|
|
243
|
+
() => CustomizedLoadMetricSpecification$,
|
|
244
244
|
1,
|
|
245
245
|
0,
|
|
246
246
|
1,
|
|
@@ -249,15 +249,15 @@ export var ScalingInstruction = [
|
|
|
249
249
|
2,
|
|
250
250
|
],
|
|
251
251
|
];
|
|
252
|
-
export var ScalingPlan = [
|
|
252
|
+
export var ScalingPlan$ = [
|
|
253
253
|
3,
|
|
254
254
|
n0,
|
|
255
255
|
_SPc,
|
|
256
256
|
0,
|
|
257
257
|
[_SPN, _SPV, _AS, _SI, _SC, _SM, _SST, _CT],
|
|
258
|
-
[0, 1, () => ApplicationSource
|
|
258
|
+
[0, 1, () => ApplicationSource$, () => ScalingInstructions, 0, 0, 4, 4],
|
|
259
259
|
];
|
|
260
|
-
export var ScalingPlanResource = [
|
|
260
|
+
export var ScalingPlanResource$ = [
|
|
261
261
|
3,
|
|
262
262
|
n0,
|
|
263
263
|
_SPRc,
|
|
@@ -265,33 +265,33 @@ export var ScalingPlanResource = [
|
|
|
265
265
|
[_SPN, _SPV, _SN, _RI, _SD, _SPca, _SSC, _SSM],
|
|
266
266
|
[0, 1, 0, 0, 0, () => ScalingPolicies, 0, 0],
|
|
267
267
|
];
|
|
268
|
-
export var ScalingPolicy = [
|
|
268
|
+
export var ScalingPolicy$ = [
|
|
269
269
|
3,
|
|
270
270
|
n0,
|
|
271
271
|
_SPcal,
|
|
272
272
|
0,
|
|
273
273
|
[_PN, _PT, _TTCa],
|
|
274
|
-
[0, 0, () => TargetTrackingConfiguration],
|
|
274
|
+
[0, 0, () => TargetTrackingConfiguration$],
|
|
275
275
|
];
|
|
276
|
-
export var TagFilter = [3, n0, _TFa, 0, [_K, _Va], [0, 64 | 0]];
|
|
277
|
-
export var TargetTrackingConfiguration = [
|
|
276
|
+
export var TagFilter$ = [3, n0, _TFa, 0, [_K, _Va], [0, 64 | 0]];
|
|
277
|
+
export var TargetTrackingConfiguration$ = [
|
|
278
278
|
3,
|
|
279
279
|
n0,
|
|
280
280
|
_TTCa,
|
|
281
281
|
0,
|
|
282
282
|
[_PSMS, _CSMS, _TV, _DSI, _SOC, _SIC, _EIW],
|
|
283
|
-
[() => PredefinedScalingMetricSpecification
|
|
283
|
+
[() => PredefinedScalingMetricSpecification$, () => CustomizedScalingMetricSpecification$, 1, 2, 1, 1, 1],
|
|
284
284
|
];
|
|
285
|
-
export var UpdateScalingPlanRequest = [
|
|
285
|
+
export var UpdateScalingPlanRequest$ = [
|
|
286
286
|
3,
|
|
287
287
|
n0,
|
|
288
288
|
_USPR,
|
|
289
289
|
0,
|
|
290
290
|
[_SPN, _SPV, _AS, _SI],
|
|
291
|
-
[0, 1, () => ApplicationSource
|
|
291
|
+
[0, 1, () => ApplicationSource$, () => ScalingInstructions],
|
|
292
292
|
];
|
|
293
|
-
export var UpdateScalingPlanResponse = [3, n0, _USPRp, 0, [], []];
|
|
294
|
-
export var ValidationException = [
|
|
293
|
+
export var UpdateScalingPlanResponse$ = [3, n0, _USPRp, 0, [], []];
|
|
294
|
+
export var ValidationException$ = [
|
|
295
295
|
-3,
|
|
296
296
|
n0,
|
|
297
297
|
_VE,
|
|
@@ -299,8 +299,8 @@ export var ValidationException = [
|
|
|
299
299
|
[_M],
|
|
300
300
|
[0],
|
|
301
301
|
];
|
|
302
|
-
TypeRegistry.for(n0).registerError(ValidationException
|
|
303
|
-
export var AutoScalingPlansServiceException = [
|
|
302
|
+
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
303
|
+
export var AutoScalingPlansServiceException$ = [
|
|
304
304
|
-3,
|
|
305
305
|
_sm,
|
|
306
306
|
"AutoScalingPlansServiceException",
|
|
@@ -308,63 +308,63 @@ export var AutoScalingPlansServiceException = [
|
|
|
308
308
|
[],
|
|
309
309
|
[],
|
|
310
310
|
];
|
|
311
|
-
TypeRegistry.for(_sm).registerError(AutoScalingPlansServiceException
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
export var CreateScalingPlan = [
|
|
311
|
+
TypeRegistry.for(_sm).registerError(AutoScalingPlansServiceException$, AutoScalingPlansServiceException);
|
|
312
|
+
var ApplicationSources = [1, n0, _ASp, 0, () => ApplicationSource$];
|
|
313
|
+
var Datapoints = [1, n0, _Dat, 0, () => Datapoint$];
|
|
314
|
+
var MetricDimensions = [1, n0, _MDe, 0, () => MetricDimension$];
|
|
315
|
+
var ScalingInstructions = [1, n0, _SI, 0, () => ScalingInstruction$];
|
|
316
|
+
var ScalingPlanNames = 64 | 0;
|
|
317
|
+
var ScalingPlanResources = [1, n0, _SPR, 0, () => ScalingPlanResource$];
|
|
318
|
+
var ScalingPlans = [1, n0, _SP, 0, () => ScalingPlan$];
|
|
319
|
+
var ScalingPolicies = [1, n0, _SPca, 0, () => ScalingPolicy$];
|
|
320
|
+
var TagFilters = [1, n0, _TF, 0, () => TagFilter$];
|
|
321
|
+
var TagValues = 64 | 0;
|
|
322
|
+
var TargetTrackingConfigurations = [1, n0, _TTC, 0, () => TargetTrackingConfiguration$];
|
|
323
|
+
export var CreateScalingPlan$ = [
|
|
324
324
|
9,
|
|
325
325
|
n0,
|
|
326
326
|
_CSP,
|
|
327
327
|
0,
|
|
328
|
-
() => CreateScalingPlanRequest
|
|
329
|
-
() => CreateScalingPlanResponse
|
|
328
|
+
() => CreateScalingPlanRequest$,
|
|
329
|
+
() => CreateScalingPlanResponse$,
|
|
330
330
|
];
|
|
331
|
-
export var DeleteScalingPlan = [
|
|
331
|
+
export var DeleteScalingPlan$ = [
|
|
332
332
|
9,
|
|
333
333
|
n0,
|
|
334
334
|
_DSP,
|
|
335
335
|
0,
|
|
336
|
-
() => DeleteScalingPlanRequest
|
|
337
|
-
() => DeleteScalingPlanResponse
|
|
336
|
+
() => DeleteScalingPlanRequest$,
|
|
337
|
+
() => DeleteScalingPlanResponse$,
|
|
338
338
|
];
|
|
339
|
-
export var DescribeScalingPlanResources = [
|
|
339
|
+
export var DescribeScalingPlanResources$ = [
|
|
340
340
|
9,
|
|
341
341
|
n0,
|
|
342
342
|
_DSPRescr,
|
|
343
343
|
0,
|
|
344
|
-
() => DescribeScalingPlanResourcesRequest
|
|
345
|
-
() => DescribeScalingPlanResourcesResponse
|
|
344
|
+
() => DescribeScalingPlanResourcesRequest$,
|
|
345
|
+
() => DescribeScalingPlanResourcesResponse$,
|
|
346
346
|
];
|
|
347
|
-
export var DescribeScalingPlans = [
|
|
347
|
+
export var DescribeScalingPlans$ = [
|
|
348
348
|
9,
|
|
349
349
|
n0,
|
|
350
350
|
_DSPe,
|
|
351
351
|
0,
|
|
352
|
-
() => DescribeScalingPlansRequest
|
|
353
|
-
() => DescribeScalingPlansResponse
|
|
352
|
+
() => DescribeScalingPlansRequest$,
|
|
353
|
+
() => DescribeScalingPlansResponse$,
|
|
354
354
|
];
|
|
355
|
-
export var GetScalingPlanResourceForecastData = [
|
|
355
|
+
export var GetScalingPlanResourceForecastData$ = [
|
|
356
356
|
9,
|
|
357
357
|
n0,
|
|
358
358
|
_GSPRFD,
|
|
359
359
|
0,
|
|
360
|
-
() => GetScalingPlanResourceForecastDataRequest
|
|
361
|
-
() => GetScalingPlanResourceForecastDataResponse
|
|
360
|
+
() => GetScalingPlanResourceForecastDataRequest$,
|
|
361
|
+
() => GetScalingPlanResourceForecastDataResponse$,
|
|
362
362
|
];
|
|
363
|
-
export var UpdateScalingPlan = [
|
|
363
|
+
export var UpdateScalingPlan$ = [
|
|
364
364
|
9,
|
|
365
365
|
n0,
|
|
366
366
|
_USP,
|
|
367
367
|
0,
|
|
368
|
-
() => UpdateScalingPlanRequest
|
|
369
|
-
() => UpdateScalingPlanResponse
|
|
368
|
+
() => UpdateScalingPlanRequest$,
|
|
369
|
+
() => UpdateScalingPlanResponse$,
|
|
370
370
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CreateScalingPlanCommandInput, CreateScalingPlanCommandOutput } from "./commands/CreateScalingPlanCommand";
|
|
11
11
|
import { DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput } from "./commands/DeleteScalingPlanCommand";
|
|
@@ -147,15 +147,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
147
147
|
* Optional extensions
|
|
148
148
|
*/
|
|
149
149
|
extensions?: RuntimeExtension[];
|
|
150
|
-
/**
|
|
151
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
152
|
-
* may be overridden. A default will always be set by the client.
|
|
153
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
154
|
-
* the client.
|
|
155
|
-
* @alpha
|
|
156
|
-
*
|
|
157
|
-
*/
|
|
158
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
159
150
|
/**
|
|
160
151
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
161
152
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -43,6 +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 "./schemas/schemas_0";
|
|
46
47
|
export * from "./models/enums";
|
|
47
48
|
export * from "./models/errors";
|
|
48
49
|
export type * from "./models/models_0";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) =>
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) =>
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) =>
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) =>
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) =>
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) =>
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) =>
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AutoScalingPlansHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsJson1_1Protocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
serviceId: string;
|
|
19
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,50 +1,39 @@
|
|
|
1
|
-
import type { StaticErrorSchema,
|
|
2
|
-
export declare var ApplicationSource
|
|
3
|
-
export declare var ConcurrentUpdateException
|
|
4
|
-
export declare var CreateScalingPlanRequest
|
|
5
|
-
export declare var CreateScalingPlanResponse
|
|
6
|
-
export declare var CustomizedLoadMetricSpecification
|
|
7
|
-
export declare var CustomizedScalingMetricSpecification
|
|
8
|
-
export declare var Datapoint
|
|
9
|
-
export declare var DeleteScalingPlanRequest
|
|
10
|
-
export declare var DeleteScalingPlanResponse
|
|
11
|
-
export declare var DescribeScalingPlanResourcesRequest
|
|
12
|
-
export declare var DescribeScalingPlanResourcesResponse
|
|
13
|
-
export declare var DescribeScalingPlansRequest
|
|
14
|
-
export declare var DescribeScalingPlansResponse
|
|
15
|
-
export declare var GetScalingPlanResourceForecastDataRequest
|
|
16
|
-
export declare var GetScalingPlanResourceForecastDataResponse
|
|
17
|
-
export declare var InternalServiceException
|
|
18
|
-
export declare var InvalidNextTokenException
|
|
19
|
-
export declare var LimitExceededException
|
|
20
|
-
export declare var MetricDimension
|
|
21
|
-
export declare var ObjectNotFoundException
|
|
22
|
-
export declare var PredefinedLoadMetricSpecification
|
|
23
|
-
export declare var PredefinedScalingMetricSpecification
|
|
24
|
-
export declare var ScalingInstruction
|
|
25
|
-
export declare var ScalingPlan
|
|
26
|
-
export declare var ScalingPlanResource
|
|
27
|
-
export declare var ScalingPolicy
|
|
28
|
-
export declare var TagFilter
|
|
29
|
-
export declare var TargetTrackingConfiguration
|
|
30
|
-
export declare var UpdateScalingPlanRequest
|
|
31
|
-
export declare var UpdateScalingPlanResponse
|
|
32
|
-
export declare var ValidationException
|
|
33
|
-
export declare var AutoScalingPlansServiceException
|
|
34
|
-
export declare var
|
|
35
|
-
export declare var
|
|
36
|
-
export declare var
|
|
37
|
-
export declare var
|
|
38
|
-
export declare var
|
|
39
|
-
export declare var
|
|
40
|
-
export declare var ScalingPlans: StaticListSchema;
|
|
41
|
-
export declare var ScalingPolicies: StaticListSchema;
|
|
42
|
-
export declare var TagFilters: StaticListSchema;
|
|
43
|
-
export declare var TagValues: number;
|
|
44
|
-
export declare var TargetTrackingConfigurations: StaticListSchema;
|
|
45
|
-
export declare var CreateScalingPlan: StaticOperationSchema;
|
|
46
|
-
export declare var DeleteScalingPlan: StaticOperationSchema;
|
|
47
|
-
export declare var DescribeScalingPlanResources: StaticOperationSchema;
|
|
48
|
-
export declare var DescribeScalingPlans: StaticOperationSchema;
|
|
49
|
-
export declare var GetScalingPlanResourceForecastData: StaticOperationSchema;
|
|
50
|
-
export declare var UpdateScalingPlan: StaticOperationSchema;
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var ApplicationSource$: StaticStructureSchema;
|
|
3
|
+
export declare var ConcurrentUpdateException$: StaticErrorSchema;
|
|
4
|
+
export declare var CreateScalingPlanRequest$: StaticStructureSchema;
|
|
5
|
+
export declare var CreateScalingPlanResponse$: StaticStructureSchema;
|
|
6
|
+
export declare var CustomizedLoadMetricSpecification$: StaticStructureSchema;
|
|
7
|
+
export declare var CustomizedScalingMetricSpecification$: StaticStructureSchema;
|
|
8
|
+
export declare var Datapoint$: StaticStructureSchema;
|
|
9
|
+
export declare var DeleteScalingPlanRequest$: StaticStructureSchema;
|
|
10
|
+
export declare var DeleteScalingPlanResponse$: StaticStructureSchema;
|
|
11
|
+
export declare var DescribeScalingPlanResourcesRequest$: StaticStructureSchema;
|
|
12
|
+
export declare var DescribeScalingPlanResourcesResponse$: StaticStructureSchema;
|
|
13
|
+
export declare var DescribeScalingPlansRequest$: StaticStructureSchema;
|
|
14
|
+
export declare var DescribeScalingPlansResponse$: StaticStructureSchema;
|
|
15
|
+
export declare var GetScalingPlanResourceForecastDataRequest$: StaticStructureSchema;
|
|
16
|
+
export declare var GetScalingPlanResourceForecastDataResponse$: StaticStructureSchema;
|
|
17
|
+
export declare var InternalServiceException$: StaticErrorSchema;
|
|
18
|
+
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
19
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
20
|
+
export declare var MetricDimension$: StaticStructureSchema;
|
|
21
|
+
export declare var ObjectNotFoundException$: StaticErrorSchema;
|
|
22
|
+
export declare var PredefinedLoadMetricSpecification$: StaticStructureSchema;
|
|
23
|
+
export declare var PredefinedScalingMetricSpecification$: StaticStructureSchema;
|
|
24
|
+
export declare var ScalingInstruction$: StaticStructureSchema;
|
|
25
|
+
export declare var ScalingPlan$: StaticStructureSchema;
|
|
26
|
+
export declare var ScalingPlanResource$: StaticStructureSchema;
|
|
27
|
+
export declare var ScalingPolicy$: StaticStructureSchema;
|
|
28
|
+
export declare var TagFilter$: StaticStructureSchema;
|
|
29
|
+
export declare var TargetTrackingConfiguration$: StaticStructureSchema;
|
|
30
|
+
export declare var UpdateScalingPlanRequest$: StaticStructureSchema;
|
|
31
|
+
export declare var UpdateScalingPlanResponse$: StaticStructureSchema;
|
|
32
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
33
|
+
export declare var AutoScalingPlansServiceException$: StaticErrorSchema;
|
|
34
|
+
export declare var CreateScalingPlan$: StaticOperationSchema;
|
|
35
|
+
export declare var DeleteScalingPlan$: StaticOperationSchema;
|
|
36
|
+
export declare var DescribeScalingPlanResources$: StaticOperationSchema;
|
|
37
|
+
export declare var DescribeScalingPlans$: StaticOperationSchema;
|
|
38
|
+
export declare var GetScalingPlanResourceForecastData$: StaticOperationSchema;
|
|
39
|
+
export declare var UpdateScalingPlan$: StaticOperationSchema;
|
|
@@ -29,13 +29,10 @@ import {
|
|
|
29
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
-
ClientProtocol,
|
|
33
32
|
Decoder as __Decoder,
|
|
34
33
|
Encoder as __Encoder,
|
|
35
34
|
HashConstructor as __HashConstructor,
|
|
36
35
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
-
HttpRequest,
|
|
38
|
-
HttpResponse,
|
|
39
36
|
Logger as __Logger,
|
|
40
37
|
Provider as __Provider,
|
|
41
38
|
StreamCollector as __StreamCollector,
|
|
@@ -117,7 +114,6 @@ export interface ClientDefaults
|
|
|
117
114
|
retryMode?: string | __Provider<string>;
|
|
118
115
|
logger?: __Logger;
|
|
119
116
|
extensions?: RuntimeExtension[];
|
|
120
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
121
117
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
122
118
|
}
|
|
123
119
|
export type AutoScalingPlansClientConfigType = Partial<
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { AutoScalingPlansExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./models/enums";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
|
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
|
|
|
28
28
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
29
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
30
30
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
31
|
-
apiVersion: string;
|
|
32
31
|
cacheMiddleware?: boolean | undefined;
|
|
32
|
+
protocol:
|
|
33
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
34
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
35
|
+
| typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
36
|
+
protocolSettings: {
|
|
37
|
+
defaultNamespace?: string;
|
|
38
|
+
[setting: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
apiVersion: string;
|
|
33
41
|
urlParser: import("@smithy/types").UrlParser;
|
|
34
42
|
base64Decoder: import("@smithy/types").Decoder;
|
|
35
43
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
|
|
|
40
48
|
profile?: string;
|
|
41
49
|
logger: import("@smithy/types").Logger;
|
|
42
50
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
44
|
-
import("@smithy/types").HttpRequest,
|
|
45
|
-
import("@smithy/types").HttpResponse
|
|
46
|
-
>;
|
|
47
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
48
52
|
userAgentAppId?:
|
|
49
53
|
| string
|