{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

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

-- |
-- Module      : Amazonka.CognitoIdentityProvider.SetUICustomization
-- 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)
--
-- Sets the UI customization information for a user pool\'s built-in app
-- UI.
--
-- You can specify app UI customization settings for a single client (with
-- a specific @clientId@) or for all clients (by setting the @clientId@ to
-- @ALL@). If you specify @ALL@, the default configuration will be used for
-- every client that has no UI customization set previously. If you specify
-- UI customization settings for a particular client, it will no longer
-- fall back to the @ALL@ configuration.
--
-- To use this API, your user pool must have a domain associated with it.
-- Otherwise, there is no place to host the app\'s pages, and the service
-- will throw an error.
module Amazonka.CognitoIdentityProvider.SetUICustomization
  ( -- * Creating a Request
    SetUICustomization (..),
    newSetUICustomization,

    -- * Request Lenses
    setUICustomization_clientId,
    setUICustomization_css,
    setUICustomization_imageFile,
    setUICustomization_userPoolId,

    -- * Destructuring the Response
    SetUICustomizationResponse (..),
    newSetUICustomizationResponse,

    -- * Response Lenses
    setUICustomizationResponse_httpStatus,
    setUICustomizationResponse_uICustomization,
  )
where

import Amazonka.CognitoIdentityProvider.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | /See:/ 'newSetUICustomization' smart constructor.
data SetUICustomization = SetUICustomization'
  { -- | The client ID for the client app.
    SetUICustomization -> Maybe (Sensitive Text)
clientId :: Prelude.Maybe (Core.Sensitive Prelude.Text),
    -- | The CSS values in the UI customization.
    SetUICustomization -> Maybe Text
css :: Prelude.Maybe Prelude.Text,
    -- | The uploaded logo image for the UI customization.
    SetUICustomization -> Maybe Base64
imageFile :: Prelude.Maybe Core.Base64,
    -- | The user pool ID for the user pool.
    SetUICustomization -> Text
userPoolId :: Prelude.Text
  }
  deriving (SetUICustomization -> SetUICustomization -> Bool
(SetUICustomization -> SetUICustomization -> Bool)
-> (SetUICustomization -> SetUICustomization -> Bool)
-> Eq SetUICustomization
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SetUICustomization -> SetUICustomization -> Bool
$c/= :: SetUICustomization -> SetUICustomization -> Bool
== :: SetUICustomization -> SetUICustomization -> Bool
$c== :: SetUICustomization -> SetUICustomization -> Bool
Prelude.Eq, Int -> SetUICustomization -> ShowS
[SetUICustomization] -> ShowS
SetUICustomization -> String
(Int -> SetUICustomization -> ShowS)
-> (SetUICustomization -> String)
-> ([SetUICustomization] -> ShowS)
-> Show SetUICustomization
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SetUICustomization] -> ShowS
$cshowList :: [SetUICustomization] -> ShowS
show :: SetUICustomization -> String
$cshow :: SetUICustomization -> String
showsPrec :: Int -> SetUICustomization -> ShowS
$cshowsPrec :: Int -> SetUICustomization -> ShowS
Prelude.Show, (forall x. SetUICustomization -> Rep SetUICustomization x)
-> (forall x. Rep SetUICustomization x -> SetUICustomization)
-> Generic SetUICustomization
forall x. Rep SetUICustomization x -> SetUICustomization
forall x. SetUICustomization -> Rep SetUICustomization x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SetUICustomization x -> SetUICustomization
$cfrom :: forall x. SetUICustomization -> Rep SetUICustomization x
Prelude.Generic)

-- |
-- Create a value of 'SetUICustomization' 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:
--
-- 'clientId', 'setUICustomization_clientId' - The client ID for the client app.
--
-- 'css', 'setUICustomization_css' - The CSS values in the UI customization.
--
-- 'imageFile', 'setUICustomization_imageFile' - The uploaded logo image for the UI customization.--
-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.
-- -- The underlying isomorphism will encode to Base64 representation during
-- -- serialisation, and decode from Base64 representation during deserialisation.
-- -- This 'Lens' accepts and returns only raw unencoded data.
--
-- 'userPoolId', 'setUICustomization_userPoolId' - The user pool ID for the user pool.
newSetUICustomization ::
  -- | 'userPoolId'
  Prelude.Text ->
  SetUICustomization
newSetUICustomization :: Text -> SetUICustomization
newSetUICustomization Text
pUserPoolId_ =
  SetUICustomization' :: Maybe (Sensitive Text)
-> Maybe Text -> Maybe Base64 -> Text -> SetUICustomization
SetUICustomization'
    { $sel:clientId:SetUICustomization' :: Maybe (Sensitive Text)
clientId = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
      $sel:css:SetUICustomization' :: Maybe Text
css = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:imageFile:SetUICustomization' :: Maybe Base64
imageFile = Maybe Base64
forall a. Maybe a
Prelude.Nothing,
      $sel:userPoolId:SetUICustomization' :: Text
userPoolId = Text
pUserPoolId_
    }

-- | The client ID for the client app.
setUICustomization_clientId :: Lens.Lens' SetUICustomization (Prelude.Maybe Prelude.Text)
setUICustomization_clientId :: (Maybe Text -> f (Maybe Text))
-> SetUICustomization -> f SetUICustomization
setUICustomization_clientId = (SetUICustomization -> Maybe (Sensitive Text))
-> (SetUICustomization
    -> Maybe (Sensitive Text) -> SetUICustomization)
-> Lens
     SetUICustomization
     SetUICustomization
     (Maybe (Sensitive Text))
     (Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SetUICustomization' {Maybe (Sensitive Text)
clientId :: Maybe (Sensitive Text)
$sel:clientId:SetUICustomization' :: SetUICustomization -> Maybe (Sensitive Text)
clientId} -> Maybe (Sensitive Text)
clientId) (\s :: SetUICustomization
s@SetUICustomization' {} Maybe (Sensitive Text)
a -> SetUICustomization
s {$sel:clientId:SetUICustomization' :: Maybe (Sensitive Text)
clientId = Maybe (Sensitive Text)
a} :: SetUICustomization) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
 -> SetUICustomization -> f SetUICustomization)
-> ((Maybe Text -> f (Maybe Text))
    -> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> SetUICustomization
-> f SetUICustomization
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
     (Maybe (Sensitive Text))
     (Maybe (Sensitive Text))
     (Maybe Text)
     (Maybe Text)
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 AnIso (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive

-- | The CSS values in the UI customization.
setUICustomization_css :: Lens.Lens' SetUICustomization (Prelude.Maybe Prelude.Text)
setUICustomization_css :: (Maybe Text -> f (Maybe Text))
-> SetUICustomization -> f SetUICustomization
setUICustomization_css = (SetUICustomization -> Maybe Text)
-> (SetUICustomization -> Maybe Text -> SetUICustomization)
-> Lens
     SetUICustomization SetUICustomization (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SetUICustomization' {Maybe Text
css :: Maybe Text
$sel:css:SetUICustomization' :: SetUICustomization -> Maybe Text
css} -> Maybe Text
css) (\s :: SetUICustomization
s@SetUICustomization' {} Maybe Text
a -> SetUICustomization
s {$sel:css:SetUICustomization' :: Maybe Text
css = Maybe Text
a} :: SetUICustomization)

-- | The uploaded logo image for the UI customization.--
-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.
-- -- The underlying isomorphism will encode to Base64 representation during
-- -- serialisation, and decode from Base64 representation during deserialisation.
-- -- This 'Lens' accepts and returns only raw unencoded data.
setUICustomization_imageFile :: Lens.Lens' SetUICustomization (Prelude.Maybe Prelude.ByteString)
setUICustomization_imageFile :: (Maybe ByteString -> f (Maybe ByteString))
-> SetUICustomization -> f SetUICustomization
setUICustomization_imageFile = (SetUICustomization -> Maybe Base64)
-> (SetUICustomization -> Maybe Base64 -> SetUICustomization)
-> Lens
     SetUICustomization SetUICustomization (Maybe Base64) (Maybe Base64)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SetUICustomization' {Maybe Base64
imageFile :: Maybe Base64
$sel:imageFile:SetUICustomization' :: SetUICustomization -> Maybe Base64
imageFile} -> Maybe Base64
imageFile) (\s :: SetUICustomization
s@SetUICustomization' {} Maybe Base64
a -> SetUICustomization
s {$sel:imageFile:SetUICustomization' :: Maybe Base64
imageFile = Maybe Base64
a} :: SetUICustomization) ((Maybe Base64 -> f (Maybe Base64))
 -> SetUICustomization -> f SetUICustomization)
-> ((Maybe ByteString -> f (Maybe ByteString))
    -> Maybe Base64 -> f (Maybe Base64))
-> (Maybe ByteString -> f (Maybe ByteString))
-> SetUICustomization
-> f SetUICustomization
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso Base64 Base64 ByteString ByteString
-> Iso
     (Maybe Base64) (Maybe Base64) (Maybe ByteString) (Maybe ByteString)
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 AnIso Base64 Base64 ByteString ByteString
Iso' Base64 ByteString
Core._Base64

-- | The user pool ID for the user pool.
setUICustomization_userPoolId :: Lens.Lens' SetUICustomization Prelude.Text
setUICustomization_userPoolId :: (Text -> f Text) -> SetUICustomization -> f SetUICustomization
setUICustomization_userPoolId = (SetUICustomization -> Text)
-> (SetUICustomization -> Text -> SetUICustomization)
-> Lens SetUICustomization SetUICustomization Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SetUICustomization' {Text
userPoolId :: Text
$sel:userPoolId:SetUICustomization' :: SetUICustomization -> Text
userPoolId} -> Text
userPoolId) (\s :: SetUICustomization
s@SetUICustomization' {} Text
a -> SetUICustomization
s {$sel:userPoolId:SetUICustomization' :: Text
userPoolId = Text
a} :: SetUICustomization)

instance Core.AWSRequest SetUICustomization where
  type
    AWSResponse SetUICustomization =
      SetUICustomizationResponse
  request :: SetUICustomization -> Request SetUICustomization
request = Service -> SetUICustomization -> Request SetUICustomization
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy SetUICustomization
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse SetUICustomization)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse SetUICustomization))
-> Logger
-> Service
-> Proxy SetUICustomization
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse SetUICustomization)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
      ( \Int
s ResponseHeaders
h Object
x ->
          Int -> UICustomizationType -> SetUICustomizationResponse
SetUICustomizationResponse'
            (Int -> UICustomizationType -> SetUICustomizationResponse)
-> Either String Int
-> Either
     String (UICustomizationType -> SetUICustomizationResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
            Either String (UICustomizationType -> SetUICustomizationResponse)
-> Either String UICustomizationType
-> Either String SetUICustomizationResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String UICustomizationType
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"UICustomization")
      )

instance Prelude.Hashable SetUICustomization

instance Prelude.NFData SetUICustomization

instance Core.ToHeaders SetUICustomization where
  toHeaders :: SetUICustomization -> ResponseHeaders
toHeaders =
    ResponseHeaders -> SetUICustomization -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
      ( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"X-Amz-Target"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"AWSCognitoIdentityProviderService.SetUICustomization" ::
                          Prelude.ByteString
                      ),
            HeaderName
"Content-Type"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Core.ToJSON SetUICustomization where
  toJSON :: SetUICustomization -> Value
toJSON SetUICustomization' {Maybe Text
Maybe Base64
Maybe (Sensitive Text)
Text
userPoolId :: Text
imageFile :: Maybe Base64
css :: Maybe Text
clientId :: Maybe (Sensitive Text)
$sel:userPoolId:SetUICustomization' :: SetUICustomization -> Text
$sel:imageFile:SetUICustomization' :: SetUICustomization -> Maybe Base64
$sel:css:SetUICustomization' :: SetUICustomization -> Maybe Text
$sel:clientId:SetUICustomization' :: SetUICustomization -> Maybe (Sensitive Text)
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Text
"ClientId" Text -> Sensitive Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Sensitive Text -> Pair) -> Maybe (Sensitive Text) -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Sensitive Text)
clientId,
            (Text
"CSS" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
css,
            (Text
"ImageFile" Text -> Base64 -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Base64 -> Pair) -> Maybe Base64 -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Base64
imageFile,
            Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"UserPoolId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
userPoolId)
          ]
      )

instance Core.ToPath SetUICustomization where
  toPath :: SetUICustomization -> ByteString
toPath = ByteString -> SetUICustomization -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Core.ToQuery SetUICustomization where
  toQuery :: SetUICustomization -> QueryString
toQuery = QueryString -> SetUICustomization -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newSetUICustomizationResponse' smart constructor.
data SetUICustomizationResponse = SetUICustomizationResponse'
  { -- | The response's http status code.
    SetUICustomizationResponse -> Int
httpStatus :: Prelude.Int,
    -- | The UI customization information.
    SetUICustomizationResponse -> UICustomizationType
uICustomization :: UICustomizationType
  }
  deriving (SetUICustomizationResponse -> SetUICustomizationResponse -> Bool
(SetUICustomizationResponse -> SetUICustomizationResponse -> Bool)
-> (SetUICustomizationResponse
    -> SetUICustomizationResponse -> Bool)
-> Eq SetUICustomizationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SetUICustomizationResponse -> SetUICustomizationResponse -> Bool
$c/= :: SetUICustomizationResponse -> SetUICustomizationResponse -> Bool
== :: SetUICustomizationResponse -> SetUICustomizationResponse -> Bool
$c== :: SetUICustomizationResponse -> SetUICustomizationResponse -> Bool
Prelude.Eq, Int -> SetUICustomizationResponse -> ShowS
[SetUICustomizationResponse] -> ShowS
SetUICustomizationResponse -> String
(Int -> SetUICustomizationResponse -> ShowS)
-> (SetUICustomizationResponse -> String)
-> ([SetUICustomizationResponse] -> ShowS)
-> Show SetUICustomizationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SetUICustomizationResponse] -> ShowS
$cshowList :: [SetUICustomizationResponse] -> ShowS
show :: SetUICustomizationResponse -> String
$cshow :: SetUICustomizationResponse -> String
showsPrec :: Int -> SetUICustomizationResponse -> ShowS
$cshowsPrec :: Int -> SetUICustomizationResponse -> ShowS
Prelude.Show, (forall x.
 SetUICustomizationResponse -> Rep SetUICustomizationResponse x)
-> (forall x.
    Rep SetUICustomizationResponse x -> SetUICustomizationResponse)
-> Generic SetUICustomizationResponse
forall x.
Rep SetUICustomizationResponse x -> SetUICustomizationResponse
forall x.
SetUICustomizationResponse -> Rep SetUICustomizationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep SetUICustomizationResponse x -> SetUICustomizationResponse
$cfrom :: forall x.
SetUICustomizationResponse -> Rep SetUICustomizationResponse x
Prelude.Generic)

-- |
-- Create a value of 'SetUICustomizationResponse' 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:
--
-- 'httpStatus', 'setUICustomizationResponse_httpStatus' - The response's http status code.
--
-- 'uICustomization', 'setUICustomizationResponse_uICustomization' - The UI customization information.
newSetUICustomizationResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  -- | 'uICustomization'
  UICustomizationType ->
  SetUICustomizationResponse
newSetUICustomizationResponse :: Int -> UICustomizationType -> SetUICustomizationResponse
newSetUICustomizationResponse
  Int
pHttpStatus_
  UICustomizationType
pUICustomization_ =
    SetUICustomizationResponse' :: Int -> UICustomizationType -> SetUICustomizationResponse
SetUICustomizationResponse'
      { $sel:httpStatus:SetUICustomizationResponse' :: Int
httpStatus =
          Int
pHttpStatus_,
        $sel:uICustomization:SetUICustomizationResponse' :: UICustomizationType
uICustomization = UICustomizationType
pUICustomization_
      }

-- | The response's http status code.
setUICustomizationResponse_httpStatus :: Lens.Lens' SetUICustomizationResponse Prelude.Int
setUICustomizationResponse_httpStatus :: (Int -> f Int)
-> SetUICustomizationResponse -> f SetUICustomizationResponse
setUICustomizationResponse_httpStatus = (SetUICustomizationResponse -> Int)
-> (SetUICustomizationResponse
    -> Int -> SetUICustomizationResponse)
-> Lens
     SetUICustomizationResponse SetUICustomizationResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SetUICustomizationResponse' {Int
httpStatus :: Int
$sel:httpStatus:SetUICustomizationResponse' :: SetUICustomizationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: SetUICustomizationResponse
s@SetUICustomizationResponse' {} Int
a -> SetUICustomizationResponse
s {$sel:httpStatus:SetUICustomizationResponse' :: Int
httpStatus = Int
a} :: SetUICustomizationResponse)

-- | The UI customization information.
setUICustomizationResponse_uICustomization :: Lens.Lens' SetUICustomizationResponse UICustomizationType
setUICustomizationResponse_uICustomization :: (UICustomizationType -> f UICustomizationType)
-> SetUICustomizationResponse -> f SetUICustomizationResponse
setUICustomizationResponse_uICustomization = (SetUICustomizationResponse -> UICustomizationType)
-> (SetUICustomizationResponse
    -> UICustomizationType -> SetUICustomizationResponse)
-> Lens
     SetUICustomizationResponse
     SetUICustomizationResponse
     UICustomizationType
     UICustomizationType
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SetUICustomizationResponse' {UICustomizationType
uICustomization :: UICustomizationType
$sel:uICustomization:SetUICustomizationResponse' :: SetUICustomizationResponse -> UICustomizationType
uICustomization} -> UICustomizationType
uICustomization) (\s :: SetUICustomizationResponse
s@SetUICustomizationResponse' {} UICustomizationType
a -> SetUICustomizationResponse
s {$sel:uICustomization:SetUICustomizationResponse' :: UICustomizationType
uICustomization = UICustomizationType
a} :: SetUICustomizationResponse)

instance Prelude.NFData SetUICustomizationResponse