Skip to content

Commit ef59eee

Browse files
author
Diler Zaza
committed
adding text box input to accept execution ARN
1 parent f8d4757 commit ef59eee

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/core/src/stepFunctions/activation.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,14 @@ async function registerStepFunctionCommands(
100100
await publishStateMachine({ awsContext: awsContext, outputChannel: outputChannel, region: region })
101101
}),
102102
Commands.register('aws.stepfunctions.viewExecutionDetailsByExecutionARN', async () => {
103-
await ExecutionDetailProvider.openExecutionDetails('')
103+
const arn = await vscode.window.showInputBox({
104+
prompt: 'Enter Execution ARN',
105+
placeHolder: 'Execution ARN',
106+
})
107+
108+
if (arn) {
109+
await ExecutionDetailProvider.openExecutionDetails(arn)
110+
}
104111
})
105112
)
106113
}

0 commit comments

Comments
 (0)