简体   繁体   English

如何在 AWS 中删除或重命名步骤 function 执行

[英]how do i delete or rename a step function execution in AWS

we use step functions heavily - they are great - they mean that if something fails - we can fix the code or manually fix the input and then re-run it without a client ever being aware something went wrong.我们大量使用步进函数——它们很棒——它们意味着如果出现问题——我们可以修复代码或手动修复输入,然后重新运行它,而客户永远不会意识到出了什么问题。

So - we see failed executions as sort of like a "todo" - they don't happen very often - so when an alert tells us something failed, we bring it up, work out what to do to fix it - and fix it.所以 - 我们将失败的执行视为有点像“待办事项” - 它们不会经常发生 - 所以当警报告诉我们某些事情失败时,我们会提出它,找出如何修复它 - 并修复它。

But obviously - the old failure just hangs around.但很明显 - 旧的失败只是徘徊。 Still looking like a todo.仍然看起来像一个待办事项。

In the perfect world, we'd like to archive it - make it go away somewhere so it's just not in the list, but we can get at it if we wanted to.在完美的世界中,我们希望将其存档 - 将其保存在 go 之外的某个地方,这样它就不会出现在列表中,但如果我们愿意,我们可以获取它。

Failing that - we'd like to delete it.否则 - 我们想删除它。

Failing that - even being able to rename it from x to [FIXED] x would help.否则 - 即使能够将其从 x 重命名为 [FIXED] x 也会有所帮助。

NOTE - deleting the whole step function isn't an option - we just want to address a single execution.注意-删除整个步骤 function 不是一个选项 - 我们只想解决单个执行问题。

Unfortunately there's currently no way for StepFunctions to edit nor delete an execution.遗憾的是,目前 StepFunctions 无法编辑或删除执行。

If it helps, you could filter the list by status "Success" (just for aesthetics), but I know this doesn't answer the original question.如果有帮助,您可以按状态“成功”过滤列表(只是为了美观),但我知道这不能回答原始问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 AWS Batch 作业执行结果在步骤 Function - AWS Batch Job Execution Results in Step Function 如何在 AWS Step Functions 中获取要传递到下一步的变量? - How do I get a variable to be passed across into the next Step, in AWS Step Functions? 如何在 Python 中模拟 AWS lambda start_execution? - How do I mock an AWS lambda start_execution in Python? AWS 步骤 Function 中的 lambda 可以知道启动它的步骤 function 的“执行名称”吗? - Can a lambda in an AWS Step Function know the "execution name" of the step function that launched it? AWS Step Function - 如何接收输入? - AWS Step Function - how to receive input? 在步骤 Function 中,如何将标量数组转换为字典数组? - In a Step Function, how do I convert an array of scalars into an array of dictionaries? 如何从另一个 AWS 账户中的步骤 function 调用一个 AWS 账户中的步骤 function? - How to invoke a step function in one AWS account from a step function in another AWS account? 如何在 AWS 步骤 function 中获取迭代器/映射 state 的索引 - How can I get the index of an iterator/map state in AWS step function 在执行每个 map 迭代后从 AWS 步骤 function 获得响应 - get Response from AWS step function after execution of each map iteration AWS/Step start_execution() 多次 - AWS/Step start_execution() multiple times
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM