{-# 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.RDS.ModifyDBSubnetGroup
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Modifies an existing DB subnet group. DB subnet groups must contain at
-- least one subnet in at least two AZs in the Amazon Web Services Region.
module Amazonka.RDS.ModifyDBSubnetGroup
  ( -- * Creating a Request
    ModifyDBSubnetGroup (..),
    newModifyDBSubnetGroup,

    -- * Request Lenses
    modifyDBSubnetGroup_dbSubnetGroupDescription,
    modifyDBSubnetGroup_dbSubnetGroupName,
    modifyDBSubnetGroup_subnetIds,

    -- * Destructuring the Response
    ModifyDBSubnetGroupResponse (..),
    newModifyDBSubnetGroupResponse,

    -- * Response Lenses
    modifyDBSubnetGroupResponse_dbSubnetGroup,
    modifyDBSubnetGroupResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import Amazonka.RDS.Types
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- |
--
-- /See:/ 'newModifyDBSubnetGroup' smart constructor.
data ModifyDBSubnetGroup = ModifyDBSubnetGroup'
  { -- | The description for the DB subnet group.
    ModifyDBSubnetGroup -> Maybe Text
dbSubnetGroupDescription :: Prelude.Maybe Prelude.Text,
    -- | The name for the DB subnet group. This value is stored as a lowercase
    -- string. You can\'t modify the default subnet group.
    --
    -- Constraints: Must match the name of an existing DBSubnetGroup. Must not
    -- be default.
    --
    -- Example: @mydbsubnetgroup@
    ModifyDBSubnetGroup -> Text
dbSubnetGroupName :: Prelude.Text,
    -- | The EC2 subnet IDs for the DB subnet group.
    ModifyDBSubnetGroup -> [Text]
subnetIds :: [Prelude.Text]
  }
  deriving (ModifyDBSubnetGroup -> ModifyDBSubnetGroup -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ModifyDBSubnetGroup -> ModifyDBSubnetGroup -> Bool
$c/= :: ModifyDBSubnetGroup -> ModifyDBSubnetGroup -> Bool
== :: ModifyDBSubnetGroup -> ModifyDBSubnetGroup -> Bool
$c== :: ModifyDBSubnetGroup -> ModifyDBSubnetGroup -> Bool
Prelude.Eq, ReadPrec [ModifyDBSubnetGroup]
ReadPrec ModifyDBSubnetGroup
Int -> ReadS ModifyDBSubnetGroup
ReadS [ModifyDBSubnetGroup]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ModifyDBSubnetGroup]
$creadListPrec :: ReadPrec [ModifyDBSubnetGroup]
readPrec :: ReadPrec ModifyDBSubnetGroup
$creadPrec :: ReadPrec ModifyDBSubnetGroup
readList :: ReadS [ModifyDBSubnetGroup]
$creadList :: ReadS [ModifyDBSubnetGroup]
readsPrec :: Int -> ReadS ModifyDBSubnetGroup
$creadsPrec :: Int -> ReadS ModifyDBSubnetGroup
Prelude.Read, Int -> ModifyDBSubnetGroup -> ShowS
[ModifyDBSubnetGroup] -> ShowS
ModifyDBSubnetGroup -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ModifyDBSubnetGroup] -> ShowS
$cshowList :: [ModifyDBSubnetGroup] -> ShowS
show :: ModifyDBSubnetGroup -> String
$cshow :: ModifyDBSubnetGroup -> String
showsPrec :: Int -> ModifyDBSubnetGroup -> ShowS
$cshowsPrec :: Int -> ModifyDBSubnetGroup -> ShowS
Prelude.Show, forall x. Rep ModifyDBSubnetGroup x -> ModifyDBSubnetGroup
forall x. ModifyDBSubnetGroup -> Rep ModifyDBSubnetGroup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ModifyDBSubnetGroup x -> ModifyDBSubnetGroup
$cfrom :: forall x. ModifyDBSubnetGroup -> Rep ModifyDBSubnetGroup x
Prelude.Generic)

-- |
-- Create a value of 'ModifyDBSubnetGroup' 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:
--
-- 'dbSubnetGroupDescription', 'modifyDBSubnetGroup_dbSubnetGroupDescription' - The description for the DB subnet group.
--
-- 'dbSubnetGroupName', 'modifyDBSubnetGroup_dbSubnetGroupName' - The name for the DB subnet group. This value is stored as a lowercase
-- string. You can\'t modify the default subnet group.
--
-- Constraints: Must match the name of an existing DBSubnetGroup. Must not
-- be default.
--
-- Example: @mydbsubnetgroup@
--
-- 'subnetIds', 'modifyDBSubnetGroup_subnetIds' - The EC2 subnet IDs for the DB subnet group.
newModifyDBSubnetGroup ::
  -- | 'dbSubnetGroupName'
  Prelude.Text ->
  ModifyDBSubnetGroup
newModifyDBSubnetGroup :: Text -> ModifyDBSubnetGroup
newModifyDBSubnetGroup Text
pDBSubnetGroupName_ =
  ModifyDBSubnetGroup'
    { $sel:dbSubnetGroupDescription:ModifyDBSubnetGroup' :: Maybe Text
dbSubnetGroupDescription =
        forall a. Maybe a
Prelude.Nothing,
      $sel:dbSubnetGroupName:ModifyDBSubnetGroup' :: Text
dbSubnetGroupName = Text
pDBSubnetGroupName_,
      $sel:subnetIds:ModifyDBSubnetGroup' :: [Text]
subnetIds = forall a. Monoid a => a
Prelude.mempty
    }

-- | The description for the DB subnet group.
modifyDBSubnetGroup_dbSubnetGroupDescription :: Lens.Lens' ModifyDBSubnetGroup (Prelude.Maybe Prelude.Text)
modifyDBSubnetGroup_dbSubnetGroupDescription :: Lens' ModifyDBSubnetGroup (Maybe Text)
modifyDBSubnetGroup_dbSubnetGroupDescription = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBSubnetGroup' {Maybe Text
dbSubnetGroupDescription :: Maybe Text
$sel:dbSubnetGroupDescription:ModifyDBSubnetGroup' :: ModifyDBSubnetGroup -> Maybe Text
dbSubnetGroupDescription} -> Maybe Text
dbSubnetGroupDescription) (\s :: ModifyDBSubnetGroup
s@ModifyDBSubnetGroup' {} Maybe Text
a -> ModifyDBSubnetGroup
s {$sel:dbSubnetGroupDescription:ModifyDBSubnetGroup' :: Maybe Text
dbSubnetGroupDescription = Maybe Text
a} :: ModifyDBSubnetGroup)

-- | The name for the DB subnet group. This value is stored as a lowercase
-- string. You can\'t modify the default subnet group.
--
-- Constraints: Must match the name of an existing DBSubnetGroup. Must not
-- be default.
--
-- Example: @mydbsubnetgroup@
modifyDBSubnetGroup_dbSubnetGroupName :: Lens.Lens' ModifyDBSubnetGroup Prelude.Text
modifyDBSubnetGroup_dbSubnetGroupName :: Lens' ModifyDBSubnetGroup Text
modifyDBSubnetGroup_dbSubnetGroupName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBSubnetGroup' {Text
dbSubnetGroupName :: Text
$sel:dbSubnetGroupName:ModifyDBSubnetGroup' :: ModifyDBSubnetGroup -> Text
dbSubnetGroupName} -> Text
dbSubnetGroupName) (\s :: ModifyDBSubnetGroup
s@ModifyDBSubnetGroup' {} Text
a -> ModifyDBSubnetGroup
s {$sel:dbSubnetGroupName:ModifyDBSubnetGroup' :: Text
dbSubnetGroupName = Text
a} :: ModifyDBSubnetGroup)

-- | The EC2 subnet IDs for the DB subnet group.
modifyDBSubnetGroup_subnetIds :: Lens.Lens' ModifyDBSubnetGroup [Prelude.Text]
modifyDBSubnetGroup_subnetIds :: Lens' ModifyDBSubnetGroup [Text]
modifyDBSubnetGroup_subnetIds = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBSubnetGroup' {[Text]
subnetIds :: [Text]
$sel:subnetIds:ModifyDBSubnetGroup' :: ModifyDBSubnetGroup -> [Text]
subnetIds} -> [Text]
subnetIds) (\s :: ModifyDBSubnetGroup
s@ModifyDBSubnetGroup' {} [Text]
a -> ModifyDBSubnetGroup
s {$sel:subnetIds:ModifyDBSubnetGroup' :: [Text]
subnetIds = [Text]
a} :: ModifyDBSubnetGroup) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

instance Core.AWSRequest ModifyDBSubnetGroup where
  type
    AWSResponse ModifyDBSubnetGroup =
      ModifyDBSubnetGroupResponse
  request :: (Service -> Service)
-> ModifyDBSubnetGroup -> Request ModifyDBSubnetGroup
request Service -> Service
overrides =
    forall a. ToRequest a => Service -> a -> Request a
Request.postQuery (Service -> Service
overrides Service
defaultService)
  response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy ModifyDBSubnetGroup
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse ModifyDBSubnetGroup)))
response =
    forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
    -> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
      Text
"ModifyDBSubnetGroupResult"
      ( \Int
s ResponseHeaders
h [Node]
x ->
          Maybe DBSubnetGroup -> Int -> ModifyDBSubnetGroupResponse
ModifyDBSubnetGroupResponse'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"DBSubnetGroup")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable ModifyDBSubnetGroup where
  hashWithSalt :: Int -> ModifyDBSubnetGroup -> Int
hashWithSalt Int
_salt ModifyDBSubnetGroup' {[Text]
Maybe Text
Text
subnetIds :: [Text]
dbSubnetGroupName :: Text
dbSubnetGroupDescription :: Maybe Text
$sel:subnetIds:ModifyDBSubnetGroup' :: ModifyDBSubnetGroup -> [Text]
$sel:dbSubnetGroupName:ModifyDBSubnetGroup' :: ModifyDBSubnetGroup -> Text
$sel:dbSubnetGroupDescription:ModifyDBSubnetGroup' :: ModifyDBSubnetGroup -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
dbSubnetGroupDescription
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
dbSubnetGroupName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` [Text]
subnetIds

instance Prelude.NFData ModifyDBSubnetGroup where
  rnf :: ModifyDBSubnetGroup -> ()
rnf ModifyDBSubnetGroup' {[Text]
Maybe Text
Text
subnetIds :: [Text]
dbSubnetGroupName :: Text
dbSubnetGroupDescription :: Maybe Text
$sel:subnetIds:ModifyDBSubnetGroup' :: ModifyDBSubnetGroup -> [Text]
$sel:dbSubnetGroupName:ModifyDBSubnetGroup' :: ModifyDBSubnetGroup -> Text
$sel:dbSubnetGroupDescription:ModifyDBSubnetGroup' :: ModifyDBSubnetGroup -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
dbSubnetGroupDescription
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
dbSubnetGroupName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf [Text]
subnetIds

instance Data.ToHeaders ModifyDBSubnetGroup where
  toHeaders :: ModifyDBSubnetGroup -> ResponseHeaders
toHeaders = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty

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

instance Data.ToQuery ModifyDBSubnetGroup where
  toQuery :: ModifyDBSubnetGroup -> QueryString
toQuery ModifyDBSubnetGroup' {[Text]
Maybe Text
Text
subnetIds :: [Text]
dbSubnetGroupName :: Text
dbSubnetGroupDescription :: Maybe Text
$sel:subnetIds:ModifyDBSubnetGroup' :: ModifyDBSubnetGroup -> [Text]
$sel:dbSubnetGroupName:ModifyDBSubnetGroup' :: ModifyDBSubnetGroup -> Text
$sel:dbSubnetGroupDescription:ModifyDBSubnetGroup' :: ModifyDBSubnetGroup -> Maybe Text
..} =
    forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"Action"
          forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"ModifyDBSubnetGroup" :: Prelude.ByteString),
        ByteString
"Version"
          forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"2014-10-31" :: Prelude.ByteString),
        ByteString
"DBSubnetGroupDescription"
          forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
dbSubnetGroupDescription,
        ByteString
"DBSubnetGroupName" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
dbSubnetGroupName,
        ByteString
"SubnetIds"
          forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList ByteString
"SubnetIdentifier" [Text]
subnetIds
      ]

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

-- |
-- Create a value of 'ModifyDBSubnetGroupResponse' 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:
--
-- 'dbSubnetGroup', 'modifyDBSubnetGroupResponse_dbSubnetGroup' - Undocumented member.
--
-- 'httpStatus', 'modifyDBSubnetGroupResponse_httpStatus' - The response's http status code.
newModifyDBSubnetGroupResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ModifyDBSubnetGroupResponse
newModifyDBSubnetGroupResponse :: Int -> ModifyDBSubnetGroupResponse
newModifyDBSubnetGroupResponse Int
pHttpStatus_ =
  ModifyDBSubnetGroupResponse'
    { $sel:dbSubnetGroup:ModifyDBSubnetGroupResponse' :: Maybe DBSubnetGroup
dbSubnetGroup =
        forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ModifyDBSubnetGroupResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | Undocumented member.
modifyDBSubnetGroupResponse_dbSubnetGroup :: Lens.Lens' ModifyDBSubnetGroupResponse (Prelude.Maybe DBSubnetGroup)
modifyDBSubnetGroupResponse_dbSubnetGroup :: Lens' ModifyDBSubnetGroupResponse (Maybe DBSubnetGroup)
modifyDBSubnetGroupResponse_dbSubnetGroup = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBSubnetGroupResponse' {Maybe DBSubnetGroup
dbSubnetGroup :: Maybe DBSubnetGroup
$sel:dbSubnetGroup:ModifyDBSubnetGroupResponse' :: ModifyDBSubnetGroupResponse -> Maybe DBSubnetGroup
dbSubnetGroup} -> Maybe DBSubnetGroup
dbSubnetGroup) (\s :: ModifyDBSubnetGroupResponse
s@ModifyDBSubnetGroupResponse' {} Maybe DBSubnetGroup
a -> ModifyDBSubnetGroupResponse
s {$sel:dbSubnetGroup:ModifyDBSubnetGroupResponse' :: Maybe DBSubnetGroup
dbSubnetGroup = Maybe DBSubnetGroup
a} :: ModifyDBSubnetGroupResponse)

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

instance Prelude.NFData ModifyDBSubnetGroupResponse where
  rnf :: ModifyDBSubnetGroupResponse -> ()
rnf ModifyDBSubnetGroupResponse' {Int
Maybe DBSubnetGroup
httpStatus :: Int
dbSubnetGroup :: Maybe DBSubnetGroup
$sel:httpStatus:ModifyDBSubnetGroupResponse' :: ModifyDBSubnetGroupResponse -> Int
$sel:dbSubnetGroup:ModifyDBSubnetGroupResponse' :: ModifyDBSubnetGroupResponse -> Maybe DBSubnetGroup
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe DBSubnetGroup
dbSubnetGroup
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus