package Ġorg . see ker wing . aws . sqs consumer . sqs Ċ Ċ import Ġkotlinx . coroutines . future . await Ċ import Ġorg . see ker wing . aws . sqs consumer . configuration . Message Fetcher Configuration Ċ import Ġorg . see ker wing . aws . sqs consumer . model . Queue Ċ import Ġsoftware . amazon . aw ssdk . services . sqs . model . Message Ċ import Ġsoftware . amazon . aw ssdk . services . sqs . model . Receive Message Request Ċ Ċ suspend Ġfun ĠQueue . fetch Message ( configuration : ĠMessage Fetcher Configuration ): ĠList < Message > Ġ{ ĊĠĠĠ Ġval Ġreceive Message Request : ĠReceive Message Request Ġ= ĠReceive Message Request ĊĠĠĠĠĠĠĠ Ġ. builder () ĊĠĠĠĠĠĠĠ Ġ. queue Url ( queue Url ) ĊĠĠĠĠĠĠĠ Ġ. max NumberOf Messages ( configuration . maximum NumberOf Messages ) ĊĠĠĠĠĠĠĠ Ġ. wait Time Seconds ( configuration . wait Time Seconds ) ĊĠĠĠĠĠĠĠ Ġ. visibility Timeout ( configuration . visibility Timeout Seconds ) ĊĠĠĠĠĠĠĠ Ġ. build () ĊĠĠĠ Ġreturn Ġqueue Client ĊĠĠĠĠĠĠĠ Ġ. receive Message ( receive Message Request ) ĊĠĠĠĠĠĠĠ Ġ. await () ĊĠĠĠĠĠĠĠ Ġ. messages () Ċ } Ċ