

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Amazon OpenSearch Serverless 中支持的操作和插件
<a name="serverless-genref"></a>

Amazon OpenSearch Serverless 支持各种 OpenSearch 插件以及中 OpenSearch提供的部分索引、搜索和元数据 [API 操作](https://opensearch.org/docs/latest/opensearch/rest-api/index/)。您可以将权限包括在[数据访问策略](serverless-data-access.md)中表的左列，以限制对某些操作的访问权限。

**Topics**
+ [支持 OpenSearch 的 API 操作和权限](#serverless-operations)
+ [支持的 OpenSearch 插件](#serverless-plugins)

## 支持 OpenSearch 的 API 操作和权限
<a name="serverless-operations"></a>

下表列出了 OpenSearch Serverless 支持的 API 操作及其相应的数据访问策略权限：


| 数据访问策略权限 | OpenSearch API 操作 | 描述和注意事项 | 
| --- | --- | --- | 
|  `aoss:CreateIndex`  | PUT <index> |  创建索引。有关更多信息，请参阅 [Create index](https://opensearch.org/docs/latest/api-reference/index-apis/create-index/)（创建索引）。  此权限也适用于使用 OpenSearch 仪表板上的示例数据创建索引。   | 
|  `aoss:DescribeIndex`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  |  描述索引。有关更多信息，请参阅以下资源： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  | 
|  `aoss:WriteDocument`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  |  编写和更新文档。有关更多信息，请参阅以下资源： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  有些操作仅允许针对 `SEARCH` 类型的集合执行。有关更多信息，请参阅 [选择集合类型](serverless-overview.md#serverless-usecase)。   | 
|  `aoss:ReadDocument`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  | 阅读文档。有关更多信息，请参阅以下资源：[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html) | 
|  `aoss:DeleteIndex`  | DELETE <target> | 删除索引。有关更多信息，请参阅 [Delete index](https://opensearch.org/docs/latest/api-reference/index-apis/delete-index/)（删除索引）。 | 
|  `aoss:UpdateIndex`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  |  更新索引设置。有关更多信息，请参阅以下资源： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  | 
|  `aoss:CreateCollectionItems`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html) | 
|  `aoss:DescribeCollectionItems`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  |  介绍如何使用别名、索引和框架模板以及管道。有关更多信息，请参阅以下资源： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  | 
|  `aoss:UpdateCollectionItems`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  | 更新别名、索引模板及框架模板。有关更多信息，请参阅以下资源：[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html) \$1 用于取消预置模板的 API。ML Commons 客户端和 OpenSearch 无服务器服务管理依赖策略。  | 
|  `aoss:DeleteCollectionItems`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  |  删除别名、索引和框架模板以及管道。有关更多信息，请参阅以下资源： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  | 
|  `aoss:DescribeMLResource`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  |  描述 GET 和搜索 APIs 以检索有关模型和连接器的信息。  | 
|  `aoss:CreateMLResource`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  |  提供创建机器学习资源的权限。  | 
|  `aoss:UpdateMLResource`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  |  提供更新现有机器学习资源的权限。  | 
|  `aoss:DeleteMLResource`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  |  提供删除机器学习资源的权限。  | 
|  `aoss:ExecuteMLResource`  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/opensearch-service/latest/developerguide/serverless-genref.html)  |  提供运行模型的权限。  | 

## 支持的 OpenSearch 插件
<a name="serverless-plugins"></a>

OpenSearch 无服务器集合预先打包了来自社区的以下插件。 OpenSearch无服务器可为您自动部署和管理插件。

**分析插件**
+  [ICU 分析](https://github.com/opensearch-project/OpenSearch/tree/main/plugins/analysis-icu) 
+  [日语 (kuromoji) 分析](https://github.com/opensearch-project/OpenSearch/tree/main/plugins/analysis-kuromoji)
+  [韩语（Nori）分析](https://github.com/opensearch-project/OpenSearch/tree/main/plugins/analysis-nori) 
+  [拼音分析](https://github.com/opensearch-project/OpenSearch/tree/main/plugins/analysis-phonetic) 
+  [智能中文分析](https://github.com/opensearch-project/OpenSearch/tree/main/plugins/analysis-smartcn) 
+  [Stempel Polish 分析](https://github.com/opensearch-project/OpenSearch/tree/main/plugins/analysis-stempel)
+  [乌克兰语分析](https://github.com/opensearch-project/OpenSearch/tree/main/plugins/analysis-ukrainian)

**映射器插件**
+  [映射器大小](https://github.com/opensearch-project/OpenSearch/tree/main/plugins/mapper-size) 
+  [映射器 Murmur3](https://github.com/opensearch-project/OpenSearch/tree/main/plugins/mapper-murmur3) 
+  [映射器带注释的文本](https://github.com/opensearch-project/OpenSearch/tree/main/plugins/mapper-annotated-text)

**脚本插件**
+  [Painless](https://opensearch.org/docs/latest/api-reference/script-apis/exec-script/)
+  [表达式](https://opensearch.org/docs/latest/data-prepper/pipelines/expression-syntax/) 
+  [Mustache](https://mustache.github.io/mustache.5.html)

此外， OpenSearch Serverless 还包括所有作为模块发布的插件。