{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.RDS.DescribeOrderableDBInstanceOptions
(
DescribeOrderableDBInstanceOptions (..),
newDescribeOrderableDBInstanceOptions,
describeOrderableDBInstanceOptions_engineVersion,
describeOrderableDBInstanceOptions_availabilityZoneGroup,
describeOrderableDBInstanceOptions_filters,
describeOrderableDBInstanceOptions_dbInstanceClass,
describeOrderableDBInstanceOptions_licenseModel,
describeOrderableDBInstanceOptions_marker,
describeOrderableDBInstanceOptions_maxRecords,
describeOrderableDBInstanceOptions_vpc,
describeOrderableDBInstanceOptions_engine,
DescribeOrderableDBInstanceOptionsResponse (..),
newDescribeOrderableDBInstanceOptionsResponse,
describeOrderableDBInstanceOptionsResponse_orderableDBInstanceOptions,
describeOrderableDBInstanceOptionsResponse_marker,
describeOrderableDBInstanceOptionsResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.RDS.Types
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DescribeOrderableDBInstanceOptions = DescribeOrderableDBInstanceOptions'
{
DescribeOrderableDBInstanceOptions -> Maybe Text
engineVersion :: Prelude.Maybe Prelude.Text,
DescribeOrderableDBInstanceOptions -> Maybe Text
availabilityZoneGroup :: Prelude.Maybe Prelude.Text,
DescribeOrderableDBInstanceOptions -> Maybe [Filter]
filters :: Prelude.Maybe [Filter],
DescribeOrderableDBInstanceOptions -> Maybe Text
dbInstanceClass :: Prelude.Maybe Prelude.Text,
DescribeOrderableDBInstanceOptions -> Maybe Text
licenseModel :: Prelude.Maybe Prelude.Text,
DescribeOrderableDBInstanceOptions -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
DescribeOrderableDBInstanceOptions -> Maybe Int
maxRecords :: Prelude.Maybe Prelude.Int,
DescribeOrderableDBInstanceOptions -> Maybe Bool
vpc :: Prelude.Maybe Prelude.Bool,
DescribeOrderableDBInstanceOptions -> Text
engine :: Prelude.Text
}
deriving (DescribeOrderableDBInstanceOptions
-> DescribeOrderableDBInstanceOptions -> Bool
(DescribeOrderableDBInstanceOptions
-> DescribeOrderableDBInstanceOptions -> Bool)
-> (DescribeOrderableDBInstanceOptions
-> DescribeOrderableDBInstanceOptions -> Bool)
-> Eq DescribeOrderableDBInstanceOptions
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeOrderableDBInstanceOptions
-> DescribeOrderableDBInstanceOptions -> Bool
$c/= :: DescribeOrderableDBInstanceOptions
-> DescribeOrderableDBInstanceOptions -> Bool
== :: DescribeOrderableDBInstanceOptions
-> DescribeOrderableDBInstanceOptions -> Bool
$c== :: DescribeOrderableDBInstanceOptions
-> DescribeOrderableDBInstanceOptions -> Bool
Prelude.Eq, ReadPrec [DescribeOrderableDBInstanceOptions]
ReadPrec DescribeOrderableDBInstanceOptions
Int -> ReadS DescribeOrderableDBInstanceOptions
ReadS [DescribeOrderableDBInstanceOptions]
(Int -> ReadS DescribeOrderableDBInstanceOptions)
-> ReadS [DescribeOrderableDBInstanceOptions]
-> ReadPrec DescribeOrderableDBInstanceOptions
-> ReadPrec [DescribeOrderableDBInstanceOptions]
-> Read DescribeOrderableDBInstanceOptions
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeOrderableDBInstanceOptions]
$creadListPrec :: ReadPrec [DescribeOrderableDBInstanceOptions]
readPrec :: ReadPrec DescribeOrderableDBInstanceOptions
$creadPrec :: ReadPrec DescribeOrderableDBInstanceOptions
readList :: ReadS [DescribeOrderableDBInstanceOptions]
$creadList :: ReadS [DescribeOrderableDBInstanceOptions]
readsPrec :: Int -> ReadS DescribeOrderableDBInstanceOptions
$creadsPrec :: Int -> ReadS DescribeOrderableDBInstanceOptions
Prelude.Read, Int -> DescribeOrderableDBInstanceOptions -> ShowS
[DescribeOrderableDBInstanceOptions] -> ShowS
DescribeOrderableDBInstanceOptions -> String
(Int -> DescribeOrderableDBInstanceOptions -> ShowS)
-> (DescribeOrderableDBInstanceOptions -> String)
-> ([DescribeOrderableDBInstanceOptions] -> ShowS)
-> Show DescribeOrderableDBInstanceOptions
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeOrderableDBInstanceOptions] -> ShowS
$cshowList :: [DescribeOrderableDBInstanceOptions] -> ShowS
show :: DescribeOrderableDBInstanceOptions -> String
$cshow :: DescribeOrderableDBInstanceOptions -> String
showsPrec :: Int -> DescribeOrderableDBInstanceOptions -> ShowS
$cshowsPrec :: Int -> DescribeOrderableDBInstanceOptions -> ShowS
Prelude.Show, (forall x.
DescribeOrderableDBInstanceOptions
-> Rep DescribeOrderableDBInstanceOptions x)
-> (forall x.
Rep DescribeOrderableDBInstanceOptions x
-> DescribeOrderableDBInstanceOptions)
-> Generic DescribeOrderableDBInstanceOptions
forall x.
Rep DescribeOrderableDBInstanceOptions x
-> DescribeOrderableDBInstanceOptions
forall x.
DescribeOrderableDBInstanceOptions
-> Rep DescribeOrderableDBInstanceOptions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeOrderableDBInstanceOptions x
-> DescribeOrderableDBInstanceOptions
$cfrom :: forall x.
DescribeOrderableDBInstanceOptions
-> Rep DescribeOrderableDBInstanceOptions x
Prelude.Generic)
newDescribeOrderableDBInstanceOptions ::
Prelude.Text ->
DescribeOrderableDBInstanceOptions
newDescribeOrderableDBInstanceOptions :: Text -> DescribeOrderableDBInstanceOptions
newDescribeOrderableDBInstanceOptions Text
pEngine_ =
DescribeOrderableDBInstanceOptions' :: Maybe Text
-> Maybe Text
-> Maybe [Filter]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Bool
-> Text
-> DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptions'
{ $sel:engineVersion:DescribeOrderableDBInstanceOptions' :: Maybe Text
engineVersion =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:availabilityZoneGroup:DescribeOrderableDBInstanceOptions' :: Maybe Text
availabilityZoneGroup = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:filters:DescribeOrderableDBInstanceOptions' :: Maybe [Filter]
filters = Maybe [Filter]
forall a. Maybe a
Prelude.Nothing,
$sel:dbInstanceClass:DescribeOrderableDBInstanceOptions' :: Maybe Text
dbInstanceClass = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:licenseModel:DescribeOrderableDBInstanceOptions' :: Maybe Text
licenseModel = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:marker:DescribeOrderableDBInstanceOptions' :: Maybe Text
marker = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxRecords:DescribeOrderableDBInstanceOptions' :: Maybe Int
maxRecords = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:vpc:DescribeOrderableDBInstanceOptions' :: Maybe Bool
vpc = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:engine:DescribeOrderableDBInstanceOptions' :: Text
engine = Text
pEngine_
}
describeOrderableDBInstanceOptions_engineVersion :: Lens.Lens' DescribeOrderableDBInstanceOptions (Prelude.Maybe Prelude.Text)
describeOrderableDBInstanceOptions_engineVersion :: (Maybe Text -> f (Maybe Text))
-> DescribeOrderableDBInstanceOptions
-> f DescribeOrderableDBInstanceOptions
describeOrderableDBInstanceOptions_engineVersion = (DescribeOrderableDBInstanceOptions -> Maybe Text)
-> (DescribeOrderableDBInstanceOptions
-> Maybe Text -> DescribeOrderableDBInstanceOptions)
-> Lens
DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptions
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeOrderableDBInstanceOptions' {Maybe Text
engineVersion :: Maybe Text
$sel:engineVersion:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Text
engineVersion} -> Maybe Text
engineVersion) (\s :: DescribeOrderableDBInstanceOptions
s@DescribeOrderableDBInstanceOptions' {} Maybe Text
a -> DescribeOrderableDBInstanceOptions
s {$sel:engineVersion:DescribeOrderableDBInstanceOptions' :: Maybe Text
engineVersion = Maybe Text
a} :: DescribeOrderableDBInstanceOptions)
describeOrderableDBInstanceOptions_availabilityZoneGroup :: Lens.Lens' DescribeOrderableDBInstanceOptions (Prelude.Maybe Prelude.Text)
describeOrderableDBInstanceOptions_availabilityZoneGroup :: (Maybe Text -> f (Maybe Text))
-> DescribeOrderableDBInstanceOptions
-> f DescribeOrderableDBInstanceOptions
describeOrderableDBInstanceOptions_availabilityZoneGroup = (DescribeOrderableDBInstanceOptions -> Maybe Text)
-> (DescribeOrderableDBInstanceOptions
-> Maybe Text -> DescribeOrderableDBInstanceOptions)
-> Lens
DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptions
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeOrderableDBInstanceOptions' {Maybe Text
availabilityZoneGroup :: Maybe Text
$sel:availabilityZoneGroup:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Text
availabilityZoneGroup} -> Maybe Text
availabilityZoneGroup) (\s :: DescribeOrderableDBInstanceOptions
s@DescribeOrderableDBInstanceOptions' {} Maybe Text
a -> DescribeOrderableDBInstanceOptions
s {$sel:availabilityZoneGroup:DescribeOrderableDBInstanceOptions' :: Maybe Text
availabilityZoneGroup = Maybe Text
a} :: DescribeOrderableDBInstanceOptions)
describeOrderableDBInstanceOptions_filters :: Lens.Lens' DescribeOrderableDBInstanceOptions (Prelude.Maybe [Filter])
describeOrderableDBInstanceOptions_filters :: (Maybe [Filter] -> f (Maybe [Filter]))
-> DescribeOrderableDBInstanceOptions
-> f DescribeOrderableDBInstanceOptions
describeOrderableDBInstanceOptions_filters = (DescribeOrderableDBInstanceOptions -> Maybe [Filter])
-> (DescribeOrderableDBInstanceOptions
-> Maybe [Filter] -> DescribeOrderableDBInstanceOptions)
-> Lens
DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptions
(Maybe [Filter])
(Maybe [Filter])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeOrderableDBInstanceOptions' {Maybe [Filter]
filters :: Maybe [Filter]
$sel:filters:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe [Filter]
filters} -> Maybe [Filter]
filters) (\s :: DescribeOrderableDBInstanceOptions
s@DescribeOrderableDBInstanceOptions' {} Maybe [Filter]
a -> DescribeOrderableDBInstanceOptions
s {$sel:filters:DescribeOrderableDBInstanceOptions' :: Maybe [Filter]
filters = Maybe [Filter]
a} :: DescribeOrderableDBInstanceOptions) ((Maybe [Filter] -> f (Maybe [Filter]))
-> DescribeOrderableDBInstanceOptions
-> f DescribeOrderableDBInstanceOptions)
-> ((Maybe [Filter] -> f (Maybe [Filter]))
-> Maybe [Filter] -> f (Maybe [Filter]))
-> (Maybe [Filter] -> f (Maybe [Filter]))
-> DescribeOrderableDBInstanceOptions
-> f DescribeOrderableDBInstanceOptions
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Filter] [Filter] [Filter] [Filter]
-> Iso
(Maybe [Filter]) (Maybe [Filter]) (Maybe [Filter]) (Maybe [Filter])
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 [Filter] [Filter] [Filter] [Filter]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeOrderableDBInstanceOptions_dbInstanceClass :: Lens.Lens' DescribeOrderableDBInstanceOptions (Prelude.Maybe Prelude.Text)
describeOrderableDBInstanceOptions_dbInstanceClass :: (Maybe Text -> f (Maybe Text))
-> DescribeOrderableDBInstanceOptions
-> f DescribeOrderableDBInstanceOptions
describeOrderableDBInstanceOptions_dbInstanceClass = (DescribeOrderableDBInstanceOptions -> Maybe Text)
-> (DescribeOrderableDBInstanceOptions
-> Maybe Text -> DescribeOrderableDBInstanceOptions)
-> Lens
DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptions
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeOrderableDBInstanceOptions' {Maybe Text
dbInstanceClass :: Maybe Text
$sel:dbInstanceClass:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Text
dbInstanceClass} -> Maybe Text
dbInstanceClass) (\s :: DescribeOrderableDBInstanceOptions
s@DescribeOrderableDBInstanceOptions' {} Maybe Text
a -> DescribeOrderableDBInstanceOptions
s {$sel:dbInstanceClass:DescribeOrderableDBInstanceOptions' :: Maybe Text
dbInstanceClass = Maybe Text
a} :: DescribeOrderableDBInstanceOptions)
describeOrderableDBInstanceOptions_licenseModel :: Lens.Lens' DescribeOrderableDBInstanceOptions (Prelude.Maybe Prelude.Text)
describeOrderableDBInstanceOptions_licenseModel :: (Maybe Text -> f (Maybe Text))
-> DescribeOrderableDBInstanceOptions
-> f DescribeOrderableDBInstanceOptions
describeOrderableDBInstanceOptions_licenseModel = (DescribeOrderableDBInstanceOptions -> Maybe Text)
-> (DescribeOrderableDBInstanceOptions
-> Maybe Text -> DescribeOrderableDBInstanceOptions)
-> Lens
DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptions
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeOrderableDBInstanceOptions' {Maybe Text
licenseModel :: Maybe Text
$sel:licenseModel:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Text
licenseModel} -> Maybe Text
licenseModel) (\s :: DescribeOrderableDBInstanceOptions
s@DescribeOrderableDBInstanceOptions' {} Maybe Text
a -> DescribeOrderableDBInstanceOptions
s {$sel:licenseModel:DescribeOrderableDBInstanceOptions' :: Maybe Text
licenseModel = Maybe Text
a} :: DescribeOrderableDBInstanceOptions)
describeOrderableDBInstanceOptions_marker :: Lens.Lens' DescribeOrderableDBInstanceOptions (Prelude.Maybe Prelude.Text)
describeOrderableDBInstanceOptions_marker :: (Maybe Text -> f (Maybe Text))
-> DescribeOrderableDBInstanceOptions
-> f DescribeOrderableDBInstanceOptions
describeOrderableDBInstanceOptions_marker = (DescribeOrderableDBInstanceOptions -> Maybe Text)
-> (DescribeOrderableDBInstanceOptions
-> Maybe Text -> DescribeOrderableDBInstanceOptions)
-> Lens
DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptions
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeOrderableDBInstanceOptions' {Maybe Text
marker :: Maybe Text
$sel:marker:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Text
marker} -> Maybe Text
marker) (\s :: DescribeOrderableDBInstanceOptions
s@DescribeOrderableDBInstanceOptions' {} Maybe Text
a -> DescribeOrderableDBInstanceOptions
s {$sel:marker:DescribeOrderableDBInstanceOptions' :: Maybe Text
marker = Maybe Text
a} :: DescribeOrderableDBInstanceOptions)
describeOrderableDBInstanceOptions_maxRecords :: Lens.Lens' DescribeOrderableDBInstanceOptions (Prelude.Maybe Prelude.Int)
describeOrderableDBInstanceOptions_maxRecords :: (Maybe Int -> f (Maybe Int))
-> DescribeOrderableDBInstanceOptions
-> f DescribeOrderableDBInstanceOptions
describeOrderableDBInstanceOptions_maxRecords = (DescribeOrderableDBInstanceOptions -> Maybe Int)
-> (DescribeOrderableDBInstanceOptions
-> Maybe Int -> DescribeOrderableDBInstanceOptions)
-> Lens
DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptions
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeOrderableDBInstanceOptions' {Maybe Int
maxRecords :: Maybe Int
$sel:maxRecords:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Int
maxRecords} -> Maybe Int
maxRecords) (\s :: DescribeOrderableDBInstanceOptions
s@DescribeOrderableDBInstanceOptions' {} Maybe Int
a -> DescribeOrderableDBInstanceOptions
s {$sel:maxRecords:DescribeOrderableDBInstanceOptions' :: Maybe Int
maxRecords = Maybe Int
a} :: DescribeOrderableDBInstanceOptions)
describeOrderableDBInstanceOptions_vpc :: Lens.Lens' DescribeOrderableDBInstanceOptions (Prelude.Maybe Prelude.Bool)
describeOrderableDBInstanceOptions_vpc :: (Maybe Bool -> f (Maybe Bool))
-> DescribeOrderableDBInstanceOptions
-> f DescribeOrderableDBInstanceOptions
describeOrderableDBInstanceOptions_vpc = (DescribeOrderableDBInstanceOptions -> Maybe Bool)
-> (DescribeOrderableDBInstanceOptions
-> Maybe Bool -> DescribeOrderableDBInstanceOptions)
-> Lens
DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptions
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeOrderableDBInstanceOptions' {Maybe Bool
vpc :: Maybe Bool
$sel:vpc:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Bool
vpc} -> Maybe Bool
vpc) (\s :: DescribeOrderableDBInstanceOptions
s@DescribeOrderableDBInstanceOptions' {} Maybe Bool
a -> DescribeOrderableDBInstanceOptions
s {$sel:vpc:DescribeOrderableDBInstanceOptions' :: Maybe Bool
vpc = Maybe Bool
a} :: DescribeOrderableDBInstanceOptions)
describeOrderableDBInstanceOptions_engine :: Lens.Lens' DescribeOrderableDBInstanceOptions Prelude.Text
describeOrderableDBInstanceOptions_engine :: (Text -> f Text)
-> DescribeOrderableDBInstanceOptions
-> f DescribeOrderableDBInstanceOptions
describeOrderableDBInstanceOptions_engine = (DescribeOrderableDBInstanceOptions -> Text)
-> (DescribeOrderableDBInstanceOptions
-> Text -> DescribeOrderableDBInstanceOptions)
-> Lens
DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptions
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeOrderableDBInstanceOptions' {Text
engine :: Text
$sel:engine:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Text
engine} -> Text
engine) (\s :: DescribeOrderableDBInstanceOptions
s@DescribeOrderableDBInstanceOptions' {} Text
a -> DescribeOrderableDBInstanceOptions
s {$sel:engine:DescribeOrderableDBInstanceOptions' :: Text
engine = Text
a} :: DescribeOrderableDBInstanceOptions)
instance
Core.AWSPager
DescribeOrderableDBInstanceOptions
where
page :: DescribeOrderableDBInstanceOptions
-> AWSResponse DescribeOrderableDBInstanceOptions
-> Maybe DescribeOrderableDBInstanceOptions
page DescribeOrderableDBInstanceOptions
rq AWSResponse DescribeOrderableDBInstanceOptions
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptionsResponse
rs
DescribeOrderableDBInstanceOptionsResponse
-> Getting
(First Text) DescribeOrderableDBInstanceOptionsResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> DescribeOrderableDBInstanceOptionsResponse
-> Const (First Text) DescribeOrderableDBInstanceOptionsResponse
Lens' DescribeOrderableDBInstanceOptionsResponse (Maybe Text)
describeOrderableDBInstanceOptionsResponse_marker
((Maybe Text -> Const (First Text) (Maybe Text))
-> DescribeOrderableDBInstanceOptionsResponse
-> Const (First Text) DescribeOrderableDBInstanceOptionsResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting
(First Text) DescribeOrderableDBInstanceOptionsResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe DescribeOrderableDBInstanceOptions
forall a. Maybe a
Prelude.Nothing
| Maybe [OrderableDBInstanceOption] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptionsResponse
rs
DescribeOrderableDBInstanceOptionsResponse
-> Getting
(First [OrderableDBInstanceOption])
DescribeOrderableDBInstanceOptionsResponse
[OrderableDBInstanceOption]
-> Maybe [OrderableDBInstanceOption]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [OrderableDBInstanceOption]
-> Const
(First [OrderableDBInstanceOption])
(Maybe [OrderableDBInstanceOption]))
-> DescribeOrderableDBInstanceOptionsResponse
-> Const
(First [OrderableDBInstanceOption])
DescribeOrderableDBInstanceOptionsResponse
Lens'
DescribeOrderableDBInstanceOptionsResponse
(Maybe [OrderableDBInstanceOption])
describeOrderableDBInstanceOptionsResponse_orderableDBInstanceOptions
((Maybe [OrderableDBInstanceOption]
-> Const
(First [OrderableDBInstanceOption])
(Maybe [OrderableDBInstanceOption]))
-> DescribeOrderableDBInstanceOptionsResponse
-> Const
(First [OrderableDBInstanceOption])
DescribeOrderableDBInstanceOptionsResponse)
-> (([OrderableDBInstanceOption]
-> Const
(First [OrderableDBInstanceOption]) [OrderableDBInstanceOption])
-> Maybe [OrderableDBInstanceOption]
-> Const
(First [OrderableDBInstanceOption])
(Maybe [OrderableDBInstanceOption]))
-> Getting
(First [OrderableDBInstanceOption])
DescribeOrderableDBInstanceOptionsResponse
[OrderableDBInstanceOption]
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([OrderableDBInstanceOption]
-> Const
(First [OrderableDBInstanceOption]) [OrderableDBInstanceOption])
-> Maybe [OrderableDBInstanceOption]
-> Const
(First [OrderableDBInstanceOption])
(Maybe [OrderableDBInstanceOption])
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe DescribeOrderableDBInstanceOptions
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
DescribeOrderableDBInstanceOptions
-> Maybe DescribeOrderableDBInstanceOptions
forall a. a -> Maybe a
Prelude.Just (DescribeOrderableDBInstanceOptions
-> Maybe DescribeOrderableDBInstanceOptions)
-> DescribeOrderableDBInstanceOptions
-> Maybe DescribeOrderableDBInstanceOptions
forall a b. (a -> b) -> a -> b
Prelude.$
DescribeOrderableDBInstanceOptions
rq
DescribeOrderableDBInstanceOptions
-> (DescribeOrderableDBInstanceOptions
-> DescribeOrderableDBInstanceOptions)
-> DescribeOrderableDBInstanceOptions
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> DescribeOrderableDBInstanceOptions
-> Identity DescribeOrderableDBInstanceOptions
Lens
DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptions
(Maybe Text)
(Maybe Text)
describeOrderableDBInstanceOptions_marker
((Maybe Text -> Identity (Maybe Text))
-> DescribeOrderableDBInstanceOptions
-> Identity DescribeOrderableDBInstanceOptions)
-> Maybe Text
-> DescribeOrderableDBInstanceOptions
-> DescribeOrderableDBInstanceOptions
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse DescribeOrderableDBInstanceOptions
DescribeOrderableDBInstanceOptionsResponse
rs
DescribeOrderableDBInstanceOptionsResponse
-> Getting
(First Text) DescribeOrderableDBInstanceOptionsResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> DescribeOrderableDBInstanceOptionsResponse
-> Const (First Text) DescribeOrderableDBInstanceOptionsResponse
Lens' DescribeOrderableDBInstanceOptionsResponse (Maybe Text)
describeOrderableDBInstanceOptionsResponse_marker
((Maybe Text -> Const (First Text) (Maybe Text))
-> DescribeOrderableDBInstanceOptionsResponse
-> Const (First Text) DescribeOrderableDBInstanceOptionsResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting
(First Text) DescribeOrderableDBInstanceOptionsResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance
Core.AWSRequest
DescribeOrderableDBInstanceOptions
where
type
AWSResponse DescribeOrderableDBInstanceOptions =
DescribeOrderableDBInstanceOptionsResponse
request :: DescribeOrderableDBInstanceOptions
-> Request DescribeOrderableDBInstanceOptions
request = Service
-> DescribeOrderableDBInstanceOptions
-> Request DescribeOrderableDBInstanceOptions
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeOrderableDBInstanceOptions
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DescribeOrderableDBInstanceOptions)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse DescribeOrderableDBInstanceOptions))
-> Logger
-> Service
-> Proxy DescribeOrderableDBInstanceOptions
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DescribeOrderableDBInstanceOptions)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
-> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
Text
"DescribeOrderableDBInstanceOptionsResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe [OrderableDBInstanceOption]
-> Maybe Text -> Int -> DescribeOrderableDBInstanceOptionsResponse
DescribeOrderableDBInstanceOptionsResponse'
(Maybe [OrderableDBInstanceOption]
-> Maybe Text -> Int -> DescribeOrderableDBInstanceOptionsResponse)
-> Either String (Maybe [OrderableDBInstanceOption])
-> Either
String
(Maybe Text -> Int -> DescribeOrderableDBInstanceOptionsResponse)
forall (f :: * -> *) a b. Functor 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
"OrderableDBInstanceOptions"
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 [OrderableDBInstanceOption]))
-> Either String (Maybe [OrderableDBInstanceOption])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [OrderableDBInstanceOption])
-> [Node] -> Either String (Maybe [OrderableDBInstanceOption])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may
(Text -> [Node] -> Either String [OrderableDBInstanceOption]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"OrderableDBInstanceOption")
)
Either
String
(Maybe Text -> Int -> DescribeOrderableDBInstanceOptionsResponse)
-> Either String (Maybe Text)
-> Either
String (Int -> DescribeOrderableDBInstanceOptionsResponse)
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
"Marker")
Either String (Int -> DescribeOrderableDBInstanceOptionsResponse)
-> Either String Int
-> Either String DescribeOrderableDBInstanceOptionsResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance
Prelude.Hashable
DescribeOrderableDBInstanceOptions
instance
Prelude.NFData
DescribeOrderableDBInstanceOptions
instance
Core.ToHeaders
DescribeOrderableDBInstanceOptions
where
toHeaders :: DescribeOrderableDBInstanceOptions -> ResponseHeaders
toHeaders = ResponseHeaders
-> DescribeOrderableDBInstanceOptions -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance
Core.ToPath
DescribeOrderableDBInstanceOptions
where
toPath :: DescribeOrderableDBInstanceOptions -> ByteString
toPath = ByteString -> DescribeOrderableDBInstanceOptions -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
DescribeOrderableDBInstanceOptions
where
toQuery :: DescribeOrderableDBInstanceOptions -> QueryString
toQuery DescribeOrderableDBInstanceOptions' {Maybe Bool
Maybe Int
Maybe [Filter]
Maybe Text
Text
engine :: Text
vpc :: Maybe Bool
maxRecords :: Maybe Int
marker :: Maybe Text
licenseModel :: Maybe Text
dbInstanceClass :: Maybe Text
filters :: Maybe [Filter]
availabilityZoneGroup :: Maybe Text
engineVersion :: Maybe Text
$sel:engine:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Text
$sel:vpc:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Bool
$sel:maxRecords:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Int
$sel:marker:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Text
$sel:licenseModel:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Text
$sel:dbInstanceClass:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Text
$sel:filters:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe [Filter]
$sel:availabilityZoneGroup:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Text
$sel:engineVersion:DescribeOrderableDBInstanceOptions' :: DescribeOrderableDBInstanceOptions -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: ( ByteString
"DescribeOrderableDBInstanceOptions" ::
Prelude.ByteString
),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2014-10-31" :: Prelude.ByteString),
ByteString
"EngineVersion" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
engineVersion,
ByteString
"AvailabilityZoneGroup"
ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
availabilityZoneGroup,
ByteString
"Filters"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
(ByteString -> [Filter] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"Filter" ([Filter] -> QueryString) -> Maybe [Filter] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Filter]
filters),
ByteString
"DBInstanceClass" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
dbInstanceClass,
ByteString
"LicenseModel" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
licenseModel,
ByteString
"Marker" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
marker,
ByteString
"MaxRecords" ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
maxRecords,
ByteString
"Vpc" ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
vpc,
ByteString
"Engine" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
engine
]
data DescribeOrderableDBInstanceOptionsResponse = DescribeOrderableDBInstanceOptionsResponse'
{
DescribeOrderableDBInstanceOptionsResponse
-> Maybe [OrderableDBInstanceOption]
orderableDBInstanceOptions :: Prelude.Maybe [OrderableDBInstanceOption],
DescribeOrderableDBInstanceOptionsResponse -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
DescribeOrderableDBInstanceOptionsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeOrderableDBInstanceOptionsResponse
-> DescribeOrderableDBInstanceOptionsResponse -> Bool
(DescribeOrderableDBInstanceOptionsResponse
-> DescribeOrderableDBInstanceOptionsResponse -> Bool)
-> (DescribeOrderableDBInstanceOptionsResponse
-> DescribeOrderableDBInstanceOptionsResponse -> Bool)
-> Eq DescribeOrderableDBInstanceOptionsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeOrderableDBInstanceOptionsResponse
-> DescribeOrderableDBInstanceOptionsResponse -> Bool
$c/= :: DescribeOrderableDBInstanceOptionsResponse
-> DescribeOrderableDBInstanceOptionsResponse -> Bool
== :: DescribeOrderableDBInstanceOptionsResponse
-> DescribeOrderableDBInstanceOptionsResponse -> Bool
$c== :: DescribeOrderableDBInstanceOptionsResponse
-> DescribeOrderableDBInstanceOptionsResponse -> Bool
Prelude.Eq, ReadPrec [DescribeOrderableDBInstanceOptionsResponse]
ReadPrec DescribeOrderableDBInstanceOptionsResponse
Int -> ReadS DescribeOrderableDBInstanceOptionsResponse
ReadS [DescribeOrderableDBInstanceOptionsResponse]
(Int -> ReadS DescribeOrderableDBInstanceOptionsResponse)
-> ReadS [DescribeOrderableDBInstanceOptionsResponse]
-> ReadPrec DescribeOrderableDBInstanceOptionsResponse
-> ReadPrec [DescribeOrderableDBInstanceOptionsResponse]
-> Read DescribeOrderableDBInstanceOptionsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeOrderableDBInstanceOptionsResponse]
$creadListPrec :: ReadPrec [DescribeOrderableDBInstanceOptionsResponse]
readPrec :: ReadPrec DescribeOrderableDBInstanceOptionsResponse
$creadPrec :: ReadPrec DescribeOrderableDBInstanceOptionsResponse
readList :: ReadS [DescribeOrderableDBInstanceOptionsResponse]
$creadList :: ReadS [DescribeOrderableDBInstanceOptionsResponse]
readsPrec :: Int -> ReadS DescribeOrderableDBInstanceOptionsResponse
$creadsPrec :: Int -> ReadS DescribeOrderableDBInstanceOptionsResponse
Prelude.Read, Int -> DescribeOrderableDBInstanceOptionsResponse -> ShowS
[DescribeOrderableDBInstanceOptionsResponse] -> ShowS
DescribeOrderableDBInstanceOptionsResponse -> String
(Int -> DescribeOrderableDBInstanceOptionsResponse -> ShowS)
-> (DescribeOrderableDBInstanceOptionsResponse -> String)
-> ([DescribeOrderableDBInstanceOptionsResponse] -> ShowS)
-> Show DescribeOrderableDBInstanceOptionsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeOrderableDBInstanceOptionsResponse] -> ShowS
$cshowList :: [DescribeOrderableDBInstanceOptionsResponse] -> ShowS
show :: DescribeOrderableDBInstanceOptionsResponse -> String
$cshow :: DescribeOrderableDBInstanceOptionsResponse -> String
showsPrec :: Int -> DescribeOrderableDBInstanceOptionsResponse -> ShowS
$cshowsPrec :: Int -> DescribeOrderableDBInstanceOptionsResponse -> ShowS
Prelude.Show, (forall x.
DescribeOrderableDBInstanceOptionsResponse
-> Rep DescribeOrderableDBInstanceOptionsResponse x)
-> (forall x.
Rep DescribeOrderableDBInstanceOptionsResponse x
-> DescribeOrderableDBInstanceOptionsResponse)
-> Generic DescribeOrderableDBInstanceOptionsResponse
forall x.
Rep DescribeOrderableDBInstanceOptionsResponse x
-> DescribeOrderableDBInstanceOptionsResponse
forall x.
DescribeOrderableDBInstanceOptionsResponse
-> Rep DescribeOrderableDBInstanceOptionsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeOrderableDBInstanceOptionsResponse x
-> DescribeOrderableDBInstanceOptionsResponse
$cfrom :: forall x.
DescribeOrderableDBInstanceOptionsResponse
-> Rep DescribeOrderableDBInstanceOptionsResponse x
Prelude.Generic)
newDescribeOrderableDBInstanceOptionsResponse ::
Prelude.Int ->
DescribeOrderableDBInstanceOptionsResponse
newDescribeOrderableDBInstanceOptionsResponse :: Int -> DescribeOrderableDBInstanceOptionsResponse
newDescribeOrderableDBInstanceOptionsResponse
Int
pHttpStatus_ =
DescribeOrderableDBInstanceOptionsResponse' :: Maybe [OrderableDBInstanceOption]
-> Maybe Text -> Int -> DescribeOrderableDBInstanceOptionsResponse
DescribeOrderableDBInstanceOptionsResponse'
{ $sel:orderableDBInstanceOptions:DescribeOrderableDBInstanceOptionsResponse' :: Maybe [OrderableDBInstanceOption]
orderableDBInstanceOptions =
Maybe [OrderableDBInstanceOption]
forall a. Maybe a
Prelude.Nothing,
$sel:marker:DescribeOrderableDBInstanceOptionsResponse' :: Maybe Text
marker = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeOrderableDBInstanceOptionsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeOrderableDBInstanceOptionsResponse_orderableDBInstanceOptions :: Lens.Lens' DescribeOrderableDBInstanceOptionsResponse (Prelude.Maybe [OrderableDBInstanceOption])
describeOrderableDBInstanceOptionsResponse_orderableDBInstanceOptions :: (Maybe [OrderableDBInstanceOption]
-> f (Maybe [OrderableDBInstanceOption]))
-> DescribeOrderableDBInstanceOptionsResponse
-> f DescribeOrderableDBInstanceOptionsResponse
describeOrderableDBInstanceOptionsResponse_orderableDBInstanceOptions = (DescribeOrderableDBInstanceOptionsResponse
-> Maybe [OrderableDBInstanceOption])
-> (DescribeOrderableDBInstanceOptionsResponse
-> Maybe [OrderableDBInstanceOption]
-> DescribeOrderableDBInstanceOptionsResponse)
-> Lens'
DescribeOrderableDBInstanceOptionsResponse
(Maybe [OrderableDBInstanceOption])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeOrderableDBInstanceOptionsResponse' {Maybe [OrderableDBInstanceOption]
orderableDBInstanceOptions :: Maybe [OrderableDBInstanceOption]
$sel:orderableDBInstanceOptions:DescribeOrderableDBInstanceOptionsResponse' :: DescribeOrderableDBInstanceOptionsResponse
-> Maybe [OrderableDBInstanceOption]
orderableDBInstanceOptions} -> Maybe [OrderableDBInstanceOption]
orderableDBInstanceOptions) (\s :: DescribeOrderableDBInstanceOptionsResponse
s@DescribeOrderableDBInstanceOptionsResponse' {} Maybe [OrderableDBInstanceOption]
a -> DescribeOrderableDBInstanceOptionsResponse
s {$sel:orderableDBInstanceOptions:DescribeOrderableDBInstanceOptionsResponse' :: Maybe [OrderableDBInstanceOption]
orderableDBInstanceOptions = Maybe [OrderableDBInstanceOption]
a} :: DescribeOrderableDBInstanceOptionsResponse) ((Maybe [OrderableDBInstanceOption]
-> f (Maybe [OrderableDBInstanceOption]))
-> DescribeOrderableDBInstanceOptionsResponse
-> f DescribeOrderableDBInstanceOptionsResponse)
-> ((Maybe [OrderableDBInstanceOption]
-> f (Maybe [OrderableDBInstanceOption]))
-> Maybe [OrderableDBInstanceOption]
-> f (Maybe [OrderableDBInstanceOption]))
-> (Maybe [OrderableDBInstanceOption]
-> f (Maybe [OrderableDBInstanceOption]))
-> DescribeOrderableDBInstanceOptionsResponse
-> f DescribeOrderableDBInstanceOptionsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[OrderableDBInstanceOption]
[OrderableDBInstanceOption]
[OrderableDBInstanceOption]
[OrderableDBInstanceOption]
-> Iso
(Maybe [OrderableDBInstanceOption])
(Maybe [OrderableDBInstanceOption])
(Maybe [OrderableDBInstanceOption])
(Maybe [OrderableDBInstanceOption])
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
[OrderableDBInstanceOption]
[OrderableDBInstanceOption]
[OrderableDBInstanceOption]
[OrderableDBInstanceOption]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeOrderableDBInstanceOptionsResponse_marker :: Lens.Lens' DescribeOrderableDBInstanceOptionsResponse (Prelude.Maybe Prelude.Text)
describeOrderableDBInstanceOptionsResponse_marker :: (Maybe Text -> f (Maybe Text))
-> DescribeOrderableDBInstanceOptionsResponse
-> f DescribeOrderableDBInstanceOptionsResponse
describeOrderableDBInstanceOptionsResponse_marker = (DescribeOrderableDBInstanceOptionsResponse -> Maybe Text)
-> (DescribeOrderableDBInstanceOptionsResponse
-> Maybe Text -> DescribeOrderableDBInstanceOptionsResponse)
-> Lens' DescribeOrderableDBInstanceOptionsResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeOrderableDBInstanceOptionsResponse' {Maybe Text
marker :: Maybe Text
$sel:marker:DescribeOrderableDBInstanceOptionsResponse' :: DescribeOrderableDBInstanceOptionsResponse -> Maybe Text
marker} -> Maybe Text
marker) (\s :: DescribeOrderableDBInstanceOptionsResponse
s@DescribeOrderableDBInstanceOptionsResponse' {} Maybe Text
a -> DescribeOrderableDBInstanceOptionsResponse
s {$sel:marker:DescribeOrderableDBInstanceOptionsResponse' :: Maybe Text
marker = Maybe Text
a} :: DescribeOrderableDBInstanceOptionsResponse)
describeOrderableDBInstanceOptionsResponse_httpStatus :: Lens.Lens' DescribeOrderableDBInstanceOptionsResponse Prelude.Int
describeOrderableDBInstanceOptionsResponse_httpStatus :: (Int -> f Int)
-> DescribeOrderableDBInstanceOptionsResponse
-> f DescribeOrderableDBInstanceOptionsResponse
describeOrderableDBInstanceOptionsResponse_httpStatus = (DescribeOrderableDBInstanceOptionsResponse -> Int)
-> (DescribeOrderableDBInstanceOptionsResponse
-> Int -> DescribeOrderableDBInstanceOptionsResponse)
-> Lens
DescribeOrderableDBInstanceOptionsResponse
DescribeOrderableDBInstanceOptionsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeOrderableDBInstanceOptionsResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeOrderableDBInstanceOptionsResponse' :: DescribeOrderableDBInstanceOptionsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeOrderableDBInstanceOptionsResponse
s@DescribeOrderableDBInstanceOptionsResponse' {} Int
a -> DescribeOrderableDBInstanceOptionsResponse
s {$sel:httpStatus:DescribeOrderableDBInstanceOptionsResponse' :: Int
httpStatus = Int
a} :: DescribeOrderableDBInstanceOptionsResponse)
instance
Prelude.NFData
DescribeOrderableDBInstanceOptionsResponse