describeBlueGreenDeployments
abstract suspend fun describeBlueGreenDeployments(input: DescribeBlueGreenDeploymentsRequest = DescribeBlueGreenDeploymentsRequest { }): DescribeBlueGreenDeploymentsResponse
Describes one or more blue/green deployments.
For more information, see Using Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User Guide and Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora User Guide.
Samples
fun main() {
//sampleStart
// The following example retrieves the details of a blue green deployment after creation completes.
val resp = rdsClient.describeBlueGreenDeployments {
blueGreenDeploymentIdentifier = "bgd-v53303651eexfake"
}
//sampleEnd
}
fun main() {
//sampleStart
// The following example retrieves the details of a blue green deployment.
val resp = rdsClient.describeBlueGreenDeployments {
blueGreenDeploymentIdentifier = "bgd-wi89nwzglccsfake"
}
//sampleEnd
}
fun main() {
//sampleStart
// The following example retrieves the details about a blue green deployment after the green
// environment is promoted to be the production environment.
val resp = rdsClient.describeBlueGreenDeployments {
blueGreenDeploymentIdentifier = "bgd-wi89nwzglccsfake"
}
//sampleEnd
}