{-# 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.MemoryDb.Types.ACLsUpdateStatus -- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) module Amazonka.MemoryDb.Types.ACLsUpdateStatus 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 -- | The status of the ACL update -- -- /See:/ 'newACLsUpdateStatus' smart constructor. data ACLsUpdateStatus = ACLsUpdateStatus' { -- | A list of ACLs pending to be applied. aCLToApply :: Prelude.Maybe Prelude.Text } deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic) -- | -- Create a value of 'ACLsUpdateStatus' with all optional fields omitted. -- -- Use or to modify other optional fields. -- -- The following record fields are available, with the corresponding lenses provided -- for backwards compatibility: -- -- 'aCLToApply', 'aCLsUpdateStatus_aCLToApply' - A list of ACLs pending to be applied. newACLsUpdateStatus :: ACLsUpdateStatus newACLsUpdateStatus = ACLsUpdateStatus' {aCLToApply = Prelude.Nothing} -- | A list of ACLs pending to be applied. aCLsUpdateStatus_aCLToApply :: Lens.Lens' ACLsUpdateStatus (Prelude.Maybe Prelude.Text) aCLsUpdateStatus_aCLToApply = Lens.lens (\ACLsUpdateStatus' {aCLToApply} -> aCLToApply) (\s@ACLsUpdateStatus' {} a -> s {aCLToApply = a} :: ACLsUpdateStatus) instance Data.FromJSON ACLsUpdateStatus where parseJSON = Data.withObject "ACLsUpdateStatus" ( \x -> ACLsUpdateStatus' Prelude.<$> (x Data..:? "ACLToApply") ) instance Prelude.Hashable ACLsUpdateStatus where hashWithSalt _salt ACLsUpdateStatus' {..} = _salt `Prelude.hashWithSalt` aCLToApply instance Prelude.NFData ACLsUpdateStatus where rnf ACLsUpdateStatus' {..} = Prelude.rnf aCLToApply