pub struct ControllerRunStatusApi<'a> { /* private fields */ }Implementations§
Source§impl<'a> ControllerRunStatusApi<'a>
impl<'a> ControllerRunStatusApi<'a>
Sourcepub async fn update_run_status(
&self,
body: &FlowAnalysisRuleRunStatusEntity,
) -> Result<FlowAnalysisRuleEntity, NifiError>
pub async fn update_run_status( &self, body: &FlowAnalysisRuleRunStatusEntity, ) -> Result<FlowAnalysisRuleEntity, NifiError>
Updates run status of a flow analysis rule
Calls PUT /nifi-api/controller/flow-analysis-rules/{id}/run-status.
§Parameters
body: The flow analysis rule run status.
§Errors
400: NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.401: Client could not be authenticated.403: Client is not authorized to make this request.404: The specified resource could not be found.409: The request was valid but NiFi was not in the appropriate state to process it.
§Permissions
Requires Write - /flow-analysis-rules/{uuid} or or /operation/flow-analysis-rules/{uuid}.
Trait Implementations§
Source§impl ControllerRunStatusApi for ControllerRunStatusApi<'_>
impl ControllerRunStatusApi for ControllerRunStatusApi<'_>
Source§async fn update_run_status(
&self,
body: &FlowAnalysisRuleRunStatusEntity,
) -> Result<FlowAnalysisRuleEntity, NifiError>
async fn update_run_status( &self, body: &FlowAnalysisRuleRunStatusEntity, ) -> Result<FlowAnalysisRuleEntity, NifiError>
Updates run status of a flow analysis rule
Auto Trait Implementations§
impl<'a> Freeze for ControllerRunStatusApi<'a>
impl<'a> !RefUnwindSafe for ControllerRunStatusApi<'a>
impl<'a> Send for ControllerRunStatusApi<'a>
impl<'a> Sync for ControllerRunStatusApi<'a>
impl<'a> Unpin for ControllerRunStatusApi<'a>
impl<'a> UnsafeUnpin for ControllerRunStatusApi<'a>
impl<'a> !UnwindSafe for ControllerRunStatusApi<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more