airflow.providers.amazon.aws.operators.opensearch_serverless¶
Amazon OpenSearch Serverless operators.
Classes¶
Create an Amazon OpenSearch Serverless collection. |
Module Contents¶
- class airflow.providers.amazon.aws.operators.opensearch_serverless.OpenSearchServerlessCreateCollectionOperator(*, collection_name, collection_type='SEARCH', description=None, standby_replicas=None, tags=None, if_exists='skip', **kwargs)[source]¶
Bases:
airflow.providers.amazon.aws.operators.base_aws.AwsBaseOperator[airflow.providers.amazon.aws.hooks.opensearch_serverless.OpenSearchServerlessHook]Create an Amazon OpenSearch Serverless collection.
See also
For more information on how to use this operator, take a look at the guide: Create a Collection
- Parameters:
collection_name (str) – The name of the collection. (templated)
collection_type (str) – The type of collection (SEARCH, TIMESERIES, VECTORSEARCH). (templated)
description (str | None) – Optional description. (templated)
standby_replicas (str | None) – Whether to use standby replicas (ENABLED or DISABLED).
tags (list[dict[str, str]] | None) – Optional list of tag dicts.
if_exists (Literal['fail', 'skip']) – Behavior when the collection already exists.
"fail"raises an error,"skip"logs and returns.
- template_fields: collections.abc.Sequence[str][source]¶