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.

Starts a DB instance that was stopped using the AWS console, the stop-db-instance AWS CLI command, or the StopDBInstance action. For more information, see Stopping and Starting a DB instance in the AWS RDS user guide.

This command doesn't apply to Aurora MySQL and Aurora PostgreSQL.

Note:

For .NET Core and PCL this operation is only available in asynchronous form. Please refer to StartDBInstanceAsync.

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

Syntax

C#
public abstract StartDBInstanceResponse StartDBInstance(
         StartDBInstanceRequest request
)
Parameters
request
Type: Amazon.RDS.Model.StartDBInstanceRequest

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

Return Value
The response from the StartDBInstance service method, as returned by RDS.

Exceptions

ExceptionCondition
AuthorizationNotFoundException The specified CIDRIP or Amazon EC2 security group isn't authorized for the specified DB security group. RDS also may not be authorized by using IAM to perform necessary actions on your behalf.
DBClusterNotFoundException DBClusterIdentifier doesn't refer to an existing DB cluster.
DBInstanceNotFoundException DBInstanceIdentifier doesn't refer to an existing DB instance.
DBSubnetGroupDoesNotCoverEnoughAZsException Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.
DBSubnetGroupNotFoundException DBSubnetGroupName doesn't refer to an existing DB subnet group.
InsufficientDBInstanceCapacityException The specified DB instance class isn't available in the specified Availability Zone.
InvalidDBClusterStateException The DB cluster isn't in a valid state.
InvalidDBInstanceStateException The specified DB instance isn't in the available state.
InvalidSubnetException The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
InvalidVPCNetworkStateException The DB subnet group doesn't cover all Availability Zones after it's created because of users' change.
KMSKeyNotAccessibleException An error occurred accessing an AWS KMS key.

Version Information

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also