Values_1.GetFederationTokenResponseSourceSupports SAML sign-in for Amazon Connect. Retrieves a token for federation. The token is for the Amazon Connect user which corresponds to the IAM credentials that were used to invoke this action. For more information about how SAML sign-in works in Amazon Connect, see Configure SAML with IAM for Amazon Connect in the Amazon Connect Administrator Guide. This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error message similar to the following one appears: Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect
type nonrec t = {credentials : Credentials.t option;The credentials to use for federation.
*)signInUrl : Url.t option;The URL to sign into the user's instance.
*)userArn : Values_0.ARN.t option;The Amazon Resource Name (ARN) of the user.
*)userId : Values_0.AgentResourceId.t option;The identifier for the user. This can be the ID or the ARN of the user.
*)}type nonrec error = [ | `DuplicateResourceException of Values_0.DuplicateResourceException.t| `InternalServiceException of Values_0.InternalServiceException.t| `InvalidParameterException of Values_0.InvalidParameterException.t| `InvalidRequestException of Values_0.InvalidRequestException.t| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t| `UserNotFoundException of UserNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `DuplicateResourceException of Values_0.DuplicateResourceException.t
| `InternalServiceException of Values_0.InternalServiceException.t
| `InvalidParameterException of Values_0.InvalidParameterException.t
| `InvalidRequestException of Values_0.InvalidRequestException.t
| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
| `Unknown_operation_error of string * string option
| `UserNotFoundException of UserNotFoundException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `DuplicateResourceException of Values_0.DuplicateResourceException.t
| `InternalServiceException of Values_0.InternalServiceException.t
| `InvalidParameterException of Values_0.InvalidParameterException.t
| `InvalidRequestException of Values_0.InvalidRequestException.t
| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
| `Unknown_operation_error of string * string option
| `UserNotFoundException of UserNotFoundException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `String of Url.t
| `Structure of
(string * [> `String of SecurityToken.t | `Timestamp of string ])
list ])
list ]