pub struct DynamicControllerServicesApi<'a> { /* private fields */ }Expand description
Dynamic dispatch wrapper for the Controller Services API.
Implementations§
Source§impl<'a> DynamicControllerServicesApi<'a>
impl<'a> DynamicControllerServicesApi<'a>
Sourcepub async fn analyze_configuration(
&self,
id: &str,
body: &Value,
) -> Result<ConfigurationAnalysisDto, NifiError>
pub async fn analyze_configuration( &self, id: &str, body: &Value, ) -> Result<ConfigurationAnalysisDto, NifiError>
Performs analysis of the component’s configuration, providing information about which attributes are referenced.
Sourcepub async fn clear_bulletins(
&self,
id: &str,
body: &Value,
) -> Result<ClearBulletinsResultEntity, NifiError>
pub async fn clear_bulletins( &self, id: &str, body: &Value, ) -> Result<ClearBulletinsResultEntity, NifiError>
Clears bulletins for a controller service
Sourcepub async fn clear_state_1(
&self,
id: &str,
body: &Value,
) -> Result<ComponentStateDto, NifiError>
pub async fn clear_state_1( &self, id: &str, body: &Value, ) -> Result<ComponentStateDto, NifiError>
Clears the state for a controller service
Sourcepub async fn delete_verification_request(
&self,
id: &str,
request_id: &str,
) -> Result<VerifyConfigRequestDto, NifiError>
pub async fn delete_verification_request( &self, id: &str, request_id: &str, ) -> Result<VerifyConfigRequestDto, NifiError>
Deletes the Verification Request with the given ID
Sourcepub async fn get_controller_service(
&self,
id: &str,
ui_only: Option<bool>,
) -> Result<ControllerServiceEntity, NifiError>
pub async fn get_controller_service( &self, id: &str, ui_only: Option<bool>, ) -> Result<ControllerServiceEntity, NifiError>
Gets a controller service
Sourcepub async fn get_controller_service_references(
&self,
id: &str,
) -> Result<ControllerServiceReferencingComponentsEntity, NifiError>
pub async fn get_controller_service_references( &self, id: &str, ) -> Result<ControllerServiceReferencingComponentsEntity, NifiError>
Gets a controller service
Sourcepub async fn get_property_descriptor_1(
&self,
id: &str,
property_name: &str,
sensitive: Option<bool>,
) -> Result<PropertyDescriptorDto, NifiError>
pub async fn get_property_descriptor_1( &self, id: &str, property_name: &str, sensitive: Option<bool>, ) -> Result<PropertyDescriptorDto, NifiError>
Gets a controller service property descriptor
Sourcepub async fn get_state(&self, id: &str) -> Result<ComponentStateDto, NifiError>
pub async fn get_state(&self, id: &str) -> Result<ComponentStateDto, NifiError>
Gets the state for a controller service
Sourcepub async fn get_verification_request(
&self,
id: &str,
request_id: &str,
) -> Result<VerifyConfigRequestDto, NifiError>
pub async fn get_verification_request( &self, id: &str, request_id: &str, ) -> Result<VerifyConfigRequestDto, NifiError>
Returns the Verification Request with the given ID
Sourcepub async fn remove_controller_service(
&self,
id: &str,
version: Option<&str>,
client_id: Option<&str>,
disconnected_node_acknowledged: Option<bool>,
) -> Result<ControllerServiceEntity, NifiError>
pub async fn remove_controller_service( &self, id: &str, version: Option<&str>, client_id: Option<&str>, disconnected_node_acknowledged: Option<bool>, ) -> Result<ControllerServiceEntity, NifiError>
Deletes a controller service
Sourcepub async fn submit_config_verification_request(
&self,
id: &str,
body: &Value,
) -> Result<VerifyConfigRequestDto, NifiError>
pub async fn submit_config_verification_request( &self, id: &str, body: &Value, ) -> Result<VerifyConfigRequestDto, NifiError>
Performs verification of the Controller Service’s configuration
Sourcepub async fn update_controller_service(
&self,
id: &str,
body: &Value,
) -> Result<ControllerServiceEntity, NifiError>
pub async fn update_controller_service( &self, id: &str, body: &Value, ) -> Result<ControllerServiceEntity, NifiError>
Updates a controller service
Sourcepub async fn update_controller_service_references(
&self,
id: &str,
body: &Value,
) -> Result<ControllerServiceReferencingComponentsEntity, NifiError>
pub async fn update_controller_service_references( &self, id: &str, body: &Value, ) -> Result<ControllerServiceReferencingComponentsEntity, NifiError>
Updates a controller services references
Sourcepub async fn update_run_status_1(
&self,
id: &str,
body: &Value,
) -> Result<ControllerServiceEntity, NifiError>
pub async fn update_run_status_1( &self, id: &str, body: &Value, ) -> Result<ControllerServiceEntity, NifiError>
Updates run status of a controller service
Auto Trait Implementations§
impl<'a> Freeze for DynamicControllerServicesApi<'a>
impl<'a> !RefUnwindSafe for DynamicControllerServicesApi<'a>
impl<'a> Send for DynamicControllerServicesApi<'a>
impl<'a> Sync for DynamicControllerServicesApi<'a>
impl<'a> Unpin for DynamicControllerServicesApi<'a>
impl<'a> UnsafeUnpin for DynamicControllerServicesApi<'a>
impl<'a> !UnwindSafe for DynamicControllerServicesApi<'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