@aws-sdk/client-scheduler 3.956.0 → 3.958.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/README.md +1 -17
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +257 -268
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +260 -269
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -339,326 +339,315 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.scheduler";
|
|
|
339
339
|
const _t = "type";
|
|
340
340
|
const _w = "weight";
|
|
341
341
|
const n0 = "com.amazonaws.scheduler";
|
|
342
|
-
var AwsVpcConfiguration$ = [3, n0, _AVC,
|
|
343
|
-
|
|
344
|
-
|
|
342
|
+
var AwsVpcConfiguration$ = [3, n0, _AVC,
|
|
343
|
+
0,
|
|
344
|
+
[_S, _SG, _API],
|
|
345
|
+
[64 | 0, 64 | 0, 0]
|
|
346
|
+
];
|
|
347
|
+
var CapacityProviderStrategyItem$ = [3, n0, _CPSI,
|
|
348
|
+
0,
|
|
349
|
+
[_cP, _w, _b],
|
|
350
|
+
[0, 1, 1]
|
|
351
|
+
];
|
|
352
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
353
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
354
|
+
[_M],
|
|
355
|
+
[0]
|
|
356
|
+
];
|
|
345
357
|
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
346
|
-
var CreateScheduleGroupInput$ = [
|
|
347
|
-
3,
|
|
348
|
-
n0,
|
|
349
|
-
_CSGI,
|
|
358
|
+
var CreateScheduleGroupInput$ = [3, n0, _CSGI,
|
|
350
359
|
0,
|
|
351
360
|
[_N, _T, _CT],
|
|
352
|
-
[[0, 1], () => TagList, [0, 4]]
|
|
361
|
+
[[0, 1], () => TagList, [0, 4]]
|
|
353
362
|
];
|
|
354
|
-
var CreateScheduleGroupOutput$ = [3, n0, _CSGO,
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
363
|
+
var CreateScheduleGroupOutput$ = [3, n0, _CSGO,
|
|
364
|
+
0,
|
|
365
|
+
[_SGA],
|
|
366
|
+
[0]
|
|
367
|
+
];
|
|
368
|
+
var CreateScheduleInput$ = [3, n0, _CSI,
|
|
359
369
|
0,
|
|
360
370
|
[_N, _GN, _SE, _SD, _ED, _D, _SET, _St, _KKA, _Ta, _FTW, _CT, _AAC],
|
|
361
|
-
[[0, 1], 0, 0, 4, 4, 0, 0, 0, 0, () => Target$, () => FlexibleTimeWindow$, [0, 4], 0]
|
|
371
|
+
[[0, 1], 0, 0, 4, 4, 0, 0, 0, 0, () => Target$, () => FlexibleTimeWindow$, [0, 4], 0]
|
|
372
|
+
];
|
|
373
|
+
var CreateScheduleOutput$ = [3, n0, _CSO,
|
|
374
|
+
0,
|
|
375
|
+
[_SA],
|
|
376
|
+
[0]
|
|
377
|
+
];
|
|
378
|
+
var DeadLetterConfig$ = [3, n0, _DLC,
|
|
379
|
+
0,
|
|
380
|
+
[_A],
|
|
381
|
+
[0]
|
|
362
382
|
];
|
|
363
|
-
var
|
|
364
|
-
var DeadLetterConfig$ = [3, n0, _DLC, 0, [_A], [0]];
|
|
365
|
-
var DeleteScheduleGroupInput$ = [
|
|
366
|
-
3,
|
|
367
|
-
n0,
|
|
368
|
-
_DSGI,
|
|
383
|
+
var DeleteScheduleGroupInput$ = [3, n0, _DSGI,
|
|
369
384
|
0,
|
|
370
385
|
[_N, _CT],
|
|
371
|
-
[
|
|
372
|
-
[0, 1],
|
|
373
|
-
[0, { [_hQ]: _cT, [_iT]: 1 }],
|
|
374
|
-
],
|
|
386
|
+
[[0, 1], [0, { [_hQ]: _cT, [_iT]: 1 }]]
|
|
375
387
|
];
|
|
376
|
-
var DeleteScheduleGroupOutput$ = [3, n0, _DSGO,
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
388
|
+
var DeleteScheduleGroupOutput$ = [3, n0, _DSGO,
|
|
389
|
+
0,
|
|
390
|
+
[],
|
|
391
|
+
[]
|
|
392
|
+
];
|
|
393
|
+
var DeleteScheduleInput$ = [3, n0, _DSI,
|
|
381
394
|
0,
|
|
382
395
|
[_N, _GN, _CT],
|
|
383
|
-
[
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
],
|
|
388
|
-
]
|
|
389
|
-
|
|
390
|
-
var EcsParameters$ = [
|
|
391
|
-
3,
|
|
392
|
-
n0,
|
|
393
|
-
_EP,
|
|
396
|
+
[[0, 1], [0, { [_hQ]: _gN }], [0, { [_hQ]: _cT, [_iT]: 1 }]]
|
|
397
|
+
];
|
|
398
|
+
var DeleteScheduleOutput$ = [3, n0, _DSO,
|
|
399
|
+
0,
|
|
400
|
+
[],
|
|
401
|
+
[]
|
|
402
|
+
];
|
|
403
|
+
var EcsParameters$ = [3, n0, _EP,
|
|
394
404
|
0,
|
|
395
405
|
[_TDA, _TC, _LT, _NC, _PV, _G, _CPS, _EECSMT, _EEC, _PC, _PS, _PT, _RI, _T],
|
|
396
|
-
[
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
]
|
|
412
|
-
];
|
|
413
|
-
var
|
|
414
|
-
var FlexibleTimeWindow$ = [3, n0, _FTW, 0, [_Mo, _MWIM], [0, 1]];
|
|
415
|
-
var GetScheduleGroupInput$ = [3, n0, _GSGI, 0, [_N], [[0, 1]]];
|
|
416
|
-
var GetScheduleGroupOutput$ = [
|
|
417
|
-
3,
|
|
418
|
-
n0,
|
|
419
|
-
_GSGO,
|
|
406
|
+
[0, 1, 0, () => NetworkConfiguration$, 0, 0, () => CapacityProviderStrategy, 2, 2, () => PlacementConstraints, () => PlacementStrategies, 0, 0, [1, n0, _T, 0, 128 | 0]]
|
|
407
|
+
];
|
|
408
|
+
var EventBridgeParameters$ = [3, n0, _EBP,
|
|
409
|
+
0,
|
|
410
|
+
[_DT, _So],
|
|
411
|
+
[0, 0]
|
|
412
|
+
];
|
|
413
|
+
var FlexibleTimeWindow$ = [3, n0, _FTW,
|
|
414
|
+
0,
|
|
415
|
+
[_Mo, _MWIM],
|
|
416
|
+
[0, 1]
|
|
417
|
+
];
|
|
418
|
+
var GetScheduleGroupInput$ = [3, n0, _GSGI,
|
|
419
|
+
0,
|
|
420
|
+
[_N],
|
|
421
|
+
[[0, 1]]
|
|
422
|
+
];
|
|
423
|
+
var GetScheduleGroupOutput$ = [3, n0, _GSGO,
|
|
420
424
|
0,
|
|
421
425
|
[_A, _N, _St, _CD, _LMD],
|
|
422
|
-
[0, 0, 0, 4, 4]
|
|
426
|
+
[0, 0, 0, 4, 4]
|
|
423
427
|
];
|
|
424
|
-
var GetScheduleInput$ = [
|
|
425
|
-
3,
|
|
426
|
-
n0,
|
|
427
|
-
_GSI,
|
|
428
|
+
var GetScheduleInput$ = [3, n0, _GSI,
|
|
428
429
|
0,
|
|
429
430
|
[_N, _GN],
|
|
430
|
-
[
|
|
431
|
-
[0, 1],
|
|
432
|
-
[0, { [_hQ]: _gN }],
|
|
433
|
-
],
|
|
431
|
+
[[0, 1], [0, { [_hQ]: _gN }]]
|
|
434
432
|
];
|
|
435
|
-
var GetScheduleOutput$ = [
|
|
436
|
-
3,
|
|
437
|
-
n0,
|
|
438
|
-
_GSO,
|
|
433
|
+
var GetScheduleOutput$ = [3, n0, _GSO,
|
|
439
434
|
0,
|
|
440
435
|
[_A, _GN, _N, _SE, _SD, _ED, _D, _SET, _St, _CD, _LMD, _KKA, _Ta, _FTW, _AAC],
|
|
441
|
-
[0, 0, 0, 0, 4, 4, 0, 0, 0, 4, 4, 0, () => Target$, () => FlexibleTimeWindow$, 0]
|
|
436
|
+
[0, 0, 0, 0, 4, 4, 0, 0, 0, 4, 4, 0, () => Target$, () => FlexibleTimeWindow$, 0]
|
|
437
|
+
];
|
|
438
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
439
|
+
{ [_e]: _s, [_hE]: 500 },
|
|
440
|
+
[_M],
|
|
441
|
+
[0]
|
|
442
442
|
];
|
|
443
|
-
var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
444
443
|
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
445
|
-
var KinesisParameters$ = [3, n0, _KP,
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
444
|
+
var KinesisParameters$ = [3, n0, _KP,
|
|
445
|
+
0,
|
|
446
|
+
[_PK],
|
|
447
|
+
[0]
|
|
448
|
+
];
|
|
449
|
+
var ListScheduleGroupsInput$ = [3, n0, _LSGI,
|
|
450
450
|
0,
|
|
451
451
|
[_NP, _NT, _MR],
|
|
452
|
-
[
|
|
453
|
-
[0, { [_hQ]: _NP }],
|
|
454
|
-
[0, { [_hQ]: _NT }],
|
|
455
|
-
[1, { [_hQ]: _MR }],
|
|
456
|
-
],
|
|
452
|
+
[[0, { [_hQ]: _NP }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]]
|
|
457
453
|
];
|
|
458
|
-
var ListScheduleGroupsOutput$ = [
|
|
459
|
-
3,
|
|
460
|
-
n0,
|
|
461
|
-
_LSGO,
|
|
454
|
+
var ListScheduleGroupsOutput$ = [3, n0, _LSGO,
|
|
462
455
|
0,
|
|
463
456
|
[_NT, _SGc],
|
|
464
|
-
[0, () => ScheduleGroupList]
|
|
457
|
+
[0, () => ScheduleGroupList]
|
|
465
458
|
];
|
|
466
|
-
var ListSchedulesInput$ = [
|
|
467
|
-
3,
|
|
468
|
-
n0,
|
|
469
|
-
_LSI,
|
|
459
|
+
var ListSchedulesInput$ = [3, n0, _LSI,
|
|
470
460
|
0,
|
|
471
461
|
[_GN, _NP, _St, _NT, _MR],
|
|
472
|
-
[
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
var
|
|
485
|
-
|
|
486
|
-
|
|
462
|
+
[[0, { [_hQ]: _SGch }], [0, { [_hQ]: _NP }], [0, { [_hQ]: _St }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]]
|
|
463
|
+
];
|
|
464
|
+
var ListSchedulesOutput$ = [3, n0, _LSO,
|
|
465
|
+
0,
|
|
466
|
+
[_NT, _Sc],
|
|
467
|
+
[0, () => ScheduleList]
|
|
468
|
+
];
|
|
469
|
+
var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
470
|
+
0,
|
|
471
|
+
[_RA],
|
|
472
|
+
[[0, 1]]
|
|
473
|
+
];
|
|
474
|
+
var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
475
|
+
0,
|
|
476
|
+
[_T],
|
|
477
|
+
[() => TagList]
|
|
478
|
+
];
|
|
479
|
+
var NetworkConfiguration$ = [3, n0, _NC,
|
|
480
|
+
0,
|
|
481
|
+
[_aC],
|
|
482
|
+
[() => AwsVpcConfiguration$]
|
|
483
|
+
];
|
|
484
|
+
var PlacementConstraint$ = [3, n0, _PCl,
|
|
485
|
+
0,
|
|
486
|
+
[_t, _ex],
|
|
487
|
+
[0, 0]
|
|
488
|
+
];
|
|
489
|
+
var PlacementStrategy$ = [3, n0, _PS,
|
|
490
|
+
0,
|
|
491
|
+
[_t, _f],
|
|
492
|
+
[0, 0]
|
|
493
|
+
];
|
|
494
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
495
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
496
|
+
[_M],
|
|
497
|
+
[0]
|
|
498
|
+
];
|
|
487
499
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
488
|
-
var RetryPolicy$ = [3, n0, _RP,
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
500
|
+
var RetryPolicy$ = [3, n0, _RP,
|
|
501
|
+
0,
|
|
502
|
+
[_MEAIS, _MRA],
|
|
503
|
+
[1, 1]
|
|
504
|
+
];
|
|
505
|
+
var SageMakerPipelineParameter$ = [3, n0, _SMPP,
|
|
506
|
+
0,
|
|
507
|
+
[_N, _V],
|
|
508
|
+
[0, 0]
|
|
509
|
+
];
|
|
510
|
+
var SageMakerPipelineParameters$ = [3, n0, _SMPPa,
|
|
494
511
|
0,
|
|
495
512
|
[_PPL],
|
|
496
|
-
[() => SageMakerPipelineParameterList]
|
|
513
|
+
[() => SageMakerPipelineParameterList]
|
|
514
|
+
];
|
|
515
|
+
var ScheduleGroupSummary$ = [3, n0, _SGS,
|
|
516
|
+
0,
|
|
517
|
+
[_A, _N, _St, _CD, _LMD],
|
|
518
|
+
[0, 0, 0, 4, 4]
|
|
497
519
|
];
|
|
498
|
-
var
|
|
499
|
-
var ScheduleSummary$ = [
|
|
500
|
-
3,
|
|
501
|
-
n0,
|
|
502
|
-
_SS,
|
|
520
|
+
var ScheduleSummary$ = [3, n0, _SS,
|
|
503
521
|
0,
|
|
504
522
|
[_A, _N, _GN, _St, _CD, _LMD, _Ta],
|
|
505
|
-
[0, 0, 0, 0, 4, 4, () => TargetSummary$]
|
|
523
|
+
[0, 0, 0, 0, 4, 4, () => TargetSummary$]
|
|
524
|
+
];
|
|
525
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
526
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
527
|
+
[_M],
|
|
528
|
+
[0]
|
|
506
529
|
];
|
|
507
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
|
|
508
530
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
509
|
-
var SqsParameters$ = [3, n0, _SP,
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
531
|
+
var SqsParameters$ = [3, n0, _SP,
|
|
532
|
+
0,
|
|
533
|
+
[_MGI],
|
|
534
|
+
[0]
|
|
535
|
+
];
|
|
536
|
+
var Tag$ = [3, n0, _Tag,
|
|
537
|
+
0,
|
|
538
|
+
[_K, _V],
|
|
539
|
+
[0, 0]
|
|
540
|
+
];
|
|
541
|
+
var TagResourceInput$ = [3, n0, _TRI,
|
|
542
|
+
0,
|
|
543
|
+
[_RA, _T],
|
|
544
|
+
[[0, 1], () => TagList]
|
|
545
|
+
];
|
|
546
|
+
var TagResourceOutput$ = [3, n0, _TRO,
|
|
547
|
+
0,
|
|
548
|
+
[],
|
|
549
|
+
[]
|
|
550
|
+
];
|
|
551
|
+
var Target$ = [3, n0, _Ta,
|
|
517
552
|
0,
|
|
518
553
|
[_A, _RAo, _DLC, _RP, _I, _EP, _EBP, _KP, _SMPPa, _SP],
|
|
519
|
-
[
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
];
|
|
532
|
-
var TargetSummary$ = [3, n0, _TS, 0, [_A], [0]];
|
|
533
|
-
var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
|
|
554
|
+
[0, 0, () => DeadLetterConfig$, () => RetryPolicy$, 0, () => EcsParameters$, () => EventBridgeParameters$, () => KinesisParameters$, () => SageMakerPipelineParameters$, () => SqsParameters$]
|
|
555
|
+
];
|
|
556
|
+
var TargetSummary$ = [3, n0, _TS,
|
|
557
|
+
0,
|
|
558
|
+
[_A],
|
|
559
|
+
[0]
|
|
560
|
+
];
|
|
561
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
562
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
563
|
+
[_M],
|
|
564
|
+
[0]
|
|
565
|
+
];
|
|
534
566
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
535
|
-
var UntagResourceInput$ = [
|
|
536
|
-
3,
|
|
537
|
-
n0,
|
|
538
|
-
_URI,
|
|
567
|
+
var UntagResourceInput$ = [3, n0, _URI,
|
|
539
568
|
0,
|
|
540
569
|
[_RA, _TK],
|
|
541
|
-
[
|
|
542
|
-
[0, 1],
|
|
543
|
-
[64 | 0, { [_hQ]: _TK }],
|
|
544
|
-
],
|
|
570
|
+
[[0, 1], [64 | 0, { [_hQ]: _TK }]]
|
|
545
571
|
];
|
|
546
|
-
var UntagResourceOutput$ = [3, n0, _URO,
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
572
|
+
var UntagResourceOutput$ = [3, n0, _URO,
|
|
573
|
+
0,
|
|
574
|
+
[],
|
|
575
|
+
[]
|
|
576
|
+
];
|
|
577
|
+
var UpdateScheduleInput$ = [3, n0, _USI,
|
|
551
578
|
0,
|
|
552
579
|
[_N, _GN, _SE, _SD, _ED, _D, _SET, _St, _KKA, _Ta, _FTW, _CT, _AAC],
|
|
553
|
-
[[0, 1], 0, 0, 4, 4, 0, 0, 0, 0, () => Target$, () => FlexibleTimeWindow$, [0, 4], 0]
|
|
580
|
+
[[0, 1], 0, 0, 4, 4, 0, 0, 0, 0, () => Target$, () => FlexibleTimeWindow$, [0, 4], 0]
|
|
581
|
+
];
|
|
582
|
+
var UpdateScheduleOutput$ = [3, n0, _USO,
|
|
583
|
+
0,
|
|
584
|
+
[_SA],
|
|
585
|
+
[0]
|
|
586
|
+
];
|
|
587
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
588
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
589
|
+
[_M],
|
|
590
|
+
[0]
|
|
554
591
|
];
|
|
555
|
-
var UpdateScheduleOutput$ = [3, n0, _USO, 0, [_SA], [0]];
|
|
556
|
-
var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
557
592
|
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
558
593
|
var SchedulerServiceException$ = [-3, _sm, "SchedulerServiceException", 0, [], []];
|
|
559
594
|
schema.TypeRegistry.for(_sm).registerError(SchedulerServiceException$, SchedulerServiceException);
|
|
560
|
-
var CapacityProviderStrategy = [1, n0, _CPS,
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
var
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
var
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
() =>
|
|
574
|
-
];
|
|
575
|
-
var
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
]
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
() => DeleteScheduleInput$,
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
() =>
|
|
598
|
-
];
|
|
599
|
-
var
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
{ [_h]: ["GET", "/schedules
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
]
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
() =>
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
9,
|
|
617
|
-
n0,
|
|
618
|
-
_LSG,
|
|
619
|
-
{ [_h]: ["GET", "/schedule-groups", 200] },
|
|
620
|
-
() => ListScheduleGroupsInput$,
|
|
621
|
-
() => ListScheduleGroupsOutput$,
|
|
622
|
-
];
|
|
623
|
-
var ListSchedules$ = [
|
|
624
|
-
9,
|
|
625
|
-
n0,
|
|
626
|
-
_LS,
|
|
627
|
-
{ [_h]: ["GET", "/schedules", 200] },
|
|
628
|
-
() => ListSchedulesInput$,
|
|
629
|
-
() => ListSchedulesOutput$,
|
|
630
|
-
];
|
|
631
|
-
var ListTagsForResource$ = [
|
|
632
|
-
9,
|
|
633
|
-
n0,
|
|
634
|
-
_LTFR,
|
|
635
|
-
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] },
|
|
636
|
-
() => ListTagsForResourceInput$,
|
|
637
|
-
() => ListTagsForResourceOutput$,
|
|
638
|
-
];
|
|
639
|
-
var TagResource$ = [
|
|
640
|
-
9,
|
|
641
|
-
n0,
|
|
642
|
-
_TR,
|
|
643
|
-
{ [_h]: ["POST", "/tags/{ResourceArn}", 200] },
|
|
644
|
-
() => TagResourceInput$,
|
|
645
|
-
() => TagResourceOutput$,
|
|
646
|
-
];
|
|
647
|
-
var UntagResource$ = [
|
|
648
|
-
9,
|
|
649
|
-
n0,
|
|
650
|
-
_UR,
|
|
651
|
-
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200] },
|
|
652
|
-
() => UntagResourceInput$,
|
|
653
|
-
() => UntagResourceOutput$,
|
|
654
|
-
];
|
|
655
|
-
var UpdateSchedule$ = [
|
|
656
|
-
9,
|
|
657
|
-
n0,
|
|
658
|
-
_US,
|
|
659
|
-
{ [_h]: ["PUT", "/schedules/{Name}", 200] },
|
|
660
|
-
() => UpdateScheduleInput$,
|
|
661
|
-
() => UpdateScheduleOutput$,
|
|
595
|
+
var CapacityProviderStrategy = [1, n0, _CPS,
|
|
596
|
+
0, () => CapacityProviderStrategyItem$
|
|
597
|
+
];
|
|
598
|
+
var PlacementConstraints = [1, n0, _PC,
|
|
599
|
+
0, () => PlacementConstraint$
|
|
600
|
+
];
|
|
601
|
+
var PlacementStrategies = [1, n0, _PSl,
|
|
602
|
+
0, () => PlacementStrategy$
|
|
603
|
+
];
|
|
604
|
+
var SageMakerPipelineParameterList = [1, n0, _SMPPL,
|
|
605
|
+
0, () => SageMakerPipelineParameter$
|
|
606
|
+
];
|
|
607
|
+
var ScheduleGroupList = [1, n0, _SGL,
|
|
608
|
+
0, () => ScheduleGroupSummary$
|
|
609
|
+
];
|
|
610
|
+
var ScheduleList = [1, n0, _SL,
|
|
611
|
+
0, () => ScheduleSummary$
|
|
612
|
+
];
|
|
613
|
+
var TagList = [1, n0, _TL,
|
|
614
|
+
0, () => Tag$
|
|
615
|
+
];
|
|
616
|
+
var CreateSchedule$ = [9, n0, _CS,
|
|
617
|
+
{ [_h]: ["POST", "/schedules/{Name}", 200] }, () => CreateScheduleInput$, () => CreateScheduleOutput$
|
|
618
|
+
];
|
|
619
|
+
var CreateScheduleGroup$ = [9, n0, _CSG,
|
|
620
|
+
{ [_h]: ["POST", "/schedule-groups/{Name}", 200] }, () => CreateScheduleGroupInput$, () => CreateScheduleGroupOutput$
|
|
621
|
+
];
|
|
622
|
+
var DeleteSchedule$ = [9, n0, _DS,
|
|
623
|
+
{ [_h]: ["DELETE", "/schedules/{Name}", 200] }, () => DeleteScheduleInput$, () => DeleteScheduleOutput$
|
|
624
|
+
];
|
|
625
|
+
var DeleteScheduleGroup$ = [9, n0, _DSG,
|
|
626
|
+
{ [_h]: ["DELETE", "/schedule-groups/{Name}", 200] }, () => DeleteScheduleGroupInput$, () => DeleteScheduleGroupOutput$
|
|
627
|
+
];
|
|
628
|
+
var GetSchedule$ = [9, n0, _GS,
|
|
629
|
+
{ [_h]: ["GET", "/schedules/{Name}", 200] }, () => GetScheduleInput$, () => GetScheduleOutput$
|
|
630
|
+
];
|
|
631
|
+
var GetScheduleGroup$ = [9, n0, _GSG,
|
|
632
|
+
{ [_h]: ["GET", "/schedule-groups/{Name}", 200] }, () => GetScheduleGroupInput$, () => GetScheduleGroupOutput$
|
|
633
|
+
];
|
|
634
|
+
var ListScheduleGroups$ = [9, n0, _LSG,
|
|
635
|
+
{ [_h]: ["GET", "/schedule-groups", 200] }, () => ListScheduleGroupsInput$, () => ListScheduleGroupsOutput$
|
|
636
|
+
];
|
|
637
|
+
var ListSchedules$ = [9, n0, _LS,
|
|
638
|
+
{ [_h]: ["GET", "/schedules", 200] }, () => ListSchedulesInput$, () => ListSchedulesOutput$
|
|
639
|
+
];
|
|
640
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
641
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
|
|
642
|
+
];
|
|
643
|
+
var TagResource$ = [9, n0, _TR,
|
|
644
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceInput$, () => TagResourceOutput$
|
|
645
|
+
];
|
|
646
|
+
var UntagResource$ = [9, n0, _UR,
|
|
647
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
|
|
648
|
+
];
|
|
649
|
+
var UpdateSchedule$ = [9, n0, _US,
|
|
650
|
+
{ [_h]: ["PUT", "/schedules/{Name}", 200] }, () => UpdateScheduleInput$, () => UpdateScheduleOutput$
|
|
662
651
|
];
|
|
663
652
|
|
|
664
653
|
class CreateScheduleCommand extends smithyClient.Command
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultSchedulerHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|