I know that they were advised that we could totally destroy them, but how much of an effort did we really make? Did Japan have any idea that we had a nuclear program? Did we make it clear and they tried to call our bluff?
There weren't any warnings about the atomic bombings. You may be interested in this older post by our resident bomb historian, u/restricteddata, on the topic.