// This file is autogenerated, DO NOT EDIT
// ccr/uni-directional-disaster-recovery.asciidoc:75

[source, python]
----
resp = client.ccr.follow(
    index="kibana_sample_data_ecommerce2",
    wait_for_active_shards="1",
    remote_cluster="clusterA",
    leader_index="kibana_sample_data_ecommerce",
)
print(resp)
----
