Skip to content
Discussion options

You must be logged in to vote

Which part of the presigned request do you want to mock, the creation of the request or sending the request/receiving a response? Normally for the SDK mocking is done so you can get back some data without making a network call.

For creating a PresignedRequest we just return the request object without making any network calls and you can make any assertions against it that you wish.

If you mean mocking the sending of a presigned request, no we don't offer a way to do that today. You would be best served by using whatever testing/mocking options are available in the http library you will be using to send the request.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@segui-mdb
Comment options

@landonxjames
Comment options

Answer selected by segui-mdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants