amazonka-core-1.6.1: Core data types and functionality for Amazonka libraries.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Data.Map

Description

 

Documentation

newtype Map k v Source #

Constructors

Map 

Fields

Instances
Functor (Map k) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

fmap :: (a -> b) -> Map k a -> Map k b #

(<$) :: a -> Map k b -> Map k a #

Foldable (Map k) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

fold :: Monoid m => Map k m -> m #

foldMap :: Monoid m => (a -> m) -> Map k a -> m #

foldr :: (a -> b -> b) -> b -> Map k a -> b #

foldr' :: (a -> b -> b) -> b -> Map k a -> b #

foldl :: (b -> a -> b) -> b -> Map k a -> b #

foldl' :: (b -> a -> b) -> b -> Map k a -> b #

foldr1 :: (a -> a -> a) -> Map k a -> a #

foldl1 :: (a -> a -> a) -> Map k a -> a #

toList :: Map k a -> [a] #

null :: Map k a -> Bool #

length :: Map k a -> Int #

elem :: Eq a => a -> Map k a -> Bool #

maximum :: Ord a => Map k a -> a #

minimum :: Ord a => Map k a -> a #

sum :: Num a => Map k a -> a #

product :: Num a => Map k a -> a #

Traversable (Map k) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

traverse :: Applicative f => (a -> f b) -> Map k a -> f (Map k b) #

sequenceA :: Applicative f => Map k (f a) -> f (Map k a) #

mapM :: Monad m => (a -> m b) -> Map k a -> m (Map k b) #

sequence :: Monad m => Map k (m a) -> m (Map k a) #

(Hashable k, Eq k) => IsList (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Associated Types

type Item (Map k v) :: Type #

Methods

fromList :: [Item (Map k v)] -> Map k v #

fromListN :: Int -> [Item (Map k v)] -> Map k v #

toList :: Map k v -> [Item (Map k v)] #

(Eq k, Eq v) => Eq (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

(==) :: Map k v -> Map k v -> Bool #

(/=) :: Map k v -> Map k v -> Bool #

(Data k, Data v, Eq k, Hashable k) => Data (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Map k v -> c (Map k v) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Map k v) #

toConstr :: Map k v -> Constr #

dataTypeOf :: Map k v -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Map k v)) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Map k v)) #

gmapT :: (forall b. Data b => b -> b) -> Map k v -> Map k v #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Map k v -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Map k v -> r #

gmapQ :: (forall d. Data d => d -> u) -> Map k v -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Map k v -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Map k v -> m (Map k v) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Map k v -> m (Map k v) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Map k v -> m (Map k v) #

(Eq k, Hashable k, Read k, Read v) => Read (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

readsPrec :: Int -> ReadS (Map k v) #

readList :: ReadS [Map k v] #

readPrec :: ReadPrec (Map k v) #

readListPrec :: ReadPrec [Map k v] #

(Show k, Show v) => Show (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

showsPrec :: Int -> Map k v -> ShowS #

show :: Map k v -> String #

showList :: [Map k v] -> ShowS #

Generic (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Associated Types

type Rep (Map k v) :: Type -> Type #

Methods

from :: Map k v -> Rep (Map k v) x #

to :: Rep (Map k v) x -> Map k v #

(Eq k, Hashable k) => Semigroup (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

(<>) :: Map k v -> Map k v -> Map k v #

sconcat :: NonEmpty (Map k v) -> Map k v #

stimes :: Integral b => b -> Map k v -> Map k v #

(Eq k, Hashable k) => Monoid (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

mempty :: Map k v #

mappend :: Map k v -> Map k v -> Map k v #

mconcat :: [Map k v] -> Map k v #

(Hashable k, Hashable v) => Hashable (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

hashWithSalt :: Int -> Map k v -> Int #

hash :: Map k v -> Int #

(Eq k, Hashable k, ToText k, ToJSON v) => ToJSON (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

toJSON :: Map k v -> Value #

toEncoding :: Map k v -> Encoding #

toJSONList :: [Map k v] -> Value #

toEncodingList :: [Map k v] -> Encoding #

(Eq k, Hashable k, FromText k, FromJSON v) => FromJSON (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

parseJSON :: Value -> Parser (Map k v) #

parseJSONList :: Value -> Parser [Map k v] #

(NFData k, NFData v) => NFData (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

rnf :: Map k v -> () #

(Eq k, Hashable k, ToByteString k, ToText v) => ToHeader (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

toHeader :: HeaderName -> Map k v -> [Header] Source #

type Rep (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

type Rep (Map k v) = D1 (MetaData "Map" "Network.AWS.Data.Map" "amazonka-core-1.6.1-FZORvxk9gh76fGemhSgXQL" True) (C1 (MetaCons "Map" PrefixI True) (S1 (MetaSel (Just "toMap") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap k v))))
type Item (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

type Item (Map k v) = (k, v)

_Map :: (Coercible a b, Coercible b a) => Iso' (Map k a) (HashMap k b) Source #

parseXMLMap :: (Eq k, Hashable k, FromText k, FromXML v) => Text -> Text -> Text -> [Node] -> Either String (Map k v) Source #