// This file is autogenerated, DO NOT EDIT
// migration/apis/data-stream-reindex-cancel.asciidoc:41

[source, python]
----
resp = client.indices.cancel_migrate_reindex(
    index="my-data-stream",
)
print(resp)
----
