// This file is autogenerated, DO NOT EDIT
// data-streams/lifecycle/apis/get-lifecycle.asciidoc:148

[source, python]
----
resp = client.indices.get_data_lifecycle(
    name="my-data-stream*",
)
print(resp)
----
