aws-sdk-perl
aws-sdk-perl copied to clipboard
S3 Cor fixed
PutBucketCors GetBucketCors and DeleteBucketCors
Needed to add in support for flattend params Ie
the API wants
<CORSConfiguration> <CORSRule> <AllowedOrigin>http://www.example.com</AllowedOrigin> ...
Paws was giving
<CORSConfiguration> <CORSRules> <CORSRule> <AllowedOrigins> <AllowedOrigin>http://www.example.com</AllowedOrigin> ...
In boto 'CORSRule' is
"CORSRules":{ "type":"list", "member":{"shape":"CORSRule"}, "flattened":true },
I use that 'flattened' to drop all the plura tags from the request XML
the same branch most of my other S3 changes
as I need some of the fixes that are in that branch
https://github.com/byterock/aws-sdk-perl/tree/s3ObjectTagging
No boto changes