| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Runtime.Aws.Env.Internal
Description
AWS environment construction and SDK retry policy behind Ecluse.Runtime.Aws.Env.
Synopsis
- data AwsEndpoint = AwsEndpoint {}
- newAwsEnv :: Maybe Text -> Maybe AwsEndpoint -> Service -> IO Env
- singleAttemptEnv :: Env -> Env
- newAwsEnvWith :: (EnvNoAuth -> IO Env) -> Maybe Text -> Maybe AwsEndpoint -> Service -> IO Env
Documentation
data AwsEndpoint Source #
An AWS-compatible endpoint on a non-default host: a local emulator (ministack) in tests, or a VPC endpoint.
Constructors
| AwsEndpoint | |
Fields
| |
Instances
| Show AwsEndpoint Source # | |
Defined in Ecluse.Runtime.Aws.Env.Internal Methods showsPrec :: Int -> AwsEndpoint -> ShowS # show :: AwsEndpoint -> String # showList :: [AwsEndpoint] -> ShowS # | |
| Eq AwsEndpoint Source # | |
Defined in Ecluse.Runtime.Aws.Env.Internal | |
newAwsEnv :: Maybe Text -> Maybe AwsEndpoint -> Service -> IO Env Source #
An env for service over discovered credentials. A failed discovery raises a typed fault from Ecluse.Runtime.Aws.Fault, and an unparseable URL http-client's own exception.
singleAttemptEnv :: Env -> Env Source #
Disable SDK retries without changing the caller's HTTP manager or hooks.