{-# 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.FSx.Types.WindowsFileSystemConfiguration
-- 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.FSx.Types.WindowsFileSystemConfiguration where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.FSx.Types.Alias
import Amazonka.FSx.Types.FileSystemMaintenanceOperation
import Amazonka.FSx.Types.SelfManagedActiveDirectoryAttributes
import Amazonka.FSx.Types.WindowsAuditLogConfiguration
import Amazonka.FSx.Types.WindowsDeploymentType
import qualified Amazonka.Prelude as Prelude

-- | The configuration for this Microsoft Windows file system.
--
-- /See:/ 'newWindowsFileSystemConfiguration' smart constructor.
data WindowsFileSystemConfiguration = WindowsFileSystemConfiguration'
  { -- | The ID for an existing Amazon Web Services Managed Microsoft Active
    -- Directory instance that the file system is joined to.
    WindowsFileSystemConfiguration -> Maybe Text
activeDirectoryId :: Prelude.Maybe Prelude.Text,
    WindowsFileSystemConfiguration -> Maybe [Alias]
aliases :: Prelude.Maybe [Alias],
    -- | The configuration that Amazon FSx for Windows File Server uses to audit
    -- and log user accesses of files, folders, and file shares on the Amazon
    -- FSx for Windows File Server file system.
    WindowsFileSystemConfiguration
-> Maybe WindowsAuditLogConfiguration
auditLogConfiguration :: Prelude.Maybe WindowsAuditLogConfiguration,
    -- | The number of days to retain automatic backups. Setting this to 0
    -- disables automatic backups. You can retain automatic backups for a
    -- maximum of 90 days.
    WindowsFileSystemConfiguration -> Maybe Natural
automaticBackupRetentionDays :: Prelude.Maybe Prelude.Natural,
    -- | A boolean flag indicating whether tags on the file system should be
    -- copied to backups. This value defaults to false. If it\'s set to true,
    -- all tags on the file system are copied to all automatic backups and any
    -- user-initiated backups where the user doesn\'t specify any tags. If this
    -- value is true, and you specify one or more tags, only the specified tags
    -- are copied to backups. If you specify one or more tags when creating a
    -- user-initiated backup, no tags are copied from the file system,
    -- regardless of this value.
    WindowsFileSystemConfiguration -> Maybe Bool
copyTagsToBackups :: Prelude.Maybe Prelude.Bool,
    -- | The preferred time to take daily automatic backups, in the UTC time
    -- zone.
    WindowsFileSystemConfiguration -> Maybe Text
dailyAutomaticBackupStartTime :: Prelude.Maybe Prelude.Text,
    -- | Specifies the file system deployment type, valid values are the
    -- following:
    --
    -- -   @MULTI_AZ_1@ - Specifies a high availability file system that is
    --     configured for Multi-AZ redundancy to tolerate temporary
    --     Availability Zone (AZ) unavailability, and supports SSD and HDD
    --     storage.
    --
    -- -   @SINGLE_AZ_1@ - (Default) Specifies a file system that is configured
    --     for single AZ redundancy, only supports SSD storage.
    --
    -- -   @SINGLE_AZ_2@ - Latest generation Single AZ file system. Specifies a
    --     file system that is configured for single AZ redundancy and supports
    --     SSD and HDD storage.
    --
    -- For more information, see
    -- <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html Single-AZ and Multi-AZ File Systems>.
    WindowsFileSystemConfiguration -> Maybe WindowsDeploymentType
deploymentType :: Prelude.Maybe WindowsDeploymentType,
    -- | The list of maintenance operations in progress for this file system.
    WindowsFileSystemConfiguration
-> Maybe [FileSystemMaintenanceOperation]
maintenanceOperationsInProgress :: Prelude.Maybe [FileSystemMaintenanceOperation],
    -- | For @MULTI_AZ_1@ deployment types, the IP address of the primary, or
    -- preferred, file server.
    --
    -- Use this IP address when mounting the file system on Linux SMB clients
    -- or Windows SMB clients that are not joined to a Microsoft Active
    -- Directory. Applicable for all Windows file system deployment types. This
    -- IP address is temporarily unavailable when the file system is undergoing
    -- maintenance. For Linux and Windows SMB clients that are joined to an
    -- Active Directory, use the file system\'s DNSName instead. For more
    -- information on mapping and mounting file shares, see
    -- <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/accessing-file-shares.html Accessing File Shares>.
    WindowsFileSystemConfiguration -> Maybe Text
preferredFileServerIp :: Prelude.Maybe Prelude.Text,
    -- | For @MULTI_AZ_1@ deployment types, it specifies the ID of the subnet
    -- where the preferred file server is located. Must be one of the two
    -- subnet IDs specified in @SubnetIds@ property. Amazon FSx serves traffic
    -- from this subnet except in the event of a failover to the secondary file
    -- server.
    --
    -- For @SINGLE_AZ_1@ and @SINGLE_AZ_2@ deployment types, this value is the
    -- same as that for @SubnetIDs@. For more information, see
    -- <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html#single-multi-az-resources Availability and durability: Single-AZ and Multi-AZ file systems>.
    WindowsFileSystemConfiguration -> Maybe Text
preferredSubnetId :: Prelude.Maybe Prelude.Text,
    -- | For @MULTI_AZ_1@ deployment types, use this endpoint when performing
    -- administrative tasks on the file system using Amazon FSx Remote
    -- PowerShell.
    --
    -- For @SINGLE_AZ_1@ and @SINGLE_AZ_2@ deployment types, this is the DNS
    -- name of the file system.
    --
    -- This endpoint is temporarily unavailable when the file system is
    -- undergoing maintenance.
    WindowsFileSystemConfiguration -> Maybe Text
remoteAdministrationEndpoint :: Prelude.Maybe Prelude.Text,
    WindowsFileSystemConfiguration
-> Maybe SelfManagedActiveDirectoryAttributes
selfManagedActiveDirectoryConfiguration :: Prelude.Maybe SelfManagedActiveDirectoryAttributes,
    -- | The throughput of the Amazon FSx file system, measured in megabytes per
    -- second.
    WindowsFileSystemConfiguration -> Maybe Natural
throughputCapacity :: Prelude.Maybe Prelude.Natural,
    -- | The preferred start time to perform weekly maintenance, formatted
    -- d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7,
    -- beginning with Monday and ending with Sunday.
    WindowsFileSystemConfiguration -> Maybe Text
weeklyMaintenanceStartTime :: Prelude.Maybe Prelude.Text
  }
  deriving (WindowsFileSystemConfiguration
-> WindowsFileSystemConfiguration -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: WindowsFileSystemConfiguration
-> WindowsFileSystemConfiguration -> Bool
$c/= :: WindowsFileSystemConfiguration
-> WindowsFileSystemConfiguration -> Bool
== :: WindowsFileSystemConfiguration
-> WindowsFileSystemConfiguration -> Bool
$c== :: WindowsFileSystemConfiguration
-> WindowsFileSystemConfiguration -> Bool
Prelude.Eq, ReadPrec [WindowsFileSystemConfiguration]
ReadPrec WindowsFileSystemConfiguration
Int -> ReadS WindowsFileSystemConfiguration
ReadS [WindowsFileSystemConfiguration]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [WindowsFileSystemConfiguration]
$creadListPrec :: ReadPrec [WindowsFileSystemConfiguration]
readPrec :: ReadPrec WindowsFileSystemConfiguration
$creadPrec :: ReadPrec WindowsFileSystemConfiguration
readList :: ReadS [WindowsFileSystemConfiguration]
$creadList :: ReadS [WindowsFileSystemConfiguration]
readsPrec :: Int -> ReadS WindowsFileSystemConfiguration
$creadsPrec :: Int -> ReadS WindowsFileSystemConfiguration
Prelude.Read, Int -> WindowsFileSystemConfiguration -> ShowS
[WindowsFileSystemConfiguration] -> ShowS
WindowsFileSystemConfiguration -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [WindowsFileSystemConfiguration] -> ShowS
$cshowList :: [WindowsFileSystemConfiguration] -> ShowS
show :: WindowsFileSystemConfiguration -> String
$cshow :: WindowsFileSystemConfiguration -> String
showsPrec :: Int -> WindowsFileSystemConfiguration -> ShowS
$cshowsPrec :: Int -> WindowsFileSystemConfiguration -> ShowS
Prelude.Show, forall x.
Rep WindowsFileSystemConfiguration x
-> WindowsFileSystemConfiguration
forall x.
WindowsFileSystemConfiguration
-> Rep WindowsFileSystemConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep WindowsFileSystemConfiguration x
-> WindowsFileSystemConfiguration
$cfrom :: forall x.
WindowsFileSystemConfiguration
-> Rep WindowsFileSystemConfiguration x
Prelude.Generic)

-- |
-- Create a value of 'WindowsFileSystemConfiguration' 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:
--
-- 'activeDirectoryId', 'windowsFileSystemConfiguration_activeDirectoryId' - The ID for an existing Amazon Web Services Managed Microsoft Active
-- Directory instance that the file system is joined to.
--
-- 'aliases', 'windowsFileSystemConfiguration_aliases' - Undocumented member.
--
-- 'auditLogConfiguration', 'windowsFileSystemConfiguration_auditLogConfiguration' - The configuration that Amazon FSx for Windows File Server uses to audit
-- and log user accesses of files, folders, and file shares on the Amazon
-- FSx for Windows File Server file system.
--
-- 'automaticBackupRetentionDays', 'windowsFileSystemConfiguration_automaticBackupRetentionDays' - The number of days to retain automatic backups. Setting this to 0
-- disables automatic backups. You can retain automatic backups for a
-- maximum of 90 days.
--
-- 'copyTagsToBackups', 'windowsFileSystemConfiguration_copyTagsToBackups' - A boolean flag indicating whether tags on the file system should be
-- copied to backups. This value defaults to false. If it\'s set to true,
-- all tags on the file system are copied to all automatic backups and any
-- user-initiated backups where the user doesn\'t specify any tags. If this
-- value is true, and you specify one or more tags, only the specified tags
-- are copied to backups. If you specify one or more tags when creating a
-- user-initiated backup, no tags are copied from the file system,
-- regardless of this value.
--
-- 'dailyAutomaticBackupStartTime', 'windowsFileSystemConfiguration_dailyAutomaticBackupStartTime' - The preferred time to take daily automatic backups, in the UTC time
-- zone.
--
-- 'deploymentType', 'windowsFileSystemConfiguration_deploymentType' - Specifies the file system deployment type, valid values are the
-- following:
--
-- -   @MULTI_AZ_1@ - Specifies a high availability file system that is
--     configured for Multi-AZ redundancy to tolerate temporary
--     Availability Zone (AZ) unavailability, and supports SSD and HDD
--     storage.
--
-- -   @SINGLE_AZ_1@ - (Default) Specifies a file system that is configured
--     for single AZ redundancy, only supports SSD storage.
--
-- -   @SINGLE_AZ_2@ - Latest generation Single AZ file system. Specifies a
--     file system that is configured for single AZ redundancy and supports
--     SSD and HDD storage.
--
-- For more information, see
-- <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html Single-AZ and Multi-AZ File Systems>.
--
-- 'maintenanceOperationsInProgress', 'windowsFileSystemConfiguration_maintenanceOperationsInProgress' - The list of maintenance operations in progress for this file system.
--
-- 'preferredFileServerIp', 'windowsFileSystemConfiguration_preferredFileServerIp' - For @MULTI_AZ_1@ deployment types, the IP address of the primary, or
-- preferred, file server.
--
-- Use this IP address when mounting the file system on Linux SMB clients
-- or Windows SMB clients that are not joined to a Microsoft Active
-- Directory. Applicable for all Windows file system deployment types. This
-- IP address is temporarily unavailable when the file system is undergoing
-- maintenance. For Linux and Windows SMB clients that are joined to an
-- Active Directory, use the file system\'s DNSName instead. For more
-- information on mapping and mounting file shares, see
-- <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/accessing-file-shares.html Accessing File Shares>.
--
-- 'preferredSubnetId', 'windowsFileSystemConfiguration_preferredSubnetId' - For @MULTI_AZ_1@ deployment types, it specifies the ID of the subnet
-- where the preferred file server is located. Must be one of the two
-- subnet IDs specified in @SubnetIds@ property. Amazon FSx serves traffic
-- from this subnet except in the event of a failover to the secondary file
-- server.
--
-- For @SINGLE_AZ_1@ and @SINGLE_AZ_2@ deployment types, this value is the
-- same as that for @SubnetIDs@. For more information, see
-- <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html#single-multi-az-resources Availability and durability: Single-AZ and Multi-AZ file systems>.
--
-- 'remoteAdministrationEndpoint', 'windowsFileSystemConfiguration_remoteAdministrationEndpoint' - For @MULTI_AZ_1@ deployment types, use this endpoint when performing
-- administrative tasks on the file system using Amazon FSx Remote
-- PowerShell.
--
-- For @SINGLE_AZ_1@ and @SINGLE_AZ_2@ deployment types, this is the DNS
-- name of the file system.
--
-- This endpoint is temporarily unavailable when the file system is
-- undergoing maintenance.
--
-- 'selfManagedActiveDirectoryConfiguration', 'windowsFileSystemConfiguration_selfManagedActiveDirectoryConfiguration' - Undocumented member.
--
-- 'throughputCapacity', 'windowsFileSystemConfiguration_throughputCapacity' - The throughput of the Amazon FSx file system, measured in megabytes per
-- second.
--
-- 'weeklyMaintenanceStartTime', 'windowsFileSystemConfiguration_weeklyMaintenanceStartTime' - The preferred start time to perform weekly maintenance, formatted
-- d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7,
-- beginning with Monday and ending with Sunday.
newWindowsFileSystemConfiguration ::
  WindowsFileSystemConfiguration
newWindowsFileSystemConfiguration :: WindowsFileSystemConfiguration
newWindowsFileSystemConfiguration =
  WindowsFileSystemConfiguration'
    { $sel:activeDirectoryId:WindowsFileSystemConfiguration' :: Maybe Text
activeDirectoryId =
        forall a. Maybe a
Prelude.Nothing,
      $sel:aliases:WindowsFileSystemConfiguration' :: Maybe [Alias]
aliases = forall a. Maybe a
Prelude.Nothing,
      $sel:auditLogConfiguration:WindowsFileSystemConfiguration' :: Maybe WindowsAuditLogConfiguration
auditLogConfiguration = forall a. Maybe a
Prelude.Nothing,
      $sel:automaticBackupRetentionDays:WindowsFileSystemConfiguration' :: Maybe Natural
automaticBackupRetentionDays =
        forall a. Maybe a
Prelude.Nothing,
      $sel:copyTagsToBackups:WindowsFileSystemConfiguration' :: Maybe Bool
copyTagsToBackups = forall a. Maybe a
Prelude.Nothing,
      $sel:dailyAutomaticBackupStartTime:WindowsFileSystemConfiguration' :: Maybe Text
dailyAutomaticBackupStartTime =
        forall a. Maybe a
Prelude.Nothing,
      $sel:deploymentType:WindowsFileSystemConfiguration' :: Maybe WindowsDeploymentType
deploymentType = forall a. Maybe a
Prelude.Nothing,
      $sel:maintenanceOperationsInProgress:WindowsFileSystemConfiguration' :: Maybe [FileSystemMaintenanceOperation]
maintenanceOperationsInProgress =
        forall a. Maybe a
Prelude.Nothing,
      $sel:preferredFileServerIp:WindowsFileSystemConfiguration' :: Maybe Text
preferredFileServerIp = forall a. Maybe a
Prelude.Nothing,
      $sel:preferredSubnetId:WindowsFileSystemConfiguration' :: Maybe Text
preferredSubnetId = forall a. Maybe a
Prelude.Nothing,
      $sel:remoteAdministrationEndpoint:WindowsFileSystemConfiguration' :: Maybe Text
remoteAdministrationEndpoint =
        forall a. Maybe a
Prelude.Nothing,
      $sel:selfManagedActiveDirectoryConfiguration:WindowsFileSystemConfiguration' :: Maybe SelfManagedActiveDirectoryAttributes
selfManagedActiveDirectoryConfiguration =
        forall a. Maybe a
Prelude.Nothing,
      $sel:throughputCapacity:WindowsFileSystemConfiguration' :: Maybe Natural
throughputCapacity = forall a. Maybe a
Prelude.Nothing,
      $sel:weeklyMaintenanceStartTime:WindowsFileSystemConfiguration' :: Maybe Text
weeklyMaintenanceStartTime =
        forall a. Maybe a
Prelude.Nothing
    }

-- | The ID for an existing Amazon Web Services Managed Microsoft Active
-- Directory instance that the file system is joined to.
windowsFileSystemConfiguration_activeDirectoryId :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe Prelude.Text)
windowsFileSystemConfiguration_activeDirectoryId :: Lens' WindowsFileSystemConfiguration (Maybe Text)
windowsFileSystemConfiguration_activeDirectoryId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe Text
activeDirectoryId :: Maybe Text
$sel:activeDirectoryId:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
activeDirectoryId} -> Maybe Text
activeDirectoryId) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe Text
a -> WindowsFileSystemConfiguration
s {$sel:activeDirectoryId:WindowsFileSystemConfiguration' :: Maybe Text
activeDirectoryId = Maybe Text
a} :: WindowsFileSystemConfiguration)

-- | Undocumented member.
windowsFileSystemConfiguration_aliases :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe [Alias])
windowsFileSystemConfiguration_aliases :: Lens' WindowsFileSystemConfiguration (Maybe [Alias])
windowsFileSystemConfiguration_aliases = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe [Alias]
aliases :: Maybe [Alias]
$sel:aliases:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe [Alias]
aliases} -> Maybe [Alias]
aliases) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe [Alias]
a -> WindowsFileSystemConfiguration
s {$sel:aliases:WindowsFileSystemConfiguration' :: Maybe [Alias]
aliases = Maybe [Alias]
a} :: WindowsFileSystemConfiguration) 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 configuration that Amazon FSx for Windows File Server uses to audit
-- and log user accesses of files, folders, and file shares on the Amazon
-- FSx for Windows File Server file system.
windowsFileSystemConfiguration_auditLogConfiguration :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe WindowsAuditLogConfiguration)
windowsFileSystemConfiguration_auditLogConfiguration :: Lens'
  WindowsFileSystemConfiguration (Maybe WindowsAuditLogConfiguration)
windowsFileSystemConfiguration_auditLogConfiguration = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe WindowsAuditLogConfiguration
auditLogConfiguration :: Maybe WindowsAuditLogConfiguration
$sel:auditLogConfiguration:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration
-> Maybe WindowsAuditLogConfiguration
auditLogConfiguration} -> Maybe WindowsAuditLogConfiguration
auditLogConfiguration) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe WindowsAuditLogConfiguration
a -> WindowsFileSystemConfiguration
s {$sel:auditLogConfiguration:WindowsFileSystemConfiguration' :: Maybe WindowsAuditLogConfiguration
auditLogConfiguration = Maybe WindowsAuditLogConfiguration
a} :: WindowsFileSystemConfiguration)

-- | The number of days to retain automatic backups. Setting this to 0
-- disables automatic backups. You can retain automatic backups for a
-- maximum of 90 days.
windowsFileSystemConfiguration_automaticBackupRetentionDays :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe Prelude.Natural)
windowsFileSystemConfiguration_automaticBackupRetentionDays :: Lens' WindowsFileSystemConfiguration (Maybe Natural)
windowsFileSystemConfiguration_automaticBackupRetentionDays = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe Natural
automaticBackupRetentionDays :: Maybe Natural
$sel:automaticBackupRetentionDays:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Natural
automaticBackupRetentionDays} -> Maybe Natural
automaticBackupRetentionDays) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe Natural
a -> WindowsFileSystemConfiguration
s {$sel:automaticBackupRetentionDays:WindowsFileSystemConfiguration' :: Maybe Natural
automaticBackupRetentionDays = Maybe Natural
a} :: WindowsFileSystemConfiguration)

-- | A boolean flag indicating whether tags on the file system should be
-- copied to backups. This value defaults to false. If it\'s set to true,
-- all tags on the file system are copied to all automatic backups and any
-- user-initiated backups where the user doesn\'t specify any tags. If this
-- value is true, and you specify one or more tags, only the specified tags
-- are copied to backups. If you specify one or more tags when creating a
-- user-initiated backup, no tags are copied from the file system,
-- regardless of this value.
windowsFileSystemConfiguration_copyTagsToBackups :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe Prelude.Bool)
windowsFileSystemConfiguration_copyTagsToBackups :: Lens' WindowsFileSystemConfiguration (Maybe Bool)
windowsFileSystemConfiguration_copyTagsToBackups = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe Bool
copyTagsToBackups :: Maybe Bool
$sel:copyTagsToBackups:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Bool
copyTagsToBackups} -> Maybe Bool
copyTagsToBackups) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe Bool
a -> WindowsFileSystemConfiguration
s {$sel:copyTagsToBackups:WindowsFileSystemConfiguration' :: Maybe Bool
copyTagsToBackups = Maybe Bool
a} :: WindowsFileSystemConfiguration)

-- | The preferred time to take daily automatic backups, in the UTC time
-- zone.
windowsFileSystemConfiguration_dailyAutomaticBackupStartTime :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe Prelude.Text)
windowsFileSystemConfiguration_dailyAutomaticBackupStartTime :: Lens' WindowsFileSystemConfiguration (Maybe Text)
windowsFileSystemConfiguration_dailyAutomaticBackupStartTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe Text
dailyAutomaticBackupStartTime :: Maybe Text
$sel:dailyAutomaticBackupStartTime:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
dailyAutomaticBackupStartTime} -> Maybe Text
dailyAutomaticBackupStartTime) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe Text
a -> WindowsFileSystemConfiguration
s {$sel:dailyAutomaticBackupStartTime:WindowsFileSystemConfiguration' :: Maybe Text
dailyAutomaticBackupStartTime = Maybe Text
a} :: WindowsFileSystemConfiguration)

-- | Specifies the file system deployment type, valid values are the
-- following:
--
-- -   @MULTI_AZ_1@ - Specifies a high availability file system that is
--     configured for Multi-AZ redundancy to tolerate temporary
--     Availability Zone (AZ) unavailability, and supports SSD and HDD
--     storage.
--
-- -   @SINGLE_AZ_1@ - (Default) Specifies a file system that is configured
--     for single AZ redundancy, only supports SSD storage.
--
-- -   @SINGLE_AZ_2@ - Latest generation Single AZ file system. Specifies a
--     file system that is configured for single AZ redundancy and supports
--     SSD and HDD storage.
--
-- For more information, see
-- <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html Single-AZ and Multi-AZ File Systems>.
windowsFileSystemConfiguration_deploymentType :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe WindowsDeploymentType)
windowsFileSystemConfiguration_deploymentType :: Lens' WindowsFileSystemConfiguration (Maybe WindowsDeploymentType)
windowsFileSystemConfiguration_deploymentType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe WindowsDeploymentType
deploymentType :: Maybe WindowsDeploymentType
$sel:deploymentType:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe WindowsDeploymentType
deploymentType} -> Maybe WindowsDeploymentType
deploymentType) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe WindowsDeploymentType
a -> WindowsFileSystemConfiguration
s {$sel:deploymentType:WindowsFileSystemConfiguration' :: Maybe WindowsDeploymentType
deploymentType = Maybe WindowsDeploymentType
a} :: WindowsFileSystemConfiguration)

-- | The list of maintenance operations in progress for this file system.
windowsFileSystemConfiguration_maintenanceOperationsInProgress :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe [FileSystemMaintenanceOperation])
windowsFileSystemConfiguration_maintenanceOperationsInProgress :: Lens'
  WindowsFileSystemConfiguration
  (Maybe [FileSystemMaintenanceOperation])
windowsFileSystemConfiguration_maintenanceOperationsInProgress = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe [FileSystemMaintenanceOperation]
maintenanceOperationsInProgress :: Maybe [FileSystemMaintenanceOperation]
$sel:maintenanceOperationsInProgress:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration
-> Maybe [FileSystemMaintenanceOperation]
maintenanceOperationsInProgress} -> Maybe [FileSystemMaintenanceOperation]
maintenanceOperationsInProgress) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe [FileSystemMaintenanceOperation]
a -> WindowsFileSystemConfiguration
s {$sel:maintenanceOperationsInProgress:WindowsFileSystemConfiguration' :: Maybe [FileSystemMaintenanceOperation]
maintenanceOperationsInProgress = Maybe [FileSystemMaintenanceOperation]
a} :: WindowsFileSystemConfiguration) 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

-- | For @MULTI_AZ_1@ deployment types, the IP address of the primary, or
-- preferred, file server.
--
-- Use this IP address when mounting the file system on Linux SMB clients
-- or Windows SMB clients that are not joined to a Microsoft Active
-- Directory. Applicable for all Windows file system deployment types. This
-- IP address is temporarily unavailable when the file system is undergoing
-- maintenance. For Linux and Windows SMB clients that are joined to an
-- Active Directory, use the file system\'s DNSName instead. For more
-- information on mapping and mounting file shares, see
-- <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/accessing-file-shares.html Accessing File Shares>.
windowsFileSystemConfiguration_preferredFileServerIp :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe Prelude.Text)
windowsFileSystemConfiguration_preferredFileServerIp :: Lens' WindowsFileSystemConfiguration (Maybe Text)
windowsFileSystemConfiguration_preferredFileServerIp = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe Text
preferredFileServerIp :: Maybe Text
$sel:preferredFileServerIp:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
preferredFileServerIp} -> Maybe Text
preferredFileServerIp) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe Text
a -> WindowsFileSystemConfiguration
s {$sel:preferredFileServerIp:WindowsFileSystemConfiguration' :: Maybe Text
preferredFileServerIp = Maybe Text
a} :: WindowsFileSystemConfiguration)

-- | For @MULTI_AZ_1@ deployment types, it specifies the ID of the subnet
-- where the preferred file server is located. Must be one of the two
-- subnet IDs specified in @SubnetIds@ property. Amazon FSx serves traffic
-- from this subnet except in the event of a failover to the secondary file
-- server.
--
-- For @SINGLE_AZ_1@ and @SINGLE_AZ_2@ deployment types, this value is the
-- same as that for @SubnetIDs@. For more information, see
-- <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html#single-multi-az-resources Availability and durability: Single-AZ and Multi-AZ file systems>.
windowsFileSystemConfiguration_preferredSubnetId :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe Prelude.Text)
windowsFileSystemConfiguration_preferredSubnetId :: Lens' WindowsFileSystemConfiguration (Maybe Text)
windowsFileSystemConfiguration_preferredSubnetId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe Text
preferredSubnetId :: Maybe Text
$sel:preferredSubnetId:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
preferredSubnetId} -> Maybe Text
preferredSubnetId) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe Text
a -> WindowsFileSystemConfiguration
s {$sel:preferredSubnetId:WindowsFileSystemConfiguration' :: Maybe Text
preferredSubnetId = Maybe Text
a} :: WindowsFileSystemConfiguration)

-- | For @MULTI_AZ_1@ deployment types, use this endpoint when performing
-- administrative tasks on the file system using Amazon FSx Remote
-- PowerShell.
--
-- For @SINGLE_AZ_1@ and @SINGLE_AZ_2@ deployment types, this is the DNS
-- name of the file system.
--
-- This endpoint is temporarily unavailable when the file system is
-- undergoing maintenance.
windowsFileSystemConfiguration_remoteAdministrationEndpoint :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe Prelude.Text)
windowsFileSystemConfiguration_remoteAdministrationEndpoint :: Lens' WindowsFileSystemConfiguration (Maybe Text)
windowsFileSystemConfiguration_remoteAdministrationEndpoint = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe Text
remoteAdministrationEndpoint :: Maybe Text
$sel:remoteAdministrationEndpoint:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
remoteAdministrationEndpoint} -> Maybe Text
remoteAdministrationEndpoint) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe Text
a -> WindowsFileSystemConfiguration
s {$sel:remoteAdministrationEndpoint:WindowsFileSystemConfiguration' :: Maybe Text
remoteAdministrationEndpoint = Maybe Text
a} :: WindowsFileSystemConfiguration)

-- | Undocumented member.
windowsFileSystemConfiguration_selfManagedActiveDirectoryConfiguration :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe SelfManagedActiveDirectoryAttributes)
windowsFileSystemConfiguration_selfManagedActiveDirectoryConfiguration :: Lens'
  WindowsFileSystemConfiguration
  (Maybe SelfManagedActiveDirectoryAttributes)
windowsFileSystemConfiguration_selfManagedActiveDirectoryConfiguration = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe SelfManagedActiveDirectoryAttributes
selfManagedActiveDirectoryConfiguration :: Maybe SelfManagedActiveDirectoryAttributes
$sel:selfManagedActiveDirectoryConfiguration:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration
-> Maybe SelfManagedActiveDirectoryAttributes
selfManagedActiveDirectoryConfiguration} -> Maybe SelfManagedActiveDirectoryAttributes
selfManagedActiveDirectoryConfiguration) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe SelfManagedActiveDirectoryAttributes
a -> WindowsFileSystemConfiguration
s {$sel:selfManagedActiveDirectoryConfiguration:WindowsFileSystemConfiguration' :: Maybe SelfManagedActiveDirectoryAttributes
selfManagedActiveDirectoryConfiguration = Maybe SelfManagedActiveDirectoryAttributes
a} :: WindowsFileSystemConfiguration)

-- | The throughput of the Amazon FSx file system, measured in megabytes per
-- second.
windowsFileSystemConfiguration_throughputCapacity :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe Prelude.Natural)
windowsFileSystemConfiguration_throughputCapacity :: Lens' WindowsFileSystemConfiguration (Maybe Natural)
windowsFileSystemConfiguration_throughputCapacity = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe Natural
throughputCapacity :: Maybe Natural
$sel:throughputCapacity:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Natural
throughputCapacity} -> Maybe Natural
throughputCapacity) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe Natural
a -> WindowsFileSystemConfiguration
s {$sel:throughputCapacity:WindowsFileSystemConfiguration' :: Maybe Natural
throughputCapacity = Maybe Natural
a} :: WindowsFileSystemConfiguration)

-- | The preferred start time to perform weekly maintenance, formatted
-- d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7,
-- beginning with Monday and ending with Sunday.
windowsFileSystemConfiguration_weeklyMaintenanceStartTime :: Lens.Lens' WindowsFileSystemConfiguration (Prelude.Maybe Prelude.Text)
windowsFileSystemConfiguration_weeklyMaintenanceStartTime :: Lens' WindowsFileSystemConfiguration (Maybe Text)
windowsFileSystemConfiguration_weeklyMaintenanceStartTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WindowsFileSystemConfiguration' {Maybe Text
weeklyMaintenanceStartTime :: Maybe Text
$sel:weeklyMaintenanceStartTime:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
weeklyMaintenanceStartTime} -> Maybe Text
weeklyMaintenanceStartTime) (\s :: WindowsFileSystemConfiguration
s@WindowsFileSystemConfiguration' {} Maybe Text
a -> WindowsFileSystemConfiguration
s {$sel:weeklyMaintenanceStartTime:WindowsFileSystemConfiguration' :: Maybe Text
weeklyMaintenanceStartTime = Maybe Text
a} :: WindowsFileSystemConfiguration)

instance Data.FromJSON WindowsFileSystemConfiguration where
  parseJSON :: Value -> Parser WindowsFileSystemConfiguration
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"WindowsFileSystemConfiguration"
      ( \Object
x ->
          Maybe Text
-> Maybe [Alias]
-> Maybe WindowsAuditLogConfiguration
-> Maybe Natural
-> Maybe Bool
-> Maybe Text
-> Maybe WindowsDeploymentType
-> Maybe [FileSystemMaintenanceOperation]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe SelfManagedActiveDirectoryAttributes
-> Maybe Natural
-> Maybe Text
-> WindowsFileSystemConfiguration
WindowsFileSystemConfiguration'
            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
"ActiveDirectoryId")
            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
"Aliases" 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
"AuditLogConfiguration")
            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
"AutomaticBackupRetentionDays")
            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
"CopyTagsToBackups")
            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
"DailyAutomaticBackupStartTime")
            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
"DeploymentType")
            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
"MaintenanceOperationsInProgress"
                            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
"PreferredFileServerIp")
            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
"PreferredSubnetId")
            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
"RemoteAdministrationEndpoint")
            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
"SelfManagedActiveDirectoryConfiguration"
                        )
            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
"ThroughputCapacity")
            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
"WeeklyMaintenanceStartTime")
      )

instance
  Prelude.Hashable
    WindowsFileSystemConfiguration
  where
  hashWithSalt :: Int -> WindowsFileSystemConfiguration -> Int
hashWithSalt
    Int
_salt
    WindowsFileSystemConfiguration' {Maybe Bool
Maybe Natural
Maybe [Alias]
Maybe [FileSystemMaintenanceOperation]
Maybe Text
Maybe SelfManagedActiveDirectoryAttributes
Maybe WindowsAuditLogConfiguration
Maybe WindowsDeploymentType
weeklyMaintenanceStartTime :: Maybe Text
throughputCapacity :: Maybe Natural
selfManagedActiveDirectoryConfiguration :: Maybe SelfManagedActiveDirectoryAttributes
remoteAdministrationEndpoint :: Maybe Text
preferredSubnetId :: Maybe Text
preferredFileServerIp :: Maybe Text
maintenanceOperationsInProgress :: Maybe [FileSystemMaintenanceOperation]
deploymentType :: Maybe WindowsDeploymentType
dailyAutomaticBackupStartTime :: Maybe Text
copyTagsToBackups :: Maybe Bool
automaticBackupRetentionDays :: Maybe Natural
auditLogConfiguration :: Maybe WindowsAuditLogConfiguration
aliases :: Maybe [Alias]
activeDirectoryId :: Maybe Text
$sel:weeklyMaintenanceStartTime:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
$sel:throughputCapacity:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Natural
$sel:selfManagedActiveDirectoryConfiguration:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration
-> Maybe SelfManagedActiveDirectoryAttributes
$sel:remoteAdministrationEndpoint:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
$sel:preferredSubnetId:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
$sel:preferredFileServerIp:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
$sel:maintenanceOperationsInProgress:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration
-> Maybe [FileSystemMaintenanceOperation]
$sel:deploymentType:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe WindowsDeploymentType
$sel:dailyAutomaticBackupStartTime:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
$sel:copyTagsToBackups:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Bool
$sel:automaticBackupRetentionDays:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Natural
$sel:auditLogConfiguration:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration
-> Maybe WindowsAuditLogConfiguration
$sel:aliases:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe [Alias]
$sel:activeDirectoryId:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
..} =
      Int
_salt
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
activeDirectoryId
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Alias]
aliases
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe WindowsAuditLogConfiguration
auditLogConfiguration
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
automaticBackupRetentionDays
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
copyTagsToBackups
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
dailyAutomaticBackupStartTime
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe WindowsDeploymentType
deploymentType
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [FileSystemMaintenanceOperation]
maintenanceOperationsInProgress
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
preferredFileServerIp
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
preferredSubnetId
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
remoteAdministrationEndpoint
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe SelfManagedActiveDirectoryAttributes
selfManagedActiveDirectoryConfiguration
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
throughputCapacity
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
weeklyMaintenanceStartTime

instance
  Prelude.NFData
    WindowsFileSystemConfiguration
  where
  rnf :: WindowsFileSystemConfiguration -> ()
rnf WindowsFileSystemConfiguration' {Maybe Bool
Maybe Natural
Maybe [Alias]
Maybe [FileSystemMaintenanceOperation]
Maybe Text
Maybe SelfManagedActiveDirectoryAttributes
Maybe WindowsAuditLogConfiguration
Maybe WindowsDeploymentType
weeklyMaintenanceStartTime :: Maybe Text
throughputCapacity :: Maybe Natural
selfManagedActiveDirectoryConfiguration :: Maybe SelfManagedActiveDirectoryAttributes
remoteAdministrationEndpoint :: Maybe Text
preferredSubnetId :: Maybe Text
preferredFileServerIp :: Maybe Text
maintenanceOperationsInProgress :: Maybe [FileSystemMaintenanceOperation]
deploymentType :: Maybe WindowsDeploymentType
dailyAutomaticBackupStartTime :: Maybe Text
copyTagsToBackups :: Maybe Bool
automaticBackupRetentionDays :: Maybe Natural
auditLogConfiguration :: Maybe WindowsAuditLogConfiguration
aliases :: Maybe [Alias]
activeDirectoryId :: Maybe Text
$sel:weeklyMaintenanceStartTime:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
$sel:throughputCapacity:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Natural
$sel:selfManagedActiveDirectoryConfiguration:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration
-> Maybe SelfManagedActiveDirectoryAttributes
$sel:remoteAdministrationEndpoint:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
$sel:preferredSubnetId:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
$sel:preferredFileServerIp:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
$sel:maintenanceOperationsInProgress:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration
-> Maybe [FileSystemMaintenanceOperation]
$sel:deploymentType:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe WindowsDeploymentType
$sel:dailyAutomaticBackupStartTime:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
$sel:copyTagsToBackups:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Bool
$sel:automaticBackupRetentionDays:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Natural
$sel:auditLogConfiguration:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration
-> Maybe WindowsAuditLogConfiguration
$sel:aliases:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe [Alias]
$sel:activeDirectoryId:WindowsFileSystemConfiguration' :: WindowsFileSystemConfiguration -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
activeDirectoryId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Alias]
aliases
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe WindowsAuditLogConfiguration
auditLogConfiguration
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
automaticBackupRetentionDays
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
copyTagsToBackups
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
dailyAutomaticBackupStartTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe WindowsDeploymentType
deploymentType
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [FileSystemMaintenanceOperation]
maintenanceOperationsInProgress
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
preferredFileServerIp
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
preferredSubnetId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
remoteAdministrationEndpoint
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe SelfManagedActiveDirectoryAttributes
selfManagedActiveDirectoryConfiguration
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
throughputCapacity
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
weeklyMaintenanceStartTime