Modifies the access mode of an instance. The following two modes are supported:

  • Standard mode
  • Safe mode

Request parameters

Parameter Type Required Description
<Common request parameters> N/A Yes For more information, see Common parameters.
Action String Yes The operation that you want to perform. Set the value to ModifyDBInstanceConnectionMode.
DBInstanceId String Yes The ID of the instance.
ConnectionMode String Yes

The access mode of the instance. Valid values:

  • Standard: standard mode
  • Safe: safe mode

Response parameters

Parameter Type Description
<Common response parameters> N/A For more information, see Common response parameters.

Sample requests
&<Common request parameters>

Sample responses

XML format


JSON format