{-# 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.Config.DescribeDeliveryChannels
-- 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 details about the specified delivery channel. If a delivery
-- channel is not specified, this action returns the details of all
-- delivery channels associated with the account.
--
-- Currently, you can specify only one delivery channel per region in your
-- account.
module Amazonka.Config.DescribeDeliveryChannels
  ( -- * Creating a Request
    DescribeDeliveryChannels (..),
    newDescribeDeliveryChannels,

    -- * Request Lenses
    describeDeliveryChannels_deliveryChannelNames,

    -- * Destructuring the Response
    DescribeDeliveryChannelsResponse (..),
    newDescribeDeliveryChannelsResponse,

    -- * Response Lenses
    describeDeliveryChannelsResponse_deliveryChannels,
    describeDeliveryChannelsResponse_httpStatus,
  )
where

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

-- | The input for the DescribeDeliveryChannels action.
--
-- /See:/ 'newDescribeDeliveryChannels' smart constructor.
data DescribeDeliveryChannels = DescribeDeliveryChannels'
  { -- | A list of delivery channel names.
    DescribeDeliveryChannels -> Maybe [Text]
deliveryChannelNames :: Prelude.Maybe [Prelude.Text]
  }
  deriving (DescribeDeliveryChannels -> DescribeDeliveryChannels -> Bool
(DescribeDeliveryChannels -> DescribeDeliveryChannels -> Bool)
-> (DescribeDeliveryChannels -> DescribeDeliveryChannels -> Bool)
-> Eq DescribeDeliveryChannels
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeDeliveryChannels -> DescribeDeliveryChannels -> Bool
$c/= :: DescribeDeliveryChannels -> DescribeDeliveryChannels -> Bool
== :: DescribeDeliveryChannels -> DescribeDeliveryChannels -> Bool
$c== :: DescribeDeliveryChannels -> DescribeDeliveryChannels -> Bool
Prelude.Eq, ReadPrec [DescribeDeliveryChannels]
ReadPrec DescribeDeliveryChannels
Int -> ReadS DescribeDeliveryChannels
ReadS [DescribeDeliveryChannels]
(Int -> ReadS DescribeDeliveryChannels)
-> ReadS [DescribeDeliveryChannels]
-> ReadPrec DescribeDeliveryChannels
-> ReadPrec [DescribeDeliveryChannels]
-> Read DescribeDeliveryChannels
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeDeliveryChannels]
$creadListPrec :: ReadPrec [DescribeDeliveryChannels]
readPrec :: ReadPrec DescribeDeliveryChannels
$creadPrec :: ReadPrec DescribeDeliveryChannels
readList :: ReadS [DescribeDeliveryChannels]
$creadList :: ReadS [DescribeDeliveryChannels]
readsPrec :: Int -> ReadS DescribeDeliveryChannels
$creadsPrec :: Int -> ReadS DescribeDeliveryChannels
Prelude.Read, Int -> DescribeDeliveryChannels -> ShowS
[DescribeDeliveryChannels] -> ShowS
DescribeDeliveryChannels -> String
(Int -> DescribeDeliveryChannels -> ShowS)
-> (DescribeDeliveryChannels -> String)
-> ([DescribeDeliveryChannels] -> ShowS)
-> Show DescribeDeliveryChannels
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeDeliveryChannels] -> ShowS
$cshowList :: [DescribeDeliveryChannels] -> ShowS
show :: DescribeDeliveryChannels -> String
$cshow :: DescribeDeliveryChannels -> String
showsPrec :: Int -> DescribeDeliveryChannels -> ShowS
$cshowsPrec :: Int -> DescribeDeliveryChannels -> ShowS
Prelude.Show, (forall x.
 DescribeDeliveryChannels -> Rep DescribeDeliveryChannels x)
-> (forall x.
    Rep DescribeDeliveryChannels x -> DescribeDeliveryChannels)
-> Generic DescribeDeliveryChannels
forall x.
Rep DescribeDeliveryChannels x -> DescribeDeliveryChannels
forall x.
DescribeDeliveryChannels -> Rep DescribeDeliveryChannels x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeDeliveryChannels x -> DescribeDeliveryChannels
$cfrom :: forall x.
DescribeDeliveryChannels -> Rep DescribeDeliveryChannels x
Prelude.Generic)

-- |
-- Create a value of 'DescribeDeliveryChannels' 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:
--
-- 'deliveryChannelNames', 'describeDeliveryChannels_deliveryChannelNames' - A list of delivery channel names.
newDescribeDeliveryChannels ::
  DescribeDeliveryChannels
newDescribeDeliveryChannels :: DescribeDeliveryChannels
newDescribeDeliveryChannels =
  DescribeDeliveryChannels' :: Maybe [Text] -> DescribeDeliveryChannels
DescribeDeliveryChannels'
    { $sel:deliveryChannelNames:DescribeDeliveryChannels' :: Maybe [Text]
deliveryChannelNames =
        Maybe [Text]
forall a. Maybe a
Prelude.Nothing
    }

-- | A list of delivery channel names.
describeDeliveryChannels_deliveryChannelNames :: Lens.Lens' DescribeDeliveryChannels (Prelude.Maybe [Prelude.Text])
describeDeliveryChannels_deliveryChannelNames :: (Maybe [Text] -> f (Maybe [Text]))
-> DescribeDeliveryChannels -> f DescribeDeliveryChannels
describeDeliveryChannels_deliveryChannelNames = (DescribeDeliveryChannels -> Maybe [Text])
-> (DescribeDeliveryChannels
    -> Maybe [Text] -> DescribeDeliveryChannels)
-> Lens
     DescribeDeliveryChannels
     DescribeDeliveryChannels
     (Maybe [Text])
     (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDeliveryChannels' {Maybe [Text]
deliveryChannelNames :: Maybe [Text]
$sel:deliveryChannelNames:DescribeDeliveryChannels' :: DescribeDeliveryChannels -> Maybe [Text]
deliveryChannelNames} -> Maybe [Text]
deliveryChannelNames) (\s :: DescribeDeliveryChannels
s@DescribeDeliveryChannels' {} Maybe [Text]
a -> DescribeDeliveryChannels
s {$sel:deliveryChannelNames:DescribeDeliveryChannels' :: Maybe [Text]
deliveryChannelNames = Maybe [Text]
a} :: DescribeDeliveryChannels) ((Maybe [Text] -> f (Maybe [Text]))
 -> DescribeDeliveryChannels -> f DescribeDeliveryChannels)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DescribeDeliveryChannels
-> f DescribeDeliveryChannels
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

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

instance Prelude.NFData DescribeDeliveryChannels

instance Core.ToHeaders DescribeDeliveryChannels where
  toHeaders :: DescribeDeliveryChannels -> ResponseHeaders
toHeaders =
    ResponseHeaders -> DescribeDeliveryChannels -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
      ( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"X-Amz-Target"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"StarlingDoveService.DescribeDeliveryChannels" ::
                          Prelude.ByteString
                      ),
            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.ToJSON DescribeDeliveryChannels where
  toJSON :: DescribeDeliveryChannels -> Value
toJSON DescribeDeliveryChannels' {Maybe [Text]
deliveryChannelNames :: Maybe [Text]
$sel:deliveryChannelNames:DescribeDeliveryChannels' :: DescribeDeliveryChannels -> Maybe [Text]
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Text
"DeliveryChannelNames" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              ([Text] -> Pair) -> Maybe [Text] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
deliveryChannelNames
          ]
      )

instance Core.ToPath DescribeDeliveryChannels where
  toPath :: DescribeDeliveryChannels -> ByteString
toPath = ByteString -> DescribeDeliveryChannels -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"

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

-- | The output for the DescribeDeliveryChannels action.
--
-- /See:/ 'newDescribeDeliveryChannelsResponse' smart constructor.
data DescribeDeliveryChannelsResponse = DescribeDeliveryChannelsResponse'
  { -- | A list that contains the descriptions of the specified delivery channel.
    DescribeDeliveryChannelsResponse -> Maybe [DeliveryChannel]
deliveryChannels :: Prelude.Maybe [DeliveryChannel],
    -- | The response's http status code.
    DescribeDeliveryChannelsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (DescribeDeliveryChannelsResponse
-> DescribeDeliveryChannelsResponse -> Bool
(DescribeDeliveryChannelsResponse
 -> DescribeDeliveryChannelsResponse -> Bool)
-> (DescribeDeliveryChannelsResponse
    -> DescribeDeliveryChannelsResponse -> Bool)
-> Eq DescribeDeliveryChannelsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeDeliveryChannelsResponse
-> DescribeDeliveryChannelsResponse -> Bool
$c/= :: DescribeDeliveryChannelsResponse
-> DescribeDeliveryChannelsResponse -> Bool
== :: DescribeDeliveryChannelsResponse
-> DescribeDeliveryChannelsResponse -> Bool
$c== :: DescribeDeliveryChannelsResponse
-> DescribeDeliveryChannelsResponse -> Bool
Prelude.Eq, ReadPrec [DescribeDeliveryChannelsResponse]
ReadPrec DescribeDeliveryChannelsResponse
Int -> ReadS DescribeDeliveryChannelsResponse
ReadS [DescribeDeliveryChannelsResponse]
(Int -> ReadS DescribeDeliveryChannelsResponse)
-> ReadS [DescribeDeliveryChannelsResponse]
-> ReadPrec DescribeDeliveryChannelsResponse
-> ReadPrec [DescribeDeliveryChannelsResponse]
-> Read DescribeDeliveryChannelsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeDeliveryChannelsResponse]
$creadListPrec :: ReadPrec [DescribeDeliveryChannelsResponse]
readPrec :: ReadPrec DescribeDeliveryChannelsResponse
$creadPrec :: ReadPrec DescribeDeliveryChannelsResponse
readList :: ReadS [DescribeDeliveryChannelsResponse]
$creadList :: ReadS [DescribeDeliveryChannelsResponse]
readsPrec :: Int -> ReadS DescribeDeliveryChannelsResponse
$creadsPrec :: Int -> ReadS DescribeDeliveryChannelsResponse
Prelude.Read, Int -> DescribeDeliveryChannelsResponse -> ShowS
[DescribeDeliveryChannelsResponse] -> ShowS
DescribeDeliveryChannelsResponse -> String
(Int -> DescribeDeliveryChannelsResponse -> ShowS)
-> (DescribeDeliveryChannelsResponse -> String)
-> ([DescribeDeliveryChannelsResponse] -> ShowS)
-> Show DescribeDeliveryChannelsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeDeliveryChannelsResponse] -> ShowS
$cshowList :: [DescribeDeliveryChannelsResponse] -> ShowS
show :: DescribeDeliveryChannelsResponse -> String
$cshow :: DescribeDeliveryChannelsResponse -> String
showsPrec :: Int -> DescribeDeliveryChannelsResponse -> ShowS
$cshowsPrec :: Int -> DescribeDeliveryChannelsResponse -> ShowS
Prelude.Show, (forall x.
 DescribeDeliveryChannelsResponse
 -> Rep DescribeDeliveryChannelsResponse x)
-> (forall x.
    Rep DescribeDeliveryChannelsResponse x
    -> DescribeDeliveryChannelsResponse)
-> Generic DescribeDeliveryChannelsResponse
forall x.
Rep DescribeDeliveryChannelsResponse x
-> DescribeDeliveryChannelsResponse
forall x.
DescribeDeliveryChannelsResponse
-> Rep DescribeDeliveryChannelsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeDeliveryChannelsResponse x
-> DescribeDeliveryChannelsResponse
$cfrom :: forall x.
DescribeDeliveryChannelsResponse
-> Rep DescribeDeliveryChannelsResponse x
Prelude.Generic)

-- |
-- Create a value of 'DescribeDeliveryChannelsResponse' 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:
--
-- 'deliveryChannels', 'describeDeliveryChannelsResponse_deliveryChannels' - A list that contains the descriptions of the specified delivery channel.
--
-- 'httpStatus', 'describeDeliveryChannelsResponse_httpStatus' - The response's http status code.
newDescribeDeliveryChannelsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DescribeDeliveryChannelsResponse
newDescribeDeliveryChannelsResponse :: Int -> DescribeDeliveryChannelsResponse
newDescribeDeliveryChannelsResponse Int
pHttpStatus_ =
  DescribeDeliveryChannelsResponse' :: Maybe [DeliveryChannel] -> Int -> DescribeDeliveryChannelsResponse
DescribeDeliveryChannelsResponse'
    { $sel:deliveryChannels:DescribeDeliveryChannelsResponse' :: Maybe [DeliveryChannel]
deliveryChannels =
        Maybe [DeliveryChannel]
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DescribeDeliveryChannelsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | A list that contains the descriptions of the specified delivery channel.
describeDeliveryChannelsResponse_deliveryChannels :: Lens.Lens' DescribeDeliveryChannelsResponse (Prelude.Maybe [DeliveryChannel])
describeDeliveryChannelsResponse_deliveryChannels :: (Maybe [DeliveryChannel] -> f (Maybe [DeliveryChannel]))
-> DescribeDeliveryChannelsResponse
-> f DescribeDeliveryChannelsResponse
describeDeliveryChannelsResponse_deliveryChannels = (DescribeDeliveryChannelsResponse -> Maybe [DeliveryChannel])
-> (DescribeDeliveryChannelsResponse
    -> Maybe [DeliveryChannel] -> DescribeDeliveryChannelsResponse)
-> Lens
     DescribeDeliveryChannelsResponse
     DescribeDeliveryChannelsResponse
     (Maybe [DeliveryChannel])
     (Maybe [DeliveryChannel])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDeliveryChannelsResponse' {Maybe [DeliveryChannel]
deliveryChannels :: Maybe [DeliveryChannel]
$sel:deliveryChannels:DescribeDeliveryChannelsResponse' :: DescribeDeliveryChannelsResponse -> Maybe [DeliveryChannel]
deliveryChannels} -> Maybe [DeliveryChannel]
deliveryChannels) (\s :: DescribeDeliveryChannelsResponse
s@DescribeDeliveryChannelsResponse' {} Maybe [DeliveryChannel]
a -> DescribeDeliveryChannelsResponse
s {$sel:deliveryChannels:DescribeDeliveryChannelsResponse' :: Maybe [DeliveryChannel]
deliveryChannels = Maybe [DeliveryChannel]
a} :: DescribeDeliveryChannelsResponse) ((Maybe [DeliveryChannel] -> f (Maybe [DeliveryChannel]))
 -> DescribeDeliveryChannelsResponse
 -> f DescribeDeliveryChannelsResponse)
-> ((Maybe [DeliveryChannel] -> f (Maybe [DeliveryChannel]))
    -> Maybe [DeliveryChannel] -> f (Maybe [DeliveryChannel]))
-> (Maybe [DeliveryChannel] -> f (Maybe [DeliveryChannel]))
-> DescribeDeliveryChannelsResponse
-> f DescribeDeliveryChannelsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [DeliveryChannel]
  [DeliveryChannel]
  [DeliveryChannel]
  [DeliveryChannel]
-> Iso
     (Maybe [DeliveryChannel])
     (Maybe [DeliveryChannel])
     (Maybe [DeliveryChannel])
     (Maybe [DeliveryChannel])
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
  [DeliveryChannel]
  [DeliveryChannel]
  [DeliveryChannel]
  [DeliveryChannel]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

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

instance
  Prelude.NFData
    DescribeDeliveryChannelsResponse