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