{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.StorageGateway.Types.NFSFileShareInfo where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.StorageGateway.Types.CacheAttributes
import Amazonka.StorageGateway.Types.NFSFileShareDefaults
import Amazonka.StorageGateway.Types.ObjectACL
import Amazonka.StorageGateway.Types.Tag
data NFSFileShareInfo = NFSFileShareInfo'
{
NFSFileShareInfo -> Maybe Text
auditDestinationARN :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe Text
fileShareStatus :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe Text
kmsKey :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe Text
gatewayARN :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe Text
path :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe Text
vPCEndpointDNSName :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe CacheAttributes
cacheAttributes :: Prelude.Maybe CacheAttributes,
NFSFileShareInfo -> Maybe ObjectACL
objectACL :: Prelude.Maybe ObjectACL,
NFSFileShareInfo -> Maybe Bool
kmsEncrypted :: Prelude.Maybe Prelude.Bool,
NFSFileShareInfo -> Maybe Text
fileShareId :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe Text
fileShareARN :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe Text
defaultStorageClass :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe Text
fileShareName :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe Text
role' :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe Text
notificationPolicy :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe Text
squash :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe Bool
requesterPays :: Prelude.Maybe Prelude.Bool,
NFSFileShareInfo -> Maybe NFSFileShareDefaults
nFSFileShareDefaults :: Prelude.Maybe NFSFileShareDefaults,
NFSFileShareInfo -> Maybe Text
locationARN :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe (NonEmpty Text)
clientList :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),
NFSFileShareInfo -> Maybe Bool
guessMIMETypeEnabled :: Prelude.Maybe Prelude.Bool,
NFSFileShareInfo -> Maybe Bool
readOnly :: Prelude.Maybe Prelude.Bool,
NFSFileShareInfo -> Maybe Text
bucketRegion :: Prelude.Maybe Prelude.Text,
NFSFileShareInfo -> Maybe [Tag]
tags :: Prelude.Maybe [Tag]
}
deriving (NFSFileShareInfo -> NFSFileShareInfo -> Bool
(NFSFileShareInfo -> NFSFileShareInfo -> Bool)
-> (NFSFileShareInfo -> NFSFileShareInfo -> Bool)
-> Eq NFSFileShareInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: NFSFileShareInfo -> NFSFileShareInfo -> Bool
$c/= :: NFSFileShareInfo -> NFSFileShareInfo -> Bool
== :: NFSFileShareInfo -> NFSFileShareInfo -> Bool
$c== :: NFSFileShareInfo -> NFSFileShareInfo -> Bool
Prelude.Eq, ReadPrec [NFSFileShareInfo]
ReadPrec NFSFileShareInfo
Int -> ReadS NFSFileShareInfo
ReadS [NFSFileShareInfo]
(Int -> ReadS NFSFileShareInfo)
-> ReadS [NFSFileShareInfo]
-> ReadPrec NFSFileShareInfo
-> ReadPrec [NFSFileShareInfo]
-> Read NFSFileShareInfo
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [NFSFileShareInfo]
$creadListPrec :: ReadPrec [NFSFileShareInfo]
readPrec :: ReadPrec NFSFileShareInfo
$creadPrec :: ReadPrec NFSFileShareInfo
readList :: ReadS [NFSFileShareInfo]
$creadList :: ReadS [NFSFileShareInfo]
readsPrec :: Int -> ReadS NFSFileShareInfo
$creadsPrec :: Int -> ReadS NFSFileShareInfo
Prelude.Read, Int -> NFSFileShareInfo -> ShowS
[NFSFileShareInfo] -> ShowS
NFSFileShareInfo -> String
(Int -> NFSFileShareInfo -> ShowS)
-> (NFSFileShareInfo -> String)
-> ([NFSFileShareInfo] -> ShowS)
-> Show NFSFileShareInfo
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [NFSFileShareInfo] -> ShowS
$cshowList :: [NFSFileShareInfo] -> ShowS
show :: NFSFileShareInfo -> String
$cshow :: NFSFileShareInfo -> String
showsPrec :: Int -> NFSFileShareInfo -> ShowS
$cshowsPrec :: Int -> NFSFileShareInfo -> ShowS
Prelude.Show, (forall x. NFSFileShareInfo -> Rep NFSFileShareInfo x)
-> (forall x. Rep NFSFileShareInfo x -> NFSFileShareInfo)
-> Generic NFSFileShareInfo
forall x. Rep NFSFileShareInfo x -> NFSFileShareInfo
forall x. NFSFileShareInfo -> Rep NFSFileShareInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep NFSFileShareInfo x -> NFSFileShareInfo
$cfrom :: forall x. NFSFileShareInfo -> Rep NFSFileShareInfo x
Prelude.Generic)
newNFSFileShareInfo ::
NFSFileShareInfo
newNFSFileShareInfo :: NFSFileShareInfo
newNFSFileShareInfo =
NFSFileShareInfo' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo
NFSFileShareInfo'
{ $sel:auditDestinationARN:NFSFileShareInfo' :: Maybe Text
auditDestinationARN =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:fileShareStatus:NFSFileShareInfo' :: Maybe Text
fileShareStatus = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:kmsKey:NFSFileShareInfo' :: Maybe Text
kmsKey = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:gatewayARN:NFSFileShareInfo' :: Maybe Text
gatewayARN = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:path:NFSFileShareInfo' :: Maybe Text
path = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:vPCEndpointDNSName:NFSFileShareInfo' :: Maybe Text
vPCEndpointDNSName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:cacheAttributes:NFSFileShareInfo' :: Maybe CacheAttributes
cacheAttributes = Maybe CacheAttributes
forall a. Maybe a
Prelude.Nothing,
$sel:objectACL:NFSFileShareInfo' :: Maybe ObjectACL
objectACL = Maybe ObjectACL
forall a. Maybe a
Prelude.Nothing,
$sel:kmsEncrypted:NFSFileShareInfo' :: Maybe Bool
kmsEncrypted = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:fileShareId:NFSFileShareInfo' :: Maybe Text
fileShareId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:fileShareARN:NFSFileShareInfo' :: Maybe Text
fileShareARN = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:defaultStorageClass:NFSFileShareInfo' :: Maybe Text
defaultStorageClass = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:fileShareName:NFSFileShareInfo' :: Maybe Text
fileShareName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:role':NFSFileShareInfo' :: Maybe Text
role' = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:notificationPolicy:NFSFileShareInfo' :: Maybe Text
notificationPolicy = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:squash:NFSFileShareInfo' :: Maybe Text
squash = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:requesterPays:NFSFileShareInfo' :: Maybe Bool
requesterPays = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:nFSFileShareDefaults:NFSFileShareInfo' :: Maybe NFSFileShareDefaults
nFSFileShareDefaults = Maybe NFSFileShareDefaults
forall a. Maybe a
Prelude.Nothing,
$sel:locationARN:NFSFileShareInfo' :: Maybe Text
locationARN = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:clientList:NFSFileShareInfo' :: Maybe (NonEmpty Text)
clientList = Maybe (NonEmpty Text)
forall a. Maybe a
Prelude.Nothing,
$sel:guessMIMETypeEnabled:NFSFileShareInfo' :: Maybe Bool
guessMIMETypeEnabled = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:readOnly:NFSFileShareInfo' :: Maybe Bool
readOnly = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:bucketRegion:NFSFileShareInfo' :: Maybe Text
bucketRegion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:tags:NFSFileShareInfo' :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing
}
nFSFileShareInfo_auditDestinationARN :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_auditDestinationARN :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_auditDestinationARN = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
auditDestinationARN :: Maybe Text
$sel:auditDestinationARN:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
auditDestinationARN} -> Maybe Text
auditDestinationARN) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:auditDestinationARN:NFSFileShareInfo' :: Maybe Text
auditDestinationARN = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_fileShareStatus :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_fileShareStatus :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_fileShareStatus = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
fileShareStatus :: Maybe Text
$sel:fileShareStatus:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
fileShareStatus} -> Maybe Text
fileShareStatus) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:fileShareStatus:NFSFileShareInfo' :: Maybe Text
fileShareStatus = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_kmsKey :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_kmsKey :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_kmsKey = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
kmsKey :: Maybe Text
$sel:kmsKey:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
kmsKey} -> Maybe Text
kmsKey) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:kmsKey:NFSFileShareInfo' :: Maybe Text
kmsKey = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_gatewayARN :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_gatewayARN :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_gatewayARN = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
gatewayARN :: Maybe Text
$sel:gatewayARN:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
gatewayARN} -> Maybe Text
gatewayARN) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:gatewayARN:NFSFileShareInfo' :: Maybe Text
gatewayARN = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_path :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_path :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_path = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
path :: Maybe Text
$sel:path:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
path} -> Maybe Text
path) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:path:NFSFileShareInfo' :: Maybe Text
path = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_vPCEndpointDNSName :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_vPCEndpointDNSName :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_vPCEndpointDNSName = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
vPCEndpointDNSName :: Maybe Text
$sel:vPCEndpointDNSName:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
vPCEndpointDNSName} -> Maybe Text
vPCEndpointDNSName) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:vPCEndpointDNSName:NFSFileShareInfo' :: Maybe Text
vPCEndpointDNSName = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_cacheAttributes :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe CacheAttributes)
nFSFileShareInfo_cacheAttributes :: (Maybe CacheAttributes -> f (Maybe CacheAttributes))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_cacheAttributes = (NFSFileShareInfo -> Maybe CacheAttributes)
-> (NFSFileShareInfo -> Maybe CacheAttributes -> NFSFileShareInfo)
-> Lens
NFSFileShareInfo
NFSFileShareInfo
(Maybe CacheAttributes)
(Maybe CacheAttributes)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe CacheAttributes
cacheAttributes :: Maybe CacheAttributes
$sel:cacheAttributes:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe CacheAttributes
cacheAttributes} -> Maybe CacheAttributes
cacheAttributes) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe CacheAttributes
a -> NFSFileShareInfo
s {$sel:cacheAttributes:NFSFileShareInfo' :: Maybe CacheAttributes
cacheAttributes = Maybe CacheAttributes
a} :: NFSFileShareInfo)
nFSFileShareInfo_objectACL :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe ObjectACL)
nFSFileShareInfo_objectACL :: (Maybe ObjectACL -> f (Maybe ObjectACL))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_objectACL = (NFSFileShareInfo -> Maybe ObjectACL)
-> (NFSFileShareInfo -> Maybe ObjectACL -> NFSFileShareInfo)
-> Lens
NFSFileShareInfo
NFSFileShareInfo
(Maybe ObjectACL)
(Maybe ObjectACL)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe ObjectACL
objectACL :: Maybe ObjectACL
$sel:objectACL:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe ObjectACL
objectACL} -> Maybe ObjectACL
objectACL) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe ObjectACL
a -> NFSFileShareInfo
s {$sel:objectACL:NFSFileShareInfo' :: Maybe ObjectACL
objectACL = Maybe ObjectACL
a} :: NFSFileShareInfo)
nFSFileShareInfo_kmsEncrypted :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Bool)
nFSFileShareInfo_kmsEncrypted :: (Maybe Bool -> f (Maybe Bool))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_kmsEncrypted = (NFSFileShareInfo -> Maybe Bool)
-> (NFSFileShareInfo -> Maybe Bool -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Bool
kmsEncrypted :: Maybe Bool
$sel:kmsEncrypted:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Bool
kmsEncrypted} -> Maybe Bool
kmsEncrypted) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Bool
a -> NFSFileShareInfo
s {$sel:kmsEncrypted:NFSFileShareInfo' :: Maybe Bool
kmsEncrypted = Maybe Bool
a} :: NFSFileShareInfo)
nFSFileShareInfo_fileShareId :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_fileShareId :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_fileShareId = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
fileShareId :: Maybe Text
$sel:fileShareId:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
fileShareId} -> Maybe Text
fileShareId) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:fileShareId:NFSFileShareInfo' :: Maybe Text
fileShareId = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_fileShareARN :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_fileShareARN :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_fileShareARN = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
fileShareARN :: Maybe Text
$sel:fileShareARN:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
fileShareARN} -> Maybe Text
fileShareARN) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:fileShareARN:NFSFileShareInfo' :: Maybe Text
fileShareARN = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_defaultStorageClass :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_defaultStorageClass :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_defaultStorageClass = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
defaultStorageClass :: Maybe Text
$sel:defaultStorageClass:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
defaultStorageClass} -> Maybe Text
defaultStorageClass) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:defaultStorageClass:NFSFileShareInfo' :: Maybe Text
defaultStorageClass = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_fileShareName :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_fileShareName :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_fileShareName = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
fileShareName :: Maybe Text
$sel:fileShareName:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
fileShareName} -> Maybe Text
fileShareName) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:fileShareName:NFSFileShareInfo' :: Maybe Text
fileShareName = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_role :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_role :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_role = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
role' :: Maybe Text
$sel:role':NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
role'} -> Maybe Text
role') (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:role':NFSFileShareInfo' :: Maybe Text
role' = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_notificationPolicy :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_notificationPolicy :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_notificationPolicy = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
notificationPolicy :: Maybe Text
$sel:notificationPolicy:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
notificationPolicy} -> Maybe Text
notificationPolicy) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:notificationPolicy:NFSFileShareInfo' :: Maybe Text
notificationPolicy = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_squash :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_squash :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_squash = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
squash :: Maybe Text
$sel:squash:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
squash} -> Maybe Text
squash) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:squash:NFSFileShareInfo' :: Maybe Text
squash = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_requesterPays :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Bool)
nFSFileShareInfo_requesterPays :: (Maybe Bool -> f (Maybe Bool))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_requesterPays = (NFSFileShareInfo -> Maybe Bool)
-> (NFSFileShareInfo -> Maybe Bool -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Bool
requesterPays :: Maybe Bool
$sel:requesterPays:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Bool
requesterPays} -> Maybe Bool
requesterPays) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Bool
a -> NFSFileShareInfo
s {$sel:requesterPays:NFSFileShareInfo' :: Maybe Bool
requesterPays = Maybe Bool
a} :: NFSFileShareInfo)
nFSFileShareInfo_nFSFileShareDefaults :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe NFSFileShareDefaults)
nFSFileShareInfo_nFSFileShareDefaults :: (Maybe NFSFileShareDefaults -> f (Maybe NFSFileShareDefaults))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_nFSFileShareDefaults = (NFSFileShareInfo -> Maybe NFSFileShareDefaults)
-> (NFSFileShareInfo
-> Maybe NFSFileShareDefaults -> NFSFileShareInfo)
-> Lens
NFSFileShareInfo
NFSFileShareInfo
(Maybe NFSFileShareDefaults)
(Maybe NFSFileShareDefaults)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe NFSFileShareDefaults
nFSFileShareDefaults :: Maybe NFSFileShareDefaults
$sel:nFSFileShareDefaults:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe NFSFileShareDefaults
nFSFileShareDefaults} -> Maybe NFSFileShareDefaults
nFSFileShareDefaults) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe NFSFileShareDefaults
a -> NFSFileShareInfo
s {$sel:nFSFileShareDefaults:NFSFileShareInfo' :: Maybe NFSFileShareDefaults
nFSFileShareDefaults = Maybe NFSFileShareDefaults
a} :: NFSFileShareInfo)
nFSFileShareInfo_locationARN :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_locationARN :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_locationARN = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
locationARN :: Maybe Text
$sel:locationARN:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
locationARN} -> Maybe Text
locationARN) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:locationARN:NFSFileShareInfo' :: Maybe Text
locationARN = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_clientList :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))
nFSFileShareInfo_clientList :: (Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_clientList = (NFSFileShareInfo -> Maybe (NonEmpty Text))
-> (NFSFileShareInfo -> Maybe (NonEmpty Text) -> NFSFileShareInfo)
-> Lens
NFSFileShareInfo
NFSFileShareInfo
(Maybe (NonEmpty Text))
(Maybe (NonEmpty Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe (NonEmpty Text)
clientList :: Maybe (NonEmpty Text)
$sel:clientList:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe (NonEmpty Text)
clientList} -> Maybe (NonEmpty Text)
clientList) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe (NonEmpty Text)
a -> NFSFileShareInfo
s {$sel:clientList:NFSFileShareInfo' :: Maybe (NonEmpty Text)
clientList = Maybe (NonEmpty Text)
a} :: NFSFileShareInfo) ((Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> NFSFileShareInfo -> f NFSFileShareInfo)
-> ((Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> (Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> NFSFileShareInfo
-> f NFSFileShareInfo
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
nFSFileShareInfo_guessMIMETypeEnabled :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Bool)
nFSFileShareInfo_guessMIMETypeEnabled :: (Maybe Bool -> f (Maybe Bool))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_guessMIMETypeEnabled = (NFSFileShareInfo -> Maybe Bool)
-> (NFSFileShareInfo -> Maybe Bool -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Bool
guessMIMETypeEnabled :: Maybe Bool
$sel:guessMIMETypeEnabled:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Bool
guessMIMETypeEnabled} -> Maybe Bool
guessMIMETypeEnabled) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Bool
a -> NFSFileShareInfo
s {$sel:guessMIMETypeEnabled:NFSFileShareInfo' :: Maybe Bool
guessMIMETypeEnabled = Maybe Bool
a} :: NFSFileShareInfo)
nFSFileShareInfo_readOnly :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Bool)
nFSFileShareInfo_readOnly :: (Maybe Bool -> f (Maybe Bool))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_readOnly = (NFSFileShareInfo -> Maybe Bool)
-> (NFSFileShareInfo -> Maybe Bool -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Bool
readOnly :: Maybe Bool
$sel:readOnly:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Bool
readOnly} -> Maybe Bool
readOnly) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Bool
a -> NFSFileShareInfo
s {$sel:readOnly:NFSFileShareInfo' :: Maybe Bool
readOnly = Maybe Bool
a} :: NFSFileShareInfo)
nFSFileShareInfo_bucketRegion :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe Prelude.Text)
nFSFileShareInfo_bucketRegion :: (Maybe Text -> f (Maybe Text))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_bucketRegion = (NFSFileShareInfo -> Maybe Text)
-> (NFSFileShareInfo -> Maybe Text -> NFSFileShareInfo)
-> Lens NFSFileShareInfo NFSFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe Text
bucketRegion :: Maybe Text
$sel:bucketRegion:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe Text
bucketRegion} -> Maybe Text
bucketRegion) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe Text
a -> NFSFileShareInfo
s {$sel:bucketRegion:NFSFileShareInfo' :: Maybe Text
bucketRegion = Maybe Text
a} :: NFSFileShareInfo)
nFSFileShareInfo_tags :: Lens.Lens' NFSFileShareInfo (Prelude.Maybe [Tag])
nFSFileShareInfo_tags :: (Maybe [Tag] -> f (Maybe [Tag]))
-> NFSFileShareInfo -> f NFSFileShareInfo
nFSFileShareInfo_tags = (NFSFileShareInfo -> Maybe [Tag])
-> (NFSFileShareInfo -> Maybe [Tag] -> NFSFileShareInfo)
-> Lens
NFSFileShareInfo NFSFileShareInfo (Maybe [Tag]) (Maybe [Tag])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NFSFileShareInfo' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:NFSFileShareInfo' :: NFSFileShareInfo -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: NFSFileShareInfo
s@NFSFileShareInfo' {} Maybe [Tag]
a -> NFSFileShareInfo
s {$sel:tags:NFSFileShareInfo' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: NFSFileShareInfo) ((Maybe [Tag] -> f (Maybe [Tag]))
-> NFSFileShareInfo -> f NFSFileShareInfo)
-> ((Maybe [Tag] -> f (Maybe [Tag]))
-> Maybe [Tag] -> f (Maybe [Tag]))
-> (Maybe [Tag] -> f (Maybe [Tag]))
-> NFSFileShareInfo
-> f NFSFileShareInfo
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Tag] [Tag] [Tag] [Tag]
-> Iso (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag])
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 [Tag] [Tag] [Tag] [Tag]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.FromJSON NFSFileShareInfo where
parseJSON :: Value -> Parser NFSFileShareInfo
parseJSON =
String
-> (Object -> Parser NFSFileShareInfo)
-> Value
-> Parser NFSFileShareInfo
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"NFSFileShareInfo"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo
NFSFileShareInfo'
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"AuditDestinationARN")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"FileShareStatus")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"KMSKey")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"GatewayARN")
Parser
(Maybe Text
-> Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Path")
Parser
(Maybe Text
-> Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"VPCEndpointDNSName")
Parser
(Maybe CacheAttributes
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe CacheAttributes)
-> Parser
(Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe CacheAttributes)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CacheAttributes")
Parser
(Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe ObjectACL)
-> Parser
(Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe ObjectACL)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ObjectACL")
Parser
(Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Bool)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"KMSEncrypted")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"FileShareId")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"FileShareARN")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DefaultStorageClass")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"FileShareName")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Role")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"NotificationPolicy")
Parser
(Maybe Text
-> Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Squash")
Parser
(Maybe Bool
-> Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Bool)
-> Parser
(Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"RequesterPays")
Parser
(Maybe NFSFileShareDefaults
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe NFSFileShareDefaults)
-> Parser
(Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe NFSFileShareDefaults)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"NFSFileShareDefaults")
Parser
(Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"LocationARN")
Parser
(Maybe (NonEmpty Text)
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> NFSFileShareInfo)
-> Parser (Maybe (NonEmpty Text))
-> Parser
(Maybe Bool
-> Maybe Bool -> Maybe Text -> Maybe [Tag] -> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (NonEmpty Text))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ClientList")
Parser
(Maybe Bool
-> Maybe Bool -> Maybe Text -> Maybe [Tag] -> NFSFileShareInfo)
-> Parser (Maybe Bool)
-> Parser
(Maybe Bool -> Maybe Text -> Maybe [Tag] -> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"GuessMIMETypeEnabled")
Parser
(Maybe Bool -> Maybe Text -> Maybe [Tag] -> NFSFileShareInfo)
-> Parser (Maybe Bool)
-> Parser (Maybe Text -> Maybe [Tag] -> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ReadOnly")
Parser (Maybe Text -> Maybe [Tag] -> NFSFileShareInfo)
-> Parser (Maybe Text) -> Parser (Maybe [Tag] -> NFSFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"BucketRegion")
Parser (Maybe [Tag] -> NFSFileShareInfo)
-> Parser (Maybe [Tag]) -> Parser NFSFileShareInfo
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Tag]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Tags" Parser (Maybe (Maybe [Tag])) -> Maybe [Tag] -> Parser (Maybe [Tag])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Tag]
forall a. Monoid a => a
Prelude.mempty)
)
instance Prelude.Hashable NFSFileShareInfo
instance Prelude.NFData NFSFileShareInfo