@aws-sdk/client-scheduler 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
@@ -153,7 +153,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
153
153
  }, "resolveRuntimeExtensions");
154
154
 
155
155
  // src/SchedulerClient.ts
156
- var _SchedulerClient = class _SchedulerClient extends import_smithy_client.Client {
156
+ var SchedulerClient = class extends import_smithy_client.Client {
157
+ static {
158
+ __name(this, "SchedulerClient");
159
+ }
160
+ /**
161
+ * The resolved configuration of SchedulerClient class. This is resolved and normalized from the {@link SchedulerClientConfig | constructor configuration interface}.
162
+ */
163
+ config;
157
164
  constructor(...[configuration]) {
158
165
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
159
166
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -163,7 +170,7 @@ var _SchedulerClient = class _SchedulerClient extends import_smithy_client.Clien
163
170
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
164
171
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
165
172
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
166
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
173
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
167
174
  super(_config_8);
168
175
  this.config = _config_8;
169
176
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -191,8 +198,6 @@ var _SchedulerClient = class _SchedulerClient extends import_smithy_client.Clien
191
198
  super.destroy();
192
199
  }
193
200
  };
194
- __name(_SchedulerClient, "SchedulerClient");
195
- var SchedulerClient = _SchedulerClient;
196
201
 
197
202
  // src/Scheduler.ts
198
203
 
@@ -210,7 +215,10 @@ var import_uuid = require("uuid");
210
215
 
211
216
  // src/models/SchedulerServiceException.ts
212
217
 
213
- var _SchedulerServiceException = class _SchedulerServiceException extends import_smithy_client.ServiceException {
218
+ var SchedulerServiceException = class _SchedulerServiceException extends import_smithy_client.ServiceException {
219
+ static {
220
+ __name(this, "SchedulerServiceException");
221
+ }
214
222
  /**
215
223
  * @internal
216
224
  */
@@ -219,8 +227,6 @@ var _SchedulerServiceException = class _SchedulerServiceException extends import
219
227
  Object.setPrototypeOf(this, _SchedulerServiceException.prototype);
220
228
  }
221
229
  };
222
- __name(_SchedulerServiceException, "SchedulerServiceException");
223
- var SchedulerServiceException = _SchedulerServiceException;
224
230
 
225
231
  // src/models/models_0.ts
226
232
  var ActionAfterCompletion = {
@@ -231,7 +237,13 @@ var AssignPublicIp = {
231
237
  DISABLED: "DISABLED",
232
238
  ENABLED: "ENABLED"
233
239
  };
234
- var _InternalServerException = class _InternalServerException extends SchedulerServiceException {
240
+ var InternalServerException = class _InternalServerException extends SchedulerServiceException {
241
+ static {
242
+ __name(this, "InternalServerException");
243
+ }
244
+ name = "InternalServerException";
245
+ $fault = "server";
246
+ Message;
235
247
  /**
236
248
  * @internal
237
249
  */
@@ -241,15 +253,17 @@ var _InternalServerException = class _InternalServerException extends SchedulerS
241
253
  $fault: "server",
242
254
  ...opts
243
255
  });
244
- this.name = "InternalServerException";
245
- this.$fault = "server";
246
256
  Object.setPrototypeOf(this, _InternalServerException.prototype);
247
257
  this.Message = opts.Message;
248
258
  }
249
259
  };
250
- __name(_InternalServerException, "InternalServerException");
251
- var InternalServerException = _InternalServerException;
252
- var _ResourceNotFoundException = class _ResourceNotFoundException extends SchedulerServiceException {
260
+ var ResourceNotFoundException = class _ResourceNotFoundException extends SchedulerServiceException {
261
+ static {
262
+ __name(this, "ResourceNotFoundException");
263
+ }
264
+ name = "ResourceNotFoundException";
265
+ $fault = "client";
266
+ Message;
253
267
  /**
254
268
  * @internal
255
269
  */
@@ -259,15 +273,17 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Schedu
259
273
  $fault: "client",
260
274
  ...opts
261
275
  });
262
- this.name = "ResourceNotFoundException";
263
- this.$fault = "client";
264
276
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
265
277
  this.Message = opts.Message;
266
278
  }
267
279
  };
268
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
269
- var ResourceNotFoundException = _ResourceNotFoundException;
270
- var _ThrottlingException = class _ThrottlingException extends SchedulerServiceException {
280
+ var ThrottlingException = class _ThrottlingException extends SchedulerServiceException {
281
+ static {
282
+ __name(this, "ThrottlingException");
283
+ }
284
+ name = "ThrottlingException";
285
+ $fault = "client";
286
+ Message;
271
287
  /**
272
288
  * @internal
273
289
  */
@@ -277,15 +293,17 @@ var _ThrottlingException = class _ThrottlingException extends SchedulerServiceEx
277
293
  $fault: "client",
278
294
  ...opts
279
295
  });
280
- this.name = "ThrottlingException";
281
- this.$fault = "client";
282
296
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
283
297
  this.Message = opts.Message;
284
298
  }
285
299
  };
286
- __name(_ThrottlingException, "ThrottlingException");
287
- var ThrottlingException = _ThrottlingException;
288
- var _ValidationException = class _ValidationException extends SchedulerServiceException {
300
+ var ValidationException = class _ValidationException extends SchedulerServiceException {
301
+ static {
302
+ __name(this, "ValidationException");
303
+ }
304
+ name = "ValidationException";
305
+ $fault = "client";
306
+ Message;
289
307
  /**
290
308
  * @internal
291
309
  */
@@ -295,15 +313,17 @@ var _ValidationException = class _ValidationException extends SchedulerServiceEx
295
313
  $fault: "client",
296
314
  ...opts
297
315
  });
298
- this.name = "ValidationException";
299
- this.$fault = "client";
300
316
  Object.setPrototypeOf(this, _ValidationException.prototype);
301
317
  this.Message = opts.Message;
302
318
  }
303
319
  };
304
- __name(_ValidationException, "ValidationException");
305
- var ValidationException = _ValidationException;
306
- var _ConflictException = class _ConflictException extends SchedulerServiceException {
320
+ var ConflictException = class _ConflictException extends SchedulerServiceException {
321
+ static {
322
+ __name(this, "ConflictException");
323
+ }
324
+ name = "ConflictException";
325
+ $fault = "client";
326
+ Message;
307
327
  /**
308
328
  * @internal
309
329
  */
@@ -313,14 +333,10 @@ var _ConflictException = class _ConflictException extends SchedulerServiceExcept
313
333
  $fault: "client",
314
334
  ...opts
315
335
  });
316
- this.name = "ConflictException";
317
- this.$fault = "client";
318
336
  Object.setPrototypeOf(this, _ConflictException.prototype);
319
337
  this.Message = opts.Message;
320
338
  }
321
339
  };
322
- __name(_ConflictException, "ConflictException");
323
- var ConflictException = _ConflictException;
324
340
  var FlexibleTimeWindowMode = {
325
341
  FLEXIBLE: "FLEXIBLE",
326
342
  OFF: "OFF"
@@ -346,7 +362,13 @@ var PlacementStrategyType = {
346
362
  var PropagateTags = {
347
363
  TASK_DEFINITION: "TASK_DEFINITION"
348
364
  };
349
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SchedulerServiceException {
365
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SchedulerServiceException {
366
+ static {
367
+ __name(this, "ServiceQuotaExceededException");
368
+ }
369
+ name = "ServiceQuotaExceededException";
370
+ $fault = "client";
371
+ Message;
350
372
  /**
351
373
  * @internal
352
374
  */
@@ -356,14 +378,10 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
356
378
  $fault: "client",
357
379
  ...opts
358
380
  });
359
- this.name = "ServiceQuotaExceededException";
360
- this.$fault = "client";
361
381
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
362
382
  this.Message = opts.Message;
363
383
  }
364
384
  };
365
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
366
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
367
385
  var ScheduleGroupState = {
368
386
  ACTIVE: "ACTIVE",
369
387
  DELETING: "DELETING"
@@ -887,169 +905,181 @@ var _cT = "clientToken";
887
905
  var _gN = "groupName";
888
906
 
889
907
  // src/commands/CreateScheduleCommand.ts
890
- var _CreateScheduleCommand = class _CreateScheduleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
908
+ var CreateScheduleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
891
909
  return [
892
910
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
893
911
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
894
912
  ];
895
913
  }).s("AWSChronosService", "CreateSchedule", {}).n("SchedulerClient", "CreateScheduleCommand").f(void 0, void 0).ser(se_CreateScheduleCommand).de(de_CreateScheduleCommand).build() {
914
+ static {
915
+ __name(this, "CreateScheduleCommand");
916
+ }
896
917
  };
897
- __name(_CreateScheduleCommand, "CreateScheduleCommand");
898
- var CreateScheduleCommand = _CreateScheduleCommand;
899
918
 
900
919
  // src/commands/CreateScheduleGroupCommand.ts
901
920
 
902
921
 
903
922
 
904
- var _CreateScheduleGroupCommand = class _CreateScheduleGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
923
+ var CreateScheduleGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
905
924
  return [
906
925
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
907
926
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
908
927
  ];
909
928
  }).s("AWSChronosService", "CreateScheduleGroup", {}).n("SchedulerClient", "CreateScheduleGroupCommand").f(void 0, void 0).ser(se_CreateScheduleGroupCommand).de(de_CreateScheduleGroupCommand).build() {
929
+ static {
930
+ __name(this, "CreateScheduleGroupCommand");
931
+ }
910
932
  };
911
- __name(_CreateScheduleGroupCommand, "CreateScheduleGroupCommand");
912
- var CreateScheduleGroupCommand = _CreateScheduleGroupCommand;
913
933
 
914
934
  // src/commands/DeleteScheduleCommand.ts
915
935
 
916
936
 
917
937
 
918
- var _DeleteScheduleCommand = class _DeleteScheduleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
938
+ var DeleteScheduleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
919
939
  return [
920
940
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
921
941
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
922
942
  ];
923
943
  }).s("AWSChronosService", "DeleteSchedule", {}).n("SchedulerClient", "DeleteScheduleCommand").f(void 0, void 0).ser(se_DeleteScheduleCommand).de(de_DeleteScheduleCommand).build() {
944
+ static {
945
+ __name(this, "DeleteScheduleCommand");
946
+ }
924
947
  };
925
- __name(_DeleteScheduleCommand, "DeleteScheduleCommand");
926
- var DeleteScheduleCommand = _DeleteScheduleCommand;
927
948
 
928
949
  // src/commands/DeleteScheduleGroupCommand.ts
929
950
 
930
951
 
931
952
 
932
- var _DeleteScheduleGroupCommand = class _DeleteScheduleGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
953
+ var DeleteScheduleGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
933
954
  return [
934
955
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
935
956
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
936
957
  ];
937
958
  }).s("AWSChronosService", "DeleteScheduleGroup", {}).n("SchedulerClient", "DeleteScheduleGroupCommand").f(void 0, void 0).ser(se_DeleteScheduleGroupCommand).de(de_DeleteScheduleGroupCommand).build() {
959
+ static {
960
+ __name(this, "DeleteScheduleGroupCommand");
961
+ }
938
962
  };
939
- __name(_DeleteScheduleGroupCommand, "DeleteScheduleGroupCommand");
940
- var DeleteScheduleGroupCommand = _DeleteScheduleGroupCommand;
941
963
 
942
964
  // src/commands/GetScheduleCommand.ts
943
965
 
944
966
 
945
967
 
946
- var _GetScheduleCommand = class _GetScheduleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
968
+ var GetScheduleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
947
969
  return [
948
970
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
949
971
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
950
972
  ];
951
973
  }).s("AWSChronosService", "GetSchedule", {}).n("SchedulerClient", "GetScheduleCommand").f(void 0, void 0).ser(se_GetScheduleCommand).de(de_GetScheduleCommand).build() {
974
+ static {
975
+ __name(this, "GetScheduleCommand");
976
+ }
952
977
  };
953
- __name(_GetScheduleCommand, "GetScheduleCommand");
954
- var GetScheduleCommand = _GetScheduleCommand;
955
978
 
956
979
  // src/commands/GetScheduleGroupCommand.ts
957
980
 
958
981
 
959
982
 
960
- var _GetScheduleGroupCommand = class _GetScheduleGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
983
+ var GetScheduleGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
961
984
  return [
962
985
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
963
986
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
964
987
  ];
965
988
  }).s("AWSChronosService", "GetScheduleGroup", {}).n("SchedulerClient", "GetScheduleGroupCommand").f(void 0, void 0).ser(se_GetScheduleGroupCommand).de(de_GetScheduleGroupCommand).build() {
989
+ static {
990
+ __name(this, "GetScheduleGroupCommand");
991
+ }
966
992
  };
967
- __name(_GetScheduleGroupCommand, "GetScheduleGroupCommand");
968
- var GetScheduleGroupCommand = _GetScheduleGroupCommand;
969
993
 
970
994
  // src/commands/ListScheduleGroupsCommand.ts
971
995
 
972
996
 
973
997
 
974
- var _ListScheduleGroupsCommand = class _ListScheduleGroupsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
998
+ var ListScheduleGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
975
999
  return [
976
1000
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
977
1001
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
978
1002
  ];
979
1003
  }).s("AWSChronosService", "ListScheduleGroups", {}).n("SchedulerClient", "ListScheduleGroupsCommand").f(void 0, void 0).ser(se_ListScheduleGroupsCommand).de(de_ListScheduleGroupsCommand).build() {
1004
+ static {
1005
+ __name(this, "ListScheduleGroupsCommand");
1006
+ }
980
1007
  };
981
- __name(_ListScheduleGroupsCommand, "ListScheduleGroupsCommand");
982
- var ListScheduleGroupsCommand = _ListScheduleGroupsCommand;
983
1008
 
984
1009
  // src/commands/ListSchedulesCommand.ts
985
1010
 
986
1011
 
987
1012
 
988
- var _ListSchedulesCommand = class _ListSchedulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1013
+ var ListSchedulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
989
1014
  return [
990
1015
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
991
1016
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
992
1017
  ];
993
1018
  }).s("AWSChronosService", "ListSchedules", {}).n("SchedulerClient", "ListSchedulesCommand").f(void 0, void 0).ser(se_ListSchedulesCommand).de(de_ListSchedulesCommand).build() {
1019
+ static {
1020
+ __name(this, "ListSchedulesCommand");
1021
+ }
994
1022
  };
995
- __name(_ListSchedulesCommand, "ListSchedulesCommand");
996
- var ListSchedulesCommand = _ListSchedulesCommand;
997
1023
 
998
1024
  // src/commands/ListTagsForResourceCommand.ts
999
1025
 
1000
1026
 
1001
1027
 
1002
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1028
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1003
1029
  return [
1004
1030
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1005
1031
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1006
1032
  ];
1007
1033
  }).s("AWSChronosService", "ListTagsForResource", {}).n("SchedulerClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1034
+ static {
1035
+ __name(this, "ListTagsForResourceCommand");
1036
+ }
1008
1037
  };
1009
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1010
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1011
1038
 
1012
1039
  // src/commands/TagResourceCommand.ts
1013
1040
 
1014
1041
 
1015
1042
 
1016
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1043
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1017
1044
  return [
1018
1045
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1019
1046
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1020
1047
  ];
1021
1048
  }).s("AWSChronosService", "TagResource", {}).n("SchedulerClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1049
+ static {
1050
+ __name(this, "TagResourceCommand");
1051
+ }
1022
1052
  };
1023
- __name(_TagResourceCommand, "TagResourceCommand");
1024
- var TagResourceCommand = _TagResourceCommand;
1025
1053
 
1026
1054
  // src/commands/UntagResourceCommand.ts
1027
1055
 
1028
1056
 
1029
1057
 
1030
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1058
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1031
1059
  return [
1032
1060
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1033
1061
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1034
1062
  ];
1035
1063
  }).s("AWSChronosService", "UntagResource", {}).n("SchedulerClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1064
+ static {
1065
+ __name(this, "UntagResourceCommand");
1066
+ }
1036
1067
  };
1037
- __name(_UntagResourceCommand, "UntagResourceCommand");
1038
- var UntagResourceCommand = _UntagResourceCommand;
1039
1068
 
1040
1069
  // src/commands/UpdateScheduleCommand.ts
1041
1070
 
1042
1071
 
1043
1072
 
1044
- var _UpdateScheduleCommand = class _UpdateScheduleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1073
+ var UpdateScheduleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1045
1074
  return [
1046
1075
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1047
1076
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1048
1077
  ];
1049
1078
  }).s("AWSChronosService", "UpdateSchedule", {}).n("SchedulerClient", "UpdateScheduleCommand").f(void 0, void 0).ser(se_UpdateScheduleCommand).de(de_UpdateScheduleCommand).build() {
1079
+ static {
1080
+ __name(this, "UpdateScheduleCommand");
1081
+ }
1050
1082
  };
1051
- __name(_UpdateScheduleCommand, "UpdateScheduleCommand");
1052
- var UpdateScheduleCommand = _UpdateScheduleCommand;
1053
1083
 
1054
1084
  // src/Scheduler.ts
1055
1085
  var commands = {
@@ -1066,10 +1096,11 @@ var commands = {
1066
1096
  UntagResourceCommand,
1067
1097
  UpdateScheduleCommand
1068
1098
  };
1069
- var _Scheduler = class _Scheduler extends SchedulerClient {
1099
+ var Scheduler = class extends SchedulerClient {
1100
+ static {
1101
+ __name(this, "Scheduler");
1102
+ }
1070
1103
  };
1071
- __name(_Scheduler, "Scheduler");
1072
- var Scheduler = _Scheduler;
1073
1104
  (0, import_smithy_client.createAggregatedClient)(commands, Scheduler);
1074
1105
 
1075
1106
  // src/pagination/ListScheduleGroupsPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class SchedulerClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -8,66 +8,71 @@ export const AssignPublicIp = {
8
8
  ENABLED: "ENABLED",
9
9
  };
10
10
  export class InternalServerException extends __BaseException {
11
+ name = "InternalServerException";
12
+ $fault = "server";
13
+ Message;
11
14
  constructor(opts) {
12
15
  super({
13
16
  name: "InternalServerException",
14
17
  $fault: "server",
15
18
  ...opts,
16
19
  });
17
- this.name = "InternalServerException";
18
- this.$fault = "server";
19
20
  Object.setPrototypeOf(this, InternalServerException.prototype);
20
21
  this.Message = opts.Message;
21
22
  }
22
23
  }
23
24
  export class ResourceNotFoundException extends __BaseException {
25
+ name = "ResourceNotFoundException";
26
+ $fault = "client";
27
+ Message;
24
28
  constructor(opts) {
25
29
  super({
26
30
  name: "ResourceNotFoundException",
27
31
  $fault: "client",
28
32
  ...opts,
29
33
  });
30
- this.name = "ResourceNotFoundException";
31
- this.$fault = "client";
32
34
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
33
35
  this.Message = opts.Message;
34
36
  }
35
37
  }
36
38
  export class ThrottlingException extends __BaseException {
39
+ name = "ThrottlingException";
40
+ $fault = "client";
41
+ Message;
37
42
  constructor(opts) {
38
43
  super({
39
44
  name: "ThrottlingException",
40
45
  $fault: "client",
41
46
  ...opts,
42
47
  });
43
- this.name = "ThrottlingException";
44
- this.$fault = "client";
45
48
  Object.setPrototypeOf(this, ThrottlingException.prototype);
46
49
  this.Message = opts.Message;
47
50
  }
48
51
  }
49
52
  export class ValidationException extends __BaseException {
53
+ name = "ValidationException";
54
+ $fault = "client";
55
+ Message;
50
56
  constructor(opts) {
51
57
  super({
52
58
  name: "ValidationException",
53
59
  $fault: "client",
54
60
  ...opts,
55
61
  });
56
- this.name = "ValidationException";
57
- this.$fault = "client";
58
62
  Object.setPrototypeOf(this, ValidationException.prototype);
59
63
  this.Message = opts.Message;
60
64
  }
61
65
  }
62
66
  export class ConflictException extends __BaseException {
67
+ name = "ConflictException";
68
+ $fault = "client";
69
+ Message;
63
70
  constructor(opts) {
64
71
  super({
65
72
  name: "ConflictException",
66
73
  $fault: "client",
67
74
  ...opts,
68
75
  });
69
- this.name = "ConflictException";
70
- this.$fault = "client";
71
76
  Object.setPrototypeOf(this, ConflictException.prototype);
72
77
  this.Message = opts.Message;
73
78
  }
@@ -98,14 +103,15 @@ export const PropagateTags = {
98
103
  TASK_DEFINITION: "TASK_DEFINITION",
99
104
  };
100
105
  export class ServiceQuotaExceededException extends __BaseException {
106
+ name = "ServiceQuotaExceededException";
107
+ $fault = "client";
108
+ Message;
101
109
  constructor(opts) {
102
110
  super({
103
111
  name: "ServiceQuotaExceededException",
104
112
  $fault: "client",
105
113
  ...opts,
106
114
  });
107
- this.name = "ServiceQuotaExceededException";
108
- this.$fault = "client";
109
115
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
110
116
  this.Message = opts.Message;
111
117
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SchedulerClientConfig) => {
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: SchedulerClientConfig) => {
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: SchedulerClientConfig) => {
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: SchedulerClientConfig) => {
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;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: SchedulerClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: SchedulerClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: SchedulerClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: SchedulerClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-scheduler",
3
3
  "description": "AWS SDK for JavaScript Scheduler 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-scheduler",
@@ -20,58 +20,58 @@
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
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {