{-# 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.StorageGateway.DescribeSMBSettings
(
DescribeSMBSettings (..),
newDescribeSMBSettings,
describeSMBSettings_gatewayARN,
DescribeSMBSettingsResponse (..),
newDescribeSMBSettingsResponse,
describeSMBSettingsResponse_gatewayARN,
describeSMBSettingsResponse_fileSharesVisible,
describeSMBSettingsResponse_activeDirectoryStatus,
describeSMBSettingsResponse_domainName,
describeSMBSettingsResponse_sMBLocalGroups,
describeSMBSettingsResponse_sMBGuestPasswordSet,
describeSMBSettingsResponse_sMBSecurityStrategy,
describeSMBSettingsResponse_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.StorageGateway.Types
data DescribeSMBSettings = DescribeSMBSettings'
{ DescribeSMBSettings -> Text
gatewayARN :: Prelude.Text
}
deriving (DescribeSMBSettings -> DescribeSMBSettings -> Bool
(DescribeSMBSettings -> DescribeSMBSettings -> Bool)
-> (DescribeSMBSettings -> DescribeSMBSettings -> Bool)
-> Eq DescribeSMBSettings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeSMBSettings -> DescribeSMBSettings -> Bool
$c/= :: DescribeSMBSettings -> DescribeSMBSettings -> Bool
== :: DescribeSMBSettings -> DescribeSMBSettings -> Bool
$c== :: DescribeSMBSettings -> DescribeSMBSettings -> Bool
Prelude.Eq, ReadPrec [DescribeSMBSettings]
ReadPrec DescribeSMBSettings
Int -> ReadS DescribeSMBSettings
ReadS [DescribeSMBSettings]
(Int -> ReadS DescribeSMBSettings)
-> ReadS [DescribeSMBSettings]
-> ReadPrec DescribeSMBSettings
-> ReadPrec [DescribeSMBSettings]
-> Read DescribeSMBSettings
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeSMBSettings]
$creadListPrec :: ReadPrec [DescribeSMBSettings]
readPrec :: ReadPrec DescribeSMBSettings
$creadPrec :: ReadPrec DescribeSMBSettings
readList :: ReadS [DescribeSMBSettings]
$creadList :: ReadS [DescribeSMBSettings]
readsPrec :: Int -> ReadS DescribeSMBSettings
$creadsPrec :: Int -> ReadS DescribeSMBSettings
Prelude.Read, Int -> DescribeSMBSettings -> ShowS
[DescribeSMBSettings] -> ShowS
DescribeSMBSettings -> String
(Int -> DescribeSMBSettings -> ShowS)
-> (DescribeSMBSettings -> String)
-> ([DescribeSMBSettings] -> ShowS)
-> Show DescribeSMBSettings
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeSMBSettings] -> ShowS
$cshowList :: [DescribeSMBSettings] -> ShowS
show :: DescribeSMBSettings -> String
$cshow :: DescribeSMBSettings -> String
showsPrec :: Int -> DescribeSMBSettings -> ShowS
$cshowsPrec :: Int -> DescribeSMBSettings -> ShowS
Prelude.Show, (forall x. DescribeSMBSettings -> Rep DescribeSMBSettings x)
-> (forall x. Rep DescribeSMBSettings x -> DescribeSMBSettings)
-> Generic DescribeSMBSettings
forall x. Rep DescribeSMBSettings x -> DescribeSMBSettings
forall x. DescribeSMBSettings -> Rep DescribeSMBSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeSMBSettings x -> DescribeSMBSettings
$cfrom :: forall x. DescribeSMBSettings -> Rep DescribeSMBSettings x
Prelude.Generic)
newDescribeSMBSettings ::
Prelude.Text ->
DescribeSMBSettings
newDescribeSMBSettings :: Text -> DescribeSMBSettings
newDescribeSMBSettings Text
pGatewayARN_ =
DescribeSMBSettings' :: Text -> DescribeSMBSettings
DescribeSMBSettings' {$sel:gatewayARN:DescribeSMBSettings' :: Text
gatewayARN = Text
pGatewayARN_}
describeSMBSettings_gatewayARN :: Lens.Lens' DescribeSMBSettings Prelude.Text
describeSMBSettings_gatewayARN :: (Text -> f Text) -> DescribeSMBSettings -> f DescribeSMBSettings
describeSMBSettings_gatewayARN = (DescribeSMBSettings -> Text)
-> (DescribeSMBSettings -> Text -> DescribeSMBSettings)
-> Lens DescribeSMBSettings DescribeSMBSettings Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSMBSettings' {Text
gatewayARN :: Text
$sel:gatewayARN:DescribeSMBSettings' :: DescribeSMBSettings -> Text
gatewayARN} -> Text
gatewayARN) (\s :: DescribeSMBSettings
s@DescribeSMBSettings' {} Text
a -> DescribeSMBSettings
s {$sel:gatewayARN:DescribeSMBSettings' :: Text
gatewayARN = Text
a} :: DescribeSMBSettings)
instance Core.AWSRequest DescribeSMBSettings where
type
AWSResponse DescribeSMBSettings =
DescribeSMBSettingsResponse
request :: DescribeSMBSettings -> Request DescribeSMBSettings
request = Service -> DescribeSMBSettings -> Request DescribeSMBSettings
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeSMBSettings
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeSMBSettings)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeSMBSettings))
-> Logger
-> Service
-> Proxy DescribeSMBSettings
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeSMBSettings)))
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 Bool
-> Maybe ActiveDirectoryStatus
-> Maybe Text
-> Maybe SMBLocalGroups
-> Maybe Bool
-> Maybe SMBSecurityStrategy
-> Int
-> DescribeSMBSettingsResponse
DescribeSMBSettingsResponse'
(Maybe Text
-> Maybe Bool
-> Maybe ActiveDirectoryStatus
-> Maybe Text
-> Maybe SMBLocalGroups
-> Maybe Bool
-> Maybe SMBSecurityStrategy
-> Int
-> DescribeSMBSettingsResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Bool
-> Maybe ActiveDirectoryStatus
-> Maybe Text
-> Maybe SMBLocalGroups
-> Maybe Bool
-> Maybe SMBSecurityStrategy
-> Int
-> DescribeSMBSettingsResponse)
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
"GatewayARN")
Either
String
(Maybe Bool
-> Maybe ActiveDirectoryStatus
-> Maybe Text
-> Maybe SMBLocalGroups
-> Maybe Bool
-> Maybe SMBSecurityStrategy
-> Int
-> DescribeSMBSettingsResponse)
-> Either String (Maybe Bool)
-> Either
String
(Maybe ActiveDirectoryStatus
-> Maybe Text
-> Maybe SMBLocalGroups
-> Maybe Bool
-> Maybe SMBSecurityStrategy
-> Int
-> DescribeSMBSettingsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"FileSharesVisible")
Either
String
(Maybe ActiveDirectoryStatus
-> Maybe Text
-> Maybe SMBLocalGroups
-> Maybe Bool
-> Maybe SMBSecurityStrategy
-> Int
-> DescribeSMBSettingsResponse)
-> Either String (Maybe ActiveDirectoryStatus)
-> Either
String
(Maybe Text
-> Maybe SMBLocalGroups
-> Maybe Bool
-> Maybe SMBSecurityStrategy
-> Int
-> DescribeSMBSettingsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe ActiveDirectoryStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ActiveDirectoryStatus")
Either
String
(Maybe Text
-> Maybe SMBLocalGroups
-> Maybe Bool
-> Maybe SMBSecurityStrategy
-> Int
-> DescribeSMBSettingsResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe SMBLocalGroups
-> Maybe Bool
-> Maybe SMBSecurityStrategy
-> Int
-> DescribeSMBSettingsResponse)
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
"DomainName")
Either
String
(Maybe SMBLocalGroups
-> Maybe Bool
-> Maybe SMBSecurityStrategy
-> Int
-> DescribeSMBSettingsResponse)
-> Either String (Maybe SMBLocalGroups)
-> Either
String
(Maybe Bool
-> Maybe SMBSecurityStrategy -> Int -> DescribeSMBSettingsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe SMBLocalGroups)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"SMBLocalGroups")
Either
String
(Maybe Bool
-> Maybe SMBSecurityStrategy -> Int -> DescribeSMBSettingsResponse)
-> Either String (Maybe Bool)
-> Either
String
(Maybe SMBSecurityStrategy -> Int -> DescribeSMBSettingsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"SMBGuestPasswordSet")
Either
String
(Maybe SMBSecurityStrategy -> Int -> DescribeSMBSettingsResponse)
-> Either String (Maybe SMBSecurityStrategy)
-> Either String (Int -> DescribeSMBSettingsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe SMBSecurityStrategy)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"SMBSecurityStrategy")
Either String (Int -> DescribeSMBSettingsResponse)
-> Either String Int -> Either String DescribeSMBSettingsResponse
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 DescribeSMBSettings
instance Prelude.NFData DescribeSMBSettings
instance Core.ToHeaders DescribeSMBSettings where
toHeaders :: DescribeSMBSettings -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeSMBSettings -> 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
"StorageGateway_20130630.DescribeSMBSettings" ::
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 DescribeSMBSettings where
toJSON :: DescribeSMBSettings -> Value
toJSON DescribeSMBSettings' {Text
gatewayARN :: Text
$sel:gatewayARN:DescribeSMBSettings' :: DescribeSMBSettings -> 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
"GatewayARN" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
gatewayARN)]
)
instance Core.ToPath DescribeSMBSettings where
toPath :: DescribeSMBSettings -> ByteString
toPath = ByteString -> DescribeSMBSettings -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeSMBSettings where
toQuery :: DescribeSMBSettings -> QueryString
toQuery = QueryString -> DescribeSMBSettings -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeSMBSettingsResponse = DescribeSMBSettingsResponse'
{ DescribeSMBSettingsResponse -> Maybe Text
gatewayARN :: Prelude.Maybe Prelude.Text,
DescribeSMBSettingsResponse -> Maybe Bool
fileSharesVisible :: Prelude.Maybe Prelude.Bool,
DescribeSMBSettingsResponse -> Maybe ActiveDirectoryStatus
activeDirectoryStatus :: Prelude.Maybe ActiveDirectoryStatus,
DescribeSMBSettingsResponse -> Maybe Text
domainName :: Prelude.Maybe Prelude.Text,
DescribeSMBSettingsResponse -> Maybe SMBLocalGroups
sMBLocalGroups :: Prelude.Maybe SMBLocalGroups,
DescribeSMBSettingsResponse -> Maybe Bool
sMBGuestPasswordSet :: Prelude.Maybe Prelude.Bool,
DescribeSMBSettingsResponse -> Maybe SMBSecurityStrategy
sMBSecurityStrategy :: Prelude.Maybe SMBSecurityStrategy,
DescribeSMBSettingsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeSMBSettingsResponse -> DescribeSMBSettingsResponse -> Bool
(DescribeSMBSettingsResponse
-> DescribeSMBSettingsResponse -> Bool)
-> (DescribeSMBSettingsResponse
-> DescribeSMBSettingsResponse -> Bool)
-> Eq DescribeSMBSettingsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeSMBSettingsResponse -> DescribeSMBSettingsResponse -> Bool
$c/= :: DescribeSMBSettingsResponse -> DescribeSMBSettingsResponse -> Bool
== :: DescribeSMBSettingsResponse -> DescribeSMBSettingsResponse -> Bool
$c== :: DescribeSMBSettingsResponse -> DescribeSMBSettingsResponse -> Bool
Prelude.Eq, ReadPrec [DescribeSMBSettingsResponse]
ReadPrec DescribeSMBSettingsResponse
Int -> ReadS DescribeSMBSettingsResponse
ReadS [DescribeSMBSettingsResponse]
(Int -> ReadS DescribeSMBSettingsResponse)
-> ReadS [DescribeSMBSettingsResponse]
-> ReadPrec DescribeSMBSettingsResponse
-> ReadPrec [DescribeSMBSettingsResponse]
-> Read DescribeSMBSettingsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeSMBSettingsResponse]
$creadListPrec :: ReadPrec [DescribeSMBSettingsResponse]
readPrec :: ReadPrec DescribeSMBSettingsResponse
$creadPrec :: ReadPrec DescribeSMBSettingsResponse
readList :: ReadS [DescribeSMBSettingsResponse]
$creadList :: ReadS [DescribeSMBSettingsResponse]
readsPrec :: Int -> ReadS DescribeSMBSettingsResponse
$creadsPrec :: Int -> ReadS DescribeSMBSettingsResponse
Prelude.Read, Int -> DescribeSMBSettingsResponse -> ShowS
[DescribeSMBSettingsResponse] -> ShowS
DescribeSMBSettingsResponse -> String
(Int -> DescribeSMBSettingsResponse -> ShowS)
-> (DescribeSMBSettingsResponse -> String)
-> ([DescribeSMBSettingsResponse] -> ShowS)
-> Show DescribeSMBSettingsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeSMBSettingsResponse] -> ShowS
$cshowList :: [DescribeSMBSettingsResponse] -> ShowS
show :: DescribeSMBSettingsResponse -> String
$cshow :: DescribeSMBSettingsResponse -> String
showsPrec :: Int -> DescribeSMBSettingsResponse -> ShowS
$cshowsPrec :: Int -> DescribeSMBSettingsResponse -> ShowS
Prelude.Show, (forall x.
DescribeSMBSettingsResponse -> Rep DescribeSMBSettingsResponse x)
-> (forall x.
Rep DescribeSMBSettingsResponse x -> DescribeSMBSettingsResponse)
-> Generic DescribeSMBSettingsResponse
forall x.
Rep DescribeSMBSettingsResponse x -> DescribeSMBSettingsResponse
forall x.
DescribeSMBSettingsResponse -> Rep DescribeSMBSettingsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeSMBSettingsResponse x -> DescribeSMBSettingsResponse
$cfrom :: forall x.
DescribeSMBSettingsResponse -> Rep DescribeSMBSettingsResponse x
Prelude.Generic)
newDescribeSMBSettingsResponse ::
Prelude.Int ->
DescribeSMBSettingsResponse
newDescribeSMBSettingsResponse :: Int -> DescribeSMBSettingsResponse
newDescribeSMBSettingsResponse Int
pHttpStatus_ =
DescribeSMBSettingsResponse' :: Maybe Text
-> Maybe Bool
-> Maybe ActiveDirectoryStatus
-> Maybe Text
-> Maybe SMBLocalGroups
-> Maybe Bool
-> Maybe SMBSecurityStrategy
-> Int
-> DescribeSMBSettingsResponse
DescribeSMBSettingsResponse'
{ $sel:gatewayARN:DescribeSMBSettingsResponse' :: Maybe Text
gatewayARN =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:fileSharesVisible:DescribeSMBSettingsResponse' :: Maybe Bool
fileSharesVisible = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:activeDirectoryStatus:DescribeSMBSettingsResponse' :: Maybe ActiveDirectoryStatus
activeDirectoryStatus = Maybe ActiveDirectoryStatus
forall a. Maybe a
Prelude.Nothing,
$sel:domainName:DescribeSMBSettingsResponse' :: Maybe Text
domainName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:sMBLocalGroups:DescribeSMBSettingsResponse' :: Maybe SMBLocalGroups
sMBLocalGroups = Maybe SMBLocalGroups
forall a. Maybe a
Prelude.Nothing,
$sel:sMBGuestPasswordSet:DescribeSMBSettingsResponse' :: Maybe Bool
sMBGuestPasswordSet = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:sMBSecurityStrategy:DescribeSMBSettingsResponse' :: Maybe SMBSecurityStrategy
sMBSecurityStrategy = Maybe SMBSecurityStrategy
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeSMBSettingsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeSMBSettingsResponse_gatewayARN :: Lens.Lens' DescribeSMBSettingsResponse (Prelude.Maybe Prelude.Text)
describeSMBSettingsResponse_gatewayARN :: (Maybe Text -> f (Maybe Text))
-> DescribeSMBSettingsResponse -> f DescribeSMBSettingsResponse
describeSMBSettingsResponse_gatewayARN = (DescribeSMBSettingsResponse -> Maybe Text)
-> (DescribeSMBSettingsResponse
-> Maybe Text -> DescribeSMBSettingsResponse)
-> Lens
DescribeSMBSettingsResponse
DescribeSMBSettingsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSMBSettingsResponse' {Maybe Text
gatewayARN :: Maybe Text
$sel:gatewayARN:DescribeSMBSettingsResponse' :: DescribeSMBSettingsResponse -> Maybe Text
gatewayARN} -> Maybe Text
gatewayARN) (\s :: DescribeSMBSettingsResponse
s@DescribeSMBSettingsResponse' {} Maybe Text
a -> DescribeSMBSettingsResponse
s {$sel:gatewayARN:DescribeSMBSettingsResponse' :: Maybe Text
gatewayARN = Maybe Text
a} :: DescribeSMBSettingsResponse)
describeSMBSettingsResponse_fileSharesVisible :: Lens.Lens' DescribeSMBSettingsResponse (Prelude.Maybe Prelude.Bool)
describeSMBSettingsResponse_fileSharesVisible :: (Maybe Bool -> f (Maybe Bool))
-> DescribeSMBSettingsResponse -> f DescribeSMBSettingsResponse
describeSMBSettingsResponse_fileSharesVisible = (DescribeSMBSettingsResponse -> Maybe Bool)
-> (DescribeSMBSettingsResponse
-> Maybe Bool -> DescribeSMBSettingsResponse)
-> Lens
DescribeSMBSettingsResponse
DescribeSMBSettingsResponse
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSMBSettingsResponse' {Maybe Bool
fileSharesVisible :: Maybe Bool
$sel:fileSharesVisible:DescribeSMBSettingsResponse' :: DescribeSMBSettingsResponse -> Maybe Bool
fileSharesVisible} -> Maybe Bool
fileSharesVisible) (\s :: DescribeSMBSettingsResponse
s@DescribeSMBSettingsResponse' {} Maybe Bool
a -> DescribeSMBSettingsResponse
s {$sel:fileSharesVisible:DescribeSMBSettingsResponse' :: Maybe Bool
fileSharesVisible = Maybe Bool
a} :: DescribeSMBSettingsResponse)
describeSMBSettingsResponse_activeDirectoryStatus :: Lens.Lens' DescribeSMBSettingsResponse (Prelude.Maybe ActiveDirectoryStatus)
describeSMBSettingsResponse_activeDirectoryStatus :: (Maybe ActiveDirectoryStatus -> f (Maybe ActiveDirectoryStatus))
-> DescribeSMBSettingsResponse -> f DescribeSMBSettingsResponse
describeSMBSettingsResponse_activeDirectoryStatus = (DescribeSMBSettingsResponse -> Maybe ActiveDirectoryStatus)
-> (DescribeSMBSettingsResponse
-> Maybe ActiveDirectoryStatus -> DescribeSMBSettingsResponse)
-> Lens
DescribeSMBSettingsResponse
DescribeSMBSettingsResponse
(Maybe ActiveDirectoryStatus)
(Maybe ActiveDirectoryStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSMBSettingsResponse' {Maybe ActiveDirectoryStatus
activeDirectoryStatus :: Maybe ActiveDirectoryStatus
$sel:activeDirectoryStatus:DescribeSMBSettingsResponse' :: DescribeSMBSettingsResponse -> Maybe ActiveDirectoryStatus
activeDirectoryStatus} -> Maybe ActiveDirectoryStatus
activeDirectoryStatus) (\s :: DescribeSMBSettingsResponse
s@DescribeSMBSettingsResponse' {} Maybe ActiveDirectoryStatus
a -> DescribeSMBSettingsResponse
s {$sel:activeDirectoryStatus:DescribeSMBSettingsResponse' :: Maybe ActiveDirectoryStatus
activeDirectoryStatus = Maybe ActiveDirectoryStatus
a} :: DescribeSMBSettingsResponse)
describeSMBSettingsResponse_domainName :: Lens.Lens' DescribeSMBSettingsResponse (Prelude.Maybe Prelude.Text)
describeSMBSettingsResponse_domainName :: (Maybe Text -> f (Maybe Text))
-> DescribeSMBSettingsResponse -> f DescribeSMBSettingsResponse
describeSMBSettingsResponse_domainName = (DescribeSMBSettingsResponse -> Maybe Text)
-> (DescribeSMBSettingsResponse
-> Maybe Text -> DescribeSMBSettingsResponse)
-> Lens
DescribeSMBSettingsResponse
DescribeSMBSettingsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSMBSettingsResponse' {Maybe Text
domainName :: Maybe Text
$sel:domainName:DescribeSMBSettingsResponse' :: DescribeSMBSettingsResponse -> Maybe Text
domainName} -> Maybe Text
domainName) (\s :: DescribeSMBSettingsResponse
s@DescribeSMBSettingsResponse' {} Maybe Text
a -> DescribeSMBSettingsResponse
s {$sel:domainName:DescribeSMBSettingsResponse' :: Maybe Text
domainName = Maybe Text
a} :: DescribeSMBSettingsResponse)
describeSMBSettingsResponse_sMBLocalGroups :: Lens.Lens' DescribeSMBSettingsResponse (Prelude.Maybe SMBLocalGroups)
describeSMBSettingsResponse_sMBLocalGroups :: (Maybe SMBLocalGroups -> f (Maybe SMBLocalGroups))
-> DescribeSMBSettingsResponse -> f DescribeSMBSettingsResponse
describeSMBSettingsResponse_sMBLocalGroups = (DescribeSMBSettingsResponse -> Maybe SMBLocalGroups)
-> (DescribeSMBSettingsResponse
-> Maybe SMBLocalGroups -> DescribeSMBSettingsResponse)
-> Lens
DescribeSMBSettingsResponse
DescribeSMBSettingsResponse
(Maybe SMBLocalGroups)
(Maybe SMBLocalGroups)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSMBSettingsResponse' {Maybe SMBLocalGroups
sMBLocalGroups :: Maybe SMBLocalGroups
$sel:sMBLocalGroups:DescribeSMBSettingsResponse' :: DescribeSMBSettingsResponse -> Maybe SMBLocalGroups
sMBLocalGroups} -> Maybe SMBLocalGroups
sMBLocalGroups) (\s :: DescribeSMBSettingsResponse
s@DescribeSMBSettingsResponse' {} Maybe SMBLocalGroups
a -> DescribeSMBSettingsResponse
s {$sel:sMBLocalGroups:DescribeSMBSettingsResponse' :: Maybe SMBLocalGroups
sMBLocalGroups = Maybe SMBLocalGroups
a} :: DescribeSMBSettingsResponse)
describeSMBSettingsResponse_sMBGuestPasswordSet :: Lens.Lens' DescribeSMBSettingsResponse (Prelude.Maybe Prelude.Bool)
describeSMBSettingsResponse_sMBGuestPasswordSet :: (Maybe Bool -> f (Maybe Bool))
-> DescribeSMBSettingsResponse -> f DescribeSMBSettingsResponse
describeSMBSettingsResponse_sMBGuestPasswordSet = (DescribeSMBSettingsResponse -> Maybe Bool)
-> (DescribeSMBSettingsResponse
-> Maybe Bool -> DescribeSMBSettingsResponse)
-> Lens
DescribeSMBSettingsResponse
DescribeSMBSettingsResponse
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSMBSettingsResponse' {Maybe Bool
sMBGuestPasswordSet :: Maybe Bool
$sel:sMBGuestPasswordSet:DescribeSMBSettingsResponse' :: DescribeSMBSettingsResponse -> Maybe Bool
sMBGuestPasswordSet} -> Maybe Bool
sMBGuestPasswordSet) (\s :: DescribeSMBSettingsResponse
s@DescribeSMBSettingsResponse' {} Maybe Bool
a -> DescribeSMBSettingsResponse
s {$sel:sMBGuestPasswordSet:DescribeSMBSettingsResponse' :: Maybe Bool
sMBGuestPasswordSet = Maybe Bool
a} :: DescribeSMBSettingsResponse)
describeSMBSettingsResponse_sMBSecurityStrategy :: Lens.Lens' DescribeSMBSettingsResponse (Prelude.Maybe SMBSecurityStrategy)
describeSMBSettingsResponse_sMBSecurityStrategy :: (Maybe SMBSecurityStrategy -> f (Maybe SMBSecurityStrategy))
-> DescribeSMBSettingsResponse -> f DescribeSMBSettingsResponse
describeSMBSettingsResponse_sMBSecurityStrategy = (DescribeSMBSettingsResponse -> Maybe SMBSecurityStrategy)
-> (DescribeSMBSettingsResponse
-> Maybe SMBSecurityStrategy -> DescribeSMBSettingsResponse)
-> Lens
DescribeSMBSettingsResponse
DescribeSMBSettingsResponse
(Maybe SMBSecurityStrategy)
(Maybe SMBSecurityStrategy)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSMBSettingsResponse' {Maybe SMBSecurityStrategy
sMBSecurityStrategy :: Maybe SMBSecurityStrategy
$sel:sMBSecurityStrategy:DescribeSMBSettingsResponse' :: DescribeSMBSettingsResponse -> Maybe SMBSecurityStrategy
sMBSecurityStrategy} -> Maybe SMBSecurityStrategy
sMBSecurityStrategy) (\s :: DescribeSMBSettingsResponse
s@DescribeSMBSettingsResponse' {} Maybe SMBSecurityStrategy
a -> DescribeSMBSettingsResponse
s {$sel:sMBSecurityStrategy:DescribeSMBSettingsResponse' :: Maybe SMBSecurityStrategy
sMBSecurityStrategy = Maybe SMBSecurityStrategy
a} :: DescribeSMBSettingsResponse)
describeSMBSettingsResponse_httpStatus :: Lens.Lens' DescribeSMBSettingsResponse Prelude.Int
describeSMBSettingsResponse_httpStatus :: (Int -> f Int)
-> DescribeSMBSettingsResponse -> f DescribeSMBSettingsResponse
describeSMBSettingsResponse_httpStatus = (DescribeSMBSettingsResponse -> Int)
-> (DescribeSMBSettingsResponse
-> Int -> DescribeSMBSettingsResponse)
-> Lens
DescribeSMBSettingsResponse DescribeSMBSettingsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSMBSettingsResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeSMBSettingsResponse' :: DescribeSMBSettingsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeSMBSettingsResponse
s@DescribeSMBSettingsResponse' {} Int
a -> DescribeSMBSettingsResponse
s {$sel:httpStatus:DescribeSMBSettingsResponse' :: Int
httpStatus = Int
a} :: DescribeSMBSettingsResponse)
instance Prelude.NFData DescribeSMBSettingsResponse