{-# 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.WellArchitected.GetLensVersionDifference
(
GetLensVersionDifference (..),
newGetLensVersionDifference,
getLensVersionDifference_lensAlias,
getLensVersionDifference_baseLensVersion,
GetLensVersionDifferenceResponse (..),
newGetLensVersionDifferenceResponse,
getLensVersionDifferenceResponse_lensAlias,
getLensVersionDifferenceResponse_latestLensVersion,
getLensVersionDifferenceResponse_baseLensVersion,
getLensVersionDifferenceResponse_versionDifferences,
getLensVersionDifferenceResponse_httpStatus,
)
where
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
import Amazonka.WellArchitected.Types
data GetLensVersionDifference = GetLensVersionDifference'
{ GetLensVersionDifference -> Text
lensAlias :: Prelude.Text,
GetLensVersionDifference -> Text
baseLensVersion :: Prelude.Text
}
deriving (GetLensVersionDifference -> GetLensVersionDifference -> Bool
(GetLensVersionDifference -> GetLensVersionDifference -> Bool)
-> (GetLensVersionDifference -> GetLensVersionDifference -> Bool)
-> Eq GetLensVersionDifference
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetLensVersionDifference -> GetLensVersionDifference -> Bool
$c/= :: GetLensVersionDifference -> GetLensVersionDifference -> Bool
== :: GetLensVersionDifference -> GetLensVersionDifference -> Bool
$c== :: GetLensVersionDifference -> GetLensVersionDifference -> Bool
Prelude.Eq, ReadPrec [GetLensVersionDifference]
ReadPrec GetLensVersionDifference
Int -> ReadS GetLensVersionDifference
ReadS [GetLensVersionDifference]
(Int -> ReadS GetLensVersionDifference)
-> ReadS [GetLensVersionDifference]
-> ReadPrec GetLensVersionDifference
-> ReadPrec [GetLensVersionDifference]
-> Read GetLensVersionDifference
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetLensVersionDifference]
$creadListPrec :: ReadPrec [GetLensVersionDifference]
readPrec :: ReadPrec GetLensVersionDifference
$creadPrec :: ReadPrec GetLensVersionDifference
readList :: ReadS [GetLensVersionDifference]
$creadList :: ReadS [GetLensVersionDifference]
readsPrec :: Int -> ReadS GetLensVersionDifference
$creadsPrec :: Int -> ReadS GetLensVersionDifference
Prelude.Read, Int -> GetLensVersionDifference -> ShowS
[GetLensVersionDifference] -> ShowS
GetLensVersionDifference -> String
(Int -> GetLensVersionDifference -> ShowS)
-> (GetLensVersionDifference -> String)
-> ([GetLensVersionDifference] -> ShowS)
-> Show GetLensVersionDifference
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetLensVersionDifference] -> ShowS
$cshowList :: [GetLensVersionDifference] -> ShowS
show :: GetLensVersionDifference -> String
$cshow :: GetLensVersionDifference -> String
showsPrec :: Int -> GetLensVersionDifference -> ShowS
$cshowsPrec :: Int -> GetLensVersionDifference -> ShowS
Prelude.Show, (forall x.
GetLensVersionDifference -> Rep GetLensVersionDifference x)
-> (forall x.
Rep GetLensVersionDifference x -> GetLensVersionDifference)
-> Generic GetLensVersionDifference
forall x.
Rep GetLensVersionDifference x -> GetLensVersionDifference
forall x.
GetLensVersionDifference -> Rep GetLensVersionDifference x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetLensVersionDifference x -> GetLensVersionDifference
$cfrom :: forall x.
GetLensVersionDifference -> Rep GetLensVersionDifference x
Prelude.Generic)
newGetLensVersionDifference ::
Prelude.Text ->
Prelude.Text ->
GetLensVersionDifference
newGetLensVersionDifference :: Text -> Text -> GetLensVersionDifference
newGetLensVersionDifference
Text
pLensAlias_
Text
pBaseLensVersion_ =
GetLensVersionDifference' :: Text -> Text -> GetLensVersionDifference
GetLensVersionDifference'
{ $sel:lensAlias:GetLensVersionDifference' :: Text
lensAlias = Text
pLensAlias_,
$sel:baseLensVersion:GetLensVersionDifference' :: Text
baseLensVersion = Text
pBaseLensVersion_
}
getLensVersionDifference_lensAlias :: Lens.Lens' GetLensVersionDifference Prelude.Text
getLensVersionDifference_lensAlias :: (Text -> f Text)
-> GetLensVersionDifference -> f GetLensVersionDifference
getLensVersionDifference_lensAlias = (GetLensVersionDifference -> Text)
-> (GetLensVersionDifference -> Text -> GetLensVersionDifference)
-> Lens GetLensVersionDifference GetLensVersionDifference Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLensVersionDifference' {Text
lensAlias :: Text
$sel:lensAlias:GetLensVersionDifference' :: GetLensVersionDifference -> Text
lensAlias} -> Text
lensAlias) (\s :: GetLensVersionDifference
s@GetLensVersionDifference' {} Text
a -> GetLensVersionDifference
s {$sel:lensAlias:GetLensVersionDifference' :: Text
lensAlias = Text
a} :: GetLensVersionDifference)
getLensVersionDifference_baseLensVersion :: Lens.Lens' GetLensVersionDifference Prelude.Text
getLensVersionDifference_baseLensVersion :: (Text -> f Text)
-> GetLensVersionDifference -> f GetLensVersionDifference
getLensVersionDifference_baseLensVersion = (GetLensVersionDifference -> Text)
-> (GetLensVersionDifference -> Text -> GetLensVersionDifference)
-> Lens GetLensVersionDifference GetLensVersionDifference Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLensVersionDifference' {Text
baseLensVersion :: Text
$sel:baseLensVersion:GetLensVersionDifference' :: GetLensVersionDifference -> Text
baseLensVersion} -> Text
baseLensVersion) (\s :: GetLensVersionDifference
s@GetLensVersionDifference' {} Text
a -> GetLensVersionDifference
s {$sel:baseLensVersion:GetLensVersionDifference' :: Text
baseLensVersion = Text
a} :: GetLensVersionDifference)
instance Core.AWSRequest GetLensVersionDifference where
type
AWSResponse GetLensVersionDifference =
GetLensVersionDifferenceResponse
request :: GetLensVersionDifference -> Request GetLensVersionDifference
request = Service
-> GetLensVersionDifference -> Request GetLensVersionDifference
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy GetLensVersionDifference
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse GetLensVersionDifference)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse GetLensVersionDifference))
-> Logger
-> Service
-> Proxy GetLensVersionDifference
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse GetLensVersionDifference)))
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 VersionDifferences
-> Int
-> GetLensVersionDifferenceResponse
GetLensVersionDifferenceResponse'
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe VersionDifferences
-> Int
-> GetLensVersionDifferenceResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe VersionDifferences
-> Int
-> GetLensVersionDifferenceResponse)
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
"LensAlias")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe VersionDifferences
-> Int
-> GetLensVersionDifferenceResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe VersionDifferences
-> Int
-> GetLensVersionDifferenceResponse)
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
"LatestLensVersion")
Either
String
(Maybe Text
-> Maybe VersionDifferences
-> Int
-> GetLensVersionDifferenceResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe VersionDifferences
-> Int -> GetLensVersionDifferenceResponse)
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
"BaseLensVersion")
Either
String
(Maybe VersionDifferences
-> Int -> GetLensVersionDifferenceResponse)
-> Either String (Maybe VersionDifferences)
-> Either String (Int -> GetLensVersionDifferenceResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe VersionDifferences)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"VersionDifferences")
Either String (Int -> GetLensVersionDifferenceResponse)
-> Either String Int
-> Either String GetLensVersionDifferenceResponse
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 GetLensVersionDifference
instance Prelude.NFData GetLensVersionDifference
instance Core.ToHeaders GetLensVersionDifference where
toHeaders :: GetLensVersionDifference -> ResponseHeaders
toHeaders =
ResponseHeaders -> GetLensVersionDifference -> 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.ToPath GetLensVersionDifference where
toPath :: GetLensVersionDifference -> ByteString
toPath GetLensVersionDifference' {Text
baseLensVersion :: Text
lensAlias :: Text
$sel:baseLensVersion:GetLensVersionDifference' :: GetLensVersionDifference -> Text
$sel:lensAlias:GetLensVersionDifference' :: GetLensVersionDifference -> Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/lenses/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
lensAlias,
ByteString
"/versionDifference"
]
instance Core.ToQuery GetLensVersionDifference where
toQuery :: GetLensVersionDifference -> QueryString
toQuery GetLensVersionDifference' {Text
baseLensVersion :: Text
lensAlias :: Text
$sel:baseLensVersion:GetLensVersionDifference' :: GetLensVersionDifference -> Text
$sel:lensAlias:GetLensVersionDifference' :: GetLensVersionDifference -> Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"BaseLensVersion" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
baseLensVersion]
data GetLensVersionDifferenceResponse = GetLensVersionDifferenceResponse'
{ GetLensVersionDifferenceResponse -> Maybe Text
lensAlias :: Prelude.Maybe Prelude.Text,
GetLensVersionDifferenceResponse -> Maybe Text
latestLensVersion :: Prelude.Maybe Prelude.Text,
GetLensVersionDifferenceResponse -> Maybe Text
baseLensVersion :: Prelude.Maybe Prelude.Text,
GetLensVersionDifferenceResponse -> Maybe VersionDifferences
versionDifferences :: Prelude.Maybe VersionDifferences,
GetLensVersionDifferenceResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetLensVersionDifferenceResponse
-> GetLensVersionDifferenceResponse -> Bool
(GetLensVersionDifferenceResponse
-> GetLensVersionDifferenceResponse -> Bool)
-> (GetLensVersionDifferenceResponse
-> GetLensVersionDifferenceResponse -> Bool)
-> Eq GetLensVersionDifferenceResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetLensVersionDifferenceResponse
-> GetLensVersionDifferenceResponse -> Bool
$c/= :: GetLensVersionDifferenceResponse
-> GetLensVersionDifferenceResponse -> Bool
== :: GetLensVersionDifferenceResponse
-> GetLensVersionDifferenceResponse -> Bool
$c== :: GetLensVersionDifferenceResponse
-> GetLensVersionDifferenceResponse -> Bool
Prelude.Eq, ReadPrec [GetLensVersionDifferenceResponse]
ReadPrec GetLensVersionDifferenceResponse
Int -> ReadS GetLensVersionDifferenceResponse
ReadS [GetLensVersionDifferenceResponse]
(Int -> ReadS GetLensVersionDifferenceResponse)
-> ReadS [GetLensVersionDifferenceResponse]
-> ReadPrec GetLensVersionDifferenceResponse
-> ReadPrec [GetLensVersionDifferenceResponse]
-> Read GetLensVersionDifferenceResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetLensVersionDifferenceResponse]
$creadListPrec :: ReadPrec [GetLensVersionDifferenceResponse]
readPrec :: ReadPrec GetLensVersionDifferenceResponse
$creadPrec :: ReadPrec GetLensVersionDifferenceResponse
readList :: ReadS [GetLensVersionDifferenceResponse]
$creadList :: ReadS [GetLensVersionDifferenceResponse]
readsPrec :: Int -> ReadS GetLensVersionDifferenceResponse
$creadsPrec :: Int -> ReadS GetLensVersionDifferenceResponse
Prelude.Read, Int -> GetLensVersionDifferenceResponse -> ShowS
[GetLensVersionDifferenceResponse] -> ShowS
GetLensVersionDifferenceResponse -> String
(Int -> GetLensVersionDifferenceResponse -> ShowS)
-> (GetLensVersionDifferenceResponse -> String)
-> ([GetLensVersionDifferenceResponse] -> ShowS)
-> Show GetLensVersionDifferenceResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetLensVersionDifferenceResponse] -> ShowS
$cshowList :: [GetLensVersionDifferenceResponse] -> ShowS
show :: GetLensVersionDifferenceResponse -> String
$cshow :: GetLensVersionDifferenceResponse -> String
showsPrec :: Int -> GetLensVersionDifferenceResponse -> ShowS
$cshowsPrec :: Int -> GetLensVersionDifferenceResponse -> ShowS
Prelude.Show, (forall x.
GetLensVersionDifferenceResponse
-> Rep GetLensVersionDifferenceResponse x)
-> (forall x.
Rep GetLensVersionDifferenceResponse x
-> GetLensVersionDifferenceResponse)
-> Generic GetLensVersionDifferenceResponse
forall x.
Rep GetLensVersionDifferenceResponse x
-> GetLensVersionDifferenceResponse
forall x.
GetLensVersionDifferenceResponse
-> Rep GetLensVersionDifferenceResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetLensVersionDifferenceResponse x
-> GetLensVersionDifferenceResponse
$cfrom :: forall x.
GetLensVersionDifferenceResponse
-> Rep GetLensVersionDifferenceResponse x
Prelude.Generic)
newGetLensVersionDifferenceResponse ::
Prelude.Int ->
GetLensVersionDifferenceResponse
newGetLensVersionDifferenceResponse :: Int -> GetLensVersionDifferenceResponse
newGetLensVersionDifferenceResponse Int
pHttpStatus_ =
GetLensVersionDifferenceResponse' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe VersionDifferences
-> Int
-> GetLensVersionDifferenceResponse
GetLensVersionDifferenceResponse'
{ $sel:lensAlias:GetLensVersionDifferenceResponse' :: Maybe Text
lensAlias =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:latestLensVersion:GetLensVersionDifferenceResponse' :: Maybe Text
latestLensVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:baseLensVersion:GetLensVersionDifferenceResponse' :: Maybe Text
baseLensVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:versionDifferences:GetLensVersionDifferenceResponse' :: Maybe VersionDifferences
versionDifferences = Maybe VersionDifferences
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetLensVersionDifferenceResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getLensVersionDifferenceResponse_lensAlias :: Lens.Lens' GetLensVersionDifferenceResponse (Prelude.Maybe Prelude.Text)
getLensVersionDifferenceResponse_lensAlias :: (Maybe Text -> f (Maybe Text))
-> GetLensVersionDifferenceResponse
-> f GetLensVersionDifferenceResponse
getLensVersionDifferenceResponse_lensAlias = (GetLensVersionDifferenceResponse -> Maybe Text)
-> (GetLensVersionDifferenceResponse
-> Maybe Text -> GetLensVersionDifferenceResponse)
-> Lens
GetLensVersionDifferenceResponse
GetLensVersionDifferenceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLensVersionDifferenceResponse' {Maybe Text
lensAlias :: Maybe Text
$sel:lensAlias:GetLensVersionDifferenceResponse' :: GetLensVersionDifferenceResponse -> Maybe Text
lensAlias} -> Maybe Text
lensAlias) (\s :: GetLensVersionDifferenceResponse
s@GetLensVersionDifferenceResponse' {} Maybe Text
a -> GetLensVersionDifferenceResponse
s {$sel:lensAlias:GetLensVersionDifferenceResponse' :: Maybe Text
lensAlias = Maybe Text
a} :: GetLensVersionDifferenceResponse)
getLensVersionDifferenceResponse_latestLensVersion :: Lens.Lens' GetLensVersionDifferenceResponse (Prelude.Maybe Prelude.Text)
getLensVersionDifferenceResponse_latestLensVersion :: (Maybe Text -> f (Maybe Text))
-> GetLensVersionDifferenceResponse
-> f GetLensVersionDifferenceResponse
getLensVersionDifferenceResponse_latestLensVersion = (GetLensVersionDifferenceResponse -> Maybe Text)
-> (GetLensVersionDifferenceResponse
-> Maybe Text -> GetLensVersionDifferenceResponse)
-> Lens
GetLensVersionDifferenceResponse
GetLensVersionDifferenceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLensVersionDifferenceResponse' {Maybe Text
latestLensVersion :: Maybe Text
$sel:latestLensVersion:GetLensVersionDifferenceResponse' :: GetLensVersionDifferenceResponse -> Maybe Text
latestLensVersion} -> Maybe Text
latestLensVersion) (\s :: GetLensVersionDifferenceResponse
s@GetLensVersionDifferenceResponse' {} Maybe Text
a -> GetLensVersionDifferenceResponse
s {$sel:latestLensVersion:GetLensVersionDifferenceResponse' :: Maybe Text
latestLensVersion = Maybe Text
a} :: GetLensVersionDifferenceResponse)
getLensVersionDifferenceResponse_baseLensVersion :: Lens.Lens' GetLensVersionDifferenceResponse (Prelude.Maybe Prelude.Text)
getLensVersionDifferenceResponse_baseLensVersion :: (Maybe Text -> f (Maybe Text))
-> GetLensVersionDifferenceResponse
-> f GetLensVersionDifferenceResponse
getLensVersionDifferenceResponse_baseLensVersion = (GetLensVersionDifferenceResponse -> Maybe Text)
-> (GetLensVersionDifferenceResponse
-> Maybe Text -> GetLensVersionDifferenceResponse)
-> Lens
GetLensVersionDifferenceResponse
GetLensVersionDifferenceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLensVersionDifferenceResponse' {Maybe Text
baseLensVersion :: Maybe Text
$sel:baseLensVersion:GetLensVersionDifferenceResponse' :: GetLensVersionDifferenceResponse -> Maybe Text
baseLensVersion} -> Maybe Text
baseLensVersion) (\s :: GetLensVersionDifferenceResponse
s@GetLensVersionDifferenceResponse' {} Maybe Text
a -> GetLensVersionDifferenceResponse
s {$sel:baseLensVersion:GetLensVersionDifferenceResponse' :: Maybe Text
baseLensVersion = Maybe Text
a} :: GetLensVersionDifferenceResponse)
getLensVersionDifferenceResponse_versionDifferences :: Lens.Lens' GetLensVersionDifferenceResponse (Prelude.Maybe VersionDifferences)
getLensVersionDifferenceResponse_versionDifferences :: (Maybe VersionDifferences -> f (Maybe VersionDifferences))
-> GetLensVersionDifferenceResponse
-> f GetLensVersionDifferenceResponse
getLensVersionDifferenceResponse_versionDifferences = (GetLensVersionDifferenceResponse -> Maybe VersionDifferences)
-> (GetLensVersionDifferenceResponse
-> Maybe VersionDifferences -> GetLensVersionDifferenceResponse)
-> Lens
GetLensVersionDifferenceResponse
GetLensVersionDifferenceResponse
(Maybe VersionDifferences)
(Maybe VersionDifferences)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLensVersionDifferenceResponse' {Maybe VersionDifferences
versionDifferences :: Maybe VersionDifferences
$sel:versionDifferences:GetLensVersionDifferenceResponse' :: GetLensVersionDifferenceResponse -> Maybe VersionDifferences
versionDifferences} -> Maybe VersionDifferences
versionDifferences) (\s :: GetLensVersionDifferenceResponse
s@GetLensVersionDifferenceResponse' {} Maybe VersionDifferences
a -> GetLensVersionDifferenceResponse
s {$sel:versionDifferences:GetLensVersionDifferenceResponse' :: Maybe VersionDifferences
versionDifferences = Maybe VersionDifferences
a} :: GetLensVersionDifferenceResponse)
getLensVersionDifferenceResponse_httpStatus :: Lens.Lens' GetLensVersionDifferenceResponse Prelude.Int
getLensVersionDifferenceResponse_httpStatus :: (Int -> f Int)
-> GetLensVersionDifferenceResponse
-> f GetLensVersionDifferenceResponse
getLensVersionDifferenceResponse_httpStatus = (GetLensVersionDifferenceResponse -> Int)
-> (GetLensVersionDifferenceResponse
-> Int -> GetLensVersionDifferenceResponse)
-> Lens
GetLensVersionDifferenceResponse
GetLensVersionDifferenceResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLensVersionDifferenceResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetLensVersionDifferenceResponse' :: GetLensVersionDifferenceResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetLensVersionDifferenceResponse
s@GetLensVersionDifferenceResponse' {} Int
a -> GetLensVersionDifferenceResponse
s {$sel:httpStatus:GetLensVersionDifferenceResponse' :: Int
httpStatus = Int
a} :: GetLensVersionDifferenceResponse)
instance
Prelude.NFData
GetLensVersionDifferenceResponse