{-# 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.LexModels.GetBotChannelAssociation
-- 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)
--
-- Returns information about the association between an Amazon Lex bot and
-- a messaging platform.
--
-- This operation requires permissions for the
-- @lex:GetBotChannelAssociation@ action.
module Amazonka.LexModels.GetBotChannelAssociation
  ( -- * Creating a Request
    GetBotChannelAssociation (..),
    newGetBotChannelAssociation,

    -- * Request Lenses
    getBotChannelAssociation_name,
    getBotChannelAssociation_botName,
    getBotChannelAssociation_botAlias,

    -- * Destructuring the Response
    GetBotChannelAssociationResponse (..),
    newGetBotChannelAssociationResponse,

    -- * Response Lenses
    getBotChannelAssociationResponse_failureReason,
    getBotChannelAssociationResponse_status,
    getBotChannelAssociationResponse_botAlias,
    getBotChannelAssociationResponse_botName,
    getBotChannelAssociationResponse_botConfiguration,
    getBotChannelAssociationResponse_createdDate,
    getBotChannelAssociationResponse_name,
    getBotChannelAssociationResponse_type,
    getBotChannelAssociationResponse_description,
    getBotChannelAssociationResponse_httpStatus,
  )
where

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

-- | /See:/ 'newGetBotChannelAssociation' smart constructor.
data GetBotChannelAssociation = GetBotChannelAssociation'
  { -- | The name of the association between the bot and the channel. The name is
    -- case sensitive.
    GetBotChannelAssociation -> Text
name :: Prelude.Text,
    -- | The name of the Amazon Lex bot.
    GetBotChannelAssociation -> Text
botName :: Prelude.Text,
    -- | An alias pointing to the specific version of the Amazon Lex bot to which
    -- this association is being made.
    GetBotChannelAssociation -> Text
botAlias :: Prelude.Text
  }
  deriving (GetBotChannelAssociation -> GetBotChannelAssociation -> Bool
(GetBotChannelAssociation -> GetBotChannelAssociation -> Bool)
-> (GetBotChannelAssociation -> GetBotChannelAssociation -> Bool)
-> Eq GetBotChannelAssociation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetBotChannelAssociation -> GetBotChannelAssociation -> Bool
$c/= :: GetBotChannelAssociation -> GetBotChannelAssociation -> Bool
== :: GetBotChannelAssociation -> GetBotChannelAssociation -> Bool
$c== :: GetBotChannelAssociation -> GetBotChannelAssociation -> Bool
Prelude.Eq, ReadPrec [GetBotChannelAssociation]
ReadPrec GetBotChannelAssociation
Int -> ReadS GetBotChannelAssociation
ReadS [GetBotChannelAssociation]
(Int -> ReadS GetBotChannelAssociation)
-> ReadS [GetBotChannelAssociation]
-> ReadPrec GetBotChannelAssociation
-> ReadPrec [GetBotChannelAssociation]
-> Read GetBotChannelAssociation
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetBotChannelAssociation]
$creadListPrec :: ReadPrec [GetBotChannelAssociation]
readPrec :: ReadPrec GetBotChannelAssociation
$creadPrec :: ReadPrec GetBotChannelAssociation
readList :: ReadS [GetBotChannelAssociation]
$creadList :: ReadS [GetBotChannelAssociation]
readsPrec :: Int -> ReadS GetBotChannelAssociation
$creadsPrec :: Int -> ReadS GetBotChannelAssociation
Prelude.Read, Int -> GetBotChannelAssociation -> ShowS
[GetBotChannelAssociation] -> ShowS
GetBotChannelAssociation -> String
(Int -> GetBotChannelAssociation -> ShowS)
-> (GetBotChannelAssociation -> String)
-> ([GetBotChannelAssociation] -> ShowS)
-> Show GetBotChannelAssociation
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetBotChannelAssociation] -> ShowS
$cshowList :: [GetBotChannelAssociation] -> ShowS
show :: GetBotChannelAssociation -> String
$cshow :: GetBotChannelAssociation -> String
showsPrec :: Int -> GetBotChannelAssociation -> ShowS
$cshowsPrec :: Int -> GetBotChannelAssociation -> ShowS
Prelude.Show, (forall x.
 GetBotChannelAssociation -> Rep GetBotChannelAssociation x)
-> (forall x.
    Rep GetBotChannelAssociation x -> GetBotChannelAssociation)
-> Generic GetBotChannelAssociation
forall x.
Rep GetBotChannelAssociation x -> GetBotChannelAssociation
forall x.
GetBotChannelAssociation -> Rep GetBotChannelAssociation x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetBotChannelAssociation x -> GetBotChannelAssociation
$cfrom :: forall x.
GetBotChannelAssociation -> Rep GetBotChannelAssociation x
Prelude.Generic)

-- |
-- Create a value of 'GetBotChannelAssociation' 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:
--
-- 'name', 'getBotChannelAssociation_name' - The name of the association between the bot and the channel. The name is
-- case sensitive.
--
-- 'botName', 'getBotChannelAssociation_botName' - The name of the Amazon Lex bot.
--
-- 'botAlias', 'getBotChannelAssociation_botAlias' - An alias pointing to the specific version of the Amazon Lex bot to which
-- this association is being made.
newGetBotChannelAssociation ::
  -- | 'name'
  Prelude.Text ->
  -- | 'botName'
  Prelude.Text ->
  -- | 'botAlias'
  Prelude.Text ->
  GetBotChannelAssociation
newGetBotChannelAssociation :: Text -> Text -> Text -> GetBotChannelAssociation
newGetBotChannelAssociation
  Text
pName_
  Text
pBotName_
  Text
pBotAlias_ =
    GetBotChannelAssociation' :: Text -> Text -> Text -> GetBotChannelAssociation
GetBotChannelAssociation'
      { $sel:name:GetBotChannelAssociation' :: Text
name = Text
pName_,
        $sel:botName:GetBotChannelAssociation' :: Text
botName = Text
pBotName_,
        $sel:botAlias:GetBotChannelAssociation' :: Text
botAlias = Text
pBotAlias_
      }

-- | The name of the association between the bot and the channel. The name is
-- case sensitive.
getBotChannelAssociation_name :: Lens.Lens' GetBotChannelAssociation Prelude.Text
getBotChannelAssociation_name :: (Text -> f Text)
-> GetBotChannelAssociation -> f GetBotChannelAssociation
getBotChannelAssociation_name = (GetBotChannelAssociation -> Text)
-> (GetBotChannelAssociation -> Text -> GetBotChannelAssociation)
-> Lens GetBotChannelAssociation GetBotChannelAssociation Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBotChannelAssociation' {Text
name :: Text
$sel:name:GetBotChannelAssociation' :: GetBotChannelAssociation -> Text
name} -> Text
name) (\s :: GetBotChannelAssociation
s@GetBotChannelAssociation' {} Text
a -> GetBotChannelAssociation
s {$sel:name:GetBotChannelAssociation' :: Text
name = Text
a} :: GetBotChannelAssociation)

-- | The name of the Amazon Lex bot.
getBotChannelAssociation_botName :: Lens.Lens' GetBotChannelAssociation Prelude.Text
getBotChannelAssociation_botName :: (Text -> f Text)
-> GetBotChannelAssociation -> f GetBotChannelAssociation
getBotChannelAssociation_botName = (GetBotChannelAssociation -> Text)
-> (GetBotChannelAssociation -> Text -> GetBotChannelAssociation)
-> Lens GetBotChannelAssociation GetBotChannelAssociation Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBotChannelAssociation' {Text
botName :: Text
$sel:botName:GetBotChannelAssociation' :: GetBotChannelAssociation -> Text
botName} -> Text
botName) (\s :: GetBotChannelAssociation
s@GetBotChannelAssociation' {} Text
a -> GetBotChannelAssociation
s {$sel:botName:GetBotChannelAssociation' :: Text
botName = Text
a} :: GetBotChannelAssociation)

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

instance Core.AWSRequest GetBotChannelAssociation where
  type
    AWSResponse GetBotChannelAssociation =
      GetBotChannelAssociationResponse
  request :: GetBotChannelAssociation -> Request GetBotChannelAssociation
request = Service
-> GetBotChannelAssociation -> Request GetBotChannelAssociation
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
  response :: Logger
-> Service
-> Proxy GetBotChannelAssociation
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse GetBotChannelAssociation)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse GetBotChannelAssociation))
-> Logger
-> Service
-> Proxy GetBotChannelAssociation
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse GetBotChannelAssociation)))
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
-> Maybe ChannelStatus
-> Maybe Text
-> Maybe Text
-> Maybe (Sensitive (HashMap Text Text))
-> Maybe POSIX
-> Maybe Text
-> Maybe ChannelType
-> Maybe Text
-> Int
-> GetBotChannelAssociationResponse
GetBotChannelAssociationResponse'
            (Maybe Text
 -> Maybe ChannelStatus
 -> Maybe Text
 -> Maybe Text
 -> Maybe (Sensitive (HashMap Text Text))
 -> Maybe POSIX
 -> Maybe Text
 -> Maybe ChannelType
 -> Maybe Text
 -> Int
 -> GetBotChannelAssociationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe ChannelStatus
      -> Maybe Text
      -> Maybe Text
      -> Maybe (Sensitive (HashMap Text Text))
      -> Maybe POSIX
      -> Maybe Text
      -> Maybe ChannelType
      -> Maybe Text
      -> Int
      -> GetBotChannelAssociationResponse)
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
"failureReason")
            Either
  String
  (Maybe ChannelStatus
   -> Maybe Text
   -> Maybe Text
   -> Maybe (Sensitive (HashMap Text Text))
   -> Maybe POSIX
   -> Maybe Text
   -> Maybe ChannelType
   -> Maybe Text
   -> Int
   -> GetBotChannelAssociationResponse)
-> Either String (Maybe ChannelStatus)
-> Either
     String
     (Maybe Text
      -> Maybe Text
      -> Maybe (Sensitive (HashMap Text Text))
      -> Maybe POSIX
      -> Maybe Text
      -> Maybe ChannelType
      -> Maybe Text
      -> Int
      -> GetBotChannelAssociationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe ChannelStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"status")
            Either
  String
  (Maybe Text
   -> Maybe Text
   -> Maybe (Sensitive (HashMap Text Text))
   -> Maybe POSIX
   -> Maybe Text
   -> Maybe ChannelType
   -> Maybe Text
   -> Int
   -> GetBotChannelAssociationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Text
      -> Maybe (Sensitive (HashMap Text Text))
      -> Maybe POSIX
      -> Maybe Text
      -> Maybe ChannelType
      -> Maybe Text
      -> Int
      -> GetBotChannelAssociationResponse)
forall (f :: * -> *) a b. Applicative f => 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
"botAlias")
            Either
  String
  (Maybe Text
   -> Maybe (Sensitive (HashMap Text Text))
   -> Maybe POSIX
   -> Maybe Text
   -> Maybe ChannelType
   -> Maybe Text
   -> Int
   -> GetBotChannelAssociationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe (Sensitive (HashMap Text Text))
      -> Maybe POSIX
      -> Maybe Text
      -> Maybe ChannelType
      -> Maybe Text
      -> Int
      -> GetBotChannelAssociationResponse)
forall (f :: * -> *) a b. Applicative f => 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
"botName")
            Either
  String
  (Maybe (Sensitive (HashMap Text Text))
   -> Maybe POSIX
   -> Maybe Text
   -> Maybe ChannelType
   -> Maybe Text
   -> Int
   -> GetBotChannelAssociationResponse)
-> Either String (Maybe (Sensitive (HashMap Text Text)))
-> Either
     String
     (Maybe POSIX
      -> Maybe Text
      -> Maybe ChannelType
      -> Maybe Text
      -> Int
      -> GetBotChannelAssociationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Either String (Maybe (Maybe (Sensitive (HashMap Text Text))))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"botConfiguration"
                            Either String (Maybe (Maybe (Sensitive (HashMap Text Text))))
-> Maybe (Sensitive (HashMap Text Text))
-> Either String (Maybe (Sensitive (HashMap Text Text)))
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe (Sensitive (HashMap Text Text))
forall a. Monoid a => a
Prelude.mempty
                        )
            Either
  String
  (Maybe POSIX
   -> Maybe Text
   -> Maybe ChannelType
   -> Maybe Text
   -> Int
   -> GetBotChannelAssociationResponse)
-> Either String (Maybe POSIX)
-> Either
     String
     (Maybe Text
      -> Maybe ChannelType
      -> Maybe Text
      -> Int
      -> GetBotChannelAssociationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"createdDate")
            Either
  String
  (Maybe Text
   -> Maybe ChannelType
   -> Maybe Text
   -> Int
   -> GetBotChannelAssociationResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe ChannelType
      -> Maybe Text -> Int -> GetBotChannelAssociationResponse)
forall (f :: * -> *) a b. Applicative f => 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
"name")
            Either
  String
  (Maybe ChannelType
   -> Maybe Text -> Int -> GetBotChannelAssociationResponse)
-> Either String (Maybe ChannelType)
-> Either
     String (Maybe Text -> Int -> GetBotChannelAssociationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe ChannelType)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"type")
            Either
  String (Maybe Text -> Int -> GetBotChannelAssociationResponse)
-> Either String (Maybe Text)
-> Either String (Int -> GetBotChannelAssociationResponse)
forall (f :: * -> *) a b. Applicative f => 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
"description")
            Either String (Int -> GetBotChannelAssociationResponse)
-> Either String Int
-> Either String GetBotChannelAssociationResponse
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 GetBotChannelAssociation

instance Prelude.NFData GetBotChannelAssociation

instance Core.ToHeaders GetBotChannelAssociation where
  toHeaders :: GetBotChannelAssociation -> ResponseHeaders
toHeaders =
    ResponseHeaders -> GetBotChannelAssociation -> 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.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Core.ToPath GetBotChannelAssociation where
  toPath :: GetBotChannelAssociation -> ByteString
toPath GetBotChannelAssociation' {Text
botAlias :: Text
botName :: Text
name :: Text
$sel:botAlias:GetBotChannelAssociation' :: GetBotChannelAssociation -> Text
$sel:botName:GetBotChannelAssociation' :: GetBotChannelAssociation -> Text
$sel:name:GetBotChannelAssociation' :: GetBotChannelAssociation -> Text
..} =
    [ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"/bots/",
        Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
botName,
        ByteString
"/aliases/",
        Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
botAlias,
        ByteString
"/channels/",
        Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
name
      ]

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

-- | /See:/ 'newGetBotChannelAssociationResponse' smart constructor.
data GetBotChannelAssociationResponse = GetBotChannelAssociationResponse'
  { -- | If @status@ is @FAILED@, Amazon Lex provides the reason that it failed
    -- to create the association.
    GetBotChannelAssociationResponse -> Maybe Text
failureReason :: 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.
    GetBotChannelAssociationResponse -> Maybe ChannelStatus
status :: Prelude.Maybe ChannelStatus,
    -- | An alias pointing to the specific version of the Amazon Lex bot to which
    -- this association is being made.
    GetBotChannelAssociationResponse -> Maybe Text
botAlias :: Prelude.Maybe Prelude.Text,
    -- | The name of the Amazon Lex bot.
    GetBotChannelAssociationResponse -> Maybe Text
botName :: Prelude.Maybe Prelude.Text,
    -- | Provides information that the messaging platform needs to communicate
    -- with the Amazon Lex bot.
    GetBotChannelAssociationResponse
-> Maybe (Sensitive (HashMap Text Text))
botConfiguration :: Prelude.Maybe (Core.Sensitive (Prelude.HashMap Prelude.Text Prelude.Text)),
    -- | The date that the association between the bot and the channel was
    -- created.
    GetBotChannelAssociationResponse -> Maybe POSIX
createdDate :: Prelude.Maybe Core.POSIX,
    -- | The name of the association between the bot and the channel.
    GetBotChannelAssociationResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
    -- | The type of the messaging platform.
    GetBotChannelAssociationResponse -> Maybe ChannelType
type' :: Prelude.Maybe ChannelType,
    -- | A description of the association between the bot and the channel.
    GetBotChannelAssociationResponse -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    GetBotChannelAssociationResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (GetBotChannelAssociationResponse
-> GetBotChannelAssociationResponse -> Bool
(GetBotChannelAssociationResponse
 -> GetBotChannelAssociationResponse -> Bool)
-> (GetBotChannelAssociationResponse
    -> GetBotChannelAssociationResponse -> Bool)
-> Eq GetBotChannelAssociationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetBotChannelAssociationResponse
-> GetBotChannelAssociationResponse -> Bool
$c/= :: GetBotChannelAssociationResponse
-> GetBotChannelAssociationResponse -> Bool
== :: GetBotChannelAssociationResponse
-> GetBotChannelAssociationResponse -> Bool
$c== :: GetBotChannelAssociationResponse
-> GetBotChannelAssociationResponse -> Bool
Prelude.Eq, Int -> GetBotChannelAssociationResponse -> ShowS
[GetBotChannelAssociationResponse] -> ShowS
GetBotChannelAssociationResponse -> String
(Int -> GetBotChannelAssociationResponse -> ShowS)
-> (GetBotChannelAssociationResponse -> String)
-> ([GetBotChannelAssociationResponse] -> ShowS)
-> Show GetBotChannelAssociationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetBotChannelAssociationResponse] -> ShowS
$cshowList :: [GetBotChannelAssociationResponse] -> ShowS
show :: GetBotChannelAssociationResponse -> String
$cshow :: GetBotChannelAssociationResponse -> String
showsPrec :: Int -> GetBotChannelAssociationResponse -> ShowS
$cshowsPrec :: Int -> GetBotChannelAssociationResponse -> ShowS
Prelude.Show, (forall x.
 GetBotChannelAssociationResponse
 -> Rep GetBotChannelAssociationResponse x)
-> (forall x.
    Rep GetBotChannelAssociationResponse x
    -> GetBotChannelAssociationResponse)
-> Generic GetBotChannelAssociationResponse
forall x.
Rep GetBotChannelAssociationResponse x
-> GetBotChannelAssociationResponse
forall x.
GetBotChannelAssociationResponse
-> Rep GetBotChannelAssociationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetBotChannelAssociationResponse x
-> GetBotChannelAssociationResponse
$cfrom :: forall x.
GetBotChannelAssociationResponse
-> Rep GetBotChannelAssociationResponse x
Prelude.Generic)

-- |
-- Create a value of 'GetBotChannelAssociationResponse' 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:
--
-- 'failureReason', 'getBotChannelAssociationResponse_failureReason' - If @status@ is @FAILED@, Amazon Lex provides the reason that it failed
-- to create the association.
--
-- 'status', 'getBotChannelAssociationResponse_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.
--
-- 'botAlias', 'getBotChannelAssociationResponse_botAlias' - An alias pointing to the specific version of the Amazon Lex bot to which
-- this association is being made.
--
-- 'botName', 'getBotChannelAssociationResponse_botName' - The name of the Amazon Lex bot.
--
-- 'botConfiguration', 'getBotChannelAssociationResponse_botConfiguration' - Provides information that the messaging platform needs to communicate
-- with the Amazon Lex bot.
--
-- 'createdDate', 'getBotChannelAssociationResponse_createdDate' - The date that the association between the bot and the channel was
-- created.
--
-- 'name', 'getBotChannelAssociationResponse_name' - The name of the association between the bot and the channel.
--
-- 'type'', 'getBotChannelAssociationResponse_type' - The type of the messaging platform.
--
-- 'description', 'getBotChannelAssociationResponse_description' - A description of the association between the bot and the channel.
--
-- 'httpStatus', 'getBotChannelAssociationResponse_httpStatus' - The response's http status code.
newGetBotChannelAssociationResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  GetBotChannelAssociationResponse
newGetBotChannelAssociationResponse :: Int -> GetBotChannelAssociationResponse
newGetBotChannelAssociationResponse Int
pHttpStatus_ =
  GetBotChannelAssociationResponse' :: Maybe Text
-> Maybe ChannelStatus
-> Maybe Text
-> Maybe Text
-> Maybe (Sensitive (HashMap Text Text))
-> Maybe POSIX
-> Maybe Text
-> Maybe ChannelType
-> Maybe Text
-> Int
-> GetBotChannelAssociationResponse
GetBotChannelAssociationResponse'
    { $sel:failureReason:GetBotChannelAssociationResponse' :: Maybe Text
failureReason =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:status:GetBotChannelAssociationResponse' :: Maybe ChannelStatus
status = Maybe ChannelStatus
forall a. Maybe a
Prelude.Nothing,
      $sel:botAlias:GetBotChannelAssociationResponse' :: Maybe Text
botAlias = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:botName:GetBotChannelAssociationResponse' :: Maybe Text
botName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:botConfiguration:GetBotChannelAssociationResponse' :: Maybe (Sensitive (HashMap Text Text))
botConfiguration = Maybe (Sensitive (HashMap Text Text))
forall a. Maybe a
Prelude.Nothing,
      $sel:createdDate:GetBotChannelAssociationResponse' :: Maybe POSIX
createdDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
      $sel:name:GetBotChannelAssociationResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:type':GetBotChannelAssociationResponse' :: Maybe ChannelType
type' = Maybe ChannelType
forall a. Maybe a
Prelude.Nothing,
      $sel:description:GetBotChannelAssociationResponse' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:GetBotChannelAssociationResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

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

-- | 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.
getBotChannelAssociationResponse_status :: Lens.Lens' GetBotChannelAssociationResponse (Prelude.Maybe ChannelStatus)
getBotChannelAssociationResponse_status :: (Maybe ChannelStatus -> f (Maybe ChannelStatus))
-> GetBotChannelAssociationResponse
-> f GetBotChannelAssociationResponse
getBotChannelAssociationResponse_status = (GetBotChannelAssociationResponse -> Maybe ChannelStatus)
-> (GetBotChannelAssociationResponse
    -> Maybe ChannelStatus -> GetBotChannelAssociationResponse)
-> Lens
     GetBotChannelAssociationResponse
     GetBotChannelAssociationResponse
     (Maybe ChannelStatus)
     (Maybe ChannelStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBotChannelAssociationResponse' {Maybe ChannelStatus
status :: Maybe ChannelStatus
$sel:status:GetBotChannelAssociationResponse' :: GetBotChannelAssociationResponse -> Maybe ChannelStatus
status} -> Maybe ChannelStatus
status) (\s :: GetBotChannelAssociationResponse
s@GetBotChannelAssociationResponse' {} Maybe ChannelStatus
a -> GetBotChannelAssociationResponse
s {$sel:status:GetBotChannelAssociationResponse' :: Maybe ChannelStatus
status = Maybe ChannelStatus
a} :: GetBotChannelAssociationResponse)

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

-- | The name of the Amazon Lex bot.
getBotChannelAssociationResponse_botName :: Lens.Lens' GetBotChannelAssociationResponse (Prelude.Maybe Prelude.Text)
getBotChannelAssociationResponse_botName :: (Maybe Text -> f (Maybe Text))
-> GetBotChannelAssociationResponse
-> f GetBotChannelAssociationResponse
getBotChannelAssociationResponse_botName = (GetBotChannelAssociationResponse -> Maybe Text)
-> (GetBotChannelAssociationResponse
    -> Maybe Text -> GetBotChannelAssociationResponse)
-> Lens
     GetBotChannelAssociationResponse
     GetBotChannelAssociationResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBotChannelAssociationResponse' {Maybe Text
botName :: Maybe Text
$sel:botName:GetBotChannelAssociationResponse' :: GetBotChannelAssociationResponse -> Maybe Text
botName} -> Maybe Text
botName) (\s :: GetBotChannelAssociationResponse
s@GetBotChannelAssociationResponse' {} Maybe Text
a -> GetBotChannelAssociationResponse
s {$sel:botName:GetBotChannelAssociationResponse' :: Maybe Text
botName = Maybe Text
a} :: GetBotChannelAssociationResponse)

-- | Provides information that the messaging platform needs to communicate
-- with the Amazon Lex bot.
getBotChannelAssociationResponse_botConfiguration :: Lens.Lens' GetBotChannelAssociationResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
getBotChannelAssociationResponse_botConfiguration :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> GetBotChannelAssociationResponse
-> f GetBotChannelAssociationResponse
getBotChannelAssociationResponse_botConfiguration = (GetBotChannelAssociationResponse
 -> Maybe (Sensitive (HashMap Text Text)))
-> (GetBotChannelAssociationResponse
    -> Maybe (Sensitive (HashMap Text Text))
    -> GetBotChannelAssociationResponse)
-> Lens
     GetBotChannelAssociationResponse
     GetBotChannelAssociationResponse
     (Maybe (Sensitive (HashMap Text Text)))
     (Maybe (Sensitive (HashMap Text Text)))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBotChannelAssociationResponse' {Maybe (Sensitive (HashMap Text Text))
botConfiguration :: Maybe (Sensitive (HashMap Text Text))
$sel:botConfiguration:GetBotChannelAssociationResponse' :: GetBotChannelAssociationResponse
-> Maybe (Sensitive (HashMap Text Text))
botConfiguration} -> Maybe (Sensitive (HashMap Text Text))
botConfiguration) (\s :: GetBotChannelAssociationResponse
s@GetBotChannelAssociationResponse' {} Maybe (Sensitive (HashMap Text Text))
a -> GetBotChannelAssociationResponse
s {$sel:botConfiguration:GetBotChannelAssociationResponse' :: Maybe (Sensitive (HashMap Text Text))
botConfiguration = Maybe (Sensitive (HashMap Text Text))
a} :: GetBotChannelAssociationResponse) ((Maybe (Sensitive (HashMap Text Text))
  -> f (Maybe (Sensitive (HashMap Text Text))))
 -> GetBotChannelAssociationResponse
 -> f GetBotChannelAssociationResponse)
-> ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
    -> Maybe (Sensitive (HashMap Text Text))
    -> f (Maybe (Sensitive (HashMap Text Text))))
-> (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> GetBotChannelAssociationResponse
-> f GetBotChannelAssociationResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  (Sensitive (HashMap Text Text))
  (Sensitive (HashMap Text Text))
  (HashMap Text Text)
  (HashMap Text Text)
-> Iso
     (Maybe (Sensitive (HashMap Text Text)))
     (Maybe (Sensitive (HashMap Text Text)))
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text 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 (HashMap Text Text))
  (Sensitive (HashMap Text Text))
  (HashMap Text Text)
  (HashMap Text Text)
forall a. Iso' (Sensitive a) a
Core._Sensitive AnIso
  (Sensitive (HashMap Text Text))
  (Sensitive (HashMap Text Text))
  (HashMap Text Text)
  (HashMap Text Text)
-> (Exchange
      (HashMap Text Text)
      (HashMap Text Text)
      (HashMap Text Text)
      (Identity (HashMap Text Text))
    -> Exchange
         (HashMap Text Text)
         (HashMap Text Text)
         (HashMap Text Text)
         (Identity (HashMap Text Text)))
-> AnIso
     (Sensitive (HashMap Text Text))
     (Sensitive (HashMap Text Text))
     (HashMap Text Text)
     (HashMap Text Text)
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Exchange
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
  (Identity (HashMap Text Text))
-> Exchange
     (HashMap Text Text)
     (HashMap Text Text)
     (HashMap Text Text)
     (Identity (HashMap Text Text))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced)

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

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

-- | The type of the messaging platform.
getBotChannelAssociationResponse_type :: Lens.Lens' GetBotChannelAssociationResponse (Prelude.Maybe ChannelType)
getBotChannelAssociationResponse_type :: (Maybe ChannelType -> f (Maybe ChannelType))
-> GetBotChannelAssociationResponse
-> f GetBotChannelAssociationResponse
getBotChannelAssociationResponse_type = (GetBotChannelAssociationResponse -> Maybe ChannelType)
-> (GetBotChannelAssociationResponse
    -> Maybe ChannelType -> GetBotChannelAssociationResponse)
-> Lens
     GetBotChannelAssociationResponse
     GetBotChannelAssociationResponse
     (Maybe ChannelType)
     (Maybe ChannelType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBotChannelAssociationResponse' {Maybe ChannelType
type' :: Maybe ChannelType
$sel:type':GetBotChannelAssociationResponse' :: GetBotChannelAssociationResponse -> Maybe ChannelType
type'} -> Maybe ChannelType
type') (\s :: GetBotChannelAssociationResponse
s@GetBotChannelAssociationResponse' {} Maybe ChannelType
a -> GetBotChannelAssociationResponse
s {$sel:type':GetBotChannelAssociationResponse' :: Maybe ChannelType
type' = Maybe ChannelType
a} :: GetBotChannelAssociationResponse)

-- | A description of the association between the bot and the channel.
getBotChannelAssociationResponse_description :: Lens.Lens' GetBotChannelAssociationResponse (Prelude.Maybe Prelude.Text)
getBotChannelAssociationResponse_description :: (Maybe Text -> f (Maybe Text))
-> GetBotChannelAssociationResponse
-> f GetBotChannelAssociationResponse
getBotChannelAssociationResponse_description = (GetBotChannelAssociationResponse -> Maybe Text)
-> (GetBotChannelAssociationResponse
    -> Maybe Text -> GetBotChannelAssociationResponse)
-> Lens
     GetBotChannelAssociationResponse
     GetBotChannelAssociationResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBotChannelAssociationResponse' {Maybe Text
description :: Maybe Text
$sel:description:GetBotChannelAssociationResponse' :: GetBotChannelAssociationResponse -> Maybe Text
description} -> Maybe Text
description) (\s :: GetBotChannelAssociationResponse
s@GetBotChannelAssociationResponse' {} Maybe Text
a -> GetBotChannelAssociationResponse
s {$sel:description:GetBotChannelAssociationResponse' :: Maybe Text
description = Maybe Text
a} :: GetBotChannelAssociationResponse)

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

instance
  Prelude.NFData
    GetBotChannelAssociationResponse