pub struct ControllerServicesRunStatusApi<'a> { /* private fields */ }Implementations§
Source§impl<'a> ControllerServicesRunStatusApi<'a>
impl<'a> ControllerServicesRunStatusApi<'a>
Sourcepub async fn update_run_status_1(
&self,
body: &ControllerServiceRunStatusEntity,
) -> Result<ControllerServiceEntity, NifiError>
pub async fn update_run_status_1( &self, body: &ControllerServiceRunStatusEntity, ) -> Result<ControllerServiceEntity, NifiError>
Updates run status of a controller service
Calls PUT /nifi-api/controller-services/{id}/run-status.
§Parameters
body: The controller service 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 - /controller-services/{uuid} or /operation/controller-services/{uuid}.
Trait Implementations§
Source§impl ControllerServicesRunStatusApi for ControllerServicesRunStatusApi<'_>
impl ControllerServicesRunStatusApi for ControllerServicesRunStatusApi<'_>
Source§async fn update_run_status_1(
&self,
body: &ControllerServiceRunStatusEntity,
) -> Result<ControllerServiceEntity, NifiError>
async fn update_run_status_1( &self, body: &ControllerServiceRunStatusEntity, ) -> Result<ControllerServiceEntity, NifiError>
Updates run status of a controller service
Auto Trait Implementations§
impl<'a> Freeze for ControllerServicesRunStatusApi<'a>
impl<'a> !RefUnwindSafe for ControllerServicesRunStatusApi<'a>
impl<'a> Send for ControllerServicesRunStatusApi<'a>
impl<'a> Sync for ControllerServicesRunStatusApi<'a>
impl<'a> Unpin for ControllerServicesRunStatusApi<'a>
impl<'a> UnsafeUnpin for ControllerServicesRunStatusApi<'a>
impl<'a> !UnwindSafe for ControllerServicesRunStatusApi<'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