エンドポイントゾーンへの接続を許可します。
操作説明
-
この操作は、エンドポイントの状態が [接続済み] で、関連付けられているゾーンの状態が [切断済み] の場合にのみ呼び出すことができます。
-
EnableVpcEndpointZoneConnection は非同期操作です。リクエストを送信すると、システムはリクエスト ID を返し、バックグラウンドでタスクを実行します。ListVpcEndpointZones 操作を呼び出して、エンドポイントサービスが関連ゾーンのエンドポイントからの接続リクエストを受け入れるかどうかを確認できます。
ゾーンが [接続中] 状態の場合、エンドポイントサービスはエンドポイントからの接続リクエストを受け入れています。
ゾーンが [接続済み] 状態の場合、エンドポイントサービスはエンドポイントからの接続リクエストを受け入れています。
-
指定された期間内に、EnableVpcEndpointZoneConnection 操作を繰り返し呼び出して、エンドポイントサービスが関連ゾーンのエンドポイントからの接続リクエストを受け入れるようにすることはできません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
privatelink:EnableVpcEndpointZoneConnection |
update |
*VpcEndpointService
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
エンドポイント接続リクエストが受け入れられるリージョンの ID。DescribeRegions 操作を呼び出して、最新のリージョンリストをクエリできます。 |
cn-hangzhou |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークン。 クライアントを使用してトークンを生成できますが、トークンが異なるリクエスト間で一意であることを確認する必要があります。トークンには ASCII 文字のみを含めることができます。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
任意 |
実際のリクエストを実行せずに、ドライランのみを実行するかどうかを指定します。有効な値:
|
false |
| ServiceId |
string |
必須 |
エンドポイントサービス ID。 |
epsrv-hp3vpx8yqxblby3i**** |
| EndpointId |
string |
必須 |
エンドポイント ID。 |
ep-hp33b2e43fays7s8**** |
| ZoneId |
string |
必須 |
エンドポイントに関連付けられているゾーンの ID。 |
cn-hangzhou-b |
| RegionId |
string |
必須 |
エンドポイント接続リクエストが受け入れられるリージョンの ID。DescribeRegions 操作を呼び出して、最新のリージョンリストをクエリできます。 |
cn-hangzhou |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | EndpointServiceNotFound | The specified Service does not exist. | |
| 400 | EndpointConnectionNotFound | The specified endpoint connection does not exist. | |
| 400 | EndpointConnectionOperationDenied | The endpoint is being connected. | |
| 400 | EndpointOperationDenied | The specified operation of endpoint is not allowed. | |
| 400 | IncorrectBusinessStatus.VpcEndpoint | The business status of %s [%s] is incorrect. | |
| 400 | IncorrectBusinessStatus.VpcEndpointService | The business status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.VpcEndpoint | The status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.VpcEndpointConnection | The status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.VpcEndpointService | The status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.VpcEndpointZone | The status of %s [%s] is incorrect. | |
| 400 | GatewayLoadBalancerNotSupportZoneConnection | The gateway load balancer not support zone connection. | |
| 404 | ResourceNotFound.VpcEndpoint | The specified resource %s is not found. | |
| 404 | ResourceNotFound.VpcEndpointConnection | The specified resource %s is not found. | |
| 404 | ResourceNotFound.VpcEndpointService | The specified resource %s is not found. | |
| 404 | ResourceNotFound.VpcEndpointZone | The specified resource %s is not found. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。