{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.QuickSight.Types.RegisteredUserEmbeddingExperienceConfiguration
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.QuickSight.Types.RegisteredUserEmbeddingExperienceConfiguration where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.QuickSight.Types.RegisteredUserDashboardEmbeddingConfiguration
import Amazonka.QuickSight.Types.RegisteredUserQSearchBarEmbeddingConfiguration
import Amazonka.QuickSight.Types.RegisteredUserQuickSightConsoleEmbeddingConfiguration

-- | The type of experience you want to embed. For registered users, you can
-- embed an Amazon QuickSight dashboard or the Amazon QuickSight console.
--
-- Exactly one of the experience configurations is required. You can choose
-- @Dashboard@ or @QuickSightConsole@. You cannot choose more than one
-- experience configuraton.
--
-- /See:/ 'newRegisteredUserEmbeddingExperienceConfiguration' smart constructor.
data RegisteredUserEmbeddingExperienceConfiguration = RegisteredUserEmbeddingExperienceConfiguration'
  { -- | The configuration details for providing a dashboard embedding
    -- experience.
    RegisteredUserEmbeddingExperienceConfiguration
-> Maybe RegisteredUserDashboardEmbeddingConfiguration
dashboard :: Prelude.Maybe RegisteredUserDashboardEmbeddingConfiguration,
    -- | The configuration details for providing an Amazon QuickSight console
    -- embedding experience. This can be used along with custom permissions to
    -- restrict access to certain features. For more information, see
    -- <https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html Customizing Access to the Amazon QuickSight Console>
    -- in the /Amazon QuickSight User Guide/.
    --
    -- Use @GenerateEmbedUrlForRegisteredUser@ where you want to provide an
    -- authoring portal that allows users to create data sources, datasets,
    -- analyses, and dashboards. The users who accesses an embedded Amazon
    -- QuickSight console needs to belong to the author or admin security
    -- cohort. If you want to restrict permissions to some of these features,
    -- add a custom permissions profile to the user with the @ UpdateUser @ API
    -- operation. Use @ RegisterUser @ API operation to add a new user with a
    -- custom permission profile attached. For more information, see the
    -- following sections in the /Amazon QuickSight User Guide/:
    --
    -- -   <https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-full-console-for-authenticated-users.html Embedding the Full Functionality of the Amazon QuickSight Console for Authenticated Users>
    --
    -- -   <https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html Customizing Access to the Amazon QuickSight Console>
    --
    -- For more information about the high-level steps for embedding and for an
    -- interactive demo of the ways you can customize embedding, visit the
    -- <https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html Amazon QuickSight Developer Portal>.
    RegisteredUserEmbeddingExperienceConfiguration
-> Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
quickSightConsole :: Prelude.Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration,
    -- | The configuration details for embedding the Q search bar.
    --
    -- For more information about embedding the Q search bar, see
    -- <https://docs.aws.amazon.com/quicksight/latest/user/embedding-overview.html Embedding Overview>.
    RegisteredUserEmbeddingExperienceConfiguration
-> Maybe RegisteredUserQSearchBarEmbeddingConfiguration
qSearchBar :: Prelude.Maybe RegisteredUserQSearchBarEmbeddingConfiguration
  }
  deriving (RegisteredUserEmbeddingExperienceConfiguration
-> RegisteredUserEmbeddingExperienceConfiguration -> Bool
(RegisteredUserEmbeddingExperienceConfiguration
 -> RegisteredUserEmbeddingExperienceConfiguration -> Bool)
-> (RegisteredUserEmbeddingExperienceConfiguration
    -> RegisteredUserEmbeddingExperienceConfiguration -> Bool)
-> Eq RegisteredUserEmbeddingExperienceConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RegisteredUserEmbeddingExperienceConfiguration
-> RegisteredUserEmbeddingExperienceConfiguration -> Bool
$c/= :: RegisteredUserEmbeddingExperienceConfiguration
-> RegisteredUserEmbeddingExperienceConfiguration -> Bool
== :: RegisteredUserEmbeddingExperienceConfiguration
-> RegisteredUserEmbeddingExperienceConfiguration -> Bool
$c== :: RegisteredUserEmbeddingExperienceConfiguration
-> RegisteredUserEmbeddingExperienceConfiguration -> Bool
Prelude.Eq, ReadPrec [RegisteredUserEmbeddingExperienceConfiguration]
ReadPrec RegisteredUserEmbeddingExperienceConfiguration
Int -> ReadS RegisteredUserEmbeddingExperienceConfiguration
ReadS [RegisteredUserEmbeddingExperienceConfiguration]
(Int -> ReadS RegisteredUserEmbeddingExperienceConfiguration)
-> ReadS [RegisteredUserEmbeddingExperienceConfiguration]
-> ReadPrec RegisteredUserEmbeddingExperienceConfiguration
-> ReadPrec [RegisteredUserEmbeddingExperienceConfiguration]
-> Read RegisteredUserEmbeddingExperienceConfiguration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RegisteredUserEmbeddingExperienceConfiguration]
$creadListPrec :: ReadPrec [RegisteredUserEmbeddingExperienceConfiguration]
readPrec :: ReadPrec RegisteredUserEmbeddingExperienceConfiguration
$creadPrec :: ReadPrec RegisteredUserEmbeddingExperienceConfiguration
readList :: ReadS [RegisteredUserEmbeddingExperienceConfiguration]
$creadList :: ReadS [RegisteredUserEmbeddingExperienceConfiguration]
readsPrec :: Int -> ReadS RegisteredUserEmbeddingExperienceConfiguration
$creadsPrec :: Int -> ReadS RegisteredUserEmbeddingExperienceConfiguration
Prelude.Read, Int -> RegisteredUserEmbeddingExperienceConfiguration -> ShowS
[RegisteredUserEmbeddingExperienceConfiguration] -> ShowS
RegisteredUserEmbeddingExperienceConfiguration -> String
(Int -> RegisteredUserEmbeddingExperienceConfiguration -> ShowS)
-> (RegisteredUserEmbeddingExperienceConfiguration -> String)
-> ([RegisteredUserEmbeddingExperienceConfiguration] -> ShowS)
-> Show RegisteredUserEmbeddingExperienceConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RegisteredUserEmbeddingExperienceConfiguration] -> ShowS
$cshowList :: [RegisteredUserEmbeddingExperienceConfiguration] -> ShowS
show :: RegisteredUserEmbeddingExperienceConfiguration -> String
$cshow :: RegisteredUserEmbeddingExperienceConfiguration -> String
showsPrec :: Int -> RegisteredUserEmbeddingExperienceConfiguration -> ShowS
$cshowsPrec :: Int -> RegisteredUserEmbeddingExperienceConfiguration -> ShowS
Prelude.Show, (forall x.
 RegisteredUserEmbeddingExperienceConfiguration
 -> Rep RegisteredUserEmbeddingExperienceConfiguration x)
-> (forall x.
    Rep RegisteredUserEmbeddingExperienceConfiguration x
    -> RegisteredUserEmbeddingExperienceConfiguration)
-> Generic RegisteredUserEmbeddingExperienceConfiguration
forall x.
Rep RegisteredUserEmbeddingExperienceConfiguration x
-> RegisteredUserEmbeddingExperienceConfiguration
forall x.
RegisteredUserEmbeddingExperienceConfiguration
-> Rep RegisteredUserEmbeddingExperienceConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep RegisteredUserEmbeddingExperienceConfiguration x
-> RegisteredUserEmbeddingExperienceConfiguration
$cfrom :: forall x.
RegisteredUserEmbeddingExperienceConfiguration
-> Rep RegisteredUserEmbeddingExperienceConfiguration x
Prelude.Generic)

-- |
-- Create a value of 'RegisteredUserEmbeddingExperienceConfiguration' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'dashboard', 'registeredUserEmbeddingExperienceConfiguration_dashboard' - The configuration details for providing a dashboard embedding
-- experience.
--
-- 'quickSightConsole', 'registeredUserEmbeddingExperienceConfiguration_quickSightConsole' - The configuration details for providing an Amazon QuickSight console
-- embedding experience. This can be used along with custom permissions to
-- restrict access to certain features. For more information, see
-- <https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html Customizing Access to the Amazon QuickSight Console>
-- in the /Amazon QuickSight User Guide/.
--
-- Use @GenerateEmbedUrlForRegisteredUser@ where you want to provide an
-- authoring portal that allows users to create data sources, datasets,
-- analyses, and dashboards. The users who accesses an embedded Amazon
-- QuickSight console needs to belong to the author or admin security
-- cohort. If you want to restrict permissions to some of these features,
-- add a custom permissions profile to the user with the @ UpdateUser @ API
-- operation. Use @ RegisterUser @ API operation to add a new user with a
-- custom permission profile attached. For more information, see the
-- following sections in the /Amazon QuickSight User Guide/:
--
-- -   <https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-full-console-for-authenticated-users.html Embedding the Full Functionality of the Amazon QuickSight Console for Authenticated Users>
--
-- -   <https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html Customizing Access to the Amazon QuickSight Console>
--
-- For more information about the high-level steps for embedding and for an
-- interactive demo of the ways you can customize embedding, visit the
-- <https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html Amazon QuickSight Developer Portal>.
--
-- 'qSearchBar', 'registeredUserEmbeddingExperienceConfiguration_qSearchBar' - The configuration details for embedding the Q search bar.
--
-- For more information about embedding the Q search bar, see
-- <https://docs.aws.amazon.com/quicksight/latest/user/embedding-overview.html Embedding Overview>.
newRegisteredUserEmbeddingExperienceConfiguration ::
  RegisteredUserEmbeddingExperienceConfiguration
newRegisteredUserEmbeddingExperienceConfiguration :: RegisteredUserEmbeddingExperienceConfiguration
newRegisteredUserEmbeddingExperienceConfiguration =
  RegisteredUserEmbeddingExperienceConfiguration' :: Maybe RegisteredUserDashboardEmbeddingConfiguration
-> Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
-> Maybe RegisteredUserQSearchBarEmbeddingConfiguration
-> RegisteredUserEmbeddingExperienceConfiguration
RegisteredUserEmbeddingExperienceConfiguration'
    { $sel:dashboard:RegisteredUserEmbeddingExperienceConfiguration' :: Maybe RegisteredUserDashboardEmbeddingConfiguration
dashboard =
        Maybe RegisteredUserDashboardEmbeddingConfiguration
forall a. Maybe a
Prelude.Nothing,
      $sel:quickSightConsole:RegisteredUserEmbeddingExperienceConfiguration' :: Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
quickSightConsole =
        Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
forall a. Maybe a
Prelude.Nothing,
      $sel:qSearchBar:RegisteredUserEmbeddingExperienceConfiguration' :: Maybe RegisteredUserQSearchBarEmbeddingConfiguration
qSearchBar =
        Maybe RegisteredUserQSearchBarEmbeddingConfiguration
forall a. Maybe a
Prelude.Nothing
    }

-- | The configuration details for providing a dashboard embedding
-- experience.
registeredUserEmbeddingExperienceConfiguration_dashboard :: Lens.Lens' RegisteredUserEmbeddingExperienceConfiguration (Prelude.Maybe RegisteredUserDashboardEmbeddingConfiguration)
registeredUserEmbeddingExperienceConfiguration_dashboard :: (Maybe RegisteredUserDashboardEmbeddingConfiguration
 -> f (Maybe RegisteredUserDashboardEmbeddingConfiguration))
-> RegisteredUserEmbeddingExperienceConfiguration
-> f RegisteredUserEmbeddingExperienceConfiguration
registeredUserEmbeddingExperienceConfiguration_dashboard = (RegisteredUserEmbeddingExperienceConfiguration
 -> Maybe RegisteredUserDashboardEmbeddingConfiguration)
-> (RegisteredUserEmbeddingExperienceConfiguration
    -> Maybe RegisteredUserDashboardEmbeddingConfiguration
    -> RegisteredUserEmbeddingExperienceConfiguration)
-> Lens
     RegisteredUserEmbeddingExperienceConfiguration
     RegisteredUserEmbeddingExperienceConfiguration
     (Maybe RegisteredUserDashboardEmbeddingConfiguration)
     (Maybe RegisteredUserDashboardEmbeddingConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisteredUserEmbeddingExperienceConfiguration' {Maybe RegisteredUserDashboardEmbeddingConfiguration
dashboard :: Maybe RegisteredUserDashboardEmbeddingConfiguration
$sel:dashboard:RegisteredUserEmbeddingExperienceConfiguration' :: RegisteredUserEmbeddingExperienceConfiguration
-> Maybe RegisteredUserDashboardEmbeddingConfiguration
dashboard} -> Maybe RegisteredUserDashboardEmbeddingConfiguration
dashboard) (\s :: RegisteredUserEmbeddingExperienceConfiguration
s@RegisteredUserEmbeddingExperienceConfiguration' {} Maybe RegisteredUserDashboardEmbeddingConfiguration
a -> RegisteredUserEmbeddingExperienceConfiguration
s {$sel:dashboard:RegisteredUserEmbeddingExperienceConfiguration' :: Maybe RegisteredUserDashboardEmbeddingConfiguration
dashboard = Maybe RegisteredUserDashboardEmbeddingConfiguration
a} :: RegisteredUserEmbeddingExperienceConfiguration)

-- | The configuration details for providing an Amazon QuickSight console
-- embedding experience. This can be used along with custom permissions to
-- restrict access to certain features. For more information, see
-- <https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html Customizing Access to the Amazon QuickSight Console>
-- in the /Amazon QuickSight User Guide/.
--
-- Use @GenerateEmbedUrlForRegisteredUser@ where you want to provide an
-- authoring portal that allows users to create data sources, datasets,
-- analyses, and dashboards. The users who accesses an embedded Amazon
-- QuickSight console needs to belong to the author or admin security
-- cohort. If you want to restrict permissions to some of these features,
-- add a custom permissions profile to the user with the @ UpdateUser @ API
-- operation. Use @ RegisterUser @ API operation to add a new user with a
-- custom permission profile attached. For more information, see the
-- following sections in the /Amazon QuickSight User Guide/:
--
-- -   <https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-full-console-for-authenticated-users.html Embedding the Full Functionality of the Amazon QuickSight Console for Authenticated Users>
--
-- -   <https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html Customizing Access to the Amazon QuickSight Console>
--
-- For more information about the high-level steps for embedding and for an
-- interactive demo of the ways you can customize embedding, visit the
-- <https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html Amazon QuickSight Developer Portal>.
registeredUserEmbeddingExperienceConfiguration_quickSightConsole :: Lens.Lens' RegisteredUserEmbeddingExperienceConfiguration (Prelude.Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration)
registeredUserEmbeddingExperienceConfiguration_quickSightConsole :: (Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
 -> f (Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration))
-> RegisteredUserEmbeddingExperienceConfiguration
-> f RegisteredUserEmbeddingExperienceConfiguration
registeredUserEmbeddingExperienceConfiguration_quickSightConsole = (RegisteredUserEmbeddingExperienceConfiguration
 -> Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration)
-> (RegisteredUserEmbeddingExperienceConfiguration
    -> Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
    -> RegisteredUserEmbeddingExperienceConfiguration)
-> Lens
     RegisteredUserEmbeddingExperienceConfiguration
     RegisteredUserEmbeddingExperienceConfiguration
     (Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration)
     (Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisteredUserEmbeddingExperienceConfiguration' {Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
quickSightConsole :: Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
$sel:quickSightConsole:RegisteredUserEmbeddingExperienceConfiguration' :: RegisteredUserEmbeddingExperienceConfiguration
-> Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
quickSightConsole} -> Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
quickSightConsole) (\s :: RegisteredUserEmbeddingExperienceConfiguration
s@RegisteredUserEmbeddingExperienceConfiguration' {} Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
a -> RegisteredUserEmbeddingExperienceConfiguration
s {$sel:quickSightConsole:RegisteredUserEmbeddingExperienceConfiguration' :: Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
quickSightConsole = Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
a} :: RegisteredUserEmbeddingExperienceConfiguration)

-- | The configuration details for embedding the Q search bar.
--
-- For more information about embedding the Q search bar, see
-- <https://docs.aws.amazon.com/quicksight/latest/user/embedding-overview.html Embedding Overview>.
registeredUserEmbeddingExperienceConfiguration_qSearchBar :: Lens.Lens' RegisteredUserEmbeddingExperienceConfiguration (Prelude.Maybe RegisteredUserQSearchBarEmbeddingConfiguration)
registeredUserEmbeddingExperienceConfiguration_qSearchBar :: (Maybe RegisteredUserQSearchBarEmbeddingConfiguration
 -> f (Maybe RegisteredUserQSearchBarEmbeddingConfiguration))
-> RegisteredUserEmbeddingExperienceConfiguration
-> f RegisteredUserEmbeddingExperienceConfiguration
registeredUserEmbeddingExperienceConfiguration_qSearchBar = (RegisteredUserEmbeddingExperienceConfiguration
 -> Maybe RegisteredUserQSearchBarEmbeddingConfiguration)
-> (RegisteredUserEmbeddingExperienceConfiguration
    -> Maybe RegisteredUserQSearchBarEmbeddingConfiguration
    -> RegisteredUserEmbeddingExperienceConfiguration)
-> Lens
     RegisteredUserEmbeddingExperienceConfiguration
     RegisteredUserEmbeddingExperienceConfiguration
     (Maybe RegisteredUserQSearchBarEmbeddingConfiguration)
     (Maybe RegisteredUserQSearchBarEmbeddingConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisteredUserEmbeddingExperienceConfiguration' {Maybe RegisteredUserQSearchBarEmbeddingConfiguration
qSearchBar :: Maybe RegisteredUserQSearchBarEmbeddingConfiguration
$sel:qSearchBar:RegisteredUserEmbeddingExperienceConfiguration' :: RegisteredUserEmbeddingExperienceConfiguration
-> Maybe RegisteredUserQSearchBarEmbeddingConfiguration
qSearchBar} -> Maybe RegisteredUserQSearchBarEmbeddingConfiguration
qSearchBar) (\s :: RegisteredUserEmbeddingExperienceConfiguration
s@RegisteredUserEmbeddingExperienceConfiguration' {} Maybe RegisteredUserQSearchBarEmbeddingConfiguration
a -> RegisteredUserEmbeddingExperienceConfiguration
s {$sel:qSearchBar:RegisteredUserEmbeddingExperienceConfiguration' :: Maybe RegisteredUserQSearchBarEmbeddingConfiguration
qSearchBar = Maybe RegisteredUserQSearchBarEmbeddingConfiguration
a} :: RegisteredUserEmbeddingExperienceConfiguration)

instance
  Prelude.Hashable
    RegisteredUserEmbeddingExperienceConfiguration

instance
  Prelude.NFData
    RegisteredUserEmbeddingExperienceConfiguration

instance
  Core.ToJSON
    RegisteredUserEmbeddingExperienceConfiguration
  where
  toJSON :: RegisteredUserEmbeddingExperienceConfiguration -> Value
toJSON
    RegisteredUserEmbeddingExperienceConfiguration' {Maybe RegisteredUserDashboardEmbeddingConfiguration
Maybe RegisteredUserQSearchBarEmbeddingConfiguration
Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
qSearchBar :: Maybe RegisteredUserQSearchBarEmbeddingConfiguration
quickSightConsole :: Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
dashboard :: Maybe RegisteredUserDashboardEmbeddingConfiguration
$sel:qSearchBar:RegisteredUserEmbeddingExperienceConfiguration' :: RegisteredUserEmbeddingExperienceConfiguration
-> Maybe RegisteredUserQSearchBarEmbeddingConfiguration
$sel:quickSightConsole:RegisteredUserEmbeddingExperienceConfiguration' :: RegisteredUserEmbeddingExperienceConfiguration
-> Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
$sel:dashboard:RegisteredUserEmbeddingExperienceConfiguration' :: RegisteredUserEmbeddingExperienceConfiguration
-> Maybe RegisteredUserDashboardEmbeddingConfiguration
..} =
      [Pair] -> Value
Core.object
        ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
            [ (Text
"Dashboard" Text -> RegisteredUserDashboardEmbeddingConfiguration -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (RegisteredUserDashboardEmbeddingConfiguration -> Pair)
-> Maybe RegisteredUserDashboardEmbeddingConfiguration
-> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RegisteredUserDashboardEmbeddingConfiguration
dashboard,
              (Text
"QuickSightConsole" Text
-> RegisteredUserQuickSightConsoleEmbeddingConfiguration -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
                (RegisteredUserQuickSightConsoleEmbeddingConfiguration -> Pair)
-> Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
-> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RegisteredUserQuickSightConsoleEmbeddingConfiguration
quickSightConsole,
              (Text
"QSearchBar" Text -> RegisteredUserQSearchBarEmbeddingConfiguration -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (RegisteredUserQSearchBarEmbeddingConfiguration -> Pair)
-> Maybe RegisteredUserQSearchBarEmbeddingConfiguration
-> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RegisteredUserQSearchBarEmbeddingConfiguration
qSearchBar
            ]
        )