public Task <TResponse> PutLifecycleAsync <TResponse>(string policyId, PostData body, PutLifecycleRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(PUT, Url($"_ilm/policy/{policyId:policyId}"), ctx, body, RequestParams(requestParameters));
 ///<summary>PUT on /_ilm/policy/{policy_id} <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-put-lifecycle.html</para></summary>
 ///<param name = "policyId">The name of the index lifecycle policy</param>
 ///<param name = "body">The lifecycle policy definition to register</param>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 public TResponse PutLifecycle <TResponse>(string policyId, PostData body, PutLifecycleRequestParameters requestParameters = null)
     where TResponse : class, ITransportResponse, new() => DoRequest <TResponse>(PUT, Url($"_ilm/policy/{policyId:policyId}"), body, RequestParams(requestParameters));