startDbInstance
inline suspend fun RdsClient.startDbInstance(crossinline block: StartDbInstanceRequest.Builder.() -> Unit): StartDbInstanceResponse
Starts an Amazon RDS DB instance that was stopped using the Amazon Web Services console, the stop-db-instance CLI command, or the StopDBInstance
operation.
For more information, see Starting an Amazon RDS DB instance That Was Previously Stopped in the Amazon RDS User Guide.
This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL. For Aurora DB clusters, use StartDBCluster
instead.
Samples
fun main() {
//sampleStart
// The following example starts the specified DB instance.
val resp = rdsClient.startDbInstance {
dbInstanceIdentifier = "test-instance"
}
//sampleEnd
}