// ĠCopyright Ġ 2 0 2 1 ĠAmazon . com , ĠInc . Ġor Ġits Ġaffiliates . ĠAll ĠRights ĠReserved . Ċ // ĠSPDX - License - Identifier : ĠApache - 2 . 0 Ċ Ċ package Ġsoftware . aws . tool k its . jetbrains . services . app runner . resources Ċ Ċ import Ġsoftware . amazon . aw ssdk . services . app runner . App Runner Client Ċ import Ġsoftware . aws . tool k its . jetbrains . core . Client Back ed Cached Resource Ċ Ċ object ĠApp Runner Resources Ġ{ ĊĠĠĠ Ġval ĠLIST _ SERVICES Ġ= ĠClient Back ed Cached Resource ( App Runner Client :: class , Ġ" app runner . list Services ") Ġ{ ĊĠĠĠĠĠĠĠ Ġlist Services Paginator Ġ{ Ġ}. toList (). flatMap Ġ{ Ġit . service Summary List () Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġval ĠLIST _ CONNECTION S Ġ= ĠClient Back ed Cached Resource ( App Runner Client :: class , Ġ" app runner . list Connections ") Ġ{ ĊĠĠĠĠĠĠĠ Ġlist Connections Paginator Ġ{ Ġ}. toList (). flatMap Ġ{ Ġit . connection Summary List () Ġ} ĊĠĠĠ Ġ} Ċ } Ċ