Values.ExchangeCodeForTokenResponseSourceThis is for internal use. Amplify uses this action to exchange an access code for a token.
type nonrec t = {accessToken : SensitiveString.t option;The access token.
*)expiresIn : Integer.t option;The date and time when the new access token expires.
*)refreshToken : SensitiveString.t option;The token to use to refresh a previously issued access token that might have expired.
*)}type nonrec error = [ | `InvalidParameterException of InvalidParameterException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InvalidParameterException of InvalidParameterException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InvalidParameterException of InvalidParameterException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string * [> `Integer of Integer.t | `String of SensitiveString.t ])
list ]