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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article