{-# 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.Chime.ListSipMediaApplications
-- 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)
--
-- Lists the SIP media applications under the administrator\'s AWS account.
module Amazonka.Chime.ListSipMediaApplications
  ( -- * Creating a Request
    ListSipMediaApplications (..),
    newListSipMediaApplications,

    -- * Request Lenses
    listSipMediaApplications_nextToken,
    listSipMediaApplications_maxResults,

    -- * Destructuring the Response
    ListSipMediaApplicationsResponse (..),
    newListSipMediaApplicationsResponse,

    -- * Response Lenses
    listSipMediaApplicationsResponse_nextToken,
    listSipMediaApplicationsResponse_sipMediaApplications,
    listSipMediaApplicationsResponse_httpStatus,
  )
where

import Amazonka.Chime.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

-- | /See:/ 'newListSipMediaApplications' smart constructor.
data ListSipMediaApplications = ListSipMediaApplications'
  { -- | The token to use to retrieve the next page of results.
    ListSipMediaApplications -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The maximum number of results to return in a single call. Defaults to
    -- 100.
    ListSipMediaApplications -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
  }
  deriving (ListSipMediaApplications -> ListSipMediaApplications -> Bool
(ListSipMediaApplications -> ListSipMediaApplications -> Bool)
-> (ListSipMediaApplications -> ListSipMediaApplications -> Bool)
-> Eq ListSipMediaApplications
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListSipMediaApplications -> ListSipMediaApplications -> Bool
$c/= :: ListSipMediaApplications -> ListSipMediaApplications -> Bool
== :: ListSipMediaApplications -> ListSipMediaApplications -> Bool
$c== :: ListSipMediaApplications -> ListSipMediaApplications -> Bool
Prelude.Eq, ReadPrec [ListSipMediaApplications]
ReadPrec ListSipMediaApplications
Int -> ReadS ListSipMediaApplications
ReadS [ListSipMediaApplications]
(Int -> ReadS ListSipMediaApplications)
-> ReadS [ListSipMediaApplications]
-> ReadPrec ListSipMediaApplications
-> ReadPrec [ListSipMediaApplications]
-> Read ListSipMediaApplications
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListSipMediaApplications]
$creadListPrec :: ReadPrec [ListSipMediaApplications]
readPrec :: ReadPrec ListSipMediaApplications
$creadPrec :: ReadPrec ListSipMediaApplications
readList :: ReadS [ListSipMediaApplications]
$creadList :: ReadS [ListSipMediaApplications]
readsPrec :: Int -> ReadS ListSipMediaApplications
$creadsPrec :: Int -> ReadS ListSipMediaApplications
Prelude.Read, Int -> ListSipMediaApplications -> ShowS
[ListSipMediaApplications] -> ShowS
ListSipMediaApplications -> String
(Int -> ListSipMediaApplications -> ShowS)
-> (ListSipMediaApplications -> String)
-> ([ListSipMediaApplications] -> ShowS)
-> Show ListSipMediaApplications
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListSipMediaApplications] -> ShowS
$cshowList :: [ListSipMediaApplications] -> ShowS
show :: ListSipMediaApplications -> String
$cshow :: ListSipMediaApplications -> String
showsPrec :: Int -> ListSipMediaApplications -> ShowS
$cshowsPrec :: Int -> ListSipMediaApplications -> ShowS
Prelude.Show, (forall x.
 ListSipMediaApplications -> Rep ListSipMediaApplications x)
-> (forall x.
    Rep ListSipMediaApplications x -> ListSipMediaApplications)
-> Generic ListSipMediaApplications
forall x.
Rep ListSipMediaApplications x -> ListSipMediaApplications
forall x.
ListSipMediaApplications -> Rep ListSipMediaApplications x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListSipMediaApplications x -> ListSipMediaApplications
$cfrom :: forall x.
ListSipMediaApplications -> Rep ListSipMediaApplications x
Prelude.Generic)

-- |
-- Create a value of 'ListSipMediaApplications' 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:
--
-- 'nextToken', 'listSipMediaApplications_nextToken' - The token to use to retrieve the next page of results.
--
-- 'maxResults', 'listSipMediaApplications_maxResults' - The maximum number of results to return in a single call. Defaults to
-- 100.
newListSipMediaApplications ::
  ListSipMediaApplications
newListSipMediaApplications :: ListSipMediaApplications
newListSipMediaApplications =
  ListSipMediaApplications' :: Maybe Text -> Maybe Natural -> ListSipMediaApplications
ListSipMediaApplications'
    { $sel:nextToken:ListSipMediaApplications' :: Maybe Text
nextToken =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:maxResults:ListSipMediaApplications' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
    }

-- | The token to use to retrieve the next page of results.
listSipMediaApplications_nextToken :: Lens.Lens' ListSipMediaApplications (Prelude.Maybe Prelude.Text)
listSipMediaApplications_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListSipMediaApplications -> f ListSipMediaApplications
listSipMediaApplications_nextToken = (ListSipMediaApplications -> Maybe Text)
-> (ListSipMediaApplications
    -> Maybe Text -> ListSipMediaApplications)
-> Lens
     ListSipMediaApplications
     ListSipMediaApplications
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSipMediaApplications' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListSipMediaApplications' :: ListSipMediaApplications -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListSipMediaApplications
s@ListSipMediaApplications' {} Maybe Text
a -> ListSipMediaApplications
s {$sel:nextToken:ListSipMediaApplications' :: Maybe Text
nextToken = Maybe Text
a} :: ListSipMediaApplications)

-- | The maximum number of results to return in a single call. Defaults to
-- 100.
listSipMediaApplications_maxResults :: Lens.Lens' ListSipMediaApplications (Prelude.Maybe Prelude.Natural)
listSipMediaApplications_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListSipMediaApplications -> f ListSipMediaApplications
listSipMediaApplications_maxResults = (ListSipMediaApplications -> Maybe Natural)
-> (ListSipMediaApplications
    -> Maybe Natural -> ListSipMediaApplications)
-> Lens
     ListSipMediaApplications
     ListSipMediaApplications
     (Maybe Natural)
     (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSipMediaApplications' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListSipMediaApplications' :: ListSipMediaApplications -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListSipMediaApplications
s@ListSipMediaApplications' {} Maybe Natural
a -> ListSipMediaApplications
s {$sel:maxResults:ListSipMediaApplications' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListSipMediaApplications)

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

instance Prelude.NFData ListSipMediaApplications

instance Core.ToHeaders ListSipMediaApplications where
  toHeaders :: ListSipMediaApplications -> ResponseHeaders
toHeaders = ResponseHeaders -> ListSipMediaApplications -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty

instance Core.ToPath ListSipMediaApplications where
  toPath :: ListSipMediaApplications -> ByteString
toPath = ByteString -> ListSipMediaApplications -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/sip-media-applications"

instance Core.ToQuery ListSipMediaApplications where
  toQuery :: ListSipMediaApplications -> QueryString
toQuery ListSipMediaApplications' {Maybe Natural
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:maxResults:ListSipMediaApplications' :: ListSipMediaApplications -> Maybe Natural
$sel:nextToken:ListSipMediaApplications' :: ListSipMediaApplications -> Maybe Text
..} =
    [QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"next-token" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
nextToken,
        ByteString
"max-results" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults
      ]

-- | /See:/ 'newListSipMediaApplicationsResponse' smart constructor.
data ListSipMediaApplicationsResponse = ListSipMediaApplicationsResponse'
  { -- | The token to use to retrieve the next page of results.
    ListSipMediaApplicationsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | List of SIP media applications and application details.
    ListSipMediaApplicationsResponse -> Maybe [SipMediaApplication]
sipMediaApplications :: Prelude.Maybe [SipMediaApplication],
    -- | The response's http status code.
    ListSipMediaApplicationsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (ListSipMediaApplicationsResponse
-> ListSipMediaApplicationsResponse -> Bool
(ListSipMediaApplicationsResponse
 -> ListSipMediaApplicationsResponse -> Bool)
-> (ListSipMediaApplicationsResponse
    -> ListSipMediaApplicationsResponse -> Bool)
-> Eq ListSipMediaApplicationsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListSipMediaApplicationsResponse
-> ListSipMediaApplicationsResponse -> Bool
$c/= :: ListSipMediaApplicationsResponse
-> ListSipMediaApplicationsResponse -> Bool
== :: ListSipMediaApplicationsResponse
-> ListSipMediaApplicationsResponse -> Bool
$c== :: ListSipMediaApplicationsResponse
-> ListSipMediaApplicationsResponse -> Bool
Prelude.Eq, Int -> ListSipMediaApplicationsResponse -> ShowS
[ListSipMediaApplicationsResponse] -> ShowS
ListSipMediaApplicationsResponse -> String
(Int -> ListSipMediaApplicationsResponse -> ShowS)
-> (ListSipMediaApplicationsResponse -> String)
-> ([ListSipMediaApplicationsResponse] -> ShowS)
-> Show ListSipMediaApplicationsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListSipMediaApplicationsResponse] -> ShowS
$cshowList :: [ListSipMediaApplicationsResponse] -> ShowS
show :: ListSipMediaApplicationsResponse -> String
$cshow :: ListSipMediaApplicationsResponse -> String
showsPrec :: Int -> ListSipMediaApplicationsResponse -> ShowS
$cshowsPrec :: Int -> ListSipMediaApplicationsResponse -> ShowS
Prelude.Show, (forall x.
 ListSipMediaApplicationsResponse
 -> Rep ListSipMediaApplicationsResponse x)
-> (forall x.
    Rep ListSipMediaApplicationsResponse x
    -> ListSipMediaApplicationsResponse)
-> Generic ListSipMediaApplicationsResponse
forall x.
Rep ListSipMediaApplicationsResponse x
-> ListSipMediaApplicationsResponse
forall x.
ListSipMediaApplicationsResponse
-> Rep ListSipMediaApplicationsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListSipMediaApplicationsResponse x
-> ListSipMediaApplicationsResponse
$cfrom :: forall x.
ListSipMediaApplicationsResponse
-> Rep ListSipMediaApplicationsResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListSipMediaApplicationsResponse' 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:
--
-- 'nextToken', 'listSipMediaApplicationsResponse_nextToken' - The token to use to retrieve the next page of results.
--
-- 'sipMediaApplications', 'listSipMediaApplicationsResponse_sipMediaApplications' - List of SIP media applications and application details.
--
-- 'httpStatus', 'listSipMediaApplicationsResponse_httpStatus' - The response's http status code.
newListSipMediaApplicationsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListSipMediaApplicationsResponse
newListSipMediaApplicationsResponse :: Int -> ListSipMediaApplicationsResponse
newListSipMediaApplicationsResponse Int
pHttpStatus_ =
  ListSipMediaApplicationsResponse' :: Maybe Text
-> Maybe [SipMediaApplication]
-> Int
-> ListSipMediaApplicationsResponse
ListSipMediaApplicationsResponse'
    { $sel:nextToken:ListSipMediaApplicationsResponse' :: Maybe Text
nextToken =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:sipMediaApplications:ListSipMediaApplicationsResponse' :: Maybe [SipMediaApplication]
sipMediaApplications = Maybe [SipMediaApplication]
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListSipMediaApplicationsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The token to use to retrieve the next page of results.
listSipMediaApplicationsResponse_nextToken :: Lens.Lens' ListSipMediaApplicationsResponse (Prelude.Maybe Prelude.Text)
listSipMediaApplicationsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListSipMediaApplicationsResponse
-> f ListSipMediaApplicationsResponse
listSipMediaApplicationsResponse_nextToken = (ListSipMediaApplicationsResponse -> Maybe Text)
-> (ListSipMediaApplicationsResponse
    -> Maybe Text -> ListSipMediaApplicationsResponse)
-> Lens
     ListSipMediaApplicationsResponse
     ListSipMediaApplicationsResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSipMediaApplicationsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListSipMediaApplicationsResponse' :: ListSipMediaApplicationsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListSipMediaApplicationsResponse
s@ListSipMediaApplicationsResponse' {} Maybe Text
a -> ListSipMediaApplicationsResponse
s {$sel:nextToken:ListSipMediaApplicationsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListSipMediaApplicationsResponse)

-- | List of SIP media applications and application details.
listSipMediaApplicationsResponse_sipMediaApplications :: Lens.Lens' ListSipMediaApplicationsResponse (Prelude.Maybe [SipMediaApplication])
listSipMediaApplicationsResponse_sipMediaApplications :: (Maybe [SipMediaApplication] -> f (Maybe [SipMediaApplication]))
-> ListSipMediaApplicationsResponse
-> f ListSipMediaApplicationsResponse
listSipMediaApplicationsResponse_sipMediaApplications = (ListSipMediaApplicationsResponse -> Maybe [SipMediaApplication])
-> (ListSipMediaApplicationsResponse
    -> Maybe [SipMediaApplication] -> ListSipMediaApplicationsResponse)
-> Lens
     ListSipMediaApplicationsResponse
     ListSipMediaApplicationsResponse
     (Maybe [SipMediaApplication])
     (Maybe [SipMediaApplication])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSipMediaApplicationsResponse' {Maybe [SipMediaApplication]
sipMediaApplications :: Maybe [SipMediaApplication]
$sel:sipMediaApplications:ListSipMediaApplicationsResponse' :: ListSipMediaApplicationsResponse -> Maybe [SipMediaApplication]
sipMediaApplications} -> Maybe [SipMediaApplication]
sipMediaApplications) (\s :: ListSipMediaApplicationsResponse
s@ListSipMediaApplicationsResponse' {} Maybe [SipMediaApplication]
a -> ListSipMediaApplicationsResponse
s {$sel:sipMediaApplications:ListSipMediaApplicationsResponse' :: Maybe [SipMediaApplication]
sipMediaApplications = Maybe [SipMediaApplication]
a} :: ListSipMediaApplicationsResponse) ((Maybe [SipMediaApplication] -> f (Maybe [SipMediaApplication]))
 -> ListSipMediaApplicationsResponse
 -> f ListSipMediaApplicationsResponse)
-> ((Maybe [SipMediaApplication]
     -> f (Maybe [SipMediaApplication]))
    -> Maybe [SipMediaApplication] -> f (Maybe [SipMediaApplication]))
-> (Maybe [SipMediaApplication] -> f (Maybe [SipMediaApplication]))
-> ListSipMediaApplicationsResponse
-> f ListSipMediaApplicationsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [SipMediaApplication]
  [SipMediaApplication]
  [SipMediaApplication]
  [SipMediaApplication]
-> Iso
     (Maybe [SipMediaApplication])
     (Maybe [SipMediaApplication])
     (Maybe [SipMediaApplication])
     (Maybe [SipMediaApplication])
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
  [SipMediaApplication]
  [SipMediaApplication]
  [SipMediaApplication]
  [SipMediaApplication]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

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

instance
  Prelude.NFData
    ListSipMediaApplicationsResponse