Package

com.gu.facia

client

Permalink

package client

Visibility
  1. Public
  2. All

Type Members

  1. case class AmazonSdkS3Client(client: AmazonS3)(implicit executionContext: ExecutionContext) extends S3Client with Product with Serializable

    Permalink
  2. case class ApiClient(bucket: String, environment: String, s3Client: S3Client)(implicit executionContext: ExecutionContext) extends Product with Serializable

    Permalink
  3. case class BackendError(errorMessage: String) extends RuntimeException with Product with Serializable

    Permalink
  4. case class FaciaNotAuthorized(message: String) extends FaciaResult with Product with Serializable

    Permalink
  5. case class FaciaNotFound(message: String) extends FaciaResult with Product with Serializable

    Permalink
  6. sealed trait FaciaResult extends AnyRef

    Permalink
  7. case class FaciaSuccess(get: Array[Byte]) extends FaciaResult with Product with Serializable

    Permalink
  8. case class FaciaUnknownError(message: String) extends FaciaResult with Product with Serializable

    Permalink
  9. case class JsonDeserialisationError(errorMessage: String) extends RuntimeException with Product with Serializable

    Permalink
  10. trait S3Client extends AnyRef

    Permalink

    For mocking in tests, but also to allow someone to define a properly asynchronous S3 client.

    For mocking in tests, but also to allow someone to define a properly asynchronous S3 client. (The one in the AWS SDK is unfortunately synchronous only.)

Value Members

  1. object AmazonSdkS3Client extends Serializable

    Permalink
  2. object ApiClient extends Serializable

    Permalink
  3. package json

    Permalink
  4. package models

    Permalink

Ungrouped