{-# 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.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-- 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.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude

-- | The Linux capabilities for the container that are added to or dropped
-- from the default configuration provided by Docker.
--
-- /See:/ 'newAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' smart constructor.
data AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails = AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails'
  { -- | The Linux capabilities for the container that are dropped from the
    -- default configuration provided by Docker.
    AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Maybe [Text]
drop :: Prelude.Maybe [Prelude.Text],
    -- | The Linux capabilities for the container that are added to the default
    -- configuration provided by Docker.
    AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Maybe [Text]
add :: Prelude.Maybe [Prelude.Text]
  }
  deriving (AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Bool
(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
 -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
 -> Bool)
-> (AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
    -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
    -> Bool)
-> Eq
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Bool
$c/= :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Bool
== :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Bool
$c== :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Bool
Prelude.Eq, ReadPrec
  [AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails]
ReadPrec
  AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
Int
-> ReadS
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
ReadS
  [AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails]
(Int
 -> ReadS
      AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails)
-> ReadS
     [AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails]
-> ReadPrec
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> ReadPrec
     [AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails]
-> Read
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec
  [AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails]
$creadListPrec :: ReadPrec
  [AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails]
readPrec :: ReadPrec
  AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
$creadPrec :: ReadPrec
  AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
readList :: ReadS
  [AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails]
$creadList :: ReadS
  [AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails]
readsPrec :: Int
-> ReadS
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
$creadsPrec :: Int
-> ReadS
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
Prelude.Read, Int
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> ShowS
[AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails]
-> ShowS
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> String
(Int
 -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
 -> ShowS)
-> (AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
    -> String)
-> ([AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails]
    -> ShowS)
-> Show
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails]
-> ShowS
$cshowList :: [AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails]
-> ShowS
show :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> String
$cshow :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> String
showsPrec :: Int
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> ShowS
$cshowsPrec :: Int
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> ShowS
Prelude.Show, (forall x.
 AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
 -> Rep
      AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
      x)
-> (forall x.
    Rep
      AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
      x
    -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails)
-> Generic
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
forall x.
Rep
  AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
  x
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
forall x.
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Rep
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
     x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep
  AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
  x
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
$cfrom :: forall x.
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Rep
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
     x
Prelude.Generic)

-- |
-- Create a value of 'AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' 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:
--
-- 'drop', 'awsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails_drop' - The Linux capabilities for the container that are dropped from the
-- default configuration provided by Docker.
--
-- 'add', 'awsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails_add' - The Linux capabilities for the container that are added to the default
-- configuration provided by Docker.
newAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails ::
  AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
newAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
newAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails =
  AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' :: Maybe [Text]
-> Maybe [Text]
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails'
    { $sel:drop:AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' :: Maybe [Text]
drop =
        Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:add:AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' :: Maybe [Text]
add =
        Maybe [Text]
forall a. Maybe a
Prelude.Nothing
    }

-- | The Linux capabilities for the container that are dropped from the
-- default configuration provided by Docker.
awsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails_drop :: Lens.Lens' AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails (Prelude.Maybe [Prelude.Text])
awsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails_drop :: (Maybe [Text] -> f (Maybe [Text]))
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> f AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
awsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails_drop = (AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
 -> Maybe [Text])
-> (AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
    -> Maybe [Text]
    -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails)
-> Lens
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
     (Maybe [Text])
     (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' {Maybe [Text]
drop :: Maybe [Text]
$sel:drop:AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Maybe [Text]
drop} -> Maybe [Text]
drop) (\s :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
s@AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' {} Maybe [Text]
a -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
s {$sel:drop:AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' :: Maybe [Text]
drop = Maybe [Text]
a} :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails) ((Maybe [Text] -> f (Maybe [Text]))
 -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
 -> f AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> f AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The Linux capabilities for the container that are added to the default
-- configuration provided by Docker.
awsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails_add :: Lens.Lens' AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails (Prelude.Maybe [Prelude.Text])
awsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails_add :: (Maybe [Text] -> f (Maybe [Text]))
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> f AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
awsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails_add = (AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
 -> Maybe [Text])
-> (AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
    -> Maybe [Text]
    -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails)
-> Lens
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
     (Maybe [Text])
     (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' {Maybe [Text]
add :: Maybe [Text]
$sel:add:AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Maybe [Text]
add} -> Maybe [Text]
add) (\s :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
s@AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' {} Maybe [Text]
a -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
s {$sel:add:AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' :: Maybe [Text]
add = Maybe [Text]
a} :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails) ((Maybe [Text] -> f (Maybe [Text]))
 -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
 -> f AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> f AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

instance
  Core.FromJSON
    AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
  where
  parseJSON :: Value
-> Parser
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
parseJSON =
    String
-> (Object
    -> Parser
         AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails)
-> Value
-> Parser
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails"
      ( \Object
x ->
          Maybe [Text]
-> Maybe [Text]
-> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails'
            (Maybe [Text]
 -> Maybe [Text]
 -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails)
-> Parser (Maybe [Text])
-> Parser
     (Maybe [Text]
      -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Drop" Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
              Parser
  (Maybe [Text]
   -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails)
-> Parser (Maybe [Text])
-> Parser
     AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Add" Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
      )

instance
  Prelude.Hashable
    AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails

instance
  Prelude.NFData
    AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails

instance
  Core.ToJSON
    AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
  where
  toJSON :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Value
toJSON
    AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' {Maybe [Text]
add :: Maybe [Text]
drop :: Maybe [Text]
$sel:add:AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Maybe [Text]
$sel:drop:AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails' :: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails
-> Maybe [Text]
..} =
      [Pair] -> Value
Core.object
        ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
            [ (Text
"Drop" 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]
drop,
              (Text
"Add" 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]
add
            ]
        )