Apache NiFi REST API
REST API definition for Apache NiFi web services
OpenAPI spec version: 2.6.0 Contact: dev@nifi.apache.org Generated by: https://github.com/swagger-api/swagger-codegen.git
- class nipyapi.nifi.apis.controller_api.ControllerApi(api_client=None)[source]
Bases:
objectNOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen
- analyze_flow_analysis_rule_configuration(body, id, **kwargs)[source]
Performs analysis of the component’s configuration, providing information about which attributes are referenced.. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
analyze_flow_analysis_rule_configuration_with_http_info()method instead.- Parameters:
body (
ConfigurationAnalysisEntity) – The configuration analysis request. (required)id (str) – The flow analysis rules id. (required)
- Returns:
The response data.
- Return type:
- analyze_flow_analysis_rule_configuration_with_http_info(body, id, **kwargs)[source]
Performs analysis of the component’s configuration, providing information about which attributes are referenced.. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
analyze_flow_analysis_rule_configuration()method instead.- Parameters:
body (
ConfigurationAnalysisEntity) – The configuration analysis request. (required)id (str) – The flow analysis rules id. (required)
- Returns:
(
ConfigurationAnalysisEntity, status_code, headers) - Response data with HTTP details.- Return type:
- clear_state(id, **kwargs)[source]
Clears the state for a flow analysis rule. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
clear_state_with_http_info()method instead.- Parameters:
id (str) – The flow analysis rule id. (required)
body (
ComponentStateEntity) – Optional component state to perform a selective key removal. If omitted, clears all state.
- Returns:
The response data.
- Return type:
- clear_state_with_http_info(id, **kwargs)[source]
Clears the state for a flow analysis rule. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
clear_state()method instead.- Parameters:
id (str) – The flow analysis rule id. (required)
body (
ComponentStateEntity) – Optional component state to perform a selective key removal. If omitted, clears all state.
- Returns:
(
ComponentStateEntity, status_code, headers) - Response data with HTTP details.- Return type:
- create_bulletin(body, **kwargs)[source]
Creates a new bulletin. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
create_bulletin_with_http_info()method instead.- Parameters:
body (
BulletinEntity) – The reporting task configuration details. (required)- Returns:
The response data.
- Return type:
- create_bulletin_with_http_info(body, **kwargs)[source]
Creates a new bulletin. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
create_bulletin()method instead.- Parameters:
body (
BulletinEntity) – The reporting task configuration details. (required)- Returns:
(
BulletinEntity, status_code, headers) - Response data with HTTP details.- Return type:
- create_controller_service(body, **kwargs)[source]
Creates a new controller service. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
create_controller_service_with_http_info()method instead.- Parameters:
body (
ControllerServiceEntity) – The controller service configuration details. (required)- Returns:
The response data.
- Return type:
- create_controller_service_with_http_info(body, **kwargs)[source]
Creates a new controller service. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
create_controller_service()method instead.- Parameters:
body (
ControllerServiceEntity) – The controller service configuration details. (required)- Returns:
(
ControllerServiceEntity, status_code, headers) - Response data with HTTP details.- Return type:
- create_flow_analysis_rule(body, **kwargs)[source]
Creates a new flow analysis rule. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
create_flow_analysis_rule_with_http_info()method instead.- Parameters:
body (
FlowAnalysisRuleEntity) – The flow analysis rule configuration details. (required)- Returns:
The response data.
- Return type:
- create_flow_analysis_rule_with_http_info(body, **kwargs)[source]
Creates a new flow analysis rule. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
create_flow_analysis_rule()method instead.- Parameters:
body (
FlowAnalysisRuleEntity) – The flow analysis rule configuration details. (required)- Returns:
(
FlowAnalysisRuleEntity, status_code, headers) - Response data with HTTP details.- Return type:
- create_flow_registry_client(body, **kwargs)[source]
Creates a new flow registry client. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
create_flow_registry_client_with_http_info()method instead.- Parameters:
body (
FlowRegistryClientEntity) – The flow registry client configuration details. (required)- Returns:
The response data.
- Return type:
- create_flow_registry_client_with_http_info(body, **kwargs)[source]
Creates a new flow registry client. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
create_flow_registry_client()method instead.- Parameters:
body (
FlowRegistryClientEntity) – The flow registry client configuration details. (required)- Returns:
(
FlowRegistryClientEntity, status_code, headers) - Response data with HTTP details.- Return type:
- create_parameter_provider(body, **kwargs)[source]
Creates a new parameter provider. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
create_parameter_provider_with_http_info()method instead.- Parameters:
body (
ParameterProviderEntity) – The parameter provider configuration details. (required)- Returns:
The response data.
- Return type:
- create_parameter_provider_with_http_info(body, **kwargs)[source]
Creates a new parameter provider. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
create_parameter_provider()method instead.- Parameters:
body (
ParameterProviderEntity) – The parameter provider configuration details. (required)- Returns:
(
ParameterProviderEntity, status_code, headers) - Response data with HTTP details.- Return type:
- create_reporting_task(body, **kwargs)[source]
Creates a new reporting task. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
create_reporting_task_with_http_info()method instead.- Parameters:
body (
ReportingTaskEntity) – The reporting task configuration details. (required)- Returns:
The response data.
- Return type:
- create_reporting_task_with_http_info(body, **kwargs)[source]
Creates a new reporting task. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
create_reporting_task()method instead.- Parameters:
body (
ReportingTaskEntity) – The reporting task configuration details. (required)- Returns:
(
ReportingTaskEntity, status_code, headers) - Response data with HTTP details.- Return type:
- delete_flow_analysis_rule_verification_request(id, request_id, **kwargs)[source]
Deletes the Verification Request with the given ID.
Deletes the Verification Request with the given ID. After a request is created, it is expected that the client will properly clean up the request by DELETE’ing it, once the Verification process has completed. If the request is deleted before the request completes, then the Verification request will finish the step that it is currently performing and then will cancel any subsequent steps.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
delete_flow_analysis_rule_verification_request_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- delete_flow_analysis_rule_verification_request_with_http_info(id, request_id, **kwargs)[source]
Deletes the Verification Request with the given ID.
Deletes the Verification Request with the given ID. After a request is created, it is expected that the client will properly clean up the request by DELETE’ing it, once the Verification process has completed. If the request is deleted before the request completes, then the Verification request will finish the step that it is currently performing and then will cancel any subsequent steps.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
delete_flow_analysis_rule_verification_request()method instead.- Parameters:
- Returns:
(
VerifyConfigRequestEntity, status_code, headers) - Response data with HTTP details.- Return type:
- delete_flow_registry_client(id, **kwargs)[source]
Deletes a flow registry client. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
delete_flow_registry_client_with_http_info()method instead.- Parameters:
id (str) – The flow registry client id. (required)
version (
LongParameter) – The revision is used to verify the client is working with the latest version of the flow.client_id (
ClientIdParameter) – If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.disconnected_node_acknowledged (bool) – Acknowledges that this node is disconnected to allow for mutable requests to proceed.
- Returns:
The response data.
- Return type:
- delete_flow_registry_client_with_http_info(id, **kwargs)[source]
Deletes a flow registry client. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
delete_flow_registry_client()method instead.- Parameters:
id (str) – The flow registry client id. (required)
version (
LongParameter) – The revision is used to verify the client is working with the latest version of the flow.client_id (
ClientIdParameter) – If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.disconnected_node_acknowledged (bool) – Acknowledges that this node is disconnected to allow for mutable requests to proceed.
- Returns:
(
FlowRegistryClientEntity, status_code, headers) - Response data with HTTP details.- Return type:
- delete_history(end_date, **kwargs)[source]
Purges history. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
delete_history_with_http_info()method instead.- Parameters:
end_date (
DateTimeParameter) – Purge actions before this date/time. (required)- Returns:
The response data.
- Return type:
- delete_history_with_http_info(end_date, **kwargs)[source]
Purges history. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
delete_history()method instead.- Parameters:
end_date (
DateTimeParameter) – Purge actions before this date/time. (required)- Returns:
(
HistoryEntity, status_code, headers) - Response data with HTTP details.- Return type:
- delete_nar(id, **kwargs)[source]
Deletes an installed NAR. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
delete_nar_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- delete_nar_with_http_info(id, **kwargs)[source]
Deletes an installed NAR. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
delete_nar()method instead.- Parameters:
- Returns:
(
NarSummaryEntity, status_code, headers) - Response data with HTTP details.- Return type:
- delete_node(id, **kwargs)[source]
Removes a node from the cluster. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
delete_node_with_http_info()method instead.- Parameters:
id (str) – The node id. (required)
- Returns:
The response data.
- Return type:
- delete_node_with_http_info(id, **kwargs)[source]
Removes a node from the cluster. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
delete_node()method instead.- Parameters:
id (str) – The node id. (required)
- Returns:
(
NodeEntity, status_code, headers) - Response data with HTTP details.- Return type:
- download_nar(id, **kwargs)[source]
Retrieves the content of the NAR with the given id. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
download_nar_with_http_info()method instead.
- download_nar_with_http_info(id, **kwargs)[source]
Retrieves the content of the NAR with the given id. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
download_nar()method instead.
- get_cluster(**kwargs)[source]
Gets the contents of the cluster.
Returns the contents of the cluster including all nodes and their status.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_cluster_with_http_info()method instead.Args:
- Returns:
The response data.
- Return type:
- get_cluster_with_http_info(**kwargs)[source]
Gets the contents of the cluster.
Returns the contents of the cluster including all nodes and their status.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_cluster()method instead.Args:
- Returns:
(
ClusterEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_controller_config(**kwargs)[source]
Retrieves the configuration for this NiFi Controller. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_controller_config_with_http_info()method instead.Args:
- Returns:
The response data.
- Return type:
- get_controller_config_with_http_info(**kwargs)[source]
Retrieves the configuration for this NiFi Controller. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_controller_config()method instead.Args:
- Returns:
(
ControllerConfigurationEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_flow_analysis_rule(id, **kwargs)[source]
Gets a flow analysis rule. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_flow_analysis_rule_with_http_info()method instead.- Parameters:
id (str) – The flow analysis rule id. (required)
- Returns:
The response data.
- Return type:
- get_flow_analysis_rule_property_descriptor(id, property_name, **kwargs)[source]
Gets a flow analysis rule property descriptor. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_flow_analysis_rule_property_descriptor_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- get_flow_analysis_rule_property_descriptor_with_http_info(id, property_name, **kwargs)[source]
Gets a flow analysis rule property descriptor. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_flow_analysis_rule_property_descriptor()method instead.- Parameters:
- Returns:
(
PropertyDescriptorEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_flow_analysis_rule_state(id, **kwargs)[source]
Gets the state for a flow analysis rule. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_flow_analysis_rule_state_with_http_info()method instead.- Parameters:
id (str) – The flow analysis rule id. (required)
- Returns:
The response data.
- Return type:
- get_flow_analysis_rule_state_with_http_info(id, **kwargs)[source]
Gets the state for a flow analysis rule. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_flow_analysis_rule_state()method instead.- Parameters:
id (str) – The flow analysis rule id. (required)
- Returns:
(
ComponentStateEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_flow_analysis_rule_verification_request(id, request_id, **kwargs)[source]
Returns the Verification Request with the given ID.
Returns the Verification Request with the given ID. Once an Verification Request has been created, that request can subsequently be retrieved via this endpoint, and the request that is fetched will contain the updated state, such as percent complete, the current state of the request, and any failures.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_flow_analysis_rule_verification_request_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- get_flow_analysis_rule_verification_request_with_http_info(id, request_id, **kwargs)[source]
Returns the Verification Request with the given ID.
Returns the Verification Request with the given ID. Once an Verification Request has been created, that request can subsequently be retrieved via this endpoint, and the request that is fetched will contain the updated state, such as percent complete, the current state of the request, and any failures.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_flow_analysis_rule_verification_request()method instead.- Parameters:
- Returns:
(
VerifyConfigRequestEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_flow_analysis_rule_with_http_info(id, **kwargs)[source]
Gets a flow analysis rule. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_flow_analysis_rule()method instead.- Parameters:
id (str) – The flow analysis rule id. (required)
- Returns:
(
FlowAnalysisRuleEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_flow_analysis_rules(**kwargs)[source]
Gets all flow analysis rules. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_flow_analysis_rules_with_http_info()method instead.Args:
- Returns:
The response data.
- Return type:
- get_flow_analysis_rules_with_http_info(**kwargs)[source]
Gets all flow analysis rules. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_flow_analysis_rules()method instead.Args:
- Returns:
(
FlowAnalysisRulesEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_flow_registry_client(id, **kwargs)[source]
Gets a flow registry client. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_flow_registry_client_with_http_info()method instead.- Parameters:
id (str) – The flow registry client id. (required)
- Returns:
The response data.
- Return type:
- get_flow_registry_client_with_http_info(id, **kwargs)[source]
Gets a flow registry client. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_flow_registry_client()method instead.- Parameters:
id (str) – The flow registry client id. (required)
- Returns:
(
FlowRegistryClientEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_flow_registry_clients(**kwargs)[source]
Gets the listing of available flow registry clients. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_flow_registry_clients_with_http_info()method instead.Args:
- Returns:
The response data.
- Return type:
- get_flow_registry_clients_with_http_info(**kwargs)[source]
Gets the listing of available flow registry clients. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_flow_registry_clients()method instead.Args:
- Returns:
(
FlowRegistryClientsEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_nar_details(id, **kwargs)[source]
Retrieves the component types available from the installed NARs. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_nar_details_with_http_info()method instead.- Parameters:
id (str) – The id of the NAR. (required)
- Returns:
The response data.
- Return type:
- get_nar_details_with_http_info(id, **kwargs)[source]
Retrieves the component types available from the installed NARs. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_nar_details()method instead.- Parameters:
id (str) – The id of the NAR. (required)
- Returns:
(
NarDetailsEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_nar_summaries(**kwargs)[source]
Retrieves summary information for installed NARs. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_nar_summaries_with_http_info()method instead.Args:
- Returns:
The response data.
- Return type:
- get_nar_summaries_with_http_info(**kwargs)[source]
Retrieves summary information for installed NARs. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_nar_summaries()method instead.Args:
- Returns:
(
NarSummariesEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_nar_summary(id, **kwargs)[source]
Retrieves the summary information for the NAR with the given identifier. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_nar_summary_with_http_info()method instead.- Parameters:
id (str) – The id of the NAR. (required)
- Returns:
The response data.
- Return type:
- get_nar_summary_with_http_info(id, **kwargs)[source]
Retrieves the summary information for the NAR with the given identifier. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_nar_summary()method instead.- Parameters:
id (str) – The id of the NAR. (required)
- Returns:
(
NarDetailsEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_node(id, **kwargs)[source]
Gets a node in the cluster. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_node_with_http_info()method instead.- Parameters:
id (str) – The node id. (required)
- Returns:
The response data.
- Return type:
- get_node_status_history(**kwargs)[source]
Gets status history for the node.
Note: This endpoint is subject to change as NiFi and it’s REST API evolve.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_node_status_history_with_http_info()method instead.Args:
- Returns:
The response data.
- Return type:
- get_node_status_history_with_http_info(**kwargs)[source]
Gets status history for the node.
Note: This endpoint is subject to change as NiFi and it’s REST API evolve.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_node_status_history()method instead.Args:
- Returns:
(
ComponentHistoryEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_node_with_http_info(id, **kwargs)[source]
Gets a node in the cluster. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_node()method instead.- Parameters:
id (str) – The node id. (required)
- Returns:
(
NodeEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_property_descriptor(id, property_name, **kwargs)[source]
Gets a flow registry client property descriptor. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_property_descriptor_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- get_property_descriptor_with_http_info(id, property_name, **kwargs)[source]
Gets a flow registry client property descriptor. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_property_descriptor()method instead.- Parameters:
- Returns:
(
PropertyDescriptorEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_registry_client_types(**kwargs)[source]
Retrieves the types of flow that this NiFi supports.
Note: This endpoint is subject to change as NiFi and it’s REST API evolve.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_registry_client_types_with_http_info()method instead.Args:
- Returns:
The response data.
- Return type:
- get_registry_client_types_with_http_info(**kwargs)[source]
Retrieves the types of flow that this NiFi supports.
Note: This endpoint is subject to change as NiFi and it’s REST API evolve.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_registry_client_types()method instead.Args:
- Returns:
(
FlowRegistryClientTypesEntity, status_code, headers) - Response data with HTTP details.- Return type:
- import_reporting_task_snapshot(body, **kwargs)[source]
Imports a reporting task snapshot. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
import_reporting_task_snapshot_with_http_info()method instead.- Parameters:
body (
VersionedReportingTaskImportRequestEntity) – The import request containing the reporting task snapshot to import. (required)- Returns:
The response data.
- Return type:
- import_reporting_task_snapshot_with_http_info(body, **kwargs)[source]
Imports a reporting task snapshot. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
import_reporting_task_snapshot()method instead.- Parameters:
body (
VersionedReportingTaskImportRequestEntity) – The import request containing the reporting task snapshot to import. (required)- Returns:
(
VersionedReportingTaskImportResponseEntity, status_code, headers) - Response data with HTTP details.- Return type:
- remove_flow_analysis_rule(id, **kwargs)[source]
Deletes a flow analysis rule. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
remove_flow_analysis_rule_with_http_info()method instead.- Parameters:
id (str) – The flow analysis rule id. (required)
version (
LongParameter) – The revision is used to verify the client is working with the latest version of the flow.client_id (
ClientIdParameter) – If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.disconnected_node_acknowledged (bool) – Acknowledges that this node is disconnected to allow for mutable requests to proceed.
- Returns:
The response data.
- Return type:
- remove_flow_analysis_rule_with_http_info(id, **kwargs)[source]
Deletes a flow analysis rule. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
remove_flow_analysis_rule()method instead.- Parameters:
id (str) – The flow analysis rule id. (required)
version (
LongParameter) – The revision is used to verify the client is working with the latest version of the flow.client_id (
ClientIdParameter) – If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.disconnected_node_acknowledged (bool) – Acknowledges that this node is disconnected to allow for mutable requests to proceed.
- Returns:
(
FlowAnalysisRuleEntity, status_code, headers) - Response data with HTTP details.- Return type:
- submit_flow_analysis_rule_config_verification_request(body, id, **kwargs)[source]
Performs verification of the Flow Analysis Rule’s configuration.
This will initiate the process of verifying a given Flow Analysis Rule configuration. This may be a long-running task. As a result, this endpoint will immediately return a FlowAnalysisRuleConfigVerificationRequestEntity, and the process of performing the verification will occur asynchronously in the background. The client may then periodically poll the status of the request by issuing a GET request to /flow-analysis-rules/{taskId}/verification-requests/{requestId}. Once the request is completed, the client is expected to issue a DELETE request to /flow-analysis-rules/{serviceId}/verification-requests/{requestId}.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
submit_flow_analysis_rule_config_verification_request_with_http_info()method instead.- Parameters:
body (
VerifyConfigRequestEntity) – The flow analysis rules configuration verification request. (required)id (str) – The flow analysis rules id. (required)
- Returns:
The response data.
- Return type:
- submit_flow_analysis_rule_config_verification_request_with_http_info(body, id, **kwargs)[source]
Performs verification of the Flow Analysis Rule’s configuration.
This will initiate the process of verifying a given Flow Analysis Rule configuration. This may be a long-running task. As a result, this endpoint will immediately return a FlowAnalysisRuleConfigVerificationRequestEntity, and the process of performing the verification will occur asynchronously in the background. The client may then periodically poll the status of the request by issuing a GET request to /flow-analysis-rules/{taskId}/verification-requests/{requestId}. Once the request is completed, the client is expected to issue a DELETE request to /flow-analysis-rules/{serviceId}/verification-requests/{requestId}.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
submit_flow_analysis_rule_config_verification_request()method instead.- Parameters:
body (
VerifyConfigRequestEntity) – The flow analysis rules configuration verification request. (required)id (str) – The flow analysis rules id. (required)
- Returns:
(
VerifyConfigRequestEntity, status_code, headers) - Response data with HTTP details.- Return type:
- update_controller_config(body, **kwargs)[source]
Retrieves the configuration for this NiFi. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
update_controller_config_with_http_info()method instead.- Parameters:
body (
ControllerConfigurationEntity) – The controller configuration. (required)- Returns:
The response data.
- Return type:
- update_controller_config_with_http_info(body, **kwargs)[source]
Retrieves the configuration for this NiFi. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
update_controller_config()method instead.- Parameters:
body (
ControllerConfigurationEntity) – The controller configuration. (required)- Returns:
(
ControllerConfigurationEntity, status_code, headers) - Response data with HTTP details.- Return type:
- update_flow_analysis_rule(body, id, **kwargs)[source]
Updates a flow analysis rule. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
update_flow_analysis_rule_with_http_info()method instead.- Parameters:
body (
FlowAnalysisRuleEntity) – The flow analysis rule configuration details. (required)id (str) – The flow analysis rule id. (required)
- Returns:
The response data.
- Return type:
- update_flow_analysis_rule_with_http_info(body, id, **kwargs)[source]
Updates a flow analysis rule. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
update_flow_analysis_rule()method instead.- Parameters:
body (
FlowAnalysisRuleEntity) – The flow analysis rule configuration details. (required)id (str) – The flow analysis rule id. (required)
- Returns:
(
FlowAnalysisRuleEntity, status_code, headers) - Response data with HTTP details.- Return type:
- update_flow_registry_client(body, id, **kwargs)[source]
Updates a flow registry client. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
update_flow_registry_client_with_http_info()method instead.- Parameters:
body (
FlowRegistryClientEntity) – The flow registry client configuration details. (required)id (str) – The flow registry client id. (required)
- Returns:
The response data.
- Return type:
- update_flow_registry_client_with_http_info(body, id, **kwargs)[source]
Updates a flow registry client. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
update_flow_registry_client()method instead.- Parameters:
body (
FlowRegistryClientEntity) – The flow registry client configuration details. (required)id (str) – The flow registry client id. (required)
- Returns:
(
FlowRegistryClientEntity, status_code, headers) - Response data with HTTP details.- Return type:
- update_node(body, id, **kwargs)[source]
Updates a node in the cluster. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
update_node_with_http_info()method instead.- Parameters:
body (
NodeEntity) – The node configuration. The only configuration that will be honored at this endpoint is the status. (required)id (str) – The node id. (required)
- Returns:
The response data.
- Return type:
- update_node_with_http_info(body, id, **kwargs)[source]
Updates a node in the cluster. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
update_node()method instead.- Parameters:
body (
NodeEntity) – The node configuration. The only configuration that will be honored at this endpoint is the status. (required)id (str) – The node id. (required)
- Returns:
(
NodeEntity, status_code, headers) - Response data with HTTP details.- Return type:
- update_run_status(body, id, **kwargs)[source]
Updates run status of a flow analysis rule. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
update_run_status_with_http_info()method instead.- Parameters:
body (
FlowAnalysisRuleRunStatusEntity) – The flow analysis rule run status. (required)id (str) – The flow analysis rule id. (required)
- Returns:
The response data.
- Return type:
- update_run_status_with_http_info(body, id, **kwargs)[source]
Updates run status of a flow analysis rule. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
update_run_status()method instead.- Parameters:
body (
FlowAnalysisRuleRunStatusEntity) – The flow analysis rule run status. (required)id (str) – The flow analysis rule id. (required)
- Returns:
(
FlowAnalysisRuleEntity, status_code, headers) - Response data with HTTP details.- Return type:
- upload_nar(body, **kwargs)[source]
Uploads a NAR and requests for it to be installed. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
upload_nar_with_http_info()method instead.- Parameters:
body (
object) – The contents of the NAR file. (required)filename (str)
- Returns:
The response data.
- Return type:
- upload_nar_with_http_info(body, **kwargs)[source]
Uploads a NAR and requests for it to be installed. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
upload_nar()method instead.- Parameters:
body (
object) – The contents of the NAR file. (required)filename (str)
- Returns:
(
NarSummaryEntity, status_code, headers) - Response data with HTTP details.- Return type: