{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Pinpoint.Types.UpdateRecommenderConfiguration where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
data UpdateRecommenderConfiguration = UpdateRecommenderConfiguration'
{
UpdateRecommenderConfiguration -> Maybe (HashMap Text Text)
attributes :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
UpdateRecommenderConfiguration -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
UpdateRecommenderConfiguration -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
UpdateRecommenderConfiguration -> Maybe Text
recommendationProviderIdType :: Prelude.Maybe Prelude.Text,
UpdateRecommenderConfiguration -> Maybe Text
recommendationTransformerUri :: Prelude.Maybe Prelude.Text,
UpdateRecommenderConfiguration -> Maybe Text
recommendationsDisplayName :: Prelude.Maybe Prelude.Text,
UpdateRecommenderConfiguration -> Maybe Int
recommendationsPerMessage :: Prelude.Maybe Prelude.Int,
UpdateRecommenderConfiguration -> Text
recommendationProviderUri :: Prelude.Text,
UpdateRecommenderConfiguration -> Text
recommendationProviderRoleArn :: Prelude.Text
}
deriving (UpdateRecommenderConfiguration
-> UpdateRecommenderConfiguration -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateRecommenderConfiguration
-> UpdateRecommenderConfiguration -> Bool
$c/= :: UpdateRecommenderConfiguration
-> UpdateRecommenderConfiguration -> Bool
== :: UpdateRecommenderConfiguration
-> UpdateRecommenderConfiguration -> Bool
$c== :: UpdateRecommenderConfiguration
-> UpdateRecommenderConfiguration -> Bool
Prelude.Eq, ReadPrec [UpdateRecommenderConfiguration]
ReadPrec UpdateRecommenderConfiguration
Int -> ReadS UpdateRecommenderConfiguration
ReadS [UpdateRecommenderConfiguration]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateRecommenderConfiguration]
$creadListPrec :: ReadPrec [UpdateRecommenderConfiguration]
readPrec :: ReadPrec UpdateRecommenderConfiguration
$creadPrec :: ReadPrec UpdateRecommenderConfiguration
readList :: ReadS [UpdateRecommenderConfiguration]
$creadList :: ReadS [UpdateRecommenderConfiguration]
readsPrec :: Int -> ReadS UpdateRecommenderConfiguration
$creadsPrec :: Int -> ReadS UpdateRecommenderConfiguration
Prelude.Read, Int -> UpdateRecommenderConfiguration -> ShowS
[UpdateRecommenderConfiguration] -> ShowS
UpdateRecommenderConfiguration -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateRecommenderConfiguration] -> ShowS
$cshowList :: [UpdateRecommenderConfiguration] -> ShowS
show :: UpdateRecommenderConfiguration -> String
$cshow :: UpdateRecommenderConfiguration -> String
showsPrec :: Int -> UpdateRecommenderConfiguration -> ShowS
$cshowsPrec :: Int -> UpdateRecommenderConfiguration -> ShowS
Prelude.Show, forall x.
Rep UpdateRecommenderConfiguration x
-> UpdateRecommenderConfiguration
forall x.
UpdateRecommenderConfiguration
-> Rep UpdateRecommenderConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateRecommenderConfiguration x
-> UpdateRecommenderConfiguration
$cfrom :: forall x.
UpdateRecommenderConfiguration
-> Rep UpdateRecommenderConfiguration x
Prelude.Generic)
newUpdateRecommenderConfiguration ::
Prelude.Text ->
Prelude.Text ->
UpdateRecommenderConfiguration
newUpdateRecommenderConfiguration :: Text -> Text -> UpdateRecommenderConfiguration
newUpdateRecommenderConfiguration
Text
pRecommendationProviderUri_
Text
pRecommendationProviderRoleArn_ =
UpdateRecommenderConfiguration'
{ $sel:attributes:UpdateRecommenderConfiguration' :: Maybe (HashMap Text Text)
attributes =
forall a. Maybe a
Prelude.Nothing,
$sel:description:UpdateRecommenderConfiguration' :: Maybe Text
description = forall a. Maybe a
Prelude.Nothing,
$sel:name:UpdateRecommenderConfiguration' :: Maybe Text
name = forall a. Maybe a
Prelude.Nothing,
$sel:recommendationProviderIdType:UpdateRecommenderConfiguration' :: Maybe Text
recommendationProviderIdType =
forall a. Maybe a
Prelude.Nothing,
$sel:recommendationTransformerUri:UpdateRecommenderConfiguration' :: Maybe Text
recommendationTransformerUri =
forall a. Maybe a
Prelude.Nothing,
$sel:recommendationsDisplayName:UpdateRecommenderConfiguration' :: Maybe Text
recommendationsDisplayName =
forall a. Maybe a
Prelude.Nothing,
$sel:recommendationsPerMessage:UpdateRecommenderConfiguration' :: Maybe Int
recommendationsPerMessage = forall a. Maybe a
Prelude.Nothing,
$sel:recommendationProviderUri:UpdateRecommenderConfiguration' :: Text
recommendationProviderUri =
Text
pRecommendationProviderUri_,
$sel:recommendationProviderRoleArn:UpdateRecommenderConfiguration' :: Text
recommendationProviderRoleArn =
Text
pRecommendationProviderRoleArn_
}
updateRecommenderConfiguration_attributes :: Lens.Lens' UpdateRecommenderConfiguration (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
updateRecommenderConfiguration_attributes :: Lens' UpdateRecommenderConfiguration (Maybe (HashMap Text Text))
updateRecommenderConfiguration_attributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateRecommenderConfiguration' {Maybe (HashMap Text Text)
attributes :: Maybe (HashMap Text Text)
$sel:attributes:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe (HashMap Text Text)
attributes} -> Maybe (HashMap Text Text)
attributes) (\s :: UpdateRecommenderConfiguration
s@UpdateRecommenderConfiguration' {} Maybe (HashMap Text Text)
a -> UpdateRecommenderConfiguration
s {$sel:attributes:UpdateRecommenderConfiguration' :: Maybe (HashMap Text Text)
attributes = Maybe (HashMap Text Text)
a} :: UpdateRecommenderConfiguration) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
updateRecommenderConfiguration_description :: Lens.Lens' UpdateRecommenderConfiguration (Prelude.Maybe Prelude.Text)
updateRecommenderConfiguration_description :: Lens' UpdateRecommenderConfiguration (Maybe Text)
updateRecommenderConfiguration_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateRecommenderConfiguration' {Maybe Text
description :: Maybe Text
$sel:description:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
description} -> Maybe Text
description) (\s :: UpdateRecommenderConfiguration
s@UpdateRecommenderConfiguration' {} Maybe Text
a -> UpdateRecommenderConfiguration
s {$sel:description:UpdateRecommenderConfiguration' :: Maybe Text
description = Maybe Text
a} :: UpdateRecommenderConfiguration)
updateRecommenderConfiguration_name :: Lens.Lens' UpdateRecommenderConfiguration (Prelude.Maybe Prelude.Text)
updateRecommenderConfiguration_name :: Lens' UpdateRecommenderConfiguration (Maybe Text)
updateRecommenderConfiguration_name = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateRecommenderConfiguration' {Maybe Text
name :: Maybe Text
$sel:name:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
name} -> Maybe Text
name) (\s :: UpdateRecommenderConfiguration
s@UpdateRecommenderConfiguration' {} Maybe Text
a -> UpdateRecommenderConfiguration
s {$sel:name:UpdateRecommenderConfiguration' :: Maybe Text
name = Maybe Text
a} :: UpdateRecommenderConfiguration)
updateRecommenderConfiguration_recommendationProviderIdType :: Lens.Lens' UpdateRecommenderConfiguration (Prelude.Maybe Prelude.Text)
updateRecommenderConfiguration_recommendationProviderIdType :: Lens' UpdateRecommenderConfiguration (Maybe Text)
updateRecommenderConfiguration_recommendationProviderIdType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateRecommenderConfiguration' {Maybe Text
recommendationProviderIdType :: Maybe Text
$sel:recommendationProviderIdType:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
recommendationProviderIdType} -> Maybe Text
recommendationProviderIdType) (\s :: UpdateRecommenderConfiguration
s@UpdateRecommenderConfiguration' {} Maybe Text
a -> UpdateRecommenderConfiguration
s {$sel:recommendationProviderIdType:UpdateRecommenderConfiguration' :: Maybe Text
recommendationProviderIdType = Maybe Text
a} :: UpdateRecommenderConfiguration)
updateRecommenderConfiguration_recommendationTransformerUri :: Lens.Lens' UpdateRecommenderConfiguration (Prelude.Maybe Prelude.Text)
updateRecommenderConfiguration_recommendationTransformerUri :: Lens' UpdateRecommenderConfiguration (Maybe Text)
updateRecommenderConfiguration_recommendationTransformerUri = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateRecommenderConfiguration' {Maybe Text
recommendationTransformerUri :: Maybe Text
$sel:recommendationTransformerUri:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
recommendationTransformerUri} -> Maybe Text
recommendationTransformerUri) (\s :: UpdateRecommenderConfiguration
s@UpdateRecommenderConfiguration' {} Maybe Text
a -> UpdateRecommenderConfiguration
s {$sel:recommendationTransformerUri:UpdateRecommenderConfiguration' :: Maybe Text
recommendationTransformerUri = Maybe Text
a} :: UpdateRecommenderConfiguration)
updateRecommenderConfiguration_recommendationsDisplayName :: Lens.Lens' UpdateRecommenderConfiguration (Prelude.Maybe Prelude.Text)
updateRecommenderConfiguration_recommendationsDisplayName :: Lens' UpdateRecommenderConfiguration (Maybe Text)
updateRecommenderConfiguration_recommendationsDisplayName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateRecommenderConfiguration' {Maybe Text
recommendationsDisplayName :: Maybe Text
$sel:recommendationsDisplayName:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
recommendationsDisplayName} -> Maybe Text
recommendationsDisplayName) (\s :: UpdateRecommenderConfiguration
s@UpdateRecommenderConfiguration' {} Maybe Text
a -> UpdateRecommenderConfiguration
s {$sel:recommendationsDisplayName:UpdateRecommenderConfiguration' :: Maybe Text
recommendationsDisplayName = Maybe Text
a} :: UpdateRecommenderConfiguration)
updateRecommenderConfiguration_recommendationsPerMessage :: Lens.Lens' UpdateRecommenderConfiguration (Prelude.Maybe Prelude.Int)
updateRecommenderConfiguration_recommendationsPerMessage :: Lens' UpdateRecommenderConfiguration (Maybe Int)
updateRecommenderConfiguration_recommendationsPerMessage = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateRecommenderConfiguration' {Maybe Int
recommendationsPerMessage :: Maybe Int
$sel:recommendationsPerMessage:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Int
recommendationsPerMessage} -> Maybe Int
recommendationsPerMessage) (\s :: UpdateRecommenderConfiguration
s@UpdateRecommenderConfiguration' {} Maybe Int
a -> UpdateRecommenderConfiguration
s {$sel:recommendationsPerMessage:UpdateRecommenderConfiguration' :: Maybe Int
recommendationsPerMessage = Maybe Int
a} :: UpdateRecommenderConfiguration)
updateRecommenderConfiguration_recommendationProviderUri :: Lens.Lens' UpdateRecommenderConfiguration Prelude.Text
updateRecommenderConfiguration_recommendationProviderUri :: Lens' UpdateRecommenderConfiguration Text
updateRecommenderConfiguration_recommendationProviderUri = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateRecommenderConfiguration' {Text
recommendationProviderUri :: Text
$sel:recommendationProviderUri:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Text
recommendationProviderUri} -> Text
recommendationProviderUri) (\s :: UpdateRecommenderConfiguration
s@UpdateRecommenderConfiguration' {} Text
a -> UpdateRecommenderConfiguration
s {$sel:recommendationProviderUri:UpdateRecommenderConfiguration' :: Text
recommendationProviderUri = Text
a} :: UpdateRecommenderConfiguration)
updateRecommenderConfiguration_recommendationProviderRoleArn :: Lens.Lens' UpdateRecommenderConfiguration Prelude.Text
updateRecommenderConfiguration_recommendationProviderRoleArn :: Lens' UpdateRecommenderConfiguration Text
updateRecommenderConfiguration_recommendationProviderRoleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateRecommenderConfiguration' {Text
recommendationProviderRoleArn :: Text
$sel:recommendationProviderRoleArn:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Text
recommendationProviderRoleArn} -> Text
recommendationProviderRoleArn) (\s :: UpdateRecommenderConfiguration
s@UpdateRecommenderConfiguration' {} Text
a -> UpdateRecommenderConfiguration
s {$sel:recommendationProviderRoleArn:UpdateRecommenderConfiguration' :: Text
recommendationProviderRoleArn = Text
a} :: UpdateRecommenderConfiguration)
instance
Prelude.Hashable
UpdateRecommenderConfiguration
where
hashWithSalt :: Int -> UpdateRecommenderConfiguration -> Int
hashWithSalt
Int
_salt
UpdateRecommenderConfiguration' {Maybe Int
Maybe Text
Maybe (HashMap Text Text)
Text
recommendationProviderRoleArn :: Text
recommendationProviderUri :: Text
recommendationsPerMessage :: Maybe Int
recommendationsDisplayName :: Maybe Text
recommendationTransformerUri :: Maybe Text
recommendationProviderIdType :: Maybe Text
name :: Maybe Text
description :: Maybe Text
attributes :: Maybe (HashMap Text Text)
$sel:recommendationProviderRoleArn:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Text
$sel:recommendationProviderUri:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Text
$sel:recommendationsPerMessage:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Int
$sel:recommendationsDisplayName:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:recommendationTransformerUri:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:recommendationProviderIdType:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:name:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:description:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:attributes:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe (HashMap Text Text)
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (HashMap Text Text)
attributes
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
description
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
name
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
recommendationProviderIdType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
recommendationTransformerUri
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
recommendationsDisplayName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
recommendationsPerMessage
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
recommendationProviderUri
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
recommendationProviderRoleArn
instance
Prelude.NFData
UpdateRecommenderConfiguration
where
rnf :: UpdateRecommenderConfiguration -> ()
rnf UpdateRecommenderConfiguration' {Maybe Int
Maybe Text
Maybe (HashMap Text Text)
Text
recommendationProviderRoleArn :: Text
recommendationProviderUri :: Text
recommendationsPerMessage :: Maybe Int
recommendationsDisplayName :: Maybe Text
recommendationTransformerUri :: Maybe Text
recommendationProviderIdType :: Maybe Text
name :: Maybe Text
description :: Maybe Text
attributes :: Maybe (HashMap Text Text)
$sel:recommendationProviderRoleArn:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Text
$sel:recommendationProviderUri:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Text
$sel:recommendationsPerMessage:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Int
$sel:recommendationsDisplayName:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:recommendationTransformerUri:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:recommendationProviderIdType:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:name:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:description:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:attributes:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe (HashMap Text Text)
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe (HashMap Text Text)
attributes
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
description
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
name
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
recommendationProviderIdType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
recommendationTransformerUri
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
recommendationsDisplayName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
recommendationsPerMessage
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
recommendationProviderUri
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
recommendationProviderRoleArn
instance Data.ToJSON UpdateRecommenderConfiguration where
toJSON :: UpdateRecommenderConfiguration -> Value
toJSON UpdateRecommenderConfiguration' {Maybe Int
Maybe Text
Maybe (HashMap Text Text)
Text
recommendationProviderRoleArn :: Text
recommendationProviderUri :: Text
recommendationsPerMessage :: Maybe Int
recommendationsDisplayName :: Maybe Text
recommendationTransformerUri :: Maybe Text
recommendationProviderIdType :: Maybe Text
name :: Maybe Text
description :: Maybe Text
attributes :: Maybe (HashMap Text Text)
$sel:recommendationProviderRoleArn:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Text
$sel:recommendationProviderUri:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Text
$sel:recommendationsPerMessage:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Int
$sel:recommendationsDisplayName:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:recommendationTransformerUri:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:recommendationProviderIdType:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:name:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:description:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe Text
$sel:attributes:UpdateRecommenderConfiguration' :: UpdateRecommenderConfiguration -> Maybe (HashMap Text Text)
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"Attributes" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (HashMap Text Text)
attributes,
(Key
"Description" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
description,
(Key
"Name" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
name,
(Key
"RecommendationProviderIdType" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
recommendationProviderIdType,
(Key
"RecommendationTransformerUri" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
recommendationTransformerUri,
(Key
"RecommendationsDisplayName" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
recommendationsDisplayName,
(Key
"RecommendationsPerMessage" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Int
recommendationsPerMessage,
forall a. a -> Maybe a
Prelude.Just
( Key
"RecommendationProviderUri"
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
recommendationProviderUri
),
forall a. a -> Maybe a
Prelude.Just
( Key
"RecommendationProviderRoleArn"
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
recommendationProviderRoleArn
)
]
)