{-# 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.ApiGatewayV2.UpdateVpcLink
-- 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 a VPC link.
module Amazonka.ApiGatewayV2.UpdateVpcLink
  ( -- * Creating a Request
    UpdateVpcLink (..),
    newUpdateVpcLink,

    -- * Request Lenses
    updateVpcLink_name,
    updateVpcLink_vpcLinkId,

    -- * Destructuring the Response
    UpdateVpcLinkResponse (..),
    newUpdateVpcLinkResponse,

    -- * Response Lenses
    updateVpcLinkResponse_securityGroupIds,
    updateVpcLinkResponse_subnetIds,
    updateVpcLinkResponse_vpcLinkId,
    updateVpcLinkResponse_createdDate,
    updateVpcLinkResponse_vpcLinkVersion,
    updateVpcLinkResponse_name,
    updateVpcLinkResponse_vpcLinkStatusMessage,
    updateVpcLinkResponse_tags,
    updateVpcLinkResponse_vpcLinkStatus,
    updateVpcLinkResponse_httpStatus,
  )
where

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

-- | Updates a VPC link.
--
-- /See:/ 'newUpdateVpcLink' smart constructor.
data UpdateVpcLink = UpdateVpcLink'
  { -- | The name of the VPC link.
    UpdateVpcLink -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
    -- | The ID of the VPC link.
    UpdateVpcLink -> Text
vpcLinkId :: Prelude.Text
  }
  deriving (UpdateVpcLink -> UpdateVpcLink -> Bool
(UpdateVpcLink -> UpdateVpcLink -> Bool)
-> (UpdateVpcLink -> UpdateVpcLink -> Bool) -> Eq UpdateVpcLink
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateVpcLink -> UpdateVpcLink -> Bool
$c/= :: UpdateVpcLink -> UpdateVpcLink -> Bool
== :: UpdateVpcLink -> UpdateVpcLink -> Bool
$c== :: UpdateVpcLink -> UpdateVpcLink -> Bool
Prelude.Eq, ReadPrec [UpdateVpcLink]
ReadPrec UpdateVpcLink
Int -> ReadS UpdateVpcLink
ReadS [UpdateVpcLink]
(Int -> ReadS UpdateVpcLink)
-> ReadS [UpdateVpcLink]
-> ReadPrec UpdateVpcLink
-> ReadPrec [UpdateVpcLink]
-> Read UpdateVpcLink
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateVpcLink]
$creadListPrec :: ReadPrec [UpdateVpcLink]
readPrec :: ReadPrec UpdateVpcLink
$creadPrec :: ReadPrec UpdateVpcLink
readList :: ReadS [UpdateVpcLink]
$creadList :: ReadS [UpdateVpcLink]
readsPrec :: Int -> ReadS UpdateVpcLink
$creadsPrec :: Int -> ReadS UpdateVpcLink
Prelude.Read, Int -> UpdateVpcLink -> ShowS
[UpdateVpcLink] -> ShowS
UpdateVpcLink -> String
(Int -> UpdateVpcLink -> ShowS)
-> (UpdateVpcLink -> String)
-> ([UpdateVpcLink] -> ShowS)
-> Show UpdateVpcLink
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateVpcLink] -> ShowS
$cshowList :: [UpdateVpcLink] -> ShowS
show :: UpdateVpcLink -> String
$cshow :: UpdateVpcLink -> String
showsPrec :: Int -> UpdateVpcLink -> ShowS
$cshowsPrec :: Int -> UpdateVpcLink -> ShowS
Prelude.Show, (forall x. UpdateVpcLink -> Rep UpdateVpcLink x)
-> (forall x. Rep UpdateVpcLink x -> UpdateVpcLink)
-> Generic UpdateVpcLink
forall x. Rep UpdateVpcLink x -> UpdateVpcLink
forall x. UpdateVpcLink -> Rep UpdateVpcLink x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpdateVpcLink x -> UpdateVpcLink
$cfrom :: forall x. UpdateVpcLink -> Rep UpdateVpcLink x
Prelude.Generic)

-- |
-- Create a value of 'UpdateVpcLink' 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:
--
-- 'name', 'updateVpcLink_name' - The name of the VPC link.
--
-- 'vpcLinkId', 'updateVpcLink_vpcLinkId' - The ID of the VPC link.
newUpdateVpcLink ::
  -- | 'vpcLinkId'
  Prelude.Text ->
  UpdateVpcLink
newUpdateVpcLink :: Text -> UpdateVpcLink
newUpdateVpcLink Text
pVpcLinkId_ =
  UpdateVpcLink' :: Maybe Text -> Text -> UpdateVpcLink
UpdateVpcLink'
    { $sel:name:UpdateVpcLink' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:vpcLinkId:UpdateVpcLink' :: Text
vpcLinkId = Text
pVpcLinkId_
    }

-- | The name of the VPC link.
updateVpcLink_name :: Lens.Lens' UpdateVpcLink (Prelude.Maybe Prelude.Text)
updateVpcLink_name :: (Maybe Text -> f (Maybe Text)) -> UpdateVpcLink -> f UpdateVpcLink
updateVpcLink_name = (UpdateVpcLink -> Maybe Text)
-> (UpdateVpcLink -> Maybe Text -> UpdateVpcLink)
-> Lens UpdateVpcLink UpdateVpcLink (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVpcLink' {Maybe Text
name :: Maybe Text
$sel:name:UpdateVpcLink' :: UpdateVpcLink -> Maybe Text
name} -> Maybe Text
name) (\s :: UpdateVpcLink
s@UpdateVpcLink' {} Maybe Text
a -> UpdateVpcLink
s {$sel:name:UpdateVpcLink' :: Maybe Text
name = Maybe Text
a} :: UpdateVpcLink)

-- | The ID of the VPC link.
updateVpcLink_vpcLinkId :: Lens.Lens' UpdateVpcLink Prelude.Text
updateVpcLink_vpcLinkId :: (Text -> f Text) -> UpdateVpcLink -> f UpdateVpcLink
updateVpcLink_vpcLinkId = (UpdateVpcLink -> Text)
-> (UpdateVpcLink -> Text -> UpdateVpcLink)
-> Lens UpdateVpcLink UpdateVpcLink Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVpcLink' {Text
vpcLinkId :: Text
$sel:vpcLinkId:UpdateVpcLink' :: UpdateVpcLink -> Text
vpcLinkId} -> Text
vpcLinkId) (\s :: UpdateVpcLink
s@UpdateVpcLink' {} Text
a -> UpdateVpcLink
s {$sel:vpcLinkId:UpdateVpcLink' :: Text
vpcLinkId = Text
a} :: UpdateVpcLink)

instance Core.AWSRequest UpdateVpcLink where
  type
    AWSResponse UpdateVpcLink =
      UpdateVpcLinkResponse
  request :: UpdateVpcLink -> Request UpdateVpcLink
request = Service -> UpdateVpcLink -> Request UpdateVpcLink
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.patchJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy UpdateVpcLink
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse UpdateVpcLink)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse UpdateVpcLink))
-> Logger
-> Service
-> Proxy UpdateVpcLink
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse UpdateVpcLink)))
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 Text
-> Maybe POSIX
-> Maybe VpcLinkVersion
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe VpcLinkStatus
-> Int
-> UpdateVpcLinkResponse
UpdateVpcLinkResponse'
            (Maybe [Text]
 -> Maybe [Text]
 -> Maybe Text
 -> Maybe POSIX
 -> Maybe VpcLinkVersion
 -> Maybe Text
 -> Maybe Text
 -> Maybe (HashMap Text Text)
 -> Maybe VpcLinkStatus
 -> Int
 -> UpdateVpcLinkResponse)
-> Either String (Maybe [Text])
-> Either
     String
     (Maybe [Text]
      -> Maybe Text
      -> Maybe POSIX
      -> Maybe VpcLinkVersion
      -> Maybe Text
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe VpcLinkStatus
      -> Int
      -> UpdateVpcLinkResponse)
forall (f :: * -> *) a b. Functor 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
"securityGroupIds"
                            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 Text
   -> Maybe POSIX
   -> Maybe VpcLinkVersion
   -> Maybe Text
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe VpcLinkStatus
   -> Int
   -> UpdateVpcLinkResponse)
-> Either String (Maybe [Text])
-> Either
     String
     (Maybe Text
      -> Maybe POSIX
      -> Maybe VpcLinkVersion
      -> Maybe Text
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe VpcLinkStatus
      -> Int
      -> UpdateVpcLinkResponse)
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 Text
   -> Maybe POSIX
   -> Maybe VpcLinkVersion
   -> Maybe Text
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe VpcLinkStatus
   -> Int
   -> UpdateVpcLinkResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe POSIX
      -> Maybe VpcLinkVersion
      -> Maybe Text
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe VpcLinkStatus
      -> Int
      -> UpdateVpcLinkResponse)
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
"vpcLinkId")
            Either
  String
  (Maybe POSIX
   -> Maybe VpcLinkVersion
   -> Maybe Text
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe VpcLinkStatus
   -> Int
   -> UpdateVpcLinkResponse)
-> Either String (Maybe POSIX)
-> Either
     String
     (Maybe VpcLinkVersion
      -> Maybe Text
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe VpcLinkStatus
      -> Int
      -> UpdateVpcLinkResponse)
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
"createdDate")
            Either
  String
  (Maybe VpcLinkVersion
   -> Maybe Text
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe VpcLinkStatus
   -> Int
   -> UpdateVpcLinkResponse)
-> Either String (Maybe VpcLinkVersion)
-> Either
     String
     (Maybe Text
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe VpcLinkStatus
      -> Int
      -> UpdateVpcLinkResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe VpcLinkVersion)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"vpcLinkVersion")
            Either
  String
  (Maybe Text
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe VpcLinkStatus
   -> Int
   -> UpdateVpcLinkResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Text
      -> Maybe (HashMap Text Text)
      -> Maybe VpcLinkStatus
      -> Int
      -> UpdateVpcLinkResponse)
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
"name")
            Either
  String
  (Maybe Text
   -> Maybe (HashMap Text Text)
   -> Maybe VpcLinkStatus
   -> Int
   -> UpdateVpcLinkResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe (HashMap Text Text)
      -> Maybe VpcLinkStatus -> Int -> UpdateVpcLinkResponse)
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
"vpcLinkStatusMessage")
            Either
  String
  (Maybe (HashMap Text Text)
   -> Maybe VpcLinkStatus -> Int -> UpdateVpcLinkResponse)
-> Either String (Maybe (HashMap Text Text))
-> Either
     String (Maybe VpcLinkStatus -> Int -> UpdateVpcLinkResponse)
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 VpcLinkStatus -> Int -> UpdateVpcLinkResponse)
-> Either String (Maybe VpcLinkStatus)
-> Either String (Int -> UpdateVpcLinkResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe VpcLinkStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"vpcLinkStatus")
            Either String (Int -> UpdateVpcLinkResponse)
-> Either String Int -> Either String UpdateVpcLinkResponse
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 UpdateVpcLink

instance Prelude.NFData UpdateVpcLink

instance Core.ToHeaders UpdateVpcLink where
  toHeaders :: UpdateVpcLink -> ResponseHeaders
toHeaders =
    ResponseHeaders -> UpdateVpcLink -> 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.ToJSON UpdateVpcLink where
  toJSON :: UpdateVpcLink -> Value
toJSON UpdateVpcLink' {Maybe Text
Text
vpcLinkId :: Text
name :: Maybe Text
$sel:vpcLinkId:UpdateVpcLink' :: UpdateVpcLink -> Text
$sel:name:UpdateVpcLink' :: UpdateVpcLink -> Maybe Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [(Text
"name" 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
name]
      )

instance Core.ToPath UpdateVpcLink where
  toPath :: UpdateVpcLink -> ByteString
toPath UpdateVpcLink' {Maybe Text
Text
vpcLinkId :: Text
name :: Maybe Text
$sel:vpcLinkId:UpdateVpcLink' :: UpdateVpcLink -> Text
$sel:name:UpdateVpcLink' :: UpdateVpcLink -> Maybe Text
..} =
    [ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ByteString
"/v2/vpclinks/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
vpcLinkId]

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

-- | /See:/ 'newUpdateVpcLinkResponse' smart constructor.
data UpdateVpcLinkResponse = UpdateVpcLinkResponse'
  { -- | A list of security group IDs for the VPC link.
    UpdateVpcLinkResponse -> Maybe [Text]
securityGroupIds :: Prelude.Maybe [Prelude.Text],
    -- | A list of subnet IDs to include in the VPC link.
    UpdateVpcLinkResponse -> Maybe [Text]
subnetIds :: Prelude.Maybe [Prelude.Text],
    -- | The ID of the VPC link.
    UpdateVpcLinkResponse -> Maybe Text
vpcLinkId :: Prelude.Maybe Prelude.Text,
    -- | The timestamp when the VPC link was created.
    UpdateVpcLinkResponse -> Maybe POSIX
createdDate :: Prelude.Maybe Core.POSIX,
    -- | The version of the VPC link.
    UpdateVpcLinkResponse -> Maybe VpcLinkVersion
vpcLinkVersion :: Prelude.Maybe VpcLinkVersion,
    -- | The name of the VPC link.
    UpdateVpcLinkResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
    -- | A message summarizing the cause of the status of the VPC link.
    UpdateVpcLinkResponse -> Maybe Text
vpcLinkStatusMessage :: Prelude.Maybe Prelude.Text,
    -- | Tags for the VPC link.
    UpdateVpcLinkResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
    -- | The status of the VPC link.
    UpdateVpcLinkResponse -> Maybe VpcLinkStatus
vpcLinkStatus :: Prelude.Maybe VpcLinkStatus,
    -- | The response's http status code.
    UpdateVpcLinkResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (UpdateVpcLinkResponse -> UpdateVpcLinkResponse -> Bool
(UpdateVpcLinkResponse -> UpdateVpcLinkResponse -> Bool)
-> (UpdateVpcLinkResponse -> UpdateVpcLinkResponse -> Bool)
-> Eq UpdateVpcLinkResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateVpcLinkResponse -> UpdateVpcLinkResponse -> Bool
$c/= :: UpdateVpcLinkResponse -> UpdateVpcLinkResponse -> Bool
== :: UpdateVpcLinkResponse -> UpdateVpcLinkResponse -> Bool
$c== :: UpdateVpcLinkResponse -> UpdateVpcLinkResponse -> Bool
Prelude.Eq, ReadPrec [UpdateVpcLinkResponse]
ReadPrec UpdateVpcLinkResponse
Int -> ReadS UpdateVpcLinkResponse
ReadS [UpdateVpcLinkResponse]
(Int -> ReadS UpdateVpcLinkResponse)
-> ReadS [UpdateVpcLinkResponse]
-> ReadPrec UpdateVpcLinkResponse
-> ReadPrec [UpdateVpcLinkResponse]
-> Read UpdateVpcLinkResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateVpcLinkResponse]
$creadListPrec :: ReadPrec [UpdateVpcLinkResponse]
readPrec :: ReadPrec UpdateVpcLinkResponse
$creadPrec :: ReadPrec UpdateVpcLinkResponse
readList :: ReadS [UpdateVpcLinkResponse]
$creadList :: ReadS [UpdateVpcLinkResponse]
readsPrec :: Int -> ReadS UpdateVpcLinkResponse
$creadsPrec :: Int -> ReadS UpdateVpcLinkResponse
Prelude.Read, Int -> UpdateVpcLinkResponse -> ShowS
[UpdateVpcLinkResponse] -> ShowS
UpdateVpcLinkResponse -> String
(Int -> UpdateVpcLinkResponse -> ShowS)
-> (UpdateVpcLinkResponse -> String)
-> ([UpdateVpcLinkResponse] -> ShowS)
-> Show UpdateVpcLinkResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateVpcLinkResponse] -> ShowS
$cshowList :: [UpdateVpcLinkResponse] -> ShowS
show :: UpdateVpcLinkResponse -> String
$cshow :: UpdateVpcLinkResponse -> String
showsPrec :: Int -> UpdateVpcLinkResponse -> ShowS
$cshowsPrec :: Int -> UpdateVpcLinkResponse -> ShowS
Prelude.Show, (forall x. UpdateVpcLinkResponse -> Rep UpdateVpcLinkResponse x)
-> (forall x. Rep UpdateVpcLinkResponse x -> UpdateVpcLinkResponse)
-> Generic UpdateVpcLinkResponse
forall x. Rep UpdateVpcLinkResponse x -> UpdateVpcLinkResponse
forall x. UpdateVpcLinkResponse -> Rep UpdateVpcLinkResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpdateVpcLinkResponse x -> UpdateVpcLinkResponse
$cfrom :: forall x. UpdateVpcLinkResponse -> Rep UpdateVpcLinkResponse x
Prelude.Generic)

-- |
-- Create a value of 'UpdateVpcLinkResponse' 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:
--
-- 'securityGroupIds', 'updateVpcLinkResponse_securityGroupIds' - A list of security group IDs for the VPC link.
--
-- 'subnetIds', 'updateVpcLinkResponse_subnetIds' - A list of subnet IDs to include in the VPC link.
--
-- 'vpcLinkId', 'updateVpcLinkResponse_vpcLinkId' - The ID of the VPC link.
--
-- 'createdDate', 'updateVpcLinkResponse_createdDate' - The timestamp when the VPC link was created.
--
-- 'vpcLinkVersion', 'updateVpcLinkResponse_vpcLinkVersion' - The version of the VPC link.
--
-- 'name', 'updateVpcLinkResponse_name' - The name of the VPC link.
--
-- 'vpcLinkStatusMessage', 'updateVpcLinkResponse_vpcLinkStatusMessage' - A message summarizing the cause of the status of the VPC link.
--
-- 'tags', 'updateVpcLinkResponse_tags' - Tags for the VPC link.
--
-- 'vpcLinkStatus', 'updateVpcLinkResponse_vpcLinkStatus' - The status of the VPC link.
--
-- 'httpStatus', 'updateVpcLinkResponse_httpStatus' - The response's http status code.
newUpdateVpcLinkResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  UpdateVpcLinkResponse
newUpdateVpcLinkResponse :: Int -> UpdateVpcLinkResponse
newUpdateVpcLinkResponse Int
pHttpStatus_ =
  UpdateVpcLinkResponse' :: Maybe [Text]
-> Maybe [Text]
-> Maybe Text
-> Maybe POSIX
-> Maybe VpcLinkVersion
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe VpcLinkStatus
-> Int
-> UpdateVpcLinkResponse
UpdateVpcLinkResponse'
    { $sel:securityGroupIds:UpdateVpcLinkResponse' :: Maybe [Text]
securityGroupIds =
        Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:subnetIds:UpdateVpcLinkResponse' :: Maybe [Text]
subnetIds = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:vpcLinkId:UpdateVpcLinkResponse' :: Maybe Text
vpcLinkId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:createdDate:UpdateVpcLinkResponse' :: Maybe POSIX
createdDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
      $sel:vpcLinkVersion:UpdateVpcLinkResponse' :: Maybe VpcLinkVersion
vpcLinkVersion = Maybe VpcLinkVersion
forall a. Maybe a
Prelude.Nothing,
      $sel:name:UpdateVpcLinkResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:vpcLinkStatusMessage:UpdateVpcLinkResponse' :: Maybe Text
vpcLinkStatusMessage = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:tags:UpdateVpcLinkResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
      $sel:vpcLinkStatus:UpdateVpcLinkResponse' :: Maybe VpcLinkStatus
vpcLinkStatus = Maybe VpcLinkStatus
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:UpdateVpcLinkResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | A list of security group IDs for the VPC link.
updateVpcLinkResponse_securityGroupIds :: Lens.Lens' UpdateVpcLinkResponse (Prelude.Maybe [Prelude.Text])
updateVpcLinkResponse_securityGroupIds :: (Maybe [Text] -> f (Maybe [Text]))
-> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse
updateVpcLinkResponse_securityGroupIds = (UpdateVpcLinkResponse -> Maybe [Text])
-> (UpdateVpcLinkResponse -> Maybe [Text] -> UpdateVpcLinkResponse)
-> Lens
     UpdateVpcLinkResponse
     UpdateVpcLinkResponse
     (Maybe [Text])
     (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVpcLinkResponse' {Maybe [Text]
securityGroupIds :: Maybe [Text]
$sel:securityGroupIds:UpdateVpcLinkResponse' :: UpdateVpcLinkResponse -> Maybe [Text]
securityGroupIds} -> Maybe [Text]
securityGroupIds) (\s :: UpdateVpcLinkResponse
s@UpdateVpcLinkResponse' {} Maybe [Text]
a -> UpdateVpcLinkResponse
s {$sel:securityGroupIds:UpdateVpcLinkResponse' :: Maybe [Text]
securityGroupIds = Maybe [Text]
a} :: UpdateVpcLinkResponse) ((Maybe [Text] -> f (Maybe [Text]))
 -> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> UpdateVpcLinkResponse
-> f UpdateVpcLinkResponse
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

-- | A list of subnet IDs to include in the VPC link.
updateVpcLinkResponse_subnetIds :: Lens.Lens' UpdateVpcLinkResponse (Prelude.Maybe [Prelude.Text])
updateVpcLinkResponse_subnetIds :: (Maybe [Text] -> f (Maybe [Text]))
-> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse
updateVpcLinkResponse_subnetIds = (UpdateVpcLinkResponse -> Maybe [Text])
-> (UpdateVpcLinkResponse -> Maybe [Text] -> UpdateVpcLinkResponse)
-> Lens
     UpdateVpcLinkResponse
     UpdateVpcLinkResponse
     (Maybe [Text])
     (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVpcLinkResponse' {Maybe [Text]
subnetIds :: Maybe [Text]
$sel:subnetIds:UpdateVpcLinkResponse' :: UpdateVpcLinkResponse -> Maybe [Text]
subnetIds} -> Maybe [Text]
subnetIds) (\s :: UpdateVpcLinkResponse
s@UpdateVpcLinkResponse' {} Maybe [Text]
a -> UpdateVpcLinkResponse
s {$sel:subnetIds:UpdateVpcLinkResponse' :: Maybe [Text]
subnetIds = Maybe [Text]
a} :: UpdateVpcLinkResponse) ((Maybe [Text] -> f (Maybe [Text]))
 -> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> UpdateVpcLinkResponse
-> f UpdateVpcLinkResponse
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 ID of the VPC link.
updateVpcLinkResponse_vpcLinkId :: Lens.Lens' UpdateVpcLinkResponse (Prelude.Maybe Prelude.Text)
updateVpcLinkResponse_vpcLinkId :: (Maybe Text -> f (Maybe Text))
-> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse
updateVpcLinkResponse_vpcLinkId = (UpdateVpcLinkResponse -> Maybe Text)
-> (UpdateVpcLinkResponse -> Maybe Text -> UpdateVpcLinkResponse)
-> Lens
     UpdateVpcLinkResponse
     UpdateVpcLinkResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVpcLinkResponse' {Maybe Text
vpcLinkId :: Maybe Text
$sel:vpcLinkId:UpdateVpcLinkResponse' :: UpdateVpcLinkResponse -> Maybe Text
vpcLinkId} -> Maybe Text
vpcLinkId) (\s :: UpdateVpcLinkResponse
s@UpdateVpcLinkResponse' {} Maybe Text
a -> UpdateVpcLinkResponse
s {$sel:vpcLinkId:UpdateVpcLinkResponse' :: Maybe Text
vpcLinkId = Maybe Text
a} :: UpdateVpcLinkResponse)

-- | The timestamp when the VPC link was created.
updateVpcLinkResponse_createdDate :: Lens.Lens' UpdateVpcLinkResponse (Prelude.Maybe Prelude.UTCTime)
updateVpcLinkResponse_createdDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse
updateVpcLinkResponse_createdDate = (UpdateVpcLinkResponse -> Maybe POSIX)
-> (UpdateVpcLinkResponse -> Maybe POSIX -> UpdateVpcLinkResponse)
-> Lens
     UpdateVpcLinkResponse
     UpdateVpcLinkResponse
     (Maybe POSIX)
     (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVpcLinkResponse' {Maybe POSIX
createdDate :: Maybe POSIX
$sel:createdDate:UpdateVpcLinkResponse' :: UpdateVpcLinkResponse -> Maybe POSIX
createdDate} -> Maybe POSIX
createdDate) (\s :: UpdateVpcLinkResponse
s@UpdateVpcLinkResponse' {} Maybe POSIX
a -> UpdateVpcLinkResponse
s {$sel:createdDate:UpdateVpcLinkResponse' :: Maybe POSIX
createdDate = Maybe POSIX
a} :: UpdateVpcLinkResponse) ((Maybe POSIX -> f (Maybe POSIX))
 -> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
    -> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> UpdateVpcLinkResponse
-> f UpdateVpcLinkResponse
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 version of the VPC link.
updateVpcLinkResponse_vpcLinkVersion :: Lens.Lens' UpdateVpcLinkResponse (Prelude.Maybe VpcLinkVersion)
updateVpcLinkResponse_vpcLinkVersion :: (Maybe VpcLinkVersion -> f (Maybe VpcLinkVersion))
-> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse
updateVpcLinkResponse_vpcLinkVersion = (UpdateVpcLinkResponse -> Maybe VpcLinkVersion)
-> (UpdateVpcLinkResponse
    -> Maybe VpcLinkVersion -> UpdateVpcLinkResponse)
-> Lens
     UpdateVpcLinkResponse
     UpdateVpcLinkResponse
     (Maybe VpcLinkVersion)
     (Maybe VpcLinkVersion)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVpcLinkResponse' {Maybe VpcLinkVersion
vpcLinkVersion :: Maybe VpcLinkVersion
$sel:vpcLinkVersion:UpdateVpcLinkResponse' :: UpdateVpcLinkResponse -> Maybe VpcLinkVersion
vpcLinkVersion} -> Maybe VpcLinkVersion
vpcLinkVersion) (\s :: UpdateVpcLinkResponse
s@UpdateVpcLinkResponse' {} Maybe VpcLinkVersion
a -> UpdateVpcLinkResponse
s {$sel:vpcLinkVersion:UpdateVpcLinkResponse' :: Maybe VpcLinkVersion
vpcLinkVersion = Maybe VpcLinkVersion
a} :: UpdateVpcLinkResponse)

-- | The name of the VPC link.
updateVpcLinkResponse_name :: Lens.Lens' UpdateVpcLinkResponse (Prelude.Maybe Prelude.Text)
updateVpcLinkResponse_name :: (Maybe Text -> f (Maybe Text))
-> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse
updateVpcLinkResponse_name = (UpdateVpcLinkResponse -> Maybe Text)
-> (UpdateVpcLinkResponse -> Maybe Text -> UpdateVpcLinkResponse)
-> Lens
     UpdateVpcLinkResponse
     UpdateVpcLinkResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVpcLinkResponse' {Maybe Text
name :: Maybe Text
$sel:name:UpdateVpcLinkResponse' :: UpdateVpcLinkResponse -> Maybe Text
name} -> Maybe Text
name) (\s :: UpdateVpcLinkResponse
s@UpdateVpcLinkResponse' {} Maybe Text
a -> UpdateVpcLinkResponse
s {$sel:name:UpdateVpcLinkResponse' :: Maybe Text
name = Maybe Text
a} :: UpdateVpcLinkResponse)

-- | A message summarizing the cause of the status of the VPC link.
updateVpcLinkResponse_vpcLinkStatusMessage :: Lens.Lens' UpdateVpcLinkResponse (Prelude.Maybe Prelude.Text)
updateVpcLinkResponse_vpcLinkStatusMessage :: (Maybe Text -> f (Maybe Text))
-> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse
updateVpcLinkResponse_vpcLinkStatusMessage = (UpdateVpcLinkResponse -> Maybe Text)
-> (UpdateVpcLinkResponse -> Maybe Text -> UpdateVpcLinkResponse)
-> Lens
     UpdateVpcLinkResponse
     UpdateVpcLinkResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVpcLinkResponse' {Maybe Text
vpcLinkStatusMessage :: Maybe Text
$sel:vpcLinkStatusMessage:UpdateVpcLinkResponse' :: UpdateVpcLinkResponse -> Maybe Text
vpcLinkStatusMessage} -> Maybe Text
vpcLinkStatusMessage) (\s :: UpdateVpcLinkResponse
s@UpdateVpcLinkResponse' {} Maybe Text
a -> UpdateVpcLinkResponse
s {$sel:vpcLinkStatusMessage:UpdateVpcLinkResponse' :: Maybe Text
vpcLinkStatusMessage = Maybe Text
a} :: UpdateVpcLinkResponse)

-- | Tags for the VPC link.
updateVpcLinkResponse_tags :: Lens.Lens' UpdateVpcLinkResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
updateVpcLinkResponse_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse
updateVpcLinkResponse_tags = (UpdateVpcLinkResponse -> Maybe (HashMap Text Text))
-> (UpdateVpcLinkResponse
    -> Maybe (HashMap Text Text) -> UpdateVpcLinkResponse)
-> Lens
     UpdateVpcLinkResponse
     UpdateVpcLinkResponse
     (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 (\UpdateVpcLinkResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:UpdateVpcLinkResponse' :: UpdateVpcLinkResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: UpdateVpcLinkResponse
s@UpdateVpcLinkResponse' {} Maybe (HashMap Text Text)
a -> UpdateVpcLinkResponse
s {$sel:tags:UpdateVpcLinkResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: UpdateVpcLinkResponse) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
 -> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse)
-> ((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)))
-> UpdateVpcLinkResponse
-> f UpdateVpcLinkResponse
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

-- | The status of the VPC link.
updateVpcLinkResponse_vpcLinkStatus :: Lens.Lens' UpdateVpcLinkResponse (Prelude.Maybe VpcLinkStatus)
updateVpcLinkResponse_vpcLinkStatus :: (Maybe VpcLinkStatus -> f (Maybe VpcLinkStatus))
-> UpdateVpcLinkResponse -> f UpdateVpcLinkResponse
updateVpcLinkResponse_vpcLinkStatus = (UpdateVpcLinkResponse -> Maybe VpcLinkStatus)
-> (UpdateVpcLinkResponse
    -> Maybe VpcLinkStatus -> UpdateVpcLinkResponse)
-> Lens
     UpdateVpcLinkResponse
     UpdateVpcLinkResponse
     (Maybe VpcLinkStatus)
     (Maybe VpcLinkStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVpcLinkResponse' {Maybe VpcLinkStatus
vpcLinkStatus :: Maybe VpcLinkStatus
$sel:vpcLinkStatus:UpdateVpcLinkResponse' :: UpdateVpcLinkResponse -> Maybe VpcLinkStatus
vpcLinkStatus} -> Maybe VpcLinkStatus
vpcLinkStatus) (\s :: UpdateVpcLinkResponse
s@UpdateVpcLinkResponse' {} Maybe VpcLinkStatus
a -> UpdateVpcLinkResponse
s {$sel:vpcLinkStatus:UpdateVpcLinkResponse' :: Maybe VpcLinkStatus
vpcLinkStatus = Maybe VpcLinkStatus
a} :: UpdateVpcLinkResponse)

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

instance Prelude.NFData UpdateVpcLinkResponse