listDeployments

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

Lists the deployments in the account. You can filter the results by status and page through them using maxResults and nextToken.

Samples

// Lists the published deployments in the account, one page at a time.
val resp = networkSecurityManagerClient.listDeployments {
    maxResults = 10
    status = EntityStatusFilter.fromValue("ACTIVE")
}