Apache NiFi REST API
REST API definition for Apache NiFi web services
OpenAPI spec version: 2.7.2 Contact: dev@nifi.apache.org Generated by: https://github.com/swagger-api/swagger-codegen.git
- class nipyapi.nifi.apis.controller_services_api.ControllerServicesApi(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_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_configuration_with_http_info()method instead.- Parameters:
body (
ConfigurationAnalysisEntity) – The configuration analysis request. (required)id (str) – The controller service id. (required)
- Returns:
The response data.
- Return type:
- analyze_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_configuration()method instead.- Parameters:
body (
ConfigurationAnalysisEntity) – The configuration analysis request. (required)id (str) – The controller service id. (required)
- Returns:
(
ConfigurationAnalysisEntity, status_code, headers) - Response data with HTTP details.- Return type:
- clear_bulletins(body, id, **kwargs)[source]
Clears bulletins for a 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
clear_bulletins_with_http_info()method instead.- Parameters:
body (
ClearBulletinsRequestEntity) – The clear bulletin request specifying the timestamp from which to clear bulletins. (required)id (str) – The controller service id. (required)
- Returns:
The response data.
- Return type:
- clear_bulletins_with_http_info(body, id, **kwargs)[source]
Clears bulletins for a 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
clear_bulletins()method instead.- Parameters:
body (
ClearBulletinsRequestEntity) – The clear bulletin request specifying the timestamp from which to clear bulletins. (required)id (str) – The controller service id. (required)
- Returns:
(
ClearBulletinsResultEntity, status_code, headers) - Response data with HTTP details.- Return type:
- clear_state1(id, **kwargs)[source]
Clears the state for a 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
clear_state1_with_http_info()method instead.- Parameters:
id (str) – The controller service 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_state1_with_http_info(id, **kwargs)[source]
Clears the state for a 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
clear_state1()method instead.- Parameters:
id (str) – The controller service 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:
- delete_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_verification_request_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- delete_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_verification_request()method instead.- Parameters:
- Returns:
(
VerifyConfigRequestEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_controller_service(id, **kwargs)[source]
Gets a controller service.
If the uiOnly query parameter is provided with a value of true, the returned entity may only contain fields that are necessary for rendering the NiFi User Interface. As such, the selected fields may change at any time, even during incremental releases, without warning. As a result, this parameter should not be provided by any client other than the UI.
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_service_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- get_controller_service_references(id, **kwargs)[source]
Gets a 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
get_controller_service_references_with_http_info()method instead.- Parameters:
id (str) – The controller service id. (required)
- Returns:
The response data.
- Return type:
- get_controller_service_references_with_http_info(id, **kwargs)[source]
Gets a 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
get_controller_service_references()method instead.- Parameters:
id (str) – The controller service id. (required)
- Returns:
(
ControllerServiceReferencingComponentsEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_controller_service_with_http_info(id, **kwargs)[source]
Gets a controller service.
If the uiOnly query parameter is provided with a value of true, the returned entity may only contain fields that are necessary for rendering the NiFi User Interface. As such, the selected fields may change at any time, even during incremental releases, without warning. As a result, this parameter should not be provided by any client other than the UI.
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_service()method instead.- Parameters:
- Returns:
(
ControllerServiceEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_property_descriptor1(id, property_name, **kwargs)[source]
Gets a controller service 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_descriptor1_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- get_property_descriptor1_with_http_info(id, property_name, **kwargs)[source]
Gets a controller service 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_descriptor1()method instead.- Parameters:
- Returns:
(
PropertyDescriptorEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_state(id, **kwargs)[source]
Gets the state for a 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
get_state_with_http_info()method instead.- Parameters:
id (str) – The controller service id. (required)
- Returns:
The response data.
- Return type:
- get_state_with_http_info(id, **kwargs)[source]
Gets the state for a 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
get_state()method instead.- Parameters:
id (str) – The controller service id. (required)
- Returns:
(
ComponentStateEntity, status_code, headers) - Response data with HTTP details.- Return type:
- get_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_verification_request_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- get_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_verification_request()method instead.- Parameters:
- Returns:
(
VerifyConfigRequestEntity, status_code, headers) - Response data with HTTP details.- Return type:
- remove_controller_service(id, **kwargs)[source]
Deletes a 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
remove_controller_service_with_http_info()method instead.- Parameters:
id (str) – The controller service 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_controller_service_with_http_info(id, **kwargs)[source]
Deletes a 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
remove_controller_service()method instead.- Parameters:
id (str) – The controller service 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:
(
ControllerServiceEntity, status_code, headers) - Response data with HTTP details.- Return type:
- submit_config_verification_request(body, id, **kwargs)[source]
Performs verification of the Controller Service’s configuration.
This will initiate the process of verifying a given Controller Service configuration. This may be a long-running task. As a result, this endpoint will immediately return a ControllerServiceConfigVerificationRequestEntity, 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 /controller-services/{serviceId}/verification-requests/{requestId}. Once the request is completed, the client is expected to issue a DELETE request to /controller-services/{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_config_verification_request_with_http_info()method instead.- Parameters:
body (
VerifyConfigRequestEntity) – The controller service configuration verification request. (required)id (str) – The controller service id. (required)
- Returns:
The response data.
- Return type:
- submit_config_verification_request_with_http_info(body, id, **kwargs)[source]
Performs verification of the Controller Service’s configuration.
This will initiate the process of verifying a given Controller Service configuration. This may be a long-running task. As a result, this endpoint will immediately return a ControllerServiceConfigVerificationRequestEntity, 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 /controller-services/{serviceId}/verification-requests/{requestId}. Once the request is completed, the client is expected to issue a DELETE request to /controller-services/{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_config_verification_request()method instead.- Parameters:
body (
VerifyConfigRequestEntity) – The controller service configuration verification request. (required)id (str) – The controller service id. (required)
- Returns:
(
VerifyConfigRequestEntity, status_code, headers) - Response data with HTTP details.- Return type:
- update_controller_service(body, id, **kwargs)[source]
Updates a 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
update_controller_service_with_http_info()method instead.- Parameters:
body (
ControllerServiceEntity) – The controller service configuration details. (required)id (str) – The controller service id. (required)
- Returns:
The response data.
- Return type:
- update_controller_service_references(body, id, **kwargs)[source]
Updates a controller services references. 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_service_references_with_http_info()method instead.- Parameters:
body (
UpdateControllerServiceReferenceRequestEntity) – The controller service request update request. (required)id (str) – The controller service id. (required)
- Returns:
The response data.
- Return type:
- update_controller_service_references_with_http_info(body, id, **kwargs)[source]
Updates a controller services references. 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_service_references()method instead.- Parameters:
body (
UpdateControllerServiceReferenceRequestEntity) – The controller service request update request. (required)id (str) – The controller service id. (required)
- Returns:
(
ControllerServiceReferencingComponentsEntity, status_code, headers) - Response data with HTTP details.- Return type:
- update_controller_service_with_http_info(body, id, **kwargs)[source]
Updates a 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
update_controller_service()method instead.- Parameters:
body (
ControllerServiceEntity) – The controller service configuration details. (required)id (str) – The controller service id. (required)
- Returns:
(
ControllerServiceEntity, status_code, headers) - Response data with HTTP details.- Return type:
- update_run_status1(body, id, **kwargs)[source]
Updates run status of a 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
update_run_status1_with_http_info()method instead.- Parameters:
body (
ControllerServiceRunStatusEntity) – The controller service run status. (required)id (str) – The controller service id. (required)
- Returns:
The response data.
- Return type:
- update_run_status1_with_http_info(body, id, **kwargs)[source]
Updates run status of a 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
update_run_status1()method instead.- Parameters:
body (
ControllerServiceRunStatusEntity) – The controller service run status. (required)id (str) – The controller service id. (required)
- Returns:
(
ControllerServiceEntity, status_code, headers) - Response data with HTTP details.- Return type: