Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- generateDbAuthToken :: Env -> Endpoint -> Port -> DBUsername -> Region -> IO Token
- type Endpoint = String
- type Port = Int
- type DBUsername = String
- data Region
- regionFromText :: Text -> Either String Region
Documentation
generateDbAuthToken :: Env -> Endpoint -> Port -> DBUsername -> Region -> IO Token Source #
Generates RDS auth token that can be used as a temporary password for Postgres connections.
type DBUsername = String Source #
The available AWS regions.
Instances
Bounded Region | |
Enum Region | |
Defined in Network.AWS.Types | |
Eq Region | |
Data Region | |
Defined in Network.AWS.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Region -> c Region # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Region # toConstr :: Region -> Constr # dataTypeOf :: Region -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Region) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Region) # gmapT :: (forall b. Data b => b -> b) -> Region -> Region # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Region -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Region -> r # gmapQ :: (forall d. Data d => d -> u) -> Region -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Region -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Region -> m Region # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Region -> m Region # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Region -> m Region # | |
Ord Region | |
Read Region | |
Show Region | |
Generic Region | |
Hashable Region | |
Defined in Network.AWS.Types | |
ToJSON Region | |
Defined in Network.AWS.Types | |
FromJSON Region | |
ToText Region | |
Defined in Network.AWS.Types | |
FromText Region | |
Defined in Network.AWS.Types | |
ToByteString Region | |
Defined in Network.AWS.Types toBS :: Region -> ByteString # | |
ToLog Region | |
Defined in Network.AWS.Types | |
FromXML Region | |
ToXML Region | |
Defined in Network.AWS.Types | |
NFData Region | |
Defined in Network.AWS.Types | |
type Rep Region | |
Defined in Network.AWS.Types type Rep Region = D1 ('MetaData "Region" "Network.AWS.Types" "amazonka-core-1.6.1-dxeDzqS2LdLEA6gnDgQJL" 'False) ((((C1 ('MetaCons "NorthVirginia" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Ohio" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NorthCalifornia" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Oregon" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Montreal" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Tokyo" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Seoul" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Mumbai" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "Singapore" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Sydney" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SaoPaulo" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Ireland" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "London" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Frankfurt" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GovCloud" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GovCloudFIPS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Beijing" 'PrefixI 'False) (U1 :: Type -> Type)))))) |