

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 啟動 Amazon OpenSearch 擷取管道
<a name="pipeline--start"></a>

您一律會從已處於停止狀態的管道開始啟動 OpenSearch Ingestion 管道。管道會保留其組態設定，例如容量限制、網路設定和日誌發佈選項。

重新啟動管道通常需要幾分鐘的時間。

## 主控台
<a name="start-pipeline-console"></a>

**啟動管道**

1. 登入 Amazon OpenSearch Service 主控台，網址為 https：//[https://console.aws.amazon.com/aos/osis/home](https://console.aws.amazon.com/aos/osis/home#osis/ingestion-pipelines)。您將進入管道頁面。

1. 選擇管道。您可以從此頁面執行啟動操作，或導覽至您要啟動之管道的詳細資訊頁面。

1.  針對**動作**，選擇**啟動管道**。

## AWS CLI
<a name="start-pipeline-cli"></a>

若要使用 啟動管道 AWS CLI，請使用下列參數呼叫 [start-pipeline](https://docs.aws.amazon.com/cli/latest/reference/osis/start-pipeline.html) 命令：
+ `--pipeline-name` – 管道的名稱。

**Example**  

```
aws osis start-pipeline --pipeline-name my-pipeline
```

## OpenSearch 擷取 API
<a name="start-pipeline-api"></a>

若要使用 OpenSearch Ingestion API 啟動 OpenSearch Ingestion 管道，請使用下列參數呼叫 [StartPipeline](https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_osis_StartPipeline.html) 操作：
+ `PipelineName` – 管道的名稱。