Skip to main content

request_approval

Method
This is a method of the ApprovalCallback class in the display_types module.
Request approval for an action

Signature

def request_approval(
        &self,
        function_name: &str,
        arguments: &serde_json::Value,
        risk_level: RiskLevel,
    ) -> ApprovalDecision

Parameters

function_name
&str
required
No description available.
arguments
&serde_json::Value
required
No description available.
risk_level
RiskLevel
required
No description available.

Returns

Returns
ApprovalDecision
The result of the operation.