use crate::NifiError;
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait PoliciesApi {
async fn create_access_policy(
&self,
body: &crate::v2_6_0::types::AccessPolicyEntity,
) -> Result<crate::v2_6_0::types::AccessPolicyEntity, NifiError>;
async fn get_access_policy_for_resource(
&self,
action: &str,
resource: &str,
) -> Result<crate::v2_6_0::types::AccessPolicyEntity, NifiError>;
async fn remove_access_policy(
&self,
id: &str,
version: Option<&str>,
client_id: Option<&str>,
disconnected_node_acknowledged: Option<bool>,
) -> Result<crate::v2_6_0::types::AccessPolicyEntity, NifiError>;
async fn get_access_policy(
&self,
id: &str,
) -> Result<crate::v2_6_0::types::AccessPolicyEntity, NifiError>;
async fn update_access_policy(
&self,
id: &str,
body: &crate::v2_6_0::types::AccessPolicyEntity,
) -> Result<crate::v2_6_0::types::AccessPolicyEntity, NifiError>;
}