@aws-sdk/client-auto-scaling-plans 3.721.0 → 3.723.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -148,7 +148,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
148
148
  }, "resolveRuntimeExtensions");
149
149
 
150
150
  // src/AutoScalingPlansClient.ts
151
- var _AutoScalingPlansClient = class _AutoScalingPlansClient extends import_smithy_client.Client {
151
+ var AutoScalingPlansClient = class extends import_smithy_client.Client {
152
+ static {
153
+ __name(this, "AutoScalingPlansClient");
154
+ }
155
+ /**
156
+ * The resolved configuration of AutoScalingPlansClient class. This is resolved and normalized from the {@link AutoScalingPlansClientConfig | constructor configuration interface}.
157
+ */
158
+ config;
152
159
  constructor(...[configuration]) {
153
160
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
154
161
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -158,7 +165,7 @@ var _AutoScalingPlansClient = class _AutoScalingPlansClient extends import_smith
158
165
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
159
166
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
160
167
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
161
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
168
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
162
169
  super(_config_8);
163
170
  this.config = _config_8;
164
171
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -186,8 +193,6 @@ var _AutoScalingPlansClient = class _AutoScalingPlansClient extends import_smith
186
193
  super.destroy();
187
194
  }
188
195
  };
189
- __name(_AutoScalingPlansClient, "AutoScalingPlansClient");
190
- var AutoScalingPlansClient = _AutoScalingPlansClient;
191
196
 
192
197
  // src/AutoScalingPlans.ts
193
198
 
@@ -204,7 +209,10 @@ var import_core2 = require("@aws-sdk/core");
204
209
 
205
210
  // src/models/AutoScalingPlansServiceException.ts
206
211
 
207
- var _AutoScalingPlansServiceException = class _AutoScalingPlansServiceException extends import_smithy_client.ServiceException {
212
+ var AutoScalingPlansServiceException = class _AutoScalingPlansServiceException extends import_smithy_client.ServiceException {
213
+ static {
214
+ __name(this, "AutoScalingPlansServiceException");
215
+ }
208
216
  /**
209
217
  * @internal
210
218
  */
@@ -213,11 +221,15 @@ var _AutoScalingPlansServiceException = class _AutoScalingPlansServiceException
213
221
  Object.setPrototypeOf(this, _AutoScalingPlansServiceException.prototype);
214
222
  }
215
223
  };
216
- __name(_AutoScalingPlansServiceException, "AutoScalingPlansServiceException");
217
- var AutoScalingPlansServiceException = _AutoScalingPlansServiceException;
218
224
 
219
225
  // src/models/models_0.ts
220
- var _ConcurrentUpdateException = class _ConcurrentUpdateException extends AutoScalingPlansServiceException {
226
+ var ConcurrentUpdateException = class _ConcurrentUpdateException extends AutoScalingPlansServiceException {
227
+ static {
228
+ __name(this, "ConcurrentUpdateException");
229
+ }
230
+ name = "ConcurrentUpdateException";
231
+ $fault = "server";
232
+ Message;
221
233
  /**
222
234
  * @internal
223
235
  */
@@ -227,14 +239,10 @@ var _ConcurrentUpdateException = class _ConcurrentUpdateException extends AutoSc
227
239
  $fault: "server",
228
240
  ...opts
229
241
  });
230
- this.name = "ConcurrentUpdateException";
231
- this.$fault = "server";
232
242
  Object.setPrototypeOf(this, _ConcurrentUpdateException.prototype);
233
243
  this.Message = opts.Message;
234
244
  }
235
245
  };
236
- __name(_ConcurrentUpdateException, "ConcurrentUpdateException");
237
- var ConcurrentUpdateException = _ConcurrentUpdateException;
238
246
  var MetricStatistic = {
239
247
  Average: "Average",
240
248
  Maximum: "Maximum",
@@ -293,7 +301,13 @@ var ScalingMetricType = {
293
301
  RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
294
302
  RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections"
295
303
  };
296
- var _InternalServiceException = class _InternalServiceException extends AutoScalingPlansServiceException {
304
+ var InternalServiceException = class _InternalServiceException extends AutoScalingPlansServiceException {
305
+ static {
306
+ __name(this, "InternalServiceException");
307
+ }
308
+ name = "InternalServiceException";
309
+ $fault = "server";
310
+ Message;
297
311
  /**
298
312
  * @internal
299
313
  */
@@ -303,15 +317,17 @@ var _InternalServiceException = class _InternalServiceException extends AutoScal
303
317
  $fault: "server",
304
318
  ...opts
305
319
  });
306
- this.name = "InternalServiceException";
307
- this.$fault = "server";
308
320
  Object.setPrototypeOf(this, _InternalServiceException.prototype);
309
321
  this.Message = opts.Message;
310
322
  }
311
323
  };
312
- __name(_InternalServiceException, "InternalServiceException");
313
- var InternalServiceException = _InternalServiceException;
314
- var _LimitExceededException = class _LimitExceededException extends AutoScalingPlansServiceException {
324
+ var LimitExceededException = class _LimitExceededException extends AutoScalingPlansServiceException {
325
+ static {
326
+ __name(this, "LimitExceededException");
327
+ }
328
+ name = "LimitExceededException";
329
+ $fault = "client";
330
+ Message;
315
331
  /**
316
332
  * @internal
317
333
  */
@@ -321,15 +337,17 @@ var _LimitExceededException = class _LimitExceededException extends AutoScalingP
321
337
  $fault: "client",
322
338
  ...opts
323
339
  });
324
- this.name = "LimitExceededException";
325
- this.$fault = "client";
326
340
  Object.setPrototypeOf(this, _LimitExceededException.prototype);
327
341
  this.Message = opts.Message;
328
342
  }
329
343
  };
330
- __name(_LimitExceededException, "LimitExceededException");
331
- var LimitExceededException = _LimitExceededException;
332
- var _ValidationException = class _ValidationException extends AutoScalingPlansServiceException {
344
+ var ValidationException = class _ValidationException extends AutoScalingPlansServiceException {
345
+ static {
346
+ __name(this, "ValidationException");
347
+ }
348
+ name = "ValidationException";
349
+ $fault = "client";
350
+ Message;
333
351
  /**
334
352
  * @internal
335
353
  */
@@ -339,15 +357,17 @@ var _ValidationException = class _ValidationException extends AutoScalingPlansSe
339
357
  $fault: "client",
340
358
  ...opts
341
359
  });
342
- this.name = "ValidationException";
343
- this.$fault = "client";
344
360
  Object.setPrototypeOf(this, _ValidationException.prototype);
345
361
  this.Message = opts.Message;
346
362
  }
347
363
  };
348
- __name(_ValidationException, "ValidationException");
349
- var ValidationException = _ValidationException;
350
- var _ObjectNotFoundException = class _ObjectNotFoundException extends AutoScalingPlansServiceException {
364
+ var ObjectNotFoundException = class _ObjectNotFoundException extends AutoScalingPlansServiceException {
365
+ static {
366
+ __name(this, "ObjectNotFoundException");
367
+ }
368
+ name = "ObjectNotFoundException";
369
+ $fault = "client";
370
+ Message;
351
371
  /**
352
372
  * @internal
353
373
  */
@@ -357,14 +377,10 @@ var _ObjectNotFoundException = class _ObjectNotFoundException extends AutoScalin
357
377
  $fault: "client",
358
378
  ...opts
359
379
  });
360
- this.name = "ObjectNotFoundException";
361
- this.$fault = "client";
362
380
  Object.setPrototypeOf(this, _ObjectNotFoundException.prototype);
363
381
  this.Message = opts.Message;
364
382
  }
365
383
  };
366
- __name(_ObjectNotFoundException, "ObjectNotFoundException");
367
- var ObjectNotFoundException = _ObjectNotFoundException;
368
384
  var PolicyType = {
369
385
  TargetTrackingScaling: "TargetTrackingScaling"
370
386
  };
@@ -373,7 +389,13 @@ var ScalingStatusCode = {
373
389
  Inactive: "Inactive",
374
390
  PartiallyActive: "PartiallyActive"
375
391
  };
376
- var _InvalidNextTokenException = class _InvalidNextTokenException extends AutoScalingPlansServiceException {
392
+ var InvalidNextTokenException = class _InvalidNextTokenException extends AutoScalingPlansServiceException {
393
+ static {
394
+ __name(this, "InvalidNextTokenException");
395
+ }
396
+ name = "InvalidNextTokenException";
397
+ $fault = "client";
398
+ Message;
377
399
  /**
378
400
  * @internal
379
401
  */
@@ -383,14 +405,10 @@ var _InvalidNextTokenException = class _InvalidNextTokenException extends AutoSc
383
405
  $fault: "client",
384
406
  ...opts
385
407
  });
386
- this.name = "InvalidNextTokenException";
387
- this.$fault = "client";
388
408
  Object.setPrototypeOf(this, _InvalidNextTokenException.prototype);
389
409
  this.Message = opts.Message;
390
410
  }
391
411
  };
392
- __name(_InvalidNextTokenException, "InvalidNextTokenException");
393
- var InvalidNextTokenException = _InvalidNextTokenException;
394
412
  var ScalingPlanStatusCode = {
395
413
  Active: "Active",
396
414
  ActiveWithProblems: "ActiveWithProblems",
@@ -830,85 +848,91 @@ function sharedHeaders(operation) {
830
848
  __name(sharedHeaders, "sharedHeaders");
831
849
 
832
850
  // src/commands/CreateScalingPlanCommand.ts
833
- var _CreateScalingPlanCommand = class _CreateScalingPlanCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
851
+ var CreateScalingPlanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
834
852
  return [
835
853
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
836
854
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
837
855
  ];
838
856
  }).s("AnyScaleScalingPlannerFrontendService", "CreateScalingPlan", {}).n("AutoScalingPlansClient", "CreateScalingPlanCommand").f(void 0, void 0).ser(se_CreateScalingPlanCommand).de(de_CreateScalingPlanCommand).build() {
857
+ static {
858
+ __name(this, "CreateScalingPlanCommand");
859
+ }
839
860
  };
840
- __name(_CreateScalingPlanCommand, "CreateScalingPlanCommand");
841
- var CreateScalingPlanCommand = _CreateScalingPlanCommand;
842
861
 
843
862
  // src/commands/DeleteScalingPlanCommand.ts
844
863
 
845
864
 
846
865
 
847
- var _DeleteScalingPlanCommand = class _DeleteScalingPlanCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
866
+ var DeleteScalingPlanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
848
867
  return [
849
868
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
850
869
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
851
870
  ];
852
871
  }).s("AnyScaleScalingPlannerFrontendService", "DeleteScalingPlan", {}).n("AutoScalingPlansClient", "DeleteScalingPlanCommand").f(void 0, void 0).ser(se_DeleteScalingPlanCommand).de(de_DeleteScalingPlanCommand).build() {
872
+ static {
873
+ __name(this, "DeleteScalingPlanCommand");
874
+ }
853
875
  };
854
- __name(_DeleteScalingPlanCommand, "DeleteScalingPlanCommand");
855
- var DeleteScalingPlanCommand = _DeleteScalingPlanCommand;
856
876
 
857
877
  // src/commands/DescribeScalingPlanResourcesCommand.ts
858
878
 
859
879
 
860
880
 
861
- var _DescribeScalingPlanResourcesCommand = class _DescribeScalingPlanResourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
881
+ var DescribeScalingPlanResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
862
882
  return [
863
883
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
864
884
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
865
885
  ];
866
886
  }).s("AnyScaleScalingPlannerFrontendService", "DescribeScalingPlanResources", {}).n("AutoScalingPlansClient", "DescribeScalingPlanResourcesCommand").f(void 0, void 0).ser(se_DescribeScalingPlanResourcesCommand).de(de_DescribeScalingPlanResourcesCommand).build() {
887
+ static {
888
+ __name(this, "DescribeScalingPlanResourcesCommand");
889
+ }
867
890
  };
868
- __name(_DescribeScalingPlanResourcesCommand, "DescribeScalingPlanResourcesCommand");
869
- var DescribeScalingPlanResourcesCommand = _DescribeScalingPlanResourcesCommand;
870
891
 
871
892
  // src/commands/DescribeScalingPlansCommand.ts
872
893
 
873
894
 
874
895
 
875
- var _DescribeScalingPlansCommand = class _DescribeScalingPlansCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
896
+ var DescribeScalingPlansCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
876
897
  return [
877
898
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
878
899
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
879
900
  ];
880
901
  }).s("AnyScaleScalingPlannerFrontendService", "DescribeScalingPlans", {}).n("AutoScalingPlansClient", "DescribeScalingPlansCommand").f(void 0, void 0).ser(se_DescribeScalingPlansCommand).de(de_DescribeScalingPlansCommand).build() {
902
+ static {
903
+ __name(this, "DescribeScalingPlansCommand");
904
+ }
881
905
  };
882
- __name(_DescribeScalingPlansCommand, "DescribeScalingPlansCommand");
883
- var DescribeScalingPlansCommand = _DescribeScalingPlansCommand;
884
906
 
885
907
  // src/commands/GetScalingPlanResourceForecastDataCommand.ts
886
908
 
887
909
 
888
910
 
889
- var _GetScalingPlanResourceForecastDataCommand = class _GetScalingPlanResourceForecastDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
911
+ var GetScalingPlanResourceForecastDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
890
912
  return [
891
913
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
892
914
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
893
915
  ];
894
916
  }).s("AnyScaleScalingPlannerFrontendService", "GetScalingPlanResourceForecastData", {}).n("AutoScalingPlansClient", "GetScalingPlanResourceForecastDataCommand").f(void 0, void 0).ser(se_GetScalingPlanResourceForecastDataCommand).de(de_GetScalingPlanResourceForecastDataCommand).build() {
917
+ static {
918
+ __name(this, "GetScalingPlanResourceForecastDataCommand");
919
+ }
895
920
  };
896
- __name(_GetScalingPlanResourceForecastDataCommand, "GetScalingPlanResourceForecastDataCommand");
897
- var GetScalingPlanResourceForecastDataCommand = _GetScalingPlanResourceForecastDataCommand;
898
921
 
899
922
  // src/commands/UpdateScalingPlanCommand.ts
900
923
 
901
924
 
902
925
 
903
- var _UpdateScalingPlanCommand = class _UpdateScalingPlanCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
926
+ var UpdateScalingPlanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
904
927
  return [
905
928
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
906
929
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
907
930
  ];
908
931
  }).s("AnyScaleScalingPlannerFrontendService", "UpdateScalingPlan", {}).n("AutoScalingPlansClient", "UpdateScalingPlanCommand").f(void 0, void 0).ser(se_UpdateScalingPlanCommand).de(de_UpdateScalingPlanCommand).build() {
932
+ static {
933
+ __name(this, "UpdateScalingPlanCommand");
934
+ }
909
935
  };
910
- __name(_UpdateScalingPlanCommand, "UpdateScalingPlanCommand");
911
- var UpdateScalingPlanCommand = _UpdateScalingPlanCommand;
912
936
 
913
937
  // src/AutoScalingPlans.ts
914
938
  var commands = {
@@ -919,10 +943,11 @@ var commands = {
919
943
  GetScalingPlanResourceForecastDataCommand,
920
944
  UpdateScalingPlanCommand
921
945
  };
922
- var _AutoScalingPlans = class _AutoScalingPlans extends AutoScalingPlansClient {
946
+ var AutoScalingPlans = class extends AutoScalingPlansClient {
947
+ static {
948
+ __name(this, "AutoScalingPlans");
949
+ }
923
950
  };
924
- __name(_AutoScalingPlans, "AutoScalingPlans");
925
- var AutoScalingPlans = _AutoScalingPlans;
926
951
  (0, import_smithy_client.createAggregatedClient)(commands, AutoScalingPlans);
927
952
  // Annotate the CommonJS export names for ESM import in node:
928
953
 
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class AutoScalingPlansClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,13 +1,14 @@
1
1
  import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
2
2
  export class ConcurrentUpdateException extends __BaseException {
3
+ name = "ConcurrentUpdateException";
4
+ $fault = "server";
5
+ Message;
3
6
  constructor(opts) {
4
7
  super({
5
8
  name: "ConcurrentUpdateException",
6
9
  $fault: "server",
7
10
  ...opts,
8
11
  });
9
- this.name = "ConcurrentUpdateException";
10
- this.$fault = "server";
11
12
  Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
12
13
  this.Message = opts.Message;
13
14
  }
@@ -71,53 +72,57 @@ export const ScalingMetricType = {
71
72
  RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
72
73
  };
73
74
  export class InternalServiceException extends __BaseException {
75
+ name = "InternalServiceException";
76
+ $fault = "server";
77
+ Message;
74
78
  constructor(opts) {
75
79
  super({
76
80
  name: "InternalServiceException",
77
81
  $fault: "server",
78
82
  ...opts,
79
83
  });
80
- this.name = "InternalServiceException";
81
- this.$fault = "server";
82
84
  Object.setPrototypeOf(this, InternalServiceException.prototype);
83
85
  this.Message = opts.Message;
84
86
  }
85
87
  }
86
88
  export class LimitExceededException extends __BaseException {
89
+ name = "LimitExceededException";
90
+ $fault = "client";
91
+ Message;
87
92
  constructor(opts) {
88
93
  super({
89
94
  name: "LimitExceededException",
90
95
  $fault: "client",
91
96
  ...opts,
92
97
  });
93
- this.name = "LimitExceededException";
94
- this.$fault = "client";
95
98
  Object.setPrototypeOf(this, LimitExceededException.prototype);
96
99
  this.Message = opts.Message;
97
100
  }
98
101
  }
99
102
  export class ValidationException extends __BaseException {
103
+ name = "ValidationException";
104
+ $fault = "client";
105
+ Message;
100
106
  constructor(opts) {
101
107
  super({
102
108
  name: "ValidationException",
103
109
  $fault: "client",
104
110
  ...opts,
105
111
  });
106
- this.name = "ValidationException";
107
- this.$fault = "client";
108
112
  Object.setPrototypeOf(this, ValidationException.prototype);
109
113
  this.Message = opts.Message;
110
114
  }
111
115
  }
112
116
  export class ObjectNotFoundException extends __BaseException {
117
+ name = "ObjectNotFoundException";
118
+ $fault = "client";
119
+ Message;
113
120
  constructor(opts) {
114
121
  super({
115
122
  name: "ObjectNotFoundException",
116
123
  $fault: "client",
117
124
  ...opts,
118
125
  });
119
- this.name = "ObjectNotFoundException";
120
- this.$fault = "client";
121
126
  Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
122
127
  this.Message = opts.Message;
123
128
  }
@@ -131,14 +136,15 @@ export const ScalingStatusCode = {
131
136
  PartiallyActive: "PartiallyActive",
132
137
  };
133
138
  export class InvalidNextTokenException extends __BaseException {
139
+ name = "InvalidNextTokenException";
140
+ $fault = "client";
141
+ Message;
134
142
  constructor(opts) {
135
143
  super({
136
144
  name: "InvalidNextTokenException",
137
145
  $fault: "client",
138
146
  ...opts,
139
147
  });
140
- this.name = "InvalidNextTokenException";
141
- this.$fault = "client";
142
148
  Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
143
149
  this.Message = opts.Message;
144
150
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) =>
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) =>
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) =>
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) =>
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- 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> | undefined;
34
+ 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;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auto-scaling-plans",
3
3
  "description": "AWS SDK for JavaScript Auto Scaling Plans Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-auto-scaling-plans",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {