AWS CLI や SDK を使用する場合も、最終的には API を使っている。

Ref.

例) Amazon Elastic Compute Cloud API リファレンス

https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/APIReference/Welcome.html

Ref 2.