{-# 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.DescribeCompanyNetworkConfiguration
(
DescribeCompanyNetworkConfiguration (..),
newDescribeCompanyNetworkConfiguration,
describeCompanyNetworkConfiguration_fleetArn,
DescribeCompanyNetworkConfigurationResponse (..),
newDescribeCompanyNetworkConfigurationResponse,
describeCompanyNetworkConfigurationResponse_securityGroupIds,
describeCompanyNetworkConfigurationResponse_subnetIds,
describeCompanyNetworkConfigurationResponse_vpcId,
describeCompanyNetworkConfigurationResponse_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 DescribeCompanyNetworkConfiguration = DescribeCompanyNetworkConfiguration'
{
DescribeCompanyNetworkConfiguration -> Text
fleetArn :: Prelude.Text
}
deriving (DescribeCompanyNetworkConfiguration
-> DescribeCompanyNetworkConfiguration -> Bool
(DescribeCompanyNetworkConfiguration
-> DescribeCompanyNetworkConfiguration -> Bool)
-> (DescribeCompanyNetworkConfiguration
-> DescribeCompanyNetworkConfiguration -> Bool)
-> Eq DescribeCompanyNetworkConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeCompanyNetworkConfiguration
-> DescribeCompanyNetworkConfiguration -> Bool
$c/= :: DescribeCompanyNetworkConfiguration
-> DescribeCompanyNetworkConfiguration -> Bool
== :: DescribeCompanyNetworkConfiguration
-> DescribeCompanyNetworkConfiguration -> Bool
$c== :: DescribeCompanyNetworkConfiguration
-> DescribeCompanyNetworkConfiguration -> Bool
Prelude.Eq, ReadPrec [DescribeCompanyNetworkConfiguration]
ReadPrec DescribeCompanyNetworkConfiguration
Int -> ReadS DescribeCompanyNetworkConfiguration
ReadS [DescribeCompanyNetworkConfiguration]
(Int -> ReadS DescribeCompanyNetworkConfiguration)
-> ReadS [DescribeCompanyNetworkConfiguration]
-> ReadPrec DescribeCompanyNetworkConfiguration
-> ReadPrec [DescribeCompanyNetworkConfiguration]
-> Read DescribeCompanyNetworkConfiguration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeCompanyNetworkConfiguration]
$creadListPrec :: ReadPrec [DescribeCompanyNetworkConfiguration]
readPrec :: ReadPrec DescribeCompanyNetworkConfiguration
$creadPrec :: ReadPrec DescribeCompanyNetworkConfiguration
readList :: ReadS [DescribeCompanyNetworkConfiguration]
$creadList :: ReadS [DescribeCompanyNetworkConfiguration]
readsPrec :: Int -> ReadS DescribeCompanyNetworkConfiguration
$creadsPrec :: Int -> ReadS DescribeCompanyNetworkConfiguration
Prelude.Read, Int -> DescribeCompanyNetworkConfiguration -> ShowS
[DescribeCompanyNetworkConfiguration] -> ShowS
DescribeCompanyNetworkConfiguration -> String
(Int -> DescribeCompanyNetworkConfiguration -> ShowS)
-> (DescribeCompanyNetworkConfiguration -> String)
-> ([DescribeCompanyNetworkConfiguration] -> ShowS)
-> Show DescribeCompanyNetworkConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeCompanyNetworkConfiguration] -> ShowS
$cshowList :: [DescribeCompanyNetworkConfiguration] -> ShowS
show :: DescribeCompanyNetworkConfiguration -> String
$cshow :: DescribeCompanyNetworkConfiguration -> String
showsPrec :: Int -> DescribeCompanyNetworkConfiguration -> ShowS
$cshowsPrec :: Int -> DescribeCompanyNetworkConfiguration -> ShowS
Prelude.Show, (forall x.
DescribeCompanyNetworkConfiguration
-> Rep DescribeCompanyNetworkConfiguration x)
-> (forall x.
Rep DescribeCompanyNetworkConfiguration x
-> DescribeCompanyNetworkConfiguration)
-> Generic DescribeCompanyNetworkConfiguration
forall x.
Rep DescribeCompanyNetworkConfiguration x
-> DescribeCompanyNetworkConfiguration
forall x.
DescribeCompanyNetworkConfiguration
-> Rep DescribeCompanyNetworkConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeCompanyNetworkConfiguration x
-> DescribeCompanyNetworkConfiguration
$cfrom :: forall x.
DescribeCompanyNetworkConfiguration
-> Rep DescribeCompanyNetworkConfiguration x
Prelude.Generic)
newDescribeCompanyNetworkConfiguration ::
Prelude.Text ->
DescribeCompanyNetworkConfiguration
newDescribeCompanyNetworkConfiguration :: Text -> DescribeCompanyNetworkConfiguration
newDescribeCompanyNetworkConfiguration Text
pFleetArn_ =
DescribeCompanyNetworkConfiguration' :: Text -> DescribeCompanyNetworkConfiguration
DescribeCompanyNetworkConfiguration'
{ $sel:fleetArn:DescribeCompanyNetworkConfiguration' :: Text
fleetArn =
Text
pFleetArn_
}
describeCompanyNetworkConfiguration_fleetArn :: Lens.Lens' DescribeCompanyNetworkConfiguration Prelude.Text
describeCompanyNetworkConfiguration_fleetArn :: (Text -> f Text)
-> DescribeCompanyNetworkConfiguration
-> f DescribeCompanyNetworkConfiguration
describeCompanyNetworkConfiguration_fleetArn = (DescribeCompanyNetworkConfiguration -> Text)
-> (DescribeCompanyNetworkConfiguration
-> Text -> DescribeCompanyNetworkConfiguration)
-> Lens
DescribeCompanyNetworkConfiguration
DescribeCompanyNetworkConfiguration
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeCompanyNetworkConfiguration' {Text
fleetArn :: Text
$sel:fleetArn:DescribeCompanyNetworkConfiguration' :: DescribeCompanyNetworkConfiguration -> Text
fleetArn} -> Text
fleetArn) (\s :: DescribeCompanyNetworkConfiguration
s@DescribeCompanyNetworkConfiguration' {} Text
a -> DescribeCompanyNetworkConfiguration
s {$sel:fleetArn:DescribeCompanyNetworkConfiguration' :: Text
fleetArn = Text
a} :: DescribeCompanyNetworkConfiguration)
instance
Core.AWSRequest
DescribeCompanyNetworkConfiguration
where
type
AWSResponse DescribeCompanyNetworkConfiguration =
DescribeCompanyNetworkConfigurationResponse
request :: DescribeCompanyNetworkConfiguration
-> Request DescribeCompanyNetworkConfiguration
request = Service
-> DescribeCompanyNetworkConfiguration
-> Request DescribeCompanyNetworkConfiguration
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeCompanyNetworkConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DescribeCompanyNetworkConfiguration)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeCompanyNetworkConfiguration))
-> Logger
-> Service
-> Proxy DescribeCompanyNetworkConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DescribeCompanyNetworkConfiguration)))
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
-> Int
-> DescribeCompanyNetworkConfigurationResponse
DescribeCompanyNetworkConfigurationResponse'
(Maybe [Text]
-> Maybe [Text]
-> Maybe Text
-> Int
-> DescribeCompanyNetworkConfigurationResponse)
-> Either String (Maybe [Text])
-> Either
String
(Maybe [Text]
-> Maybe Text
-> Int
-> DescribeCompanyNetworkConfigurationResponse)
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
-> Int
-> DescribeCompanyNetworkConfigurationResponse)
-> Either String (Maybe [Text])
-> Either
String
(Maybe Text -> Int -> DescribeCompanyNetworkConfigurationResponse)
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 -> Int -> DescribeCompanyNetworkConfigurationResponse)
-> Either String (Maybe Text)
-> Either
String (Int -> DescribeCompanyNetworkConfigurationResponse)
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
"VpcId")
Either String (Int -> DescribeCompanyNetworkConfigurationResponse)
-> Either String Int
-> Either String DescribeCompanyNetworkConfigurationResponse
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
DescribeCompanyNetworkConfiguration
instance
Prelude.NFData
DescribeCompanyNetworkConfiguration
instance
Core.ToHeaders
DescribeCompanyNetworkConfiguration
where
toHeaders :: DescribeCompanyNetworkConfiguration -> ResponseHeaders
toHeaders =
ResponseHeaders
-> DescribeCompanyNetworkConfiguration -> 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
DescribeCompanyNetworkConfiguration
where
toJSON :: DescribeCompanyNetworkConfiguration -> Value
toJSON DescribeCompanyNetworkConfiguration' {Text
fleetArn :: Text
$sel:fleetArn:DescribeCompanyNetworkConfiguration' :: DescribeCompanyNetworkConfiguration -> 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)]
)
instance
Core.ToPath
DescribeCompanyNetworkConfiguration
where
toPath :: DescribeCompanyNetworkConfiguration -> ByteString
toPath =
ByteString -> DescribeCompanyNetworkConfiguration -> ByteString
forall a b. a -> b -> a
Prelude.const
ByteString
"/describeCompanyNetworkConfiguration"
instance
Core.ToQuery
DescribeCompanyNetworkConfiguration
where
toQuery :: DescribeCompanyNetworkConfiguration -> QueryString
toQuery = QueryString -> DescribeCompanyNetworkConfiguration -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeCompanyNetworkConfigurationResponse = DescribeCompanyNetworkConfigurationResponse'
{
DescribeCompanyNetworkConfigurationResponse -> Maybe [Text]
securityGroupIds :: Prelude.Maybe [Prelude.Text],
DescribeCompanyNetworkConfigurationResponse -> Maybe [Text]
subnetIds :: Prelude.Maybe [Prelude.Text],
DescribeCompanyNetworkConfigurationResponse -> Maybe Text
vpcId :: Prelude.Maybe Prelude.Text,
DescribeCompanyNetworkConfigurationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeCompanyNetworkConfigurationResponse
-> DescribeCompanyNetworkConfigurationResponse -> Bool
(DescribeCompanyNetworkConfigurationResponse
-> DescribeCompanyNetworkConfigurationResponse -> Bool)
-> (DescribeCompanyNetworkConfigurationResponse
-> DescribeCompanyNetworkConfigurationResponse -> Bool)
-> Eq DescribeCompanyNetworkConfigurationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeCompanyNetworkConfigurationResponse
-> DescribeCompanyNetworkConfigurationResponse -> Bool
$c/= :: DescribeCompanyNetworkConfigurationResponse
-> DescribeCompanyNetworkConfigurationResponse -> Bool
== :: DescribeCompanyNetworkConfigurationResponse
-> DescribeCompanyNetworkConfigurationResponse -> Bool
$c== :: DescribeCompanyNetworkConfigurationResponse
-> DescribeCompanyNetworkConfigurationResponse -> Bool
Prelude.Eq, ReadPrec [DescribeCompanyNetworkConfigurationResponse]
ReadPrec DescribeCompanyNetworkConfigurationResponse
Int -> ReadS DescribeCompanyNetworkConfigurationResponse
ReadS [DescribeCompanyNetworkConfigurationResponse]
(Int -> ReadS DescribeCompanyNetworkConfigurationResponse)
-> ReadS [DescribeCompanyNetworkConfigurationResponse]
-> ReadPrec DescribeCompanyNetworkConfigurationResponse
-> ReadPrec [DescribeCompanyNetworkConfigurationResponse]
-> Read DescribeCompanyNetworkConfigurationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeCompanyNetworkConfigurationResponse]
$creadListPrec :: ReadPrec [DescribeCompanyNetworkConfigurationResponse]
readPrec :: ReadPrec DescribeCompanyNetworkConfigurationResponse
$creadPrec :: ReadPrec DescribeCompanyNetworkConfigurationResponse
readList :: ReadS [DescribeCompanyNetworkConfigurationResponse]
$creadList :: ReadS [DescribeCompanyNetworkConfigurationResponse]
readsPrec :: Int -> ReadS DescribeCompanyNetworkConfigurationResponse
$creadsPrec :: Int -> ReadS DescribeCompanyNetworkConfigurationResponse
Prelude.Read, Int -> DescribeCompanyNetworkConfigurationResponse -> ShowS
[DescribeCompanyNetworkConfigurationResponse] -> ShowS
DescribeCompanyNetworkConfigurationResponse -> String
(Int -> DescribeCompanyNetworkConfigurationResponse -> ShowS)
-> (DescribeCompanyNetworkConfigurationResponse -> String)
-> ([DescribeCompanyNetworkConfigurationResponse] -> ShowS)
-> Show DescribeCompanyNetworkConfigurationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeCompanyNetworkConfigurationResponse] -> ShowS
$cshowList :: [DescribeCompanyNetworkConfigurationResponse] -> ShowS
show :: DescribeCompanyNetworkConfigurationResponse -> String
$cshow :: DescribeCompanyNetworkConfigurationResponse -> String
showsPrec :: Int -> DescribeCompanyNetworkConfigurationResponse -> ShowS
$cshowsPrec :: Int -> DescribeCompanyNetworkConfigurationResponse -> ShowS
Prelude.Show, (forall x.
DescribeCompanyNetworkConfigurationResponse
-> Rep DescribeCompanyNetworkConfigurationResponse x)
-> (forall x.
Rep DescribeCompanyNetworkConfigurationResponse x
-> DescribeCompanyNetworkConfigurationResponse)
-> Generic DescribeCompanyNetworkConfigurationResponse
forall x.
Rep DescribeCompanyNetworkConfigurationResponse x
-> DescribeCompanyNetworkConfigurationResponse
forall x.
DescribeCompanyNetworkConfigurationResponse
-> Rep DescribeCompanyNetworkConfigurationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeCompanyNetworkConfigurationResponse x
-> DescribeCompanyNetworkConfigurationResponse
$cfrom :: forall x.
DescribeCompanyNetworkConfigurationResponse
-> Rep DescribeCompanyNetworkConfigurationResponse x
Prelude.Generic)
newDescribeCompanyNetworkConfigurationResponse ::
Prelude.Int ->
DescribeCompanyNetworkConfigurationResponse
newDescribeCompanyNetworkConfigurationResponse :: Int -> DescribeCompanyNetworkConfigurationResponse
newDescribeCompanyNetworkConfigurationResponse
Int
pHttpStatus_ =
DescribeCompanyNetworkConfigurationResponse' :: Maybe [Text]
-> Maybe [Text]
-> Maybe Text
-> Int
-> DescribeCompanyNetworkConfigurationResponse
DescribeCompanyNetworkConfigurationResponse'
{ $sel:securityGroupIds:DescribeCompanyNetworkConfigurationResponse' :: Maybe [Text]
securityGroupIds =
Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:subnetIds:DescribeCompanyNetworkConfigurationResponse' :: Maybe [Text]
subnetIds = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:vpcId:DescribeCompanyNetworkConfigurationResponse' :: Maybe Text
vpcId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeCompanyNetworkConfigurationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeCompanyNetworkConfigurationResponse_securityGroupIds :: Lens.Lens' DescribeCompanyNetworkConfigurationResponse (Prelude.Maybe [Prelude.Text])
describeCompanyNetworkConfigurationResponse_securityGroupIds :: (Maybe [Text] -> f (Maybe [Text]))
-> DescribeCompanyNetworkConfigurationResponse
-> f DescribeCompanyNetworkConfigurationResponse
describeCompanyNetworkConfigurationResponse_securityGroupIds = (DescribeCompanyNetworkConfigurationResponse -> Maybe [Text])
-> (DescribeCompanyNetworkConfigurationResponse
-> Maybe [Text] -> DescribeCompanyNetworkConfigurationResponse)
-> Lens
DescribeCompanyNetworkConfigurationResponse
DescribeCompanyNetworkConfigurationResponse
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeCompanyNetworkConfigurationResponse' {Maybe [Text]
securityGroupIds :: Maybe [Text]
$sel:securityGroupIds:DescribeCompanyNetworkConfigurationResponse' :: DescribeCompanyNetworkConfigurationResponse -> Maybe [Text]
securityGroupIds} -> Maybe [Text]
securityGroupIds) (\s :: DescribeCompanyNetworkConfigurationResponse
s@DescribeCompanyNetworkConfigurationResponse' {} Maybe [Text]
a -> DescribeCompanyNetworkConfigurationResponse
s {$sel:securityGroupIds:DescribeCompanyNetworkConfigurationResponse' :: Maybe [Text]
securityGroupIds = Maybe [Text]
a} :: DescribeCompanyNetworkConfigurationResponse) ((Maybe [Text] -> f (Maybe [Text]))
-> DescribeCompanyNetworkConfigurationResponse
-> f DescribeCompanyNetworkConfigurationResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DescribeCompanyNetworkConfigurationResponse
-> f DescribeCompanyNetworkConfigurationResponse
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
describeCompanyNetworkConfigurationResponse_subnetIds :: Lens.Lens' DescribeCompanyNetworkConfigurationResponse (Prelude.Maybe [Prelude.Text])
describeCompanyNetworkConfigurationResponse_subnetIds :: (Maybe [Text] -> f (Maybe [Text]))
-> DescribeCompanyNetworkConfigurationResponse
-> f DescribeCompanyNetworkConfigurationResponse
describeCompanyNetworkConfigurationResponse_subnetIds = (DescribeCompanyNetworkConfigurationResponse -> Maybe [Text])
-> (DescribeCompanyNetworkConfigurationResponse
-> Maybe [Text] -> DescribeCompanyNetworkConfigurationResponse)
-> Lens
DescribeCompanyNetworkConfigurationResponse
DescribeCompanyNetworkConfigurationResponse
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeCompanyNetworkConfigurationResponse' {Maybe [Text]
subnetIds :: Maybe [Text]
$sel:subnetIds:DescribeCompanyNetworkConfigurationResponse' :: DescribeCompanyNetworkConfigurationResponse -> Maybe [Text]
subnetIds} -> Maybe [Text]
subnetIds) (\s :: DescribeCompanyNetworkConfigurationResponse
s@DescribeCompanyNetworkConfigurationResponse' {} Maybe [Text]
a -> DescribeCompanyNetworkConfigurationResponse
s {$sel:subnetIds:DescribeCompanyNetworkConfigurationResponse' :: Maybe [Text]
subnetIds = Maybe [Text]
a} :: DescribeCompanyNetworkConfigurationResponse) ((Maybe [Text] -> f (Maybe [Text]))
-> DescribeCompanyNetworkConfigurationResponse
-> f DescribeCompanyNetworkConfigurationResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DescribeCompanyNetworkConfigurationResponse
-> f DescribeCompanyNetworkConfigurationResponse
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
describeCompanyNetworkConfigurationResponse_vpcId :: Lens.Lens' DescribeCompanyNetworkConfigurationResponse (Prelude.Maybe Prelude.Text)
describeCompanyNetworkConfigurationResponse_vpcId :: (Maybe Text -> f (Maybe Text))
-> DescribeCompanyNetworkConfigurationResponse
-> f DescribeCompanyNetworkConfigurationResponse
describeCompanyNetworkConfigurationResponse_vpcId = (DescribeCompanyNetworkConfigurationResponse -> Maybe Text)
-> (DescribeCompanyNetworkConfigurationResponse
-> Maybe Text -> DescribeCompanyNetworkConfigurationResponse)
-> Lens
DescribeCompanyNetworkConfigurationResponse
DescribeCompanyNetworkConfigurationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeCompanyNetworkConfigurationResponse' {Maybe Text
vpcId :: Maybe Text
$sel:vpcId:DescribeCompanyNetworkConfigurationResponse' :: DescribeCompanyNetworkConfigurationResponse -> Maybe Text
vpcId} -> Maybe Text
vpcId) (\s :: DescribeCompanyNetworkConfigurationResponse
s@DescribeCompanyNetworkConfigurationResponse' {} Maybe Text
a -> DescribeCompanyNetworkConfigurationResponse
s {$sel:vpcId:DescribeCompanyNetworkConfigurationResponse' :: Maybe Text
vpcId = Maybe Text
a} :: DescribeCompanyNetworkConfigurationResponse)
describeCompanyNetworkConfigurationResponse_httpStatus :: Lens.Lens' DescribeCompanyNetworkConfigurationResponse Prelude.Int
describeCompanyNetworkConfigurationResponse_httpStatus :: (Int -> f Int)
-> DescribeCompanyNetworkConfigurationResponse
-> f DescribeCompanyNetworkConfigurationResponse
describeCompanyNetworkConfigurationResponse_httpStatus = (DescribeCompanyNetworkConfigurationResponse -> Int)
-> (DescribeCompanyNetworkConfigurationResponse
-> Int -> DescribeCompanyNetworkConfigurationResponse)
-> Lens
DescribeCompanyNetworkConfigurationResponse
DescribeCompanyNetworkConfigurationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeCompanyNetworkConfigurationResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeCompanyNetworkConfigurationResponse' :: DescribeCompanyNetworkConfigurationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeCompanyNetworkConfigurationResponse
s@DescribeCompanyNetworkConfigurationResponse' {} Int
a -> DescribeCompanyNetworkConfigurationResponse
s {$sel:httpStatus:DescribeCompanyNetworkConfigurationResponse' :: Int
httpStatus = Int
a} :: DescribeCompanyNetworkConfigurationResponse)
instance
Prelude.NFData
DescribeCompanyNetworkConfigurationResponse