{-# 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-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.StorageGateway.Types.SMBFileShareInfo where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
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
authentication :: Prelude.Maybe Prelude.Text,
    -- | 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,
    -- | Refresh cache information for the file share.
    SMBFileShareInfo -> Maybe CacheAttributes
cacheAttributes :: Prelude.Maybe CacheAttributes,
    -- | 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,
    -- | The default storage class for objects put into an Amazon S3 bucket by
    -- the S3 File Gateway. The default value is @S3_STANDARD@. Optional.
    --
    -- Valid Values: @S3_STANDARD@ | @S3_INTELLIGENT_TIERING@ |
    -- @S3_STANDARD_IA@ | @S3_ONEZONE_IA@
    SMBFileShareInfo -> Maybe Text
defaultStorageClass :: Prelude.Maybe Prelude.Text,
    SMBFileShareInfo -> Maybe Text
fileShareARN :: Prelude.Maybe Prelude.Text,
    SMBFileShareInfo -> Maybe Text
fileShareId :: 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
fileShareStatus :: Prelude.Maybe Prelude.Text,
    SMBFileShareInfo -> Maybe Text
gatewayARN :: 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 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],
    -- | 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
kmsKey :: Prelude.Maybe Prelude.Text,
    SMBFileShareInfo -> Maybe Text
locationARN :: Prelude.Maybe Prelude.Text,
    -- | 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,
    SMBFileShareInfo -> Maybe ObjectACL
objectACL :: Prelude.Maybe ObjectACL,
    -- | 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 file share path used by the SMB client to identify the mount point.
    SMBFileShareInfo -> Maybe Text
path :: Prelude.Maybe Prelude.Text,
    -- | 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,
    -- | 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
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,
    -- | 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],
    -- | 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,
    -- | 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]
  }
  deriving (SMBFileShareInfo -> SMBFileShareInfo -> Bool
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]
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
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. 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.
--
-- 'authentication', 'sMBFileShareInfo_authentication' - Undocumented member.
--
-- '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.
--
-- 'cacheAttributes', 'sMBFileShareInfo_cacheAttributes' - Refresh cache information for the file share.
--
-- '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@.
--
-- '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_STANDARD@. Optional.
--
-- Valid Values: @S3_STANDARD@ | @S3_INTELLIGENT_TIERING@ |
-- @S3_STANDARD_IA@ | @S3_ONEZONE_IA@
--
-- 'fileShareARN', 'sMBFileShareInfo_fileShareARN' - Undocumented member.
--
-- 'fileShareId', 'sMBFileShareInfo_fileShareId' - Undocumented member.
--
-- '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.
--
-- 'fileShareStatus', 'sMBFileShareInfo_fileShareStatus' - Undocumented member.
--
-- 'gatewayARN', 'sMBFileShareInfo_gatewayARN' - 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@
--
-- '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@.
--
-- '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@
--
-- 'kmsKey', 'sMBFileShareInfo_kmsKey' - Undocumented member.
--
-- 'locationARN', 'sMBFileShareInfo_locationARN' - Undocumented member.
--
-- '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.
--
-- @{}@
--
-- 'objectACL', 'sMBFileShareInfo_objectACL' - Undocumented member.
--
-- '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@
--
-- 'path', 'sMBFileShareInfo_path' - The file share path used by the SMB client to identify the mount point.
--
-- '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@
--
-- '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@
--
-- '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/.
--
-- '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.
--
-- '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.
--
-- '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@.
newSMBFileShareInfo ::
  SMBFileShareInfo
newSMBFileShareInfo :: SMBFileShareInfo
newSMBFileShareInfo =
  SMBFileShareInfo'
    { $sel:accessBasedEnumeration:SMBFileShareInfo' :: Maybe Bool
accessBasedEnumeration =
        forall a. Maybe a
Prelude.Nothing,
      $sel:adminUserList:SMBFileShareInfo' :: Maybe [Text]
adminUserList = forall a. Maybe a
Prelude.Nothing,
      $sel:auditDestinationARN:SMBFileShareInfo' :: Maybe Text
auditDestinationARN = forall a. Maybe a
Prelude.Nothing,
      $sel:authentication:SMBFileShareInfo' :: Maybe Text
authentication = forall a. Maybe a
Prelude.Nothing,
      $sel:bucketRegion:SMBFileShareInfo' :: Maybe Text
bucketRegion = forall a. Maybe a
Prelude.Nothing,
      $sel:cacheAttributes:SMBFileShareInfo' :: Maybe CacheAttributes
cacheAttributes = forall a. Maybe a
Prelude.Nothing,
      $sel:caseSensitivity:SMBFileShareInfo' :: Maybe CaseSensitivity
caseSensitivity = forall a. Maybe a
Prelude.Nothing,
      $sel:defaultStorageClass:SMBFileShareInfo' :: Maybe Text
defaultStorageClass = forall a. Maybe a
Prelude.Nothing,
      $sel:fileShareARN:SMBFileShareInfo' :: Maybe Text
fileShareARN = forall a. Maybe a
Prelude.Nothing,
      $sel:fileShareId:SMBFileShareInfo' :: Maybe Text
fileShareId = forall a. Maybe a
Prelude.Nothing,
      $sel:fileShareName:SMBFileShareInfo' :: Maybe Text
fileShareName = forall a. Maybe a
Prelude.Nothing,
      $sel:fileShareStatus:SMBFileShareInfo' :: Maybe Text
fileShareStatus = forall a. Maybe a
Prelude.Nothing,
      $sel:gatewayARN:SMBFileShareInfo' :: Maybe Text
gatewayARN = forall a. Maybe a
Prelude.Nothing,
      $sel:guessMIMETypeEnabled:SMBFileShareInfo' :: Maybe Bool
guessMIMETypeEnabled = forall a. Maybe a
Prelude.Nothing,
      $sel:invalidUserList:SMBFileShareInfo' :: Maybe [Text]
invalidUserList = forall a. Maybe a
Prelude.Nothing,
      $sel:kmsEncrypted:SMBFileShareInfo' :: Maybe Bool
kmsEncrypted = forall a. Maybe a
Prelude.Nothing,
      $sel:kmsKey:SMBFileShareInfo' :: Maybe Text
kmsKey = forall a. Maybe a
Prelude.Nothing,
      $sel:locationARN:SMBFileShareInfo' :: Maybe Text
locationARN = forall a. Maybe a
Prelude.Nothing,
      $sel:notificationPolicy:SMBFileShareInfo' :: Maybe Text
notificationPolicy = forall a. Maybe a
Prelude.Nothing,
      $sel:objectACL:SMBFileShareInfo' :: Maybe ObjectACL
objectACL = forall a. Maybe a
Prelude.Nothing,
      $sel:oplocksEnabled:SMBFileShareInfo' :: Maybe Bool
oplocksEnabled = forall a. Maybe a
Prelude.Nothing,
      $sel:path:SMBFileShareInfo' :: Maybe Text
path = forall a. Maybe a
Prelude.Nothing,
      $sel:readOnly:SMBFileShareInfo' :: Maybe Bool
readOnly = forall a. Maybe a
Prelude.Nothing,
      $sel:requesterPays:SMBFileShareInfo' :: Maybe Bool
requesterPays = forall a. Maybe a
Prelude.Nothing,
      $sel:role':SMBFileShareInfo' :: Maybe Text
role' = forall a. Maybe a
Prelude.Nothing,
      $sel:sMBACLEnabled:SMBFileShareInfo' :: Maybe Bool
sMBACLEnabled = forall a. Maybe a
Prelude.Nothing,
      $sel:tags:SMBFileShareInfo' :: Maybe [Tag]
tags = forall a. Maybe a
Prelude.Nothing,
      $sel:vPCEndpointDNSName:SMBFileShareInfo' :: Maybe Text
vPCEndpointDNSName = forall a. Maybe a
Prelude.Nothing,
      $sel:validUserList:SMBFileShareInfo' :: Maybe [Text]
validUserList = forall a. Maybe a
Prelude.Nothing
    }

-- | Indicates whether @AccessBasedEnumeration@ is enabled.
sMBFileShareInfo_accessBasedEnumeration :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Bool)
sMBFileShareInfo_accessBasedEnumeration :: Lens' SMBFileShareInfo (Maybe Bool)
sMBFileShareInfo_accessBasedEnumeration = 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 :: Lens' SMBFileShareInfo (Maybe [Text])
sMBFileShareInfo_adminUserList = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 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 :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_auditDestinationARN = 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_authentication :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_authentication :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_authentication = 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)

-- | 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 :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_bucketRegion = 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)

-- | Refresh cache information for the file share.
sMBFileShareInfo_cacheAttributes :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe CacheAttributes)
sMBFileShareInfo_cacheAttributes :: Lens' SMBFileShareInfo (Maybe CacheAttributes)
sMBFileShareInfo_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)

-- | 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 :: Lens' SMBFileShareInfo (Maybe CaseSensitivity)
sMBFileShareInfo_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)

-- | The default storage class for objects put into an Amazon S3 bucket by
-- the S3 File Gateway. The default value is @S3_STANDARD@. 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 :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_defaultStorageClass = 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)

-- | Undocumented member.
sMBFileShareInfo_fileShareARN :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_fileShareARN :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_fileShareARN = 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)

-- | Undocumented member.
sMBFileShareInfo_fileShareId :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_fileShareId :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_fileShareId = 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)

-- | 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 :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_fileShareName = 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_fileShareStatus :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_fileShareStatus :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_fileShareStatus = 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)

-- | Undocumented member.
sMBFileShareInfo_gatewayARN :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_gatewayARN :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_gatewayARN = 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)

-- | 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 :: Lens' SMBFileShareInfo (Maybe Bool)
sMBFileShareInfo_guessMIMETypeEnabled = 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 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 :: Lens' SMBFileShareInfo (Maybe [Text])
sMBFileShareInfo_invalidUserList = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | 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 :: Lens' SMBFileShareInfo (Maybe Bool)
sMBFileShareInfo_kmsEncrypted = 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_kmsKey :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_kmsKey :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_kmsKey = 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)

-- | Undocumented member.
sMBFileShareInfo_locationARN :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_locationARN :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_locationARN = 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)

-- | 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 :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_notificationPolicy = 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)

-- | Undocumented member.
sMBFileShareInfo_objectACL :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe ObjectACL)
sMBFileShareInfo_objectACL :: Lens' SMBFileShareInfo (Maybe ObjectACL)
sMBFileShareInfo_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)

-- | 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 :: Lens' SMBFileShareInfo (Maybe Bool)
sMBFileShareInfo_oplocksEnabled = 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 file share path used by the SMB client to identify the mount point.
sMBFileShareInfo_path :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_path :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_path = 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)

-- | 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 :: Lens' SMBFileShareInfo (Maybe Bool)
sMBFileShareInfo_readOnly = 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)

-- | 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 :: Lens' SMBFileShareInfo (Maybe Bool)
sMBFileShareInfo_requesterPays = 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_role :: Lens.Lens' SMBFileShareInfo (Prelude.Maybe Prelude.Text)
sMBFileShareInfo_role :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_role = 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 :: Lens' SMBFileShareInfo (Maybe Bool)
sMBFileShareInfo_sMBACLEnabled = 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)

-- | 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 :: Lens' SMBFileShareInfo (Maybe [Tag])
sMBFileShareInfo_tags = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | 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 :: Lens' SMBFileShareInfo (Maybe Text)
sMBFileShareInfo_vPCEndpointDNSName = 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)

-- | 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 :: Lens' SMBFileShareInfo (Maybe [Text])
sMBFileShareInfo_validUserList = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

instance Data.FromJSON SMBFileShareInfo where
  parseJSON :: Value -> Parser SMBFileShareInfo
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"SMBFileShareInfo"
      ( \Object
x ->
          Maybe Bool
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe CacheAttributes
-> Maybe CaseSensitivity
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe [Text]
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ObjectACL
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe [Tag]
-> Maybe Text
-> Maybe [Text]
-> SMBFileShareInfo
SMBFileShareInfo'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"AccessBasedEnumeration")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"AdminUserList" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"AuditDestinationARN")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Authentication")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"BucketRegion")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CacheAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CaseSensitivity")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"DefaultStorageClass")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"FileShareARN")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"FileShareId")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"FileShareName")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"FileShareStatus")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"GatewayARN")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"GuessMIMETypeEnabled")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"InvalidUserList"
                            forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"KMSEncrypted")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"KMSKey")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"LocationARN")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"NotificationPolicy")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ObjectACL")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"OplocksEnabled")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Path")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ReadOnly")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"RequesterPays")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Role")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"SMBACLEnabled")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Tags" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VPCEndpointDNSName")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ValidUserList" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
      )

instance Prelude.Hashable SMBFileShareInfo where
  hashWithSalt :: Int -> SMBFileShareInfo -> Int
hashWithSalt Int
_salt SMBFileShareInfo' {Maybe Bool
Maybe [Text]
Maybe [Tag]
Maybe Text
Maybe CacheAttributes
Maybe CaseSensitivity
Maybe ObjectACL
validUserList :: Maybe [Text]
vPCEndpointDNSName :: Maybe Text
tags :: Maybe [Tag]
sMBACLEnabled :: Maybe Bool
role' :: Maybe Text
requesterPays :: Maybe Bool
readOnly :: Maybe Bool
path :: Maybe Text
oplocksEnabled :: Maybe Bool
objectACL :: Maybe ObjectACL
notificationPolicy :: Maybe Text
locationARN :: Maybe Text
kmsKey :: Maybe Text
kmsEncrypted :: Maybe Bool
invalidUserList :: Maybe [Text]
guessMIMETypeEnabled :: Maybe Bool
gatewayARN :: Maybe Text
fileShareStatus :: Maybe Text
fileShareName :: Maybe Text
fileShareId :: Maybe Text
fileShareARN :: Maybe Text
defaultStorageClass :: Maybe Text
caseSensitivity :: Maybe CaseSensitivity
cacheAttributes :: Maybe CacheAttributes
bucketRegion :: Maybe Text
authentication :: Maybe Text
auditDestinationARN :: Maybe Text
adminUserList :: Maybe [Text]
accessBasedEnumeration :: Maybe Bool
$sel:validUserList:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe [Text]
$sel:vPCEndpointDNSName:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:tags:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe [Tag]
$sel:sMBACLEnabled:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
$sel:role':SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:requesterPays:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
$sel:readOnly:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
$sel:path:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:oplocksEnabled:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
$sel:objectACL:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe ObjectACL
$sel:notificationPolicy:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:locationARN:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:kmsKey:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:kmsEncrypted:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
$sel:invalidUserList:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe [Text]
$sel:guessMIMETypeEnabled:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
$sel:gatewayARN:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:fileShareStatus:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:fileShareName:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:fileShareId:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:fileShareARN:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:defaultStorageClass:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:caseSensitivity:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe CaseSensitivity
$sel:cacheAttributes:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe CacheAttributes
$sel:bucketRegion:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:authentication:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:auditDestinationARN:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:adminUserList:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe [Text]
$sel:accessBasedEnumeration:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
accessBasedEnumeration
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
adminUserList
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
auditDestinationARN
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
authentication
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
bucketRegion
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CacheAttributes
cacheAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CaseSensitivity
caseSensitivity
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
defaultStorageClass
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
fileShareARN
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
fileShareId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
fileShareName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
fileShareStatus
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
gatewayARN
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
guessMIMETypeEnabled
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
invalidUserList
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
kmsEncrypted
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
kmsKey
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
locationARN
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
notificationPolicy
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ObjectACL
objectACL
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
oplocksEnabled
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
path
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
readOnly
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
requesterPays
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
role'
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
sMBACLEnabled
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Tag]
tags
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
vPCEndpointDNSName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
validUserList

instance Prelude.NFData SMBFileShareInfo where
  rnf :: SMBFileShareInfo -> ()
rnf SMBFileShareInfo' {Maybe Bool
Maybe [Text]
Maybe [Tag]
Maybe Text
Maybe CacheAttributes
Maybe CaseSensitivity
Maybe ObjectACL
validUserList :: Maybe [Text]
vPCEndpointDNSName :: Maybe Text
tags :: Maybe [Tag]
sMBACLEnabled :: Maybe Bool
role' :: Maybe Text
requesterPays :: Maybe Bool
readOnly :: Maybe Bool
path :: Maybe Text
oplocksEnabled :: Maybe Bool
objectACL :: Maybe ObjectACL
notificationPolicy :: Maybe Text
locationARN :: Maybe Text
kmsKey :: Maybe Text
kmsEncrypted :: Maybe Bool
invalidUserList :: Maybe [Text]
guessMIMETypeEnabled :: Maybe Bool
gatewayARN :: Maybe Text
fileShareStatus :: Maybe Text
fileShareName :: Maybe Text
fileShareId :: Maybe Text
fileShareARN :: Maybe Text
defaultStorageClass :: Maybe Text
caseSensitivity :: Maybe CaseSensitivity
cacheAttributes :: Maybe CacheAttributes
bucketRegion :: Maybe Text
authentication :: Maybe Text
auditDestinationARN :: Maybe Text
adminUserList :: Maybe [Text]
accessBasedEnumeration :: Maybe Bool
$sel:validUserList:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe [Text]
$sel:vPCEndpointDNSName:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:tags:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe [Tag]
$sel:sMBACLEnabled:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
$sel:role':SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:requesterPays:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
$sel:readOnly:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
$sel:path:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:oplocksEnabled:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
$sel:objectACL:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe ObjectACL
$sel:notificationPolicy:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:locationARN:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:kmsKey:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:kmsEncrypted:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
$sel:invalidUserList:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe [Text]
$sel:guessMIMETypeEnabled:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
$sel:gatewayARN:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:fileShareStatus:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:fileShareName:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:fileShareId:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:fileShareARN:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:defaultStorageClass:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:caseSensitivity:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe CaseSensitivity
$sel:cacheAttributes:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe CacheAttributes
$sel:bucketRegion:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:authentication:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:auditDestinationARN:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Text
$sel:adminUserList:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe [Text]
$sel:accessBasedEnumeration:SMBFileShareInfo' :: SMBFileShareInfo -> Maybe Bool
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
accessBasedEnumeration
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
adminUserList
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
auditDestinationARN
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
authentication
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
bucketRegion
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CacheAttributes
cacheAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CaseSensitivity
caseSensitivity
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
defaultStorageClass
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
fileShareARN
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
fileShareId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
fileShareName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
fileShareStatus
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
gatewayARN
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
guessMIMETypeEnabled
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
invalidUserList
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
kmsEncrypted
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
kmsKey
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
locationARN
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
notificationPolicy
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ObjectACL
objectACL
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
oplocksEnabled
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
path
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
readOnly
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe Bool
requesterPays
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
role'
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe Bool
sMBACLEnabled
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Tag]
tags
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe Text
vPCEndpointDNSName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe [Text]
validUserList