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

[source, python]
----
resp = client.indices.get_data_stream(
    name="my-data-stream",
    filter_path="data_streams.indices.index_name",
)
print(resp)
----
