Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- getSecret :: (MonadIO m, MonadError (Seq Text) m) => SecretsConfig -> SecretName -> SecretReader a -> m a
- getSecretOrFail :: MonadIO m => SecretsConfig -> SecretName -> SecretReader a -> m a
- data SecretsConfig
- data SecretReader a
- data SecretKey
- data SecretName
Documentation
getSecret :: (MonadIO m, MonadError (Seq Text) m) => SecretsConfig -> SecretName -> SecretReader a -> m a Source #
getSecretOrFail :: MonadIO m => SecretsConfig -> SecretName -> SecretReader a -> m a Source #
data SecretsConfig Source #
data SecretReader a Source #
Instances
Applicative SecretReader Source # | |
Defined in AWS.Secrets.Reader pure :: a -> SecretReader a # (<*>) :: SecretReader (a -> b) -> SecretReader a -> SecretReader b # liftA2 :: (a -> b -> c) -> SecretReader a -> SecretReader b -> SecretReader c # (*>) :: SecretReader a -> SecretReader b -> SecretReader b # (<*) :: SecretReader a -> SecretReader b -> SecretReader a # | |
Functor SecretReader Source # | |
Defined in AWS.Secrets.Reader fmap :: (a -> b) -> SecretReader a -> SecretReader b # (<$) :: a -> SecretReader b -> SecretReader a # |
A secret can have multiple key/value pairs.
data SecretName Source #
Instances
IsString SecretName Source # | |
Defined in AWS.Secrets.Name fromString :: String -> SecretName # | |
Show SecretName Source # | |
Defined in AWS.Secrets.Name showsPrec :: Int -> SecretName -> ShowS # show :: SecretName -> String # showList :: [SecretName] -> ShowS # | |
Eq SecretName Source # | |
Defined in AWS.Secrets.Name (==) :: SecretName -> SecretName -> Bool # (/=) :: SecretName -> SecretName -> Bool # | |
Ord SecretName Source # | |
Defined in AWS.Secrets.Name compare :: SecretName -> SecretName -> Ordering # (<) :: SecretName -> SecretName -> Bool # (<=) :: SecretName -> SecretName -> Bool # (>) :: SecretName -> SecretName -> Bool # (>=) :: SecretName -> SecretName -> Bool # max :: SecretName -> SecretName -> SecretName # min :: SecretName -> SecretName -> SecretName # |