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

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