New issue

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

S3 GetBucketLogging xml response #228

Closed
nhibberd opened this Issue Sep 24, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@nhibberd
Contributor

nhibberd commented Sep 24, 2015

getBucketLocation always returns Nothing. Looks like it is expecting a nested xml object but it only exists at the top level?

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>
}

@brendanhay brendanhay self-assigned this Sep 24, 2015

@brendanhay

This comment has been minimized.

Show comment
Hide comment
@brendanhay

brendanhay Sep 24, 2015

Owner

It'll be a few hours before I can look into this, I'll keep you posted.

Owner

brendanhay commented Sep 24, 2015

It'll be a few hours before I can look into this, I'll keep you posted.

@brendanhay

This comment has been minimized.

Show comment
Hide comment
@brendanhay

brendanhay Oct 8, 2015

Owner

By a few hours, I mean 14 days.

Owner

brendanhay commented Oct 8, 2015

By a few hours, I mean 14 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment