Awso_cognito_idp.SetUICustomizationRequestSourceConfigures UI branding settings for domains with the hosted UI (classic) branding version. Your user pool must have a domain. Configure a domain with . Set the default configuration for all clients with a ClientId of ALL. When the ClientId value is an app client ID, the settings you pass in this request apply to that app client and override the default ALL configuration. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
type nonrec t = {userPoolId : UserPoolIdType.t;The ID of the user pool where you want to apply branding to the classic hosted UI.
*)clientId : ClientIdType.t option;The ID of the app client that you want to customize. To apply a default style to all app clients not configured with client-level branding, set this parameter value to ALL.
*)cSS : CSSType.t option;A plaintext CSS file that contains the custom fields that you want to apply to your user pool or app client. To download a template, go to the Amazon Cognito console. Navigate to your user pool App clients tab, select Login pages, edit Hosted UI (classic) style, and select the link to CSS template.css.
*)imageFile : ImageFileType.t option;The image that you want to set as your login in the classic hosted UI, as a Base64-formatted binary object.
*)}val make :
?clientId:??? ->
?cSS:??? ->
?imageFile:??? ->
userPoolId:UserPoolIdType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string * [> `Blob of ImageFileType.t | `String of UserPoolIdType.t ])
list ]