ClientConfig

uk.gov.nationalarchives.dp.client.Client.ClientConfig
case class ClientConfig[F[_], S](apiBaseUrl: String, secretName: String, backend: SttpBackend[F, S], duration: FiniteDuration, secretsManagerEndpointUri: String)

Configuration for the clients

Type parameters

F

The effect type for the client

S

The type of the Stream for the client.

Value parameters

apiBaseUrl

The Preservica service url

backend

The STTP backend used to send the API requests

duration

The timeout of the cache. Defaults to 15 minutes

secretName

The name of the AWS secret storing the API username and password

secretsManagerEndpointUri

The endpoint for communicating with secrets manager

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product