調用ModifyDrdsInstanceDescription接口修改PolarDB-X實例的描述信息。
調試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
請求參數
名稱 | 類型 | 是否必選 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ModifyDrdsInstanceDescription |
系統規定參數,取值:ModifyDrdsInstanceDescription。 |
Description | String | 是 | This is a test instance. |
實例描述。 |
DrdsInstanceId | String | 是 | drdshbga33pe**** |
實例ID。 |
返回數據
名稱 | 類型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | B4F76641-BA45-4320-BE7C-9C62CFDAR56T |
請求ID。 |
Success | Boolean | true |
請求是否成功。 |
示例
請求示例
http(s)://[Endpoint]/?Action=ModifyDrdsInstanceDescription
&Description=This is a test instance.
&DrdsInstanceId=drdshbga33pe****
&<公共請求參數>
正常返回示例
XML
格式
<RequestId>B4F76641-BA45-4320-BE7C-9C62CFDAR56T</RequestId>
<Success>true</Success>
JSON
格式
{"RequestId":"B4F76641-BA45-4320-BE7C-9C62CFDAR56T","Success":"true"}
錯誤碼
HttpCode | 錯誤碼 | 錯誤信息 | 描述 |
---|---|---|---|
400 | ActionUnauthorized | The specified action is not available for you | 指定的action未授權,請您先做RAM授權再進行操作。 |
500 | InternalError | The request processing has failed due to some unknown error. | 請求失敗,內部錯誤 |
訪問錯誤中心查看更多錯誤碼。