セキュリティグループのアウトバウンドルールを削除します。ルールが削除されると、そのルールによって実装されていたアクセスの制御が解除されます。
操作説明
セキュリティグループ関連の API ドキュメントでは、「アウトバウンドトラフィック」とは、送信元から送信され、送信先で受信されるトラフィックを指します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ens:RevokeSecurityGroupEgress |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| IpProtocol |
string |
必須 |
トランスポート層プロトコルです。このパラメーターの値は大文字と小文字を区別します。有効な値は以下のとおりです。
|
all |
| PortRange |
string |
必須 |
セキュリティグループルールのトランスポート層プロトコルに対応する宛先ポートの範囲です。有効な値は以下のとおりです。
|
22/22 |
| SecurityGroupId |
string |
必須 |
セキュリティグループの ID です。 |
sg-bp67acfmxazb4ph*** |
| Policy |
string |
任意 |
セキュリティグループルールの操作です。有効な値は以下のとおりです。
デフォルト値:accept。 |
accept |
| Priority |
integer |
任意 |
セキュリティグループルールの優先度です。有効な値は 1 ~ 100 です。値が小さいほど優先度が高くなります。 デフォルト値:1。 |
1 |
| DestCidrIp |
string |
必須 |
宛先 IP アドレスです。CIDR ブロックおよび IPv4 アドレスを指定できます。 デフォルトでは、このパラメーターは空です。 |
10.0.0.0/8 |
| SourcePortRange |
string |
任意 |
送信元セキュリティグループのトランスポート層プロトコルに対応するポート番号の範囲です。有効な値は以下のとおりです。
|
22/22 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID です。 |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
例
成功レスポンス
JSONJSON
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingParameter | The input parameter that is mandatory for processing this request is not supplied. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | InvalidParameter | The errorMessage is %s. Please check it again. | |
| 400 | InvalidSecurityGroupId.NotFound | The specified SecurityGroupId does not exist. | |
| 400 | SecurityGroupRuleConflict.Duplicated | The SecurityGroup rule already exists. | |
| 400 | AuthorizationLimitExceed | The limit of authorization records in the security group reaches. | |
| 400 | SecurityGroupRule.NotFound | The input security group rule does not exist. | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | CallInterface | Call Interface Happen Error. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。