<p>Boto3 is a client for AWS API, so by definition it doesn't handle the synchronous or asynchronous behavior of the API call, that's the API endpoint which define that.</p>

<p>You can safely assume that any API endpoint marked as asynchronous will be asynchronous in any API client. Some SDK implement methods to wait for those asynchronous calls, some don't and you need to write your own handling (usually polling regularly the state) if you need to wait the end of a task started by an API call (creating a CloudFormation stack for exemple).</p>

CC BY-SA 4.0
2019-02-22T13:37:42.763Z
2019-02-22T13:37:42.763Z
Tensibai
<p>In the API documentation for Apache Cloud Stack for example, they put an (A) to designate asynchronous API calls.</p>

<p>In the Boto3 - Python client API for AWS - documentation as I can't see anything like this - so my question is whether its API is asynchronous or not.</p>

CC BY-SA 4.0
2020-04-24T04:09:47.817Z
Assuming the query is actually about synchronicity of the _SDK itself_: check out the recent [`aioboto3`](https://pypi.org/project/aioboto3/)
Janaka Bandara
<amazon-web-services><python><api>
Are AWS Boto3 calls asynchronous?
Ta Mu
# Are AWS Boto3 calls asynchronous?

(Asked by: username_0 on 2019-02-21)

In the API documentation for Apache Cloud Stack for example, they put an (A) to designate asynchronous API calls.

In the Boto3 - Python client API for AWS - documentation as I can't see anything like this - so my question is whether its API is asynchronous or not.

**Tags:** amazon-web-services, python, api

> **Comments:**
> **username_1**: Assuming the query is actually about synchronicity of the _SDK itself_: check out the recent [`aioboto3`](https://pypi.org/project/aioboto3/)  

---

## 1 answers

### Answer by username_2 on 2019-02-22. Score: 4

Boto3 is a client for AWS API, so by definition it doesn't handle the synchronous or asynchronous behavior of the API call, that's the API endpoint which define that.

You can safely assume that any API endpoint marked as asynchronous will be asynchronous in any API client. Some SDK implement methods to wait for those asynchronous calls, some don't and you need to write your own handling (usually polling regularly the state) if you need to wait the end of a task started by an API call (creating a CloudFormation stack for exemple).


---

