terricain / aioboto3

Wrapper to use boto3 resources with the aiobotocore async backend
Apache License 2.0
698 stars 73 forks source link

Support of async stepfunctions #296

Closed Weugene closed 1 year ago

Weugene commented 1 year ago

Description

It would be very nice to have an asynchronous AWS stepfunctions service with the possibility of asynchronously running the step function, getting the state of the step function, canceling the process, getting output, etc.

The question: how to make stepfunction to be asynchronous? Maybe somebody has an experience with it.

What I Did

In the synchronous version, we have:

client = boto3.client('stepfunctions', region_name="us-west-2")
response = client.list_state_machines(
    maxResults=123,
)
print("stepfunctions:", response)

Here the full documentation can be found for the synchronous stepfunction.

However, according to the aioboto3 documentation, it doesn't support asynchronous stepfunctions service:

The only available resources are:

Weugene commented 1 year ago

It was not documented that stepfunctions works well

terricain commented 1 year ago

Pretty much all the AWS api calls work fine. I didn't see the need to go through and document that each of them works.