Git Product home page Git Product logo

Comments (10)

AnthonyMDev avatar AnthonyMDev commented on August 27, 2024

@joehelton Thank you!
There is! There is not currently a specific method in the library for this request, but you can use amazonURLRequest(method: Alamofire.Method, path: String, subresource: String? = nil, acl: AmazonS3ACL? = nil) -> NSURLRequest to serialize an NSURLRequest for the Amazon S3 service and then just pass that request through to Alamofire.request(request: NSURLRequest).
Using this method, you can hit any of the REST APIs available through Amazon S3.

The API documents from Amazon are found here:
http://docs.aws.amazon.com/AmazonS3/latest/API/APIRest.html

from amazons3requestmanager.

AnthonyMDev avatar AnthonyMDev commented on August 27, 2024

I'll also be looking into implementing a designated method to do this once #5 is completed.

from amazons3requestmanager.

joehelton avatar joehelton commented on August 27, 2024

Great! Thanks so much for the help man.

from amazons3requestmanager.

AnthonyMDev avatar AnthonyMDev commented on August 27, 2024

No problem! If you have any other questions or suggestions, please let me know!

Sent from my iPhone

On Jun 29, 2015, at 10:05 AM, joehelton [email protected] wrote:

Great! Thanks so much for the help man.


Reply to this email directly or view it on GitHub.

from amazons3requestmanager.

joehelton avatar joehelton commented on August 27, 2024

Hey Anthony. Thanks again for the help.
I am getting a "SignatureDoesNotMatch" error when I try to do this. Would you mind posting a code sample I could use for comparison? Thanks.

from amazons3requestmanager.

AnthonyMDev avatar AnthonyMDev commented on August 27, 2024

@joehelton Make sure that you have set the bucket, region, access key, and secret correctly on your AmazonS3RequestManager instance before calling this method. If you continue to have issues, please open another issue for this problem with more details of your implementation and I'll take a look.

Thanks!

from amazons3requestmanager.

sebromero avatar sebromero commented on August 27, 2024

@joehelton I think it's a problem with the HTTP headers. I'm currently looking into this.

from amazons3requestmanager.

AnthonyMDev avatar AnthonyMDev commented on August 27, 2024

@sbhklr I wasn't aware that this was an actual bug in the library, rather than a configuration issue. If you are experiencing an actual bug, would you please open a new issue for it? This issue is for an unrelated upcoming feature. Thanks for looking into this!

from amazons3requestmanager.

ljesus avatar ljesus commented on August 27, 2024

I've implemented this feature in my branch https://github.com/ljesus/AmazonS3RequestManager using the "prefix" parameter as stated in AWS' documentation (http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGET.html)

from amazons3requestmanager.

sebromero avatar sebromero commented on August 27, 2024

Thx @ljesus , there is already a PR for this. See #38

from amazons3requestmanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.