ゲートウェイエンドポイントの構成を変更します。
操作説明
-
UpdateVpcGatewayEndpointAttribute は非同期操作です。リクエストを送信すると、システムは リクエスト ID を返し、タスクをバックグラウンドで実行します。タスクのステータスを確認するには、GetVpcGatewayEndpointAttribute 操作を呼び出してください。
ゲートウェイエンドポイントのステータスが Updating の場合、変更中です。
ゲートウェイエンドポイントのステータスが Created の場合、変更が完了しています。
-
一定期間内に UpdateVpcGatewayEndpointAttribute 操作を呼び出すことはできません。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| EndpointId |
string |
必須 |
変更対象のゲートウェイエンドポイントの ID です。 |
vpce-bp1w1dmdqjpwul0v3**** |
| EndpointName |
string |
任意 |
ゲートウェイエンドポイントの新しい名前です。 名前の長さは 1~128 文字である必要があります。 |
update |
| EndpointDescription |
string |
任意 |
ゲートウェイエンドポイントの新しい説明です。 説明の長さは 1~255 文字である必要があります。 |
updateendpoint |
| PolicyDocument |
string |
任意 |
クラウドサービスのアクセスポリシーです。 アクセスポリシーの構文と構造の詳細については、「Policy syntax and structure」をご参照ください。 |
{ "Version" : "1", "Statement" : [ { "Effect" : "Allow", "Resource" : [ "*" ], "Action" : [ "*" ], "Principal" : [ "*" ] } ] } |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークンです。 トークンはクライアント側で生成できますが、すべてのリクエストの中で一意であることを保証する必要があります。トークンには ASCII 文字のみを使用できます。 説明
このパラメーターを指定しない場合、システムは RequestId を ClientToken として使用します。RequestId の値は各 API リクエストごとに異なる可能性があります。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
任意 |
ドライランを実行するかどうかを指定します。有効な値は次のとおりです。
|
false |
| RegionId |
string |
必須 |
ゲートウェイエンドポイントのリージョン ID です。 最新のリージョンリストを取得するには、DescribeRegions 操作を呼び出してください。 |
cn-hangzhou |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返された情報です。 |
||
| RequestId |
string |
リクエストの ID です。 |
E9654534-5A38-5545-813F-0403D49042FB |
例
成功レスポンス
JSONJSON
{
"RequestId": "E9654534-5A38-5545-813F-0403D49042FB"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | OperationFailed.ConcurrentOperation | The operation is failed because of concurrent operation. | |
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. | |
| 400 | ResourceNotFound.GatewayEndpoint | The specified resource gateway endpoint is not found. | |
| 400 | IllegalParam.PolicyDocument | The param of PolicyDocument is illegal. | |
| 400 | IllegalParam.GatewayEndpointName | The param of GatewayEndpointName is illegal. | |
| 400 | IllegalParam.GatewayEndpointDescription | The param of GatewayEndpointDescription is illegal. | |
| 400 | SystemBusy | System is busy, please try again later. | |
| 400 | Forbbiden | User not authorized to operate on the specified resource. | |
| 400 | InvalidRegionId.NotFound | The regionId provided does not exist in our records. | |
| 400 | OperationDenied.PolicyDocument | The gatewayEndpoint does not support policy. | |
| 400 | IncorrectStatus.GatewayEndpoint | The status of GatewayEndpoint [%s] is incorrect. | |
| 400 | InvalidPolicy.WrongFormat | Invalid input policy format. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。