Smaws_Client_CognitoIdentityProvider.SetLogDeliveryConfigurationSets up or modifies the logging configuration of a user pool. User pools can export user notification logs and, when threat protection is active, user-activity logs. For more information, see Exporting user pool logs.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `FeatureUnavailableInTierException of
Types.feature_unavailable_in_tier_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `NotAuthorizedException of Types.not_authorized_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyRequestsException of Types.too_many_requests_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.set_log_delivery_configuration_request ->
(Types.set_log_delivery_configuration_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `FeatureUnavailableInTierException of
Types.feature_unavailable_in_tier_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `NotAuthorizedException of Types.not_authorized_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyRequestsException of Types.too_many_requests_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.set_log_delivery_configuration_request ->
(Types.set_log_delivery_configuration_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `FeatureUnavailableInTierException of
Types.feature_unavailable_in_tier_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `NotAuthorizedException of Types.not_authorized_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyRequestsException of Types.too_many_requests_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result