def getAMI()

in app/prism/Prism.scala [30:43]


  def getAMI(
      arn: String
  )(implicit config: AMIableConfig, ec: ExecutionContext): Attempt[AMI] = {
    val url = amiUrl(arn, config.prismUrl)
    for {
      response <- Http.response(
        config.wsClient.url(url).get(),
        "Unable to fetch AMI",
        url
      )
      json <- amiResponseJson(response)
      ami <- extractAMI(json)
    } yield ami
  }