{-# 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.QuickSight.UpdateAccountSettings
-- 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)
--
-- Updates the Amazon QuickSight settings in your Amazon Web Services
-- account.
module Amazonka.QuickSight.UpdateAccountSettings
  ( -- * Creating a Request
    UpdateAccountSettings (..),
    newUpdateAccountSettings,

    -- * Request Lenses
    updateAccountSettings_notificationEmail,
    updateAccountSettings_awsAccountId,
    updateAccountSettings_defaultNamespace,

    -- * Destructuring the Response
    UpdateAccountSettingsResponse (..),
    newUpdateAccountSettingsResponse,

    -- * Response Lenses
    updateAccountSettingsResponse_requestId,
    updateAccountSettingsResponse_status,
  )
where

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

-- | /See:/ 'newUpdateAccountSettings' smart constructor.
data UpdateAccountSettings = UpdateAccountSettings'
  { -- | The email address that you want Amazon QuickSight to send notifications
    -- to regarding your Amazon Web Services account or Amazon QuickSight
    -- subscription.
    UpdateAccountSettings -> Maybe Text
notificationEmail :: Prelude.Maybe Prelude.Text,
    -- | The ID for the Amazon Web Services account that contains the Amazon
    -- QuickSight settings that you want to list.
    UpdateAccountSettings -> Text
awsAccountId :: Prelude.Text,
    -- | The default namespace for this Amazon Web Services account. Currently,
    -- the default is @default@. Identity and Access Management (IAM) users
    -- that register for the first time with Amazon QuickSight provide an email
    -- that becomes associated with the default namespace.
    UpdateAccountSettings -> Text
defaultNamespace :: Prelude.Text
  }
  deriving (UpdateAccountSettings -> UpdateAccountSettings -> Bool
(UpdateAccountSettings -> UpdateAccountSettings -> Bool)
-> (UpdateAccountSettings -> UpdateAccountSettings -> Bool)
-> Eq UpdateAccountSettings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateAccountSettings -> UpdateAccountSettings -> Bool
$c/= :: UpdateAccountSettings -> UpdateAccountSettings -> Bool
== :: UpdateAccountSettings -> UpdateAccountSettings -> Bool
$c== :: UpdateAccountSettings -> UpdateAccountSettings -> Bool
Prelude.Eq, ReadPrec [UpdateAccountSettings]
ReadPrec UpdateAccountSettings
Int -> ReadS UpdateAccountSettings
ReadS [UpdateAccountSettings]
(Int -> ReadS UpdateAccountSettings)
-> ReadS [UpdateAccountSettings]
-> ReadPrec UpdateAccountSettings
-> ReadPrec [UpdateAccountSettings]
-> Read UpdateAccountSettings
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateAccountSettings]
$creadListPrec :: ReadPrec [UpdateAccountSettings]
readPrec :: ReadPrec UpdateAccountSettings
$creadPrec :: ReadPrec UpdateAccountSettings
readList :: ReadS [UpdateAccountSettings]
$creadList :: ReadS [UpdateAccountSettings]
readsPrec :: Int -> ReadS UpdateAccountSettings
$creadsPrec :: Int -> ReadS UpdateAccountSettings
Prelude.Read, Int -> UpdateAccountSettings -> ShowS
[UpdateAccountSettings] -> ShowS
UpdateAccountSettings -> String
(Int -> UpdateAccountSettings -> ShowS)
-> (UpdateAccountSettings -> String)
-> ([UpdateAccountSettings] -> ShowS)
-> Show UpdateAccountSettings
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateAccountSettings] -> ShowS
$cshowList :: [UpdateAccountSettings] -> ShowS
show :: UpdateAccountSettings -> String
$cshow :: UpdateAccountSettings -> String
showsPrec :: Int -> UpdateAccountSettings -> ShowS
$cshowsPrec :: Int -> UpdateAccountSettings -> ShowS
Prelude.Show, (forall x. UpdateAccountSettings -> Rep UpdateAccountSettings x)
-> (forall x. Rep UpdateAccountSettings x -> UpdateAccountSettings)
-> Generic UpdateAccountSettings
forall x. Rep UpdateAccountSettings x -> UpdateAccountSettings
forall x. UpdateAccountSettings -> Rep UpdateAccountSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpdateAccountSettings x -> UpdateAccountSettings
$cfrom :: forall x. UpdateAccountSettings -> Rep UpdateAccountSettings x
Prelude.Generic)

-- |
-- Create a value of 'UpdateAccountSettings' 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:
--
-- 'notificationEmail', 'updateAccountSettings_notificationEmail' - The email address that you want Amazon QuickSight to send notifications
-- to regarding your Amazon Web Services account or Amazon QuickSight
-- subscription.
--
-- 'awsAccountId', 'updateAccountSettings_awsAccountId' - The ID for the Amazon Web Services account that contains the Amazon
-- QuickSight settings that you want to list.
--
-- 'defaultNamespace', 'updateAccountSettings_defaultNamespace' - The default namespace for this Amazon Web Services account. Currently,
-- the default is @default@. Identity and Access Management (IAM) users
-- that register for the first time with Amazon QuickSight provide an email
-- that becomes associated with the default namespace.
newUpdateAccountSettings ::
  -- | 'awsAccountId'
  Prelude.Text ->
  -- | 'defaultNamespace'
  Prelude.Text ->
  UpdateAccountSettings
newUpdateAccountSettings :: Text -> Text -> UpdateAccountSettings
newUpdateAccountSettings
  Text
pAwsAccountId_
  Text
pDefaultNamespace_ =
    UpdateAccountSettings' :: Maybe Text -> Text -> Text -> UpdateAccountSettings
UpdateAccountSettings'
      { $sel:notificationEmail:UpdateAccountSettings' :: Maybe Text
notificationEmail =
          Maybe Text
forall a. Maybe a
Prelude.Nothing,
        $sel:awsAccountId:UpdateAccountSettings' :: Text
awsAccountId = Text
pAwsAccountId_,
        $sel:defaultNamespace:UpdateAccountSettings' :: Text
defaultNamespace = Text
pDefaultNamespace_
      }

-- | The email address that you want Amazon QuickSight to send notifications
-- to regarding your Amazon Web Services account or Amazon QuickSight
-- subscription.
updateAccountSettings_notificationEmail :: Lens.Lens' UpdateAccountSettings (Prelude.Maybe Prelude.Text)
updateAccountSettings_notificationEmail :: (Maybe Text -> f (Maybe Text))
-> UpdateAccountSettings -> f UpdateAccountSettings
updateAccountSettings_notificationEmail = (UpdateAccountSettings -> Maybe Text)
-> (UpdateAccountSettings -> Maybe Text -> UpdateAccountSettings)
-> Lens
     UpdateAccountSettings
     UpdateAccountSettings
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAccountSettings' {Maybe Text
notificationEmail :: Maybe Text
$sel:notificationEmail:UpdateAccountSettings' :: UpdateAccountSettings -> Maybe Text
notificationEmail} -> Maybe Text
notificationEmail) (\s :: UpdateAccountSettings
s@UpdateAccountSettings' {} Maybe Text
a -> UpdateAccountSettings
s {$sel:notificationEmail:UpdateAccountSettings' :: Maybe Text
notificationEmail = Maybe Text
a} :: UpdateAccountSettings)

-- | The ID for the Amazon Web Services account that contains the Amazon
-- QuickSight settings that you want to list.
updateAccountSettings_awsAccountId :: Lens.Lens' UpdateAccountSettings Prelude.Text
updateAccountSettings_awsAccountId :: (Text -> f Text)
-> UpdateAccountSettings -> f UpdateAccountSettings
updateAccountSettings_awsAccountId = (UpdateAccountSettings -> Text)
-> (UpdateAccountSettings -> Text -> UpdateAccountSettings)
-> Lens UpdateAccountSettings UpdateAccountSettings Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAccountSettings' {Text
awsAccountId :: Text
$sel:awsAccountId:UpdateAccountSettings' :: UpdateAccountSettings -> Text
awsAccountId} -> Text
awsAccountId) (\s :: UpdateAccountSettings
s@UpdateAccountSettings' {} Text
a -> UpdateAccountSettings
s {$sel:awsAccountId:UpdateAccountSettings' :: Text
awsAccountId = Text
a} :: UpdateAccountSettings)

-- | The default namespace for this Amazon Web Services account. Currently,
-- the default is @default@. Identity and Access Management (IAM) users
-- that register for the first time with Amazon QuickSight provide an email
-- that becomes associated with the default namespace.
updateAccountSettings_defaultNamespace :: Lens.Lens' UpdateAccountSettings Prelude.Text
updateAccountSettings_defaultNamespace :: (Text -> f Text)
-> UpdateAccountSettings -> f UpdateAccountSettings
updateAccountSettings_defaultNamespace = (UpdateAccountSettings -> Text)
-> (UpdateAccountSettings -> Text -> UpdateAccountSettings)
-> Lens UpdateAccountSettings UpdateAccountSettings Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAccountSettings' {Text
defaultNamespace :: Text
$sel:defaultNamespace:UpdateAccountSettings' :: UpdateAccountSettings -> Text
defaultNamespace} -> Text
defaultNamespace) (\s :: UpdateAccountSettings
s@UpdateAccountSettings' {} Text
a -> UpdateAccountSettings
s {$sel:defaultNamespace:UpdateAccountSettings' :: Text
defaultNamespace = Text
a} :: UpdateAccountSettings)

instance Core.AWSRequest UpdateAccountSettings where
  type
    AWSResponse UpdateAccountSettings =
      UpdateAccountSettingsResponse
  request :: UpdateAccountSettings -> Request UpdateAccountSettings
request = Service -> UpdateAccountSettings -> Request UpdateAccountSettings
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.putJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy UpdateAccountSettings
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse UpdateAccountSettings)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse UpdateAccountSettings))
-> Logger
-> Service
-> Proxy UpdateAccountSettings
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse UpdateAccountSettings)))
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 ->
          Maybe Text -> Int -> UpdateAccountSettingsResponse
UpdateAccountSettingsResponse'
            (Maybe Text -> Int -> UpdateAccountSettingsResponse)
-> Either String (Maybe Text)
-> Either String (Int -> UpdateAccountSettingsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"RequestId")
            Either String (Int -> UpdateAccountSettingsResponse)
-> Either String Int -> Either String UpdateAccountSettingsResponse
forall (f :: * -> *) a b. Applicative f => 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))
      )

instance Prelude.Hashable UpdateAccountSettings

instance Prelude.NFData UpdateAccountSettings

instance Core.ToHeaders UpdateAccountSettings where
  toHeaders :: UpdateAccountSettings -> ResponseHeaders
toHeaders =
    ResponseHeaders -> UpdateAccountSettings -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
      ( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"Content-Type"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.0" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Core.ToJSON UpdateAccountSettings where
  toJSON :: UpdateAccountSettings -> Value
toJSON UpdateAccountSettings' {Maybe Text
Text
defaultNamespace :: Text
awsAccountId :: Text
notificationEmail :: Maybe Text
$sel:defaultNamespace:UpdateAccountSettings' :: UpdateAccountSettings -> Text
$sel:awsAccountId:UpdateAccountSettings' :: UpdateAccountSettings -> Text
$sel:notificationEmail:UpdateAccountSettings' :: UpdateAccountSettings -> Maybe Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Text
"NotificationEmail" 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
notificationEmail,
            Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
              (Text
"DefaultNamespace" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
defaultNamespace)
          ]
      )

instance Core.ToPath UpdateAccountSettings where
  toPath :: UpdateAccountSettings -> ByteString
toPath UpdateAccountSettings' {Maybe Text
Text
defaultNamespace :: Text
awsAccountId :: Text
notificationEmail :: Maybe Text
$sel:defaultNamespace:UpdateAccountSettings' :: UpdateAccountSettings -> Text
$sel:awsAccountId:UpdateAccountSettings' :: UpdateAccountSettings -> Text
$sel:notificationEmail:UpdateAccountSettings' :: UpdateAccountSettings -> Maybe Text
..} =
    [ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ByteString
"/accounts/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
awsAccountId, ByteString
"/settings"]

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

-- | /See:/ 'newUpdateAccountSettingsResponse' smart constructor.
data UpdateAccountSettingsResponse = UpdateAccountSettingsResponse'
  { -- | The Amazon Web Services request ID for this operation.
    UpdateAccountSettingsResponse -> Maybe Text
requestId :: Prelude.Maybe Prelude.Text,
    -- | The HTTP status of the request.
    UpdateAccountSettingsResponse -> Int
status :: Prelude.Int
  }
  deriving (UpdateAccountSettingsResponse
-> UpdateAccountSettingsResponse -> Bool
(UpdateAccountSettingsResponse
 -> UpdateAccountSettingsResponse -> Bool)
-> (UpdateAccountSettingsResponse
    -> UpdateAccountSettingsResponse -> Bool)
-> Eq UpdateAccountSettingsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateAccountSettingsResponse
-> UpdateAccountSettingsResponse -> Bool
$c/= :: UpdateAccountSettingsResponse
-> UpdateAccountSettingsResponse -> Bool
== :: UpdateAccountSettingsResponse
-> UpdateAccountSettingsResponse -> Bool
$c== :: UpdateAccountSettingsResponse
-> UpdateAccountSettingsResponse -> Bool
Prelude.Eq, ReadPrec [UpdateAccountSettingsResponse]
ReadPrec UpdateAccountSettingsResponse
Int -> ReadS UpdateAccountSettingsResponse
ReadS [UpdateAccountSettingsResponse]
(Int -> ReadS UpdateAccountSettingsResponse)
-> ReadS [UpdateAccountSettingsResponse]
-> ReadPrec UpdateAccountSettingsResponse
-> ReadPrec [UpdateAccountSettingsResponse]
-> Read UpdateAccountSettingsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateAccountSettingsResponse]
$creadListPrec :: ReadPrec [UpdateAccountSettingsResponse]
readPrec :: ReadPrec UpdateAccountSettingsResponse
$creadPrec :: ReadPrec UpdateAccountSettingsResponse
readList :: ReadS [UpdateAccountSettingsResponse]
$creadList :: ReadS [UpdateAccountSettingsResponse]
readsPrec :: Int -> ReadS UpdateAccountSettingsResponse
$creadsPrec :: Int -> ReadS UpdateAccountSettingsResponse
Prelude.Read, Int -> UpdateAccountSettingsResponse -> ShowS
[UpdateAccountSettingsResponse] -> ShowS
UpdateAccountSettingsResponse -> String
(Int -> UpdateAccountSettingsResponse -> ShowS)
-> (UpdateAccountSettingsResponse -> String)
-> ([UpdateAccountSettingsResponse] -> ShowS)
-> Show UpdateAccountSettingsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateAccountSettingsResponse] -> ShowS
$cshowList :: [UpdateAccountSettingsResponse] -> ShowS
show :: UpdateAccountSettingsResponse -> String
$cshow :: UpdateAccountSettingsResponse -> String
showsPrec :: Int -> UpdateAccountSettingsResponse -> ShowS
$cshowsPrec :: Int -> UpdateAccountSettingsResponse -> ShowS
Prelude.Show, (forall x.
 UpdateAccountSettingsResponse
 -> Rep UpdateAccountSettingsResponse x)
-> (forall x.
    Rep UpdateAccountSettingsResponse x
    -> UpdateAccountSettingsResponse)
-> Generic UpdateAccountSettingsResponse
forall x.
Rep UpdateAccountSettingsResponse x
-> UpdateAccountSettingsResponse
forall x.
UpdateAccountSettingsResponse
-> Rep UpdateAccountSettingsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateAccountSettingsResponse x
-> UpdateAccountSettingsResponse
$cfrom :: forall x.
UpdateAccountSettingsResponse
-> Rep UpdateAccountSettingsResponse x
Prelude.Generic)

-- |
-- Create a value of 'UpdateAccountSettingsResponse' 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:
--
-- 'requestId', 'updateAccountSettingsResponse_requestId' - The Amazon Web Services request ID for this operation.
--
-- 'status', 'updateAccountSettingsResponse_status' - The HTTP status of the request.
newUpdateAccountSettingsResponse ::
  -- | 'status'
  Prelude.Int ->
  UpdateAccountSettingsResponse
newUpdateAccountSettingsResponse :: Int -> UpdateAccountSettingsResponse
newUpdateAccountSettingsResponse Int
pStatus_ =
  UpdateAccountSettingsResponse' :: Maybe Text -> Int -> UpdateAccountSettingsResponse
UpdateAccountSettingsResponse'
    { $sel:requestId:UpdateAccountSettingsResponse' :: Maybe Text
requestId =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:status:UpdateAccountSettingsResponse' :: Int
status = Int
pStatus_
    }

-- | The Amazon Web Services request ID for this operation.
updateAccountSettingsResponse_requestId :: Lens.Lens' UpdateAccountSettingsResponse (Prelude.Maybe Prelude.Text)
updateAccountSettingsResponse_requestId :: (Maybe Text -> f (Maybe Text))
-> UpdateAccountSettingsResponse -> f UpdateAccountSettingsResponse
updateAccountSettingsResponse_requestId = (UpdateAccountSettingsResponse -> Maybe Text)
-> (UpdateAccountSettingsResponse
    -> Maybe Text -> UpdateAccountSettingsResponse)
-> Lens
     UpdateAccountSettingsResponse
     UpdateAccountSettingsResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAccountSettingsResponse' {Maybe Text
requestId :: Maybe Text
$sel:requestId:UpdateAccountSettingsResponse' :: UpdateAccountSettingsResponse -> Maybe Text
requestId} -> Maybe Text
requestId) (\s :: UpdateAccountSettingsResponse
s@UpdateAccountSettingsResponse' {} Maybe Text
a -> UpdateAccountSettingsResponse
s {$sel:requestId:UpdateAccountSettingsResponse' :: Maybe Text
requestId = Maybe Text
a} :: UpdateAccountSettingsResponse)

-- | The HTTP status of the request.
updateAccountSettingsResponse_status :: Lens.Lens' UpdateAccountSettingsResponse Prelude.Int
updateAccountSettingsResponse_status :: (Int -> f Int)
-> UpdateAccountSettingsResponse -> f UpdateAccountSettingsResponse
updateAccountSettingsResponse_status = (UpdateAccountSettingsResponse -> Int)
-> (UpdateAccountSettingsResponse
    -> Int -> UpdateAccountSettingsResponse)
-> Lens
     UpdateAccountSettingsResponse UpdateAccountSettingsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAccountSettingsResponse' {Int
status :: Int
$sel:status:UpdateAccountSettingsResponse' :: UpdateAccountSettingsResponse -> Int
status} -> Int
status) (\s :: UpdateAccountSettingsResponse
s@UpdateAccountSettingsResponse' {} Int
a -> UpdateAccountSettingsResponse
s {$sel:status:UpdateAccountSettingsResponse' :: Int
status = Int
a} :: UpdateAccountSettingsResponse)

instance Prelude.NFData UpdateAccountSettingsResponse