{-# 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.WorkLink.UpdateCompanyNetworkConfiguration
(
UpdateCompanyNetworkConfiguration (..),
newUpdateCompanyNetworkConfiguration,
updateCompanyNetworkConfiguration_fleetArn,
updateCompanyNetworkConfiguration_vpcId,
updateCompanyNetworkConfiguration_subnetIds,
updateCompanyNetworkConfiguration_securityGroupIds,
UpdateCompanyNetworkConfigurationResponse (..),
newUpdateCompanyNetworkConfigurationResponse,
updateCompanyNetworkConfigurationResponse_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.WorkLink.Types
data UpdateCompanyNetworkConfiguration = UpdateCompanyNetworkConfiguration'
{
UpdateCompanyNetworkConfiguration -> Text
fleetArn :: Prelude.Text,
UpdateCompanyNetworkConfiguration -> Text
vpcId :: Prelude.Text,
UpdateCompanyNetworkConfiguration -> [Text]
subnetIds :: [Prelude.Text],
UpdateCompanyNetworkConfiguration -> [Text]
securityGroupIds :: [Prelude.Text]
}
deriving (UpdateCompanyNetworkConfiguration
-> UpdateCompanyNetworkConfiguration -> Bool
(UpdateCompanyNetworkConfiguration
-> UpdateCompanyNetworkConfiguration -> Bool)
-> (UpdateCompanyNetworkConfiguration
-> UpdateCompanyNetworkConfiguration -> Bool)
-> Eq UpdateCompanyNetworkConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateCompanyNetworkConfiguration
-> UpdateCompanyNetworkConfiguration -> Bool
$c/= :: UpdateCompanyNetworkConfiguration
-> UpdateCompanyNetworkConfiguration -> Bool
== :: UpdateCompanyNetworkConfiguration
-> UpdateCompanyNetworkConfiguration -> Bool
$c== :: UpdateCompanyNetworkConfiguration
-> UpdateCompanyNetworkConfiguration -> Bool
Prelude.Eq, ReadPrec [UpdateCompanyNetworkConfiguration]
ReadPrec UpdateCompanyNetworkConfiguration
Int -> ReadS UpdateCompanyNetworkConfiguration
ReadS [UpdateCompanyNetworkConfiguration]
(Int -> ReadS UpdateCompanyNetworkConfiguration)
-> ReadS [UpdateCompanyNetworkConfiguration]
-> ReadPrec UpdateCompanyNetworkConfiguration
-> ReadPrec [UpdateCompanyNetworkConfiguration]
-> Read UpdateCompanyNetworkConfiguration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateCompanyNetworkConfiguration]
$creadListPrec :: ReadPrec [UpdateCompanyNetworkConfiguration]
readPrec :: ReadPrec UpdateCompanyNetworkConfiguration
$creadPrec :: ReadPrec UpdateCompanyNetworkConfiguration
readList :: ReadS [UpdateCompanyNetworkConfiguration]
$creadList :: ReadS [UpdateCompanyNetworkConfiguration]
readsPrec :: Int -> ReadS UpdateCompanyNetworkConfiguration
$creadsPrec :: Int -> ReadS UpdateCompanyNetworkConfiguration
Prelude.Read, Int -> UpdateCompanyNetworkConfiguration -> ShowS
[UpdateCompanyNetworkConfiguration] -> ShowS
UpdateCompanyNetworkConfiguration -> String
(Int -> UpdateCompanyNetworkConfiguration -> ShowS)
-> (UpdateCompanyNetworkConfiguration -> String)
-> ([UpdateCompanyNetworkConfiguration] -> ShowS)
-> Show UpdateCompanyNetworkConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateCompanyNetworkConfiguration] -> ShowS
$cshowList :: [UpdateCompanyNetworkConfiguration] -> ShowS
show :: UpdateCompanyNetworkConfiguration -> String
$cshow :: UpdateCompanyNetworkConfiguration -> String
showsPrec :: Int -> UpdateCompanyNetworkConfiguration -> ShowS
$cshowsPrec :: Int -> UpdateCompanyNetworkConfiguration -> ShowS
Prelude.Show, (forall x.
UpdateCompanyNetworkConfiguration
-> Rep UpdateCompanyNetworkConfiguration x)
-> (forall x.
Rep UpdateCompanyNetworkConfiguration x
-> UpdateCompanyNetworkConfiguration)
-> Generic UpdateCompanyNetworkConfiguration
forall x.
Rep UpdateCompanyNetworkConfiguration x
-> UpdateCompanyNetworkConfiguration
forall x.
UpdateCompanyNetworkConfiguration
-> Rep UpdateCompanyNetworkConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateCompanyNetworkConfiguration x
-> UpdateCompanyNetworkConfiguration
$cfrom :: forall x.
UpdateCompanyNetworkConfiguration
-> Rep UpdateCompanyNetworkConfiguration x
Prelude.Generic)
newUpdateCompanyNetworkConfiguration ::
Prelude.Text ->
Prelude.Text ->
UpdateCompanyNetworkConfiguration
newUpdateCompanyNetworkConfiguration :: Text -> Text -> UpdateCompanyNetworkConfiguration
newUpdateCompanyNetworkConfiguration
Text
pFleetArn_
Text
pVpcId_ =
UpdateCompanyNetworkConfiguration' :: Text
-> Text -> [Text] -> [Text] -> UpdateCompanyNetworkConfiguration
UpdateCompanyNetworkConfiguration'
{ $sel:fleetArn:UpdateCompanyNetworkConfiguration' :: Text
fleetArn =
Text
pFleetArn_,
$sel:vpcId:UpdateCompanyNetworkConfiguration' :: Text
vpcId = Text
pVpcId_,
$sel:subnetIds:UpdateCompanyNetworkConfiguration' :: [Text]
subnetIds = [Text]
forall a. Monoid a => a
Prelude.mempty,
$sel:securityGroupIds:UpdateCompanyNetworkConfiguration' :: [Text]
securityGroupIds = [Text]
forall a. Monoid a => a
Prelude.mempty
}
updateCompanyNetworkConfiguration_fleetArn :: Lens.Lens' UpdateCompanyNetworkConfiguration Prelude.Text
updateCompanyNetworkConfiguration_fleetArn :: (Text -> f Text)
-> UpdateCompanyNetworkConfiguration
-> f UpdateCompanyNetworkConfiguration
updateCompanyNetworkConfiguration_fleetArn = (UpdateCompanyNetworkConfiguration -> Text)
-> (UpdateCompanyNetworkConfiguration
-> Text -> UpdateCompanyNetworkConfiguration)
-> Lens
UpdateCompanyNetworkConfiguration
UpdateCompanyNetworkConfiguration
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateCompanyNetworkConfiguration' {Text
fleetArn :: Text
$sel:fleetArn:UpdateCompanyNetworkConfiguration' :: UpdateCompanyNetworkConfiguration -> Text
fleetArn} -> Text
fleetArn) (\s :: UpdateCompanyNetworkConfiguration
s@UpdateCompanyNetworkConfiguration' {} Text
a -> UpdateCompanyNetworkConfiguration
s {$sel:fleetArn:UpdateCompanyNetworkConfiguration' :: Text
fleetArn = Text
a} :: UpdateCompanyNetworkConfiguration)
updateCompanyNetworkConfiguration_vpcId :: Lens.Lens' UpdateCompanyNetworkConfiguration Prelude.Text
updateCompanyNetworkConfiguration_vpcId :: (Text -> f Text)
-> UpdateCompanyNetworkConfiguration
-> f UpdateCompanyNetworkConfiguration
updateCompanyNetworkConfiguration_vpcId = (UpdateCompanyNetworkConfiguration -> Text)
-> (UpdateCompanyNetworkConfiguration
-> Text -> UpdateCompanyNetworkConfiguration)
-> Lens
UpdateCompanyNetworkConfiguration
UpdateCompanyNetworkConfiguration
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateCompanyNetworkConfiguration' {Text
vpcId :: Text
$sel:vpcId:UpdateCompanyNetworkConfiguration' :: UpdateCompanyNetworkConfiguration -> Text
vpcId} -> Text
vpcId) (\s :: UpdateCompanyNetworkConfiguration
s@UpdateCompanyNetworkConfiguration' {} Text
a -> UpdateCompanyNetworkConfiguration
s {$sel:vpcId:UpdateCompanyNetworkConfiguration' :: Text
vpcId = Text
a} :: UpdateCompanyNetworkConfiguration)
updateCompanyNetworkConfiguration_subnetIds :: Lens.Lens' UpdateCompanyNetworkConfiguration [Prelude.Text]
updateCompanyNetworkConfiguration_subnetIds :: ([Text] -> f [Text])
-> UpdateCompanyNetworkConfiguration
-> f UpdateCompanyNetworkConfiguration
updateCompanyNetworkConfiguration_subnetIds = (UpdateCompanyNetworkConfiguration -> [Text])
-> (UpdateCompanyNetworkConfiguration
-> [Text] -> UpdateCompanyNetworkConfiguration)
-> Lens
UpdateCompanyNetworkConfiguration
UpdateCompanyNetworkConfiguration
[Text]
[Text]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateCompanyNetworkConfiguration' {[Text]
subnetIds :: [Text]
$sel:subnetIds:UpdateCompanyNetworkConfiguration' :: UpdateCompanyNetworkConfiguration -> [Text]
subnetIds} -> [Text]
subnetIds) (\s :: UpdateCompanyNetworkConfiguration
s@UpdateCompanyNetworkConfiguration' {} [Text]
a -> UpdateCompanyNetworkConfiguration
s {$sel:subnetIds:UpdateCompanyNetworkConfiguration' :: [Text]
subnetIds = [Text]
a} :: UpdateCompanyNetworkConfiguration) (([Text] -> f [Text])
-> UpdateCompanyNetworkConfiguration
-> f UpdateCompanyNetworkConfiguration)
-> (([Text] -> f [Text]) -> [Text] -> f [Text])
-> ([Text] -> f [Text])
-> UpdateCompanyNetworkConfiguration
-> f UpdateCompanyNetworkConfiguration
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([Text] -> f [Text]) -> [Text] -> f [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
updateCompanyNetworkConfiguration_securityGroupIds :: Lens.Lens' UpdateCompanyNetworkConfiguration [Prelude.Text]
updateCompanyNetworkConfiguration_securityGroupIds :: ([Text] -> f [Text])
-> UpdateCompanyNetworkConfiguration
-> f UpdateCompanyNetworkConfiguration
updateCompanyNetworkConfiguration_securityGroupIds = (UpdateCompanyNetworkConfiguration -> [Text])
-> (UpdateCompanyNetworkConfiguration
-> [Text] -> UpdateCompanyNetworkConfiguration)
-> Lens
UpdateCompanyNetworkConfiguration
UpdateCompanyNetworkConfiguration
[Text]
[Text]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateCompanyNetworkConfiguration' {[Text]
securityGroupIds :: [Text]
$sel:securityGroupIds:UpdateCompanyNetworkConfiguration' :: UpdateCompanyNetworkConfiguration -> [Text]
securityGroupIds} -> [Text]
securityGroupIds) (\s :: UpdateCompanyNetworkConfiguration
s@UpdateCompanyNetworkConfiguration' {} [Text]
a -> UpdateCompanyNetworkConfiguration
s {$sel:securityGroupIds:UpdateCompanyNetworkConfiguration' :: [Text]
securityGroupIds = [Text]
a} :: UpdateCompanyNetworkConfiguration) (([Text] -> f [Text])
-> UpdateCompanyNetworkConfiguration
-> f UpdateCompanyNetworkConfiguration)
-> (([Text] -> f [Text]) -> [Text] -> f [Text])
-> ([Text] -> f [Text])
-> UpdateCompanyNetworkConfiguration
-> f UpdateCompanyNetworkConfiguration
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([Text] -> f [Text]) -> [Text] -> f [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance
Core.AWSRequest
UpdateCompanyNetworkConfiguration
where
type
AWSResponse UpdateCompanyNetworkConfiguration =
UpdateCompanyNetworkConfigurationResponse
request :: UpdateCompanyNetworkConfiguration
-> Request UpdateCompanyNetworkConfiguration
request = Service
-> UpdateCompanyNetworkConfiguration
-> Request UpdateCompanyNetworkConfiguration
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy UpdateCompanyNetworkConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse UpdateCompanyNetworkConfiguration)))
response =
(Int
-> ResponseHeaders
-> ()
-> Either String (AWSResponse UpdateCompanyNetworkConfiguration))
-> Logger
-> Service
-> Proxy UpdateCompanyNetworkConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse UpdateCompanyNetworkConfiguration)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> () -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveEmpty
( \Int
s ResponseHeaders
h ()
x ->
Int -> UpdateCompanyNetworkConfigurationResponse
UpdateCompanyNetworkConfigurationResponse'
(Int -> UpdateCompanyNetworkConfigurationResponse)
-> Either String Int
-> Either String UpdateCompanyNetworkConfigurationResponse
forall (f :: * -> *) a b. Functor 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
UpdateCompanyNetworkConfiguration
instance
Prelude.NFData
UpdateCompanyNetworkConfiguration
instance
Core.ToHeaders
UpdateCompanyNetworkConfiguration
where
toHeaders :: UpdateCompanyNetworkConfiguration -> ResponseHeaders
toHeaders =
ResponseHeaders
-> UpdateCompanyNetworkConfiguration -> 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
UpdateCompanyNetworkConfiguration
where
toJSON :: UpdateCompanyNetworkConfiguration -> Value
toJSON UpdateCompanyNetworkConfiguration' {[Text]
Text
securityGroupIds :: [Text]
subnetIds :: [Text]
vpcId :: Text
fleetArn :: Text
$sel:securityGroupIds:UpdateCompanyNetworkConfiguration' :: UpdateCompanyNetworkConfiguration -> [Text]
$sel:subnetIds:UpdateCompanyNetworkConfiguration' :: UpdateCompanyNetworkConfiguration -> [Text]
$sel:vpcId:UpdateCompanyNetworkConfiguration' :: UpdateCompanyNetworkConfiguration -> Text
$sel:fleetArn:UpdateCompanyNetworkConfiguration' :: UpdateCompanyNetworkConfiguration -> Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"FleetArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
fleetArn),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"VpcId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
vpcId),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"SubnetIds" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= [Text]
subnetIds),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"SecurityGroupIds" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= [Text]
securityGroupIds)
]
)
instance
Core.ToPath
UpdateCompanyNetworkConfiguration
where
toPath :: UpdateCompanyNetworkConfiguration -> ByteString
toPath =
ByteString -> UpdateCompanyNetworkConfiguration -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/updateCompanyNetworkConfiguration"
instance
Core.ToQuery
UpdateCompanyNetworkConfiguration
where
toQuery :: UpdateCompanyNetworkConfiguration -> QueryString
toQuery = QueryString -> UpdateCompanyNetworkConfiguration -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data UpdateCompanyNetworkConfigurationResponse = UpdateCompanyNetworkConfigurationResponse'
{
UpdateCompanyNetworkConfigurationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (UpdateCompanyNetworkConfigurationResponse
-> UpdateCompanyNetworkConfigurationResponse -> Bool
(UpdateCompanyNetworkConfigurationResponse
-> UpdateCompanyNetworkConfigurationResponse -> Bool)
-> (UpdateCompanyNetworkConfigurationResponse
-> UpdateCompanyNetworkConfigurationResponse -> Bool)
-> Eq UpdateCompanyNetworkConfigurationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateCompanyNetworkConfigurationResponse
-> UpdateCompanyNetworkConfigurationResponse -> Bool
$c/= :: UpdateCompanyNetworkConfigurationResponse
-> UpdateCompanyNetworkConfigurationResponse -> Bool
== :: UpdateCompanyNetworkConfigurationResponse
-> UpdateCompanyNetworkConfigurationResponse -> Bool
$c== :: UpdateCompanyNetworkConfigurationResponse
-> UpdateCompanyNetworkConfigurationResponse -> Bool
Prelude.Eq, ReadPrec [UpdateCompanyNetworkConfigurationResponse]
ReadPrec UpdateCompanyNetworkConfigurationResponse
Int -> ReadS UpdateCompanyNetworkConfigurationResponse
ReadS [UpdateCompanyNetworkConfigurationResponse]
(Int -> ReadS UpdateCompanyNetworkConfigurationResponse)
-> ReadS [UpdateCompanyNetworkConfigurationResponse]
-> ReadPrec UpdateCompanyNetworkConfigurationResponse
-> ReadPrec [UpdateCompanyNetworkConfigurationResponse]
-> Read UpdateCompanyNetworkConfigurationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateCompanyNetworkConfigurationResponse]
$creadListPrec :: ReadPrec [UpdateCompanyNetworkConfigurationResponse]
readPrec :: ReadPrec UpdateCompanyNetworkConfigurationResponse
$creadPrec :: ReadPrec UpdateCompanyNetworkConfigurationResponse
readList :: ReadS [UpdateCompanyNetworkConfigurationResponse]
$creadList :: ReadS [UpdateCompanyNetworkConfigurationResponse]
readsPrec :: Int -> ReadS UpdateCompanyNetworkConfigurationResponse
$creadsPrec :: Int -> ReadS UpdateCompanyNetworkConfigurationResponse
Prelude.Read, Int -> UpdateCompanyNetworkConfigurationResponse -> ShowS
[UpdateCompanyNetworkConfigurationResponse] -> ShowS
UpdateCompanyNetworkConfigurationResponse -> String
(Int -> UpdateCompanyNetworkConfigurationResponse -> ShowS)
-> (UpdateCompanyNetworkConfigurationResponse -> String)
-> ([UpdateCompanyNetworkConfigurationResponse] -> ShowS)
-> Show UpdateCompanyNetworkConfigurationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateCompanyNetworkConfigurationResponse] -> ShowS
$cshowList :: [UpdateCompanyNetworkConfigurationResponse] -> ShowS
show :: UpdateCompanyNetworkConfigurationResponse -> String
$cshow :: UpdateCompanyNetworkConfigurationResponse -> String
showsPrec :: Int -> UpdateCompanyNetworkConfigurationResponse -> ShowS
$cshowsPrec :: Int -> UpdateCompanyNetworkConfigurationResponse -> ShowS
Prelude.Show, (forall x.
UpdateCompanyNetworkConfigurationResponse
-> Rep UpdateCompanyNetworkConfigurationResponse x)
-> (forall x.
Rep UpdateCompanyNetworkConfigurationResponse x
-> UpdateCompanyNetworkConfigurationResponse)
-> Generic UpdateCompanyNetworkConfigurationResponse
forall x.
Rep UpdateCompanyNetworkConfigurationResponse x
-> UpdateCompanyNetworkConfigurationResponse
forall x.
UpdateCompanyNetworkConfigurationResponse
-> Rep UpdateCompanyNetworkConfigurationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateCompanyNetworkConfigurationResponse x
-> UpdateCompanyNetworkConfigurationResponse
$cfrom :: forall x.
UpdateCompanyNetworkConfigurationResponse
-> Rep UpdateCompanyNetworkConfigurationResponse x
Prelude.Generic)
newUpdateCompanyNetworkConfigurationResponse ::
Prelude.Int ->
UpdateCompanyNetworkConfigurationResponse
newUpdateCompanyNetworkConfigurationResponse :: Int -> UpdateCompanyNetworkConfigurationResponse
newUpdateCompanyNetworkConfigurationResponse
Int
pHttpStatus_ =
UpdateCompanyNetworkConfigurationResponse' :: Int -> UpdateCompanyNetworkConfigurationResponse
UpdateCompanyNetworkConfigurationResponse'
{ $sel:httpStatus:UpdateCompanyNetworkConfigurationResponse' :: Int
httpStatus =
Int
pHttpStatus_
}
updateCompanyNetworkConfigurationResponse_httpStatus :: Lens.Lens' UpdateCompanyNetworkConfigurationResponse Prelude.Int
updateCompanyNetworkConfigurationResponse_httpStatus :: (Int -> f Int)
-> UpdateCompanyNetworkConfigurationResponse
-> f UpdateCompanyNetworkConfigurationResponse
updateCompanyNetworkConfigurationResponse_httpStatus = (UpdateCompanyNetworkConfigurationResponse -> Int)
-> (UpdateCompanyNetworkConfigurationResponse
-> Int -> UpdateCompanyNetworkConfigurationResponse)
-> Lens
UpdateCompanyNetworkConfigurationResponse
UpdateCompanyNetworkConfigurationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateCompanyNetworkConfigurationResponse' {Int
httpStatus :: Int
$sel:httpStatus:UpdateCompanyNetworkConfigurationResponse' :: UpdateCompanyNetworkConfigurationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: UpdateCompanyNetworkConfigurationResponse
s@UpdateCompanyNetworkConfigurationResponse' {} Int
a -> UpdateCompanyNetworkConfigurationResponse
s {$sel:httpStatus:UpdateCompanyNetworkConfigurationResponse' :: Int
httpStatus = Int
a} :: UpdateCompanyNetworkConfigurationResponse)
instance
Prelude.NFData
UpdateCompanyNetworkConfigurationResponse