{-# 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 #-}
module Amazonka.APIGateway.GetVpcLinks
(
GetVpcLinks (..),
newGetVpcLinks,
getVpcLinks_limit,
getVpcLinks_position,
GetVpcLinksResponse (..),
newGetVpcLinksResponse,
getVpcLinksResponse_items,
getVpcLinksResponse_position,
getVpcLinksResponse_httpStatus,
)
where
import Amazonka.APIGateway.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
data GetVpcLinks = GetVpcLinks'
{
GetVpcLinks -> Maybe Int
limit :: Prelude.Maybe Prelude.Int,
GetVpcLinks -> Maybe Text
position :: Prelude.Maybe Prelude.Text
}
deriving (GetVpcLinks -> GetVpcLinks -> Bool
(GetVpcLinks -> GetVpcLinks -> Bool)
-> (GetVpcLinks -> GetVpcLinks -> Bool) -> Eq GetVpcLinks
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetVpcLinks -> GetVpcLinks -> Bool
$c/= :: GetVpcLinks -> GetVpcLinks -> Bool
== :: GetVpcLinks -> GetVpcLinks -> Bool
$c== :: GetVpcLinks -> GetVpcLinks -> Bool
Prelude.Eq, ReadPrec [GetVpcLinks]
ReadPrec GetVpcLinks
Int -> ReadS GetVpcLinks
ReadS [GetVpcLinks]
(Int -> ReadS GetVpcLinks)
-> ReadS [GetVpcLinks]
-> ReadPrec GetVpcLinks
-> ReadPrec [GetVpcLinks]
-> Read GetVpcLinks
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetVpcLinks]
$creadListPrec :: ReadPrec [GetVpcLinks]
readPrec :: ReadPrec GetVpcLinks
$creadPrec :: ReadPrec GetVpcLinks
readList :: ReadS [GetVpcLinks]
$creadList :: ReadS [GetVpcLinks]
readsPrec :: Int -> ReadS GetVpcLinks
$creadsPrec :: Int -> ReadS GetVpcLinks
Prelude.Read, Int -> GetVpcLinks -> ShowS
[GetVpcLinks] -> ShowS
GetVpcLinks -> String
(Int -> GetVpcLinks -> ShowS)
-> (GetVpcLinks -> String)
-> ([GetVpcLinks] -> ShowS)
-> Show GetVpcLinks
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetVpcLinks] -> ShowS
$cshowList :: [GetVpcLinks] -> ShowS
show :: GetVpcLinks -> String
$cshow :: GetVpcLinks -> String
showsPrec :: Int -> GetVpcLinks -> ShowS
$cshowsPrec :: Int -> GetVpcLinks -> ShowS
Prelude.Show, (forall x. GetVpcLinks -> Rep GetVpcLinks x)
-> (forall x. Rep GetVpcLinks x -> GetVpcLinks)
-> Generic GetVpcLinks
forall x. Rep GetVpcLinks x -> GetVpcLinks
forall x. GetVpcLinks -> Rep GetVpcLinks x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetVpcLinks x -> GetVpcLinks
$cfrom :: forall x. GetVpcLinks -> Rep GetVpcLinks x
Prelude.Generic)
newGetVpcLinks ::
GetVpcLinks
newGetVpcLinks :: GetVpcLinks
newGetVpcLinks =
GetVpcLinks' :: Maybe Int -> Maybe Text -> GetVpcLinks
GetVpcLinks'
{ $sel:limit:GetVpcLinks' :: Maybe Int
limit = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:position:GetVpcLinks' :: Maybe Text
position = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
getVpcLinks_limit :: Lens.Lens' GetVpcLinks (Prelude.Maybe Prelude.Int)
getVpcLinks_limit :: (Maybe Int -> f (Maybe Int)) -> GetVpcLinks -> f GetVpcLinks
getVpcLinks_limit = (GetVpcLinks -> Maybe Int)
-> (GetVpcLinks -> Maybe Int -> GetVpcLinks)
-> Lens GetVpcLinks GetVpcLinks (Maybe Int) (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetVpcLinks' {Maybe Int
limit :: Maybe Int
$sel:limit:GetVpcLinks' :: GetVpcLinks -> Maybe Int
limit} -> Maybe Int
limit) (\s :: GetVpcLinks
s@GetVpcLinks' {} Maybe Int
a -> GetVpcLinks
s {$sel:limit:GetVpcLinks' :: Maybe Int
limit = Maybe Int
a} :: GetVpcLinks)
getVpcLinks_position :: Lens.Lens' GetVpcLinks (Prelude.Maybe Prelude.Text)
getVpcLinks_position :: (Maybe Text -> f (Maybe Text)) -> GetVpcLinks -> f GetVpcLinks
getVpcLinks_position = (GetVpcLinks -> Maybe Text)
-> (GetVpcLinks -> Maybe Text -> GetVpcLinks)
-> Lens GetVpcLinks GetVpcLinks (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetVpcLinks' {Maybe Text
position :: Maybe Text
$sel:position:GetVpcLinks' :: GetVpcLinks -> Maybe Text
position} -> Maybe Text
position) (\s :: GetVpcLinks
s@GetVpcLinks' {} Maybe Text
a -> GetVpcLinks
s {$sel:position:GetVpcLinks' :: Maybe Text
position = Maybe Text
a} :: GetVpcLinks)
instance Core.AWSPager GetVpcLinks where
page :: GetVpcLinks -> AWSResponse GetVpcLinks -> Maybe GetVpcLinks
page GetVpcLinks
rq AWSResponse GetVpcLinks
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse GetVpcLinks
GetVpcLinksResponse
rs
GetVpcLinksResponse
-> Getting (First Text) GetVpcLinksResponse Text -> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> GetVpcLinksResponse -> Const (First Text) GetVpcLinksResponse
Lens' GetVpcLinksResponse (Maybe Text)
getVpcLinksResponse_position ((Maybe Text -> Const (First Text) (Maybe Text))
-> GetVpcLinksResponse -> Const (First Text) GetVpcLinksResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) GetVpcLinksResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe GetVpcLinks
forall a. Maybe a
Prelude.Nothing
| Maybe [VpcLink] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse GetVpcLinks
GetVpcLinksResponse
rs
GetVpcLinksResponse
-> Getting (First [VpcLink]) GetVpcLinksResponse [VpcLink]
-> Maybe [VpcLink]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [VpcLink] -> Const (First [VpcLink]) (Maybe [VpcLink]))
-> GetVpcLinksResponse
-> Const (First [VpcLink]) GetVpcLinksResponse
Lens' GetVpcLinksResponse (Maybe [VpcLink])
getVpcLinksResponse_items ((Maybe [VpcLink] -> Const (First [VpcLink]) (Maybe [VpcLink]))
-> GetVpcLinksResponse
-> Const (First [VpcLink]) GetVpcLinksResponse)
-> (([VpcLink] -> Const (First [VpcLink]) [VpcLink])
-> Maybe [VpcLink] -> Const (First [VpcLink]) (Maybe [VpcLink]))
-> Getting (First [VpcLink]) GetVpcLinksResponse [VpcLink]
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([VpcLink] -> Const (First [VpcLink]) [VpcLink])
-> Maybe [VpcLink] -> Const (First [VpcLink]) (Maybe [VpcLink])
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe GetVpcLinks
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
GetVpcLinks -> Maybe GetVpcLinks
forall a. a -> Maybe a
Prelude.Just (GetVpcLinks -> Maybe GetVpcLinks)
-> GetVpcLinks -> Maybe GetVpcLinks
forall a b. (a -> b) -> a -> b
Prelude.$
GetVpcLinks
rq
GetVpcLinks -> (GetVpcLinks -> GetVpcLinks) -> GetVpcLinks
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> GetVpcLinks -> Identity GetVpcLinks
Lens GetVpcLinks GetVpcLinks (Maybe Text) (Maybe Text)
getVpcLinks_position
((Maybe Text -> Identity (Maybe Text))
-> GetVpcLinks -> Identity GetVpcLinks)
-> Maybe Text -> GetVpcLinks -> GetVpcLinks
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse GetVpcLinks
GetVpcLinksResponse
rs
GetVpcLinksResponse
-> Getting (First Text) GetVpcLinksResponse Text -> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> GetVpcLinksResponse -> Const (First Text) GetVpcLinksResponse
Lens' GetVpcLinksResponse (Maybe Text)
getVpcLinksResponse_position ((Maybe Text -> Const (First Text) (Maybe Text))
-> GetVpcLinksResponse -> Const (First Text) GetVpcLinksResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) GetVpcLinksResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest GetVpcLinks where
type AWSResponse GetVpcLinks = GetVpcLinksResponse
request :: GetVpcLinks -> Request GetVpcLinks
request = Service -> GetVpcLinks -> Request GetVpcLinks
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy GetVpcLinks
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse GetVpcLinks)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse GetVpcLinks))
-> Logger
-> Service
-> Proxy GetVpcLinks
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse GetVpcLinks)))
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 [VpcLink] -> Maybe Text -> Int -> GetVpcLinksResponse
GetVpcLinksResponse'
(Maybe [VpcLink] -> Maybe Text -> Int -> GetVpcLinksResponse)
-> Either String (Maybe [VpcLink])
-> Either String (Maybe Text -> Int -> GetVpcLinksResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [VpcLink]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"item" Either String (Maybe (Maybe [VpcLink]))
-> Maybe [VpcLink] -> Either String (Maybe [VpcLink])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [VpcLink]
forall a. Monoid a => a
Prelude.mempty)
Either String (Maybe Text -> Int -> GetVpcLinksResponse)
-> Either String (Maybe Text)
-> Either String (Int -> GetVpcLinksResponse)
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
"position")
Either String (Int -> GetVpcLinksResponse)
-> Either String Int -> Either String GetVpcLinksResponse
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 GetVpcLinks
instance Prelude.NFData GetVpcLinks
instance Core.ToHeaders GetVpcLinks where
toHeaders :: GetVpcLinks -> ResponseHeaders
toHeaders =
ResponseHeaders -> GetVpcLinks -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Accept"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# (ByteString
"application/json" :: Prelude.ByteString)
]
)
instance Core.ToPath GetVpcLinks where
toPath :: GetVpcLinks -> ByteString
toPath = ByteString -> GetVpcLinks -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/vpclinks"
instance Core.ToQuery GetVpcLinks where
toQuery :: GetVpcLinks -> QueryString
toQuery GetVpcLinks' {Maybe Int
Maybe Text
position :: Maybe Text
limit :: Maybe Int
$sel:position:GetVpcLinks' :: GetVpcLinks -> Maybe Text
$sel:limit:GetVpcLinks' :: GetVpcLinks -> Maybe Int
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"limit" ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
limit, ByteString
"position" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
position]
data GetVpcLinksResponse = GetVpcLinksResponse'
{
GetVpcLinksResponse -> Maybe [VpcLink]
items :: Prelude.Maybe [VpcLink],
GetVpcLinksResponse -> Maybe Text
position :: Prelude.Maybe Prelude.Text,
GetVpcLinksResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetVpcLinksResponse -> GetVpcLinksResponse -> Bool
(GetVpcLinksResponse -> GetVpcLinksResponse -> Bool)
-> (GetVpcLinksResponse -> GetVpcLinksResponse -> Bool)
-> Eq GetVpcLinksResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetVpcLinksResponse -> GetVpcLinksResponse -> Bool
$c/= :: GetVpcLinksResponse -> GetVpcLinksResponse -> Bool
== :: GetVpcLinksResponse -> GetVpcLinksResponse -> Bool
$c== :: GetVpcLinksResponse -> GetVpcLinksResponse -> Bool
Prelude.Eq, ReadPrec [GetVpcLinksResponse]
ReadPrec GetVpcLinksResponse
Int -> ReadS GetVpcLinksResponse
ReadS [GetVpcLinksResponse]
(Int -> ReadS GetVpcLinksResponse)
-> ReadS [GetVpcLinksResponse]
-> ReadPrec GetVpcLinksResponse
-> ReadPrec [GetVpcLinksResponse]
-> Read GetVpcLinksResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetVpcLinksResponse]
$creadListPrec :: ReadPrec [GetVpcLinksResponse]
readPrec :: ReadPrec GetVpcLinksResponse
$creadPrec :: ReadPrec GetVpcLinksResponse
readList :: ReadS [GetVpcLinksResponse]
$creadList :: ReadS [GetVpcLinksResponse]
readsPrec :: Int -> ReadS GetVpcLinksResponse
$creadsPrec :: Int -> ReadS GetVpcLinksResponse
Prelude.Read, Int -> GetVpcLinksResponse -> ShowS
[GetVpcLinksResponse] -> ShowS
GetVpcLinksResponse -> String
(Int -> GetVpcLinksResponse -> ShowS)
-> (GetVpcLinksResponse -> String)
-> ([GetVpcLinksResponse] -> ShowS)
-> Show GetVpcLinksResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetVpcLinksResponse] -> ShowS
$cshowList :: [GetVpcLinksResponse] -> ShowS
show :: GetVpcLinksResponse -> String
$cshow :: GetVpcLinksResponse -> String
showsPrec :: Int -> GetVpcLinksResponse -> ShowS
$cshowsPrec :: Int -> GetVpcLinksResponse -> ShowS
Prelude.Show, (forall x. GetVpcLinksResponse -> Rep GetVpcLinksResponse x)
-> (forall x. Rep GetVpcLinksResponse x -> GetVpcLinksResponse)
-> Generic GetVpcLinksResponse
forall x. Rep GetVpcLinksResponse x -> GetVpcLinksResponse
forall x. GetVpcLinksResponse -> Rep GetVpcLinksResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetVpcLinksResponse x -> GetVpcLinksResponse
$cfrom :: forall x. GetVpcLinksResponse -> Rep GetVpcLinksResponse x
Prelude.Generic)
newGetVpcLinksResponse ::
Prelude.Int ->
GetVpcLinksResponse
newGetVpcLinksResponse :: Int -> GetVpcLinksResponse
newGetVpcLinksResponse Int
pHttpStatus_ =
GetVpcLinksResponse' :: Maybe [VpcLink] -> Maybe Text -> Int -> GetVpcLinksResponse
GetVpcLinksResponse'
{ $sel:items:GetVpcLinksResponse' :: Maybe [VpcLink]
items = Maybe [VpcLink]
forall a. Maybe a
Prelude.Nothing,
$sel:position:GetVpcLinksResponse' :: Maybe Text
position = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetVpcLinksResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getVpcLinksResponse_items :: Lens.Lens' GetVpcLinksResponse (Prelude.Maybe [VpcLink])
getVpcLinksResponse_items :: (Maybe [VpcLink] -> f (Maybe [VpcLink]))
-> GetVpcLinksResponse -> f GetVpcLinksResponse
getVpcLinksResponse_items = (GetVpcLinksResponse -> Maybe [VpcLink])
-> (GetVpcLinksResponse -> Maybe [VpcLink] -> GetVpcLinksResponse)
-> Lens' GetVpcLinksResponse (Maybe [VpcLink])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetVpcLinksResponse' {Maybe [VpcLink]
items :: Maybe [VpcLink]
$sel:items:GetVpcLinksResponse' :: GetVpcLinksResponse -> Maybe [VpcLink]
items} -> Maybe [VpcLink]
items) (\s :: GetVpcLinksResponse
s@GetVpcLinksResponse' {} Maybe [VpcLink]
a -> GetVpcLinksResponse
s {$sel:items:GetVpcLinksResponse' :: Maybe [VpcLink]
items = Maybe [VpcLink]
a} :: GetVpcLinksResponse) ((Maybe [VpcLink] -> f (Maybe [VpcLink]))
-> GetVpcLinksResponse -> f GetVpcLinksResponse)
-> ((Maybe [VpcLink] -> f (Maybe [VpcLink]))
-> Maybe [VpcLink] -> f (Maybe [VpcLink]))
-> (Maybe [VpcLink] -> f (Maybe [VpcLink]))
-> GetVpcLinksResponse
-> f GetVpcLinksResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [VpcLink] [VpcLink] [VpcLink] [VpcLink]
-> Iso
(Maybe [VpcLink])
(Maybe [VpcLink])
(Maybe [VpcLink])
(Maybe [VpcLink])
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 [VpcLink] [VpcLink] [VpcLink] [VpcLink]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
getVpcLinksResponse_position :: Lens.Lens' GetVpcLinksResponse (Prelude.Maybe Prelude.Text)
getVpcLinksResponse_position :: (Maybe Text -> f (Maybe Text))
-> GetVpcLinksResponse -> f GetVpcLinksResponse
getVpcLinksResponse_position = (GetVpcLinksResponse -> Maybe Text)
-> (GetVpcLinksResponse -> Maybe Text -> GetVpcLinksResponse)
-> Lens' GetVpcLinksResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetVpcLinksResponse' {Maybe Text
position :: Maybe Text
$sel:position:GetVpcLinksResponse' :: GetVpcLinksResponse -> Maybe Text
position} -> Maybe Text
position) (\s :: GetVpcLinksResponse
s@GetVpcLinksResponse' {} Maybe Text
a -> GetVpcLinksResponse
s {$sel:position:GetVpcLinksResponse' :: Maybe Text
position = Maybe Text
a} :: GetVpcLinksResponse)
getVpcLinksResponse_httpStatus :: Lens.Lens' GetVpcLinksResponse Prelude.Int
getVpcLinksResponse_httpStatus :: (Int -> f Int) -> GetVpcLinksResponse -> f GetVpcLinksResponse
getVpcLinksResponse_httpStatus = (GetVpcLinksResponse -> Int)
-> (GetVpcLinksResponse -> Int -> GetVpcLinksResponse)
-> Lens GetVpcLinksResponse GetVpcLinksResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetVpcLinksResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetVpcLinksResponse' :: GetVpcLinksResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetVpcLinksResponse
s@GetVpcLinksResponse' {} Int
a -> GetVpcLinksResponse
s {$sel:httpStatus:GetVpcLinksResponse' :: Int
httpStatus = Int
a} :: GetVpcLinksResponse)
instance Prelude.NFData GetVpcLinksResponse