Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

235
Vistas
Is it possible to call AWS Step Functions from AWS JavaScript v3 SDK?

I posted this question on the forums back in August requesting when the V3 JavaScript API would add support to AWS Step Functions as it is in the V2 SDK. I haven't heard anything on that thread.

Is there an alternate solution that someone has which I can migrate away from the V2 SDK?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Currently there is support for invoking Step Functions from AWS V3 Javascript sdk.

For standard invocation we can use StartExecutionCommand, or we can use StartSyncExecutionCommand for Synchronous Express step functions.

Here is an example for a standard invocation using Node.js:

const { SFNClient, StartExecutionCommand } = require("@aws-sdk/client-sfn");

const client = new SFNClient({ region: 'us-east-1' });

async function invoke(executionName, arn, input) {
    const command = new StartExecutionCommand({
        input: JSON.stringify(input),
        name: executionName,
        stateMachineArn: arn
    });
    return await client.send(command);
}

(async () => {
    console.log(await invoke('execution123', '' +
        'arn:aws:states:us-east-1:XXXXXXXXX:stateMachine:HelloWorld',
        {fistName: 'test'}));
})();
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda