start_domain_maintenance
async
¶
start_domain_maintenance(
domain_name: DomainName,
action: MaintenanceType,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
node_id: Optional[NodeId] = None,
) -> StartDomainMaintenanceResponse
Starts the node maintenance process on the data node. These processes can include a node reboot, an Opensearch or Elasticsearch process restart, or a Dashboard or Kibana restart.
Parameters:
-
domain_name(DomainName) –The name of the domain.
-
action(MaintenanceType) –The name of the action.
-
node_id(Optional[NodeId], default:None) –The ID of the data node.
Raises:
-
BaseException–An error occurred while processing the request.
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.