MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / executionArnFromName

Function executionArnFromName

packages/cli/src/commands/lambda/progress.ts:67–71  ·  view source on GitHub ↗
(stateMachineArn: string, name: string)

Source from the content-addressed store, hash-verified

65}
66
67function executionArnFromName(stateMachineArn: string, name: string): string {
68 // `arn:aws:states:<region>:<account>:stateMachine:<sm-name>` →
69 // `arn:aws:states:<region>:<account>:execution:<sm-name>:<exec-name>`
70 return stateMachineArn.replace(":stateMachine:", ":execution:") + `:${name}`;
71}
72
73function statusColor(status: string): string {
74 switch (status) {

Callers 1

runProgressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected