Skip to content

Access the endpoint from http::Request in a custom Connector #679

Answered by gagbo
gagbo asked this question in Q&A
Discussion options

You must be logged in to vote

I rewrote the deserialization/serialization/signature from scratch on every endpoint I wanted to use, see for example https://github.com/fiberplane/providers/blob/main/providers/cloudwatch/src/client/cloudwatch.rs and https://github.com/fiberplane/providers/blob/main/providers/cloudwatch/src/client/canonical_request.rs

Note that since then, I thought the AWS SDK got rid of the version of ring that was triggering the compilation issues for the wasm32-unknown-unknown targets. Maybe just compiling will work

EDIT: Or rather. as mentionned above, that a trait was created (AsyncTimer but it might have changed name) that allows to inject your time function into the SDK

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@gagbo
Comment options

@jdisanti
Comment options

@amitu
Comment options

@gagbo
Comment options

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