{-# 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.Connect.ListBots
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- This API is in preview release for Amazon Connect and is subject to
-- change.
--
-- For the specified version of Amazon Lex, returns a paginated list of all
-- the Amazon Lex bots currently associated with the instance. Use this API
-- to returns both Amazon Lex V1 and V2 bots.
--
-- This operation returns paginated results.
module Amazonka.Connect.ListBots
  ( -- * Creating a Request
    ListBots (..),
    newListBots,

    -- * Request Lenses
    listBots_maxResults,
    listBots_nextToken,
    listBots_instanceId,
    listBots_lexVersion,

    -- * Destructuring the Response
    ListBotsResponse (..),
    newListBotsResponse,

    -- * Response Lenses
    listBotsResponse_lexBots,
    listBotsResponse_nextToken,
    listBotsResponse_httpStatus,
  )
where

import Amazonka.Connect.Types
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
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | /See:/ 'newListBots' smart constructor.
data ListBots = ListBots'
  { -- | The maximum number of results to return per page.
    ListBots -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
    -- | The token for the next set of results. Use the value returned in the
    -- previous response in the next request to retrieve the next set of
    -- results.
    ListBots -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The identifier of the Amazon Connect instance. You can find the
    -- instanceId in the ARN of the instance.
    ListBots -> Text
instanceId :: Prelude.Text,
    -- | The version of Amazon Lex or Amazon Lex V2.
    ListBots -> LexVersion
lexVersion :: LexVersion
  }
  deriving (ListBots -> ListBots -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListBots -> ListBots -> Bool
$c/= :: ListBots -> ListBots -> Bool
== :: ListBots -> ListBots -> Bool
$c== :: ListBots -> ListBots -> Bool
Prelude.Eq, ReadPrec [ListBots]
ReadPrec ListBots
Int -> ReadS ListBots
ReadS [ListBots]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListBots]
$creadListPrec :: ReadPrec [ListBots]
readPrec :: ReadPrec ListBots
$creadPrec :: ReadPrec ListBots
readList :: ReadS [ListBots]
$creadList :: ReadS [ListBots]
readsPrec :: Int -> ReadS ListBots
$creadsPrec :: Int -> ReadS ListBots
Prelude.Read, Int -> ListBots -> ShowS
[ListBots] -> ShowS
ListBots -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListBots] -> ShowS
$cshowList :: [ListBots] -> ShowS
show :: ListBots -> String
$cshow :: ListBots -> String
showsPrec :: Int -> ListBots -> ShowS
$cshowsPrec :: Int -> ListBots -> ShowS
Prelude.Show, forall x. Rep ListBots x -> ListBots
forall x. ListBots -> Rep ListBots x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListBots x -> ListBots
$cfrom :: forall x. ListBots -> Rep ListBots x
Prelude.Generic)

-- |
-- Create a value of 'ListBots' 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:
--
-- 'maxResults', 'listBots_maxResults' - The maximum number of results to return per page.
--
-- 'nextToken', 'listBots_nextToken' - The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
--
-- 'instanceId', 'listBots_instanceId' - The identifier of the Amazon Connect instance. You can find the
-- instanceId in the ARN of the instance.
--
-- 'lexVersion', 'listBots_lexVersion' - The version of Amazon Lex or Amazon Lex V2.
newListBots ::
  -- | 'instanceId'
  Prelude.Text ->
  -- | 'lexVersion'
  LexVersion ->
  ListBots
newListBots :: Text -> LexVersion -> ListBots
newListBots Text
pInstanceId_ LexVersion
pLexVersion_ =
  ListBots'
    { $sel:maxResults:ListBots' :: Maybe Natural
maxResults = forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListBots' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
      $sel:instanceId:ListBots' :: Text
instanceId = Text
pInstanceId_,
      $sel:lexVersion:ListBots' :: LexVersion
lexVersion = LexVersion
pLexVersion_
    }

-- | The maximum number of results to return per page.
listBots_maxResults :: Lens.Lens' ListBots (Prelude.Maybe Prelude.Natural)
listBots_maxResults :: Lens' ListBots (Maybe Natural)
listBots_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListBots' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListBots' :: ListBots -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListBots
s@ListBots' {} Maybe Natural
a -> ListBots
s {$sel:maxResults:ListBots' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListBots)

-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listBots_nextToken :: Lens.Lens' ListBots (Prelude.Maybe Prelude.Text)
listBots_nextToken :: Lens' ListBots (Maybe Text)
listBots_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListBots' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListBots' :: ListBots -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListBots
s@ListBots' {} Maybe Text
a -> ListBots
s {$sel:nextToken:ListBots' :: Maybe Text
nextToken = Maybe Text
a} :: ListBots)

-- | The identifier of the Amazon Connect instance. You can find the
-- instanceId in the ARN of the instance.
listBots_instanceId :: Lens.Lens' ListBots Prelude.Text
listBots_instanceId :: Lens' ListBots Text
listBots_instanceId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListBots' {Text
instanceId :: Text
$sel:instanceId:ListBots' :: ListBots -> Text
instanceId} -> Text
instanceId) (\s :: ListBots
s@ListBots' {} Text
a -> ListBots
s {$sel:instanceId:ListBots' :: Text
instanceId = Text
a} :: ListBots)

-- | The version of Amazon Lex or Amazon Lex V2.
listBots_lexVersion :: Lens.Lens' ListBots LexVersion
listBots_lexVersion :: Lens' ListBots LexVersion
listBots_lexVersion = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListBots' {LexVersion
lexVersion :: LexVersion
$sel:lexVersion:ListBots' :: ListBots -> LexVersion
lexVersion} -> LexVersion
lexVersion) (\s :: ListBots
s@ListBots' {} LexVersion
a -> ListBots
s {$sel:lexVersion:ListBots' :: LexVersion
lexVersion = LexVersion
a} :: ListBots)

instance Core.AWSPager ListBots where
  page :: ListBots -> AWSResponse ListBots -> Maybe ListBots
page ListBots
rq AWSResponse ListBots
rs
    | forall a. AWSTruncated a => a -> Bool
Core.stop
        ( AWSResponse ListBots
rs
            forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListBotsResponse (Maybe Text)
listBotsResponse_nextToken
            forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
        ) =
        forall a. Maybe a
Prelude.Nothing
    | forall a. AWSTruncated a => a -> Bool
Core.stop
        ( AWSResponse ListBots
rs
            forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListBotsResponse (Maybe [LexBotConfig])
listBotsResponse_lexBots
            forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
        ) =
        forall a. Maybe a
Prelude.Nothing
    | Bool
Prelude.otherwise =
        forall a. a -> Maybe a
Prelude.Just
          forall a b. (a -> b) -> a -> b
Prelude.$ ListBots
rq
          forall a b. a -> (a -> b) -> b
Prelude.& Lens' ListBots (Maybe Text)
listBots_nextToken
          forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListBots
rs
          forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListBotsResponse (Maybe Text)
listBotsResponse_nextToken
          forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just

instance Core.AWSRequest ListBots where
  type AWSResponse ListBots = ListBotsResponse
  request :: (Service -> Service) -> ListBots -> Request ListBots
request Service -> Service
overrides =
    forall a. ToRequest a => Service -> a -> Request a
Request.get (Service -> Service
overrides Service
defaultService)
  response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy ListBots
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListBots)))
response =
    forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
      ( \Int
s ResponseHeaders
h Object
x ->
          Maybe [LexBotConfig] -> Maybe Text -> Int -> ListBotsResponse
ListBotsResponse'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"LexBots" forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ 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 -> Either String (Maybe a)
Data..?> Key
"NextToken")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable ListBots where
  hashWithSalt :: Int -> ListBots -> Int
hashWithSalt Int
_salt ListBots' {Maybe Natural
Maybe Text
Text
LexVersion
lexVersion :: LexVersion
instanceId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:lexVersion:ListBots' :: ListBots -> LexVersion
$sel:instanceId:ListBots' :: ListBots -> Text
$sel:nextToken:ListBots' :: ListBots -> Maybe Text
$sel:maxResults:ListBots' :: ListBots -> Maybe Natural
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
maxResults
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
instanceId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` LexVersion
lexVersion

instance Prelude.NFData ListBots where
  rnf :: ListBots -> ()
rnf ListBots' {Maybe Natural
Maybe Text
Text
LexVersion
lexVersion :: LexVersion
instanceId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:lexVersion:ListBots' :: ListBots -> LexVersion
$sel:instanceId:ListBots' :: ListBots -> Text
$sel:nextToken:ListBots' :: ListBots -> Maybe Text
$sel:maxResults:ListBots' :: ListBots -> Maybe Natural
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
maxResults
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
instanceId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf LexVersion
lexVersion

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

instance Data.ToPath ListBots where
  toPath :: ListBots -> ByteString
toPath ListBots' {Maybe Natural
Maybe Text
Text
LexVersion
lexVersion :: LexVersion
instanceId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:lexVersion:ListBots' :: ListBots -> LexVersion
$sel:instanceId:ListBots' :: ListBots -> Text
$sel:nextToken:ListBots' :: ListBots -> Maybe Text
$sel:maxResults:ListBots' :: ListBots -> Maybe Natural
..} =
    forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ByteString
"/instance/", forall a. ToByteString a => a -> ByteString
Data.toBS Text
instanceId, ByteString
"/bots"]

instance Data.ToQuery ListBots where
  toQuery :: ListBots -> QueryString
toQuery ListBots' {Maybe Natural
Maybe Text
Text
LexVersion
lexVersion :: LexVersion
instanceId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:lexVersion:ListBots' :: ListBots -> LexVersion
$sel:instanceId:ListBots' :: ListBots -> Text
$sel:nextToken:ListBots' :: ListBots -> Maybe Text
$sel:maxResults:ListBots' :: ListBots -> Maybe Natural
..} =
    forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"maxResults" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Natural
maxResults,
        ByteString
"nextToken" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
nextToken,
        ByteString
"lexVersion" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: LexVersion
lexVersion
      ]

-- | /See:/ 'newListBotsResponse' smart constructor.
data ListBotsResponse = ListBotsResponse'
  { -- | The names and Amazon Web Services Regions of the Amazon Lex or Amazon
    -- Lex V2 bots associated with the specified instance.
    ListBotsResponse -> Maybe [LexBotConfig]
lexBots :: Prelude.Maybe [LexBotConfig],
    -- | If there are additional results, this is the token for the next set of
    -- results.
    ListBotsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    ListBotsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (ListBotsResponse -> ListBotsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListBotsResponse -> ListBotsResponse -> Bool
$c/= :: ListBotsResponse -> ListBotsResponse -> Bool
== :: ListBotsResponse -> ListBotsResponse -> Bool
$c== :: ListBotsResponse -> ListBotsResponse -> Bool
Prelude.Eq, ReadPrec [ListBotsResponse]
ReadPrec ListBotsResponse
Int -> ReadS ListBotsResponse
ReadS [ListBotsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListBotsResponse]
$creadListPrec :: ReadPrec [ListBotsResponse]
readPrec :: ReadPrec ListBotsResponse
$creadPrec :: ReadPrec ListBotsResponse
readList :: ReadS [ListBotsResponse]
$creadList :: ReadS [ListBotsResponse]
readsPrec :: Int -> ReadS ListBotsResponse
$creadsPrec :: Int -> ReadS ListBotsResponse
Prelude.Read, Int -> ListBotsResponse -> ShowS
[ListBotsResponse] -> ShowS
ListBotsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListBotsResponse] -> ShowS
$cshowList :: [ListBotsResponse] -> ShowS
show :: ListBotsResponse -> String
$cshow :: ListBotsResponse -> String
showsPrec :: Int -> ListBotsResponse -> ShowS
$cshowsPrec :: Int -> ListBotsResponse -> ShowS
Prelude.Show, forall x. Rep ListBotsResponse x -> ListBotsResponse
forall x. ListBotsResponse -> Rep ListBotsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListBotsResponse x -> ListBotsResponse
$cfrom :: forall x. ListBotsResponse -> Rep ListBotsResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListBotsResponse' 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:
--
-- 'lexBots', 'listBotsResponse_lexBots' - The names and Amazon Web Services Regions of the Amazon Lex or Amazon
-- Lex V2 bots associated with the specified instance.
--
-- 'nextToken', 'listBotsResponse_nextToken' - If there are additional results, this is the token for the next set of
-- results.
--
-- 'httpStatus', 'listBotsResponse_httpStatus' - The response's http status code.
newListBotsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListBotsResponse
newListBotsResponse :: Int -> ListBotsResponse
newListBotsResponse Int
pHttpStatus_ =
  ListBotsResponse'
    { $sel:lexBots:ListBotsResponse' :: Maybe [LexBotConfig]
lexBots = forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListBotsResponse' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListBotsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The names and Amazon Web Services Regions of the Amazon Lex or Amazon
-- Lex V2 bots associated with the specified instance.
listBotsResponse_lexBots :: Lens.Lens' ListBotsResponse (Prelude.Maybe [LexBotConfig])
listBotsResponse_lexBots :: Lens' ListBotsResponse (Maybe [LexBotConfig])
listBotsResponse_lexBots = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListBotsResponse' {Maybe [LexBotConfig]
lexBots :: Maybe [LexBotConfig]
$sel:lexBots:ListBotsResponse' :: ListBotsResponse -> Maybe [LexBotConfig]
lexBots} -> Maybe [LexBotConfig]
lexBots) (\s :: ListBotsResponse
s@ListBotsResponse' {} Maybe [LexBotConfig]
a -> ListBotsResponse
s {$sel:lexBots:ListBotsResponse' :: Maybe [LexBotConfig]
lexBots = Maybe [LexBotConfig]
a} :: ListBotsResponse) 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 s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | If there are additional results, this is the token for the next set of
-- results.
listBotsResponse_nextToken :: Lens.Lens' ListBotsResponse (Prelude.Maybe Prelude.Text)
listBotsResponse_nextToken :: Lens' ListBotsResponse (Maybe Text)
listBotsResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListBotsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListBotsResponse' :: ListBotsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListBotsResponse
s@ListBotsResponse' {} Maybe Text
a -> ListBotsResponse
s {$sel:nextToken:ListBotsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListBotsResponse)

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

instance Prelude.NFData ListBotsResponse where
  rnf :: ListBotsResponse -> ()
rnf ListBotsResponse' {Int
Maybe [LexBotConfig]
Maybe Text
httpStatus :: Int
nextToken :: Maybe Text
lexBots :: Maybe [LexBotConfig]
$sel:httpStatus:ListBotsResponse' :: ListBotsResponse -> Int
$sel:nextToken:ListBotsResponse' :: ListBotsResponse -> Maybe Text
$sel:lexBots:ListBotsResponse' :: ListBotsResponse -> Maybe [LexBotConfig]
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe [LexBotConfig]
lexBots
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus