{-# 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.LexModels.Types.BotChannelAssociation
-- 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.LexModels.Types.BotChannelAssociation where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.LexModels.Types.ChannelStatus
import Amazonka.LexModels.Types.ChannelType
import qualified Amazonka.Prelude as Prelude

-- | Represents an association between an Amazon Lex bot and an external
-- messaging platform.
--
-- /See:/ 'newBotChannelAssociation' smart constructor.
data BotChannelAssociation = BotChannelAssociation'
  { -- | An alias pointing to the specific version of the Amazon Lex bot to which
    -- this association is being made.
    BotChannelAssociation -> Maybe Text
botAlias :: Prelude.Maybe Prelude.Text,
    -- | Provides information necessary to communicate with the messaging
    -- platform.
    BotChannelAssociation -> Maybe (Sensitive (HashMap Text Text))
botConfiguration :: Prelude.Maybe (Data.Sensitive (Prelude.HashMap Prelude.Text Prelude.Text)),
    -- | The name of the Amazon Lex bot to which this association is being made.
    --
    -- Currently, Amazon Lex supports associations with Facebook and Slack, and
    -- Twilio.
    BotChannelAssociation -> Maybe Text
botName :: Prelude.Maybe Prelude.Text,
    -- | The date that the association between the Amazon Lex bot and the channel
    -- was created.
    BotChannelAssociation -> Maybe POSIX
createdDate :: Prelude.Maybe Data.POSIX,
    -- | A text description of the association you are creating.
    BotChannelAssociation -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
    -- | If @status@ is @FAILED@, Amazon Lex provides the reason that it failed
    -- to create the association.
    BotChannelAssociation -> Maybe Text
failureReason :: Prelude.Maybe Prelude.Text,
    -- | The name of the association between the bot and the channel.
    BotChannelAssociation -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
    -- | The status of the bot channel.
    --
    -- -   @CREATED@ - The channel has been created and is ready for use.
    --
    -- -   @IN_PROGRESS@ - Channel creation is in progress.
    --
    -- -   @FAILED@ - There was an error creating the channel. For information
    --     about the reason for the failure, see the @failureReason@ field.
    BotChannelAssociation -> Maybe ChannelStatus
status :: Prelude.Maybe ChannelStatus,
    -- | Specifies the type of association by indicating the type of channel
    -- being established between the Amazon Lex bot and the external messaging
    -- platform.
    BotChannelAssociation -> Maybe ChannelType
type' :: Prelude.Maybe ChannelType
  }
  deriving (BotChannelAssociation -> BotChannelAssociation -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BotChannelAssociation -> BotChannelAssociation -> Bool
$c/= :: BotChannelAssociation -> BotChannelAssociation -> Bool
== :: BotChannelAssociation -> BotChannelAssociation -> Bool
$c== :: BotChannelAssociation -> BotChannelAssociation -> Bool
Prelude.Eq, Int -> BotChannelAssociation -> ShowS
[BotChannelAssociation] -> ShowS
BotChannelAssociation -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BotChannelAssociation] -> ShowS
$cshowList :: [BotChannelAssociation] -> ShowS
show :: BotChannelAssociation -> String
$cshow :: BotChannelAssociation -> String
showsPrec :: Int -> BotChannelAssociation -> ShowS
$cshowsPrec :: Int -> BotChannelAssociation -> ShowS
Prelude.Show, forall x. Rep BotChannelAssociation x -> BotChannelAssociation
forall x. BotChannelAssociation -> Rep BotChannelAssociation x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BotChannelAssociation x -> BotChannelAssociation
$cfrom :: forall x. BotChannelAssociation -> Rep BotChannelAssociation x
Prelude.Generic)

-- |
-- Create a value of 'BotChannelAssociation' 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:
--
-- 'botAlias', 'botChannelAssociation_botAlias' - An alias pointing to the specific version of the Amazon Lex bot to which
-- this association is being made.
--
-- 'botConfiguration', 'botChannelAssociation_botConfiguration' - Provides information necessary to communicate with the messaging
-- platform.
--
-- 'botName', 'botChannelAssociation_botName' - The name of the Amazon Lex bot to which this association is being made.
--
-- Currently, Amazon Lex supports associations with Facebook and Slack, and
-- Twilio.
--
-- 'createdDate', 'botChannelAssociation_createdDate' - The date that the association between the Amazon Lex bot and the channel
-- was created.
--
-- 'description', 'botChannelAssociation_description' - A text description of the association you are creating.
--
-- 'failureReason', 'botChannelAssociation_failureReason' - If @status@ is @FAILED@, Amazon Lex provides the reason that it failed
-- to create the association.
--
-- 'name', 'botChannelAssociation_name' - The name of the association between the bot and the channel.
--
-- 'status', 'botChannelAssociation_status' - The status of the bot channel.
--
-- -   @CREATED@ - The channel has been created and is ready for use.
--
-- -   @IN_PROGRESS@ - Channel creation is in progress.
--
-- -   @FAILED@ - There was an error creating the channel. For information
--     about the reason for the failure, see the @failureReason@ field.
--
-- 'type'', 'botChannelAssociation_type' - Specifies the type of association by indicating the type of channel
-- being established between the Amazon Lex bot and the external messaging
-- platform.
newBotChannelAssociation ::
  BotChannelAssociation
newBotChannelAssociation :: BotChannelAssociation
newBotChannelAssociation =
  BotChannelAssociation'
    { $sel:botAlias:BotChannelAssociation' :: Maybe Text
botAlias = forall a. Maybe a
Prelude.Nothing,
      $sel:botConfiguration:BotChannelAssociation' :: Maybe (Sensitive (HashMap Text Text))
botConfiguration = forall a. Maybe a
Prelude.Nothing,
      $sel:botName:BotChannelAssociation' :: Maybe Text
botName = forall a. Maybe a
Prelude.Nothing,
      $sel:createdDate:BotChannelAssociation' :: Maybe POSIX
createdDate = forall a. Maybe a
Prelude.Nothing,
      $sel:description:BotChannelAssociation' :: Maybe Text
description = forall a. Maybe a
Prelude.Nothing,
      $sel:failureReason:BotChannelAssociation' :: Maybe Text
failureReason = forall a. Maybe a
Prelude.Nothing,
      $sel:name:BotChannelAssociation' :: Maybe Text
name = forall a. Maybe a
Prelude.Nothing,
      $sel:status:BotChannelAssociation' :: Maybe ChannelStatus
status = forall a. Maybe a
Prelude.Nothing,
      $sel:type':BotChannelAssociation' :: Maybe ChannelType
type' = forall a. Maybe a
Prelude.Nothing
    }

-- | An alias pointing to the specific version of the Amazon Lex bot to which
-- this association is being made.
botChannelAssociation_botAlias :: Lens.Lens' BotChannelAssociation (Prelude.Maybe Prelude.Text)
botChannelAssociation_botAlias :: Lens' BotChannelAssociation (Maybe Text)
botChannelAssociation_botAlias = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BotChannelAssociation' {Maybe Text
botAlias :: Maybe Text
$sel:botAlias:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
botAlias} -> Maybe Text
botAlias) (\s :: BotChannelAssociation
s@BotChannelAssociation' {} Maybe Text
a -> BotChannelAssociation
s {$sel:botAlias:BotChannelAssociation' :: Maybe Text
botAlias = Maybe Text
a} :: BotChannelAssociation)

-- | Provides information necessary to communicate with the messaging
-- platform.
botChannelAssociation_botConfiguration :: Lens.Lens' BotChannelAssociation (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
botChannelAssociation_botConfiguration :: Lens' BotChannelAssociation (Maybe (HashMap Text Text))
botChannelAssociation_botConfiguration = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BotChannelAssociation' {Maybe (Sensitive (HashMap Text Text))
botConfiguration :: Maybe (Sensitive (HashMap Text Text))
$sel:botConfiguration:BotChannelAssociation' :: BotChannelAssociation -> Maybe (Sensitive (HashMap Text Text))
botConfiguration} -> Maybe (Sensitive (HashMap Text Text))
botConfiguration) (\s :: BotChannelAssociation
s@BotChannelAssociation' {} Maybe (Sensitive (HashMap Text Text))
a -> BotChannelAssociation
s {$sel:botConfiguration:BotChannelAssociation' :: Maybe (Sensitive (HashMap Text Text))
botConfiguration = Maybe (Sensitive (HashMap Text Text))
a} :: BotChannelAssociation) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 (forall a. Iso' (Sensitive a) a
Data._Sensitive forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced)

-- | The name of the Amazon Lex bot to which this association is being made.
--
-- Currently, Amazon Lex supports associations with Facebook and Slack, and
-- Twilio.
botChannelAssociation_botName :: Lens.Lens' BotChannelAssociation (Prelude.Maybe Prelude.Text)
botChannelAssociation_botName :: Lens' BotChannelAssociation (Maybe Text)
botChannelAssociation_botName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BotChannelAssociation' {Maybe Text
botName :: Maybe Text
$sel:botName:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
botName} -> Maybe Text
botName) (\s :: BotChannelAssociation
s@BotChannelAssociation' {} Maybe Text
a -> BotChannelAssociation
s {$sel:botName:BotChannelAssociation' :: Maybe Text
botName = Maybe Text
a} :: BotChannelAssociation)

-- | The date that the association between the Amazon Lex bot and the channel
-- was created.
botChannelAssociation_createdDate :: Lens.Lens' BotChannelAssociation (Prelude.Maybe Prelude.UTCTime)
botChannelAssociation_createdDate :: Lens' BotChannelAssociation (Maybe UTCTime)
botChannelAssociation_createdDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BotChannelAssociation' {Maybe POSIX
createdDate :: Maybe POSIX
$sel:createdDate:BotChannelAssociation' :: BotChannelAssociation -> Maybe POSIX
createdDate} -> Maybe POSIX
createdDate) (\s :: BotChannelAssociation
s@BotChannelAssociation' {} Maybe POSIX
a -> BotChannelAssociation
s {$sel:createdDate:BotChannelAssociation' :: Maybe POSIX
createdDate = Maybe POSIX
a} :: BotChannelAssociation) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | A text description of the association you are creating.
botChannelAssociation_description :: Lens.Lens' BotChannelAssociation (Prelude.Maybe Prelude.Text)
botChannelAssociation_description :: Lens' BotChannelAssociation (Maybe Text)
botChannelAssociation_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BotChannelAssociation' {Maybe Text
description :: Maybe Text
$sel:description:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
description} -> Maybe Text
description) (\s :: BotChannelAssociation
s@BotChannelAssociation' {} Maybe Text
a -> BotChannelAssociation
s {$sel:description:BotChannelAssociation' :: Maybe Text
description = Maybe Text
a} :: BotChannelAssociation)

-- | If @status@ is @FAILED@, Amazon Lex provides the reason that it failed
-- to create the association.
botChannelAssociation_failureReason :: Lens.Lens' BotChannelAssociation (Prelude.Maybe Prelude.Text)
botChannelAssociation_failureReason :: Lens' BotChannelAssociation (Maybe Text)
botChannelAssociation_failureReason = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BotChannelAssociation' {Maybe Text
failureReason :: Maybe Text
$sel:failureReason:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
failureReason} -> Maybe Text
failureReason) (\s :: BotChannelAssociation
s@BotChannelAssociation' {} Maybe Text
a -> BotChannelAssociation
s {$sel:failureReason:BotChannelAssociation' :: Maybe Text
failureReason = Maybe Text
a} :: BotChannelAssociation)

-- | The name of the association between the bot and the channel.
botChannelAssociation_name :: Lens.Lens' BotChannelAssociation (Prelude.Maybe Prelude.Text)
botChannelAssociation_name :: Lens' BotChannelAssociation (Maybe Text)
botChannelAssociation_name = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BotChannelAssociation' {Maybe Text
name :: Maybe Text
$sel:name:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
name} -> Maybe Text
name) (\s :: BotChannelAssociation
s@BotChannelAssociation' {} Maybe Text
a -> BotChannelAssociation
s {$sel:name:BotChannelAssociation' :: Maybe Text
name = Maybe Text
a} :: BotChannelAssociation)

-- | The status of the bot channel.
--
-- -   @CREATED@ - The channel has been created and is ready for use.
--
-- -   @IN_PROGRESS@ - Channel creation is in progress.
--
-- -   @FAILED@ - There was an error creating the channel. For information
--     about the reason for the failure, see the @failureReason@ field.
botChannelAssociation_status :: Lens.Lens' BotChannelAssociation (Prelude.Maybe ChannelStatus)
botChannelAssociation_status :: Lens' BotChannelAssociation (Maybe ChannelStatus)
botChannelAssociation_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BotChannelAssociation' {Maybe ChannelStatus
status :: Maybe ChannelStatus
$sel:status:BotChannelAssociation' :: BotChannelAssociation -> Maybe ChannelStatus
status} -> Maybe ChannelStatus
status) (\s :: BotChannelAssociation
s@BotChannelAssociation' {} Maybe ChannelStatus
a -> BotChannelAssociation
s {$sel:status:BotChannelAssociation' :: Maybe ChannelStatus
status = Maybe ChannelStatus
a} :: BotChannelAssociation)

-- | Specifies the type of association by indicating the type of channel
-- being established between the Amazon Lex bot and the external messaging
-- platform.
botChannelAssociation_type :: Lens.Lens' BotChannelAssociation (Prelude.Maybe ChannelType)
botChannelAssociation_type :: Lens' BotChannelAssociation (Maybe ChannelType)
botChannelAssociation_type = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BotChannelAssociation' {Maybe ChannelType
type' :: Maybe ChannelType
$sel:type':BotChannelAssociation' :: BotChannelAssociation -> Maybe ChannelType
type'} -> Maybe ChannelType
type') (\s :: BotChannelAssociation
s@BotChannelAssociation' {} Maybe ChannelType
a -> BotChannelAssociation
s {$sel:type':BotChannelAssociation' :: Maybe ChannelType
type' = Maybe ChannelType
a} :: BotChannelAssociation)

instance Data.FromJSON BotChannelAssociation where
  parseJSON :: Value -> Parser BotChannelAssociation
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"BotChannelAssociation"
      ( \Object
x ->
          Maybe Text
-> Maybe (Sensitive (HashMap Text Text))
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ChannelStatus
-> Maybe ChannelType
-> BotChannelAssociation
BotChannelAssociation'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"botAlias")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"botConfiguration"
                            forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"botName")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"createdDate")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"description")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"failureReason")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"name")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"status")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"type")
      )

instance Prelude.Hashable BotChannelAssociation where
  hashWithSalt :: Int -> BotChannelAssociation -> Int
hashWithSalt Int
_salt BotChannelAssociation' {Maybe Text
Maybe (Sensitive (HashMap Text Text))
Maybe POSIX
Maybe ChannelStatus
Maybe ChannelType
type' :: Maybe ChannelType
status :: Maybe ChannelStatus
name :: Maybe Text
failureReason :: Maybe Text
description :: Maybe Text
createdDate :: Maybe POSIX
botName :: Maybe Text
botConfiguration :: Maybe (Sensitive (HashMap Text Text))
botAlias :: Maybe Text
$sel:type':BotChannelAssociation' :: BotChannelAssociation -> Maybe ChannelType
$sel:status:BotChannelAssociation' :: BotChannelAssociation -> Maybe ChannelStatus
$sel:name:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
$sel:failureReason:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
$sel:description:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
$sel:createdDate:BotChannelAssociation' :: BotChannelAssociation -> Maybe POSIX
$sel:botName:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
$sel:botConfiguration:BotChannelAssociation' :: BotChannelAssociation -> Maybe (Sensitive (HashMap Text Text))
$sel:botAlias:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
botAlias
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (Sensitive (HashMap Text Text))
botConfiguration
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
botName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
createdDate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
description
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
failureReason
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
name
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ChannelStatus
status
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ChannelType
type'

instance Prelude.NFData BotChannelAssociation where
  rnf :: BotChannelAssociation -> ()
rnf BotChannelAssociation' {Maybe Text
Maybe (Sensitive (HashMap Text Text))
Maybe POSIX
Maybe ChannelStatus
Maybe ChannelType
type' :: Maybe ChannelType
status :: Maybe ChannelStatus
name :: Maybe Text
failureReason :: Maybe Text
description :: Maybe Text
createdDate :: Maybe POSIX
botName :: Maybe Text
botConfiguration :: Maybe (Sensitive (HashMap Text Text))
botAlias :: Maybe Text
$sel:type':BotChannelAssociation' :: BotChannelAssociation -> Maybe ChannelType
$sel:status:BotChannelAssociation' :: BotChannelAssociation -> Maybe ChannelStatus
$sel:name:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
$sel:failureReason:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
$sel:description:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
$sel:createdDate:BotChannelAssociation' :: BotChannelAssociation -> Maybe POSIX
$sel:botName:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
$sel:botConfiguration:BotChannelAssociation' :: BotChannelAssociation -> Maybe (Sensitive (HashMap Text Text))
$sel:botAlias:BotChannelAssociation' :: BotChannelAssociation -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
botAlias
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (Sensitive (HashMap Text Text))
botConfiguration
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
botName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
createdDate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
description
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
failureReason
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
name
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ChannelStatus
status
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ChannelType
type'