

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

# 步骤 5：清理
<a name="tutorial-search-metadata-cleanup"></a>

## 清理文件
<a name="tutorial-search-metadata-cleanup-delete"></a>

要在完成本教程后停止在 AWS 账户中产生费用，您可以采取以下步骤：

1. **删除您的 Amazon S3 存储桶**

   有关删除存储桶的信息，请参阅[删除存储桶](https://docs.aws.amazon.com/AmazonS3/latest/userguide/delete-bucket.html)。

1. **删除 Amazon Kendra 索引**

   有关删除 Amazon Kendra 存储桶的信息，请参阅[删除索引](https://docs.aws.amazon.com/kendra/latest/dg/delete-index.html)。

1. **删除 `converter.py`**
   + **对于控制台：**前往 [AWS CloudShell](https://console.aws.amazon.com/cloudshell/)，并确保将该区域设置为您的 AWS 区域。加载 bash shell 后，在环境中键入以下命令并按 Enter。

     ```
     rm converter.py
     ```
   + **For AWS CLI：**在终端窗口上运行以下命令。

------
#### [ Linux ]

     ```
     rm file/converter.py
     ```

     其中：
     + *file/*是本地设备`converter.py`上的文件路径。

------
#### [ macOS ]

     ```
     rm file/converter.py
     ```

     其中：
     + *file/*是本地设备`converter.py`上的文件路径。

------
#### [ Windows ]

     ```
     rm file/converter.py
     ```

     其中：
     + *file/*是本地设备`converter.py`上的文件路径。

------

## 了解详情
<a name="tutorial-search-metadata-cleanup-2-more"></a>

要详细了解如何将 Amazon Kendra 集成到您的工作流程中，您可以查看以下博客文章：
+ [用于增强搜索效果的内容元数据标记](https://comprehend-immersionday.workshop.aws/lab8.html)
+ [使用自动内容充实功能构建智能搜索解决方案](https://aws.amazon.com/blogs/machine-learning/build-an-intelligent-search-solution-with-automated-content-enrichment/)

要了解有关 Amazon Comprehend 的更多信息，请参阅[https://docs.aws.amazon.com/comprehend/index.html](https://docs.aws.amazon.com/comprehend/index.html)。