{-# 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.RDS.Types.OrderableDBInstanceOption
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.RDS.Types.OrderableDBInstanceOption where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.RDS.Types.AvailabilityZone
import Amazonka.RDS.Types.AvailableProcessorFeature

-- | Contains a list of available options for a DB instance.
--
-- This data type is used as a response element in the
-- @DescribeOrderableDBInstanceOptions@ action.
--
-- /See:/ 'newOrderableDBInstanceOption' smart constructor.
data OrderableDBInstanceOption = OrderableDBInstanceOption'
  { -- | The engine version of a DB instance.
    OrderableDBInstanceOption -> Maybe Text
engineVersion :: Prelude.Maybe Prelude.Text,
    -- | Minimum provisioned IOPS per GiB for a DB instance.
    OrderableDBInstanceOption -> Maybe Double
minIopsPerGib :: Prelude.Maybe Prelude.Double,
    -- | Indicates whether a DB instance supports IAM database authentication.
    OrderableDBInstanceOption -> Maybe Bool
supportsIAMDatabaseAuthentication :: Prelude.Maybe Prelude.Bool,
    -- | Minimum total provisioned IOPS for a DB instance.
    OrderableDBInstanceOption -> Maybe Int
minIopsPerDbInstance :: Prelude.Maybe Prelude.Int,
    -- | Indicates whether a DB instance is Multi-AZ capable.
    OrderableDBInstanceOption -> Maybe Bool
multiAZCapable :: Prelude.Maybe Prelude.Bool,
    -- | Maximum storage size for a DB instance.
    OrderableDBInstanceOption -> Maybe Int
maxStorageSize :: Prelude.Maybe Prelude.Int,
    -- | A list of the supported DB engine modes.
    OrderableDBInstanceOption -> Maybe [Text]
supportedEngineModes :: Prelude.Maybe [Prelude.Text],
    -- | The Availability Zone group for a DB instance.
    OrderableDBInstanceOption -> Maybe Text
availabilityZoneGroup :: Prelude.Maybe Prelude.Text,
    -- | A list of the available processor features for the DB instance class of
    -- a DB instance.
    OrderableDBInstanceOption -> Maybe [AvailableProcessorFeature]
availableProcessorFeatures :: Prelude.Maybe [AvailableProcessorFeature],
    -- | The engine type of a DB instance.
    OrderableDBInstanceOption -> Maybe Text
engine :: Prelude.Maybe Prelude.Text,
    -- | Minimum storage size for a DB instance.
    OrderableDBInstanceOption -> Maybe Int
minStorageSize :: Prelude.Maybe Prelude.Int,
    -- | Whether a DB instance supports RDS on Outposts.
    --
    -- For more information about RDS on Outposts, see
    -- <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html Amazon RDS on Amazon Web Services Outposts>
    -- in the /Amazon RDS User Guide./
    OrderableDBInstanceOption -> Maybe Bool
outpostCapable :: Prelude.Maybe Prelude.Bool,
    -- | Indicates whether a DB instance supports provisioned IOPS.
    OrderableDBInstanceOption -> Maybe Bool
supportsIops :: Prelude.Maybe Prelude.Bool,
    -- | Whether a DB instance supports Kerberos Authentication.
    OrderableDBInstanceOption -> Maybe Bool
supportsKerberosAuthentication :: Prelude.Maybe Prelude.Bool,
    -- | True if a DB instance supports Performance Insights, otherwise false.
    OrderableDBInstanceOption -> Maybe Bool
supportsPerformanceInsights :: Prelude.Maybe Prelude.Bool,
    -- | The DB instance class for a DB instance.
    OrderableDBInstanceOption -> Maybe Text
dbInstanceClass :: Prelude.Maybe Prelude.Text,
    -- | A value that indicates whether you can use Aurora global databases with
    -- a specific combination of other DB engine attributes.
    OrderableDBInstanceOption -> Maybe Bool
supportsGlobalDatabases :: Prelude.Maybe Prelude.Bool,
    -- | The license model for a DB instance.
    OrderableDBInstanceOption -> Maybe Text
licenseModel :: Prelude.Maybe Prelude.Text,
    -- | A list of Availability Zones for a DB instance.
    OrderableDBInstanceOption -> Maybe [AvailabilityZone]
availabilityZones :: Prelude.Maybe [AvailabilityZone],
    -- | The list of supported modes for Database Activity Streams. Aurora
    -- PostgreSQL returns the value @[sync, async]@. Aurora MySQL and RDS for
    -- Oracle return @[async]@ only. If Database Activity Streams isn\'t
    -- supported, the return value is an empty list.
    OrderableDBInstanceOption -> Maybe [Text]
supportedActivityStreamModes :: Prelude.Maybe [Prelude.Text],
    -- | Whether Amazon RDS can automatically scale storage for DB instances that
    -- use the specified DB instance class.
    OrderableDBInstanceOption -> Maybe Bool
supportsStorageAutoscaling :: Prelude.Maybe Prelude.Bool,
    -- | Indicates whether a DB instance supports encrypted storage.
    OrderableDBInstanceOption -> Maybe Bool
supportsStorageEncryption :: Prelude.Maybe Prelude.Bool,
    -- | Indicates whether a DB instance can have a read replica.
    OrderableDBInstanceOption -> Maybe Bool
readReplicaCapable :: Prelude.Maybe Prelude.Bool,
    -- | Maximum provisioned IOPS per GiB for a DB instance.
    OrderableDBInstanceOption -> Maybe Double
maxIopsPerGib :: Prelude.Maybe Prelude.Double,
    -- | Indicates whether a DB instance is in a VPC.
    OrderableDBInstanceOption -> Maybe Bool
vpc :: Prelude.Maybe Prelude.Bool,
    -- | Indicates whether a DB instance supports Enhanced Monitoring at
    -- intervals from 1 to 60 seconds.
    OrderableDBInstanceOption -> Maybe Bool
supportsEnhancedMonitoring :: Prelude.Maybe Prelude.Bool,
    -- | Maximum total provisioned IOPS for a DB instance.
    OrderableDBInstanceOption -> Maybe Int
maxIopsPerDbInstance :: Prelude.Maybe Prelude.Int,
    -- | Indicates the storage type for a DB instance.
    OrderableDBInstanceOption -> Maybe Text
storageType :: Prelude.Maybe Prelude.Text
  }
  deriving (OrderableDBInstanceOption -> OrderableDBInstanceOption -> Bool
(OrderableDBInstanceOption -> OrderableDBInstanceOption -> Bool)
-> (OrderableDBInstanceOption -> OrderableDBInstanceOption -> Bool)
-> Eq OrderableDBInstanceOption
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: OrderableDBInstanceOption -> OrderableDBInstanceOption -> Bool
$c/= :: OrderableDBInstanceOption -> OrderableDBInstanceOption -> Bool
== :: OrderableDBInstanceOption -> OrderableDBInstanceOption -> Bool
$c== :: OrderableDBInstanceOption -> OrderableDBInstanceOption -> Bool
Prelude.Eq, ReadPrec [OrderableDBInstanceOption]
ReadPrec OrderableDBInstanceOption
Int -> ReadS OrderableDBInstanceOption
ReadS [OrderableDBInstanceOption]
(Int -> ReadS OrderableDBInstanceOption)
-> ReadS [OrderableDBInstanceOption]
-> ReadPrec OrderableDBInstanceOption
-> ReadPrec [OrderableDBInstanceOption]
-> Read OrderableDBInstanceOption
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [OrderableDBInstanceOption]
$creadListPrec :: ReadPrec [OrderableDBInstanceOption]
readPrec :: ReadPrec OrderableDBInstanceOption
$creadPrec :: ReadPrec OrderableDBInstanceOption
readList :: ReadS [OrderableDBInstanceOption]
$creadList :: ReadS [OrderableDBInstanceOption]
readsPrec :: Int -> ReadS OrderableDBInstanceOption
$creadsPrec :: Int -> ReadS OrderableDBInstanceOption
Prelude.Read, Int -> OrderableDBInstanceOption -> ShowS
[OrderableDBInstanceOption] -> ShowS
OrderableDBInstanceOption -> String
(Int -> OrderableDBInstanceOption -> ShowS)
-> (OrderableDBInstanceOption -> String)
-> ([OrderableDBInstanceOption] -> ShowS)
-> Show OrderableDBInstanceOption
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [OrderableDBInstanceOption] -> ShowS
$cshowList :: [OrderableDBInstanceOption] -> ShowS
show :: OrderableDBInstanceOption -> String
$cshow :: OrderableDBInstanceOption -> String
showsPrec :: Int -> OrderableDBInstanceOption -> ShowS
$cshowsPrec :: Int -> OrderableDBInstanceOption -> ShowS
Prelude.Show, (forall x.
 OrderableDBInstanceOption -> Rep OrderableDBInstanceOption x)
-> (forall x.
    Rep OrderableDBInstanceOption x -> OrderableDBInstanceOption)
-> Generic OrderableDBInstanceOption
forall x.
Rep OrderableDBInstanceOption x -> OrderableDBInstanceOption
forall x.
OrderableDBInstanceOption -> Rep OrderableDBInstanceOption x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep OrderableDBInstanceOption x -> OrderableDBInstanceOption
$cfrom :: forall x.
OrderableDBInstanceOption -> Rep OrderableDBInstanceOption x
Prelude.Generic)

-- |
-- Create a value of 'OrderableDBInstanceOption' 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:
--
-- 'engineVersion', 'orderableDBInstanceOption_engineVersion' - The engine version of a DB instance.
--
-- 'minIopsPerGib', 'orderableDBInstanceOption_minIopsPerGib' - Minimum provisioned IOPS per GiB for a DB instance.
--
-- 'supportsIAMDatabaseAuthentication', 'orderableDBInstanceOption_supportsIAMDatabaseAuthentication' - Indicates whether a DB instance supports IAM database authentication.
--
-- 'minIopsPerDbInstance', 'orderableDBInstanceOption_minIopsPerDbInstance' - Minimum total provisioned IOPS for a DB instance.
--
-- 'multiAZCapable', 'orderableDBInstanceOption_multiAZCapable' - Indicates whether a DB instance is Multi-AZ capable.
--
-- 'maxStorageSize', 'orderableDBInstanceOption_maxStorageSize' - Maximum storage size for a DB instance.
--
-- 'supportedEngineModes', 'orderableDBInstanceOption_supportedEngineModes' - A list of the supported DB engine modes.
--
-- 'availabilityZoneGroup', 'orderableDBInstanceOption_availabilityZoneGroup' - The Availability Zone group for a DB instance.
--
-- 'availableProcessorFeatures', 'orderableDBInstanceOption_availableProcessorFeatures' - A list of the available processor features for the DB instance class of
-- a DB instance.
--
-- 'engine', 'orderableDBInstanceOption_engine' - The engine type of a DB instance.
--
-- 'minStorageSize', 'orderableDBInstanceOption_minStorageSize' - Minimum storage size for a DB instance.
--
-- 'outpostCapable', 'orderableDBInstanceOption_outpostCapable' - Whether a DB instance supports RDS on Outposts.
--
-- For more information about RDS on Outposts, see
-- <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html Amazon RDS on Amazon Web Services Outposts>
-- in the /Amazon RDS User Guide./
--
-- 'supportsIops', 'orderableDBInstanceOption_supportsIops' - Indicates whether a DB instance supports provisioned IOPS.
--
-- 'supportsKerberosAuthentication', 'orderableDBInstanceOption_supportsKerberosAuthentication' - Whether a DB instance supports Kerberos Authentication.
--
-- 'supportsPerformanceInsights', 'orderableDBInstanceOption_supportsPerformanceInsights' - True if a DB instance supports Performance Insights, otherwise false.
--
-- 'dbInstanceClass', 'orderableDBInstanceOption_dbInstanceClass' - The DB instance class for a DB instance.
--
-- 'supportsGlobalDatabases', 'orderableDBInstanceOption_supportsGlobalDatabases' - A value that indicates whether you can use Aurora global databases with
-- a specific combination of other DB engine attributes.
--
-- 'licenseModel', 'orderableDBInstanceOption_licenseModel' - The license model for a DB instance.
--
-- 'availabilityZones', 'orderableDBInstanceOption_availabilityZones' - A list of Availability Zones for a DB instance.
--
-- 'supportedActivityStreamModes', 'orderableDBInstanceOption_supportedActivityStreamModes' - The list of supported modes for Database Activity Streams. Aurora
-- PostgreSQL returns the value @[sync, async]@. Aurora MySQL and RDS for
-- Oracle return @[async]@ only. If Database Activity Streams isn\'t
-- supported, the return value is an empty list.
--
-- 'supportsStorageAutoscaling', 'orderableDBInstanceOption_supportsStorageAutoscaling' - Whether Amazon RDS can automatically scale storage for DB instances that
-- use the specified DB instance class.
--
-- 'supportsStorageEncryption', 'orderableDBInstanceOption_supportsStorageEncryption' - Indicates whether a DB instance supports encrypted storage.
--
-- 'readReplicaCapable', 'orderableDBInstanceOption_readReplicaCapable' - Indicates whether a DB instance can have a read replica.
--
-- 'maxIopsPerGib', 'orderableDBInstanceOption_maxIopsPerGib' - Maximum provisioned IOPS per GiB for a DB instance.
--
-- 'vpc', 'orderableDBInstanceOption_vpc' - Indicates whether a DB instance is in a VPC.
--
-- 'supportsEnhancedMonitoring', 'orderableDBInstanceOption_supportsEnhancedMonitoring' - Indicates whether a DB instance supports Enhanced Monitoring at
-- intervals from 1 to 60 seconds.
--
-- 'maxIopsPerDbInstance', 'orderableDBInstanceOption_maxIopsPerDbInstance' - Maximum total provisioned IOPS for a DB instance.
--
-- 'storageType', 'orderableDBInstanceOption_storageType' - Indicates the storage type for a DB instance.
newOrderableDBInstanceOption ::
  OrderableDBInstanceOption
newOrderableDBInstanceOption :: OrderableDBInstanceOption
newOrderableDBInstanceOption =
  OrderableDBInstanceOption' :: Maybe Text
-> Maybe Double
-> Maybe Bool
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe [Text]
-> Maybe Text
-> Maybe [AvailableProcessorFeature]
-> Maybe Text
-> Maybe Int
-> Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe [AvailabilityZone]
-> Maybe [Text]
-> Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Maybe Double
-> Maybe Bool
-> Maybe Bool
-> Maybe Int
-> Maybe Text
-> OrderableDBInstanceOption
OrderableDBInstanceOption'
    { $sel:engineVersion:OrderableDBInstanceOption' :: Maybe Text
engineVersion =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:minIopsPerGib:OrderableDBInstanceOption' :: Maybe Double
minIopsPerGib = Maybe Double
forall a. Maybe a
Prelude.Nothing,
      $sel:supportsIAMDatabaseAuthentication:OrderableDBInstanceOption' :: Maybe Bool
supportsIAMDatabaseAuthentication =
        Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:minIopsPerDbInstance:OrderableDBInstanceOption' :: Maybe Int
minIopsPerDbInstance = Maybe Int
forall a. Maybe a
Prelude.Nothing,
      $sel:multiAZCapable:OrderableDBInstanceOption' :: Maybe Bool
multiAZCapable = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:maxStorageSize:OrderableDBInstanceOption' :: Maybe Int
maxStorageSize = Maybe Int
forall a. Maybe a
Prelude.Nothing,
      $sel:supportedEngineModes:OrderableDBInstanceOption' :: Maybe [Text]
supportedEngineModes = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:availabilityZoneGroup:OrderableDBInstanceOption' :: Maybe Text
availabilityZoneGroup = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:availableProcessorFeatures:OrderableDBInstanceOption' :: Maybe [AvailableProcessorFeature]
availableProcessorFeatures = Maybe [AvailableProcessorFeature]
forall a. Maybe a
Prelude.Nothing,
      $sel:engine:OrderableDBInstanceOption' :: Maybe Text
engine = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:minStorageSize:OrderableDBInstanceOption' :: Maybe Int
minStorageSize = Maybe Int
forall a. Maybe a
Prelude.Nothing,
      $sel:outpostCapable:OrderableDBInstanceOption' :: Maybe Bool
outpostCapable = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:supportsIops:OrderableDBInstanceOption' :: Maybe Bool
supportsIops = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:supportsKerberosAuthentication:OrderableDBInstanceOption' :: Maybe Bool
supportsKerberosAuthentication = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:supportsPerformanceInsights:OrderableDBInstanceOption' :: Maybe Bool
supportsPerformanceInsights = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:dbInstanceClass:OrderableDBInstanceOption' :: Maybe Text
dbInstanceClass = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:supportsGlobalDatabases:OrderableDBInstanceOption' :: Maybe Bool
supportsGlobalDatabases = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:licenseModel:OrderableDBInstanceOption' :: Maybe Text
licenseModel = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:availabilityZones:OrderableDBInstanceOption' :: Maybe [AvailabilityZone]
availabilityZones = Maybe [AvailabilityZone]
forall a. Maybe a
Prelude.Nothing,
      $sel:supportedActivityStreamModes:OrderableDBInstanceOption' :: Maybe [Text]
supportedActivityStreamModes = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:supportsStorageAutoscaling:OrderableDBInstanceOption' :: Maybe Bool
supportsStorageAutoscaling = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:supportsStorageEncryption:OrderableDBInstanceOption' :: Maybe Bool
supportsStorageEncryption = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:readReplicaCapable:OrderableDBInstanceOption' :: Maybe Bool
readReplicaCapable = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:maxIopsPerGib:OrderableDBInstanceOption' :: Maybe Double
maxIopsPerGib = Maybe Double
forall a. Maybe a
Prelude.Nothing,
      $sel:vpc:OrderableDBInstanceOption' :: Maybe Bool
vpc = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:supportsEnhancedMonitoring:OrderableDBInstanceOption' :: Maybe Bool
supportsEnhancedMonitoring = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:maxIopsPerDbInstance:OrderableDBInstanceOption' :: Maybe Int
maxIopsPerDbInstance = Maybe Int
forall a. Maybe a
Prelude.Nothing,
      $sel:storageType:OrderableDBInstanceOption' :: Maybe Text
storageType = Maybe Text
forall a. Maybe a
Prelude.Nothing
    }

-- | The engine version of a DB instance.
orderableDBInstanceOption_engineVersion :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Text)
orderableDBInstanceOption_engineVersion :: (Maybe Text -> f (Maybe Text))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_engineVersion = (OrderableDBInstanceOption -> Maybe Text)
-> (OrderableDBInstanceOption
    -> Maybe Text -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Text
engineVersion :: Maybe Text
$sel:engineVersion:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Text
engineVersion} -> Maybe Text
engineVersion) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Text
a -> OrderableDBInstanceOption
s {$sel:engineVersion:OrderableDBInstanceOption' :: Maybe Text
engineVersion = Maybe Text
a} :: OrderableDBInstanceOption)

-- | Minimum provisioned IOPS per GiB for a DB instance.
orderableDBInstanceOption_minIopsPerGib :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Double)
orderableDBInstanceOption_minIopsPerGib :: (Maybe Double -> f (Maybe Double))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_minIopsPerGib = (OrderableDBInstanceOption -> Maybe Double)
-> (OrderableDBInstanceOption
    -> Maybe Double -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Double)
     (Maybe Double)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Double
minIopsPerGib :: Maybe Double
$sel:minIopsPerGib:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Double
minIopsPerGib} -> Maybe Double
minIopsPerGib) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Double
a -> OrderableDBInstanceOption
s {$sel:minIopsPerGib:OrderableDBInstanceOption' :: Maybe Double
minIopsPerGib = Maybe Double
a} :: OrderableDBInstanceOption)

-- | Indicates whether a DB instance supports IAM database authentication.
orderableDBInstanceOption_supportsIAMDatabaseAuthentication :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Bool)
orderableDBInstanceOption_supportsIAMDatabaseAuthentication :: (Maybe Bool -> f (Maybe Bool))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_supportsIAMDatabaseAuthentication = (OrderableDBInstanceOption -> Maybe Bool)
-> (OrderableDBInstanceOption
    -> Maybe Bool -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Bool
supportsIAMDatabaseAuthentication :: Maybe Bool
$sel:supportsIAMDatabaseAuthentication:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Bool
supportsIAMDatabaseAuthentication} -> Maybe Bool
supportsIAMDatabaseAuthentication) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Bool
a -> OrderableDBInstanceOption
s {$sel:supportsIAMDatabaseAuthentication:OrderableDBInstanceOption' :: Maybe Bool
supportsIAMDatabaseAuthentication = Maybe Bool
a} :: OrderableDBInstanceOption)

-- | Minimum total provisioned IOPS for a DB instance.
orderableDBInstanceOption_minIopsPerDbInstance :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Int)
orderableDBInstanceOption_minIopsPerDbInstance :: (Maybe Int -> f (Maybe Int))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_minIopsPerDbInstance = (OrderableDBInstanceOption -> Maybe Int)
-> (OrderableDBInstanceOption
    -> Maybe Int -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Int)
     (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Int
minIopsPerDbInstance :: Maybe Int
$sel:minIopsPerDbInstance:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Int
minIopsPerDbInstance} -> Maybe Int
minIopsPerDbInstance) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Int
a -> OrderableDBInstanceOption
s {$sel:minIopsPerDbInstance:OrderableDBInstanceOption' :: Maybe Int
minIopsPerDbInstance = Maybe Int
a} :: OrderableDBInstanceOption)

-- | Indicates whether a DB instance is Multi-AZ capable.
orderableDBInstanceOption_multiAZCapable :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Bool)
orderableDBInstanceOption_multiAZCapable :: (Maybe Bool -> f (Maybe Bool))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_multiAZCapable = (OrderableDBInstanceOption -> Maybe Bool)
-> (OrderableDBInstanceOption
    -> Maybe Bool -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Bool
multiAZCapable :: Maybe Bool
$sel:multiAZCapable:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Bool
multiAZCapable} -> Maybe Bool
multiAZCapable) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Bool
a -> OrderableDBInstanceOption
s {$sel:multiAZCapable:OrderableDBInstanceOption' :: Maybe Bool
multiAZCapable = Maybe Bool
a} :: OrderableDBInstanceOption)

-- | Maximum storage size for a DB instance.
orderableDBInstanceOption_maxStorageSize :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Int)
orderableDBInstanceOption_maxStorageSize :: (Maybe Int -> f (Maybe Int))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_maxStorageSize = (OrderableDBInstanceOption -> Maybe Int)
-> (OrderableDBInstanceOption
    -> Maybe Int -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Int)
     (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Int
maxStorageSize :: Maybe Int
$sel:maxStorageSize:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Int
maxStorageSize} -> Maybe Int
maxStorageSize) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Int
a -> OrderableDBInstanceOption
s {$sel:maxStorageSize:OrderableDBInstanceOption' :: Maybe Int
maxStorageSize = Maybe Int
a} :: OrderableDBInstanceOption)

-- | A list of the supported DB engine modes.
orderableDBInstanceOption_supportedEngineModes :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe [Prelude.Text])
orderableDBInstanceOption_supportedEngineModes :: (Maybe [Text] -> f (Maybe [Text]))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_supportedEngineModes = (OrderableDBInstanceOption -> Maybe [Text])
-> (OrderableDBInstanceOption
    -> Maybe [Text] -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe [Text])
     (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe [Text]
supportedEngineModes :: Maybe [Text]
$sel:supportedEngineModes:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe [Text]
supportedEngineModes} -> Maybe [Text]
supportedEngineModes) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe [Text]
a -> OrderableDBInstanceOption
s {$sel:supportedEngineModes:OrderableDBInstanceOption' :: Maybe [Text]
supportedEngineModes = Maybe [Text]
a} :: OrderableDBInstanceOption) ((Maybe [Text] -> f (Maybe [Text]))
 -> OrderableDBInstanceOption -> f OrderableDBInstanceOption)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> OrderableDBInstanceOption
-> f OrderableDBInstanceOption
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The Availability Zone group for a DB instance.
orderableDBInstanceOption_availabilityZoneGroup :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Text)
orderableDBInstanceOption_availabilityZoneGroup :: (Maybe Text -> f (Maybe Text))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_availabilityZoneGroup = (OrderableDBInstanceOption -> Maybe Text)
-> (OrderableDBInstanceOption
    -> Maybe Text -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Text
availabilityZoneGroup :: Maybe Text
$sel:availabilityZoneGroup:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Text
availabilityZoneGroup} -> Maybe Text
availabilityZoneGroup) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Text
a -> OrderableDBInstanceOption
s {$sel:availabilityZoneGroup:OrderableDBInstanceOption' :: Maybe Text
availabilityZoneGroup = Maybe Text
a} :: OrderableDBInstanceOption)

-- | A list of the available processor features for the DB instance class of
-- a DB instance.
orderableDBInstanceOption_availableProcessorFeatures :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe [AvailableProcessorFeature])
orderableDBInstanceOption_availableProcessorFeatures :: (Maybe [AvailableProcessorFeature]
 -> f (Maybe [AvailableProcessorFeature]))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_availableProcessorFeatures = (OrderableDBInstanceOption -> Maybe [AvailableProcessorFeature])
-> (OrderableDBInstanceOption
    -> Maybe [AvailableProcessorFeature] -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe [AvailableProcessorFeature])
     (Maybe [AvailableProcessorFeature])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe [AvailableProcessorFeature]
availableProcessorFeatures :: Maybe [AvailableProcessorFeature]
$sel:availableProcessorFeatures:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe [AvailableProcessorFeature]
availableProcessorFeatures} -> Maybe [AvailableProcessorFeature]
availableProcessorFeatures) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe [AvailableProcessorFeature]
a -> OrderableDBInstanceOption
s {$sel:availableProcessorFeatures:OrderableDBInstanceOption' :: Maybe [AvailableProcessorFeature]
availableProcessorFeatures = Maybe [AvailableProcessorFeature]
a} :: OrderableDBInstanceOption) ((Maybe [AvailableProcessorFeature]
  -> f (Maybe [AvailableProcessorFeature]))
 -> OrderableDBInstanceOption -> f OrderableDBInstanceOption)
-> ((Maybe [AvailableProcessorFeature]
     -> f (Maybe [AvailableProcessorFeature]))
    -> Maybe [AvailableProcessorFeature]
    -> f (Maybe [AvailableProcessorFeature]))
-> (Maybe [AvailableProcessorFeature]
    -> f (Maybe [AvailableProcessorFeature]))
-> OrderableDBInstanceOption
-> f OrderableDBInstanceOption
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [AvailableProcessorFeature]
  [AvailableProcessorFeature]
  [AvailableProcessorFeature]
  [AvailableProcessorFeature]
-> Iso
     (Maybe [AvailableProcessorFeature])
     (Maybe [AvailableProcessorFeature])
     (Maybe [AvailableProcessorFeature])
     (Maybe [AvailableProcessorFeature])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
  [AvailableProcessorFeature]
  [AvailableProcessorFeature]
  [AvailableProcessorFeature]
  [AvailableProcessorFeature]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The engine type of a DB instance.
orderableDBInstanceOption_engine :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Text)
orderableDBInstanceOption_engine :: (Maybe Text -> f (Maybe Text))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_engine = (OrderableDBInstanceOption -> Maybe Text)
-> (OrderableDBInstanceOption
    -> Maybe Text -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Text
engine :: Maybe Text
$sel:engine:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Text
engine} -> Maybe Text
engine) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Text
a -> OrderableDBInstanceOption
s {$sel:engine:OrderableDBInstanceOption' :: Maybe Text
engine = Maybe Text
a} :: OrderableDBInstanceOption)

-- | Minimum storage size for a DB instance.
orderableDBInstanceOption_minStorageSize :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Int)
orderableDBInstanceOption_minStorageSize :: (Maybe Int -> f (Maybe Int))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_minStorageSize = (OrderableDBInstanceOption -> Maybe Int)
-> (OrderableDBInstanceOption
    -> Maybe Int -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Int)
     (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Int
minStorageSize :: Maybe Int
$sel:minStorageSize:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Int
minStorageSize} -> Maybe Int
minStorageSize) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Int
a -> OrderableDBInstanceOption
s {$sel:minStorageSize:OrderableDBInstanceOption' :: Maybe Int
minStorageSize = Maybe Int
a} :: OrderableDBInstanceOption)

-- | Whether a DB instance supports RDS on Outposts.
--
-- For more information about RDS on Outposts, see
-- <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html Amazon RDS on Amazon Web Services Outposts>
-- in the /Amazon RDS User Guide./
orderableDBInstanceOption_outpostCapable :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Bool)
orderableDBInstanceOption_outpostCapable :: (Maybe Bool -> f (Maybe Bool))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_outpostCapable = (OrderableDBInstanceOption -> Maybe Bool)
-> (OrderableDBInstanceOption
    -> Maybe Bool -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Bool
outpostCapable :: Maybe Bool
$sel:outpostCapable:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Bool
outpostCapable} -> Maybe Bool
outpostCapable) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Bool
a -> OrderableDBInstanceOption
s {$sel:outpostCapable:OrderableDBInstanceOption' :: Maybe Bool
outpostCapable = Maybe Bool
a} :: OrderableDBInstanceOption)

-- | Indicates whether a DB instance supports provisioned IOPS.
orderableDBInstanceOption_supportsIops :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Bool)
orderableDBInstanceOption_supportsIops :: (Maybe Bool -> f (Maybe Bool))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_supportsIops = (OrderableDBInstanceOption -> Maybe Bool)
-> (OrderableDBInstanceOption
    -> Maybe Bool -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Bool
supportsIops :: Maybe Bool
$sel:supportsIops:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Bool
supportsIops} -> Maybe Bool
supportsIops) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Bool
a -> OrderableDBInstanceOption
s {$sel:supportsIops:OrderableDBInstanceOption' :: Maybe Bool
supportsIops = Maybe Bool
a} :: OrderableDBInstanceOption)

-- | Whether a DB instance supports Kerberos Authentication.
orderableDBInstanceOption_supportsKerberosAuthentication :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Bool)
orderableDBInstanceOption_supportsKerberosAuthentication :: (Maybe Bool -> f (Maybe Bool))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_supportsKerberosAuthentication = (OrderableDBInstanceOption -> Maybe Bool)
-> (OrderableDBInstanceOption
    -> Maybe Bool -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Bool
supportsKerberosAuthentication :: Maybe Bool
$sel:supportsKerberosAuthentication:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Bool
supportsKerberosAuthentication} -> Maybe Bool
supportsKerberosAuthentication) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Bool
a -> OrderableDBInstanceOption
s {$sel:supportsKerberosAuthentication:OrderableDBInstanceOption' :: Maybe Bool
supportsKerberosAuthentication = Maybe Bool
a} :: OrderableDBInstanceOption)

-- | True if a DB instance supports Performance Insights, otherwise false.
orderableDBInstanceOption_supportsPerformanceInsights :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Bool)
orderableDBInstanceOption_supportsPerformanceInsights :: (Maybe Bool -> f (Maybe Bool))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_supportsPerformanceInsights = (OrderableDBInstanceOption -> Maybe Bool)
-> (OrderableDBInstanceOption
    -> Maybe Bool -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Bool
supportsPerformanceInsights :: Maybe Bool
$sel:supportsPerformanceInsights:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Bool
supportsPerformanceInsights} -> Maybe Bool
supportsPerformanceInsights) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Bool
a -> OrderableDBInstanceOption
s {$sel:supportsPerformanceInsights:OrderableDBInstanceOption' :: Maybe Bool
supportsPerformanceInsights = Maybe Bool
a} :: OrderableDBInstanceOption)

-- | The DB instance class for a DB instance.
orderableDBInstanceOption_dbInstanceClass :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Text)
orderableDBInstanceOption_dbInstanceClass :: (Maybe Text -> f (Maybe Text))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_dbInstanceClass = (OrderableDBInstanceOption -> Maybe Text)
-> (OrderableDBInstanceOption
    -> Maybe Text -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Text
dbInstanceClass :: Maybe Text
$sel:dbInstanceClass:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Text
dbInstanceClass} -> Maybe Text
dbInstanceClass) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Text
a -> OrderableDBInstanceOption
s {$sel:dbInstanceClass:OrderableDBInstanceOption' :: Maybe Text
dbInstanceClass = Maybe Text
a} :: OrderableDBInstanceOption)

-- | A value that indicates whether you can use Aurora global databases with
-- a specific combination of other DB engine attributes.
orderableDBInstanceOption_supportsGlobalDatabases :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Bool)
orderableDBInstanceOption_supportsGlobalDatabases :: (Maybe Bool -> f (Maybe Bool))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_supportsGlobalDatabases = (OrderableDBInstanceOption -> Maybe Bool)
-> (OrderableDBInstanceOption
    -> Maybe Bool -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Bool
supportsGlobalDatabases :: Maybe Bool
$sel:supportsGlobalDatabases:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Bool
supportsGlobalDatabases} -> Maybe Bool
supportsGlobalDatabases) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Bool
a -> OrderableDBInstanceOption
s {$sel:supportsGlobalDatabases:OrderableDBInstanceOption' :: Maybe Bool
supportsGlobalDatabases = Maybe Bool
a} :: OrderableDBInstanceOption)

-- | The license model for a DB instance.
orderableDBInstanceOption_licenseModel :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Text)
orderableDBInstanceOption_licenseModel :: (Maybe Text -> f (Maybe Text))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_licenseModel = (OrderableDBInstanceOption -> Maybe Text)
-> (OrderableDBInstanceOption
    -> Maybe Text -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Text
licenseModel :: Maybe Text
$sel:licenseModel:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Text
licenseModel} -> Maybe Text
licenseModel) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Text
a -> OrderableDBInstanceOption
s {$sel:licenseModel:OrderableDBInstanceOption' :: Maybe Text
licenseModel = Maybe Text
a} :: OrderableDBInstanceOption)

-- | A list of Availability Zones for a DB instance.
orderableDBInstanceOption_availabilityZones :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe [AvailabilityZone])
orderableDBInstanceOption_availabilityZones :: (Maybe [AvailabilityZone] -> f (Maybe [AvailabilityZone]))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_availabilityZones = (OrderableDBInstanceOption -> Maybe [AvailabilityZone])
-> (OrderableDBInstanceOption
    -> Maybe [AvailabilityZone] -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe [AvailabilityZone])
     (Maybe [AvailabilityZone])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe [AvailabilityZone]
availabilityZones :: Maybe [AvailabilityZone]
$sel:availabilityZones:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe [AvailabilityZone]
availabilityZones} -> Maybe [AvailabilityZone]
availabilityZones) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe [AvailabilityZone]
a -> OrderableDBInstanceOption
s {$sel:availabilityZones:OrderableDBInstanceOption' :: Maybe [AvailabilityZone]
availabilityZones = Maybe [AvailabilityZone]
a} :: OrderableDBInstanceOption) ((Maybe [AvailabilityZone] -> f (Maybe [AvailabilityZone]))
 -> OrderableDBInstanceOption -> f OrderableDBInstanceOption)
-> ((Maybe [AvailabilityZone] -> f (Maybe [AvailabilityZone]))
    -> Maybe [AvailabilityZone] -> f (Maybe [AvailabilityZone]))
-> (Maybe [AvailabilityZone] -> f (Maybe [AvailabilityZone]))
-> OrderableDBInstanceOption
-> f OrderableDBInstanceOption
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [AvailabilityZone]
  [AvailabilityZone]
  [AvailabilityZone]
  [AvailabilityZone]
-> Iso
     (Maybe [AvailabilityZone])
     (Maybe [AvailabilityZone])
     (Maybe [AvailabilityZone])
     (Maybe [AvailabilityZone])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
  [AvailabilityZone]
  [AvailabilityZone]
  [AvailabilityZone]
  [AvailabilityZone]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The list of supported modes for Database Activity Streams. Aurora
-- PostgreSQL returns the value @[sync, async]@. Aurora MySQL and RDS for
-- Oracle return @[async]@ only. If Database Activity Streams isn\'t
-- supported, the return value is an empty list.
orderableDBInstanceOption_supportedActivityStreamModes :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe [Prelude.Text])
orderableDBInstanceOption_supportedActivityStreamModes :: (Maybe [Text] -> f (Maybe [Text]))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_supportedActivityStreamModes = (OrderableDBInstanceOption -> Maybe [Text])
-> (OrderableDBInstanceOption
    -> Maybe [Text] -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe [Text])
     (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe [Text]
supportedActivityStreamModes :: Maybe [Text]
$sel:supportedActivityStreamModes:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe [Text]
supportedActivityStreamModes} -> Maybe [Text]
supportedActivityStreamModes) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe [Text]
a -> OrderableDBInstanceOption
s {$sel:supportedActivityStreamModes:OrderableDBInstanceOption' :: Maybe [Text]
supportedActivityStreamModes = Maybe [Text]
a} :: OrderableDBInstanceOption) ((Maybe [Text] -> f (Maybe [Text]))
 -> OrderableDBInstanceOption -> f OrderableDBInstanceOption)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> OrderableDBInstanceOption
-> f OrderableDBInstanceOption
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | Whether Amazon RDS can automatically scale storage for DB instances that
-- use the specified DB instance class.
orderableDBInstanceOption_supportsStorageAutoscaling :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Bool)
orderableDBInstanceOption_supportsStorageAutoscaling :: (Maybe Bool -> f (Maybe Bool))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_supportsStorageAutoscaling = (OrderableDBInstanceOption -> Maybe Bool)
-> (OrderableDBInstanceOption
    -> Maybe Bool -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Bool
supportsStorageAutoscaling :: Maybe Bool
$sel:supportsStorageAutoscaling:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Bool
supportsStorageAutoscaling} -> Maybe Bool
supportsStorageAutoscaling) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Bool
a -> OrderableDBInstanceOption
s {$sel:supportsStorageAutoscaling:OrderableDBInstanceOption' :: Maybe Bool
supportsStorageAutoscaling = Maybe Bool
a} :: OrderableDBInstanceOption)

-- | Indicates whether a DB instance supports encrypted storage.
orderableDBInstanceOption_supportsStorageEncryption :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Bool)
orderableDBInstanceOption_supportsStorageEncryption :: (Maybe Bool -> f (Maybe Bool))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_supportsStorageEncryption = (OrderableDBInstanceOption -> Maybe Bool)
-> (OrderableDBInstanceOption
    -> Maybe Bool -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Bool
supportsStorageEncryption :: Maybe Bool
$sel:supportsStorageEncryption:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Bool
supportsStorageEncryption} -> Maybe Bool
supportsStorageEncryption) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Bool
a -> OrderableDBInstanceOption
s {$sel:supportsStorageEncryption:OrderableDBInstanceOption' :: Maybe Bool
supportsStorageEncryption = Maybe Bool
a} :: OrderableDBInstanceOption)

-- | Indicates whether a DB instance can have a read replica.
orderableDBInstanceOption_readReplicaCapable :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Bool)
orderableDBInstanceOption_readReplicaCapable :: (Maybe Bool -> f (Maybe Bool))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_readReplicaCapable = (OrderableDBInstanceOption -> Maybe Bool)
-> (OrderableDBInstanceOption
    -> Maybe Bool -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Bool
readReplicaCapable :: Maybe Bool
$sel:readReplicaCapable:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Bool
readReplicaCapable} -> Maybe Bool
readReplicaCapable) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Bool
a -> OrderableDBInstanceOption
s {$sel:readReplicaCapable:OrderableDBInstanceOption' :: Maybe Bool
readReplicaCapable = Maybe Bool
a} :: OrderableDBInstanceOption)

-- | Maximum provisioned IOPS per GiB for a DB instance.
orderableDBInstanceOption_maxIopsPerGib :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Double)
orderableDBInstanceOption_maxIopsPerGib :: (Maybe Double -> f (Maybe Double))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_maxIopsPerGib = (OrderableDBInstanceOption -> Maybe Double)
-> (OrderableDBInstanceOption
    -> Maybe Double -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Double)
     (Maybe Double)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Double
maxIopsPerGib :: Maybe Double
$sel:maxIopsPerGib:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Double
maxIopsPerGib} -> Maybe Double
maxIopsPerGib) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Double
a -> OrderableDBInstanceOption
s {$sel:maxIopsPerGib:OrderableDBInstanceOption' :: Maybe Double
maxIopsPerGib = Maybe Double
a} :: OrderableDBInstanceOption)

-- | Indicates whether a DB instance is in a VPC.
orderableDBInstanceOption_vpc :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Bool)
orderableDBInstanceOption_vpc :: (Maybe Bool -> f (Maybe Bool))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_vpc = (OrderableDBInstanceOption -> Maybe Bool)
-> (OrderableDBInstanceOption
    -> Maybe Bool -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Bool
vpc :: Maybe Bool
$sel:vpc:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Bool
vpc} -> Maybe Bool
vpc) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Bool
a -> OrderableDBInstanceOption
s {$sel:vpc:OrderableDBInstanceOption' :: Maybe Bool
vpc = Maybe Bool
a} :: OrderableDBInstanceOption)

-- | Indicates whether a DB instance supports Enhanced Monitoring at
-- intervals from 1 to 60 seconds.
orderableDBInstanceOption_supportsEnhancedMonitoring :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Bool)
orderableDBInstanceOption_supportsEnhancedMonitoring :: (Maybe Bool -> f (Maybe Bool))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_supportsEnhancedMonitoring = (OrderableDBInstanceOption -> Maybe Bool)
-> (OrderableDBInstanceOption
    -> Maybe Bool -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Bool
supportsEnhancedMonitoring :: Maybe Bool
$sel:supportsEnhancedMonitoring:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Bool
supportsEnhancedMonitoring} -> Maybe Bool
supportsEnhancedMonitoring) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Bool
a -> OrderableDBInstanceOption
s {$sel:supportsEnhancedMonitoring:OrderableDBInstanceOption' :: Maybe Bool
supportsEnhancedMonitoring = Maybe Bool
a} :: OrderableDBInstanceOption)

-- | Maximum total provisioned IOPS for a DB instance.
orderableDBInstanceOption_maxIopsPerDbInstance :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Int)
orderableDBInstanceOption_maxIopsPerDbInstance :: (Maybe Int -> f (Maybe Int))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_maxIopsPerDbInstance = (OrderableDBInstanceOption -> Maybe Int)
-> (OrderableDBInstanceOption
    -> Maybe Int -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Int)
     (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Int
maxIopsPerDbInstance :: Maybe Int
$sel:maxIopsPerDbInstance:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Int
maxIopsPerDbInstance} -> Maybe Int
maxIopsPerDbInstance) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Int
a -> OrderableDBInstanceOption
s {$sel:maxIopsPerDbInstance:OrderableDBInstanceOption' :: Maybe Int
maxIopsPerDbInstance = Maybe Int
a} :: OrderableDBInstanceOption)

-- | Indicates the storage type for a DB instance.
orderableDBInstanceOption_storageType :: Lens.Lens' OrderableDBInstanceOption (Prelude.Maybe Prelude.Text)
orderableDBInstanceOption_storageType :: (Maybe Text -> f (Maybe Text))
-> OrderableDBInstanceOption -> f OrderableDBInstanceOption
orderableDBInstanceOption_storageType = (OrderableDBInstanceOption -> Maybe Text)
-> (OrderableDBInstanceOption
    -> Maybe Text -> OrderableDBInstanceOption)
-> Lens
     OrderableDBInstanceOption
     OrderableDBInstanceOption
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrderableDBInstanceOption' {Maybe Text
storageType :: Maybe Text
$sel:storageType:OrderableDBInstanceOption' :: OrderableDBInstanceOption -> Maybe Text
storageType} -> Maybe Text
storageType) (\s :: OrderableDBInstanceOption
s@OrderableDBInstanceOption' {} Maybe Text
a -> OrderableDBInstanceOption
s {$sel:storageType:OrderableDBInstanceOption' :: Maybe Text
storageType = Maybe Text
a} :: OrderableDBInstanceOption)

instance Core.FromXML OrderableDBInstanceOption where
  parseXML :: [Node] -> Either String OrderableDBInstanceOption
parseXML [Node]
x =
    Maybe Text
-> Maybe Double
-> Maybe Bool
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe [Text]
-> Maybe Text
-> Maybe [AvailableProcessorFeature]
-> Maybe Text
-> Maybe Int
-> Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe [AvailabilityZone]
-> Maybe [Text]
-> Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Maybe Double
-> Maybe Bool
-> Maybe Bool
-> Maybe Int
-> Maybe Text
-> OrderableDBInstanceOption
OrderableDBInstanceOption'
      (Maybe Text
 -> Maybe Double
 -> Maybe Bool
 -> Maybe Int
 -> Maybe Bool
 -> Maybe Int
 -> Maybe [Text]
 -> Maybe Text
 -> Maybe [AvailableProcessorFeature]
 -> Maybe Text
 -> Maybe Int
 -> Maybe Bool
 -> Maybe Bool
 -> Maybe Bool
 -> Maybe Bool
 -> Maybe Text
 -> Maybe Bool
 -> Maybe Text
 -> Maybe [AvailabilityZone]
 -> Maybe [Text]
 -> Maybe Bool
 -> Maybe Bool
 -> Maybe Bool
 -> Maybe Double
 -> Maybe Bool
 -> Maybe Bool
 -> Maybe Int
 -> Maybe Text
 -> OrderableDBInstanceOption)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Double
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Bool
      -> Maybe Int
      -> Maybe [Text]
      -> Maybe Text
      -> Maybe [AvailableProcessorFeature]
      -> Maybe Text
      -> Maybe Int
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"EngineVersion")
      Either
  String
  (Maybe Double
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Bool
   -> Maybe Int
   -> Maybe [Text]
   -> Maybe Text
   -> Maybe [AvailableProcessorFeature]
   -> Maybe Text
   -> Maybe Int
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Double)
-> Either
     String
     (Maybe Bool
      -> Maybe Int
      -> Maybe Bool
      -> Maybe Int
      -> Maybe [Text]
      -> Maybe Text
      -> Maybe [AvailableProcessorFeature]
      -> Maybe Text
      -> Maybe Int
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Double)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"MinIopsPerGib")
      Either
  String
  (Maybe Bool
   -> Maybe Int
   -> Maybe Bool
   -> Maybe Int
   -> Maybe [Text]
   -> Maybe Text
   -> Maybe [AvailableProcessorFeature]
   -> Maybe Text
   -> Maybe Int
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Int
      -> Maybe Bool
      -> Maybe Int
      -> Maybe [Text]
      -> Maybe Text
      -> Maybe [AvailableProcessorFeature]
      -> Maybe Text
      -> Maybe Int
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SupportsIAMDatabaseAuthentication")
      Either
  String
  (Maybe Int
   -> Maybe Bool
   -> Maybe Int
   -> Maybe [Text]
   -> Maybe Text
   -> Maybe [AvailableProcessorFeature]
   -> Maybe Text
   -> Maybe Int
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Int)
-> Either
     String
     (Maybe Bool
      -> Maybe Int
      -> Maybe [Text]
      -> Maybe Text
      -> Maybe [AvailableProcessorFeature]
      -> Maybe Text
      -> Maybe Int
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Int)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"MinIopsPerDbInstance")
      Either
  String
  (Maybe Bool
   -> Maybe Int
   -> Maybe [Text]
   -> Maybe Text
   -> Maybe [AvailableProcessorFeature]
   -> Maybe Text
   -> Maybe Int
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Int
      -> Maybe [Text]
      -> Maybe Text
      -> Maybe [AvailableProcessorFeature]
      -> Maybe Text
      -> Maybe Int
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"MultiAZCapable")
      Either
  String
  (Maybe Int
   -> Maybe [Text]
   -> Maybe Text
   -> Maybe [AvailableProcessorFeature]
   -> Maybe Text
   -> Maybe Int
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Int)
-> Either
     String
     (Maybe [Text]
      -> Maybe Text
      -> Maybe [AvailableProcessorFeature]
      -> Maybe Text
      -> Maybe Int
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Int)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"MaxStorageSize")
      Either
  String
  (Maybe [Text]
   -> Maybe Text
   -> Maybe [AvailableProcessorFeature]
   -> Maybe Text
   -> Maybe Int
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe [Text])
-> Either
     String
     (Maybe Text
      -> Maybe [AvailableProcessorFeature]
      -> Maybe Text
      -> Maybe Int
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( [Node]
x [Node] -> Text -> Either String (Maybe [Node])
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SupportedEngineModes"
                      Either String (Maybe [Node]) -> [Node] -> Either String [Node]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [Node]
forall a. Monoid a => a
Prelude.mempty
                      Either String [Node]
-> ([Node] -> Either String (Maybe [Text]))
-> Either String (Maybe [Text])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [Text])
-> [Node] -> Either String (Maybe [Text])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text -> [Node] -> Either String [Text]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"member")
                  )
      Either
  String
  (Maybe Text
   -> Maybe [AvailableProcessorFeature]
   -> Maybe Text
   -> Maybe Int
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe [AvailableProcessorFeature]
      -> Maybe Text
      -> Maybe Int
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"AvailabilityZoneGroup")
      Either
  String
  (Maybe [AvailableProcessorFeature]
   -> Maybe Text
   -> Maybe Int
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe [AvailableProcessorFeature])
-> Either
     String
     (Maybe Text
      -> Maybe Int
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( [Node]
x [Node] -> Text -> Either String (Maybe [Node])
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"AvailableProcessorFeatures"
                      Either String (Maybe [Node]) -> [Node] -> Either String [Node]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [Node]
forall a. Monoid a => a
Prelude.mempty
                      Either String [Node]
-> ([Node] -> Either String (Maybe [AvailableProcessorFeature]))
-> Either String (Maybe [AvailableProcessorFeature])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [AvailableProcessorFeature])
-> [Node] -> Either String (Maybe [AvailableProcessorFeature])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may
                        (Text -> [Node] -> Either String [AvailableProcessorFeature]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"AvailableProcessorFeature")
                  )
      Either
  String
  (Maybe Text
   -> Maybe Int
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Int
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"Engine")
      Either
  String
  (Maybe Int
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Int)
-> Either
     String
     (Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Int)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"MinStorageSize")
      Either
  String
  (Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"OutpostCapable")
      Either
  String
  (Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Bool
      -> Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SupportsIops")
      Either
  String
  (Maybe Bool
   -> Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Bool
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SupportsKerberosAuthentication")
      Either
  String
  (Maybe Bool
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SupportsPerformanceInsights")
      Either
  String
  (Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Bool
      -> Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"DBInstanceClass")
      Either
  String
  (Maybe Bool
   -> Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Text
      -> Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SupportsGlobalDatabases")
      Either
  String
  (Maybe Text
   -> Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe [AvailabilityZone]
      -> Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"LicenseModel")
      Either
  String
  (Maybe [AvailabilityZone]
   -> Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe [AvailabilityZone])
-> Either
     String
     (Maybe [Text]
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( [Node]
x [Node] -> Text -> Either String (Maybe [Node])
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"AvailabilityZones"
                      Either String (Maybe [Node]) -> [Node] -> Either String [Node]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [Node]
forall a. Monoid a => a
Prelude.mempty
                      Either String [Node]
-> ([Node] -> Either String (Maybe [AvailabilityZone]))
-> Either String (Maybe [AvailabilityZone])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [AvailabilityZone])
-> [Node] -> Either String (Maybe [AvailabilityZone])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text -> [Node] -> Either String [AvailabilityZone]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"AvailabilityZone")
                  )
      Either
  String
  (Maybe [Text]
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe [Text])
-> Either
     String
     (Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( [Node]
x [Node] -> Text -> Either String (Maybe [Node])
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SupportedActivityStreamModes"
                      Either String (Maybe [Node]) -> [Node] -> Either String [Node]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [Node]
forall a. Monoid a => a
Prelude.mempty
                      Either String [Node]
-> ([Node] -> Either String (Maybe [Text]))
-> Either String (Maybe [Text])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [Text])
-> [Node] -> Either String (Maybe [Text])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text -> [Node] -> Either String [Text]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"member")
                  )
      Either
  String
  (Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Bool
      -> Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SupportsStorageAutoscaling")
      Either
  String
  (Maybe Bool
   -> Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Bool
      -> Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SupportsStorageEncryption")
      Either
  String
  (Maybe Bool
   -> Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Double
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"ReadReplicaCapable")
      Either
  String
  (Maybe Double
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Double)
-> Either
     String
     (Maybe Bool
      -> Maybe Bool
      -> Maybe Int
      -> Maybe Text
      -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Double)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"MaxIopsPerGib")
      Either
  String
  (Maybe Bool
   -> Maybe Bool
   -> Maybe Int
   -> Maybe Text
   -> OrderableDBInstanceOption)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Bool
      -> Maybe Int -> Maybe Text -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"Vpc")
      Either
  String
  (Maybe Bool
   -> Maybe Int -> Maybe Text -> OrderableDBInstanceOption)
-> Either String (Maybe Bool)
-> Either
     String (Maybe Int -> Maybe Text -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SupportsEnhancedMonitoring")
      Either
  String (Maybe Int -> Maybe Text -> OrderableDBInstanceOption)
-> Either String (Maybe Int)
-> Either String (Maybe Text -> OrderableDBInstanceOption)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Int)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"MaxIopsPerDbInstance")
      Either String (Maybe Text -> OrderableDBInstanceOption)
-> Either String (Maybe Text)
-> Either String OrderableDBInstanceOption
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"StorageType")

instance Prelude.Hashable OrderableDBInstanceOption

instance Prelude.NFData OrderableDBInstanceOption