Skip to content

Is it possible to publish a message (to a client subscription) via a socket within/from a Lambda Step Function? #303

Open
@josoroma-zz

Description

@josoroma-zz

Question:

Is it possible to publish a message (to a client subscription) via a socket within/from a Lambda Step Function?

I was wondering... in the last step of a sequential state machine execution, is it possible to notify back to the user client a custom response via sls api gateway websockets?

I am asking this because the only response I am currently getting back is:

Authenticating with User Pool
Getting temporary credentials
Making API request

{ status: 200,
  statusText: 'OK',
  data:
   { executionArn:
      'arn:aws:states:us-east-1:333:execution:generateCourse:generateCourse111-333-999',
     startDate: '2020-01-21T19:26:47.668Z',
     status: 200 } }

Would be great to hear what should I research in order to implement a kind of custom-data wss response to the user?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions