We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getBucketLocation always returns Nothing. Looks like it is expecting a nested xml object but it only exists at the top level?
Nothing
Example code
getLocation' :: BucketName -> AWS (Maybe Region) getLocation' n = do r <- send $ getBucketLocation n pure $ r ^. grsLocationConstraint
Raw response
[Client Response] { status = 200 OK ... } [Raw Response Body] { <?xml version="1.0" encoding="UTF-8"?> <LocationConstraint xmlns="http://s3.amazonaws.com/doc/2006-03-01/">ap-southeast-2</LocationConstraint> }
The text was updated successfully, but these errors were encountered:
It'll be a few hours before I can look into this, I'll keep you posted.
Sorry, something went wrong.
Overriding BucketLocationConstraint to ensure correct parsing
67c6367
Fixes #228.
By a few hours, I mean 14 days.
f9b82a1
brendanhay
Successfully merging a pull request may close this issue.
getBucketLocation always returns
Nothing
. Looks like it is expecting a nested xml object but it only exists at the top level?Example code
Raw response
The text was updated successfully, but these errors were encountered: