0da60b2623
Signed-off-by: dblock <dblock@amazon.com>
73 lines
2.0 KiB
Python
73 lines
2.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# The OpenSearch Contributors require contributions made to
|
|
# this file be licensed under the Apache-2.0 license or a
|
|
# compatible open source license.
|
|
#
|
|
# Modifications Copyright OpenSearch Contributors. See
|
|
# GitHub history for details.
|
|
|
|
from typing import Any, Union
|
|
|
|
from ..client.utils import NamespacedClient as NamespacedClient
|
|
from ..client.utils import query_params as query_params
|
|
|
|
class IndexManagementClient(NamespacedClient):
|
|
async def put_policy(
|
|
self,
|
|
policy: Any,
|
|
body: Any | None = ...,
|
|
params: Any | None = ...,
|
|
headers: Any | None = ...,
|
|
) -> Union[bool, Any]: ...
|
|
async def add_policy(
|
|
self,
|
|
index: Any,
|
|
body: Any | None = ...,
|
|
params: Any | None = ...,
|
|
headers: Any | None = ...,
|
|
) -> Union[bool, Any]: ...
|
|
async def get_policy(
|
|
self,
|
|
policy: Any,
|
|
body: Any | None = ...,
|
|
params: Any | None = ...,
|
|
headers: Any | None = ...,
|
|
) -> Union[bool, Any]: ...
|
|
async def remove_policy_from_index(
|
|
self,
|
|
index: Any,
|
|
body: Any | None = ...,
|
|
params: Any | None = ...,
|
|
headers: Any | None = ...,
|
|
) -> Union[bool, Any]: ...
|
|
async def change_policy(
|
|
self,
|
|
index: Any,
|
|
body: Any | None = ...,
|
|
params: Any | None = ...,
|
|
headers: Any | None = ...,
|
|
) -> Union[bool, Any]: ...
|
|
async def retry(
|
|
self,
|
|
index: Any,
|
|
body: Any | None = ...,
|
|
params: Any | None = ...,
|
|
headers: Any | None = ...,
|
|
) -> Union[bool, Any]: ...
|
|
async def explain_index(
|
|
self,
|
|
index: Any,
|
|
body: Any | None = ...,
|
|
params: Any | None = ...,
|
|
headers: Any | None = ...,
|
|
) -> Union[bool, Any]: ...
|
|
async def delete_policy(
|
|
self,
|
|
policy: Any,
|
|
body: Any | None = ...,
|
|
params: Any | None = ...,
|
|
headers: Any | None = ...,
|
|
) -> Union[bool, Any]: ...
|