{-# 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.DeviceFarm.CreateVPCEConfiguration
(
CreateVPCEConfiguration (..),
newCreateVPCEConfiguration,
createVPCEConfiguration_vpceConfigurationDescription,
createVPCEConfiguration_vpceConfigurationName,
createVPCEConfiguration_vpceServiceName,
createVPCEConfiguration_serviceDnsName,
CreateVPCEConfigurationResponse (..),
newCreateVPCEConfigurationResponse,
createVPCEConfigurationResponse_vpceConfiguration,
createVPCEConfigurationResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.DeviceFarm.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
data CreateVPCEConfiguration = CreateVPCEConfiguration'
{
CreateVPCEConfiguration -> Maybe Text
vpceConfigurationDescription :: Prelude.Maybe Prelude.Text,
CreateVPCEConfiguration -> Text
vpceConfigurationName :: Prelude.Text,
CreateVPCEConfiguration -> Text
vpceServiceName :: Prelude.Text,
CreateVPCEConfiguration -> Text
serviceDnsName :: Prelude.Text
}
deriving (CreateVPCEConfiguration -> CreateVPCEConfiguration -> Bool
(CreateVPCEConfiguration -> CreateVPCEConfiguration -> Bool)
-> (CreateVPCEConfiguration -> CreateVPCEConfiguration -> Bool)
-> Eq CreateVPCEConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateVPCEConfiguration -> CreateVPCEConfiguration -> Bool
$c/= :: CreateVPCEConfiguration -> CreateVPCEConfiguration -> Bool
== :: CreateVPCEConfiguration -> CreateVPCEConfiguration -> Bool
$c== :: CreateVPCEConfiguration -> CreateVPCEConfiguration -> Bool
Prelude.Eq, ReadPrec [CreateVPCEConfiguration]
ReadPrec CreateVPCEConfiguration
Int -> ReadS CreateVPCEConfiguration
ReadS [CreateVPCEConfiguration]
(Int -> ReadS CreateVPCEConfiguration)
-> ReadS [CreateVPCEConfiguration]
-> ReadPrec CreateVPCEConfiguration
-> ReadPrec [CreateVPCEConfiguration]
-> Read CreateVPCEConfiguration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateVPCEConfiguration]
$creadListPrec :: ReadPrec [CreateVPCEConfiguration]
readPrec :: ReadPrec CreateVPCEConfiguration
$creadPrec :: ReadPrec CreateVPCEConfiguration
readList :: ReadS [CreateVPCEConfiguration]
$creadList :: ReadS [CreateVPCEConfiguration]
readsPrec :: Int -> ReadS CreateVPCEConfiguration
$creadsPrec :: Int -> ReadS CreateVPCEConfiguration
Prelude.Read, Int -> CreateVPCEConfiguration -> ShowS
[CreateVPCEConfiguration] -> ShowS
CreateVPCEConfiguration -> String
(Int -> CreateVPCEConfiguration -> ShowS)
-> (CreateVPCEConfiguration -> String)
-> ([CreateVPCEConfiguration] -> ShowS)
-> Show CreateVPCEConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateVPCEConfiguration] -> ShowS
$cshowList :: [CreateVPCEConfiguration] -> ShowS
show :: CreateVPCEConfiguration -> String
$cshow :: CreateVPCEConfiguration -> String
showsPrec :: Int -> CreateVPCEConfiguration -> ShowS
$cshowsPrec :: Int -> CreateVPCEConfiguration -> ShowS
Prelude.Show, (forall x.
CreateVPCEConfiguration -> Rep CreateVPCEConfiguration x)
-> (forall x.
Rep CreateVPCEConfiguration x -> CreateVPCEConfiguration)
-> Generic CreateVPCEConfiguration
forall x. Rep CreateVPCEConfiguration x -> CreateVPCEConfiguration
forall x. CreateVPCEConfiguration -> Rep CreateVPCEConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CreateVPCEConfiguration x -> CreateVPCEConfiguration
$cfrom :: forall x. CreateVPCEConfiguration -> Rep CreateVPCEConfiguration x
Prelude.Generic)
newCreateVPCEConfiguration ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
CreateVPCEConfiguration
newCreateVPCEConfiguration :: Text -> Text -> Text -> CreateVPCEConfiguration
newCreateVPCEConfiguration
Text
pVpceConfigurationName_
Text
pVpceServiceName_
Text
pServiceDnsName_ =
CreateVPCEConfiguration' :: Maybe Text -> Text -> Text -> Text -> CreateVPCEConfiguration
CreateVPCEConfiguration'
{ $sel:vpceConfigurationDescription:CreateVPCEConfiguration' :: Maybe Text
vpceConfigurationDescription =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:vpceConfigurationName:CreateVPCEConfiguration' :: Text
vpceConfigurationName = Text
pVpceConfigurationName_,
$sel:vpceServiceName:CreateVPCEConfiguration' :: Text
vpceServiceName = Text
pVpceServiceName_,
$sel:serviceDnsName:CreateVPCEConfiguration' :: Text
serviceDnsName = Text
pServiceDnsName_
}
createVPCEConfiguration_vpceConfigurationDescription :: Lens.Lens' CreateVPCEConfiguration (Prelude.Maybe Prelude.Text)
createVPCEConfiguration_vpceConfigurationDescription :: (Maybe Text -> f (Maybe Text))
-> CreateVPCEConfiguration -> f CreateVPCEConfiguration
createVPCEConfiguration_vpceConfigurationDescription = (CreateVPCEConfiguration -> Maybe Text)
-> (CreateVPCEConfiguration
-> Maybe Text -> CreateVPCEConfiguration)
-> Lens
CreateVPCEConfiguration
CreateVPCEConfiguration
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateVPCEConfiguration' {Maybe Text
vpceConfigurationDescription :: Maybe Text
$sel:vpceConfigurationDescription:CreateVPCEConfiguration' :: CreateVPCEConfiguration -> Maybe Text
vpceConfigurationDescription} -> Maybe Text
vpceConfigurationDescription) (\s :: CreateVPCEConfiguration
s@CreateVPCEConfiguration' {} Maybe Text
a -> CreateVPCEConfiguration
s {$sel:vpceConfigurationDescription:CreateVPCEConfiguration' :: Maybe Text
vpceConfigurationDescription = Maybe Text
a} :: CreateVPCEConfiguration)
createVPCEConfiguration_vpceConfigurationName :: Lens.Lens' CreateVPCEConfiguration Prelude.Text
createVPCEConfiguration_vpceConfigurationName :: (Text -> f Text)
-> CreateVPCEConfiguration -> f CreateVPCEConfiguration
createVPCEConfiguration_vpceConfigurationName = (CreateVPCEConfiguration -> Text)
-> (CreateVPCEConfiguration -> Text -> CreateVPCEConfiguration)
-> Lens CreateVPCEConfiguration CreateVPCEConfiguration Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateVPCEConfiguration' {Text
vpceConfigurationName :: Text
$sel:vpceConfigurationName:CreateVPCEConfiguration' :: CreateVPCEConfiguration -> Text
vpceConfigurationName} -> Text
vpceConfigurationName) (\s :: CreateVPCEConfiguration
s@CreateVPCEConfiguration' {} Text
a -> CreateVPCEConfiguration
s {$sel:vpceConfigurationName:CreateVPCEConfiguration' :: Text
vpceConfigurationName = Text
a} :: CreateVPCEConfiguration)
createVPCEConfiguration_vpceServiceName :: Lens.Lens' CreateVPCEConfiguration Prelude.Text
createVPCEConfiguration_vpceServiceName :: (Text -> f Text)
-> CreateVPCEConfiguration -> f CreateVPCEConfiguration
createVPCEConfiguration_vpceServiceName = (CreateVPCEConfiguration -> Text)
-> (CreateVPCEConfiguration -> Text -> CreateVPCEConfiguration)
-> Lens CreateVPCEConfiguration CreateVPCEConfiguration Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateVPCEConfiguration' {Text
vpceServiceName :: Text
$sel:vpceServiceName:CreateVPCEConfiguration' :: CreateVPCEConfiguration -> Text
vpceServiceName} -> Text
vpceServiceName) (\s :: CreateVPCEConfiguration
s@CreateVPCEConfiguration' {} Text
a -> CreateVPCEConfiguration
s {$sel:vpceServiceName:CreateVPCEConfiguration' :: Text
vpceServiceName = Text
a} :: CreateVPCEConfiguration)
createVPCEConfiguration_serviceDnsName :: Lens.Lens' CreateVPCEConfiguration Prelude.Text
createVPCEConfiguration_serviceDnsName :: (Text -> f Text)
-> CreateVPCEConfiguration -> f CreateVPCEConfiguration
createVPCEConfiguration_serviceDnsName = (CreateVPCEConfiguration -> Text)
-> (CreateVPCEConfiguration -> Text -> CreateVPCEConfiguration)
-> Lens CreateVPCEConfiguration CreateVPCEConfiguration Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateVPCEConfiguration' {Text
serviceDnsName :: Text
$sel:serviceDnsName:CreateVPCEConfiguration' :: CreateVPCEConfiguration -> Text
serviceDnsName} -> Text
serviceDnsName) (\s :: CreateVPCEConfiguration
s@CreateVPCEConfiguration' {} Text
a -> CreateVPCEConfiguration
s {$sel:serviceDnsName:CreateVPCEConfiguration' :: Text
serviceDnsName = Text
a} :: CreateVPCEConfiguration)
instance Core.AWSRequest CreateVPCEConfiguration where
type
AWSResponse CreateVPCEConfiguration =
CreateVPCEConfigurationResponse
request :: CreateVPCEConfiguration -> Request CreateVPCEConfiguration
request = Service
-> CreateVPCEConfiguration -> Request CreateVPCEConfiguration
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy CreateVPCEConfiguration
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateVPCEConfiguration)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse CreateVPCEConfiguration))
-> Logger
-> Service
-> Proxy CreateVPCEConfiguration
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateVPCEConfiguration)))
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 VPCEConfiguration -> Int -> CreateVPCEConfigurationResponse
CreateVPCEConfigurationResponse'
(Maybe VPCEConfiguration -> Int -> CreateVPCEConfigurationResponse)
-> Either String (Maybe VPCEConfiguration)
-> Either String (Int -> CreateVPCEConfigurationResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe VPCEConfiguration)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"vpceConfiguration")
Either String (Int -> CreateVPCEConfigurationResponse)
-> Either String Int
-> Either String CreateVPCEConfigurationResponse
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 CreateVPCEConfiguration
instance Prelude.NFData CreateVPCEConfiguration
instance Core.ToHeaders CreateVPCEConfiguration where
toHeaders :: CreateVPCEConfiguration -> ResponseHeaders
toHeaders =
ResponseHeaders -> CreateVPCEConfiguration -> 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
"DeviceFarm_20150623.CreateVPCEConfiguration" ::
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 CreateVPCEConfiguration where
toJSON :: CreateVPCEConfiguration -> Value
toJSON CreateVPCEConfiguration' {Maybe Text
Text
serviceDnsName :: Text
vpceServiceName :: Text
vpceConfigurationName :: Text
vpceConfigurationDescription :: Maybe Text
$sel:serviceDnsName:CreateVPCEConfiguration' :: CreateVPCEConfiguration -> Text
$sel:vpceServiceName:CreateVPCEConfiguration' :: CreateVPCEConfiguration -> Text
$sel:vpceConfigurationName:CreateVPCEConfiguration' :: CreateVPCEConfiguration -> Text
$sel:vpceConfigurationDescription:CreateVPCEConfiguration' :: CreateVPCEConfiguration -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"vpceConfigurationDescription" 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
vpceConfigurationDescription,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"vpceConfigurationName"
Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
vpceConfigurationName
),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"vpceServiceName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
vpceServiceName),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"serviceDnsName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
serviceDnsName)
]
)
instance Core.ToPath CreateVPCEConfiguration where
toPath :: CreateVPCEConfiguration -> ByteString
toPath = ByteString -> CreateVPCEConfiguration -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery CreateVPCEConfiguration where
toQuery :: CreateVPCEConfiguration -> QueryString
toQuery = QueryString -> CreateVPCEConfiguration -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data CreateVPCEConfigurationResponse = CreateVPCEConfigurationResponse'
{
CreateVPCEConfigurationResponse -> Maybe VPCEConfiguration
vpceConfiguration :: Prelude.Maybe VPCEConfiguration,
CreateVPCEConfigurationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (CreateVPCEConfigurationResponse
-> CreateVPCEConfigurationResponse -> Bool
(CreateVPCEConfigurationResponse
-> CreateVPCEConfigurationResponse -> Bool)
-> (CreateVPCEConfigurationResponse
-> CreateVPCEConfigurationResponse -> Bool)
-> Eq CreateVPCEConfigurationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateVPCEConfigurationResponse
-> CreateVPCEConfigurationResponse -> Bool
$c/= :: CreateVPCEConfigurationResponse
-> CreateVPCEConfigurationResponse -> Bool
== :: CreateVPCEConfigurationResponse
-> CreateVPCEConfigurationResponse -> Bool
$c== :: CreateVPCEConfigurationResponse
-> CreateVPCEConfigurationResponse -> Bool
Prelude.Eq, ReadPrec [CreateVPCEConfigurationResponse]
ReadPrec CreateVPCEConfigurationResponse
Int -> ReadS CreateVPCEConfigurationResponse
ReadS [CreateVPCEConfigurationResponse]
(Int -> ReadS CreateVPCEConfigurationResponse)
-> ReadS [CreateVPCEConfigurationResponse]
-> ReadPrec CreateVPCEConfigurationResponse
-> ReadPrec [CreateVPCEConfigurationResponse]
-> Read CreateVPCEConfigurationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateVPCEConfigurationResponse]
$creadListPrec :: ReadPrec [CreateVPCEConfigurationResponse]
readPrec :: ReadPrec CreateVPCEConfigurationResponse
$creadPrec :: ReadPrec CreateVPCEConfigurationResponse
readList :: ReadS [CreateVPCEConfigurationResponse]
$creadList :: ReadS [CreateVPCEConfigurationResponse]
readsPrec :: Int -> ReadS CreateVPCEConfigurationResponse
$creadsPrec :: Int -> ReadS CreateVPCEConfigurationResponse
Prelude.Read, Int -> CreateVPCEConfigurationResponse -> ShowS
[CreateVPCEConfigurationResponse] -> ShowS
CreateVPCEConfigurationResponse -> String
(Int -> CreateVPCEConfigurationResponse -> ShowS)
-> (CreateVPCEConfigurationResponse -> String)
-> ([CreateVPCEConfigurationResponse] -> ShowS)
-> Show CreateVPCEConfigurationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateVPCEConfigurationResponse] -> ShowS
$cshowList :: [CreateVPCEConfigurationResponse] -> ShowS
show :: CreateVPCEConfigurationResponse -> String
$cshow :: CreateVPCEConfigurationResponse -> String
showsPrec :: Int -> CreateVPCEConfigurationResponse -> ShowS
$cshowsPrec :: Int -> CreateVPCEConfigurationResponse -> ShowS
Prelude.Show, (forall x.
CreateVPCEConfigurationResponse
-> Rep CreateVPCEConfigurationResponse x)
-> (forall x.
Rep CreateVPCEConfigurationResponse x
-> CreateVPCEConfigurationResponse)
-> Generic CreateVPCEConfigurationResponse
forall x.
Rep CreateVPCEConfigurationResponse x
-> CreateVPCEConfigurationResponse
forall x.
CreateVPCEConfigurationResponse
-> Rep CreateVPCEConfigurationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateVPCEConfigurationResponse x
-> CreateVPCEConfigurationResponse
$cfrom :: forall x.
CreateVPCEConfigurationResponse
-> Rep CreateVPCEConfigurationResponse x
Prelude.Generic)
newCreateVPCEConfigurationResponse ::
Prelude.Int ->
CreateVPCEConfigurationResponse
newCreateVPCEConfigurationResponse :: Int -> CreateVPCEConfigurationResponse
newCreateVPCEConfigurationResponse Int
pHttpStatus_ =
CreateVPCEConfigurationResponse' :: Maybe VPCEConfiguration -> Int -> CreateVPCEConfigurationResponse
CreateVPCEConfigurationResponse'
{ $sel:vpceConfiguration:CreateVPCEConfigurationResponse' :: Maybe VPCEConfiguration
vpceConfiguration =
Maybe VPCEConfiguration
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:CreateVPCEConfigurationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
createVPCEConfigurationResponse_vpceConfiguration :: Lens.Lens' CreateVPCEConfigurationResponse (Prelude.Maybe VPCEConfiguration)
createVPCEConfigurationResponse_vpceConfiguration :: (Maybe VPCEConfiguration -> f (Maybe VPCEConfiguration))
-> CreateVPCEConfigurationResponse
-> f CreateVPCEConfigurationResponse
createVPCEConfigurationResponse_vpceConfiguration = (CreateVPCEConfigurationResponse -> Maybe VPCEConfiguration)
-> (CreateVPCEConfigurationResponse
-> Maybe VPCEConfiguration -> CreateVPCEConfigurationResponse)
-> Lens
CreateVPCEConfigurationResponse
CreateVPCEConfigurationResponse
(Maybe VPCEConfiguration)
(Maybe VPCEConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateVPCEConfigurationResponse' {Maybe VPCEConfiguration
vpceConfiguration :: Maybe VPCEConfiguration
$sel:vpceConfiguration:CreateVPCEConfigurationResponse' :: CreateVPCEConfigurationResponse -> Maybe VPCEConfiguration
vpceConfiguration} -> Maybe VPCEConfiguration
vpceConfiguration) (\s :: CreateVPCEConfigurationResponse
s@CreateVPCEConfigurationResponse' {} Maybe VPCEConfiguration
a -> CreateVPCEConfigurationResponse
s {$sel:vpceConfiguration:CreateVPCEConfigurationResponse' :: Maybe VPCEConfiguration
vpceConfiguration = Maybe VPCEConfiguration
a} :: CreateVPCEConfigurationResponse)
createVPCEConfigurationResponse_httpStatus :: Lens.Lens' CreateVPCEConfigurationResponse Prelude.Int
createVPCEConfigurationResponse_httpStatus :: (Int -> f Int)
-> CreateVPCEConfigurationResponse
-> f CreateVPCEConfigurationResponse
createVPCEConfigurationResponse_httpStatus = (CreateVPCEConfigurationResponse -> Int)
-> (CreateVPCEConfigurationResponse
-> Int -> CreateVPCEConfigurationResponse)
-> Lens
CreateVPCEConfigurationResponse
CreateVPCEConfigurationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateVPCEConfigurationResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateVPCEConfigurationResponse' :: CreateVPCEConfigurationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: CreateVPCEConfigurationResponse
s@CreateVPCEConfigurationResponse' {} Int
a -> CreateVPCEConfigurationResponse
s {$sel:httpStatus:CreateVPCEConfigurationResponse' :: Int
httpStatus = Int
a} :: CreateVPCEConfigurationResponse)
instance
Prelude.NFData
CreateVPCEConfigurationResponse