Files
floci/docs
Priamo Germosen 73f2c348b6 fix(emr): check the step limits the API reference and the guide give (#8519)
EMR's documentation sets four limits on steps that Floci did not check:
StepConcurrencyLevel "a minimum of 1 step and a maximum of 256 steps"
(ModifyCluster; "The maximum value is 256" for RunJobFlow); "only 256
steps can be RUNNING or PENDING at any given time"; an ActionOnFailure
other than CONTINUE added while the level is above 1, where "The step is
not submitted and the action fails with a message that the ActionOnFailure
setting is not valid"; and CancelSteps, "Available only in Amazon EMR
versions 4.8.0 and later, excluding version 5.0.0", with "A maximum of 256
steps ... in each CancelSteps request".

Each is now refused in the error code its operation's model points at:
ValidationException from RunJobFlow and AddJobFlowSteps, which declare no
InvalidRequestException, as Floci's other refusals of theirs, and
InvalidRequestException from ModifyCluster and CancelSteps. No source
gives AWS's messages, so they are Floci's.
2026-11-15 19:06:53 -04:00
..
2026-03-15 17:43:56 -05:00