{-# 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.Lightsail.DeleteRelationalDatabase
(
DeleteRelationalDatabase (..),
newDeleteRelationalDatabase,
deleteRelationalDatabase_skipFinalSnapshot,
deleteRelationalDatabase_finalRelationalDatabaseSnapshotName,
deleteRelationalDatabase_relationalDatabaseName,
DeleteRelationalDatabaseResponse (..),
newDeleteRelationalDatabaseResponse,
deleteRelationalDatabaseResponse_operations,
deleteRelationalDatabaseResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.Lightsail.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DeleteRelationalDatabase = DeleteRelationalDatabase'
{
DeleteRelationalDatabase -> Maybe Bool
skipFinalSnapshot :: Prelude.Maybe Prelude.Bool,
DeleteRelationalDatabase -> Maybe Text
finalRelationalDatabaseSnapshotName :: Prelude.Maybe Prelude.Text,
DeleteRelationalDatabase -> Text
relationalDatabaseName :: Prelude.Text
}
deriving (DeleteRelationalDatabase -> DeleteRelationalDatabase -> Bool
(DeleteRelationalDatabase -> DeleteRelationalDatabase -> Bool)
-> (DeleteRelationalDatabase -> DeleteRelationalDatabase -> Bool)
-> Eq DeleteRelationalDatabase
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteRelationalDatabase -> DeleteRelationalDatabase -> Bool
$c/= :: DeleteRelationalDatabase -> DeleteRelationalDatabase -> Bool
== :: DeleteRelationalDatabase -> DeleteRelationalDatabase -> Bool
$c== :: DeleteRelationalDatabase -> DeleteRelationalDatabase -> Bool
Prelude.Eq, ReadPrec [DeleteRelationalDatabase]
ReadPrec DeleteRelationalDatabase
Int -> ReadS DeleteRelationalDatabase
ReadS [DeleteRelationalDatabase]
(Int -> ReadS DeleteRelationalDatabase)
-> ReadS [DeleteRelationalDatabase]
-> ReadPrec DeleteRelationalDatabase
-> ReadPrec [DeleteRelationalDatabase]
-> Read DeleteRelationalDatabase
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteRelationalDatabase]
$creadListPrec :: ReadPrec [DeleteRelationalDatabase]
readPrec :: ReadPrec DeleteRelationalDatabase
$creadPrec :: ReadPrec DeleteRelationalDatabase
readList :: ReadS [DeleteRelationalDatabase]
$creadList :: ReadS [DeleteRelationalDatabase]
readsPrec :: Int -> ReadS DeleteRelationalDatabase
$creadsPrec :: Int -> ReadS DeleteRelationalDatabase
Prelude.Read, Int -> DeleteRelationalDatabase -> ShowS
[DeleteRelationalDatabase] -> ShowS
DeleteRelationalDatabase -> String
(Int -> DeleteRelationalDatabase -> ShowS)
-> (DeleteRelationalDatabase -> String)
-> ([DeleteRelationalDatabase] -> ShowS)
-> Show DeleteRelationalDatabase
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteRelationalDatabase] -> ShowS
$cshowList :: [DeleteRelationalDatabase] -> ShowS
show :: DeleteRelationalDatabase -> String
$cshow :: DeleteRelationalDatabase -> String
showsPrec :: Int -> DeleteRelationalDatabase -> ShowS
$cshowsPrec :: Int -> DeleteRelationalDatabase -> ShowS
Prelude.Show, (forall x.
DeleteRelationalDatabase -> Rep DeleteRelationalDatabase x)
-> (forall x.
Rep DeleteRelationalDatabase x -> DeleteRelationalDatabase)
-> Generic DeleteRelationalDatabase
forall x.
Rep DeleteRelationalDatabase x -> DeleteRelationalDatabase
forall x.
DeleteRelationalDatabase -> Rep DeleteRelationalDatabase x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteRelationalDatabase x -> DeleteRelationalDatabase
$cfrom :: forall x.
DeleteRelationalDatabase -> Rep DeleteRelationalDatabase x
Prelude.Generic)
newDeleteRelationalDatabase ::
Prelude.Text ->
DeleteRelationalDatabase
newDeleteRelationalDatabase :: Text -> DeleteRelationalDatabase
newDeleteRelationalDatabase Text
pRelationalDatabaseName_ =
DeleteRelationalDatabase' :: Maybe Bool -> Maybe Text -> Text -> DeleteRelationalDatabase
DeleteRelationalDatabase'
{ $sel:skipFinalSnapshot:DeleteRelationalDatabase' :: Maybe Bool
skipFinalSnapshot =
Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:finalRelationalDatabaseSnapshotName:DeleteRelationalDatabase' :: Maybe Text
finalRelationalDatabaseSnapshotName =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:relationalDatabaseName:DeleteRelationalDatabase' :: Text
relationalDatabaseName = Text
pRelationalDatabaseName_
}
deleteRelationalDatabase_skipFinalSnapshot :: Lens.Lens' DeleteRelationalDatabase (Prelude.Maybe Prelude.Bool)
deleteRelationalDatabase_skipFinalSnapshot :: (Maybe Bool -> f (Maybe Bool))
-> DeleteRelationalDatabase -> f DeleteRelationalDatabase
deleteRelationalDatabase_skipFinalSnapshot = (DeleteRelationalDatabase -> Maybe Bool)
-> (DeleteRelationalDatabase
-> Maybe Bool -> DeleteRelationalDatabase)
-> Lens
DeleteRelationalDatabase
DeleteRelationalDatabase
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteRelationalDatabase' {Maybe Bool
skipFinalSnapshot :: Maybe Bool
$sel:skipFinalSnapshot:DeleteRelationalDatabase' :: DeleteRelationalDatabase -> Maybe Bool
skipFinalSnapshot} -> Maybe Bool
skipFinalSnapshot) (\s :: DeleteRelationalDatabase
s@DeleteRelationalDatabase' {} Maybe Bool
a -> DeleteRelationalDatabase
s {$sel:skipFinalSnapshot:DeleteRelationalDatabase' :: Maybe Bool
skipFinalSnapshot = Maybe Bool
a} :: DeleteRelationalDatabase)
deleteRelationalDatabase_finalRelationalDatabaseSnapshotName :: Lens.Lens' DeleteRelationalDatabase (Prelude.Maybe Prelude.Text)
deleteRelationalDatabase_finalRelationalDatabaseSnapshotName :: (Maybe Text -> f (Maybe Text))
-> DeleteRelationalDatabase -> f DeleteRelationalDatabase
deleteRelationalDatabase_finalRelationalDatabaseSnapshotName = (DeleteRelationalDatabase -> Maybe Text)
-> (DeleteRelationalDatabase
-> Maybe Text -> DeleteRelationalDatabase)
-> Lens
DeleteRelationalDatabase
DeleteRelationalDatabase
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteRelationalDatabase' {Maybe Text
finalRelationalDatabaseSnapshotName :: Maybe Text
$sel:finalRelationalDatabaseSnapshotName:DeleteRelationalDatabase' :: DeleteRelationalDatabase -> Maybe Text
finalRelationalDatabaseSnapshotName} -> Maybe Text
finalRelationalDatabaseSnapshotName) (\s :: DeleteRelationalDatabase
s@DeleteRelationalDatabase' {} Maybe Text
a -> DeleteRelationalDatabase
s {$sel:finalRelationalDatabaseSnapshotName:DeleteRelationalDatabase' :: Maybe Text
finalRelationalDatabaseSnapshotName = Maybe Text
a} :: DeleteRelationalDatabase)
deleteRelationalDatabase_relationalDatabaseName :: Lens.Lens' DeleteRelationalDatabase Prelude.Text
deleteRelationalDatabase_relationalDatabaseName :: (Text -> f Text)
-> DeleteRelationalDatabase -> f DeleteRelationalDatabase
deleteRelationalDatabase_relationalDatabaseName = (DeleteRelationalDatabase -> Text)
-> (DeleteRelationalDatabase -> Text -> DeleteRelationalDatabase)
-> Lens DeleteRelationalDatabase DeleteRelationalDatabase Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteRelationalDatabase' {Text
relationalDatabaseName :: Text
$sel:relationalDatabaseName:DeleteRelationalDatabase' :: DeleteRelationalDatabase -> Text
relationalDatabaseName} -> Text
relationalDatabaseName) (\s :: DeleteRelationalDatabase
s@DeleteRelationalDatabase' {} Text
a -> DeleteRelationalDatabase
s {$sel:relationalDatabaseName:DeleteRelationalDatabase' :: Text
relationalDatabaseName = Text
a} :: DeleteRelationalDatabase)
instance Core.AWSRequest DeleteRelationalDatabase where
type
AWSResponse DeleteRelationalDatabase =
DeleteRelationalDatabaseResponse
request :: DeleteRelationalDatabase -> Request DeleteRelationalDatabase
request = Service
-> DeleteRelationalDatabase -> Request DeleteRelationalDatabase
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DeleteRelationalDatabase
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DeleteRelationalDatabase)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DeleteRelationalDatabase))
-> Logger
-> Service
-> Proxy DeleteRelationalDatabase
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DeleteRelationalDatabase)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe [Operation] -> Int -> DeleteRelationalDatabaseResponse
DeleteRelationalDatabaseResponse'
(Maybe [Operation] -> Int -> DeleteRelationalDatabaseResponse)
-> Either String (Maybe [Operation])
-> Either String (Int -> DeleteRelationalDatabaseResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [Operation]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"operations" Either String (Maybe (Maybe [Operation]))
-> Maybe [Operation] -> Either String (Maybe [Operation])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Operation]
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> DeleteRelationalDatabaseResponse)
-> Either String Int
-> Either String DeleteRelationalDatabaseResponse
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 DeleteRelationalDatabase
instance Prelude.NFData DeleteRelationalDatabase
instance Core.ToHeaders DeleteRelationalDatabase where
toHeaders :: DeleteRelationalDatabase -> ResponseHeaders
toHeaders =
ResponseHeaders -> DeleteRelationalDatabase -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"Lightsail_20161128.DeleteRelationalDatabase" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON DeleteRelationalDatabase where
toJSON :: DeleteRelationalDatabase -> Value
toJSON DeleteRelationalDatabase' {Maybe Bool
Maybe Text
Text
relationalDatabaseName :: Text
finalRelationalDatabaseSnapshotName :: Maybe Text
skipFinalSnapshot :: Maybe Bool
$sel:relationalDatabaseName:DeleteRelationalDatabase' :: DeleteRelationalDatabase -> Text
$sel:finalRelationalDatabaseSnapshotName:DeleteRelationalDatabase' :: DeleteRelationalDatabase -> Maybe Text
$sel:skipFinalSnapshot:DeleteRelationalDatabase' :: DeleteRelationalDatabase -> Maybe Bool
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"skipFinalSnapshot" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Bool -> Pair) -> Maybe Bool -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
skipFinalSnapshot,
(Text
"finalRelationalDatabaseSnapshotName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
finalRelationalDatabaseSnapshotName,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"relationalDatabaseName"
Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
relationalDatabaseName
)
]
)
instance Core.ToPath DeleteRelationalDatabase where
toPath :: DeleteRelationalDatabase -> ByteString
toPath = ByteString -> DeleteRelationalDatabase -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DeleteRelationalDatabase where
toQuery :: DeleteRelationalDatabase -> QueryString
toQuery = QueryString -> DeleteRelationalDatabase -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DeleteRelationalDatabaseResponse = DeleteRelationalDatabaseResponse'
{
DeleteRelationalDatabaseResponse -> Maybe [Operation]
operations :: Prelude.Maybe [Operation],
DeleteRelationalDatabaseResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DeleteRelationalDatabaseResponse
-> DeleteRelationalDatabaseResponse -> Bool
(DeleteRelationalDatabaseResponse
-> DeleteRelationalDatabaseResponse -> Bool)
-> (DeleteRelationalDatabaseResponse
-> DeleteRelationalDatabaseResponse -> Bool)
-> Eq DeleteRelationalDatabaseResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteRelationalDatabaseResponse
-> DeleteRelationalDatabaseResponse -> Bool
$c/= :: DeleteRelationalDatabaseResponse
-> DeleteRelationalDatabaseResponse -> Bool
== :: DeleteRelationalDatabaseResponse
-> DeleteRelationalDatabaseResponse -> Bool
$c== :: DeleteRelationalDatabaseResponse
-> DeleteRelationalDatabaseResponse -> Bool
Prelude.Eq, ReadPrec [DeleteRelationalDatabaseResponse]
ReadPrec DeleteRelationalDatabaseResponse
Int -> ReadS DeleteRelationalDatabaseResponse
ReadS [DeleteRelationalDatabaseResponse]
(Int -> ReadS DeleteRelationalDatabaseResponse)
-> ReadS [DeleteRelationalDatabaseResponse]
-> ReadPrec DeleteRelationalDatabaseResponse
-> ReadPrec [DeleteRelationalDatabaseResponse]
-> Read DeleteRelationalDatabaseResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteRelationalDatabaseResponse]
$creadListPrec :: ReadPrec [DeleteRelationalDatabaseResponse]
readPrec :: ReadPrec DeleteRelationalDatabaseResponse
$creadPrec :: ReadPrec DeleteRelationalDatabaseResponse
readList :: ReadS [DeleteRelationalDatabaseResponse]
$creadList :: ReadS [DeleteRelationalDatabaseResponse]
readsPrec :: Int -> ReadS DeleteRelationalDatabaseResponse
$creadsPrec :: Int -> ReadS DeleteRelationalDatabaseResponse
Prelude.Read, Int -> DeleteRelationalDatabaseResponse -> ShowS
[DeleteRelationalDatabaseResponse] -> ShowS
DeleteRelationalDatabaseResponse -> String
(Int -> DeleteRelationalDatabaseResponse -> ShowS)
-> (DeleteRelationalDatabaseResponse -> String)
-> ([DeleteRelationalDatabaseResponse] -> ShowS)
-> Show DeleteRelationalDatabaseResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteRelationalDatabaseResponse] -> ShowS
$cshowList :: [DeleteRelationalDatabaseResponse] -> ShowS
show :: DeleteRelationalDatabaseResponse -> String
$cshow :: DeleteRelationalDatabaseResponse -> String
showsPrec :: Int -> DeleteRelationalDatabaseResponse -> ShowS
$cshowsPrec :: Int -> DeleteRelationalDatabaseResponse -> ShowS
Prelude.Show, (forall x.
DeleteRelationalDatabaseResponse
-> Rep DeleteRelationalDatabaseResponse x)
-> (forall x.
Rep DeleteRelationalDatabaseResponse x
-> DeleteRelationalDatabaseResponse)
-> Generic DeleteRelationalDatabaseResponse
forall x.
Rep DeleteRelationalDatabaseResponse x
-> DeleteRelationalDatabaseResponse
forall x.
DeleteRelationalDatabaseResponse
-> Rep DeleteRelationalDatabaseResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteRelationalDatabaseResponse x
-> DeleteRelationalDatabaseResponse
$cfrom :: forall x.
DeleteRelationalDatabaseResponse
-> Rep DeleteRelationalDatabaseResponse x
Prelude.Generic)
newDeleteRelationalDatabaseResponse ::
Prelude.Int ->
DeleteRelationalDatabaseResponse
newDeleteRelationalDatabaseResponse :: Int -> DeleteRelationalDatabaseResponse
newDeleteRelationalDatabaseResponse Int
pHttpStatus_ =
DeleteRelationalDatabaseResponse' :: Maybe [Operation] -> Int -> DeleteRelationalDatabaseResponse
DeleteRelationalDatabaseResponse'
{ $sel:operations:DeleteRelationalDatabaseResponse' :: Maybe [Operation]
operations =
Maybe [Operation]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DeleteRelationalDatabaseResponse' :: Int
httpStatus = Int
pHttpStatus_
}
deleteRelationalDatabaseResponse_operations :: Lens.Lens' DeleteRelationalDatabaseResponse (Prelude.Maybe [Operation])
deleteRelationalDatabaseResponse_operations :: (Maybe [Operation] -> f (Maybe [Operation]))
-> DeleteRelationalDatabaseResponse
-> f DeleteRelationalDatabaseResponse
deleteRelationalDatabaseResponse_operations = (DeleteRelationalDatabaseResponse -> Maybe [Operation])
-> (DeleteRelationalDatabaseResponse
-> Maybe [Operation] -> DeleteRelationalDatabaseResponse)
-> Lens
DeleteRelationalDatabaseResponse
DeleteRelationalDatabaseResponse
(Maybe [Operation])
(Maybe [Operation])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteRelationalDatabaseResponse' {Maybe [Operation]
operations :: Maybe [Operation]
$sel:operations:DeleteRelationalDatabaseResponse' :: DeleteRelationalDatabaseResponse -> Maybe [Operation]
operations} -> Maybe [Operation]
operations) (\s :: DeleteRelationalDatabaseResponse
s@DeleteRelationalDatabaseResponse' {} Maybe [Operation]
a -> DeleteRelationalDatabaseResponse
s {$sel:operations:DeleteRelationalDatabaseResponse' :: Maybe [Operation]
operations = Maybe [Operation]
a} :: DeleteRelationalDatabaseResponse) ((Maybe [Operation] -> f (Maybe [Operation]))
-> DeleteRelationalDatabaseResponse
-> f DeleteRelationalDatabaseResponse)
-> ((Maybe [Operation] -> f (Maybe [Operation]))
-> Maybe [Operation] -> f (Maybe [Operation]))
-> (Maybe [Operation] -> f (Maybe [Operation]))
-> DeleteRelationalDatabaseResponse
-> f DeleteRelationalDatabaseResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Operation] [Operation] [Operation] [Operation]
-> Iso
(Maybe [Operation])
(Maybe [Operation])
(Maybe [Operation])
(Maybe [Operation])
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 [Operation] [Operation] [Operation] [Operation]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deleteRelationalDatabaseResponse_httpStatus :: Lens.Lens' DeleteRelationalDatabaseResponse Prelude.Int
deleteRelationalDatabaseResponse_httpStatus :: (Int -> f Int)
-> DeleteRelationalDatabaseResponse
-> f DeleteRelationalDatabaseResponse
deleteRelationalDatabaseResponse_httpStatus = (DeleteRelationalDatabaseResponse -> Int)
-> (DeleteRelationalDatabaseResponse
-> Int -> DeleteRelationalDatabaseResponse)
-> Lens
DeleteRelationalDatabaseResponse
DeleteRelationalDatabaseResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteRelationalDatabaseResponse' {Int
httpStatus :: Int
$sel:httpStatus:DeleteRelationalDatabaseResponse' :: DeleteRelationalDatabaseResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DeleteRelationalDatabaseResponse
s@DeleteRelationalDatabaseResponse' {} Int
a -> DeleteRelationalDatabaseResponse
s {$sel:httpStatus:DeleteRelationalDatabaseResponse' :: Int
httpStatus = Int
a} :: DeleteRelationalDatabaseResponse)
instance
Prelude.NFData
DeleteRelationalDatabaseResponse