専有エンドポイント:DeleteDEPSecurityGroup
処理概要
専有エンドポイントFWグループを削除します。
専有エンドポイントに適用された状態の専有エンドポイントFWグループを削除することはできません。
リクエストパラメーター
要素名 | 説明 | 必須 | 値 | 最大値 | デフォルト値 | 備考 |
---|---|---|---|---|---|---|
DEPSecurityGroupName | 削除する専有エンドポイントFWグループ名
|
○ | 文字列 | - |
レスポンス
XML
status
statusは共通の応答メッセージを返却します。
result
要素名 | 説明 | 値 | 備考 |
---|---|---|---|
DeleteDEPSecurityGroupResponse | ルート | − | |
ResponseMetadata | 共通メタ | − |
エラー
コード | メッセージ | タイプ | HTTPステータスコード | 説明 |
---|---|---|---|---|
Client.InvalidParameterCannotSpecify.DEPSecurityGroupName | DEPSecurityGroupName must not contain leading or trailing spaces. | Sender | 400 | DEPSecurityGroupNameの最初か最後に " " を入力した場合 |
Client.InvalidParameterCannotSpecify.DEPSecurityGroup | You cannot delete the default DEP security group. | Sender | 400 | defaultファイアウォールグループを削除しようとした場合 |
Client.InvalidParameterFormat.DEPSecurityGroupName | DEPSecurityGroupName can contain only ASCII letters and digits, spaces, underscores, and hyphens. | Sender | 400 | DEPSecurityGroupNameに無効な値(@、全角文字等)を指定した場合 |
Client.InvalidParameterNotFound.DEPSecurityGroup | DEPSecurityGroup aaaa not found. | Sender | 404 | DEPSecurityGroupNameに存在しない名前を指定した場合 |
Client.InvalidParameterRequired.DEPSecurityGroupName | The parameter DEPSecurityGroupName must be provided and must not be blank. | Sender | 400 | 必須のDEPSecurityGroupNameを指定しなかった場合 |
Client.InvalidParameterTooLong.DEPSecurityGroupName | DEPSecurityGroupName can be no longer than 255 characters. | Sender | 400 | DEPSecurityGroupNameに255文字を超える値を入力した場合 |
Client.ResourceIncorrectState.DEPSecurityGroup.InUse | Cannot delete the security group because at least one DEP is still a member: testgroup. | Sender | 400 | 削除する専有エンドポイントFWグループが専有エンドポイントに設定されている場合 |
リクエストサンプル
https://jp-east-1.dep.api.nifcloud.com/
?Action=DeleteDEPSecurityGroup
&DEPSecurityGroupName=exsample-securitygroup
&SignatureVersion=2
&SignatureMethod=HmacSHA256
&Timestamp=2017-11-15T00%3A00%3A00.000Z
&AWSAccessKeyId=<Nifty Cloud Access Key ID>
&Signature=<Signature>
レスポンスサンプル
<DeleteDEPSecurityGroupResponse>
<ResponseMetadata>
<RequestId>e30caa84-3a6c-478c-8c6e-2bc0419f85b0</RequestId>
</ResponseMetadata>
</DeleteDEPSecurityGroupResponse>