In #1152, fixes were applied for behaviour that is only specific against AWS IoT. Once that PR is merged, we should speak with ASF Infra to setup an AWS IoT account (we already have one for S3) so that we can write specific tests that only run on the test AWS IoT account.
The tests should be split in a similar way that S3 is (see S3IntegrationSpec which implements a base/common set of tests and then we have MinioS3IntegrationSpec/AWSS3IntegrationSpec which specifies against which system the tests is run against and also any additional tests that should only be run on that system and/or specific tests that shouldn't be run on that system).
Might need help from @sbmpost to write the tests specific for AWS