

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

# Neptune 全球資料庫 API
<a name="api-global-dbs"></a>

**動作:**
+ [CreateGlobalCluster (動作)](#CreateGlobalCluster)
+ [DeleteGlobalCluster (動作)](#DeleteGlobalCluster)
+ [ModifyGlobalCluster (動作)](#ModifyGlobalCluster)
+ [DescribeGlobalClusters (動作)](#DescribeGlobalClusters)
+ [FailoverGlobalCluster (動作)](#FailoverGlobalCluster)
+ [RemoveFromGlobalCluster (動作)](#RemoveFromGlobalCluster)

**結構：**
+ [GlobalCluster (結構)](#GlobalCluster)
+ [GlobalClusterMember (結構)](#GlobalClusterMember)

## CreateGlobalCluster (動作)
<a name="CreateGlobalCluster"></a>

         此 API 的 AWS CLI 名稱為：`create-global-cluster`。

建立分散在多個 Amazon 區域的 Neptune 全球資料庫。全球資料庫包含具有讀寫功能的單一主要叢集，以及唯讀次要叢集，可透過 Neptune 儲存子系統執行的高速複寫接收來自主要叢集的資料。

您可以建立最初空白的全球資料庫，然後將主要叢集和次要叢集新增至其中，也可以在建立操作期間指定現有的 Neptune 叢集，使其成為全球資料庫的主要叢集。

**請求**
+ **DatabaseName** (在 CLI 中：`--database-name`) – 字串，類型為：`string` (UTF-8 編碼的字串)。

  新全球資料庫的名稱 (最多可有 64 個英數字元)。
+ **DeletionProtection** (在 CLI 中:`--deletion-protection`) – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  新的全域資料庫的刪除保護設定。啟用刪除保護時無法刪除全域資料庫。
+ **Engine** (在 CLI 中：`--engine`) – 字串，類型為：`string` (UTF-8 編碼的字串)。

  要在全球資料庫中使用的資料庫引擎名稱。

  有效值：`neptune`
+ **EngineVersion** (在 CLI 中：`--engine-version`) – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫要使用的 Neptune 引擎版本。

  有效值為：`1.2.0.0` 或以上。
+ **GlobalClusterIdentifier** (在 CLI 中：`--global-cluster-identifier`) – *必要：*GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  新全域資料庫叢集的叢集識別碼。
+ **SourceDBClusterIdentifier** (在 CLI 中：`--source-db-cluster-identifier`) – 字串，類型為：`string` (UTF-8 編碼的字串)。

  (*選用*) 現有 Neptune 資料庫叢集的 Amazon Resource Name (ARN)，此資料庫叢集要用作新全球資料庫的主要叢集。
+ **StorageEncrypted** (在 CLI 中:`--storage-encrypted`) – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  新全球資料庫叢集的儲存加密設定。

**回應**

包含 Amazon Neptune 全球資料庫的詳細資訊。

此資料類型會用作 [CreateGlobalCluster (動作)](#CreateGlobalCluster)、[DescribeGlobalClusters (動作)](#DescribeGlobalClusters)、[ModifyGlobalCluster (動作)](#ModifyGlobalCluster)、[DeleteGlobalCluster (動作)](#DeleteGlobalCluster)、[FailoverGlobalCluster (動作)](#FailoverGlobalCluster) 和 [RemoveFromGlobalCluster (動作)](#RemoveFromGlobalCluster) 的回應元素。
+ **DeletionProtection** – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  全球資料庫的刪除保護設定。
+ **Engine** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫所使用的 Neptune 資料庫引擎 (`"neptune"`)。
+ **EngineVersion** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫所使用的 Neptune 引擎版本。
+ **GlobalClusterArn** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫的 Amazon Resource Name (ARN)。
+ **GlobalClusterIdentifier** – GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  包含使用者提供的全球資料庫叢集識別符。此識別符為可識別全球資料庫的唯一金鑰。
+ **GlobalClusterMembers** – 一個 [GlobalClusterMember](#GlobalClusterMember) 物件陣列。

  屬於全球資料庫之所有資料庫叢集的叢集 ARN 和執行個體 ARN 清單。
+ **GlobalClusterResourceId** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫的不可變識別符，在所有區域內都是唯一的。此識別碼可在每次存取資料庫叢集的 KMS 金鑰時，於 CloudTrail 日誌項目中找到。
+ **Status** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  指定此全球資料庫的目前狀態。
+ **StorageEncrypted** – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  全球資料庫的儲存加密設定。

**錯誤**
+ [GlobalClusterAlreadyExistsFault](api-faults.md#GlobalClusterAlreadyExistsFault)
+ [GlobalClusterQuotaExceededFault](api-faults.md#GlobalClusterQuotaExceededFault)
+ [InvalidDBClusterStateFault](api-faults.md#InvalidDBClusterStateFault)
+ [DBClusterNotFoundFault](api-faults.md#DBClusterNotFoundFault)

## DeleteGlobalCluster (動作)
<a name="DeleteGlobalCluster"></a>

         此 API 的 AWS CLI 名稱為：`delete-global-cluster`。

刪除全球資料庫。必須先分離或刪除主要叢集和所有次要叢集。

**請求**
+ **GlobalClusterIdentifier** (在 CLI 中：`--global-cluster-identifier`) – *必要：*GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  要刪除之全球資料庫叢集的叢集識別符。

**回應**

包含 Amazon Neptune 全球資料庫的詳細資訊。

此資料類型會用作 [CreateGlobalCluster (動作)](#CreateGlobalCluster)、[DescribeGlobalClusters (動作)](#DescribeGlobalClusters)、[ModifyGlobalCluster (動作)](#ModifyGlobalCluster)、[DeleteGlobalCluster (動作)](#DeleteGlobalCluster)、[FailoverGlobalCluster (動作)](#FailoverGlobalCluster) 和 [RemoveFromGlobalCluster (動作)](#RemoveFromGlobalCluster) 的回應元素。
+ **DeletionProtection** – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  全球資料庫的刪除保護設定。
+ **Engine** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫所使用的 Neptune 資料庫引擎 (`"neptune"`)。
+ **EngineVersion** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫所使用的 Neptune 引擎版本。
+ **GlobalClusterArn** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫的 Amazon Resource Name (ARN)。
+ **GlobalClusterIdentifier** – GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  包含使用者提供的全球資料庫叢集識別符。此識別符為可識別全球資料庫的唯一金鑰。
+ **GlobalClusterMembers** – 一個 [GlobalClusterMember](#GlobalClusterMember) 物件陣列。

  屬於全球資料庫之所有資料庫叢集的叢集 ARN 和執行個體 ARN 清單。
+ **GlobalClusterResourceId** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫的不可變識別符，在所有區域內都是唯一的。此識別碼可在每次存取資料庫叢集的 KMS 金鑰時，於 CloudTrail 日誌項目中找到。
+ **Status** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  指定此全球資料庫的目前狀態。
+ **StorageEncrypted** – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  全球資料庫的儲存加密設定。

**錯誤**
+ [GlobalClusterNotFoundFault](api-faults.md#GlobalClusterNotFoundFault)
+ [InvalidGlobalClusterStateFault](api-faults.md#InvalidGlobalClusterStateFault)

## ModifyGlobalCluster (動作)
<a name="ModifyGlobalCluster"></a>

         此 API 的 AWS CLI 名稱為：`modify-global-cluster`。

修改 Amazon Neptune 全球叢集的設定。您可以透過在請求中指定這些參數及其新值，來變更一或多個資料庫組態參數。

**請求**
+ **AllowMajorVersionUpgrade** (在 CLI 中:`--allow-major-version-upgrade`) – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  指示是否允許升級主要版本的值。

  限制條件：如果您為主要版本與資料庫執行個體目前版本不同的 `EngineVersion` 參數指定一值，則必須允許主要版本升級。

  如果您升級全球資料庫的主要版本，叢集和資料庫執行個體參數群組會設定為新版本的預設參數群組，因此您必須在完成升級之後套用任何自訂參數群組。
+ **DeletionProtection** (在 CLI 中:`--deletion-protection`) – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  指示全球資料庫是否已啟用刪除保護。啟用刪除保護時無法刪除全球資料庫。
+ **EngineVersion** (在 CLI 中：`--engine-version`) – 字串，類型為：`string` (UTF-8 編碼的字串)。

  您要升級的資料庫引擎版本號碼。變更此參數將會造成中斷。變更會在下一次維護時段期間套用，除非已啟用 `ApplyImmediately`。

  若要列出所有可用的 Neptune 引擎版本，請使用以下命令：  
**Example**  

  ```
  aws neptune describe-db-engine-versions \
            --engine neptune \
            --query '*[]|[?SupportsGlobalDatabases == 'true'].[EngineVersion]'
  ```
+ **GlobalClusterIdentifier** (在 CLI 中：`--global-cluster-identifier`) – *必要：*GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  要修改之全球叢集的資料庫叢集識別符。此參數不區分大小寫。

  限制條件：必須符合現有全球資料庫叢集的識別符。
+ **NewGlobalClusterIdentifier** (在 CLI 中：`--new-global-cluster-identifier`) – GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  要指派給全球資料庫的新叢集識別符。此值會以小寫字母字串的形式儲存。

  約束:
  + 必須包含 1 到 63 個字母、數字或連字號。
  + 第一個字元必須是字母。
  + 不能以一個連字號結尾或是連續包含兩個連字號

  範例：`my-cluster2`

**回應**

包含 Amazon Neptune 全球資料庫的詳細資訊。

此資料類型會用作 [CreateGlobalCluster (動作)](#CreateGlobalCluster)、[DescribeGlobalClusters (動作)](#DescribeGlobalClusters)、[ModifyGlobalCluster (動作)](#ModifyGlobalCluster)、[DeleteGlobalCluster (動作)](#DeleteGlobalCluster)、[FailoverGlobalCluster (動作)](#FailoverGlobalCluster) 和 [RemoveFromGlobalCluster (動作)](#RemoveFromGlobalCluster) 的回應元素。
+ **DeletionProtection** – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  全球資料庫的刪除保護設定。
+ **Engine** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫所使用的 Neptune 資料庫引擎 (`"neptune"`)。
+ **EngineVersion** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫所使用的 Neptune 引擎版本。
+ **GlobalClusterArn** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫的 Amazon Resource Name (ARN)。
+ **GlobalClusterIdentifier** – GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  包含使用者提供的全球資料庫叢集識別符。此識別符為可識別全球資料庫的唯一金鑰。
+ **GlobalClusterMembers** – 一個 [GlobalClusterMember](#GlobalClusterMember) 物件陣列。

  屬於全球資料庫之所有資料庫叢集的叢集 ARN 和執行個體 ARN 清單。
+ **GlobalClusterResourceId** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫的不可變識別符，在所有區域內都是唯一的。此識別碼可在每次存取資料庫叢集的 KMS 金鑰時，於 CloudTrail 日誌項目中找到。
+ **Status** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  指定此全球資料庫的目前狀態。
+ **StorageEncrypted** – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  全球資料庫的儲存加密設定。

**錯誤**
+ [GlobalClusterNotFoundFault](api-faults.md#GlobalClusterNotFoundFault)
+ [InvalidGlobalClusterStateFault](api-faults.md#InvalidGlobalClusterStateFault)

## DescribeGlobalClusters (動作)
<a name="DescribeGlobalClusters"></a>

         此 API 的 AWS CLI 名稱為：`describe-global-clusters`。

傳回 Neptune 全球資料庫叢集的相關資訊。此 API 支援分頁。

**請求**
+ **GlobalClusterIdentifier** (在 CLI 中：`--global-cluster-identifier`) – GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  使用者提供的資料庫叢集識別符。如果指定此參數，則只會傳回所指定資料庫叢集的相關資訊。此參數不區分大小寫。

  限制條件：如果提供，必須符合現有的資料庫叢集的識別符。
+ **Marker** (在 CLI 中：`--marker`) – 字串，類型為：`string` (UTF-8 編碼的字串)。

  (*選用*) 上次呼叫 `DescribeGlobalClusters` 所傳回的分頁權杖。如果指定此參數，則回應只會包含標記以外的記錄，直到 `MaxRecords` 指定的數字為止。
+ **MaxRecords** (在 CLI 中：`--max-records`) – IntegerOptional，類型為：`integer` (帶正負號的 32 位元整數)。

  要在回應中包含的記錄數量上限。如果存在的記錄比 `MaxRecords` 值指定的更多，則分頁標記權杖會包含在回應中，您可以用來擷取剩餘的結果。

  預設：`100`

  限制條件：最小 20，最大 100。

**回應**
+ **GlobalClusters** – 一個 [GlobalCluster](#GlobalCluster) 物件陣列。

  此請求傳回的全球叢集和執行個體清單。
+ **Marker** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  分頁權杖。如果在回應中傳回此參數，則有更多記錄可用，這些記錄可以透過一個或多個對 `DescribeGlobalClusters` 的額外呼叫來擷取 。

**錯誤**
+ [GlobalClusterNotFoundFault](api-faults.md#GlobalClusterNotFoundFault)

## FailoverGlobalCluster (動作)
<a name="FailoverGlobalCluster"></a>

         此 API 的 AWS CLI 名稱為：`failover-global-cluster`。

啟動 Neptune 全球資料庫的容錯移轉程序。

Neptune 全球資料庫的容錯移轉會將其中一個次要唯讀資料庫叢集提升為主要資料庫叢集，並將主要資料庫叢集降級為次要 (唯讀) 資料庫叢集。換句話說，會切換目前主要資料庫叢集和所選目標次要資料庫叢集的角色。選取的次要資料庫叢集會採用 Neptune 全球資料庫的完整讀取/寫入功能。

**注意**  
此動作**僅**適用於 Neptune 全球資料庫。此動作旨在用於狀態良好的 Neptune DB 叢集，搭配狀態良好的 Neptune 全球資料庫，且沒有全區域中斷，以測試災難復原案例或重新設定全球資料庫拓撲。

**請求**
+ **GlobalClusterIdentifier** (在 CLI 中：`--global-cluster-identifier`) – *必要：*GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  應容錯移轉的 Neptune 全球資料庫的識別符。識別符是在建立 Neptune 全球資料庫時，由使用者指派的唯一金鑰。換句話說，它是您要容錯移轉的全球資料庫名稱。

  限制條件：必須符合現有 Neptune 全球資料庫的識別符。
+ **TargetDbClusterIdentifier** (在 CLI 中：`--target-db-cluster-identifier`) – *必要：*字串，類型為：`string` (UTF-8 編碼的字串)。

  次要 Neptune 資料庫叢集的 Amazon Resource Name (ARN)，您想要將此資料庫叢集提升為全球資料庫的主要資料庫叢集。

**回應**

包含 Amazon Neptune 全球資料庫的詳細資訊。

此資料類型會用作 [CreateGlobalCluster (動作)](#CreateGlobalCluster)、[DescribeGlobalClusters (動作)](#DescribeGlobalClusters)、[ModifyGlobalCluster (動作)](#ModifyGlobalCluster)、[DeleteGlobalCluster (動作)](#DeleteGlobalCluster)、[FailoverGlobalCluster (動作)](#FailoverGlobalCluster) 和 [RemoveFromGlobalCluster (動作)](#RemoveFromGlobalCluster) 的回應元素。
+ **DeletionProtection** – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  全球資料庫的刪除保護設定。
+ **Engine** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫所使用的 Neptune 資料庫引擎 (`"neptune"`)。
+ **EngineVersion** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫所使用的 Neptune 引擎版本。
+ **GlobalClusterArn** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫的 Amazon Resource Name (ARN)。
+ **GlobalClusterIdentifier** – GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  包含使用者提供的全球資料庫叢集識別符。此識別符為可識別全球資料庫的唯一金鑰。
+ **GlobalClusterMembers** – 一個 [GlobalClusterMember](#GlobalClusterMember) 物件陣列。

  屬於全球資料庫之所有資料庫叢集的叢集 ARN 和執行個體 ARN 清單。
+ **GlobalClusterResourceId** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫的不可變識別符，在所有區域內都是唯一的。此識別碼可在每次存取資料庫叢集的 KMS 金鑰時，於 CloudTrail 日誌項目中找到。
+ **Status** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  指定此全球資料庫的目前狀態。
+ **StorageEncrypted** – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  全球資料庫的儲存加密設定。

**錯誤**
+ [GlobalClusterNotFoundFault](api-faults.md#GlobalClusterNotFoundFault)
+ [InvalidGlobalClusterStateFault](api-faults.md#InvalidGlobalClusterStateFault)
+ [InvalidDBClusterStateFault](api-faults.md#InvalidDBClusterStateFault)
+ [DBClusterNotFoundFault](api-faults.md#DBClusterNotFoundFault)

## RemoveFromGlobalCluster (動作)
<a name="RemoveFromGlobalCluster"></a>

         此 API 的 AWS CLI 名稱為：`remove-from-global-cluster`。

從 Neptune 全球資料庫分離 Neptune 資料庫叢集。次要叢集會變成具有讀寫功能而非唯讀功能的一般獨立叢集，且不再從主要叢集接收資料。

**請求**
+ **DbClusterIdentifier** (在 CLI 中：`--db-cluster-identifier`) – *必要：*字串，類型為：`string` (UTF-8 編碼的字串)。

  識別要從 Neptune 全球資料庫叢集中分離的 Amazon Resource Name (ARN)。
+ **GlobalClusterIdentifier** (在 CLI 中：`--global-cluster-identifier`) – *必要：*GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  要從中分離所指定 Neptune 資料庫叢集的 Neptune 全球資料庫的識別符。

**回應**

包含 Amazon Neptune 全球資料庫的詳細資訊。

此資料類型會用作 [CreateGlobalCluster (動作)](#CreateGlobalCluster)、[DescribeGlobalClusters (動作)](#DescribeGlobalClusters)、[ModifyGlobalCluster (動作)](#ModifyGlobalCluster)、[DeleteGlobalCluster (動作)](#DeleteGlobalCluster)、[FailoverGlobalCluster (動作)](#FailoverGlobalCluster) 和 [RemoveFromGlobalCluster (動作)](#RemoveFromGlobalCluster) 的回應元素。
+ **DeletionProtection** – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  全球資料庫的刪除保護設定。
+ **Engine** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫所使用的 Neptune 資料庫引擎 (`"neptune"`)。
+ **EngineVersion** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫所使用的 Neptune 引擎版本。
+ **GlobalClusterArn** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫的 Amazon Resource Name (ARN)。
+ **GlobalClusterIdentifier** – GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  包含使用者提供的全球資料庫叢集識別符。此識別符為可識別全球資料庫的唯一金鑰。
+ **GlobalClusterMembers** – 一個 [GlobalClusterMember](#GlobalClusterMember) 物件陣列。

  屬於全球資料庫之所有資料庫叢集的叢集 ARN 和執行個體 ARN 清單。
+ **GlobalClusterResourceId** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫的不可變識別符，在所有區域內都是唯一的。此識別碼可在每次存取資料庫叢集的 KMS 金鑰時，於 CloudTrail 日誌項目中找到。
+ **Status** – 字串，類型為：`string` (UTF-8 編碼的字串)。

  指定此全球資料庫的目前狀態。
+ **StorageEncrypted** – BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  全球資料庫的儲存加密設定。

**錯誤**
+ [GlobalClusterNotFoundFault](api-faults.md#GlobalClusterNotFoundFault)
+ [InvalidGlobalClusterStateFault](api-faults.md#InvalidGlobalClusterStateFault)
+ [DBClusterNotFoundFault](api-faults.md#DBClusterNotFoundFault)

## *結構：*
<a name="api-global-dbs-structures-spacer"></a>

## GlobalCluster (結構)
<a name="GlobalCluster"></a>

包含 Amazon Neptune 全球資料庫的詳細資訊。

此資料類型會用作 [CreateGlobalCluster (動作)](#CreateGlobalCluster)、[DescribeGlobalClusters (動作)](#DescribeGlobalClusters)、[ModifyGlobalCluster (動作)](#ModifyGlobalCluster)、[DeleteGlobalCluster (動作)](#DeleteGlobalCluster)、[FailoverGlobalCluster (動作)](#FailoverGlobalCluster) 和 [RemoveFromGlobalCluster (動作)](#RemoveFromGlobalCluster) 的回應元素。

**欄位**
+ **DeletionProtection** – 這是 BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  全球資料庫的刪除保護設定。
+ **Engine** - 這是字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫所使用的 Neptune 資料庫引擎 (`"neptune"`)。
+ **EngineVersion** - 這是字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫所使用的 Neptune 引擎版本。
+ **GlobalClusterArn** - 這是字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫的 Amazon Resource Name (ARN)。
+ **GlobalClusterIdentifier** - 這是 GlobalClusterIdentifier，類型為：`string` (UTF-8 編碼的字串)，不小於 1 或大於 255 ?st?s，符合此規則運算式：`[A-Za-z][0-9A-Za-z-:._]*`。

  包含使用者提供的全球資料庫叢集識別符。此識別符為可識別全球資料庫的唯一金鑰。
+ **GlobalClusterMembers** - 這是 [GlobalClusterMember](#GlobalClusterMember) 物件的陣列。

  屬於全球資料庫之所有資料庫叢集的叢集 ARN 和執行個體 ARN 清單。
+ **GlobalClusterResourceId** - 這是字串，類型為：`string` (UTF-8 編碼的字串)。

  全球資料庫的不可變識別符，在所有區域內都是唯一的。此識別碼可在每次存取資料庫叢集的 KMS 金鑰時，於 CloudTrail 日誌項目中找到。
+ **Status** - 這是字串，類型為：`string` (UTF-8 編碼的字串)。

  指定此全球資料庫的目前狀態。
+ **StorageEncrypted** – 這是 BooleanOptional，類型為：`boolean` (布林值 (true 或 false))。

  全球資料庫的儲存加密設定。

`GlobalCluster` 會用來做為以下項目的回應元素：
+ [CreateGlobalCluster](#CreateGlobalCluster)
+ [ModifyGlobalCluster](#ModifyGlobalCluster)
+ [DeleteGlobalCluster](#DeleteGlobalCluster)
+ [RemoveFromGlobalCluster](#RemoveFromGlobalCluster)
+ [FailoverGlobalCluster](#FailoverGlobalCluster)

## GlobalClusterMember (結構)
<a name="GlobalClusterMember"></a>

 一種資料結構，其中包含與 Neptune 全球資料庫相關聯之任何主要和次要叢集的相關資訊。

**欄位**
+ **DBClusterArn** - 這是字串，類型為：`string` (UTF-8 編碼的字串)。

   每個 Neptune 叢集的 Amazon Resource Name (ARN)。
+ **IsWriter** - 這是布林值，類型為：`boolean` (布林值 (true 或 false))。

   指定 Neptune 叢集是否為與其相關聯之 Neptune 全球資料庫的主要叢集 (亦即，具有讀寫功能)。
+ **Readers** - 這是字串，類型為：`string` (UTF-8 編碼的字串)。

   與 Neptune 全球資料庫相關聯的每個唯讀次要叢集的 Amazon Resource Name (ARN)。