AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You might need to reboot your DB instance, usually for maintenance reasons. For example, if you make certain modifications, or if you change the DB parameter group associated with the DB instance, you must reboot the instance for the changes to take effect.

Rebooting a DB instance restarts the database engine service. Rebooting a DB instance results in a momentary outage, during which the DB instance status is set to rebooting.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to RebootDBInstanceAsync.

Namespace: Amazon.Neptune
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z

Syntax

C#
public abstract RebootDBInstanceResponse RebootDBInstance(
         RebootDBInstanceRequest request
)
Parameters
request
Type: Amazon.Neptune.Model.RebootDBInstanceRequest

Container for the necessary parameters to execute the RebootDBInstance service method.

Return Value
The response from the RebootDBInstance service method, as returned by Neptune.

Exceptions

ExceptionCondition
DBInstanceNotFoundException DBInstanceIdentifier does not refer to an existing DB instance.
InvalidDBInstanceStateException The specified DB instance is not in the available state.

Examples

This example reboots the specified DB instance without forcing a failover.

To reboot a DB instance


var response = client.RebootDBInstance(new RebootDBInstanceRequest 
{
    DBInstanceIdentifier = "mymysqlinstance",
    ForceFailover = false
});

DBInstance dbInstance = response.DBInstance;

            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also