{-# 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.DataSync.DescribeLocationFsxWindows
(
DescribeLocationFsxWindows (..),
newDescribeLocationFsxWindows,
describeLocationFsxWindows_locationArn,
DescribeLocationFsxWindowsResponse (..),
newDescribeLocationFsxWindowsResponse,
describeLocationFsxWindowsResponse_creationTime,
describeLocationFsxWindowsResponse_securityGroupArns,
describeLocationFsxWindowsResponse_domain,
describeLocationFsxWindowsResponse_locationUri,
describeLocationFsxWindowsResponse_user,
describeLocationFsxWindowsResponse_locationArn,
describeLocationFsxWindowsResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.DataSync.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 DescribeLocationFsxWindows = DescribeLocationFsxWindows'
{
DescribeLocationFsxWindows -> Text
locationArn :: Prelude.Text
}
deriving (DescribeLocationFsxWindows -> DescribeLocationFsxWindows -> Bool
(DescribeLocationFsxWindows -> DescribeLocationFsxWindows -> Bool)
-> (DescribeLocationFsxWindows
-> DescribeLocationFsxWindows -> Bool)
-> Eq DescribeLocationFsxWindows
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeLocationFsxWindows -> DescribeLocationFsxWindows -> Bool
$c/= :: DescribeLocationFsxWindows -> DescribeLocationFsxWindows -> Bool
== :: DescribeLocationFsxWindows -> DescribeLocationFsxWindows -> Bool
$c== :: DescribeLocationFsxWindows -> DescribeLocationFsxWindows -> Bool
Prelude.Eq, ReadPrec [DescribeLocationFsxWindows]
ReadPrec DescribeLocationFsxWindows
Int -> ReadS DescribeLocationFsxWindows
ReadS [DescribeLocationFsxWindows]
(Int -> ReadS DescribeLocationFsxWindows)
-> ReadS [DescribeLocationFsxWindows]
-> ReadPrec DescribeLocationFsxWindows
-> ReadPrec [DescribeLocationFsxWindows]
-> Read DescribeLocationFsxWindows
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeLocationFsxWindows]
$creadListPrec :: ReadPrec [DescribeLocationFsxWindows]
readPrec :: ReadPrec DescribeLocationFsxWindows
$creadPrec :: ReadPrec DescribeLocationFsxWindows
readList :: ReadS [DescribeLocationFsxWindows]
$creadList :: ReadS [DescribeLocationFsxWindows]
readsPrec :: Int -> ReadS DescribeLocationFsxWindows
$creadsPrec :: Int -> ReadS DescribeLocationFsxWindows
Prelude.Read, Int -> DescribeLocationFsxWindows -> ShowS
[DescribeLocationFsxWindows] -> ShowS
DescribeLocationFsxWindows -> String
(Int -> DescribeLocationFsxWindows -> ShowS)
-> (DescribeLocationFsxWindows -> String)
-> ([DescribeLocationFsxWindows] -> ShowS)
-> Show DescribeLocationFsxWindows
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeLocationFsxWindows] -> ShowS
$cshowList :: [DescribeLocationFsxWindows] -> ShowS
show :: DescribeLocationFsxWindows -> String
$cshow :: DescribeLocationFsxWindows -> String
showsPrec :: Int -> DescribeLocationFsxWindows -> ShowS
$cshowsPrec :: Int -> DescribeLocationFsxWindows -> ShowS
Prelude.Show, (forall x.
DescribeLocationFsxWindows -> Rep DescribeLocationFsxWindows x)
-> (forall x.
Rep DescribeLocationFsxWindows x -> DescribeLocationFsxWindows)
-> Generic DescribeLocationFsxWindows
forall x.
Rep DescribeLocationFsxWindows x -> DescribeLocationFsxWindows
forall x.
DescribeLocationFsxWindows -> Rep DescribeLocationFsxWindows x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeLocationFsxWindows x -> DescribeLocationFsxWindows
$cfrom :: forall x.
DescribeLocationFsxWindows -> Rep DescribeLocationFsxWindows x
Prelude.Generic)
newDescribeLocationFsxWindows ::
Prelude.Text ->
DescribeLocationFsxWindows
newDescribeLocationFsxWindows :: Text -> DescribeLocationFsxWindows
newDescribeLocationFsxWindows Text
pLocationArn_ =
DescribeLocationFsxWindows' :: Text -> DescribeLocationFsxWindows
DescribeLocationFsxWindows'
{ $sel:locationArn:DescribeLocationFsxWindows' :: Text
locationArn =
Text
pLocationArn_
}
describeLocationFsxWindows_locationArn :: Lens.Lens' DescribeLocationFsxWindows Prelude.Text
describeLocationFsxWindows_locationArn :: (Text -> f Text)
-> DescribeLocationFsxWindows -> f DescribeLocationFsxWindows
describeLocationFsxWindows_locationArn = (DescribeLocationFsxWindows -> Text)
-> (DescribeLocationFsxWindows
-> Text -> DescribeLocationFsxWindows)
-> Lens
DescribeLocationFsxWindows DescribeLocationFsxWindows Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeLocationFsxWindows' {Text
locationArn :: Text
$sel:locationArn:DescribeLocationFsxWindows' :: DescribeLocationFsxWindows -> Text
locationArn} -> Text
locationArn) (\s :: DescribeLocationFsxWindows
s@DescribeLocationFsxWindows' {} Text
a -> DescribeLocationFsxWindows
s {$sel:locationArn:DescribeLocationFsxWindows' :: Text
locationArn = Text
a} :: DescribeLocationFsxWindows)
instance Core.AWSRequest DescribeLocationFsxWindows where
type
AWSResponse DescribeLocationFsxWindows =
DescribeLocationFsxWindowsResponse
request :: DescribeLocationFsxWindows -> Request DescribeLocationFsxWindows
request = Service
-> DescribeLocationFsxWindows -> Request DescribeLocationFsxWindows
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeLocationFsxWindows
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeLocationFsxWindows)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeLocationFsxWindows))
-> Logger
-> Service
-> Proxy DescribeLocationFsxWindows
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeLocationFsxWindows)))
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 POSIX
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeLocationFsxWindowsResponse
DescribeLocationFsxWindowsResponse'
(Maybe POSIX
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeLocationFsxWindowsResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeLocationFsxWindowsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"CreationTime")
Either
String
(Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeLocationFsxWindowsResponse)
-> Either String (Maybe (NonEmpty Text))
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeLocationFsxWindowsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (NonEmpty Text))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"SecurityGroupArns")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeLocationFsxWindowsResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeLocationFsxWindowsResponse)
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
"Domain")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeLocationFsxWindowsResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text -> Int -> DescribeLocationFsxWindowsResponse)
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
"LocationUri")
Either
String
(Maybe Text
-> Maybe Text -> Int -> DescribeLocationFsxWindowsResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe Text -> Int -> DescribeLocationFsxWindowsResponse)
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
"User")
Either
String (Maybe Text -> Int -> DescribeLocationFsxWindowsResponse)
-> Either String (Maybe Text)
-> Either String (Int -> DescribeLocationFsxWindowsResponse)
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
"LocationArn")
Either String (Int -> DescribeLocationFsxWindowsResponse)
-> Either String Int
-> Either String DescribeLocationFsxWindowsResponse
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 DescribeLocationFsxWindows
instance Prelude.NFData DescribeLocationFsxWindows
instance Core.ToHeaders DescribeLocationFsxWindows where
toHeaders :: DescribeLocationFsxWindows -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeLocationFsxWindows -> 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
"FmrsService.DescribeLocationFsxWindows" ::
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 DescribeLocationFsxWindows where
toJSON :: DescribeLocationFsxWindows -> Value
toJSON DescribeLocationFsxWindows' {Text
locationArn :: Text
$sel:locationArn:DescribeLocationFsxWindows' :: DescribeLocationFsxWindows -> 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
"LocationArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
locationArn)]
)
instance Core.ToPath DescribeLocationFsxWindows where
toPath :: DescribeLocationFsxWindows -> ByteString
toPath = ByteString -> DescribeLocationFsxWindows -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeLocationFsxWindows where
toQuery :: DescribeLocationFsxWindows -> QueryString
toQuery = QueryString -> DescribeLocationFsxWindows -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeLocationFsxWindowsResponse = DescribeLocationFsxWindowsResponse'
{
DescribeLocationFsxWindowsResponse -> Maybe POSIX
creationTime :: Prelude.Maybe Core.POSIX,
DescribeLocationFsxWindowsResponse -> Maybe (NonEmpty Text)
securityGroupArns :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),
DescribeLocationFsxWindowsResponse -> Maybe Text
domain :: Prelude.Maybe Prelude.Text,
DescribeLocationFsxWindowsResponse -> Maybe Text
locationUri :: Prelude.Maybe Prelude.Text,
DescribeLocationFsxWindowsResponse -> Maybe Text
user :: Prelude.Maybe Prelude.Text,
DescribeLocationFsxWindowsResponse -> Maybe Text
locationArn :: Prelude.Maybe Prelude.Text,
DescribeLocationFsxWindowsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeLocationFsxWindowsResponse
-> DescribeLocationFsxWindowsResponse -> Bool
(DescribeLocationFsxWindowsResponse
-> DescribeLocationFsxWindowsResponse -> Bool)
-> (DescribeLocationFsxWindowsResponse
-> DescribeLocationFsxWindowsResponse -> Bool)
-> Eq DescribeLocationFsxWindowsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeLocationFsxWindowsResponse
-> DescribeLocationFsxWindowsResponse -> Bool
$c/= :: DescribeLocationFsxWindowsResponse
-> DescribeLocationFsxWindowsResponse -> Bool
== :: DescribeLocationFsxWindowsResponse
-> DescribeLocationFsxWindowsResponse -> Bool
$c== :: DescribeLocationFsxWindowsResponse
-> DescribeLocationFsxWindowsResponse -> Bool
Prelude.Eq, ReadPrec [DescribeLocationFsxWindowsResponse]
ReadPrec DescribeLocationFsxWindowsResponse
Int -> ReadS DescribeLocationFsxWindowsResponse
ReadS [DescribeLocationFsxWindowsResponse]
(Int -> ReadS DescribeLocationFsxWindowsResponse)
-> ReadS [DescribeLocationFsxWindowsResponse]
-> ReadPrec DescribeLocationFsxWindowsResponse
-> ReadPrec [DescribeLocationFsxWindowsResponse]
-> Read DescribeLocationFsxWindowsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeLocationFsxWindowsResponse]
$creadListPrec :: ReadPrec [DescribeLocationFsxWindowsResponse]
readPrec :: ReadPrec DescribeLocationFsxWindowsResponse
$creadPrec :: ReadPrec DescribeLocationFsxWindowsResponse
readList :: ReadS [DescribeLocationFsxWindowsResponse]
$creadList :: ReadS [DescribeLocationFsxWindowsResponse]
readsPrec :: Int -> ReadS DescribeLocationFsxWindowsResponse
$creadsPrec :: Int -> ReadS DescribeLocationFsxWindowsResponse
Prelude.Read, Int -> DescribeLocationFsxWindowsResponse -> ShowS
[DescribeLocationFsxWindowsResponse] -> ShowS
DescribeLocationFsxWindowsResponse -> String
(Int -> DescribeLocationFsxWindowsResponse -> ShowS)
-> (DescribeLocationFsxWindowsResponse -> String)
-> ([DescribeLocationFsxWindowsResponse] -> ShowS)
-> Show DescribeLocationFsxWindowsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeLocationFsxWindowsResponse] -> ShowS
$cshowList :: [DescribeLocationFsxWindowsResponse] -> ShowS
show :: DescribeLocationFsxWindowsResponse -> String
$cshow :: DescribeLocationFsxWindowsResponse -> String
showsPrec :: Int -> DescribeLocationFsxWindowsResponse -> ShowS
$cshowsPrec :: Int -> DescribeLocationFsxWindowsResponse -> ShowS
Prelude.Show, (forall x.
DescribeLocationFsxWindowsResponse
-> Rep DescribeLocationFsxWindowsResponse x)
-> (forall x.
Rep DescribeLocationFsxWindowsResponse x
-> DescribeLocationFsxWindowsResponse)
-> Generic DescribeLocationFsxWindowsResponse
forall x.
Rep DescribeLocationFsxWindowsResponse x
-> DescribeLocationFsxWindowsResponse
forall x.
DescribeLocationFsxWindowsResponse
-> Rep DescribeLocationFsxWindowsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeLocationFsxWindowsResponse x
-> DescribeLocationFsxWindowsResponse
$cfrom :: forall x.
DescribeLocationFsxWindowsResponse
-> Rep DescribeLocationFsxWindowsResponse x
Prelude.Generic)
newDescribeLocationFsxWindowsResponse ::
Prelude.Int ->
DescribeLocationFsxWindowsResponse
newDescribeLocationFsxWindowsResponse :: Int -> DescribeLocationFsxWindowsResponse
newDescribeLocationFsxWindowsResponse Int
pHttpStatus_ =
DescribeLocationFsxWindowsResponse' :: Maybe POSIX
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeLocationFsxWindowsResponse
DescribeLocationFsxWindowsResponse'
{ $sel:creationTime:DescribeLocationFsxWindowsResponse' :: Maybe POSIX
creationTime =
Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:securityGroupArns:DescribeLocationFsxWindowsResponse' :: Maybe (NonEmpty Text)
securityGroupArns = Maybe (NonEmpty Text)
forall a. Maybe a
Prelude.Nothing,
$sel:domain:DescribeLocationFsxWindowsResponse' :: Maybe Text
domain = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:locationUri:DescribeLocationFsxWindowsResponse' :: Maybe Text
locationUri = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:user:DescribeLocationFsxWindowsResponse' :: Maybe Text
user = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:locationArn:DescribeLocationFsxWindowsResponse' :: Maybe Text
locationArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeLocationFsxWindowsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeLocationFsxWindowsResponse_creationTime :: Lens.Lens' DescribeLocationFsxWindowsResponse (Prelude.Maybe Prelude.UTCTime)
describeLocationFsxWindowsResponse_creationTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeLocationFsxWindowsResponse
-> f DescribeLocationFsxWindowsResponse
describeLocationFsxWindowsResponse_creationTime = (DescribeLocationFsxWindowsResponse -> Maybe POSIX)
-> (DescribeLocationFsxWindowsResponse
-> Maybe POSIX -> DescribeLocationFsxWindowsResponse)
-> Lens
DescribeLocationFsxWindowsResponse
DescribeLocationFsxWindowsResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeLocationFsxWindowsResponse' {Maybe POSIX
creationTime :: Maybe POSIX
$sel:creationTime:DescribeLocationFsxWindowsResponse' :: DescribeLocationFsxWindowsResponse -> Maybe POSIX
creationTime} -> Maybe POSIX
creationTime) (\s :: DescribeLocationFsxWindowsResponse
s@DescribeLocationFsxWindowsResponse' {} Maybe POSIX
a -> DescribeLocationFsxWindowsResponse
s {$sel:creationTime:DescribeLocationFsxWindowsResponse' :: Maybe POSIX
creationTime = Maybe POSIX
a} :: DescribeLocationFsxWindowsResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeLocationFsxWindowsResponse
-> f DescribeLocationFsxWindowsResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeLocationFsxWindowsResponse
-> f DescribeLocationFsxWindowsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeLocationFsxWindowsResponse_securityGroupArns :: Lens.Lens' DescribeLocationFsxWindowsResponse (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))
describeLocationFsxWindowsResponse_securityGroupArns :: (Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> DescribeLocationFsxWindowsResponse
-> f DescribeLocationFsxWindowsResponse
describeLocationFsxWindowsResponse_securityGroupArns = (DescribeLocationFsxWindowsResponse -> Maybe (NonEmpty Text))
-> (DescribeLocationFsxWindowsResponse
-> Maybe (NonEmpty Text) -> DescribeLocationFsxWindowsResponse)
-> Lens
DescribeLocationFsxWindowsResponse
DescribeLocationFsxWindowsResponse
(Maybe (NonEmpty Text))
(Maybe (NonEmpty Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeLocationFsxWindowsResponse' {Maybe (NonEmpty Text)
securityGroupArns :: Maybe (NonEmpty Text)
$sel:securityGroupArns:DescribeLocationFsxWindowsResponse' :: DescribeLocationFsxWindowsResponse -> Maybe (NonEmpty Text)
securityGroupArns} -> Maybe (NonEmpty Text)
securityGroupArns) (\s :: DescribeLocationFsxWindowsResponse
s@DescribeLocationFsxWindowsResponse' {} Maybe (NonEmpty Text)
a -> DescribeLocationFsxWindowsResponse
s {$sel:securityGroupArns:DescribeLocationFsxWindowsResponse' :: Maybe (NonEmpty Text)
securityGroupArns = Maybe (NonEmpty Text)
a} :: DescribeLocationFsxWindowsResponse) ((Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> DescribeLocationFsxWindowsResponse
-> f DescribeLocationFsxWindowsResponse)
-> ((Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> (Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> DescribeLocationFsxWindowsResponse
-> f DescribeLocationFsxWindowsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(NonEmpty Text) (NonEmpty Text) (NonEmpty Text) (NonEmpty Text)
-> Iso
(Maybe (NonEmpty Text))
(Maybe (NonEmpty Text))
(Maybe (NonEmpty Text))
(Maybe (NonEmpty 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
(NonEmpty Text) (NonEmpty Text) (NonEmpty Text) (NonEmpty Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeLocationFsxWindowsResponse_domain :: Lens.Lens' DescribeLocationFsxWindowsResponse (Prelude.Maybe Prelude.Text)
describeLocationFsxWindowsResponse_domain :: (Maybe Text -> f (Maybe Text))
-> DescribeLocationFsxWindowsResponse
-> f DescribeLocationFsxWindowsResponse
describeLocationFsxWindowsResponse_domain = (DescribeLocationFsxWindowsResponse -> Maybe Text)
-> (DescribeLocationFsxWindowsResponse
-> Maybe Text -> DescribeLocationFsxWindowsResponse)
-> Lens
DescribeLocationFsxWindowsResponse
DescribeLocationFsxWindowsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeLocationFsxWindowsResponse' {Maybe Text
domain :: Maybe Text
$sel:domain:DescribeLocationFsxWindowsResponse' :: DescribeLocationFsxWindowsResponse -> Maybe Text
domain} -> Maybe Text
domain) (\s :: DescribeLocationFsxWindowsResponse
s@DescribeLocationFsxWindowsResponse' {} Maybe Text
a -> DescribeLocationFsxWindowsResponse
s {$sel:domain:DescribeLocationFsxWindowsResponse' :: Maybe Text
domain = Maybe Text
a} :: DescribeLocationFsxWindowsResponse)
describeLocationFsxWindowsResponse_locationUri :: Lens.Lens' DescribeLocationFsxWindowsResponse (Prelude.Maybe Prelude.Text)
describeLocationFsxWindowsResponse_locationUri :: (Maybe Text -> f (Maybe Text))
-> DescribeLocationFsxWindowsResponse
-> f DescribeLocationFsxWindowsResponse
describeLocationFsxWindowsResponse_locationUri = (DescribeLocationFsxWindowsResponse -> Maybe Text)
-> (DescribeLocationFsxWindowsResponse
-> Maybe Text -> DescribeLocationFsxWindowsResponse)
-> Lens
DescribeLocationFsxWindowsResponse
DescribeLocationFsxWindowsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeLocationFsxWindowsResponse' {Maybe Text
locationUri :: Maybe Text
$sel:locationUri:DescribeLocationFsxWindowsResponse' :: DescribeLocationFsxWindowsResponse -> Maybe Text
locationUri} -> Maybe Text
locationUri) (\s :: DescribeLocationFsxWindowsResponse
s@DescribeLocationFsxWindowsResponse' {} Maybe Text
a -> DescribeLocationFsxWindowsResponse
s {$sel:locationUri:DescribeLocationFsxWindowsResponse' :: Maybe Text
locationUri = Maybe Text
a} :: DescribeLocationFsxWindowsResponse)
describeLocationFsxWindowsResponse_user :: Lens.Lens' DescribeLocationFsxWindowsResponse (Prelude.Maybe Prelude.Text)
describeLocationFsxWindowsResponse_user :: (Maybe Text -> f (Maybe Text))
-> DescribeLocationFsxWindowsResponse
-> f DescribeLocationFsxWindowsResponse
describeLocationFsxWindowsResponse_user = (DescribeLocationFsxWindowsResponse -> Maybe Text)
-> (DescribeLocationFsxWindowsResponse
-> Maybe Text -> DescribeLocationFsxWindowsResponse)
-> Lens
DescribeLocationFsxWindowsResponse
DescribeLocationFsxWindowsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeLocationFsxWindowsResponse' {Maybe Text
user :: Maybe Text
$sel:user:DescribeLocationFsxWindowsResponse' :: DescribeLocationFsxWindowsResponse -> Maybe Text
user} -> Maybe Text
user) (\s :: DescribeLocationFsxWindowsResponse
s@DescribeLocationFsxWindowsResponse' {} Maybe Text
a -> DescribeLocationFsxWindowsResponse
s {$sel:user:DescribeLocationFsxWindowsResponse' :: Maybe Text
user = Maybe Text
a} :: DescribeLocationFsxWindowsResponse)
describeLocationFsxWindowsResponse_locationArn :: Lens.Lens' DescribeLocationFsxWindowsResponse (Prelude.Maybe Prelude.Text)
describeLocationFsxWindowsResponse_locationArn :: (Maybe Text -> f (Maybe Text))
-> DescribeLocationFsxWindowsResponse
-> f DescribeLocationFsxWindowsResponse
describeLocationFsxWindowsResponse_locationArn = (DescribeLocationFsxWindowsResponse -> Maybe Text)
-> (DescribeLocationFsxWindowsResponse
-> Maybe Text -> DescribeLocationFsxWindowsResponse)
-> Lens
DescribeLocationFsxWindowsResponse
DescribeLocationFsxWindowsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeLocationFsxWindowsResponse' {Maybe Text
locationArn :: Maybe Text
$sel:locationArn:DescribeLocationFsxWindowsResponse' :: DescribeLocationFsxWindowsResponse -> Maybe Text
locationArn} -> Maybe Text
locationArn) (\s :: DescribeLocationFsxWindowsResponse
s@DescribeLocationFsxWindowsResponse' {} Maybe Text
a -> DescribeLocationFsxWindowsResponse
s {$sel:locationArn:DescribeLocationFsxWindowsResponse' :: Maybe Text
locationArn = Maybe Text
a} :: DescribeLocationFsxWindowsResponse)
describeLocationFsxWindowsResponse_httpStatus :: Lens.Lens' DescribeLocationFsxWindowsResponse Prelude.Int
describeLocationFsxWindowsResponse_httpStatus :: (Int -> f Int)
-> DescribeLocationFsxWindowsResponse
-> f DescribeLocationFsxWindowsResponse
describeLocationFsxWindowsResponse_httpStatus = (DescribeLocationFsxWindowsResponse -> Int)
-> (DescribeLocationFsxWindowsResponse
-> Int -> DescribeLocationFsxWindowsResponse)
-> Lens
DescribeLocationFsxWindowsResponse
DescribeLocationFsxWindowsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeLocationFsxWindowsResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeLocationFsxWindowsResponse' :: DescribeLocationFsxWindowsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeLocationFsxWindowsResponse
s@DescribeLocationFsxWindowsResponse' {} Int
a -> DescribeLocationFsxWindowsResponse
s {$sel:httpStatus:DescribeLocationFsxWindowsResponse' :: Int
httpStatus = Int
a} :: DescribeLocationFsxWindowsResponse)
instance
Prelude.NFData
DescribeLocationFsxWindowsResponse