///<summary>GET on /_cat/aliases/{name} <para>https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-aliases/</para></summary> ///<param name = "name">A comma-separated list of alias names to return</param> ///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param> public TResponse Aliases <TResponse>(string name, CatAliasesRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new() => DoRequest <TResponse>(GET, Url($"_cat/aliases/{name:name}"), null, RequestParams(requestParameters));
public Task <TResponse> AliasesAsync <TResponse>(string name, CatAliasesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IOpenSearchResponse, new() => DoRequestAsync <TResponse>(GET, Url($"_cat/aliases/{name:name}"), ctx, null, RequestParams(requestParameters));
///<summary>GET on /_cat/aliases <para>https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-aliases/</para></summary> ///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param> public TResponse Aliases <TResponse>(CatAliasesRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new() => DoRequest <TResponse>(GET, "_cat/aliases", null, RequestParams(requestParameters));