Same way as any other API really, mocking and/or real dry run calls where supported (which is most of the API in AWS' case).
Then a staging version of the real environment for final testing.
Then a staging version of the real environment for final testing.