listDeployments

abstract suspend fun listDeployments(input: ListDeploymentsRequest = ListDeploymentsRequest { }): ListDeploymentsResponse

Lists the deployments that have been created.

Samples

// List deployments in the account with filters.
val resp = launchWizardClient.listDeployments {
    filters = listOf<DeploymentFilter>(
        DeploymentFilter {
            name = DeploymentFilterKey.fromValue("DEPLOYMENT_STATUS")
            values = listOf<String>(
                "IN_PROGRESS"
            )
        }            
    )
}