Module Smaws_Client_CognitoIdentityProvider.UpdateUserPoolClient

Given a user pool app client ID, updates the configuration. To avoid setting parameters to Amazon Cognito defaults, construct this API request to pass the existing configuration of your app client, modified to include the changes that you want to make.

If you don't provide a value for an attribute, Amazon Cognito sets it to its default value.

Unlike app clients created in the console, Amazon Cognito doesn't automatically assign a branding style to app clients that you configure with this API operation. Managed login and classic hosted UI pages aren't available for your client until after you apply a branding style.

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

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `FeatureUnavailableInTierException of Types.feature_unavailable_in_tier_exception | `InternalErrorException of Types.internal_error_exception | `InvalidOAuthFlowException of Types.invalid_o_auth_flow_exception | `InvalidParameterException of Types.invalid_parameter_exception | `NotAuthorizedException of Types.not_authorized_exception | `OperationNotEnabledException of Types.operation_not_enabled_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ScopeDoesNotExistException of Types.scope_does_not_exist_exception | `TooManyRequestsException of Types.too_many_requests_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.update_user_pool_client_request -> (Types.update_user_pool_client_response, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `FeatureUnavailableInTierException of Types.feature_unavailable_in_tier_exception | `InternalErrorException of Types.internal_error_exception | `InvalidOAuthFlowException of Types.invalid_o_auth_flow_exception | `InvalidParameterException of Types.invalid_parameter_exception | `NotAuthorizedException of Types.not_authorized_exception | `OperationNotEnabledException of Types.operation_not_enabled_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ScopeDoesNotExistException of Types.scope_does_not_exist_exception | `TooManyRequestsException of Types.too_many_requests_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.update_user_pool_client_request -> (Types.update_user_pool_client_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `FeatureUnavailableInTierException of Types.feature_unavailable_in_tier_exception | `InternalErrorException of Types.internal_error_exception | `InvalidOAuthFlowException of Types.invalid_o_auth_flow_exception | `InvalidParameterException of Types.invalid_parameter_exception | `NotAuthorizedException of Types.not_authorized_exception | `OperationNotEnabledException of Types.operation_not_enabled_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ScopeDoesNotExistException of Types.scope_does_not_exist_exception | `TooManyRequestsException of Types.too_many_requests_exception ] * Smaws_Lib.Response.metadata) Stdlib.result