pub async fn promote_deployment(
configuration: &Configuration,
deployment_id: &str,
namespace: Option<&str>,
region: Option<&str>,
index: Option<i64>,
wait: Option<&str>,
deployment_promote_request: Option<DeploymentPromoteRequest>,
) -> Result<DeploymentUpdateResponse, Error<PromoteDeploymentError>>