{-# 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.MQ.DescribeBroker
-- 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 specified broker.
module Amazonka.MQ.DescribeBroker
  ( -- * Creating a Request
    DescribeBroker (..),
    newDescribeBroker,

    -- * Request Lenses
    describeBroker_brokerId,

    -- * Destructuring the Response
    DescribeBrokerResponse (..),
    newDescribeBrokerResponse,

    -- * Response Lenses
    describeBrokerResponse_brokerName,
    describeBrokerResponse_engineVersion,
    describeBrokerResponse_pendingAuthenticationStrategy,
    describeBrokerResponse_brokerState,
    describeBrokerResponse_publiclyAccessible,
    describeBrokerResponse_autoMinorVersionUpgrade,
    describeBrokerResponse_securityGroups,
    describeBrokerResponse_users,
    describeBrokerResponse_pendingSecurityGroups,
    describeBrokerResponse_subnetIds,
    describeBrokerResponse_created,
    describeBrokerResponse_configurations,
    describeBrokerResponse_authenticationStrategy,
    describeBrokerResponse_pendingHostInstanceType,
    describeBrokerResponse_ldapServerMetadata,
    describeBrokerResponse_maintenanceWindowStartTime,
    describeBrokerResponse_logs,
    describeBrokerResponse_encryptionOptions,
    describeBrokerResponse_deploymentMode,
    describeBrokerResponse_pendingEngineVersion,
    describeBrokerResponse_brokerId,
    describeBrokerResponse_pendingLdapServerMetadata,
    describeBrokerResponse_engineType,
    describeBrokerResponse_brokerArn,
    describeBrokerResponse_tags,
    describeBrokerResponse_brokerInstances,
    describeBrokerResponse_hostInstanceType,
    describeBrokerResponse_storageType,
    describeBrokerResponse_httpStatus,
  )
where

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

-- | /See:/ 'newDescribeBroker' smart constructor.
data DescribeBroker = DescribeBroker'
  { -- | The unique ID that Amazon MQ generates for the broker.
    DescribeBroker -> Text
brokerId :: Prelude.Text
  }
  deriving (DescribeBroker -> DescribeBroker -> Bool
(DescribeBroker -> DescribeBroker -> Bool)
-> (DescribeBroker -> DescribeBroker -> Bool) -> Eq DescribeBroker
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeBroker -> DescribeBroker -> Bool
$c/= :: DescribeBroker -> DescribeBroker -> Bool
== :: DescribeBroker -> DescribeBroker -> Bool
$c== :: DescribeBroker -> DescribeBroker -> Bool
Prelude.Eq, ReadPrec [DescribeBroker]
ReadPrec DescribeBroker
Int -> ReadS DescribeBroker
ReadS [DescribeBroker]
(Int -> ReadS DescribeBroker)
-> ReadS [DescribeBroker]
-> ReadPrec DescribeBroker
-> ReadPrec [DescribeBroker]
-> Read DescribeBroker
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeBroker]
$creadListPrec :: ReadPrec [DescribeBroker]
readPrec :: ReadPrec DescribeBroker
$creadPrec :: ReadPrec DescribeBroker
readList :: ReadS [DescribeBroker]
$creadList :: ReadS [DescribeBroker]
readsPrec :: Int -> ReadS DescribeBroker
$creadsPrec :: Int -> ReadS DescribeBroker
Prelude.Read, Int -> DescribeBroker -> ShowS
[DescribeBroker] -> ShowS
DescribeBroker -> String
(Int -> DescribeBroker -> ShowS)
-> (DescribeBroker -> String)
-> ([DescribeBroker] -> ShowS)
-> Show DescribeBroker
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeBroker] -> ShowS
$cshowList :: [DescribeBroker] -> ShowS
show :: DescribeBroker -> String
$cshow :: DescribeBroker -> String
showsPrec :: Int -> DescribeBroker -> ShowS
$cshowsPrec :: Int -> DescribeBroker -> ShowS
Prelude.Show, (forall x. DescribeBroker -> Rep DescribeBroker x)
-> (forall x. Rep DescribeBroker x -> DescribeBroker)
-> Generic DescribeBroker
forall x. Rep DescribeBroker x -> DescribeBroker
forall x. DescribeBroker -> Rep DescribeBroker x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeBroker x -> DescribeBroker
$cfrom :: forall x. DescribeBroker -> Rep DescribeBroker x
Prelude.Generic)

-- |
-- Create a value of 'DescribeBroker' 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:
--
-- 'brokerId', 'describeBroker_brokerId' - The unique ID that Amazon MQ generates for the broker.
newDescribeBroker ::
  -- | 'brokerId'
  Prelude.Text ->
  DescribeBroker
newDescribeBroker :: Text -> DescribeBroker
newDescribeBroker Text
pBrokerId_ =
  DescribeBroker' :: Text -> DescribeBroker
DescribeBroker' {$sel:brokerId:DescribeBroker' :: Text
brokerId = Text
pBrokerId_}

-- | The unique ID that Amazon MQ generates for the broker.
describeBroker_brokerId :: Lens.Lens' DescribeBroker Prelude.Text
describeBroker_brokerId :: (Text -> f Text) -> DescribeBroker -> f DescribeBroker
describeBroker_brokerId = (DescribeBroker -> Text)
-> (DescribeBroker -> Text -> DescribeBroker)
-> Lens DescribeBroker DescribeBroker Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBroker' {Text
brokerId :: Text
$sel:brokerId:DescribeBroker' :: DescribeBroker -> Text
brokerId} -> Text
brokerId) (\s :: DescribeBroker
s@DescribeBroker' {} Text
a -> DescribeBroker
s {$sel:brokerId:DescribeBroker' :: Text
brokerId = Text
a} :: DescribeBroker)

instance Core.AWSRequest DescribeBroker where
  type
    AWSResponse DescribeBroker =
      DescribeBrokerResponse
  request :: DescribeBroker -> Request DescribeBroker
request = Service -> DescribeBroker -> Request DescribeBroker
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
  response :: Logger
-> Service
-> Proxy DescribeBroker
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeBroker)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DescribeBroker))
-> Logger
-> Service
-> Proxy DescribeBroker
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeBroker)))
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 Text
-> Maybe AuthenticationStrategy
-> Maybe BrokerState
-> Maybe Bool
-> Maybe Bool
-> Maybe [Text]
-> Maybe [UserSummary]
-> Maybe [Text]
-> Maybe [Text]
-> Maybe POSIX
-> Maybe Configurations
-> Maybe AuthenticationStrategy
-> Maybe Text
-> Maybe LdapServerMetadataOutput
-> Maybe WeeklyStartTime
-> Maybe LogsSummary
-> Maybe EncryptionOptions
-> Maybe DeploymentMode
-> Maybe Text
-> Maybe Text
-> Maybe LdapServerMetadataOutput
-> Maybe EngineType
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe [BrokerInstance]
-> Maybe Text
-> Maybe BrokerStorageType
-> Int
-> DescribeBrokerResponse
DescribeBrokerResponse'
            (Maybe Text
 -> Maybe Text
 -> Maybe AuthenticationStrategy
 -> Maybe BrokerState
 -> Maybe Bool
 -> Maybe Bool
 -> Maybe [Text]
 -> Maybe [UserSummary]
 -> Maybe [Text]
 -> Maybe [Text]
 -> Maybe POSIX
 -> Maybe Configurations
 -> Maybe AuthenticationStrategy
 -> Maybe Text
 -> Maybe LdapServerMetadataOutput
 -> Maybe WeeklyStartTime
 -> Maybe LogsSummary
 -> Maybe EncryptionOptions
 -> Maybe DeploymentMode
 -> Maybe Text
 -> Maybe Text
 -> Maybe LdapServerMetadataOutput
 -> Maybe EngineType
 -> Maybe Text
 -> Maybe (HashMap Text Text)
 -> Maybe [BrokerInstance]
 -> Maybe Text
 -> Maybe BrokerStorageType
 -> Int
 -> DescribeBrokerResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Text
      -> Maybe AuthenticationStrategy
      -> Maybe BrokerState
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe [Text]
      -> Maybe [UserSummary]
      -> Maybe [Text]
      -> Maybe [Text]
      -> Maybe POSIX
      -> Maybe Configurations
      -> Maybe AuthenticationStrategy
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
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
"brokerName")
            Either
  String
  (Maybe Text
   -> Maybe AuthenticationStrategy
   -> Maybe BrokerState
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe [Text]
   -> Maybe [UserSummary]
   -> Maybe [Text]
   -> Maybe [Text]
   -> Maybe POSIX
   -> Maybe Configurations
   -> Maybe AuthenticationStrategy
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe AuthenticationStrategy
      -> Maybe BrokerState
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe [Text]
      -> Maybe [UserSummary]
      -> Maybe [Text]
      -> Maybe [Text]
      -> Maybe POSIX
      -> Maybe Configurations
      -> Maybe AuthenticationStrategy
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
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
"engineVersion")
            Either
  String
  (Maybe AuthenticationStrategy
   -> Maybe BrokerState
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe [Text]
   -> Maybe [UserSummary]
   -> Maybe [Text]
   -> Maybe [Text]
   -> Maybe POSIX
   -> Maybe Configurations
   -> Maybe AuthenticationStrategy
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe AuthenticationStrategy)
-> Either
     String
     (Maybe BrokerState
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe [Text]
      -> Maybe [UserSummary]
      -> Maybe [Text]
      -> Maybe [Text]
      -> Maybe POSIX
      -> Maybe Configurations
      -> Maybe AuthenticationStrategy
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe AuthenticationStrategy)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"pendingAuthenticationStrategy")
            Either
  String
  (Maybe BrokerState
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe [Text]
   -> Maybe [UserSummary]
   -> Maybe [Text]
   -> Maybe [Text]
   -> Maybe POSIX
   -> Maybe Configurations
   -> Maybe AuthenticationStrategy
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe BrokerState)
-> Either
     String
     (Maybe Bool
      -> Maybe Bool
      -> Maybe [Text]
      -> Maybe [UserSummary]
      -> Maybe [Text]
      -> Maybe [Text]
      -> Maybe POSIX
      -> Maybe Configurations
      -> Maybe AuthenticationStrategy
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe BrokerState)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"brokerState")
            Either
  String
  (Maybe Bool
   -> Maybe Bool
   -> Maybe [Text]
   -> Maybe [UserSummary]
   -> Maybe [Text]
   -> Maybe [Text]
   -> Maybe POSIX
   -> Maybe Configurations
   -> Maybe AuthenticationStrategy
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Bool
      -> Maybe [Text]
      -> Maybe [UserSummary]
      -> Maybe [Text]
      -> Maybe [Text]
      -> Maybe POSIX
      -> Maybe Configurations
      -> Maybe AuthenticationStrategy
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"publiclyAccessible")
            Either
  String
  (Maybe Bool
   -> Maybe [Text]
   -> Maybe [UserSummary]
   -> Maybe [Text]
   -> Maybe [Text]
   -> Maybe POSIX
   -> Maybe Configurations
   -> Maybe AuthenticationStrategy
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe [Text]
      -> Maybe [UserSummary]
      -> Maybe [Text]
      -> Maybe [Text]
      -> Maybe POSIX
      -> Maybe Configurations
      -> Maybe AuthenticationStrategy
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"autoMinorVersionUpgrade")
            Either
  String
  (Maybe [Text]
   -> Maybe [UserSummary]
   -> Maybe [Text]
   -> Maybe [Text]
   -> Maybe POSIX
   -> Maybe Configurations
   -> Maybe AuthenticationStrategy
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe [Text])
-> Either
     String
     (Maybe [UserSummary]
      -> Maybe [Text]
      -> Maybe [Text]
      -> Maybe POSIX
      -> Maybe Configurations
      -> Maybe AuthenticationStrategy
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"securityGroups" Either String (Maybe (Maybe [Text]))
-> Maybe [Text] -> Either String (Maybe [Text])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
            Either
  String
  (Maybe [UserSummary]
   -> Maybe [Text]
   -> Maybe [Text]
   -> Maybe POSIX
   -> Maybe Configurations
   -> Maybe AuthenticationStrategy
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe [UserSummary])
-> Either
     String
     (Maybe [Text]
      -> Maybe [Text]
      -> Maybe POSIX
      -> Maybe Configurations
      -> Maybe AuthenticationStrategy
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [UserSummary]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"users" Either String (Maybe (Maybe [UserSummary]))
-> Maybe [UserSummary] -> Either String (Maybe [UserSummary])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [UserSummary]
forall a. Monoid a => a
Prelude.mempty)
            Either
  String
  (Maybe [Text]
   -> Maybe [Text]
   -> Maybe POSIX
   -> Maybe Configurations
   -> Maybe AuthenticationStrategy
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe [Text])
-> Either
     String
     (Maybe [Text]
      -> Maybe POSIX
      -> Maybe Configurations
      -> Maybe AuthenticationStrategy
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"pendingSecurityGroups"
                            Either String (Maybe (Maybe [Text]))
-> Maybe [Text] -> Either String (Maybe [Text])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Text]
forall a. Monoid a => a
Prelude.mempty
                        )
            Either
  String
  (Maybe [Text]
   -> Maybe POSIX
   -> Maybe Configurations
   -> Maybe AuthenticationStrategy
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe [Text])
-> Either
     String
     (Maybe POSIX
      -> Maybe Configurations
      -> Maybe AuthenticationStrategy
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"subnetIds" Either String (Maybe (Maybe [Text]))
-> Maybe [Text] -> Either String (Maybe [Text])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
            Either
  String
  (Maybe POSIX
   -> Maybe Configurations
   -> Maybe AuthenticationStrategy
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe POSIX)
-> Either
     String
     (Maybe Configurations
      -> Maybe AuthenticationStrategy
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
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
"created")
            Either
  String
  (Maybe Configurations
   -> Maybe AuthenticationStrategy
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe Configurations)
-> Either
     String
     (Maybe AuthenticationStrategy
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Configurations)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"configurations")
            Either
  String
  (Maybe AuthenticationStrategy
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe AuthenticationStrategy)
-> Either
     String
     (Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe AuthenticationStrategy)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"authenticationStrategy")
            Either
  String
  (Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe LdapServerMetadataOutput
      -> Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
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
"pendingHostInstanceType")
            Either
  String
  (Maybe LdapServerMetadataOutput
   -> Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe LdapServerMetadataOutput)
-> Either
     String
     (Maybe WeeklyStartTime
      -> Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe LdapServerMetadataOutput)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ldapServerMetadata")
            Either
  String
  (Maybe WeeklyStartTime
   -> Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe WeeklyStartTime)
-> Either
     String
     (Maybe LogsSummary
      -> Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe WeeklyStartTime)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"maintenanceWindowStartTime")
            Either
  String
  (Maybe LogsSummary
   -> Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe LogsSummary)
-> Either
     String
     (Maybe EncryptionOptions
      -> Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe LogsSummary)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"logs")
            Either
  String
  (Maybe EncryptionOptions
   -> Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe EncryptionOptions)
-> Either
     String
     (Maybe DeploymentMode
      -> Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe EncryptionOptions)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"encryptionOptions")
            Either
  String
  (Maybe DeploymentMode
   -> Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe DeploymentMode)
-> Either
     String
     (Maybe Text
      -> Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe DeploymentMode)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"deploymentMode")
            Either
  String
  (Maybe Text
   -> Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Text
      -> Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
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
"pendingEngineVersion")
            Either
  String
  (Maybe Text
   -> Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe LdapServerMetadataOutput
      -> Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
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
"brokerId")
            Either
  String
  (Maybe LdapServerMetadataOutput
   -> Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe LdapServerMetadataOutput)
-> Either
     String
     (Maybe EngineType
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe LdapServerMetadataOutput)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"pendingLdapServerMetadata")
            Either
  String
  (Maybe EngineType
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe EngineType)
-> Either
     String
     (Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe EngineType)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"engineType")
            Either
  String
  (Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe (HashMap Text Text)
      -> Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
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
"brokerArn")
            Either
  String
  (Maybe (HashMap Text Text)
   -> Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe (HashMap Text Text))
-> Either
     String
     (Maybe [BrokerInstance]
      -> Maybe Text
      -> Maybe BrokerStorageType
      -> Int
      -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe (HashMap Text Text)))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"tags" Either String (Maybe (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text)
-> Either String (Maybe (HashMap Text Text))
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe (HashMap Text Text)
forall a. Monoid a => a
Prelude.mempty)
            Either
  String
  (Maybe [BrokerInstance]
   -> Maybe Text
   -> Maybe BrokerStorageType
   -> Int
   -> DescribeBrokerResponse)
-> Either String (Maybe [BrokerInstance])
-> Either
     String
     (Maybe Text
      -> Maybe BrokerStorageType -> Int -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [BrokerInstance]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"brokerInstances"
                            Either String (Maybe (Maybe [BrokerInstance]))
-> Maybe [BrokerInstance] -> Either String (Maybe [BrokerInstance])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [BrokerInstance]
forall a. Monoid a => a
Prelude.mempty
                        )
            Either
  String
  (Maybe Text
   -> Maybe BrokerStorageType -> Int -> DescribeBrokerResponse)
-> Either String (Maybe Text)
-> Either
     String (Maybe BrokerStorageType -> Int -> DescribeBrokerResponse)
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
"hostInstanceType")
            Either
  String (Maybe BrokerStorageType -> Int -> DescribeBrokerResponse)
-> Either String (Maybe BrokerStorageType)
-> Either String (Int -> DescribeBrokerResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe BrokerStorageType)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"storageType")
            Either String (Int -> DescribeBrokerResponse)
-> Either String Int -> Either String DescribeBrokerResponse
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 DescribeBroker

instance Prelude.NFData DescribeBroker

instance Core.ToHeaders DescribeBroker where
  toHeaders :: DescribeBroker -> ResponseHeaders
toHeaders =
    ResponseHeaders -> DescribeBroker -> 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 DescribeBroker where
  toPath :: DescribeBroker -> ByteString
toPath DescribeBroker' {Text
brokerId :: Text
$sel:brokerId:DescribeBroker' :: DescribeBroker -> Text
..} =
    [ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ByteString
"/v1/brokers/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
brokerId]

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

-- | /See:/ 'newDescribeBrokerResponse' smart constructor.
data DescribeBrokerResponse = DescribeBrokerResponse'
  { -- | The broker\'s name. This value must be unique in your AWS account, 1-50
    -- characters long, must contain only letters, numbers, dashes, and
    -- underscores, and must not contain white spaces, brackets, wildcard
    -- characters, or special characters.
    DescribeBrokerResponse -> Maybe Text
brokerName :: Prelude.Maybe Prelude.Text,
    -- | The broker engine\'s version. For a list of supported engine versions,
    -- see
    -- <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html Supported engines>.
    DescribeBrokerResponse -> Maybe Text
engineVersion :: Prelude.Maybe Prelude.Text,
    -- | The authentication strategy that will be applied when the broker is
    -- rebooted. The default is SIMPLE.
    DescribeBrokerResponse -> Maybe AuthenticationStrategy
pendingAuthenticationStrategy :: Prelude.Maybe AuthenticationStrategy,
    -- | The broker\'s status.
    DescribeBrokerResponse -> Maybe BrokerState
brokerState :: Prelude.Maybe BrokerState,
    -- | Enables connections from applications outside of the VPC that hosts the
    -- broker\'s subnets.
    DescribeBrokerResponse -> Maybe Bool
publiclyAccessible :: Prelude.Maybe Prelude.Bool,
    -- | Enables automatic upgrades to new minor versions for brokers, as new
    -- versions are released and supported by Amazon MQ. Automatic upgrades
    -- occur during the scheduled maintenance window of the broker or after a
    -- manual broker reboot.
    DescribeBrokerResponse -> Maybe Bool
autoMinorVersionUpgrade :: Prelude.Maybe Prelude.Bool,
    -- | The list of rules (1 minimum, 125 maximum) that authorize connections to
    -- brokers.
    DescribeBrokerResponse -> Maybe [Text]
securityGroups :: Prelude.Maybe [Prelude.Text],
    -- | The list of all broker usernames for the specified broker.
    DescribeBrokerResponse -> Maybe [UserSummary]
users :: Prelude.Maybe [UserSummary],
    -- | The list of pending security groups to authorize connections to brokers.
    DescribeBrokerResponse -> Maybe [Text]
pendingSecurityGroups :: Prelude.Maybe [Prelude.Text],
    -- | The list of groups that define which subnets and IP ranges the broker
    -- can use from different Availability Zones.
    DescribeBrokerResponse -> Maybe [Text]
subnetIds :: Prelude.Maybe [Prelude.Text],
    -- | The time when the broker was created.
    DescribeBrokerResponse -> Maybe POSIX
created :: Prelude.Maybe Core.POSIX,
    -- | The list of all revisions for the specified configuration.
    DescribeBrokerResponse -> Maybe Configurations
configurations :: Prelude.Maybe Configurations,
    -- | The authentication strategy used to secure the broker. The default is
    -- SIMPLE.
    DescribeBrokerResponse -> Maybe AuthenticationStrategy
authenticationStrategy :: Prelude.Maybe AuthenticationStrategy,
    -- | The broker\'s host instance type to upgrade to. For a list of supported
    -- instance types, see
    -- <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker.html#broker-instance-types Broker instance types>.
    DescribeBrokerResponse -> Maybe Text
pendingHostInstanceType :: Prelude.Maybe Prelude.Text,
    -- | The metadata of the LDAP server used to authenticate and authorize
    -- connections to the broker.
    DescribeBrokerResponse -> Maybe LdapServerMetadataOutput
ldapServerMetadata :: Prelude.Maybe LdapServerMetadataOutput,
    -- | The parameters that determine the WeeklyStartTime.
    DescribeBrokerResponse -> Maybe WeeklyStartTime
maintenanceWindowStartTime :: Prelude.Maybe WeeklyStartTime,
    -- | The list of information about logs currently enabled and pending to be
    -- deployed for the specified broker.
    DescribeBrokerResponse -> Maybe LogsSummary
logs :: Prelude.Maybe LogsSummary,
    -- | Encryption options for the broker. Does not apply to RabbitMQ brokers.
    DescribeBrokerResponse -> Maybe EncryptionOptions
encryptionOptions :: Prelude.Maybe EncryptionOptions,
    -- | The broker\'s deployment mode.
    DescribeBrokerResponse -> Maybe DeploymentMode
deploymentMode :: Prelude.Maybe DeploymentMode,
    -- | The broker engine version to upgrade to. For a list of supported engine
    -- versions, see
    -- <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html Supported engines>.
    DescribeBrokerResponse -> Maybe Text
pendingEngineVersion :: Prelude.Maybe Prelude.Text,
    -- | The unique ID that Amazon MQ generates for the broker.
    DescribeBrokerResponse -> Maybe Text
brokerId :: Prelude.Maybe Prelude.Text,
    -- | The metadata of the LDAP server that will be used to authenticate and
    -- authorize connections to the broker after it is rebooted.
    DescribeBrokerResponse -> Maybe LdapServerMetadataOutput
pendingLdapServerMetadata :: Prelude.Maybe LdapServerMetadataOutput,
    -- | The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and
    -- RABBITMQ.
    DescribeBrokerResponse -> Maybe EngineType
engineType :: Prelude.Maybe EngineType,
    -- | The broker\'s Amazon Resource Name (ARN).
    DescribeBrokerResponse -> Maybe Text
brokerArn :: Prelude.Maybe Prelude.Text,
    -- | The list of all tags associated with this broker.
    DescribeBrokerResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
    -- | A list of information about allocated brokers.
    DescribeBrokerResponse -> Maybe [BrokerInstance]
brokerInstances :: Prelude.Maybe [BrokerInstance],
    -- | The broker\'s instance type.
    DescribeBrokerResponse -> Maybe Text
hostInstanceType :: Prelude.Maybe Prelude.Text,
    -- | The broker\'s storage type.
    DescribeBrokerResponse -> Maybe BrokerStorageType
storageType :: Prelude.Maybe BrokerStorageType,
    -- | The response's http status code.
    DescribeBrokerResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (DescribeBrokerResponse -> DescribeBrokerResponse -> Bool
(DescribeBrokerResponse -> DescribeBrokerResponse -> Bool)
-> (DescribeBrokerResponse -> DescribeBrokerResponse -> Bool)
-> Eq DescribeBrokerResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeBrokerResponse -> DescribeBrokerResponse -> Bool
$c/= :: DescribeBrokerResponse -> DescribeBrokerResponse -> Bool
== :: DescribeBrokerResponse -> DescribeBrokerResponse -> Bool
$c== :: DescribeBrokerResponse -> DescribeBrokerResponse -> Bool
Prelude.Eq, ReadPrec [DescribeBrokerResponse]
ReadPrec DescribeBrokerResponse
Int -> ReadS DescribeBrokerResponse
ReadS [DescribeBrokerResponse]
(Int -> ReadS DescribeBrokerResponse)
-> ReadS [DescribeBrokerResponse]
-> ReadPrec DescribeBrokerResponse
-> ReadPrec [DescribeBrokerResponse]
-> Read DescribeBrokerResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeBrokerResponse]
$creadListPrec :: ReadPrec [DescribeBrokerResponse]
readPrec :: ReadPrec DescribeBrokerResponse
$creadPrec :: ReadPrec DescribeBrokerResponse
readList :: ReadS [DescribeBrokerResponse]
$creadList :: ReadS [DescribeBrokerResponse]
readsPrec :: Int -> ReadS DescribeBrokerResponse
$creadsPrec :: Int -> ReadS DescribeBrokerResponse
Prelude.Read, Int -> DescribeBrokerResponse -> ShowS
[DescribeBrokerResponse] -> ShowS
DescribeBrokerResponse -> String
(Int -> DescribeBrokerResponse -> ShowS)
-> (DescribeBrokerResponse -> String)
-> ([DescribeBrokerResponse] -> ShowS)
-> Show DescribeBrokerResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeBrokerResponse] -> ShowS
$cshowList :: [DescribeBrokerResponse] -> ShowS
show :: DescribeBrokerResponse -> String
$cshow :: DescribeBrokerResponse -> String
showsPrec :: Int -> DescribeBrokerResponse -> ShowS
$cshowsPrec :: Int -> DescribeBrokerResponse -> ShowS
Prelude.Show, (forall x. DescribeBrokerResponse -> Rep DescribeBrokerResponse x)
-> (forall x.
    Rep DescribeBrokerResponse x -> DescribeBrokerResponse)
-> Generic DescribeBrokerResponse
forall x. Rep DescribeBrokerResponse x -> DescribeBrokerResponse
forall x. DescribeBrokerResponse -> Rep DescribeBrokerResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeBrokerResponse x -> DescribeBrokerResponse
$cfrom :: forall x. DescribeBrokerResponse -> Rep DescribeBrokerResponse x
Prelude.Generic)

-- |
-- Create a value of 'DescribeBrokerResponse' 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:
--
-- 'brokerName', 'describeBrokerResponse_brokerName' - The broker\'s name. This value must be unique in your AWS account, 1-50
-- characters long, must contain only letters, numbers, dashes, and
-- underscores, and must not contain white spaces, brackets, wildcard
-- characters, or special characters.
--
-- 'engineVersion', 'describeBrokerResponse_engineVersion' - The broker engine\'s version. For a list of supported engine versions,
-- see
-- <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html Supported engines>.
--
-- 'pendingAuthenticationStrategy', 'describeBrokerResponse_pendingAuthenticationStrategy' - The authentication strategy that will be applied when the broker is
-- rebooted. The default is SIMPLE.
--
-- 'brokerState', 'describeBrokerResponse_brokerState' - The broker\'s status.
--
-- 'publiclyAccessible', 'describeBrokerResponse_publiclyAccessible' - Enables connections from applications outside of the VPC that hosts the
-- broker\'s subnets.
--
-- 'autoMinorVersionUpgrade', 'describeBrokerResponse_autoMinorVersionUpgrade' - Enables automatic upgrades to new minor versions for brokers, as new
-- versions are released and supported by Amazon MQ. Automatic upgrades
-- occur during the scheduled maintenance window of the broker or after a
-- manual broker reboot.
--
-- 'securityGroups', 'describeBrokerResponse_securityGroups' - The list of rules (1 minimum, 125 maximum) that authorize connections to
-- brokers.
--
-- 'users', 'describeBrokerResponse_users' - The list of all broker usernames for the specified broker.
--
-- 'pendingSecurityGroups', 'describeBrokerResponse_pendingSecurityGroups' - The list of pending security groups to authorize connections to brokers.
--
-- 'subnetIds', 'describeBrokerResponse_subnetIds' - The list of groups that define which subnets and IP ranges the broker
-- can use from different Availability Zones.
--
-- 'created', 'describeBrokerResponse_created' - The time when the broker was created.
--
-- 'configurations', 'describeBrokerResponse_configurations' - The list of all revisions for the specified configuration.
--
-- 'authenticationStrategy', 'describeBrokerResponse_authenticationStrategy' - The authentication strategy used to secure the broker. The default is
-- SIMPLE.
--
-- 'pendingHostInstanceType', 'describeBrokerResponse_pendingHostInstanceType' - The broker\'s host instance type to upgrade to. For a list of supported
-- instance types, see
-- <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker.html#broker-instance-types Broker instance types>.
--
-- 'ldapServerMetadata', 'describeBrokerResponse_ldapServerMetadata' - The metadata of the LDAP server used to authenticate and authorize
-- connections to the broker.
--
-- 'maintenanceWindowStartTime', 'describeBrokerResponse_maintenanceWindowStartTime' - The parameters that determine the WeeklyStartTime.
--
-- 'logs', 'describeBrokerResponse_logs' - The list of information about logs currently enabled and pending to be
-- deployed for the specified broker.
--
-- 'encryptionOptions', 'describeBrokerResponse_encryptionOptions' - Encryption options for the broker. Does not apply to RabbitMQ brokers.
--
-- 'deploymentMode', 'describeBrokerResponse_deploymentMode' - The broker\'s deployment mode.
--
-- 'pendingEngineVersion', 'describeBrokerResponse_pendingEngineVersion' - The broker engine version to upgrade to. For a list of supported engine
-- versions, see
-- <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html Supported engines>.
--
-- 'brokerId', 'describeBrokerResponse_brokerId' - The unique ID that Amazon MQ generates for the broker.
--
-- 'pendingLdapServerMetadata', 'describeBrokerResponse_pendingLdapServerMetadata' - The metadata of the LDAP server that will be used to authenticate and
-- authorize connections to the broker after it is rebooted.
--
-- 'engineType', 'describeBrokerResponse_engineType' - The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and
-- RABBITMQ.
--
-- 'brokerArn', 'describeBrokerResponse_brokerArn' - The broker\'s Amazon Resource Name (ARN).
--
-- 'tags', 'describeBrokerResponse_tags' - The list of all tags associated with this broker.
--
-- 'brokerInstances', 'describeBrokerResponse_brokerInstances' - A list of information about allocated brokers.
--
-- 'hostInstanceType', 'describeBrokerResponse_hostInstanceType' - The broker\'s instance type.
--
-- 'storageType', 'describeBrokerResponse_storageType' - The broker\'s storage type.
--
-- 'httpStatus', 'describeBrokerResponse_httpStatus' - The response's http status code.
newDescribeBrokerResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DescribeBrokerResponse
newDescribeBrokerResponse :: Int -> DescribeBrokerResponse
newDescribeBrokerResponse Int
pHttpStatus_ =
  DescribeBrokerResponse' :: Maybe Text
-> Maybe Text
-> Maybe AuthenticationStrategy
-> Maybe BrokerState
-> Maybe Bool
-> Maybe Bool
-> Maybe [Text]
-> Maybe [UserSummary]
-> Maybe [Text]
-> Maybe [Text]
-> Maybe POSIX
-> Maybe Configurations
-> Maybe AuthenticationStrategy
-> Maybe Text
-> Maybe LdapServerMetadataOutput
-> Maybe WeeklyStartTime
-> Maybe LogsSummary
-> Maybe EncryptionOptions
-> Maybe DeploymentMode
-> Maybe Text
-> Maybe Text
-> Maybe LdapServerMetadataOutput
-> Maybe EngineType
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe [BrokerInstance]
-> Maybe Text
-> Maybe BrokerStorageType
-> Int
-> DescribeBrokerResponse
DescribeBrokerResponse'
    { $sel:brokerName:DescribeBrokerResponse' :: Maybe Text
brokerName =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:engineVersion:DescribeBrokerResponse' :: Maybe Text
engineVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:pendingAuthenticationStrategy:DescribeBrokerResponse' :: Maybe AuthenticationStrategy
pendingAuthenticationStrategy = Maybe AuthenticationStrategy
forall a. Maybe a
Prelude.Nothing,
      $sel:brokerState:DescribeBrokerResponse' :: Maybe BrokerState
brokerState = Maybe BrokerState
forall a. Maybe a
Prelude.Nothing,
      $sel:publiclyAccessible:DescribeBrokerResponse' :: Maybe Bool
publiclyAccessible = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:autoMinorVersionUpgrade:DescribeBrokerResponse' :: Maybe Bool
autoMinorVersionUpgrade = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:securityGroups:DescribeBrokerResponse' :: Maybe [Text]
securityGroups = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:users:DescribeBrokerResponse' :: Maybe [UserSummary]
users = Maybe [UserSummary]
forall a. Maybe a
Prelude.Nothing,
      $sel:pendingSecurityGroups:DescribeBrokerResponse' :: Maybe [Text]
pendingSecurityGroups = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:subnetIds:DescribeBrokerResponse' :: Maybe [Text]
subnetIds = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:created:DescribeBrokerResponse' :: Maybe POSIX
created = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
      $sel:configurations:DescribeBrokerResponse' :: Maybe Configurations
configurations = Maybe Configurations
forall a. Maybe a
Prelude.Nothing,
      $sel:authenticationStrategy:DescribeBrokerResponse' :: Maybe AuthenticationStrategy
authenticationStrategy = Maybe AuthenticationStrategy
forall a. Maybe a
Prelude.Nothing,
      $sel:pendingHostInstanceType:DescribeBrokerResponse' :: Maybe Text
pendingHostInstanceType = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:ldapServerMetadata:DescribeBrokerResponse' :: Maybe LdapServerMetadataOutput
ldapServerMetadata = Maybe LdapServerMetadataOutput
forall a. Maybe a
Prelude.Nothing,
      $sel:maintenanceWindowStartTime:DescribeBrokerResponse' :: Maybe WeeklyStartTime
maintenanceWindowStartTime = Maybe WeeklyStartTime
forall a. Maybe a
Prelude.Nothing,
      $sel:logs:DescribeBrokerResponse' :: Maybe LogsSummary
logs = Maybe LogsSummary
forall a. Maybe a
Prelude.Nothing,
      $sel:encryptionOptions:DescribeBrokerResponse' :: Maybe EncryptionOptions
encryptionOptions = Maybe EncryptionOptions
forall a. Maybe a
Prelude.Nothing,
      $sel:deploymentMode:DescribeBrokerResponse' :: Maybe DeploymentMode
deploymentMode = Maybe DeploymentMode
forall a. Maybe a
Prelude.Nothing,
      $sel:pendingEngineVersion:DescribeBrokerResponse' :: Maybe Text
pendingEngineVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:brokerId:DescribeBrokerResponse' :: Maybe Text
brokerId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:pendingLdapServerMetadata:DescribeBrokerResponse' :: Maybe LdapServerMetadataOutput
pendingLdapServerMetadata = Maybe LdapServerMetadataOutput
forall a. Maybe a
Prelude.Nothing,
      $sel:engineType:DescribeBrokerResponse' :: Maybe EngineType
engineType = Maybe EngineType
forall a. Maybe a
Prelude.Nothing,
      $sel:brokerArn:DescribeBrokerResponse' :: Maybe Text
brokerArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:tags:DescribeBrokerResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
      $sel:brokerInstances:DescribeBrokerResponse' :: Maybe [BrokerInstance]
brokerInstances = Maybe [BrokerInstance]
forall a. Maybe a
Prelude.Nothing,
      $sel:hostInstanceType:DescribeBrokerResponse' :: Maybe Text
hostInstanceType = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:storageType:DescribeBrokerResponse' :: Maybe BrokerStorageType
storageType = Maybe BrokerStorageType
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DescribeBrokerResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The broker\'s name. This value must be unique in your AWS account, 1-50
-- characters long, must contain only letters, numbers, dashes, and
-- underscores, and must not contain white spaces, brackets, wildcard
-- characters, or special characters.
describeBrokerResponse_brokerName :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe Prelude.Text)
describeBrokerResponse_brokerName :: (Maybe Text -> f (Maybe Text))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_brokerName = (DescribeBrokerResponse -> Maybe Text)
-> (DescribeBrokerResponse -> Maybe Text -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe Text
brokerName :: Maybe Text
$sel:brokerName:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe Text
brokerName} -> Maybe Text
brokerName) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe Text
a -> DescribeBrokerResponse
s {$sel:brokerName:DescribeBrokerResponse' :: Maybe Text
brokerName = Maybe Text
a} :: DescribeBrokerResponse)

-- | The broker engine\'s version. For a list of supported engine versions,
-- see
-- <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html Supported engines>.
describeBrokerResponse_engineVersion :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe Prelude.Text)
describeBrokerResponse_engineVersion :: (Maybe Text -> f (Maybe Text))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_engineVersion = (DescribeBrokerResponse -> Maybe Text)
-> (DescribeBrokerResponse -> Maybe Text -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe Text
engineVersion :: Maybe Text
$sel:engineVersion:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe Text
engineVersion} -> Maybe Text
engineVersion) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe Text
a -> DescribeBrokerResponse
s {$sel:engineVersion:DescribeBrokerResponse' :: Maybe Text
engineVersion = Maybe Text
a} :: DescribeBrokerResponse)

-- | The authentication strategy that will be applied when the broker is
-- rebooted. The default is SIMPLE.
describeBrokerResponse_pendingAuthenticationStrategy :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe AuthenticationStrategy)
describeBrokerResponse_pendingAuthenticationStrategy :: (Maybe AuthenticationStrategy -> f (Maybe AuthenticationStrategy))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_pendingAuthenticationStrategy = (DescribeBrokerResponse -> Maybe AuthenticationStrategy)
-> (DescribeBrokerResponse
    -> Maybe AuthenticationStrategy -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe AuthenticationStrategy)
     (Maybe AuthenticationStrategy)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe AuthenticationStrategy
pendingAuthenticationStrategy :: Maybe AuthenticationStrategy
$sel:pendingAuthenticationStrategy:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe AuthenticationStrategy
pendingAuthenticationStrategy} -> Maybe AuthenticationStrategy
pendingAuthenticationStrategy) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe AuthenticationStrategy
a -> DescribeBrokerResponse
s {$sel:pendingAuthenticationStrategy:DescribeBrokerResponse' :: Maybe AuthenticationStrategy
pendingAuthenticationStrategy = Maybe AuthenticationStrategy
a} :: DescribeBrokerResponse)

-- | The broker\'s status.
describeBrokerResponse_brokerState :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe BrokerState)
describeBrokerResponse_brokerState :: (Maybe BrokerState -> f (Maybe BrokerState))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_brokerState = (DescribeBrokerResponse -> Maybe BrokerState)
-> (DescribeBrokerResponse
    -> Maybe BrokerState -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe BrokerState)
     (Maybe BrokerState)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe BrokerState
brokerState :: Maybe BrokerState
$sel:brokerState:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe BrokerState
brokerState} -> Maybe BrokerState
brokerState) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe BrokerState
a -> DescribeBrokerResponse
s {$sel:brokerState:DescribeBrokerResponse' :: Maybe BrokerState
brokerState = Maybe BrokerState
a} :: DescribeBrokerResponse)

-- | Enables connections from applications outside of the VPC that hosts the
-- broker\'s subnets.
describeBrokerResponse_publiclyAccessible :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe Prelude.Bool)
describeBrokerResponse_publiclyAccessible :: (Maybe Bool -> f (Maybe Bool))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_publiclyAccessible = (DescribeBrokerResponse -> Maybe Bool)
-> (DescribeBrokerResponse -> Maybe Bool -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe Bool
publiclyAccessible :: Maybe Bool
$sel:publiclyAccessible:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe Bool
publiclyAccessible} -> Maybe Bool
publiclyAccessible) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe Bool
a -> DescribeBrokerResponse
s {$sel:publiclyAccessible:DescribeBrokerResponse' :: Maybe Bool
publiclyAccessible = Maybe Bool
a} :: DescribeBrokerResponse)

-- | Enables automatic upgrades to new minor versions for brokers, as new
-- versions are released and supported by Amazon MQ. Automatic upgrades
-- occur during the scheduled maintenance window of the broker or after a
-- manual broker reboot.
describeBrokerResponse_autoMinorVersionUpgrade :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe Prelude.Bool)
describeBrokerResponse_autoMinorVersionUpgrade :: (Maybe Bool -> f (Maybe Bool))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_autoMinorVersionUpgrade = (DescribeBrokerResponse -> Maybe Bool)
-> (DescribeBrokerResponse -> Maybe Bool -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe Bool
autoMinorVersionUpgrade :: Maybe Bool
$sel:autoMinorVersionUpgrade:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe Bool
autoMinorVersionUpgrade} -> Maybe Bool
autoMinorVersionUpgrade) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe Bool
a -> DescribeBrokerResponse
s {$sel:autoMinorVersionUpgrade:DescribeBrokerResponse' :: Maybe Bool
autoMinorVersionUpgrade = Maybe Bool
a} :: DescribeBrokerResponse)

-- | The list of rules (1 minimum, 125 maximum) that authorize connections to
-- brokers.
describeBrokerResponse_securityGroups :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe [Prelude.Text])
describeBrokerResponse_securityGroups :: (Maybe [Text] -> f (Maybe [Text]))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_securityGroups = (DescribeBrokerResponse -> Maybe [Text])
-> (DescribeBrokerResponse
    -> Maybe [Text] -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe [Text])
     (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe [Text]
securityGroups :: Maybe [Text]
$sel:securityGroups:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe [Text]
securityGroups} -> Maybe [Text]
securityGroups) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe [Text]
a -> DescribeBrokerResponse
s {$sel:securityGroups:DescribeBrokerResponse' :: Maybe [Text]
securityGroups = Maybe [Text]
a} :: DescribeBrokerResponse) ((Maybe [Text] -> f (Maybe [Text]))
 -> DescribeBrokerResponse -> f DescribeBrokerResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DescribeBrokerResponse
-> f DescribeBrokerResponse
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 list of all broker usernames for the specified broker.
describeBrokerResponse_users :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe [UserSummary])
describeBrokerResponse_users :: (Maybe [UserSummary] -> f (Maybe [UserSummary]))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_users = (DescribeBrokerResponse -> Maybe [UserSummary])
-> (DescribeBrokerResponse
    -> Maybe [UserSummary] -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe [UserSummary])
     (Maybe [UserSummary])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe [UserSummary]
users :: Maybe [UserSummary]
$sel:users:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe [UserSummary]
users} -> Maybe [UserSummary]
users) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe [UserSummary]
a -> DescribeBrokerResponse
s {$sel:users:DescribeBrokerResponse' :: Maybe [UserSummary]
users = Maybe [UserSummary]
a} :: DescribeBrokerResponse) ((Maybe [UserSummary] -> f (Maybe [UserSummary]))
 -> DescribeBrokerResponse -> f DescribeBrokerResponse)
-> ((Maybe [UserSummary] -> f (Maybe [UserSummary]))
    -> Maybe [UserSummary] -> f (Maybe [UserSummary]))
-> (Maybe [UserSummary] -> f (Maybe [UserSummary]))
-> DescribeBrokerResponse
-> f DescribeBrokerResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [UserSummary] [UserSummary] [UserSummary] [UserSummary]
-> Iso
     (Maybe [UserSummary])
     (Maybe [UserSummary])
     (Maybe [UserSummary])
     (Maybe [UserSummary])
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 [UserSummary] [UserSummary] [UserSummary] [UserSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The list of pending security groups to authorize connections to brokers.
describeBrokerResponse_pendingSecurityGroups :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe [Prelude.Text])
describeBrokerResponse_pendingSecurityGroups :: (Maybe [Text] -> f (Maybe [Text]))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_pendingSecurityGroups = (DescribeBrokerResponse -> Maybe [Text])
-> (DescribeBrokerResponse
    -> Maybe [Text] -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe [Text])
     (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe [Text]
pendingSecurityGroups :: Maybe [Text]
$sel:pendingSecurityGroups:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe [Text]
pendingSecurityGroups} -> Maybe [Text]
pendingSecurityGroups) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe [Text]
a -> DescribeBrokerResponse
s {$sel:pendingSecurityGroups:DescribeBrokerResponse' :: Maybe [Text]
pendingSecurityGroups = Maybe [Text]
a} :: DescribeBrokerResponse) ((Maybe [Text] -> f (Maybe [Text]))
 -> DescribeBrokerResponse -> f DescribeBrokerResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DescribeBrokerResponse
-> f DescribeBrokerResponse
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 list of groups that define which subnets and IP ranges the broker
-- can use from different Availability Zones.
describeBrokerResponse_subnetIds :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe [Prelude.Text])
describeBrokerResponse_subnetIds :: (Maybe [Text] -> f (Maybe [Text]))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_subnetIds = (DescribeBrokerResponse -> Maybe [Text])
-> (DescribeBrokerResponse
    -> Maybe [Text] -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe [Text])
     (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe [Text]
subnetIds :: Maybe [Text]
$sel:subnetIds:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe [Text]
subnetIds} -> Maybe [Text]
subnetIds) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe [Text]
a -> DescribeBrokerResponse
s {$sel:subnetIds:DescribeBrokerResponse' :: Maybe [Text]
subnetIds = Maybe [Text]
a} :: DescribeBrokerResponse) ((Maybe [Text] -> f (Maybe [Text]))
 -> DescribeBrokerResponse -> f DescribeBrokerResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DescribeBrokerResponse
-> f DescribeBrokerResponse
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 time when the broker was created.
describeBrokerResponse_created :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe Prelude.UTCTime)
describeBrokerResponse_created :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_created = (DescribeBrokerResponse -> Maybe POSIX)
-> (DescribeBrokerResponse
    -> Maybe POSIX -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe POSIX)
     (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe POSIX
created :: Maybe POSIX
$sel:created:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe POSIX
created} -> Maybe POSIX
created) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe POSIX
a -> DescribeBrokerResponse
s {$sel:created:DescribeBrokerResponse' :: Maybe POSIX
created = Maybe POSIX
a} :: DescribeBrokerResponse) ((Maybe POSIX -> f (Maybe POSIX))
 -> DescribeBrokerResponse -> f DescribeBrokerResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
    -> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeBrokerResponse
-> f DescribeBrokerResponse
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 list of all revisions for the specified configuration.
describeBrokerResponse_configurations :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe Configurations)
describeBrokerResponse_configurations :: (Maybe Configurations -> f (Maybe Configurations))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_configurations = (DescribeBrokerResponse -> Maybe Configurations)
-> (DescribeBrokerResponse
    -> Maybe Configurations -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe Configurations)
     (Maybe Configurations)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe Configurations
configurations :: Maybe Configurations
$sel:configurations:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe Configurations
configurations} -> Maybe Configurations
configurations) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe Configurations
a -> DescribeBrokerResponse
s {$sel:configurations:DescribeBrokerResponse' :: Maybe Configurations
configurations = Maybe Configurations
a} :: DescribeBrokerResponse)

-- | The authentication strategy used to secure the broker. The default is
-- SIMPLE.
describeBrokerResponse_authenticationStrategy :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe AuthenticationStrategy)
describeBrokerResponse_authenticationStrategy :: (Maybe AuthenticationStrategy -> f (Maybe AuthenticationStrategy))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_authenticationStrategy = (DescribeBrokerResponse -> Maybe AuthenticationStrategy)
-> (DescribeBrokerResponse
    -> Maybe AuthenticationStrategy -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe AuthenticationStrategy)
     (Maybe AuthenticationStrategy)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe AuthenticationStrategy
authenticationStrategy :: Maybe AuthenticationStrategy
$sel:authenticationStrategy:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe AuthenticationStrategy
authenticationStrategy} -> Maybe AuthenticationStrategy
authenticationStrategy) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe AuthenticationStrategy
a -> DescribeBrokerResponse
s {$sel:authenticationStrategy:DescribeBrokerResponse' :: Maybe AuthenticationStrategy
authenticationStrategy = Maybe AuthenticationStrategy
a} :: DescribeBrokerResponse)

-- | The broker\'s host instance type to upgrade to. For a list of supported
-- instance types, see
-- <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker.html#broker-instance-types Broker instance types>.
describeBrokerResponse_pendingHostInstanceType :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe Prelude.Text)
describeBrokerResponse_pendingHostInstanceType :: (Maybe Text -> f (Maybe Text))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_pendingHostInstanceType = (DescribeBrokerResponse -> Maybe Text)
-> (DescribeBrokerResponse -> Maybe Text -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe Text
pendingHostInstanceType :: Maybe Text
$sel:pendingHostInstanceType:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe Text
pendingHostInstanceType} -> Maybe Text
pendingHostInstanceType) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe Text
a -> DescribeBrokerResponse
s {$sel:pendingHostInstanceType:DescribeBrokerResponse' :: Maybe Text
pendingHostInstanceType = Maybe Text
a} :: DescribeBrokerResponse)

-- | The metadata of the LDAP server used to authenticate and authorize
-- connections to the broker.
describeBrokerResponse_ldapServerMetadata :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe LdapServerMetadataOutput)
describeBrokerResponse_ldapServerMetadata :: (Maybe LdapServerMetadataOutput
 -> f (Maybe LdapServerMetadataOutput))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_ldapServerMetadata = (DescribeBrokerResponse -> Maybe LdapServerMetadataOutput)
-> (DescribeBrokerResponse
    -> Maybe LdapServerMetadataOutput -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe LdapServerMetadataOutput)
     (Maybe LdapServerMetadataOutput)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe LdapServerMetadataOutput
ldapServerMetadata :: Maybe LdapServerMetadataOutput
$sel:ldapServerMetadata:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe LdapServerMetadataOutput
ldapServerMetadata} -> Maybe LdapServerMetadataOutput
ldapServerMetadata) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe LdapServerMetadataOutput
a -> DescribeBrokerResponse
s {$sel:ldapServerMetadata:DescribeBrokerResponse' :: Maybe LdapServerMetadataOutput
ldapServerMetadata = Maybe LdapServerMetadataOutput
a} :: DescribeBrokerResponse)

-- | The parameters that determine the WeeklyStartTime.
describeBrokerResponse_maintenanceWindowStartTime :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe WeeklyStartTime)
describeBrokerResponse_maintenanceWindowStartTime :: (Maybe WeeklyStartTime -> f (Maybe WeeklyStartTime))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_maintenanceWindowStartTime = (DescribeBrokerResponse -> Maybe WeeklyStartTime)
-> (DescribeBrokerResponse
    -> Maybe WeeklyStartTime -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe WeeklyStartTime)
     (Maybe WeeklyStartTime)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe WeeklyStartTime
maintenanceWindowStartTime :: Maybe WeeklyStartTime
$sel:maintenanceWindowStartTime:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe WeeklyStartTime
maintenanceWindowStartTime} -> Maybe WeeklyStartTime
maintenanceWindowStartTime) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe WeeklyStartTime
a -> DescribeBrokerResponse
s {$sel:maintenanceWindowStartTime:DescribeBrokerResponse' :: Maybe WeeklyStartTime
maintenanceWindowStartTime = Maybe WeeklyStartTime
a} :: DescribeBrokerResponse)

-- | The list of information about logs currently enabled and pending to be
-- deployed for the specified broker.
describeBrokerResponse_logs :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe LogsSummary)
describeBrokerResponse_logs :: (Maybe LogsSummary -> f (Maybe LogsSummary))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_logs = (DescribeBrokerResponse -> Maybe LogsSummary)
-> (DescribeBrokerResponse
    -> Maybe LogsSummary -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe LogsSummary)
     (Maybe LogsSummary)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe LogsSummary
logs :: Maybe LogsSummary
$sel:logs:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe LogsSummary
logs} -> Maybe LogsSummary
logs) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe LogsSummary
a -> DescribeBrokerResponse
s {$sel:logs:DescribeBrokerResponse' :: Maybe LogsSummary
logs = Maybe LogsSummary
a} :: DescribeBrokerResponse)

-- | Encryption options for the broker. Does not apply to RabbitMQ brokers.
describeBrokerResponse_encryptionOptions :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe EncryptionOptions)
describeBrokerResponse_encryptionOptions :: (Maybe EncryptionOptions -> f (Maybe EncryptionOptions))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_encryptionOptions = (DescribeBrokerResponse -> Maybe EncryptionOptions)
-> (DescribeBrokerResponse
    -> Maybe EncryptionOptions -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe EncryptionOptions)
     (Maybe EncryptionOptions)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe EncryptionOptions
encryptionOptions :: Maybe EncryptionOptions
$sel:encryptionOptions:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe EncryptionOptions
encryptionOptions} -> Maybe EncryptionOptions
encryptionOptions) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe EncryptionOptions
a -> DescribeBrokerResponse
s {$sel:encryptionOptions:DescribeBrokerResponse' :: Maybe EncryptionOptions
encryptionOptions = Maybe EncryptionOptions
a} :: DescribeBrokerResponse)

-- | The broker\'s deployment mode.
describeBrokerResponse_deploymentMode :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe DeploymentMode)
describeBrokerResponse_deploymentMode :: (Maybe DeploymentMode -> f (Maybe DeploymentMode))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_deploymentMode = (DescribeBrokerResponse -> Maybe DeploymentMode)
-> (DescribeBrokerResponse
    -> Maybe DeploymentMode -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe DeploymentMode)
     (Maybe DeploymentMode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe DeploymentMode
deploymentMode :: Maybe DeploymentMode
$sel:deploymentMode:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe DeploymentMode
deploymentMode} -> Maybe DeploymentMode
deploymentMode) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe DeploymentMode
a -> DescribeBrokerResponse
s {$sel:deploymentMode:DescribeBrokerResponse' :: Maybe DeploymentMode
deploymentMode = Maybe DeploymentMode
a} :: DescribeBrokerResponse)

-- | The broker engine version to upgrade to. For a list of supported engine
-- versions, see
-- <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html Supported engines>.
describeBrokerResponse_pendingEngineVersion :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe Prelude.Text)
describeBrokerResponse_pendingEngineVersion :: (Maybe Text -> f (Maybe Text))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_pendingEngineVersion = (DescribeBrokerResponse -> Maybe Text)
-> (DescribeBrokerResponse -> Maybe Text -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe Text
pendingEngineVersion :: Maybe Text
$sel:pendingEngineVersion:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe Text
pendingEngineVersion} -> Maybe Text
pendingEngineVersion) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe Text
a -> DescribeBrokerResponse
s {$sel:pendingEngineVersion:DescribeBrokerResponse' :: Maybe Text
pendingEngineVersion = Maybe Text
a} :: DescribeBrokerResponse)

-- | The unique ID that Amazon MQ generates for the broker.
describeBrokerResponse_brokerId :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe Prelude.Text)
describeBrokerResponse_brokerId :: (Maybe Text -> f (Maybe Text))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_brokerId = (DescribeBrokerResponse -> Maybe Text)
-> (DescribeBrokerResponse -> Maybe Text -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe Text
brokerId :: Maybe Text
$sel:brokerId:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe Text
brokerId} -> Maybe Text
brokerId) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe Text
a -> DescribeBrokerResponse
s {$sel:brokerId:DescribeBrokerResponse' :: Maybe Text
brokerId = Maybe Text
a} :: DescribeBrokerResponse)

-- | The metadata of the LDAP server that will be used to authenticate and
-- authorize connections to the broker after it is rebooted.
describeBrokerResponse_pendingLdapServerMetadata :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe LdapServerMetadataOutput)
describeBrokerResponse_pendingLdapServerMetadata :: (Maybe LdapServerMetadataOutput
 -> f (Maybe LdapServerMetadataOutput))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_pendingLdapServerMetadata = (DescribeBrokerResponse -> Maybe LdapServerMetadataOutput)
-> (DescribeBrokerResponse
    -> Maybe LdapServerMetadataOutput -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe LdapServerMetadataOutput)
     (Maybe LdapServerMetadataOutput)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe LdapServerMetadataOutput
pendingLdapServerMetadata :: Maybe LdapServerMetadataOutput
$sel:pendingLdapServerMetadata:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe LdapServerMetadataOutput
pendingLdapServerMetadata} -> Maybe LdapServerMetadataOutput
pendingLdapServerMetadata) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe LdapServerMetadataOutput
a -> DescribeBrokerResponse
s {$sel:pendingLdapServerMetadata:DescribeBrokerResponse' :: Maybe LdapServerMetadataOutput
pendingLdapServerMetadata = Maybe LdapServerMetadataOutput
a} :: DescribeBrokerResponse)

-- | The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and
-- RABBITMQ.
describeBrokerResponse_engineType :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe EngineType)
describeBrokerResponse_engineType :: (Maybe EngineType -> f (Maybe EngineType))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_engineType = (DescribeBrokerResponse -> Maybe EngineType)
-> (DescribeBrokerResponse
    -> Maybe EngineType -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe EngineType)
     (Maybe EngineType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe EngineType
engineType :: Maybe EngineType
$sel:engineType:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe EngineType
engineType} -> Maybe EngineType
engineType) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe EngineType
a -> DescribeBrokerResponse
s {$sel:engineType:DescribeBrokerResponse' :: Maybe EngineType
engineType = Maybe EngineType
a} :: DescribeBrokerResponse)

-- | The broker\'s Amazon Resource Name (ARN).
describeBrokerResponse_brokerArn :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe Prelude.Text)
describeBrokerResponse_brokerArn :: (Maybe Text -> f (Maybe Text))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_brokerArn = (DescribeBrokerResponse -> Maybe Text)
-> (DescribeBrokerResponse -> Maybe Text -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe Text
brokerArn :: Maybe Text
$sel:brokerArn:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe Text
brokerArn} -> Maybe Text
brokerArn) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe Text
a -> DescribeBrokerResponse
s {$sel:brokerArn:DescribeBrokerResponse' :: Maybe Text
brokerArn = Maybe Text
a} :: DescribeBrokerResponse)

-- | The list of all tags associated with this broker.
describeBrokerResponse_tags :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
describeBrokerResponse_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_tags = (DescribeBrokerResponse -> Maybe (HashMap Text Text))
-> (DescribeBrokerResponse
    -> Maybe (HashMap Text Text) -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe (HashMap Text Text)
a -> DescribeBrokerResponse
s {$sel:tags:DescribeBrokerResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: DescribeBrokerResponse) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
 -> DescribeBrokerResponse -> f DescribeBrokerResponse)
-> ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
    -> Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeBrokerResponse
-> f DescribeBrokerResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
-> Iso
     (Maybe (HashMap Text Text))
     (Maybe (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
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | A list of information about allocated brokers.
describeBrokerResponse_brokerInstances :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe [BrokerInstance])
describeBrokerResponse_brokerInstances :: (Maybe [BrokerInstance] -> f (Maybe [BrokerInstance]))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_brokerInstances = (DescribeBrokerResponse -> Maybe [BrokerInstance])
-> (DescribeBrokerResponse
    -> Maybe [BrokerInstance] -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe [BrokerInstance])
     (Maybe [BrokerInstance])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe [BrokerInstance]
brokerInstances :: Maybe [BrokerInstance]
$sel:brokerInstances:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe [BrokerInstance]
brokerInstances} -> Maybe [BrokerInstance]
brokerInstances) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe [BrokerInstance]
a -> DescribeBrokerResponse
s {$sel:brokerInstances:DescribeBrokerResponse' :: Maybe [BrokerInstance]
brokerInstances = Maybe [BrokerInstance]
a} :: DescribeBrokerResponse) ((Maybe [BrokerInstance] -> f (Maybe [BrokerInstance]))
 -> DescribeBrokerResponse -> f DescribeBrokerResponse)
-> ((Maybe [BrokerInstance] -> f (Maybe [BrokerInstance]))
    -> Maybe [BrokerInstance] -> f (Maybe [BrokerInstance]))
-> (Maybe [BrokerInstance] -> f (Maybe [BrokerInstance]))
-> DescribeBrokerResponse
-> f DescribeBrokerResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [BrokerInstance] [BrokerInstance] [BrokerInstance] [BrokerInstance]
-> Iso
     (Maybe [BrokerInstance])
     (Maybe [BrokerInstance])
     (Maybe [BrokerInstance])
     (Maybe [BrokerInstance])
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
  [BrokerInstance] [BrokerInstance] [BrokerInstance] [BrokerInstance]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The broker\'s instance type.
describeBrokerResponse_hostInstanceType :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe Prelude.Text)
describeBrokerResponse_hostInstanceType :: (Maybe Text -> f (Maybe Text))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_hostInstanceType = (DescribeBrokerResponse -> Maybe Text)
-> (DescribeBrokerResponse -> Maybe Text -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe Text
hostInstanceType :: Maybe Text
$sel:hostInstanceType:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe Text
hostInstanceType} -> Maybe Text
hostInstanceType) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe Text
a -> DescribeBrokerResponse
s {$sel:hostInstanceType:DescribeBrokerResponse' :: Maybe Text
hostInstanceType = Maybe Text
a} :: DescribeBrokerResponse)

-- | The broker\'s storage type.
describeBrokerResponse_storageType :: Lens.Lens' DescribeBrokerResponse (Prelude.Maybe BrokerStorageType)
describeBrokerResponse_storageType :: (Maybe BrokerStorageType -> f (Maybe BrokerStorageType))
-> DescribeBrokerResponse -> f DescribeBrokerResponse
describeBrokerResponse_storageType = (DescribeBrokerResponse -> Maybe BrokerStorageType)
-> (DescribeBrokerResponse
    -> Maybe BrokerStorageType -> DescribeBrokerResponse)
-> Lens
     DescribeBrokerResponse
     DescribeBrokerResponse
     (Maybe BrokerStorageType)
     (Maybe BrokerStorageType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBrokerResponse' {Maybe BrokerStorageType
storageType :: Maybe BrokerStorageType
$sel:storageType:DescribeBrokerResponse' :: DescribeBrokerResponse -> Maybe BrokerStorageType
storageType} -> Maybe BrokerStorageType
storageType) (\s :: DescribeBrokerResponse
s@DescribeBrokerResponse' {} Maybe BrokerStorageType
a -> DescribeBrokerResponse
s {$sel:storageType:DescribeBrokerResponse' :: Maybe BrokerStorageType
storageType = Maybe BrokerStorageType
a} :: DescribeBrokerResponse)

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

instance Prelude.NFData DescribeBrokerResponse