// This file is autogenerated, DO NOT EDIT
// how-to/size-your-shards.asciidoc:511

[source, python]
----
resp = client.reindex(
    source={
        "index": "my-index-2099.10.*"
    },
    dest={
        "index": "my-index-2099.10"
    },
)
print(resp)
----
