Skip to content

Commit

Permalink
Code generated using native OpenAPI specification
Browse files Browse the repository at this point in the history
Signed-off-by: saimedhi <saimedhi@amazon.com>
  • Loading branch information
saimedhi committed Apr 17, 2024
1 parent fded851 commit 77842e8
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 77 deletions.
12 changes: 4 additions & 8 deletions opensearchpy/_async/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,8 +843,7 @@ async def delete_by_query(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`. Valid values are: `all`,
`open`, `closed`, `hidden`, `none`. Valid choices are all, open, closed,
hidden, none.
`open`, `closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg from_: Starting offset (default: 0)
Expand Down Expand Up @@ -2394,8 +2393,7 @@ async def search_shards(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down Expand Up @@ -2465,8 +2463,7 @@ async def search_template(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg explain: If `true`, the response includes additional
details about score computation as part of a hit.
:arg filter_path: Comma-separated list of filters used to reduce
Expand Down Expand Up @@ -2753,8 +2750,7 @@ async def update_by_query(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg from_: Starting offset (default: 0)
Expand Down
45 changes: 15 additions & 30 deletions opensearchpy/_async/client/indices.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ async def refresh(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down Expand Up @@ -160,8 +159,7 @@ async def flush(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg force: If `true`, the request forces a flush even if there
Expand Down Expand Up @@ -423,8 +421,7 @@ async def open(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down Expand Up @@ -496,8 +493,7 @@ async def close(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down Expand Up @@ -566,8 +562,7 @@ async def delete(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down Expand Up @@ -628,8 +623,7 @@ async def exists(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg flat_settings: If `true`, returns settings in flat format.
Expand Down Expand Up @@ -693,8 +687,7 @@ async def put_mapping(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down Expand Up @@ -767,8 +760,7 @@ async def get_mapping(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down Expand Up @@ -828,8 +820,7 @@ async def get_field_mapping(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down Expand Up @@ -953,8 +944,7 @@ async def exists_alias(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down Expand Up @@ -1014,8 +1004,7 @@ async def get_alias(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down Expand Up @@ -1590,8 +1579,7 @@ async def segments(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down Expand Up @@ -1664,8 +1652,7 @@ async def validate_query(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg explain: If `true`, the response returns detailed
information if an error has occurred.
:arg filter_path: Comma-separated list of filters used to reduce
Expand Down Expand Up @@ -1728,8 +1715,7 @@ async def clear_cache(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg fielddata: If `true`, clears the fields cache.Use the
`fields` parameter to clear the cache of specific fields only.
:arg fields: Comma-separated list of field names used to limit
Expand Down Expand Up @@ -2658,8 +2644,7 @@ async def resolve_index(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down
12 changes: 4 additions & 8 deletions opensearchpy/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,8 +843,7 @@ def delete_by_query(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`. Valid values are: `all`,
`open`, `closed`, `hidden`, `none`. Valid choices are all, open, closed,
hidden, none.
`open`, `closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg from_: Starting offset (default: 0)
Expand Down Expand Up @@ -2394,8 +2393,7 @@ def search_shards(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down Expand Up @@ -2465,8 +2463,7 @@ def search_template(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg explain: If `true`, the response includes additional
details about score computation as part of a hit.
:arg filter_path: Comma-separated list of filters used to reduce
Expand Down Expand Up @@ -2753,8 +2750,7 @@ def update_by_query(
match.If the request can target data streams, this argument determines
whether wildcard expressions match hidden data streams.Supports comma-
separated values, such as `open,hidden`.Valid values are: `all`, `open`,
`closed`, `hidden`, `none`. Valid choices are all, open, closed, hidden,
none.
`closed`, `hidden`, `none`.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg from_: Starting offset (default: 0)
Expand Down
Loading

0 comments on commit 77842e8

Please sign in to comment.