// This file is autogenerated, DO NOT EDIT
// cluster/cluster-info.asciidoc:388

[source, python]
----
resp = client.cluster.info(
    target="_all",
)
print(resp)

resp1 = client.cluster.info(
    target="http",
)
print(resp1)

resp2 = client.cluster.info(
    target="ingest",
)
print(resp2)

resp3 = client.cluster.info(
    target="thread_pool",
)
print(resp3)

resp4 = client.cluster.info(
    target="script",
)
print(resp4)

resp5 = client.cluster.info(
    target="http,ingest",
)
print(resp5)
----
