{-# 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.Kafka.GetCompatibleKafkaVersions
-- 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)
--
-- Gets the Apache Kafka versions to which you can update the MSK cluster.
module Amazonka.Kafka.GetCompatibleKafkaVersions
  ( -- * Creating a Request
    GetCompatibleKafkaVersions (..),
    newGetCompatibleKafkaVersions,

    -- * Request Lenses
    getCompatibleKafkaVersions_clusterArn,

    -- * Destructuring the Response
    GetCompatibleKafkaVersionsResponse (..),
    newGetCompatibleKafkaVersionsResponse,

    -- * Response Lenses
    getCompatibleKafkaVersionsResponse_compatibleKafkaVersions,
    getCompatibleKafkaVersionsResponse_httpStatus,
  )
where

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

-- | /See:/ 'newGetCompatibleKafkaVersions' smart constructor.
data GetCompatibleKafkaVersions = GetCompatibleKafkaVersions'
  { -- | The Amazon Resource Name (ARN) of the cluster check.
    GetCompatibleKafkaVersions -> Maybe Text
clusterArn :: Prelude.Maybe Prelude.Text
  }
  deriving (GetCompatibleKafkaVersions -> GetCompatibleKafkaVersions -> Bool
(GetCompatibleKafkaVersions -> GetCompatibleKafkaVersions -> Bool)
-> (GetCompatibleKafkaVersions
    -> GetCompatibleKafkaVersions -> Bool)
-> Eq GetCompatibleKafkaVersions
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetCompatibleKafkaVersions -> GetCompatibleKafkaVersions -> Bool
$c/= :: GetCompatibleKafkaVersions -> GetCompatibleKafkaVersions -> Bool
== :: GetCompatibleKafkaVersions -> GetCompatibleKafkaVersions -> Bool
$c== :: GetCompatibleKafkaVersions -> GetCompatibleKafkaVersions -> Bool
Prelude.Eq, ReadPrec [GetCompatibleKafkaVersions]
ReadPrec GetCompatibleKafkaVersions
Int -> ReadS GetCompatibleKafkaVersions
ReadS [GetCompatibleKafkaVersions]
(Int -> ReadS GetCompatibleKafkaVersions)
-> ReadS [GetCompatibleKafkaVersions]
-> ReadPrec GetCompatibleKafkaVersions
-> ReadPrec [GetCompatibleKafkaVersions]
-> Read GetCompatibleKafkaVersions
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetCompatibleKafkaVersions]
$creadListPrec :: ReadPrec [GetCompatibleKafkaVersions]
readPrec :: ReadPrec GetCompatibleKafkaVersions
$creadPrec :: ReadPrec GetCompatibleKafkaVersions
readList :: ReadS [GetCompatibleKafkaVersions]
$creadList :: ReadS [GetCompatibleKafkaVersions]
readsPrec :: Int -> ReadS GetCompatibleKafkaVersions
$creadsPrec :: Int -> ReadS GetCompatibleKafkaVersions
Prelude.Read, Int -> GetCompatibleKafkaVersions -> ShowS
[GetCompatibleKafkaVersions] -> ShowS
GetCompatibleKafkaVersions -> String
(Int -> GetCompatibleKafkaVersions -> ShowS)
-> (GetCompatibleKafkaVersions -> String)
-> ([GetCompatibleKafkaVersions] -> ShowS)
-> Show GetCompatibleKafkaVersions
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetCompatibleKafkaVersions] -> ShowS
$cshowList :: [GetCompatibleKafkaVersions] -> ShowS
show :: GetCompatibleKafkaVersions -> String
$cshow :: GetCompatibleKafkaVersions -> String
showsPrec :: Int -> GetCompatibleKafkaVersions -> ShowS
$cshowsPrec :: Int -> GetCompatibleKafkaVersions -> ShowS
Prelude.Show, (forall x.
 GetCompatibleKafkaVersions -> Rep GetCompatibleKafkaVersions x)
-> (forall x.
    Rep GetCompatibleKafkaVersions x -> GetCompatibleKafkaVersions)
-> Generic GetCompatibleKafkaVersions
forall x.
Rep GetCompatibleKafkaVersions x -> GetCompatibleKafkaVersions
forall x.
GetCompatibleKafkaVersions -> Rep GetCompatibleKafkaVersions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetCompatibleKafkaVersions x -> GetCompatibleKafkaVersions
$cfrom :: forall x.
GetCompatibleKafkaVersions -> Rep GetCompatibleKafkaVersions x
Prelude.Generic)

-- |
-- Create a value of 'GetCompatibleKafkaVersions' 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:
--
-- 'clusterArn', 'getCompatibleKafkaVersions_clusterArn' - The Amazon Resource Name (ARN) of the cluster check.
newGetCompatibleKafkaVersions ::
  GetCompatibleKafkaVersions
newGetCompatibleKafkaVersions :: GetCompatibleKafkaVersions
newGetCompatibleKafkaVersions =
  GetCompatibleKafkaVersions' :: Maybe Text -> GetCompatibleKafkaVersions
GetCompatibleKafkaVersions'
    { $sel:clusterArn:GetCompatibleKafkaVersions' :: Maybe Text
clusterArn =
        Maybe Text
forall a. Maybe a
Prelude.Nothing
    }

-- | The Amazon Resource Name (ARN) of the cluster check.
getCompatibleKafkaVersions_clusterArn :: Lens.Lens' GetCompatibleKafkaVersions (Prelude.Maybe Prelude.Text)
getCompatibleKafkaVersions_clusterArn :: (Maybe Text -> f (Maybe Text))
-> GetCompatibleKafkaVersions -> f GetCompatibleKafkaVersions
getCompatibleKafkaVersions_clusterArn = (GetCompatibleKafkaVersions -> Maybe Text)
-> (GetCompatibleKafkaVersions
    -> Maybe Text -> GetCompatibleKafkaVersions)
-> Lens
     GetCompatibleKafkaVersions
     GetCompatibleKafkaVersions
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetCompatibleKafkaVersions' {Maybe Text
clusterArn :: Maybe Text
$sel:clusterArn:GetCompatibleKafkaVersions' :: GetCompatibleKafkaVersions -> Maybe Text
clusterArn} -> Maybe Text
clusterArn) (\s :: GetCompatibleKafkaVersions
s@GetCompatibleKafkaVersions' {} Maybe Text
a -> GetCompatibleKafkaVersions
s {$sel:clusterArn:GetCompatibleKafkaVersions' :: Maybe Text
clusterArn = Maybe Text
a} :: GetCompatibleKafkaVersions)

instance Core.AWSRequest GetCompatibleKafkaVersions where
  type
    AWSResponse GetCompatibleKafkaVersions =
      GetCompatibleKafkaVersionsResponse
  request :: GetCompatibleKafkaVersions -> Request GetCompatibleKafkaVersions
request = Service
-> GetCompatibleKafkaVersions -> Request GetCompatibleKafkaVersions
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
  response :: Logger
-> Service
-> Proxy GetCompatibleKafkaVersions
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse GetCompatibleKafkaVersions)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse GetCompatibleKafkaVersions))
-> Logger
-> Service
-> Proxy GetCompatibleKafkaVersions
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse GetCompatibleKafkaVersions)))
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 [CompatibleKafkaVersion]
-> Int -> GetCompatibleKafkaVersionsResponse
GetCompatibleKafkaVersionsResponse'
            (Maybe [CompatibleKafkaVersion]
 -> Int -> GetCompatibleKafkaVersionsResponse)
-> Either String (Maybe [CompatibleKafkaVersion])
-> Either String (Int -> GetCompatibleKafkaVersionsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object
-> Text -> Either String (Maybe (Maybe [CompatibleKafkaVersion]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"compatibleKafkaVersions"
                            Either String (Maybe (Maybe [CompatibleKafkaVersion]))
-> Maybe [CompatibleKafkaVersion]
-> Either String (Maybe [CompatibleKafkaVersion])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [CompatibleKafkaVersion]
forall a. Monoid a => a
Prelude.mempty
                        )
            Either String (Int -> GetCompatibleKafkaVersionsResponse)
-> Either String Int
-> Either String GetCompatibleKafkaVersionsResponse
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 GetCompatibleKafkaVersions

instance Prelude.NFData GetCompatibleKafkaVersions

instance Core.ToHeaders GetCompatibleKafkaVersions where
  toHeaders :: GetCompatibleKafkaVersions -> ResponseHeaders
toHeaders =
    ResponseHeaders -> GetCompatibleKafkaVersions -> 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 GetCompatibleKafkaVersions where
  toPath :: GetCompatibleKafkaVersions -> ByteString
toPath =
    ByteString -> GetCompatibleKafkaVersions -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/v1/compatible-kafka-versions"

instance Core.ToQuery GetCompatibleKafkaVersions where
  toQuery :: GetCompatibleKafkaVersions -> QueryString
toQuery GetCompatibleKafkaVersions' {Maybe Text
clusterArn :: Maybe Text
$sel:clusterArn:GetCompatibleKafkaVersions' :: GetCompatibleKafkaVersions -> Maybe Text
..} =
    [QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat [ByteString
"clusterArn" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
clusterArn]

-- | /See:/ 'newGetCompatibleKafkaVersionsResponse' smart constructor.
data GetCompatibleKafkaVersionsResponse = GetCompatibleKafkaVersionsResponse'
  { -- | A list of CompatibleKafkaVersion objects.
    GetCompatibleKafkaVersionsResponse
-> Maybe [CompatibleKafkaVersion]
compatibleKafkaVersions :: Prelude.Maybe [CompatibleKafkaVersion],
    -- | The response's http status code.
    GetCompatibleKafkaVersionsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (GetCompatibleKafkaVersionsResponse
-> GetCompatibleKafkaVersionsResponse -> Bool
(GetCompatibleKafkaVersionsResponse
 -> GetCompatibleKafkaVersionsResponse -> Bool)
-> (GetCompatibleKafkaVersionsResponse
    -> GetCompatibleKafkaVersionsResponse -> Bool)
-> Eq GetCompatibleKafkaVersionsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetCompatibleKafkaVersionsResponse
-> GetCompatibleKafkaVersionsResponse -> Bool
$c/= :: GetCompatibleKafkaVersionsResponse
-> GetCompatibleKafkaVersionsResponse -> Bool
== :: GetCompatibleKafkaVersionsResponse
-> GetCompatibleKafkaVersionsResponse -> Bool
$c== :: GetCompatibleKafkaVersionsResponse
-> GetCompatibleKafkaVersionsResponse -> Bool
Prelude.Eq, ReadPrec [GetCompatibleKafkaVersionsResponse]
ReadPrec GetCompatibleKafkaVersionsResponse
Int -> ReadS GetCompatibleKafkaVersionsResponse
ReadS [GetCompatibleKafkaVersionsResponse]
(Int -> ReadS GetCompatibleKafkaVersionsResponse)
-> ReadS [GetCompatibleKafkaVersionsResponse]
-> ReadPrec GetCompatibleKafkaVersionsResponse
-> ReadPrec [GetCompatibleKafkaVersionsResponse]
-> Read GetCompatibleKafkaVersionsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetCompatibleKafkaVersionsResponse]
$creadListPrec :: ReadPrec [GetCompatibleKafkaVersionsResponse]
readPrec :: ReadPrec GetCompatibleKafkaVersionsResponse
$creadPrec :: ReadPrec GetCompatibleKafkaVersionsResponse
readList :: ReadS [GetCompatibleKafkaVersionsResponse]
$creadList :: ReadS [GetCompatibleKafkaVersionsResponse]
readsPrec :: Int -> ReadS GetCompatibleKafkaVersionsResponse
$creadsPrec :: Int -> ReadS GetCompatibleKafkaVersionsResponse
Prelude.Read, Int -> GetCompatibleKafkaVersionsResponse -> ShowS
[GetCompatibleKafkaVersionsResponse] -> ShowS
GetCompatibleKafkaVersionsResponse -> String
(Int -> GetCompatibleKafkaVersionsResponse -> ShowS)
-> (GetCompatibleKafkaVersionsResponse -> String)
-> ([GetCompatibleKafkaVersionsResponse] -> ShowS)
-> Show GetCompatibleKafkaVersionsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetCompatibleKafkaVersionsResponse] -> ShowS
$cshowList :: [GetCompatibleKafkaVersionsResponse] -> ShowS
show :: GetCompatibleKafkaVersionsResponse -> String
$cshow :: GetCompatibleKafkaVersionsResponse -> String
showsPrec :: Int -> GetCompatibleKafkaVersionsResponse -> ShowS
$cshowsPrec :: Int -> GetCompatibleKafkaVersionsResponse -> ShowS
Prelude.Show, (forall x.
 GetCompatibleKafkaVersionsResponse
 -> Rep GetCompatibleKafkaVersionsResponse x)
-> (forall x.
    Rep GetCompatibleKafkaVersionsResponse x
    -> GetCompatibleKafkaVersionsResponse)
-> Generic GetCompatibleKafkaVersionsResponse
forall x.
Rep GetCompatibleKafkaVersionsResponse x
-> GetCompatibleKafkaVersionsResponse
forall x.
GetCompatibleKafkaVersionsResponse
-> Rep GetCompatibleKafkaVersionsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetCompatibleKafkaVersionsResponse x
-> GetCompatibleKafkaVersionsResponse
$cfrom :: forall x.
GetCompatibleKafkaVersionsResponse
-> Rep GetCompatibleKafkaVersionsResponse x
Prelude.Generic)

-- |
-- Create a value of 'GetCompatibleKafkaVersionsResponse' 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:
--
-- 'compatibleKafkaVersions', 'getCompatibleKafkaVersionsResponse_compatibleKafkaVersions' - A list of CompatibleKafkaVersion objects.
--
-- 'httpStatus', 'getCompatibleKafkaVersionsResponse_httpStatus' - The response's http status code.
newGetCompatibleKafkaVersionsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  GetCompatibleKafkaVersionsResponse
newGetCompatibleKafkaVersionsResponse :: Int -> GetCompatibleKafkaVersionsResponse
newGetCompatibleKafkaVersionsResponse Int
pHttpStatus_ =
  GetCompatibleKafkaVersionsResponse' :: Maybe [CompatibleKafkaVersion]
-> Int -> GetCompatibleKafkaVersionsResponse
GetCompatibleKafkaVersionsResponse'
    { $sel:compatibleKafkaVersions:GetCompatibleKafkaVersionsResponse' :: Maybe [CompatibleKafkaVersion]
compatibleKafkaVersions =
        Maybe [CompatibleKafkaVersion]
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:GetCompatibleKafkaVersionsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | A list of CompatibleKafkaVersion objects.
getCompatibleKafkaVersionsResponse_compatibleKafkaVersions :: Lens.Lens' GetCompatibleKafkaVersionsResponse (Prelude.Maybe [CompatibleKafkaVersion])
getCompatibleKafkaVersionsResponse_compatibleKafkaVersions :: (Maybe [CompatibleKafkaVersion]
 -> f (Maybe [CompatibleKafkaVersion]))
-> GetCompatibleKafkaVersionsResponse
-> f GetCompatibleKafkaVersionsResponse
getCompatibleKafkaVersionsResponse_compatibleKafkaVersions = (GetCompatibleKafkaVersionsResponse
 -> Maybe [CompatibleKafkaVersion])
-> (GetCompatibleKafkaVersionsResponse
    -> Maybe [CompatibleKafkaVersion]
    -> GetCompatibleKafkaVersionsResponse)
-> Lens
     GetCompatibleKafkaVersionsResponse
     GetCompatibleKafkaVersionsResponse
     (Maybe [CompatibleKafkaVersion])
     (Maybe [CompatibleKafkaVersion])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetCompatibleKafkaVersionsResponse' {Maybe [CompatibleKafkaVersion]
compatibleKafkaVersions :: Maybe [CompatibleKafkaVersion]
$sel:compatibleKafkaVersions:GetCompatibleKafkaVersionsResponse' :: GetCompatibleKafkaVersionsResponse
-> Maybe [CompatibleKafkaVersion]
compatibleKafkaVersions} -> Maybe [CompatibleKafkaVersion]
compatibleKafkaVersions) (\s :: GetCompatibleKafkaVersionsResponse
s@GetCompatibleKafkaVersionsResponse' {} Maybe [CompatibleKafkaVersion]
a -> GetCompatibleKafkaVersionsResponse
s {$sel:compatibleKafkaVersions:GetCompatibleKafkaVersionsResponse' :: Maybe [CompatibleKafkaVersion]
compatibleKafkaVersions = Maybe [CompatibleKafkaVersion]
a} :: GetCompatibleKafkaVersionsResponse) ((Maybe [CompatibleKafkaVersion]
  -> f (Maybe [CompatibleKafkaVersion]))
 -> GetCompatibleKafkaVersionsResponse
 -> f GetCompatibleKafkaVersionsResponse)
-> ((Maybe [CompatibleKafkaVersion]
     -> f (Maybe [CompatibleKafkaVersion]))
    -> Maybe [CompatibleKafkaVersion]
    -> f (Maybe [CompatibleKafkaVersion]))
-> (Maybe [CompatibleKafkaVersion]
    -> f (Maybe [CompatibleKafkaVersion]))
-> GetCompatibleKafkaVersionsResponse
-> f GetCompatibleKafkaVersionsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [CompatibleKafkaVersion]
  [CompatibleKafkaVersion]
  [CompatibleKafkaVersion]
  [CompatibleKafkaVersion]
-> Iso
     (Maybe [CompatibleKafkaVersion])
     (Maybe [CompatibleKafkaVersion])
     (Maybe [CompatibleKafkaVersion])
     (Maybe [CompatibleKafkaVersion])
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
  [CompatibleKafkaVersion]
  [CompatibleKafkaVersion]
  [CompatibleKafkaVersion]
  [CompatibleKafkaVersion]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

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

instance
  Prelude.NFData
    GetCompatibleKafkaVersionsResponse