{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.StorageGateway.Types.SMBFileShareInfo
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.StorageGateway.Types.SMBFileShareInfo 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.CaseSensitivity
import Amazonka.StorageGateway.Types.ObjectACL
import Amazonka.StorageGateway.Types.Tag

-- | The Windows file permissions and ownership information assigned, by
-- default, to native S3 objects when S3 File Gateway discovers them in S3
-- buckets. This operation is only supported for S3 File Gateways.
--
-- /See:/ 'newSMBFileShareInfo' smart constructor.
data SMBFileShareInfo = SMBFileShareInfo'
  { -- | Indicates whether @AccessBasedEnumeration@ is enabled.
    SMBFileShareInfo -> Maybe Bool
accessBasedEnumeration :: Prelude.Maybe Prelude.Bool,
    -- | A list of users or groups in the Active Directory that have
    -- administrator rights to the file share. A group must be prefixed with
    -- the \@ character. Acceptable formats include: @DOMAIN\\User1@, @user1@,
    -- @\@group1@, and @\@DOMAIN\\group1@. Can only be set if Authentication is
    -- set to @ActiveDirectory@.
    SMBFileShareInfo -> Maybe [Text]
adminUserList :: Prelude.Maybe [Prelude.Text],
    -- | The Amazon Resource Name (ARN) of the storage used for audit logs.
    SMBFileShareInfo -> Maybe Text
auditDestinationARN :: Prelude.Maybe Prelude.Text,
    SMBFileShareInfo -> Maybe Text
fileShareStatus :: Prelude.Maybe Prelude.Text,
    -- | A list of users or groups in the Active Directory that are not allowed
    -- to access the file share. A group must be prefixed with the \@
    -- character. Acceptable formats include: @DOMAIN\\User1@, @user1@,
    -- @\@group1@, and @\@DOMAIN\\group1@. Can only be set if Authentication is
    -- set to @ActiveDirectory@.
    SMBFileShareInfo -> Maybe [Text]
invalidUserList :: Prelude.Maybe [Prelude.Text],
    SMBFileShareInfo -> Maybe Text
kmsKey :: Prelude.Maybe Prelude.Text,
    -- | A list of users or groups in the Active Directory that are allowed to
    -- access the file share. A group must be prefixed with the \@ character.
    -- Acceptable formats include: @DOMAIN\\User1@, @user1@, @\@group1@, and
    -- @\@DOMAIN\\group1@. Can only be set if Authentication is set to
    -- @ActiveDirectory@.
    SMBFileShareInfo -> Maybe [Text]
validUserList :: Prelude.Maybe [Prelude.Text],
    SMBFileShareInfo -> Maybe Text
gatewayARN :: Prelude.Maybe Prelude.Text,
    -- | The file share path used by the SMB client to identify the mount point.
    SMBFileShareInfo -> Maybe Text
path :: Prelude.Maybe Prelude.Text,
    -- | Specifies the DNS name for the VPC endpoint that the SMB file share uses
    -- to connect to Amazon S3.
    --
    -- This parameter is required for SMB file shares that connect to Amazon S3
    -- through a VPC endpoint, a VPC access point, or an access point alias
    -- that points to a VPC access point.
    SMBFileShareInfo -> Maybe Text
vPCEndpointDNSName :: Prelude.Maybe Prelude.Text,
    SMBFileShareInfo -> Maybe Text
authentication :: Prelude.Maybe Prelude.Text,
    -- | Refresh cache information for the file share.
    SMBFileShareInfo -> Maybe CacheAttributes
cacheAttributes :: Prelude.Maybe CacheAttributes,
    SMBFileShareInfo -> Maybe ObjectACL
objectACL :: Prelude.Maybe ObjectACL,
    -- | Set to @true@ to use Amazon S3 server-side encryption with your own KMS
    -- key, or @false@ to use a key managed by Amazon S3. Optional.
    --
    -- Valid Values: @true@ | @false@
    SMBFileShareInfo -> Maybe Bool
kmsEncrypted :: Prelude.Maybe Prelude.Bool,
    SMBFileShareInfo -> Maybe Text
fileShareId :: Prelude.Maybe Prelude.Text,
    SMBFileShareInfo -> Maybe Text
fileShareARN :: Prelude.Maybe Prelude.Text,
    -- | The default storage class for objects put into an Amazon S3 bucket by
    -- the S3 File Gateway. The default value is @S3_INTELLIGENT_TIERING@.
    -- Optional.
    --
    -- Valid Values: @S3_STANDARD@ | @S3_INTELLIGENT_TIERING@ |
    -- @S3_STANDARD_IA@ | @S3_ONEZONE_IA@
    SMBFileShareInfo -> Maybe Text
defaultStorageClass :: Prelude.Maybe Prelude.Text,
    -- | The name of the file share. Optional.
    --
    -- @FileShareName@ must be set if an S3 prefix name is set in
    -- @LocationARN@, or if an access point or access point alias is used.
    SMBFileShareInfo -> Maybe Text
fileShareName :: Prelude.Maybe Prelude.Text,
    SMBFileShareInfo -> Maybe Text
role' :: Prelude.Maybe Prelude.Text,
    -- | If this value is set to @true@, it indicates that access control list
    -- (ACL) is enabled on the SMB file share. If it is set to @false@, it
    -- indicates that file and directory permissions are mapped to the POSIX
    -- permission.
    --
    -- For more information, see
    -- <https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html Using Microsoft Windows ACLs to control access to an SMB file share>
    -- in the /Storage Gateway User Guide/.
    SMBFileShareInfo -> Maybe Bool
sMBACLEnabled :: Prelude.Maybe Prelude.Bool,
    -- | Specifies whether opportunistic locking is enabled for the SMB file
    -- share.
    --
    -- Enabling opportunistic locking on case-sensitive shares is not
    -- recommended for workloads that involve access to files with the same
    -- name in different case.
    --
    -- Valid Values: @true@ | @false@
    SMBFileShareInfo -> Maybe Bool
oplocksEnabled :: Prelude.Maybe Prelude.Bool,
    -- | The notification policy of the file share. @SettlingTimeInSeconds@
    -- controls the number of seconds to wait after the last point in time a
    -- client wrote to a file before generating an @ObjectUploaded@
    -- notification. Because clients can make many small writes to files, it\'s
    -- best to set this parameter for as long as possible to avoid generating
    -- multiple notifications for the same file in a small time period.
    --
    -- @SettlingTimeInSeconds@ has no effect on the timing of the object
    -- uploading to Amazon S3, only the timing of the notification.
    --
    -- The following example sets @NotificationPolicy@ on with
    -- @SettlingTimeInSeconds@ set to 60.
    --
    -- @{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}@
    --
    -- The following example sets @NotificationPolicy@ off.
    --
    -- @{}@
    SMBFileShareInfo -> Maybe Text
notificationPolicy :: Prelude.Maybe Prelude.Text,
    -- | A value that sets who pays the cost of the request and the cost
    -- associated with data download from the S3 bucket. If this value is set
    -- to @true@, the requester pays the costs; otherwise, the S3 bucket owner
    -- pays. However, the S3 bucket owner always pays the cost of storing data.
    --
    -- @RequesterPays@ is a configuration for the S3 bucket that backs the file
    -- share, so make sure that the configuration on the file share is the same
    -- as the S3 bucket configuration.
    --
    -- Valid Values: @true@ | @false@
    SMBFileShareInfo -> Maybe Bool
requesterPays :: Prelude.Maybe Prelude.Bool,
    SMBFileShareInfo -> Maybe Text
locationARN :: Prelude.Maybe Prelude.Text,
    -- | A value that enables guessing of the MIME type for uploaded objects
    -- based on file extensions. Set this value to @true@ to enable MIME type
    -- guessing, otherwise set to @false@. The default value is @true@.
    --
    -- Valid Values: @true@ | @false@
    SMBFileShareInfo -> Maybe Bool
guessMIMETypeEnabled :: Prelude.Maybe Prelude.Bool,
    -- | A value that sets the write status of a file share. Set this value to
    -- @true@ to set the write status to read-only, otherwise set to @false@.
    --
    -- Valid Values: @true@ | @false@
    SMBFileShareInfo -> Maybe Bool
readOnly :: Prelude.Maybe Prelude.Bool,
    -- | Specifies the Region of the S3 bucket where the SMB file share stores
    -- files.
    --
    -- This parameter is required for SMB file shares that connect to Amazon S3
    -- through a VPC endpoint, a VPC access point, or an access point alias
    -- that points to a VPC access point.
    SMBFileShareInfo -> Maybe Text
bucketRegion :: Prelude.Maybe Prelude.Text,
    -- | The case of an object name in an Amazon S3 bucket. For
    -- @ClientSpecified@, the client determines the case sensitivity. For
    -- @CaseSensitive@, the gateway determines the case sensitivity. The
    -- default value is @ClientSpecified@.
    SMBFileShareInfo -> Maybe CaseSensitivity
caseSensitivity :: Prelude.Maybe CaseSensitivity,
    -- | A list of up to 50 tags assigned to the SMB file share, sorted
    -- alphabetically by key name. Each tag is a key-value pair. For a gateway
    -- with more than 10 tags assigned, you can view all tags using the
    -- @ListTagsForResource@ API operation.
    SMBFileShareInfo -> Maybe [Tag]
tags :: Prelude.Maybe [Tag]
  }
  deriving (SMBFileShareInfo -> SMBFileShareInfo -> Bool
(SMBFileShareInfo -> SMBFileShareInfo -> Bool)
-> (SMBFileShareInfo -> SMBFileShareInfo -> Bool)
-> Eq SMBFileShareInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SMBFileShareInfo -> SMBFileShareInfo -> Bool
$c/= :: SMBFileShareInfo -> SMBFileShareInfo -> Bool
== :: SMBFileShareInfo -> SMBFileShareInfo -> Bool
$c== :: SMBFileShareInfo -> SMBFileShareInfo -> Bool
Prelude.Eq, ReadPrec [SMBFileShareInfo]
ReadPrec SMBFileShareInfo
Int -> ReadS SMBFileShareInfo
ReadS [SMBFileShareInfo]
(Int -> ReadS SMBFileShareInfo)
-> ReadS [SMBFileShareInfo]
-> ReadPrec SMBFileShareInfo
-> ReadPrec [SMBFileShareInfo]
-> Read SMBFileShareInfo
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SMBFileShareInfo]
$creadListPrec :: ReadPrec [SMBFileShareInfo]
readPrec :: ReadPrec SMBFileShareInfo
$creadPrec :: ReadPrec SMBFileShareInfo
readList :: ReadS [SMBFileShareInfo]
$creadList :: ReadS [SMBFileShareInfo]
readsPrec :: Int -> ReadS SMBFileShareInfo
$creadsPrec :: Int -> ReadS SMBFileShareInfo
Prelude.Read, Int -> SMBFileShareInfo -> ShowS
[SMBFileShareInfo] -> ShowS
SMBFileShareInfo -> String
(Int -> SMBFileShareInfo -> ShowS)
-> (SMBFileShareInfo -> String)
-> ([SMBFileShareInfo] -> ShowS)
-> Show SMBFileShareInfo
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SMBFileShareInfo] -> ShowS
$cshowList :: [SMBFileShareInfo] -> ShowS
show :: SMBFileShareInfo -> String
$cshow :: SMBFileShareInfo -> String
showsPrec :: Int -> SMBFileShareInfo -> ShowS
$cshowsPrec :: Int -> SMBFileShareInfo -> ShowS
Prelude.Show, (forall x. SMBFileShareInfo -> Rep SMBFileShareInfo x)
-> (forall x. Rep SMBFileShareInfo x -> SMBFileShareInfo)
-> Generic SMBFileShareInfo
forall x. Rep SMBFileShareInfo x -> SMBFileShareInfo
forall x. SMBFileShareInfo -> Rep SMBFileShareInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SMBFileShareInfo x -> SMBFileShareInfo
$cfrom :: forall x. SMBFileShareInfo -> Rep SMBFileShareInfo x
Prelude.Generic)

-- |
-- Create a value of 'SMBFileShareInfo' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'accessBasedEnumeration', 'sMBFileShareInfo_accessBasedEnumeration' - Indicates whether @AccessBasedEnumeration@ is enabled.
--
-- 'adminUserList', 'sMBFileShareInfo_adminUserList' - A list of users or groups in the Active Directory that have
-- administrator rights to the file share. A group must be prefixed with
-- the \@ character. Acceptable formats include: @DOMAIN\\User1@, @user1@,
-- @\@group1@, and @\@DOMAIN\\group1@. Can only be set if Authentication is
-- set to @ActiveDirectory@.
--
-- 'auditDestinationARN', 'sMBFileShareInfo_auditDestinationARN' - The Amazon Resource Name (ARN) of the storage used for audit logs.
--
-- 'fileShareStatus', 'sMBFileShareInfo_fileShareStatus' - Undocumented member.
--
-- 'invalidUserList', 'sMBFileShareInfo_invalidUserList' - A list of users or groups in the Active Directory that are not allowed
-- to access the file share. A group must be prefixed with the \@
-- character. Acceptable formats include: @DOMAIN\\User1@, @user1@,
-- @\@group1@, and @\@DOMAIN\\group1@. Can only be set if Authentication is
-- set to @ActiveDirectory@.
--
-- 'kmsKey', 'sMBFileShareInfo_kmsKey' - Undocumented member.
--
-- 'validUserList', 'sMBFileShareInfo_validUserList' - A list of users or groups in the Active Directory that are allowed to
-- access the file share. A group must be prefixed with the \@ character.
-- Acceptable formats include: @DOMAIN\\User1@, @user1@, @\@group1@, and
-- @\@DOMAIN\\group1@. Can only be set if Authentication is set to
-- @ActiveDirectory@.
--
-- 'gatewayARN', 'sMBFileShareInfo_gatewayARN' - Undocumented member.
--
-- 'path', 'sMBFileShareInfo_path' - The file share path used by the SMB client to identify the mount point.
--
-- 'vPCEndpointDNSName', 'sMBFileShareInfo_vPCEndpointDNSName' - Specifies the DNS name for the VPC endpoint that the SMB file share uses
-- to connect to Amazon S3.
--
-- This parameter is required for SMB file shares that connect to Amazon S3
-- through a VPC endpoint, a VPC access point, or an access point alias
-- that points to a VPC access point.
--
-- 'authentication', 'sMBFileShareInfo_authentication' - Undocumented member.
--
-- 'cacheAttributes', 'sMBFileShareInfo_cacheAttributes' - Refresh cache information for the file share.
--
-- 'objectACL', 'sMBFileShareInfo_objectACL' - Undocumented member.
--
-- 'kmsEncrypted', 'sMBFileShareInfo_kmsEncrypted' - Set to @true@ to use Amazon S3 server-side encryption with your own KMS
-- key, or @false@ to use a key managed by Amazon S3. Optional.
--
-- Valid Values: @true@ | @false@
--
-- 'fileShareId', 'sMBFileShareInfo_fileShareId' - Undocumented member.
--
-- 'fileShareARN', 'sMBFileShareInfo_fileShareARN' - Undocumented member.
--
-- 'defaultStorageClass', 'sMBFileShareInfo_defaultStorageClass' - The default storage class for objects put into an Amazon S3 bucket by
-- the S3 File Gateway. The default value is @S3_INTELLIGENT_TIERING@.
-- Optional.
--
-- Valid Values: @S3_STANDARD@ | @S3_INTELLIGENT_TIERING@ |
-- @S3_STANDARD_IA@ | @S3_ONEZONE_IA@
--
-- 'fileShareName', 'sMBFileShareInfo_fileShareName' - The name of the file share. Optional.
--
-- @FileShareName@ must be set if an S3 prefix name is set in
-- @LocationARN@, or if an access point or access point alias is used.
--
-- 'role'', 'sMBFileShareInfo_role' - Undocumented member.
--
-- 'sMBACLEnabled', 'sMBFileShareInfo_sMBACLEnabled' - If this value is set to @true@, it indicates that access control list
-- (ACL) is enabled on the SMB file share. If it is set to @false@, it
-- indicates that file and directory permissions are mapped to the POSIX
-- permission.
--
-- For more information, see
-- <https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html Using Microsoft Windows ACLs to control access to an SMB file share>
-- in the /Storage Gateway User Guide/.
--
-- 'oplocksEnabled', 'sMBFileShareInfo_oplocksEnabled' - Specifies whether opportunistic locking is enabled for the SMB file
-- share.
--
-- Enabling opportunistic locking on case-sensitive shares is not
-- recommended for workloads that involve access to files with the same
-- name in different case.
--
-- Valid Values: @true@ | @false@
--
-- 'notificationPolicy', 'sMBFileShareInfo_notificationPolicy' - The notification policy of the file share. @SettlingTimeInSeconds@
-- controls the number of seconds to wait after the last point in time a
-- client wrote to a file before generating an @ObjectUploaded@
-- notification. Because clients can make many small writes to files, it\'s
-- best to set this parameter for as long as possible to avoid generating
-- multiple notifications for the same file in a small time period.
--
-- @SettlingTimeInSeconds@ has no effect on the timing of the object
-- uploading to Amazon S3, only the timing of the notification.
--
-- The following example sets @NotificationPolicy@ on with
-- @SettlingTimeInSeconds@ set to 60.
--
-- @{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}@
--
-- The following example sets @NotificationPolicy@ off.
--
-- @{}@
--
-- 'requesterPays', 'sMBFileShareInfo_requesterPays' - A value that sets who pays the cost of the request and the cost
-- associated with data download from the S3 bucket. If this value is set
-- to @true@, the requester pays the costs; otherwise, the S3 bucket owner
-- pays. However, the S3 bucket owner always pays the cost of storing data.
--
-- @RequesterPays@ is a configuration for the S3 bucket that backs the file
-- share, so make sure that the configuration on the file share is the same
-- as the S3 bucket configuration.
--
-- Valid Values: @true@ | @false@
--
-- 'locationARN', 'sMBFileShareInfo_locationARN' - Undocumented member.
--
-- 'guessMIMETypeEnabled', 'sMBFileShareInfo_guessMIMETypeEnabled' - A value that enables guessing of the MIME type for uploaded objects
-- based on file extensions. Set this value to @true@ to enable MIME type
-- guessing, otherwise set to @false@. The default value is @true@.
--
-- Valid Values: @true@ | @false@
--
-- 'readOnly', 'sMBFileShareInfo_readOnly' - A value that sets the write status of a file share. Set this value to
-- @true@ to set the write status to read-only, otherwise set to @false@.
--
-- Valid Values: @true@ | @false@
--
-- 'bucketRegion', 'sMBFileShareInfo_bucketRegion' - Specifies the Region of the S3 bucket where the SMB file share stores
-- files.
--
-- This parameter is required for SMB file shares that connect to Amazon S3
-- through a VPC endpoint, a VPC access point, or an access point alias
-- that points to a VPC access point.
--
-- 'caseSensitivity', 'sMBFileShareInfo_caseSensitivity' - The case of an object name in an Amazon S3 bucket. For
-- @ClientSpecified@, the client determines the case sensitivity. For
-- @CaseSensitive@, the gateway determines the case sensitivity. The
-- default value is @ClientSpecified@.
--
-- 'tags', 'sMBFileShareInfo_tags' - A list of up to 50 tags assigned to the SMB file share, sorted
-- alphabetically by key name. Each tag is a key-value pair. For a gateway
-- with more than 10 tags assigned, you can view all tags using the
-- @ListTagsForResource@ API operation.
newSMBFileShareInfo ::
  SMBFileShareInfo
newSMBFileShareInfo :: SMBFileShareInfo
newSMBFileShareInfo =
  SMBFileShareInfo' :: Maybe Bool
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> 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 Bool
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe CaseSensitivity
-> Maybe [Tag]
-> SMBFileShareInfo
SMBFileShareInfo'
    { $sel:accessBasedEnumeration:SMBFileShareInfo' :: Maybe Bool
accessBasedEnumeration =
        Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:adminUserList:SMBFileShareInfo' :: Maybe [Text]
adminUserList = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:auditDestinationARN:SMBFileShareInfo' :: Maybe Text
auditDestinationARN = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:fileShareStatus:SMBFileShareInfo' :: Maybe Text
fileShareStatus = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:invalidUserList:SMBFileShareInfo' :: Maybe [Text]
invalidUserList = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:kmsKey:SMBFileShareInfo' :: Maybe Text
kmsKey = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:validUserList:SMBFileShareInfo' :: Maybe [Text]
validUserList = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:gatewayARN:SMBFileShareInfo' :: Maybe Text
gatewayARN = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:path:SMBFileShareInfo' :: Maybe Text
path = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:vPCEndpointDNSName:SMBFileShareInfo' :: Maybe Text
vPCEndpointDNSName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:authentication:SMBFileShareInfo' :: Maybe Text
authentication = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:cacheAttributes:SMBFileShareInfo' :: Maybe CacheAttributes
cacheAttributes = Maybe CacheAttributes
forall a. Maybe a
Prelude.Nothing,
      $sel:objectACL:SMBFileShareInfo' :: Maybe ObjectACL
objectACL = Maybe ObjectACL
forall a. Maybe a
Prelude.Nothing,
      $sel:kmsEncrypted:SMBFileShareInfo' :: Maybe Bool
kmsEncrypted = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:fileShareId:SMBFileShareInfo' :: Maybe Text
fileShareId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:fileShareARN:SMBFileShareInfo' :: Maybe Text
fileShareARN = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:defaultStorageClass:SMBFileShareInfo' :: Maybe Text
defaultStorageClass = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:fileShareName:SMBFileShareInfo' :: Maybe Text
fileShareName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:role':SMBFileShareInfo' :: Maybe Text
role' = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:sMBACLEnabled:SMBFileShareInfo' :: Maybe Bool
sMBACLEnabled = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:oplocksEnabled:SMBFileShareInfo' :: Maybe Bool
oplocksEnabled = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:notificationPolicy:SMBFileShareInfo' :: Maybe Text
notificationPolicy = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:requesterPays:SMBFileShareInfo' :: Maybe Bool
requesterPays = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:locationARN:SMBFileShareInfo' :: Maybe Text
locationARN = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:guessMIMETypeEnabled:SMBFileShareInfo' :: Maybe Bool
guessMIMETypeEnabled = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:readOnly:SMBFileShareInfo' :: Maybe Bool
readOnly = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:bucketRegion:SMBFileShareInfo' :: Maybe Text
bucketRegion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:caseSensitivity:SMBFileShareInfo' :: Maybe CaseSensitivity
caseSensitivity = Maybe CaseSensitivity
forall a. Maybe a
Prelude.Nothing,
      $sel:tags:SMBFileShareInfo' :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing
    }

-- | Indicates whether @AccessBasedEnumeration@ is enabled.
sMBFileShareInfo_accessBasedEnumeration :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Bool)
sMBFileShareInfo_accessBasedEnumeration :: (Maybe Bool -> f (Maybe Bool))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_accessBasedEnumeration = (SMBFileShareInfo -> Maybe Bool)
-> (SMBFileShareInfo -> Maybe Bool -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Bool
accessBasedEnumeration :: Maybe Bool
$sel:accessBasedEnumeration:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
accessBasedEnumeration} -> Maybe Bool
accessBasedEnumeration) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Bool
a -> SMBFileShareInfo
s {$sel:accessBasedEnumeration:SMBFileShareInfo' :: Maybe Bool
accessBasedEnumeration = Maybe Bool
a} :: SMBFileShareInfo)

-- | A list of users or groups in the Active Directory that have
-- administrator rights to the file share. A group must be prefixed with
-- the \@ character. Acceptable formats include: @DOMAIN\\User1@, @user1@,
-- @\@group1@, and @\@DOMAIN\\group1@. Can only be set if Authentication is
-- set to @ActiveDirectory@.
sMBFileShareInfo_adminUserList :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe [Prelude.Text])
sMBFileShareInfo_adminUserList :: (Maybe [Text] -> f (Maybe [Text]))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_adminUserList = (SMBFileShareInfo -> Maybe [Text])
-> (SMBFileShareInfo -> Maybe [Text] -> SMBFileShareInfo)
-> Lens
     SMBFileShareInfo SMBFileShareInfo (Maybe [Text]) (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe [Text]
adminUserList :: Maybe [Text]
$sel:adminUserList:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe [Text]
adminUserList} -> Maybe [Text]
adminUserList) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe [Text]
a -> SMBFileShareInfo
s {$sel:adminUserList:SMBFileShareInfo' :: Maybe [Text]
adminUserList = Maybe [Text]
a} :: SMBFileShareInfo) ((Maybe [Text] -> f (Maybe [Text]))
 -> SMBFileShareInfo -> f SMBFileShareInfo)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> SMBFileShareInfo
-> f SMBFileShareInfo
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The Amazon Resource Name (ARN) of the storage used for audit logs.
sMBFileShareInfo_auditDestinationARN :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_auditDestinationARN :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_auditDestinationARN = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
auditDestinationARN :: Maybe Text
$sel:auditDestinationARN:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
auditDestinationARN} -> Maybe Text
auditDestinationARN) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:auditDestinationARN:SMBFileShareInfo' :: Maybe Text
auditDestinationARN = Maybe Text
a} :: SMBFileShareInfo)

-- | Undocumented member.
sMBFileShareInfo_fileShareStatus :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_fileShareStatus :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_fileShareStatus = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
fileShareStatus :: Maybe Text
$sel:fileShareStatus:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
fileShareStatus} -> Maybe Text
fileShareStatus) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:fileShareStatus:SMBFileShareInfo' :: Maybe Text
fileShareStatus = Maybe Text
a} :: SMBFileShareInfo)

-- | A list of users or groups in the Active Directory that are not allowed
-- to access the file share. A group must be prefixed with the \@
-- character. Acceptable formats include: @DOMAIN\\User1@, @user1@,
-- @\@group1@, and @\@DOMAIN\\group1@. Can only be set if Authentication is
-- set to @ActiveDirectory@.
sMBFileShareInfo_invalidUserList :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe [Prelude.Text])
sMBFileShareInfo_invalidUserList :: (Maybe [Text] -> f (Maybe [Text]))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_invalidUserList = (SMBFileShareInfo -> Maybe [Text])
-> (SMBFileShareInfo -> Maybe [Text] -> SMBFileShareInfo)
-> Lens
     SMBFileShareInfo SMBFileShareInfo (Maybe [Text]) (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe [Text]
invalidUserList :: Maybe [Text]
$sel:invalidUserList:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe [Text]
invalidUserList} -> Maybe [Text]
invalidUserList) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe [Text]
a -> SMBFileShareInfo
s {$sel:invalidUserList:SMBFileShareInfo' :: Maybe [Text]
invalidUserList = Maybe [Text]
a} :: SMBFileShareInfo) ((Maybe [Text] -> f (Maybe [Text]))
 -> SMBFileShareInfo -> f SMBFileShareInfo)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> SMBFileShareInfo
-> f SMBFileShareInfo
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | Undocumented member.
sMBFileShareInfo_kmsKey :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_kmsKey :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_kmsKey = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
kmsKey :: Maybe Text
$sel:kmsKey:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
kmsKey} -> Maybe Text
kmsKey) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:kmsKey:SMBFileShareInfo' :: Maybe Text
kmsKey = Maybe Text
a} :: SMBFileShareInfo)

-- | A list of users or groups in the Active Directory that are allowed to
-- access the file share. A group must be prefixed with the \@ character.
-- Acceptable formats include: @DOMAIN\\User1@, @user1@, @\@group1@, and
-- @\@DOMAIN\\group1@. Can only be set if Authentication is set to
-- @ActiveDirectory@.
sMBFileShareInfo_validUserList :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe [Prelude.Text])
sMBFileShareInfo_validUserList :: (Maybe [Text] -> f (Maybe [Text]))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_validUserList = (SMBFileShareInfo -> Maybe [Text])
-> (SMBFileShareInfo -> Maybe [Text] -> SMBFileShareInfo)
-> Lens
     SMBFileShareInfo SMBFileShareInfo (Maybe [Text]) (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe [Text]
validUserList :: Maybe [Text]
$sel:validUserList:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe [Text]
validUserList} -> Maybe [Text]
validUserList) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe [Text]
a -> SMBFileShareInfo
s {$sel:validUserList:SMBFileShareInfo' :: Maybe [Text]
validUserList = Maybe [Text]
a} :: SMBFileShareInfo) ((Maybe [Text] -> f (Maybe [Text]))
 -> SMBFileShareInfo -> f SMBFileShareInfo)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> SMBFileShareInfo
-> f SMBFileShareInfo
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | Undocumented member.
sMBFileShareInfo_gatewayARN :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_gatewayARN :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_gatewayARN = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
gatewayARN :: Maybe Text
$sel:gatewayARN:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
gatewayARN} -> Maybe Text
gatewayARN) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:gatewayARN:SMBFileShareInfo' :: Maybe Text
gatewayARN = Maybe Text
a} :: SMBFileShareInfo)

-- | The file share path used by the SMB client to identify the mount point.
sMBFileShareInfo_path :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_path :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_path = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
path :: Maybe Text
$sel:path:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
path} -> Maybe Text
path) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:path:SMBFileShareInfo' :: Maybe Text
path = Maybe Text
a} :: SMBFileShareInfo)

-- | Specifies the DNS name for the VPC endpoint that the SMB file share uses
-- to connect to Amazon S3.
--
-- This parameter is required for SMB file shares that connect to Amazon S3
-- through a VPC endpoint, a VPC access point, or an access point alias
-- that points to a VPC access point.
sMBFileShareInfo_vPCEndpointDNSName :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_vPCEndpointDNSName :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_vPCEndpointDNSName = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
vPCEndpointDNSName :: Maybe Text
$sel:vPCEndpointDNSName:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
vPCEndpointDNSName} -> Maybe Text
vPCEndpointDNSName) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:vPCEndpointDNSName:SMBFileShareInfo' :: Maybe Text
vPCEndpointDNSName = Maybe Text
a} :: SMBFileShareInfo)

-- | Undocumented member.
sMBFileShareInfo_authentication :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_authentication :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_authentication = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
authentication :: Maybe Text
$sel:authentication:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
authentication} -> Maybe Text
authentication) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:authentication:SMBFileShareInfo' :: Maybe Text
authentication = Maybe Text
a} :: SMBFileShareInfo)

-- | Refresh cache information for the file share.
sMBFileShareInfo_cacheAttributes :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe CacheAttributes)
sMBFileShareInfo_cacheAttributes :: (Maybe CacheAttributes -> f (Maybe CacheAttributes))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_cacheAttributes = (SMBFileShareInfo -> Maybe CacheAttributes)
-> (SMBFileShareInfo -> Maybe CacheAttributes -> SMBFileShareInfo)
-> Lens
     SMBFileShareInfo
     SMBFileShareInfo
     (Maybe CacheAttributes)
     (Maybe CacheAttributes)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe CacheAttributes
cacheAttributes :: Maybe CacheAttributes
$sel:cacheAttributes:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe CacheAttributes
cacheAttributes} -> Maybe CacheAttributes
cacheAttributes) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe CacheAttributes
a -> SMBFileShareInfo
s {$sel:cacheAttributes:SMBFileShareInfo' :: Maybe CacheAttributes
cacheAttributes = Maybe CacheAttributes
a} :: SMBFileShareInfo)

-- | Undocumented member.
sMBFileShareInfo_objectACL :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe ObjectACL)
sMBFileShareInfo_objectACL :: (Maybe ObjectACL -> f (Maybe ObjectACL))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_objectACL = (SMBFileShareInfo -> Maybe ObjectACL)
-> (SMBFileShareInfo -> Maybe ObjectACL -> SMBFileShareInfo)
-> Lens
     SMBFileShareInfo
     SMBFileShareInfo
     (Maybe ObjectACL)
     (Maybe ObjectACL)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe ObjectACL
objectACL :: Maybe ObjectACL
$sel:objectACL:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe ObjectACL
objectACL} -> Maybe ObjectACL
objectACL) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe ObjectACL
a -> SMBFileShareInfo
s {$sel:objectACL:SMBFileShareInfo' :: Maybe ObjectACL
objectACL = Maybe ObjectACL
a} :: SMBFileShareInfo)

-- | Set to @true@ to use Amazon S3 server-side encryption with your own KMS
-- key, or @false@ to use a key managed by Amazon S3. Optional.
--
-- Valid Values: @true@ | @false@
sMBFileShareInfo_kmsEncrypted :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Bool)
sMBFileShareInfo_kmsEncrypted :: (Maybe Bool -> f (Maybe Bool))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_kmsEncrypted = (SMBFileShareInfo -> Maybe Bool)
-> (SMBFileShareInfo -> Maybe Bool -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Bool
kmsEncrypted :: Maybe Bool
$sel:kmsEncrypted:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
kmsEncrypted} -> Maybe Bool
kmsEncrypted) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Bool
a -> SMBFileShareInfo
s {$sel:kmsEncrypted:SMBFileShareInfo' :: Maybe Bool
kmsEncrypted = Maybe Bool
a} :: SMBFileShareInfo)

-- | Undocumented member.
sMBFileShareInfo_fileShareId :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_fileShareId :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_fileShareId = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
fileShareId :: Maybe Text
$sel:fileShareId:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
fileShareId} -> Maybe Text
fileShareId) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:fileShareId:SMBFileShareInfo' :: Maybe Text
fileShareId = Maybe Text
a} :: SMBFileShareInfo)

-- | Undocumented member.
sMBFileShareInfo_fileShareARN :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_fileShareARN :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_fileShareARN = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
fileShareARN :: Maybe Text
$sel:fileShareARN:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
fileShareARN} -> Maybe Text
fileShareARN) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:fileShareARN:SMBFileShareInfo' :: Maybe Text
fileShareARN = Maybe Text
a} :: SMBFileShareInfo)

-- | The default storage class for objects put into an Amazon S3 bucket by
-- the S3 File Gateway. The default value is @S3_INTELLIGENT_TIERING@.
-- Optional.
--
-- Valid Values: @S3_STANDARD@ | @S3_INTELLIGENT_TIERING@ |
-- @S3_STANDARD_IA@ | @S3_ONEZONE_IA@
sMBFileShareInfo_defaultStorageClass :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_defaultStorageClass :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_defaultStorageClass = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
defaultStorageClass :: Maybe Text
$sel:defaultStorageClass:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
defaultStorageClass} -> Maybe Text
defaultStorageClass) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:defaultStorageClass:SMBFileShareInfo' :: Maybe Text
defaultStorageClass = Maybe Text
a} :: SMBFileShareInfo)

-- | The name of the file share. Optional.
--
-- @FileShareName@ must be set if an S3 prefix name is set in
-- @LocationARN@, or if an access point or access point alias is used.
sMBFileShareInfo_fileShareName :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_fileShareName :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_fileShareName = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
fileShareName :: Maybe Text
$sel:fileShareName:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
fileShareName} -> Maybe Text
fileShareName) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:fileShareName:SMBFileShareInfo' :: Maybe Text
fileShareName = Maybe Text
a} :: SMBFileShareInfo)

-- | Undocumented member.
sMBFileShareInfo_role :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_role :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_role = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
role' :: Maybe Text
$sel:role':SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
role'} -> Maybe Text
role') (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:role':SMBFileShareInfo' :: Maybe Text
role' = Maybe Text
a} :: SMBFileShareInfo)

-- | If this value is set to @true@, it indicates that access control list
-- (ACL) is enabled on the SMB file share. If it is set to @false@, it
-- indicates that file and directory permissions are mapped to the POSIX
-- permission.
--
-- For more information, see
-- <https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html Using Microsoft Windows ACLs to control access to an SMB file share>
-- in the /Storage Gateway User Guide/.
sMBFileShareInfo_sMBACLEnabled :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Bool)
sMBFileShareInfo_sMBACLEnabled :: (Maybe Bool -> f (Maybe Bool))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_sMBACLEnabled = (SMBFileShareInfo -> Maybe Bool)
-> (SMBFileShareInfo -> Maybe Bool -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Bool
sMBACLEnabled :: Maybe Bool
$sel:sMBACLEnabled:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
sMBACLEnabled} -> Maybe Bool
sMBACLEnabled) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Bool
a -> SMBFileShareInfo
s {$sel:sMBACLEnabled:SMBFileShareInfo' :: Maybe Bool
sMBACLEnabled = Maybe Bool
a} :: SMBFileShareInfo)

-- | Specifies whether opportunistic locking is enabled for the SMB file
-- share.
--
-- Enabling opportunistic locking on case-sensitive shares is not
-- recommended for workloads that involve access to files with the same
-- name in different case.
--
-- Valid Values: @true@ | @false@
sMBFileShareInfo_oplocksEnabled :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Bool)
sMBFileShareInfo_oplocksEnabled :: (Maybe Bool -> f (Maybe Bool))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_oplocksEnabled = (SMBFileShareInfo -> Maybe Bool)
-> (SMBFileShareInfo -> Maybe Bool -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Bool
oplocksEnabled :: Maybe Bool
$sel:oplocksEnabled:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
oplocksEnabled} -> Maybe Bool
oplocksEnabled) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Bool
a -> SMBFileShareInfo
s {$sel:oplocksEnabled:SMBFileShareInfo' :: Maybe Bool
oplocksEnabled = Maybe Bool
a} :: SMBFileShareInfo)

-- | The notification policy of the file share. @SettlingTimeInSeconds@
-- controls the number of seconds to wait after the last point in time a
-- client wrote to a file before generating an @ObjectUploaded@
-- notification. Because clients can make many small writes to files, it\'s
-- best to set this parameter for as long as possible to avoid generating
-- multiple notifications for the same file in a small time period.
--
-- @SettlingTimeInSeconds@ has no effect on the timing of the object
-- uploading to Amazon S3, only the timing of the notification.
--
-- The following example sets @NotificationPolicy@ on with
-- @SettlingTimeInSeconds@ set to 60.
--
-- @{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}@
--
-- The following example sets @NotificationPolicy@ off.
--
-- @{}@
sMBFileShareInfo_notificationPolicy :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_notificationPolicy :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_notificationPolicy = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
notificationPolicy :: Maybe Text
$sel:notificationPolicy:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
notificationPolicy} -> Maybe Text
notificationPolicy) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:notificationPolicy:SMBFileShareInfo' :: Maybe Text
notificationPolicy = Maybe Text
a} :: SMBFileShareInfo)

-- | A value that sets who pays the cost of the request and the cost
-- associated with data download from the S3 bucket. If this value is set
-- to @true@, the requester pays the costs; otherwise, the S3 bucket owner
-- pays. However, the S3 bucket owner always pays the cost of storing data.
--
-- @RequesterPays@ is a configuration for the S3 bucket that backs the file
-- share, so make sure that the configuration on the file share is the same
-- as the S3 bucket configuration.
--
-- Valid Values: @true@ | @false@
sMBFileShareInfo_requesterPays :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Bool)
sMBFileShareInfo_requesterPays :: (Maybe Bool -> f (Maybe Bool))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_requesterPays = (SMBFileShareInfo -> Maybe Bool)
-> (SMBFileShareInfo -> Maybe Bool -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Bool
requesterPays :: Maybe Bool
$sel:requesterPays:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
requesterPays} -> Maybe Bool
requesterPays) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Bool
a -> SMBFileShareInfo
s {$sel:requesterPays:SMBFileShareInfo' :: Maybe Bool
requesterPays = Maybe Bool
a} :: SMBFileShareInfo)

-- | Undocumented member.
sMBFileShareInfo_locationARN :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_locationARN :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_locationARN = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
locationARN :: Maybe Text
$sel:locationARN:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
locationARN} -> Maybe Text
locationARN) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:locationARN:SMBFileShareInfo' :: Maybe Text
locationARN = Maybe Text
a} :: SMBFileShareInfo)

-- | A value that enables guessing of the MIME type for uploaded objects
-- based on file extensions. Set this value to @true@ to enable MIME type
-- guessing, otherwise set to @false@. The default value is @true@.
--
-- Valid Values: @true@ | @false@
sMBFileShareInfo_guessMIMETypeEnabled :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Bool)
sMBFileShareInfo_guessMIMETypeEnabled :: (Maybe Bool -> f (Maybe Bool))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_guessMIMETypeEnabled = (SMBFileShareInfo -> Maybe Bool)
-> (SMBFileShareInfo -> Maybe Bool -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Bool
guessMIMETypeEnabled :: Maybe Bool
$sel:guessMIMETypeEnabled:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
guessMIMETypeEnabled} -> Maybe Bool
guessMIMETypeEnabled) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Bool
a -> SMBFileShareInfo
s {$sel:guessMIMETypeEnabled:SMBFileShareInfo' :: Maybe Bool
guessMIMETypeEnabled = Maybe Bool
a} :: SMBFileShareInfo)

-- | A value that sets the write status of a file share. Set this value to
-- @true@ to set the write status to read-only, otherwise set to @false@.
--
-- Valid Values: @true@ | @false@
sMBFileShareInfo_readOnly :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Bool)
sMBFileShareInfo_readOnly :: (Maybe Bool -> f (Maybe Bool))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_readOnly = (SMBFileShareInfo -> Maybe Bool)
-> (SMBFileShareInfo -> Maybe Bool -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Bool
readOnly :: Maybe Bool
$sel:readOnly:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
readOnly} -> Maybe Bool
readOnly) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Bool
a -> SMBFileShareInfo
s {$sel:readOnly:SMBFileShareInfo' :: Maybe Bool
readOnly = Maybe Bool
a} :: SMBFileShareInfo)

-- | Specifies the Region of the S3 bucket where the SMB file share stores
-- files.
--
-- This parameter is required for SMB file shares that connect to Amazon S3
-- through a VPC endpoint, a VPC access point, or an access point alias
-- that points to a VPC access point.
sMBFileShareInfo_bucketRegion :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_bucketRegion :: (Maybe Text -> f (Maybe Text))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_bucketRegion = (SMBFileShareInfo -> Maybe Text)
-> (SMBFileShareInfo -> Maybe Text -> SMBFileShareInfo)
-> Lens SMBFileShareInfo SMBFileShareInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe Text
bucketRegion :: Maybe Text
$sel:bucketRegion:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
bucketRegion} -> Maybe Text
bucketRegion) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe Text
a -> SMBFileShareInfo
s {$sel:bucketRegion:SMBFileShareInfo' :: Maybe Text
bucketRegion = Maybe Text
a} :: SMBFileShareInfo)

-- | The case of an object name in an Amazon S3 bucket. For
-- @ClientSpecified@, the client determines the case sensitivity. For
-- @CaseSensitive@, the gateway determines the case sensitivity. The
-- default value is @ClientSpecified@.
sMBFileShareInfo_caseSensitivity :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe CaseSensitivity)
sMBFileShareInfo_caseSensitivity :: (Maybe CaseSensitivity -> f (Maybe CaseSensitivity))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_caseSensitivity = (SMBFileShareInfo -> Maybe CaseSensitivity)
-> (SMBFileShareInfo -> Maybe CaseSensitivity -> SMBFileShareInfo)
-> Lens
     SMBFileShareInfo
     SMBFileShareInfo
     (Maybe CaseSensitivity)
     (Maybe CaseSensitivity)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe CaseSensitivity
caseSensitivity :: Maybe CaseSensitivity
$sel:caseSensitivity:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe CaseSensitivity
caseSensitivity} -> Maybe CaseSensitivity
caseSensitivity) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe CaseSensitivity
a -> SMBFileShareInfo
s {$sel:caseSensitivity:SMBFileShareInfo' :: Maybe CaseSensitivity
caseSensitivity = Maybe CaseSensitivity
a} :: SMBFileShareInfo)

-- | A list of up to 50 tags assigned to the SMB file share, sorted
-- alphabetically by key name. Each tag is a key-value pair. For a gateway
-- with more than 10 tags assigned, you can view all tags using the
-- @ListTagsForResource@ API operation.
sMBFileShareInfo_tags :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe [Tag])
sMBFileShareInfo_tags :: (Maybe [Tag] -> f (Maybe [Tag]))
-> SMBFileShareInfo -> f SMBFileShareInfo
sMBFileShareInfo_tags = (SMBFileShareInfo -> Maybe [Tag])
-> (SMBFileShareInfo -> Maybe [Tag] -> SMBFileShareInfo)
-> Lens
     SMBFileShareInfo SMBFileShareInfo (Maybe [Tag]) (Maybe [Tag])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMBFileShareInfo' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: SMBFileShareInfo
s@SMBFileShareInfo' {} Maybe [Tag]
a -> SMBFileShareInfo
s {$sel:tags:SMBFileShareInfo' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: SMBFileShareInfo) ((Maybe [Tag] -> f (Maybe [Tag]))
 -> SMBFileShareInfo -> f SMBFileShareInfo)
-> ((Maybe [Tag] -> f (Maybe [Tag]))
    -> Maybe [Tag] -> f (Maybe [Tag]))
-> (Maybe [Tag] -> f (Maybe [Tag]))
-> SMBFileShareInfo
-> f SMBFileShareInfo
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 SMBFileShareInfo where
  parseJSON :: Value -> Parser SMBFileShareInfo
parseJSON =
    String
-> (Object -> Parser SMBFileShareInfo)
-> Value
-> Parser SMBFileShareInfo
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"SMBFileShareInfo"
      ( \Object
x ->
          Maybe Bool
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> 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 Bool
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe CaseSensitivity
-> Maybe [Tag]
-> SMBFileShareInfo
SMBFileShareInfo'
            (Maybe Bool
 -> Maybe [Text]
 -> Maybe Text
 -> Maybe Text
 -> Maybe [Text]
 -> 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 Bool
 -> Maybe Bool
 -> Maybe Text
 -> Maybe Bool
 -> Maybe Text
 -> Maybe Bool
 -> Maybe Bool
 -> Maybe Text
 -> Maybe CaseSensitivity
 -> Maybe [Tag]
 -> SMBFileShareInfo)
-> Parser (Maybe Bool)
-> Parser
     (Maybe [Text]
      -> Maybe Text
      -> Maybe Text
      -> Maybe [Text]
      -> 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 Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
forall (f :: * -> *) a b. Functor 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
"AccessBasedEnumeration")
            Parser
  (Maybe [Text]
   -> Maybe Text
   -> Maybe Text
   -> Maybe [Text]
   -> 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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe [Text])
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe [Text]
      -> 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 Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"AdminUserList" Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
            Parser
  (Maybe Text
   -> Maybe Text
   -> Maybe [Text]
   -> 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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe [Text]
      -> 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 Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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
"AuditDestinationARN")
            Parser
  (Maybe Text
   -> Maybe [Text]
   -> 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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Text)
-> Parser
     (Maybe [Text]
      -> 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 Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe CacheAttributes
   -> Maybe ObjectACL
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe [Text])
-> Parser
     (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 Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"InvalidUserList"
                            Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty
                        )
            Parser
  (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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> 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 Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Text
   -> Maybe Text
   -> Maybe CacheAttributes
   -> Maybe ObjectACL
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> 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 Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ValidUserList" Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
            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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> 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 Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Text
   -> Maybe CacheAttributes
   -> Maybe ObjectACL
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> 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 Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Text
   -> Maybe CacheAttributes
   -> Maybe ObjectACL
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe CacheAttributes
      -> Maybe ObjectACL
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Text
   -> Maybe CacheAttributes
   -> Maybe ObjectACL
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Text)
-> Parser
     (Maybe CacheAttributes
      -> Maybe ObjectACL
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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
"Authentication")
            Parser
  (Maybe CacheAttributes
   -> Maybe ObjectACL
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe CacheAttributes)
-> Parser
     (Maybe ObjectACL
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe ObjectACL)
-> Parser
     (Maybe Bool
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Bool)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Text)
-> Parser
     (Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Bool)
-> Parser
     (Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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
"SMBACLEnabled")
            Parser
  (Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Bool)
-> Parser
     (Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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
"OplocksEnabled")
            Parser
  (Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Text)
-> Parser
     (Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Bool)
-> Parser
     (Maybe Text
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Text
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Text)
-> Parser
     (Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Bool)
-> Parser
     (Maybe Bool
      -> Maybe Text
      -> Maybe CaseSensitivity
      -> Maybe [Tag]
      -> SMBFileShareInfo)
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 CaseSensitivity
   -> Maybe [Tag]
   -> SMBFileShareInfo)
-> Parser (Maybe Bool)
-> Parser
     (Maybe Text
      -> Maybe CaseSensitivity -> Maybe [Tag] -> SMBFileShareInfo)
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 CaseSensitivity -> Maybe [Tag] -> SMBFileShareInfo)
-> Parser (Maybe Text)
-> Parser
     (Maybe CaseSensitivity -> Maybe [Tag] -> SMBFileShareInfo)
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 CaseSensitivity -> Maybe [Tag] -> SMBFileShareInfo)
-> Parser (Maybe CaseSensitivity)
-> Parser (Maybe [Tag] -> SMBFileShareInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe CaseSensitivity)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CaseSensitivity")
            Parser (Maybe [Tag] -> SMBFileShareInfo)
-> Parser (Maybe [Tag]) -> Parser SMBFileShareInfo
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 SMBFileShareInfo

instance Prelude.NFData SMBFileShareInfo