aws-sdk-perl icon indicating copy to clipboard operation
aws-sdk-perl copied to clipboard

S3 Cor fixed

Open byterock opened this issue 6 years ago • 0 comments

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

byterock avatar Nov 03 '19 02:11 byterock