pub struct DynamicVersionsApi<'a> { /* private fields */ }Expand description
Dynamic dispatch wrapper for the Versions API.
Implementations§
Source§impl<'a> DynamicVersionsApi<'a>
impl<'a> DynamicVersionsApi<'a>
Sourcepub async fn create_version_control_request(
&self,
body: &Value,
) -> Result<(), NifiError>
pub async fn create_version_control_request( &self, body: &Value, ) -> Result<(), NifiError>
Create a version control request
Sourcepub async fn delete_revert_request(
&self,
id: &str,
disconnected_node_acknowledged: Option<bool>,
) -> Result<VersionedFlowUpdateRequestEntity, NifiError>
pub async fn delete_revert_request( &self, id: &str, disconnected_node_acknowledged: Option<bool>, ) -> Result<VersionedFlowUpdateRequestEntity, NifiError>
Deletes the Revert Request with the given ID
Sourcepub async fn delete_update_request_1(
&self,
id: &str,
disconnected_node_acknowledged: Option<bool>,
) -> Result<VersionedFlowUpdateRequestEntity, NifiError>
pub async fn delete_update_request_1( &self, id: &str, disconnected_node_acknowledged: Option<bool>, ) -> Result<VersionedFlowUpdateRequestEntity, NifiError>
Deletes the Update Request with the given ID
Sourcepub async fn delete_version_control_request(
&self,
id: &str,
disconnected_node_acknowledged: Option<bool>,
) -> Result<(), NifiError>
pub async fn delete_version_control_request( &self, id: &str, disconnected_node_acknowledged: Option<bool>, ) -> Result<(), NifiError>
Deletes the version control request with the given ID
Sourcepub async fn export_flow_version(&self, id: &str) -> Result<(), NifiError>
pub async fn export_flow_version(&self, id: &str) -> Result<(), NifiError>
Gets the latest version of a Process Group for download
Sourcepub async fn get_revert_request(
&self,
id: &str,
) -> Result<VersionedFlowUpdateRequestEntity, NifiError>
pub async fn get_revert_request( &self, id: &str, ) -> Result<VersionedFlowUpdateRequestEntity, NifiError>
Returns the Revert Request with the given ID
Sourcepub async fn get_update_request(
&self,
id: &str,
) -> Result<VersionedFlowUpdateRequestEntity, NifiError>
pub async fn get_update_request( &self, id: &str, ) -> Result<VersionedFlowUpdateRequestEntity, NifiError>
Returns the Update Request with the given ID
Sourcepub async fn get_version_information(
&self,
id: &str,
) -> Result<VersionControlInformationEntity, NifiError>
pub async fn get_version_information( &self, id: &str, ) -> Result<VersionControlInformationEntity, NifiError>
Gets the Version Control information for a process group
Sourcepub async fn initiate_revert_flow_version(
&self,
id: &str,
body: &Value,
) -> Result<VersionedFlowUpdateRequestEntity, NifiError>
pub async fn initiate_revert_flow_version( &self, id: &str, body: &Value, ) -> Result<VersionedFlowUpdateRequestEntity, NifiError>
Initiate the Revert Request of a Process Group with the given ID
Sourcepub async fn initiate_version_control_update(
&self,
id: &str,
body: &Value,
) -> Result<VersionedFlowUpdateRequestEntity, NifiError>
pub async fn initiate_version_control_update( &self, id: &str, body: &Value, ) -> Result<VersionedFlowUpdateRequestEntity, NifiError>
Initiate the Update Request of a Process Group with the given ID
Sourcepub async fn save_to_flow_registry(
&self,
id: &str,
body: &Value,
) -> Result<VersionControlInformationEntity, NifiError>
pub async fn save_to_flow_registry( &self, id: &str, body: &Value, ) -> Result<VersionControlInformationEntity, NifiError>
Save the Process Group with the given ID
Sourcepub async fn stop_version_control(
&self,
id: &str,
version: Option<&str>,
client_id: Option<&str>,
disconnected_node_acknowledged: Option<bool>,
) -> Result<VersionControlInformationEntity, NifiError>
pub async fn stop_version_control( &self, id: &str, version: Option<&str>, client_id: Option<&str>, disconnected_node_acknowledged: Option<bool>, ) -> Result<VersionControlInformationEntity, NifiError>
Stops version controlling the Process Group with the given ID
Sourcepub async fn update_flow_version(
&self,
id: &str,
body: &Value,
) -> Result<VersionControlInformationEntity, NifiError>
pub async fn update_flow_version( &self, id: &str, body: &Value, ) -> Result<VersionControlInformationEntity, NifiError>
Update the version of a Process Group with the given ID
Sourcepub async fn update_version_control_request(
&self,
id: &str,
body: &Value,
) -> Result<VersionControlInformationEntity, NifiError>
pub async fn update_version_control_request( &self, id: &str, body: &Value, ) -> Result<VersionControlInformationEntity, NifiError>
Updates the request with the given ID
Auto Trait Implementations§
impl<'a> Freeze for DynamicVersionsApi<'a>
impl<'a> !RefUnwindSafe for DynamicVersionsApi<'a>
impl<'a> Send for DynamicVersionsApi<'a>
impl<'a> Sync for DynamicVersionsApi<'a>
impl<'a> Unpin for DynamicVersionsApi<'a>
impl<'a> UnsafeUnpin for DynamicVersionsApi<'a>
impl<'a> !UnwindSafe for DynamicVersionsApi<'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