{-# 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.DirectConnect.UpdateDirectConnectGateway
-- 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)
--
-- Updates the name of a current Direct Connect gateway.
module Amazonka.DirectConnect.UpdateDirectConnectGateway
  ( -- * Creating a Request
    UpdateDirectConnectGateway (..),
    newUpdateDirectConnectGateway,

    -- * Request Lenses
    updateDirectConnectGateway_directConnectGatewayId,
    updateDirectConnectGateway_newDirectConnectGatewayName,

    -- * Destructuring the Response
    UpdateDirectConnectGatewayResponse (..),
    newUpdateDirectConnectGatewayResponse,

    -- * Response Lenses
    updateDirectConnectGatewayResponse_directConnectGateway,
    updateDirectConnectGatewayResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import Amazonka.DirectConnect.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:/ 'newUpdateDirectConnectGateway' smart constructor.
data UpdateDirectConnectGateway = UpdateDirectConnectGateway'
  { -- | The ID of the Direct Connect gateway to update.
    UpdateDirectConnectGateway -> Text
directConnectGatewayId :: Prelude.Text,
    -- | The new name for the Direct Connect gateway.
    UpdateDirectConnectGateway -> Text
newDirectConnectGatewayName' :: Prelude.Text
  }
  deriving (UpdateDirectConnectGateway -> UpdateDirectConnectGateway -> Bool
(UpdateDirectConnectGateway -> UpdateDirectConnectGateway -> Bool)
-> (UpdateDirectConnectGateway
    -> UpdateDirectConnectGateway -> Bool)
-> Eq UpdateDirectConnectGateway
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateDirectConnectGateway -> UpdateDirectConnectGateway -> Bool
$c/= :: UpdateDirectConnectGateway -> UpdateDirectConnectGateway -> Bool
== :: UpdateDirectConnectGateway -> UpdateDirectConnectGateway -> Bool
$c== :: UpdateDirectConnectGateway -> UpdateDirectConnectGateway -> Bool
Prelude.Eq, ReadPrec [UpdateDirectConnectGateway]
ReadPrec UpdateDirectConnectGateway
Int -> ReadS UpdateDirectConnectGateway
ReadS [UpdateDirectConnectGateway]
(Int -> ReadS UpdateDirectConnectGateway)
-> ReadS [UpdateDirectConnectGateway]
-> ReadPrec UpdateDirectConnectGateway
-> ReadPrec [UpdateDirectConnectGateway]
-> Read UpdateDirectConnectGateway
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateDirectConnectGateway]
$creadListPrec :: ReadPrec [UpdateDirectConnectGateway]
readPrec :: ReadPrec UpdateDirectConnectGateway
$creadPrec :: ReadPrec UpdateDirectConnectGateway
readList :: ReadS [UpdateDirectConnectGateway]
$creadList :: ReadS [UpdateDirectConnectGateway]
readsPrec :: Int -> ReadS UpdateDirectConnectGateway
$creadsPrec :: Int -> ReadS UpdateDirectConnectGateway
Prelude.Read, Int -> UpdateDirectConnectGateway -> ShowS
[UpdateDirectConnectGateway] -> ShowS
UpdateDirectConnectGateway -> String
(Int -> UpdateDirectConnectGateway -> ShowS)
-> (UpdateDirectConnectGateway -> String)
-> ([UpdateDirectConnectGateway] -> ShowS)
-> Show UpdateDirectConnectGateway
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateDirectConnectGateway] -> ShowS
$cshowList :: [UpdateDirectConnectGateway] -> ShowS
show :: UpdateDirectConnectGateway -> String
$cshow :: UpdateDirectConnectGateway -> String
showsPrec :: Int -> UpdateDirectConnectGateway -> ShowS
$cshowsPrec :: Int -> UpdateDirectConnectGateway -> ShowS
Prelude.Show, (forall x.
 UpdateDirectConnectGateway -> Rep UpdateDirectConnectGateway x)
-> (forall x.
    Rep UpdateDirectConnectGateway x -> UpdateDirectConnectGateway)
-> Generic UpdateDirectConnectGateway
forall x.
Rep UpdateDirectConnectGateway x -> UpdateDirectConnectGateway
forall x.
UpdateDirectConnectGateway -> Rep UpdateDirectConnectGateway x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateDirectConnectGateway x -> UpdateDirectConnectGateway
$cfrom :: forall x.
UpdateDirectConnectGateway -> Rep UpdateDirectConnectGateway x
Prelude.Generic)

-- |
-- Create a value of 'UpdateDirectConnectGateway' 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:
--
-- 'directConnectGatewayId', 'updateDirectConnectGateway_directConnectGatewayId' - The ID of the Direct Connect gateway to update.
--
-- 'newDirectConnectGatewayName'', 'updateDirectConnectGateway_newDirectConnectGatewayName' - The new name for the Direct Connect gateway.
newUpdateDirectConnectGateway ::
  -- | 'directConnectGatewayId'
  Prelude.Text ->
  -- | 'newDirectConnectGatewayName''
  Prelude.Text ->
  UpdateDirectConnectGateway
newUpdateDirectConnectGateway :: Text -> Text -> UpdateDirectConnectGateway
newUpdateDirectConnectGateway
  Text
pDirectConnectGatewayId_
  Text
pNewDirectConnectGatewayName_ =
    UpdateDirectConnectGateway' :: Text -> Text -> UpdateDirectConnectGateway
UpdateDirectConnectGateway'
      { $sel:directConnectGatewayId:UpdateDirectConnectGateway' :: Text
directConnectGatewayId =
          Text
pDirectConnectGatewayId_,
        $sel:newDirectConnectGatewayName':UpdateDirectConnectGateway' :: Text
newDirectConnectGatewayName' =
          Text
pNewDirectConnectGatewayName_
      }

-- | The ID of the Direct Connect gateway to update.
updateDirectConnectGateway_directConnectGatewayId :: Lens.Lens' UpdateDirectConnectGateway Prelude.Text
updateDirectConnectGateway_directConnectGatewayId :: (Text -> f Text)
-> UpdateDirectConnectGateway -> f UpdateDirectConnectGateway
updateDirectConnectGateway_directConnectGatewayId = (UpdateDirectConnectGateway -> Text)
-> (UpdateDirectConnectGateway
    -> Text -> UpdateDirectConnectGateway)
-> Lens
     UpdateDirectConnectGateway UpdateDirectConnectGateway Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateDirectConnectGateway' {Text
directConnectGatewayId :: Text
$sel:directConnectGatewayId:UpdateDirectConnectGateway' :: UpdateDirectConnectGateway -> Text
directConnectGatewayId} -> Text
directConnectGatewayId) (\s :: UpdateDirectConnectGateway
s@UpdateDirectConnectGateway' {} Text
a -> UpdateDirectConnectGateway
s {$sel:directConnectGatewayId:UpdateDirectConnectGateway' :: Text
directConnectGatewayId = Text
a} :: UpdateDirectConnectGateway)

-- | The new name for the Direct Connect gateway.
updateDirectConnectGateway_newDirectConnectGatewayName :: Lens.Lens' UpdateDirectConnectGateway Prelude.Text
updateDirectConnectGateway_newDirectConnectGatewayName :: (Text -> f Text)
-> UpdateDirectConnectGateway -> f UpdateDirectConnectGateway
updateDirectConnectGateway_newDirectConnectGatewayName = (UpdateDirectConnectGateway -> Text)
-> (UpdateDirectConnectGateway
    -> Text -> UpdateDirectConnectGateway)
-> Lens
     UpdateDirectConnectGateway UpdateDirectConnectGateway Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateDirectConnectGateway' {Text
newDirectConnectGatewayName' :: Text
$sel:newDirectConnectGatewayName':UpdateDirectConnectGateway' :: UpdateDirectConnectGateway -> Text
newDirectConnectGatewayName'} -> Text
newDirectConnectGatewayName') (\s :: UpdateDirectConnectGateway
s@UpdateDirectConnectGateway' {} Text
a -> UpdateDirectConnectGateway
s {$sel:newDirectConnectGatewayName':UpdateDirectConnectGateway' :: Text
newDirectConnectGatewayName' = Text
a} :: UpdateDirectConnectGateway)

instance Core.AWSRequest UpdateDirectConnectGateway where
  type
    AWSResponse UpdateDirectConnectGateway =
      UpdateDirectConnectGatewayResponse
  request :: UpdateDirectConnectGateway -> Request UpdateDirectConnectGateway
request = Service
-> UpdateDirectConnectGateway -> Request UpdateDirectConnectGateway
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy UpdateDirectConnectGateway
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse UpdateDirectConnectGateway)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse UpdateDirectConnectGateway))
-> Logger
-> Service
-> Proxy UpdateDirectConnectGateway
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse UpdateDirectConnectGateway)))
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 DirectConnectGateway
-> Int -> UpdateDirectConnectGatewayResponse
UpdateDirectConnectGatewayResponse'
            (Maybe DirectConnectGateway
 -> Int -> UpdateDirectConnectGatewayResponse)
-> Either String (Maybe DirectConnectGateway)
-> Either String (Int -> UpdateDirectConnectGatewayResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe DirectConnectGateway)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"directConnectGateway")
            Either String (Int -> UpdateDirectConnectGatewayResponse)
-> Either String Int
-> Either String UpdateDirectConnectGatewayResponse
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 UpdateDirectConnectGateway

instance Prelude.NFData UpdateDirectConnectGateway

instance Core.ToHeaders UpdateDirectConnectGateway where
  toHeaders :: UpdateDirectConnectGateway -> ResponseHeaders
toHeaders =
    ResponseHeaders -> UpdateDirectConnectGateway -> 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
"OvertureService.UpdateDirectConnectGateway" ::
                          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 UpdateDirectConnectGateway where
  toJSON :: UpdateDirectConnectGateway -> Value
toJSON UpdateDirectConnectGateway' {Text
newDirectConnectGatewayName' :: Text
directConnectGatewayId :: Text
$sel:newDirectConnectGatewayName':UpdateDirectConnectGateway' :: UpdateDirectConnectGateway -> Text
$sel:directConnectGatewayId:UpdateDirectConnectGateway' :: UpdateDirectConnectGateway -> Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
              ( Text
"directConnectGatewayId"
                  Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
directConnectGatewayId
              ),
            Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
              ( Text
"newDirectConnectGatewayName"
                  Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
newDirectConnectGatewayName'
              )
          ]
      )

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

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

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

-- |
-- Create a value of 'UpdateDirectConnectGatewayResponse' 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:
--
-- 'directConnectGateway', 'updateDirectConnectGatewayResponse_directConnectGateway' - Undocumented member.
--
-- 'httpStatus', 'updateDirectConnectGatewayResponse_httpStatus' - The response's http status code.
newUpdateDirectConnectGatewayResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  UpdateDirectConnectGatewayResponse
newUpdateDirectConnectGatewayResponse :: Int -> UpdateDirectConnectGatewayResponse
newUpdateDirectConnectGatewayResponse Int
pHttpStatus_ =
  UpdateDirectConnectGatewayResponse' :: Maybe DirectConnectGateway
-> Int -> UpdateDirectConnectGatewayResponse
UpdateDirectConnectGatewayResponse'
    { $sel:directConnectGateway:UpdateDirectConnectGatewayResponse' :: Maybe DirectConnectGateway
directConnectGateway =
        Maybe DirectConnectGateway
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:UpdateDirectConnectGatewayResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | Undocumented member.
updateDirectConnectGatewayResponse_directConnectGateway :: Lens.Lens' UpdateDirectConnectGatewayResponse (Prelude.Maybe DirectConnectGateway)
updateDirectConnectGatewayResponse_directConnectGateway :: (Maybe DirectConnectGateway -> f (Maybe DirectConnectGateway))
-> UpdateDirectConnectGatewayResponse
-> f UpdateDirectConnectGatewayResponse
updateDirectConnectGatewayResponse_directConnectGateway = (UpdateDirectConnectGatewayResponse -> Maybe DirectConnectGateway)
-> (UpdateDirectConnectGatewayResponse
    -> Maybe DirectConnectGateway
    -> UpdateDirectConnectGatewayResponse)
-> Lens
     UpdateDirectConnectGatewayResponse
     UpdateDirectConnectGatewayResponse
     (Maybe DirectConnectGateway)
     (Maybe DirectConnectGateway)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateDirectConnectGatewayResponse' {Maybe DirectConnectGateway
directConnectGateway :: Maybe DirectConnectGateway
$sel:directConnectGateway:UpdateDirectConnectGatewayResponse' :: UpdateDirectConnectGatewayResponse -> Maybe DirectConnectGateway
directConnectGateway} -> Maybe DirectConnectGateway
directConnectGateway) (\s :: UpdateDirectConnectGatewayResponse
s@UpdateDirectConnectGatewayResponse' {} Maybe DirectConnectGateway
a -> UpdateDirectConnectGatewayResponse
s {$sel:directConnectGateway:UpdateDirectConnectGatewayResponse' :: Maybe DirectConnectGateway
directConnectGateway = Maybe DirectConnectGateway
a} :: UpdateDirectConnectGatewayResponse)

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

instance
  Prelude.NFData
    UpdateDirectConnectGatewayResponse