Expose the json serde #1145
Unanswered
NikolayMetchev
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hi @NikolayMetchev, great question! There are no current plans to make the internals of serialization public because we haven't had a clear need to do so up until now. Maybe this discussion will change that. 🙂 Can you tell me a bit more about the request/response you want to send from your front end? Specifically:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using AWS Cognito and wish to expose the InitiateAuth operation.
The Kotlin AWS SDK already has serde for the request and the response but it isn't usable outside the context of the AWS Kotlin SDK internals.
This endpoint is supposed to be called by a backend which can compute a secret hash but the front end would invoke almost identical REST endpoint without the secret hash. Therefore it would be useful in the back end implementation to be able to use the aws.sdk.kotlin.services.cognitoidentityprovider.serde.InitiateAuthOperationSerializer to go to json and aws.sdk.kotlin.services.cognitoidentityprovider.serde.InitiateAuthOperationDeserializer to convert from json. Instead we have to do our own serialization instead. Any plans to make those publicly usable in some way?
Beta Was this translation helpful? Give feedback.
All reactions