Smaws_Client_WAFV2.ListSettlementRecordsRetrieves individual settlement transaction records for monetization. Each record represents a single payment transaction between a client and your protected resource. This operation is only available for CLOUDFRONT scope. The maximum supported time window is 90 days. When no CurrencyMode filter is provided, results default to REAL. To retrieve test data, include a CurrencyMode filter with the value TEST.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `WAFInternalErrorException of Types.waf_internal_error_exception
| `WAFInvalidOperationException of Types.waf_invalid_operation_exception
| `WAFInvalidParameterException of Types.waf_invalid_parameter_exception
| `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_settlement_records_request ->
(Types.list_settlement_records_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `WAFInternalErrorException of Types.waf_internal_error_exception
| `WAFInvalidOperationException of Types.waf_invalid_operation_exception
| `WAFInvalidParameterException of Types.waf_invalid_parameter_exception
| `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_settlement_records_request ->
(Types.list_settlement_records_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `WAFInternalErrorException of Types.waf_internal_error_exception
| `WAFInvalidOperationException of Types.waf_invalid_operation_exception
| `WAFInvalidParameterException of Types.waf_invalid_parameter_exception
| `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result