@aws-sdk/client-scheduler 3.1074.0 → 3.1076.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
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultSchedulerHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CreateSchedule$, CreateScheduleGroup$, DeleteSchedule$, DeleteScheduleGroup$, GetSchedule$, GetScheduleGroup$, ListScheduleGroups$, ListSchedules$, ListTagsForResource$, TagResource$, UntagResource$, UpdateSchedule$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { SchedulerServiceException } = require("./models/SchedulerServiceException");
18
- exports.SchedulerServiceException = SchedulerServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultSchedulerHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "scheduler",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultSchedulerHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,680 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://scheduler-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://scheduler-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://scheduler.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://scheduler.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class SchedulerServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, SchedulerServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class InternalServerException extends SchedulerServiceException {
140
+ name = "InternalServerException";
141
+ $fault = "server";
142
+ Message;
143
+ constructor(opts) {
144
+ super({
145
+ name: "InternalServerException",
146
+ $fault: "server",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, InternalServerException.prototype);
150
+ this.Message = opts.Message;
151
+ }
152
+ }
153
+ class ResourceNotFoundException extends SchedulerServiceException {
154
+ name = "ResourceNotFoundException";
155
+ $fault = "client";
156
+ Message;
157
+ constructor(opts) {
158
+ super({
159
+ name: "ResourceNotFoundException",
160
+ $fault: "client",
161
+ ...opts,
162
+ });
163
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
164
+ this.Message = opts.Message;
165
+ }
166
+ }
167
+ class ThrottlingException extends SchedulerServiceException {
168
+ name = "ThrottlingException";
169
+ $fault = "client";
170
+ Message;
171
+ constructor(opts) {
172
+ super({
173
+ name: "ThrottlingException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
178
+ this.Message = opts.Message;
179
+ }
180
+ }
181
+ class ValidationException extends SchedulerServiceException {
182
+ name = "ValidationException";
183
+ $fault = "client";
184
+ Message;
185
+ constructor(opts) {
186
+ super({
187
+ name: "ValidationException",
188
+ $fault: "client",
189
+ ...opts,
190
+ });
191
+ Object.setPrototypeOf(this, ValidationException.prototype);
192
+ this.Message = opts.Message;
193
+ }
194
+ }
195
+ class ConflictException extends SchedulerServiceException {
196
+ name = "ConflictException";
197
+ $fault = "client";
198
+ Message;
199
+ constructor(opts) {
200
+ super({
201
+ name: "ConflictException",
202
+ $fault: "client",
203
+ ...opts,
204
+ });
205
+ Object.setPrototypeOf(this, ConflictException.prototype);
206
+ this.Message = opts.Message;
207
+ }
208
+ }
209
+ class ServiceQuotaExceededException extends SchedulerServiceException {
210
+ name = "ServiceQuotaExceededException";
211
+ $fault = "client";
212
+ Message;
213
+ constructor(opts) {
214
+ super({
215
+ name: "ServiceQuotaExceededException",
216
+ $fault: "client",
217
+ ...opts,
218
+ });
219
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
220
+ this.Message = opts.Message;
221
+ }
222
+ }
223
+
224
+ const _A = "Arn";
225
+ const _AAC = "ActionAfterCompletion";
226
+ const _API = "AssignPublicIp";
227
+ const _AVC = "AwsVpcConfiguration";
228
+ const _CD = "CreationDate";
229
+ const _CE = "ConflictException";
230
+ const _CPS = "CapacityProviderStrategy";
231
+ const _CPSI = "CapacityProviderStrategyItem";
232
+ const _CS = "CreateSchedule";
233
+ const _CSG = "CreateScheduleGroup";
234
+ const _CSGI = "CreateScheduleGroupInput";
235
+ const _CSGO = "CreateScheduleGroupOutput";
236
+ const _CSI = "CreateScheduleInput";
237
+ const _CSO = "CreateScheduleOutput";
238
+ const _CT = "ClientToken";
239
+ const _D = "Description";
240
+ const _DLC = "DeadLetterConfig";
241
+ const _DS = "DeleteSchedule";
242
+ const _DSG = "DeleteScheduleGroup";
243
+ const _DSGI = "DeleteScheduleGroupInput";
244
+ const _DSGO = "DeleteScheduleGroupOutput";
245
+ const _DSI = "DeleteScheduleInput";
246
+ const _DSO = "DeleteScheduleOutput";
247
+ const _DT = "DetailType";
248
+ const _EBP = "EventBridgeParameters";
249
+ const _ED = "EndDate";
250
+ const _EEC = "EnableExecuteCommand";
251
+ const _EECSMT = "EnableECSManagedTags";
252
+ const _EP = "EcsParameters";
253
+ const _FTW = "FlexibleTimeWindow";
254
+ const _G = "Group";
255
+ const _GN = "GroupName";
256
+ const _GS = "GetSchedule";
257
+ const _GSG = "GetScheduleGroup";
258
+ const _GSGI = "GetScheduleGroupInput";
259
+ const _GSGO = "GetScheduleGroupOutput";
260
+ const _GSI = "GetScheduleInput";
261
+ const _GSO = "GetScheduleOutput";
262
+ const _I = "Input";
263
+ const _ISE = "InternalServerException";
264
+ const _K = "Key";
265
+ const _KKA = "KmsKeyArn";
266
+ const _KP = "KinesisParameters";
267
+ const _LMD = "LastModificationDate";
268
+ const _LS = "ListSchedules";
269
+ const _LSG = "ListScheduleGroups";
270
+ const _LSGI = "ListScheduleGroupsInput";
271
+ const _LSGO = "ListScheduleGroupsOutput";
272
+ const _LSI = "ListSchedulesInput";
273
+ const _LSO = "ListSchedulesOutput";
274
+ const _LT = "LaunchType";
275
+ const _LTFR = "ListTagsForResource";
276
+ const _LTFRI = "ListTagsForResourceInput";
277
+ const _LTFRO = "ListTagsForResourceOutput";
278
+ const _M = "Message";
279
+ const _MEAIS = "MaximumEventAgeInSeconds";
280
+ const _MGI = "MessageGroupId";
281
+ const _MR = "MaxResults";
282
+ const _MRA = "MaximumRetryAttempts";
283
+ const _MWIM = "MaximumWindowInMinutes";
284
+ const _Mo = "Mode";
285
+ const _N = "Name";
286
+ const _NC = "NetworkConfiguration";
287
+ const _NP = "NamePrefix";
288
+ const _NT = "NextToken";
289
+ const _PC = "PlacementConstraints";
290
+ const _PCl = "PlacementConstraint";
291
+ const _PK = "PartitionKey";
292
+ const _PPL = "PipelineParameterList";
293
+ const _PS = "PlacementStrategy";
294
+ const _PSl = "PlacementStrategies";
295
+ const _PT = "PropagateTags";
296
+ const _PV = "PlatformVersion";
297
+ const _RA = "ResourceArn";
298
+ const _RAo = "RoleArn";
299
+ const _RI = "ReferenceId";
300
+ const _RNFE = "ResourceNotFoundException";
301
+ const _RP = "RetryPolicy";
302
+ const _S = "Subnets";
303
+ const _SA = "ScheduleArn";
304
+ const _SD = "StartDate";
305
+ const _SE = "ScheduleExpression";
306
+ const _SET = "ScheduleExpressionTimezone";
307
+ const _SG = "SecurityGroups";
308
+ const _SGA = "ScheduleGroupArn";
309
+ const _SGL = "ScheduleGroupList";
310
+ const _SGS = "ScheduleGroupSummary";
311
+ const _SGc = "ScheduleGroups";
312
+ const _SGch = "ScheduleGroup";
313
+ const _SL = "ScheduleList";
314
+ const _SMPP = "SageMakerPipelineParameter";
315
+ const _SMPPL = "SageMakerPipelineParameterList";
316
+ const _SMPPa = "SageMakerPipelineParameters";
317
+ const _SP = "SqsParameters";
318
+ const _SQEE = "ServiceQuotaExceededException";
319
+ const _SS = "ScheduleSummary";
320
+ const _Sc = "Schedules";
321
+ const _So = "Source";
322
+ const _St = "State";
323
+ const _T = "Tags";
324
+ const _TC = "TaskCount";
325
+ const _TDA = "TaskDefinitionArn";
326
+ const _TE = "ThrottlingException";
327
+ const _TK = "TagKeys";
328
+ const _TL = "TagList";
329
+ const _TR = "TagResource";
330
+ const _TRI = "TagResourceInput";
331
+ const _TRO = "TagResourceOutput";
332
+ const _TS = "TargetSummary";
333
+ const _Ta = "Target";
334
+ const _Tag = "Tag";
335
+ const _UR = "UntagResource";
336
+ const _URI = "UntagResourceInput";
337
+ const _URO = "UntagResourceOutput";
338
+ const _US = "UpdateSchedule";
339
+ const _USI = "UpdateScheduleInput";
340
+ const _USO = "UpdateScheduleOutput";
341
+ const _V = "Value";
342
+ const _VE = "ValidationException";
343
+ const _aC = "awsvpcConfiguration";
344
+ const _b = "base";
345
+ const _c = "client";
346
+ const _cP = "capacityProvider";
347
+ const _cT = "clientToken";
348
+ const _e = "error";
349
+ const _ex = "expression";
350
+ const _f = "field";
351
+ const _gN = "groupName";
352
+ const _h = "http";
353
+ const _hE = "httpError";
354
+ const _hQ = "httpQuery";
355
+ const _iT = "idempotencyToken";
356
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.scheduler";
357
+ const _se = "server";
358
+ const _t = "type";
359
+ const _w = "weight";
360
+ const n0 = "com.amazonaws.scheduler";
361
+ const _s_registry = TypeRegistry.for(_s);
362
+ var SchedulerServiceException$ = [-3, _s, "SchedulerServiceException", 0, [], []];
363
+ _s_registry.registerError(SchedulerServiceException$, SchedulerServiceException);
364
+ const n0_registry = TypeRegistry.for(n0);
365
+ var ConflictException$ = [-3, n0, _CE,
366
+ { [_e]: _c, [_hE]: 409 },
367
+ [_M],
368
+ [0], 1
369
+ ];
370
+ n0_registry.registerError(ConflictException$, ConflictException);
371
+ var InternalServerException$ = [-3, n0, _ISE,
372
+ { [_e]: _se, [_hE]: 500 },
373
+ [_M],
374
+ [0], 1
375
+ ];
376
+ n0_registry.registerError(InternalServerException$, InternalServerException);
377
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
378
+ { [_e]: _c, [_hE]: 404 },
379
+ [_M],
380
+ [0], 1
381
+ ];
382
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
383
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
384
+ { [_e]: _c, [_hE]: 402 },
385
+ [_M],
386
+ [0], 1
387
+ ];
388
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
389
+ var ThrottlingException$ = [-3, n0, _TE,
390
+ { [_e]: _c, [_hE]: 429 },
391
+ [_M],
392
+ [0], 1
393
+ ];
394
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
395
+ var ValidationException$ = [-3, n0, _VE,
396
+ { [_e]: _c, [_hE]: 400 },
397
+ [_M],
398
+ [0], 1
399
+ ];
400
+ n0_registry.registerError(ValidationException$, ValidationException);
401
+ const errorTypeRegistries = [
402
+ _s_registry,
403
+ n0_registry,
404
+ ];
405
+ var AwsVpcConfiguration$ = [3, n0, _AVC,
406
+ 0,
407
+ [_S, _SG, _API],
408
+ [64 | 0, 64 | 0, 0], 1
409
+ ];
410
+ var CapacityProviderStrategyItem$ = [3, n0, _CPSI,
411
+ 0,
412
+ [_cP, _w, _b],
413
+ [0, 1, 1], 1
414
+ ];
415
+ var CreateScheduleGroupInput$ = [3, n0, _CSGI,
416
+ 0,
417
+ [_N, _T, _CT],
418
+ [[0, 1], () => TagList, [0, 4]], 1
419
+ ];
420
+ var CreateScheduleGroupOutput$ = [3, n0, _CSGO,
421
+ 0,
422
+ [_SGA],
423
+ [0], 1
424
+ ];
425
+ var CreateScheduleInput$ = [3, n0, _CSI,
426
+ 0,
427
+ [_N, _SE, _Ta, _FTW, _GN, _SD, _ED, _D, _SET, _St, _KKA, _CT, _AAC],
428
+ [[0, 1], 0, () => Target$, () => FlexibleTimeWindow$, 0, 4, 4, 0, 0, 0, 0, [0, 4], 0], 4
429
+ ];
430
+ var CreateScheduleOutput$ = [3, n0, _CSO,
431
+ 0,
432
+ [_SA],
433
+ [0], 1
434
+ ];
435
+ var DeadLetterConfig$ = [3, n0, _DLC,
436
+ 0,
437
+ [_A],
438
+ [0]
439
+ ];
440
+ var DeleteScheduleGroupInput$ = [3, n0, _DSGI,
441
+ 0,
442
+ [_N, _CT],
443
+ [[0, 1], [0, { [_hQ]: _cT, [_iT]: 1 }]], 1
444
+ ];
445
+ var DeleteScheduleGroupOutput$ = [3, n0, _DSGO,
446
+ 0,
447
+ [],
448
+ []
449
+ ];
450
+ var DeleteScheduleInput$ = [3, n0, _DSI,
451
+ 0,
452
+ [_N, _GN, _CT],
453
+ [[0, 1], [0, { [_hQ]: _gN }], [0, { [_hQ]: _cT, [_iT]: 1 }]], 1
454
+ ];
455
+ var DeleteScheduleOutput$ = [3, n0, _DSO,
456
+ 0,
457
+ [],
458
+ []
459
+ ];
460
+ var EcsParameters$ = [3, n0, _EP,
461
+ 0,
462
+ [_TDA, _TC, _LT, _NC, _PV, _G, _CPS, _EECSMT, _EEC, _PC, _PS, _PT, _RI, _T],
463
+ [0, 1, 0, () => NetworkConfiguration$, 0, 0, () => CapacityProviderStrategy, 2, 2, () => PlacementConstraints, () => PlacementStrategies, 0, 0, [1, n0, _T, 0, 128 | 0]], 1
464
+ ];
465
+ var EventBridgeParameters$ = [3, n0, _EBP,
466
+ 0,
467
+ [_DT, _So],
468
+ [0, 0], 2
469
+ ];
470
+ var FlexibleTimeWindow$ = [3, n0, _FTW,
471
+ 0,
472
+ [_Mo, _MWIM],
473
+ [0, 1], 1
474
+ ];
475
+ var GetScheduleGroupInput$ = [3, n0, _GSGI,
476
+ 0,
477
+ [_N],
478
+ [[0, 1]], 1
479
+ ];
480
+ var GetScheduleGroupOutput$ = [3, n0, _GSGO,
481
+ 0,
482
+ [_A, _N, _St, _CD, _LMD],
483
+ [0, 0, 0, 4, 4]
484
+ ];
485
+ var GetScheduleInput$ = [3, n0, _GSI,
486
+ 0,
487
+ [_N, _GN],
488
+ [[0, 1], [0, { [_hQ]: _gN }]], 1
489
+ ];
490
+ var GetScheduleOutput$ = [3, n0, _GSO,
491
+ 0,
492
+ [_A, _GN, _N, _SE, _SD, _ED, _D, _SET, _St, _CD, _LMD, _KKA, _Ta, _FTW, _AAC],
493
+ [0, 0, 0, 0, 4, 4, 0, 0, 0, 4, 4, 0, () => Target$, () => FlexibleTimeWindow$, 0]
494
+ ];
495
+ var KinesisParameters$ = [3, n0, _KP,
496
+ 0,
497
+ [_PK],
498
+ [0], 1
499
+ ];
500
+ var ListScheduleGroupsInput$ = [3, n0, _LSGI,
501
+ 0,
502
+ [_NP, _NT, _MR],
503
+ [[0, { [_hQ]: _NP }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]]
504
+ ];
505
+ var ListScheduleGroupsOutput$ = [3, n0, _LSGO,
506
+ 0,
507
+ [_SGc, _NT],
508
+ [() => ScheduleGroupList, 0], 1
509
+ ];
510
+ var ListSchedulesInput$ = [3, n0, _LSI,
511
+ 0,
512
+ [_GN, _NP, _St, _NT, _MR],
513
+ [[0, { [_hQ]: _SGch }], [0, { [_hQ]: _NP }], [0, { [_hQ]: _St }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]]
514
+ ];
515
+ var ListSchedulesOutput$ = [3, n0, _LSO,
516
+ 0,
517
+ [_Sc, _NT],
518
+ [() => ScheduleList, 0], 1
519
+ ];
520
+ var ListTagsForResourceInput$ = [3, n0, _LTFRI,
521
+ 0,
522
+ [_RA],
523
+ [[0, 1]], 1
524
+ ];
525
+ var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
526
+ 0,
527
+ [_T],
528
+ [() => TagList]
529
+ ];
530
+ var NetworkConfiguration$ = [3, n0, _NC,
531
+ 0,
532
+ [_aC],
533
+ [() => AwsVpcConfiguration$]
534
+ ];
535
+ var PlacementConstraint$ = [3, n0, _PCl,
536
+ 0,
537
+ [_t, _ex],
538
+ [0, 0]
539
+ ];
540
+ var PlacementStrategy$ = [3, n0, _PS,
541
+ 0,
542
+ [_t, _f],
543
+ [0, 0]
544
+ ];
545
+ var RetryPolicy$ = [3, n0, _RP,
546
+ 0,
547
+ [_MEAIS, _MRA],
548
+ [1, 1]
549
+ ];
550
+ var SageMakerPipelineParameter$ = [3, n0, _SMPP,
551
+ 0,
552
+ [_N, _V],
553
+ [0, 0], 2
554
+ ];
555
+ var SageMakerPipelineParameters$ = [3, n0, _SMPPa,
556
+ 0,
557
+ [_PPL],
558
+ [() => SageMakerPipelineParameterList]
559
+ ];
560
+ var ScheduleGroupSummary$ = [3, n0, _SGS,
561
+ 0,
562
+ [_A, _N, _St, _CD, _LMD],
563
+ [0, 0, 0, 4, 4]
564
+ ];
565
+ var ScheduleSummary$ = [3, n0, _SS,
566
+ 0,
567
+ [_A, _N, _GN, _St, _CD, _LMD, _Ta],
568
+ [0, 0, 0, 0, 4, 4, () => TargetSummary$]
569
+ ];
570
+ var SqsParameters$ = [3, n0, _SP,
571
+ 0,
572
+ [_MGI],
573
+ [0]
574
+ ];
575
+ var Tag$ = [3, n0, _Tag,
576
+ 0,
577
+ [_K, _V],
578
+ [0, 0], 2
579
+ ];
580
+ var TagResourceInput$ = [3, n0, _TRI,
581
+ 0,
582
+ [_RA, _T],
583
+ [[0, 1], () => TagList], 2
584
+ ];
585
+ var TagResourceOutput$ = [3, n0, _TRO,
586
+ 0,
587
+ [],
588
+ []
589
+ ];
590
+ var Target$ = [3, n0, _Ta,
591
+ 0,
592
+ [_A, _RAo, _DLC, _RP, _I, _EP, _EBP, _KP, _SMPPa, _SP],
593
+ [0, 0, () => DeadLetterConfig$, () => RetryPolicy$, 0, () => EcsParameters$, () => EventBridgeParameters$, () => KinesisParameters$, () => SageMakerPipelineParameters$, () => SqsParameters$], 2
594
+ ];
595
+ var TargetSummary$ = [3, n0, _TS,
596
+ 0,
597
+ [_A],
598
+ [0], 1
599
+ ];
600
+ var UntagResourceInput$ = [3, n0, _URI,
601
+ 0,
602
+ [_RA, _TK],
603
+ [[0, 1], [64 | 0, { [_hQ]: _TK }]], 2
604
+ ];
605
+ var UntagResourceOutput$ = [3, n0, _URO,
606
+ 0,
607
+ [],
608
+ []
609
+ ];
610
+ var UpdateScheduleInput$ = [3, n0, _USI,
611
+ 0,
612
+ [_N, _SE, _Ta, _FTW, _GN, _SD, _ED, _D, _SET, _St, _KKA, _CT, _AAC],
613
+ [[0, 1], 0, () => Target$, () => FlexibleTimeWindow$, 0, 4, 4, 0, 0, 0, 0, [0, 4], 0], 4
614
+ ];
615
+ var UpdateScheduleOutput$ = [3, n0, _USO,
616
+ 0,
617
+ [_SA],
618
+ [0], 1
619
+ ];
620
+ var CapacityProviderStrategy = [1, n0, _CPS,
621
+ 0, () => CapacityProviderStrategyItem$
622
+ ];
623
+ var PlacementConstraints = [1, n0, _PC,
624
+ 0, () => PlacementConstraint$
625
+ ];
626
+ var PlacementStrategies = [1, n0, _PSl,
627
+ 0, () => PlacementStrategy$
628
+ ];
629
+ var SageMakerPipelineParameterList = [1, n0, _SMPPL,
630
+ 0, () => SageMakerPipelineParameter$
631
+ ];
632
+ var ScheduleGroupList = [1, n0, _SGL,
633
+ 0, () => ScheduleGroupSummary$
634
+ ];
635
+ var ScheduleList = [1, n0, _SL,
636
+ 0, () => ScheduleSummary$
637
+ ];
638
+ var TagList = [1, n0, _TL,
639
+ 0, () => Tag$
640
+ ];
641
+ var CreateSchedule$ = [9, n0, _CS,
642
+ { [_h]: ["POST", "/schedules/{Name}", 200] }, () => CreateScheduleInput$, () => CreateScheduleOutput$
643
+ ];
644
+ var CreateScheduleGroup$ = [9, n0, _CSG,
645
+ { [_h]: ["POST", "/schedule-groups/{Name}", 200] }, () => CreateScheduleGroupInput$, () => CreateScheduleGroupOutput$
646
+ ];
647
+ var DeleteSchedule$ = [9, n0, _DS,
648
+ { [_h]: ["DELETE", "/schedules/{Name}", 200] }, () => DeleteScheduleInput$, () => DeleteScheduleOutput$
649
+ ];
650
+ var DeleteScheduleGroup$ = [9, n0, _DSG,
651
+ { [_h]: ["DELETE", "/schedule-groups/{Name}", 200] }, () => DeleteScheduleGroupInput$, () => DeleteScheduleGroupOutput$
652
+ ];
653
+ var GetSchedule$ = [9, n0, _GS,
654
+ { [_h]: ["GET", "/schedules/{Name}", 200] }, () => GetScheduleInput$, () => GetScheduleOutput$
655
+ ];
656
+ var GetScheduleGroup$ = [9, n0, _GSG,
657
+ { [_h]: ["GET", "/schedule-groups/{Name}", 200] }, () => GetScheduleGroupInput$, () => GetScheduleGroupOutput$
658
+ ];
659
+ var ListScheduleGroups$ = [9, n0, _LSG,
660
+ { [_h]: ["GET", "/schedule-groups", 200] }, () => ListScheduleGroupsInput$, () => ListScheduleGroupsOutput$
661
+ ];
662
+ var ListSchedules$ = [9, n0, _LS,
663
+ { [_h]: ["GET", "/schedules", 200] }, () => ListSchedulesInput$, () => ListSchedulesOutput$
664
+ ];
665
+ var ListTagsForResource$ = [9, n0, _LTFR,
666
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
667
+ ];
668
+ var TagResource$ = [9, n0, _TR,
669
+ { [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceInput$, () => TagResourceOutput$
670
+ ];
671
+ var UntagResource$ = [9, n0, _UR,
672
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
673
+ ];
674
+ var UpdateSchedule$ = [9, n0, _US,
675
+ { [_h]: ["PUT", "/schedules/{Name}", 200] }, () => UpdateScheduleInput$, () => UpdateScheduleOutput$
676
+ ];
677
+
678
+ const getRuntimeConfig$1 = (config) => {
679
+ return {
680
+ apiVersion: "2021-06-30",
681
+ base64Decoder: config?.base64Decoder ?? fromBase64,
682
+ base64Encoder: config?.base64Encoder ?? toBase64,
683
+ disableHostPrefix: config?.disableHostPrefix ?? false,
684
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
685
+ extensions: config?.extensions ?? [],
686
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSchedulerHttpAuthSchemeProvider,
687
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
688
+ {
689
+ schemeId: "aws.auth#sigv4",
690
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
691
+ signer: new AwsSdkSigV4Signer(),
692
+ },
693
+ ],
694
+ logger: config?.logger ?? new NoOpLogger(),
695
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
696
+ protocolSettings: config?.protocolSettings ?? {
697
+ defaultNamespace: "com.amazonaws.scheduler",
698
+ errorTypeRegistries,
699
+ version: "2021-06-30",
700
+ serviceTarget: "AWSChronosService",
701
+ },
702
+ serviceId: config?.serviceId ?? "Scheduler",
703
+ urlParser: config?.urlParser ?? parseUrl,
704
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
705
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
706
+ };
707
+ };
708
+
709
+ const getRuntimeConfig = (config) => {
710
+ emitWarningIfUnsupportedVersion(process.version);
711
+ const defaultsMode = resolveDefaultsModeConfig(config);
712
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
713
+ const clientSharedValues = getRuntimeConfig$1(config);
714
+ emitWarningIfUnsupportedVersion$1(process.version);
715
+ const loaderConfig = {
716
+ profile: config?.profile,
717
+ logger: clientSharedValues.logger,
718
+ };
719
+ return {
720
+ ...clientSharedValues,
721
+ ...config,
722
+ runtime: "node",
723
+ defaultsMode,
724
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
725
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
726
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
727
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
728
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
729
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
730
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
731
+ retryMode: config?.retryMode ??
732
+ loadConfig({
733
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
734
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
735
+ }, config),
736
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
737
+ streamCollector: config?.streamCollector ?? streamCollector,
738
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
739
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
740
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
741
+ };
742
+ };
743
+
34
744
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
745
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
746
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -321,26 +1031,96 @@ const ScheduleGroupState = {
321
1031
 
322
1032
  exports.ActionAfterCompletion = ActionAfterCompletion;
323
1033
  exports.AssignPublicIp = AssignPublicIp;
1034
+ exports.AwsVpcConfiguration$ = AwsVpcConfiguration$;
1035
+ exports.CapacityProviderStrategyItem$ = CapacityProviderStrategyItem$;
1036
+ exports.ConflictException = ConflictException;
1037
+ exports.ConflictException$ = ConflictException$;
1038
+ exports.CreateSchedule$ = CreateSchedule$;
324
1039
  exports.CreateScheduleCommand = CreateScheduleCommand;
1040
+ exports.CreateScheduleGroup$ = CreateScheduleGroup$;
325
1041
  exports.CreateScheduleGroupCommand = CreateScheduleGroupCommand;
1042
+ exports.CreateScheduleGroupInput$ = CreateScheduleGroupInput$;
1043
+ exports.CreateScheduleGroupOutput$ = CreateScheduleGroupOutput$;
1044
+ exports.CreateScheduleInput$ = CreateScheduleInput$;
1045
+ exports.CreateScheduleOutput$ = CreateScheduleOutput$;
1046
+ exports.DeadLetterConfig$ = DeadLetterConfig$;
1047
+ exports.DeleteSchedule$ = DeleteSchedule$;
326
1048
  exports.DeleteScheduleCommand = DeleteScheduleCommand;
1049
+ exports.DeleteScheduleGroup$ = DeleteScheduleGroup$;
327
1050
  exports.DeleteScheduleGroupCommand = DeleteScheduleGroupCommand;
1051
+ exports.DeleteScheduleGroupInput$ = DeleteScheduleGroupInput$;
1052
+ exports.DeleteScheduleGroupOutput$ = DeleteScheduleGroupOutput$;
1053
+ exports.DeleteScheduleInput$ = DeleteScheduleInput$;
1054
+ exports.DeleteScheduleOutput$ = DeleteScheduleOutput$;
1055
+ exports.EcsParameters$ = EcsParameters$;
1056
+ exports.EventBridgeParameters$ = EventBridgeParameters$;
1057
+ exports.FlexibleTimeWindow$ = FlexibleTimeWindow$;
328
1058
  exports.FlexibleTimeWindowMode = FlexibleTimeWindowMode;
1059
+ exports.GetSchedule$ = GetSchedule$;
329
1060
  exports.GetScheduleCommand = GetScheduleCommand;
1061
+ exports.GetScheduleGroup$ = GetScheduleGroup$;
330
1062
  exports.GetScheduleGroupCommand = GetScheduleGroupCommand;
1063
+ exports.GetScheduleGroupInput$ = GetScheduleGroupInput$;
1064
+ exports.GetScheduleGroupOutput$ = GetScheduleGroupOutput$;
1065
+ exports.GetScheduleInput$ = GetScheduleInput$;
1066
+ exports.GetScheduleOutput$ = GetScheduleOutput$;
1067
+ exports.InternalServerException = InternalServerException;
1068
+ exports.InternalServerException$ = InternalServerException$;
1069
+ exports.KinesisParameters$ = KinesisParameters$;
331
1070
  exports.LaunchType = LaunchType;
1071
+ exports.ListScheduleGroups$ = ListScheduleGroups$;
332
1072
  exports.ListScheduleGroupsCommand = ListScheduleGroupsCommand;
1073
+ exports.ListScheduleGroupsInput$ = ListScheduleGroupsInput$;
1074
+ exports.ListScheduleGroupsOutput$ = ListScheduleGroupsOutput$;
1075
+ exports.ListSchedules$ = ListSchedules$;
333
1076
  exports.ListSchedulesCommand = ListSchedulesCommand;
1077
+ exports.ListSchedulesInput$ = ListSchedulesInput$;
1078
+ exports.ListSchedulesOutput$ = ListSchedulesOutput$;
1079
+ exports.ListTagsForResource$ = ListTagsForResource$;
334
1080
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1081
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
1082
+ exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
1083
+ exports.NetworkConfiguration$ = NetworkConfiguration$;
1084
+ exports.PlacementConstraint$ = PlacementConstraint$;
335
1085
  exports.PlacementConstraintType = PlacementConstraintType;
1086
+ exports.PlacementStrategy$ = PlacementStrategy$;
336
1087
  exports.PlacementStrategyType = PlacementStrategyType;
337
1088
  exports.PropagateTags = PropagateTags;
1089
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1090
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1091
+ exports.RetryPolicy$ = RetryPolicy$;
1092
+ exports.SageMakerPipelineParameter$ = SageMakerPipelineParameter$;
1093
+ exports.SageMakerPipelineParameters$ = SageMakerPipelineParameters$;
338
1094
  exports.ScheduleGroupState = ScheduleGroupState;
1095
+ exports.ScheduleGroupSummary$ = ScheduleGroupSummary$;
339
1096
  exports.ScheduleState = ScheduleState;
1097
+ exports.ScheduleSummary$ = ScheduleSummary$;
340
1098
  exports.Scheduler = Scheduler;
341
1099
  exports.SchedulerClient = SchedulerClient;
1100
+ exports.SchedulerServiceException = SchedulerServiceException;
1101
+ exports.SchedulerServiceException$ = SchedulerServiceException$;
1102
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1103
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1104
+ exports.SqsParameters$ = SqsParameters$;
1105
+ exports.Tag$ = Tag$;
1106
+ exports.TagResource$ = TagResource$;
342
1107
  exports.TagResourceCommand = TagResourceCommand;
1108
+ exports.TagResourceInput$ = TagResourceInput$;
1109
+ exports.TagResourceOutput$ = TagResourceOutput$;
1110
+ exports.Target$ = Target$;
1111
+ exports.TargetSummary$ = TargetSummary$;
1112
+ exports.ThrottlingException = ThrottlingException;
1113
+ exports.ThrottlingException$ = ThrottlingException$;
1114
+ exports.UntagResource$ = UntagResource$;
343
1115
  exports.UntagResourceCommand = UntagResourceCommand;
1116
+ exports.UntagResourceInput$ = UntagResourceInput$;
1117
+ exports.UntagResourceOutput$ = UntagResourceOutput$;
1118
+ exports.UpdateSchedule$ = UpdateSchedule$;
344
1119
  exports.UpdateScheduleCommand = UpdateScheduleCommand;
1120
+ exports.UpdateScheduleInput$ = UpdateScheduleInput$;
1121
+ exports.UpdateScheduleOutput$ = UpdateScheduleOutput$;
1122
+ exports.ValidationException = ValidationException;
1123
+ exports.ValidationException$ = ValidationException$;
1124
+ exports.errorTypeRegistries = errorTypeRegistries;
345
1125
  exports.paginateListScheduleGroups = paginateListScheduleGroups;
346
1126
  exports.paginateListSchedules = paginateListSchedules;