{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Lightsail.GetRelationalDatabaseSnapshot
-- 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)
--
-- Returns information about a specific database snapshot in Amazon
-- Lightsail.
module Amazonka.Lightsail.GetRelationalDatabaseSnapshot
  ( -- * Creating a Request
    GetRelationalDatabaseSnapshot (..),
    newGetRelationalDatabaseSnapshot,

    -- * Request Lenses
    getRelationalDatabaseSnapshot_relationalDatabaseSnapshotName,

    -- * Destructuring the Response
    GetRelationalDatabaseSnapshotResponse (..),
    newGetRelationalDatabaseSnapshotResponse,

    -- * Response Lenses
    getRelationalDatabaseSnapshotResponse_relationalDatabaseSnapshot,
    getRelationalDatabaseSnapshotResponse_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

-- | /See:/ 'newGetRelationalDatabaseSnapshot' smart constructor.
data GetRelationalDatabaseSnapshot = GetRelationalDatabaseSnapshot'
  { -- | The name of the database snapshot for which to get information.
    GetRelationalDatabaseSnapshot -> Text
relationalDatabaseSnapshotName :: Prelude.Text
  }
  deriving (GetRelationalDatabaseSnapshot
-> GetRelationalDatabaseSnapshot -> Bool
(GetRelationalDatabaseSnapshot
 -> GetRelationalDatabaseSnapshot -> Bool)
-> (GetRelationalDatabaseSnapshot
    -> GetRelationalDatabaseSnapshot -> Bool)
-> Eq GetRelationalDatabaseSnapshot
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetRelationalDatabaseSnapshot
-> GetRelationalDatabaseSnapshot -> Bool
$c/= :: GetRelationalDatabaseSnapshot
-> GetRelationalDatabaseSnapshot -> Bool
== :: GetRelationalDatabaseSnapshot
-> GetRelationalDatabaseSnapshot -> Bool
$c== :: GetRelationalDatabaseSnapshot
-> GetRelationalDatabaseSnapshot -> Bool
Prelude.Eq, ReadPrec [GetRelationalDatabaseSnapshot]
ReadPrec GetRelationalDatabaseSnapshot
Int -> ReadS GetRelationalDatabaseSnapshot
ReadS [GetRelationalDatabaseSnapshot]
(Int -> ReadS GetRelationalDatabaseSnapshot)
-> ReadS [GetRelationalDatabaseSnapshot]
-> ReadPrec GetRelationalDatabaseSnapshot
-> ReadPrec [GetRelationalDatabaseSnapshot]
-> Read GetRelationalDatabaseSnapshot
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetRelationalDatabaseSnapshot]
$creadListPrec :: ReadPrec [GetRelationalDatabaseSnapshot]
readPrec :: ReadPrec GetRelationalDatabaseSnapshot
$creadPrec :: ReadPrec GetRelationalDatabaseSnapshot
readList :: ReadS [GetRelationalDatabaseSnapshot]
$creadList :: ReadS [GetRelationalDatabaseSnapshot]
readsPrec :: Int -> ReadS GetRelationalDatabaseSnapshot
$creadsPrec :: Int -> ReadS GetRelationalDatabaseSnapshot
Prelude.Read, Int -> GetRelationalDatabaseSnapshot -> ShowS
[GetRelationalDatabaseSnapshot] -> ShowS
GetRelationalDatabaseSnapshot -> String
(Int -> GetRelationalDatabaseSnapshot -> ShowS)
-> (GetRelationalDatabaseSnapshot -> String)
-> ([GetRelationalDatabaseSnapshot] -> ShowS)
-> Show GetRelationalDatabaseSnapshot
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetRelationalDatabaseSnapshot] -> ShowS
$cshowList :: [GetRelationalDatabaseSnapshot] -> ShowS
show :: GetRelationalDatabaseSnapshot -> String
$cshow :: GetRelationalDatabaseSnapshot -> String
showsPrec :: Int -> GetRelationalDatabaseSnapshot -> ShowS
$cshowsPrec :: Int -> GetRelationalDatabaseSnapshot -> ShowS
Prelude.Show, (forall x.
 GetRelationalDatabaseSnapshot
 -> Rep GetRelationalDatabaseSnapshot x)
-> (forall x.
    Rep GetRelationalDatabaseSnapshot x
    -> GetRelationalDatabaseSnapshot)
-> Generic GetRelationalDatabaseSnapshot
forall x.
Rep GetRelationalDatabaseSnapshot x
-> GetRelationalDatabaseSnapshot
forall x.
GetRelationalDatabaseSnapshot
-> Rep GetRelationalDatabaseSnapshot x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetRelationalDatabaseSnapshot x
-> GetRelationalDatabaseSnapshot
$cfrom :: forall x.
GetRelationalDatabaseSnapshot
-> Rep GetRelationalDatabaseSnapshot x
Prelude.Generic)

-- |
-- Create a value of 'GetRelationalDatabaseSnapshot' 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:
--
-- 'relationalDatabaseSnapshotName', 'getRelationalDatabaseSnapshot_relationalDatabaseSnapshotName' - The name of the database snapshot for which to get information.
newGetRelationalDatabaseSnapshot ::
  -- | 'relationalDatabaseSnapshotName'
  Prelude.Text ->
  GetRelationalDatabaseSnapshot
newGetRelationalDatabaseSnapshot :: Text -> GetRelationalDatabaseSnapshot
newGetRelationalDatabaseSnapshot
  Text
pRelationalDatabaseSnapshotName_ =
    GetRelationalDatabaseSnapshot' :: Text -> GetRelationalDatabaseSnapshot
GetRelationalDatabaseSnapshot'
      { $sel:relationalDatabaseSnapshotName:GetRelationalDatabaseSnapshot' :: Text
relationalDatabaseSnapshotName =
          Text
pRelationalDatabaseSnapshotName_
      }

-- | The name of the database snapshot for which to get information.
getRelationalDatabaseSnapshot_relationalDatabaseSnapshotName :: Lens.Lens' GetRelationalDatabaseSnapshot Prelude.Text
getRelationalDatabaseSnapshot_relationalDatabaseSnapshotName :: (Text -> f Text)
-> GetRelationalDatabaseSnapshot -> f GetRelationalDatabaseSnapshot
getRelationalDatabaseSnapshot_relationalDatabaseSnapshotName = (GetRelationalDatabaseSnapshot -> Text)
-> (GetRelationalDatabaseSnapshot
    -> Text -> GetRelationalDatabaseSnapshot)
-> Lens
     GetRelationalDatabaseSnapshot
     GetRelationalDatabaseSnapshot
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetRelationalDatabaseSnapshot' {Text
relationalDatabaseSnapshotName :: Text
$sel:relationalDatabaseSnapshotName:GetRelationalDatabaseSnapshot' :: GetRelationalDatabaseSnapshot -> Text
relationalDatabaseSnapshotName} -> Text
relationalDatabaseSnapshotName) (\s :: GetRelationalDatabaseSnapshot
s@GetRelationalDatabaseSnapshot' {} Text
a -> GetRelationalDatabaseSnapshot
s {$sel:relationalDatabaseSnapshotName:GetRelationalDatabaseSnapshot' :: Text
relationalDatabaseSnapshotName = Text
a} :: GetRelationalDatabaseSnapshot)

instance
  Core.AWSRequest
    GetRelationalDatabaseSnapshot
  where
  type
    AWSResponse GetRelationalDatabaseSnapshot =
      GetRelationalDatabaseSnapshotResponse
  request :: GetRelationalDatabaseSnapshot
-> Request GetRelationalDatabaseSnapshot
request = Service
-> GetRelationalDatabaseSnapshot
-> Request GetRelationalDatabaseSnapshot
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy GetRelationalDatabaseSnapshot
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse GetRelationalDatabaseSnapshot)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse GetRelationalDatabaseSnapshot))
-> Logger
-> Service
-> Proxy GetRelationalDatabaseSnapshot
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse GetRelationalDatabaseSnapshot)))
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 RelationalDatabaseSnapshot
-> Int -> GetRelationalDatabaseSnapshotResponse
GetRelationalDatabaseSnapshotResponse'
            (Maybe RelationalDatabaseSnapshot
 -> Int -> GetRelationalDatabaseSnapshotResponse)
-> Either String (Maybe RelationalDatabaseSnapshot)
-> Either String (Int -> GetRelationalDatabaseSnapshotResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe RelationalDatabaseSnapshot)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"relationalDatabaseSnapshot")
            Either String (Int -> GetRelationalDatabaseSnapshotResponse)
-> Either String Int
-> Either String GetRelationalDatabaseSnapshotResponse
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
    GetRelationalDatabaseSnapshot

instance Prelude.NFData GetRelationalDatabaseSnapshot

instance Core.ToHeaders GetRelationalDatabaseSnapshot where
  toHeaders :: GetRelationalDatabaseSnapshot -> ResponseHeaders
toHeaders =
    ResponseHeaders -> GetRelationalDatabaseSnapshot -> 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.GetRelationalDatabaseSnapshot" ::
                          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 GetRelationalDatabaseSnapshot where
  toJSON :: GetRelationalDatabaseSnapshot -> Value
toJSON GetRelationalDatabaseSnapshot' {Text
relationalDatabaseSnapshotName :: Text
$sel:relationalDatabaseSnapshotName:GetRelationalDatabaseSnapshot' :: GetRelationalDatabaseSnapshot -> Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
              ( Text
"relationalDatabaseSnapshotName"
                  Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
relationalDatabaseSnapshotName
              )
          ]
      )

instance Core.ToPath GetRelationalDatabaseSnapshot where
  toPath :: GetRelationalDatabaseSnapshot -> ByteString
toPath = ByteString -> GetRelationalDatabaseSnapshot -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Core.ToQuery GetRelationalDatabaseSnapshot where
  toQuery :: GetRelationalDatabaseSnapshot -> QueryString
toQuery = QueryString -> GetRelationalDatabaseSnapshot -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newGetRelationalDatabaseSnapshotResponse' smart constructor.
data GetRelationalDatabaseSnapshotResponse = GetRelationalDatabaseSnapshotResponse'
  { -- | An object describing the specified database snapshot.
    GetRelationalDatabaseSnapshotResponse
-> Maybe RelationalDatabaseSnapshot
relationalDatabaseSnapshot :: Prelude.Maybe RelationalDatabaseSnapshot,
    -- | The response's http status code.
    GetRelationalDatabaseSnapshotResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (GetRelationalDatabaseSnapshotResponse
-> GetRelationalDatabaseSnapshotResponse -> Bool
(GetRelationalDatabaseSnapshotResponse
 -> GetRelationalDatabaseSnapshotResponse -> Bool)
-> (GetRelationalDatabaseSnapshotResponse
    -> GetRelationalDatabaseSnapshotResponse -> Bool)
-> Eq GetRelationalDatabaseSnapshotResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetRelationalDatabaseSnapshotResponse
-> GetRelationalDatabaseSnapshotResponse -> Bool
$c/= :: GetRelationalDatabaseSnapshotResponse
-> GetRelationalDatabaseSnapshotResponse -> Bool
== :: GetRelationalDatabaseSnapshotResponse
-> GetRelationalDatabaseSnapshotResponse -> Bool
$c== :: GetRelationalDatabaseSnapshotResponse
-> GetRelationalDatabaseSnapshotResponse -> Bool
Prelude.Eq, ReadPrec [GetRelationalDatabaseSnapshotResponse]
ReadPrec GetRelationalDatabaseSnapshotResponse
Int -> ReadS GetRelationalDatabaseSnapshotResponse
ReadS [GetRelationalDatabaseSnapshotResponse]
(Int -> ReadS GetRelationalDatabaseSnapshotResponse)
-> ReadS [GetRelationalDatabaseSnapshotResponse]
-> ReadPrec GetRelationalDatabaseSnapshotResponse
-> ReadPrec [GetRelationalDatabaseSnapshotResponse]
-> Read GetRelationalDatabaseSnapshotResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetRelationalDatabaseSnapshotResponse]
$creadListPrec :: ReadPrec [GetRelationalDatabaseSnapshotResponse]
readPrec :: ReadPrec GetRelationalDatabaseSnapshotResponse
$creadPrec :: ReadPrec GetRelationalDatabaseSnapshotResponse
readList :: ReadS [GetRelationalDatabaseSnapshotResponse]
$creadList :: ReadS [GetRelationalDatabaseSnapshotResponse]
readsPrec :: Int -> ReadS GetRelationalDatabaseSnapshotResponse
$creadsPrec :: Int -> ReadS GetRelationalDatabaseSnapshotResponse
Prelude.Read, Int -> GetRelationalDatabaseSnapshotResponse -> ShowS
[GetRelationalDatabaseSnapshotResponse] -> ShowS
GetRelationalDatabaseSnapshotResponse -> String
(Int -> GetRelationalDatabaseSnapshotResponse -> ShowS)
-> (GetRelationalDatabaseSnapshotResponse -> String)
-> ([GetRelationalDatabaseSnapshotResponse] -> ShowS)
-> Show GetRelationalDatabaseSnapshotResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetRelationalDatabaseSnapshotResponse] -> ShowS
$cshowList :: [GetRelationalDatabaseSnapshotResponse] -> ShowS
show :: GetRelationalDatabaseSnapshotResponse -> String
$cshow :: GetRelationalDatabaseSnapshotResponse -> String
showsPrec :: Int -> GetRelationalDatabaseSnapshotResponse -> ShowS
$cshowsPrec :: Int -> GetRelationalDatabaseSnapshotResponse -> ShowS
Prelude.Show, (forall x.
 GetRelationalDatabaseSnapshotResponse
 -> Rep GetRelationalDatabaseSnapshotResponse x)
-> (forall x.
    Rep GetRelationalDatabaseSnapshotResponse x
    -> GetRelationalDatabaseSnapshotResponse)
-> Generic GetRelationalDatabaseSnapshotResponse
forall x.
Rep GetRelationalDatabaseSnapshotResponse x
-> GetRelationalDatabaseSnapshotResponse
forall x.
GetRelationalDatabaseSnapshotResponse
-> Rep GetRelationalDatabaseSnapshotResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetRelationalDatabaseSnapshotResponse x
-> GetRelationalDatabaseSnapshotResponse
$cfrom :: forall x.
GetRelationalDatabaseSnapshotResponse
-> Rep GetRelationalDatabaseSnapshotResponse x
Prelude.Generic)

-- |
-- Create a value of 'GetRelationalDatabaseSnapshotResponse' 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:
--
-- 'relationalDatabaseSnapshot', 'getRelationalDatabaseSnapshotResponse_relationalDatabaseSnapshot' - An object describing the specified database snapshot.
--
-- 'httpStatus', 'getRelationalDatabaseSnapshotResponse_httpStatus' - The response's http status code.
newGetRelationalDatabaseSnapshotResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  GetRelationalDatabaseSnapshotResponse
newGetRelationalDatabaseSnapshotResponse :: Int -> GetRelationalDatabaseSnapshotResponse
newGetRelationalDatabaseSnapshotResponse Int
pHttpStatus_ =
  GetRelationalDatabaseSnapshotResponse' :: Maybe RelationalDatabaseSnapshot
-> Int -> GetRelationalDatabaseSnapshotResponse
GetRelationalDatabaseSnapshotResponse'
    { $sel:relationalDatabaseSnapshot:GetRelationalDatabaseSnapshotResponse' :: Maybe RelationalDatabaseSnapshot
relationalDatabaseSnapshot =
        Maybe RelationalDatabaseSnapshot
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:GetRelationalDatabaseSnapshotResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | An object describing the specified database snapshot.
getRelationalDatabaseSnapshotResponse_relationalDatabaseSnapshot :: Lens.Lens' GetRelationalDatabaseSnapshotResponse (Prelude.Maybe RelationalDatabaseSnapshot)
getRelationalDatabaseSnapshotResponse_relationalDatabaseSnapshot :: (Maybe RelationalDatabaseSnapshot
 -> f (Maybe RelationalDatabaseSnapshot))
-> GetRelationalDatabaseSnapshotResponse
-> f GetRelationalDatabaseSnapshotResponse
getRelationalDatabaseSnapshotResponse_relationalDatabaseSnapshot = (GetRelationalDatabaseSnapshotResponse
 -> Maybe RelationalDatabaseSnapshot)
-> (GetRelationalDatabaseSnapshotResponse
    -> Maybe RelationalDatabaseSnapshot
    -> GetRelationalDatabaseSnapshotResponse)
-> Lens
     GetRelationalDatabaseSnapshotResponse
     GetRelationalDatabaseSnapshotResponse
     (Maybe RelationalDatabaseSnapshot)
     (Maybe RelationalDatabaseSnapshot)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetRelationalDatabaseSnapshotResponse' {Maybe RelationalDatabaseSnapshot
relationalDatabaseSnapshot :: Maybe RelationalDatabaseSnapshot
$sel:relationalDatabaseSnapshot:GetRelationalDatabaseSnapshotResponse' :: GetRelationalDatabaseSnapshotResponse
-> Maybe RelationalDatabaseSnapshot
relationalDatabaseSnapshot} -> Maybe RelationalDatabaseSnapshot
relationalDatabaseSnapshot) (\s :: GetRelationalDatabaseSnapshotResponse
s@GetRelationalDatabaseSnapshotResponse' {} Maybe RelationalDatabaseSnapshot
a -> GetRelationalDatabaseSnapshotResponse
s {$sel:relationalDatabaseSnapshot:GetRelationalDatabaseSnapshotResponse' :: Maybe RelationalDatabaseSnapshot
relationalDatabaseSnapshot = Maybe RelationalDatabaseSnapshot
a} :: GetRelationalDatabaseSnapshotResponse)

-- | The response's http status code.
getRelationalDatabaseSnapshotResponse_httpStatus :: Lens.Lens' GetRelationalDatabaseSnapshotResponse Prelude.Int
getRelationalDatabaseSnapshotResponse_httpStatus :: (Int -> f Int)
-> GetRelationalDatabaseSnapshotResponse
-> f GetRelationalDatabaseSnapshotResponse
getRelationalDatabaseSnapshotResponse_httpStatus = (GetRelationalDatabaseSnapshotResponse -> Int)
-> (GetRelationalDatabaseSnapshotResponse
    -> Int -> GetRelationalDatabaseSnapshotResponse)
-> Lens
     GetRelationalDatabaseSnapshotResponse
     GetRelationalDatabaseSnapshotResponse
     Int
     Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetRelationalDatabaseSnapshotResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetRelationalDatabaseSnapshotResponse' :: GetRelationalDatabaseSnapshotResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetRelationalDatabaseSnapshotResponse
s@GetRelationalDatabaseSnapshotResponse' {} Int
a -> GetRelationalDatabaseSnapshotResponse
s {$sel:httpStatus:GetRelationalDatabaseSnapshotResponse' :: Int
httpStatus = Int
a} :: GetRelationalDatabaseSnapshotResponse)

instance
  Prelude.NFData
    GetRelationalDatabaseSnapshotResponse