{-# 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.SES.SendCustomVerificationEmail
-- 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)
--
-- Adds an email address to the list of identities for your Amazon SES
-- account in the current AWS Region and attempts to verify it. As a result
-- of executing this operation, a customized verification email is sent to
-- the specified address.
--
-- To use this operation, you must first create a custom verification email
-- template. For more information about creating and using custom
-- verification email templates, see
-- <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html Using Custom Verification Email Templates>
-- in the /Amazon SES Developer Guide/.
--
-- You can execute this operation no more than once per second.
module Amazonka.SES.SendCustomVerificationEmail
  ( -- * Creating a Request
    SendCustomVerificationEmail (..),
    newSendCustomVerificationEmail,

    -- * Request Lenses
    sendCustomVerificationEmail_configurationSetName,
    sendCustomVerificationEmail_emailAddress,
    sendCustomVerificationEmail_templateName,

    -- * Destructuring the Response
    SendCustomVerificationEmailResponse (..),
    newSendCustomVerificationEmailResponse,

    -- * Response Lenses
    sendCustomVerificationEmailResponse_messageId,
    sendCustomVerificationEmailResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.SES.Types

-- | Represents a request to send a custom verification email to a specified
-- recipient.
--
-- /See:/ 'newSendCustomVerificationEmail' smart constructor.
data SendCustomVerificationEmail = SendCustomVerificationEmail'
  { -- | Name of a configuration set to use when sending the verification email.
    SendCustomVerificationEmail -> Maybe Text
configurationSetName :: Prelude.Maybe Prelude.Text,
    -- | The email address to verify.
    SendCustomVerificationEmail -> Text
emailAddress :: Prelude.Text,
    -- | The name of the custom verification email template to use when sending
    -- the verification email.
    SendCustomVerificationEmail -> Text
templateName :: Prelude.Text
  }
  deriving (SendCustomVerificationEmail -> SendCustomVerificationEmail -> Bool
(SendCustomVerificationEmail
 -> SendCustomVerificationEmail -> Bool)
-> (SendCustomVerificationEmail
    -> SendCustomVerificationEmail -> Bool)
-> Eq SendCustomVerificationEmail
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SendCustomVerificationEmail -> SendCustomVerificationEmail -> Bool
$c/= :: SendCustomVerificationEmail -> SendCustomVerificationEmail -> Bool
== :: SendCustomVerificationEmail -> SendCustomVerificationEmail -> Bool
$c== :: SendCustomVerificationEmail -> SendCustomVerificationEmail -> Bool
Prelude.Eq, ReadPrec [SendCustomVerificationEmail]
ReadPrec SendCustomVerificationEmail
Int -> ReadS SendCustomVerificationEmail
ReadS [SendCustomVerificationEmail]
(Int -> ReadS SendCustomVerificationEmail)
-> ReadS [SendCustomVerificationEmail]
-> ReadPrec SendCustomVerificationEmail
-> ReadPrec [SendCustomVerificationEmail]
-> Read SendCustomVerificationEmail
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SendCustomVerificationEmail]
$creadListPrec :: ReadPrec [SendCustomVerificationEmail]
readPrec :: ReadPrec SendCustomVerificationEmail
$creadPrec :: ReadPrec SendCustomVerificationEmail
readList :: ReadS [SendCustomVerificationEmail]
$creadList :: ReadS [SendCustomVerificationEmail]
readsPrec :: Int -> ReadS SendCustomVerificationEmail
$creadsPrec :: Int -> ReadS SendCustomVerificationEmail
Prelude.Read, Int -> SendCustomVerificationEmail -> ShowS
[SendCustomVerificationEmail] -> ShowS
SendCustomVerificationEmail -> String
(Int -> SendCustomVerificationEmail -> ShowS)
-> (SendCustomVerificationEmail -> String)
-> ([SendCustomVerificationEmail] -> ShowS)
-> Show SendCustomVerificationEmail
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SendCustomVerificationEmail] -> ShowS
$cshowList :: [SendCustomVerificationEmail] -> ShowS
show :: SendCustomVerificationEmail -> String
$cshow :: SendCustomVerificationEmail -> String
showsPrec :: Int -> SendCustomVerificationEmail -> ShowS
$cshowsPrec :: Int -> SendCustomVerificationEmail -> ShowS
Prelude.Show, (forall x.
 SendCustomVerificationEmail -> Rep SendCustomVerificationEmail x)
-> (forall x.
    Rep SendCustomVerificationEmail x -> SendCustomVerificationEmail)
-> Generic SendCustomVerificationEmail
forall x.
Rep SendCustomVerificationEmail x -> SendCustomVerificationEmail
forall x.
SendCustomVerificationEmail -> Rep SendCustomVerificationEmail x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep SendCustomVerificationEmail x -> SendCustomVerificationEmail
$cfrom :: forall x.
SendCustomVerificationEmail -> Rep SendCustomVerificationEmail x
Prelude.Generic)

-- |
-- Create a value of 'SendCustomVerificationEmail' 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:
--
-- 'configurationSetName', 'sendCustomVerificationEmail_configurationSetName' - Name of a configuration set to use when sending the verification email.
--
-- 'emailAddress', 'sendCustomVerificationEmail_emailAddress' - The email address to verify.
--
-- 'templateName', 'sendCustomVerificationEmail_templateName' - The name of the custom verification email template to use when sending
-- the verification email.
newSendCustomVerificationEmail ::
  -- | 'emailAddress'
  Prelude.Text ->
  -- | 'templateName'
  Prelude.Text ->
  SendCustomVerificationEmail
newSendCustomVerificationEmail :: Text -> Text -> SendCustomVerificationEmail
newSendCustomVerificationEmail
  Text
pEmailAddress_
  Text
pTemplateName_ =
    SendCustomVerificationEmail' :: Maybe Text -> Text -> Text -> SendCustomVerificationEmail
SendCustomVerificationEmail'
      { $sel:configurationSetName:SendCustomVerificationEmail' :: Maybe Text
configurationSetName =
          Maybe Text
forall a. Maybe a
Prelude.Nothing,
        $sel:emailAddress:SendCustomVerificationEmail' :: Text
emailAddress = Text
pEmailAddress_,
        $sel:templateName:SendCustomVerificationEmail' :: Text
templateName = Text
pTemplateName_
      }

-- | Name of a configuration set to use when sending the verification email.
sendCustomVerificationEmail_configurationSetName :: Lens.Lens' SendCustomVerificationEmail (Prelude.Maybe Prelude.Text)
sendCustomVerificationEmail_configurationSetName :: (Maybe Text -> f (Maybe Text))
-> SendCustomVerificationEmail -> f SendCustomVerificationEmail
sendCustomVerificationEmail_configurationSetName = (SendCustomVerificationEmail -> Maybe Text)
-> (SendCustomVerificationEmail
    -> Maybe Text -> SendCustomVerificationEmail)
-> Lens
     SendCustomVerificationEmail
     SendCustomVerificationEmail
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SendCustomVerificationEmail' {Maybe Text
configurationSetName :: Maybe Text
$sel:configurationSetName:SendCustomVerificationEmail' :: SendCustomVerificationEmail -> Maybe Text
configurationSetName} -> Maybe Text
configurationSetName) (\s :: SendCustomVerificationEmail
s@SendCustomVerificationEmail' {} Maybe Text
a -> SendCustomVerificationEmail
s {$sel:configurationSetName:SendCustomVerificationEmail' :: Maybe Text
configurationSetName = Maybe Text
a} :: SendCustomVerificationEmail)

-- | The email address to verify.
sendCustomVerificationEmail_emailAddress :: Lens.Lens' SendCustomVerificationEmail Prelude.Text
sendCustomVerificationEmail_emailAddress :: (Text -> f Text)
-> SendCustomVerificationEmail -> f SendCustomVerificationEmail
sendCustomVerificationEmail_emailAddress = (SendCustomVerificationEmail -> Text)
-> (SendCustomVerificationEmail
    -> Text -> SendCustomVerificationEmail)
-> Lens
     SendCustomVerificationEmail SendCustomVerificationEmail Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SendCustomVerificationEmail' {Text
emailAddress :: Text
$sel:emailAddress:SendCustomVerificationEmail' :: SendCustomVerificationEmail -> Text
emailAddress} -> Text
emailAddress) (\s :: SendCustomVerificationEmail
s@SendCustomVerificationEmail' {} Text
a -> SendCustomVerificationEmail
s {$sel:emailAddress:SendCustomVerificationEmail' :: Text
emailAddress = Text
a} :: SendCustomVerificationEmail)

-- | The name of the custom verification email template to use when sending
-- the verification email.
sendCustomVerificationEmail_templateName :: Lens.Lens' SendCustomVerificationEmail Prelude.Text
sendCustomVerificationEmail_templateName :: (Text -> f Text)
-> SendCustomVerificationEmail -> f SendCustomVerificationEmail
sendCustomVerificationEmail_templateName = (SendCustomVerificationEmail -> Text)
-> (SendCustomVerificationEmail
    -> Text -> SendCustomVerificationEmail)
-> Lens
     SendCustomVerificationEmail SendCustomVerificationEmail Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SendCustomVerificationEmail' {Text
templateName :: Text
$sel:templateName:SendCustomVerificationEmail' :: SendCustomVerificationEmail -> Text
templateName} -> Text
templateName) (\s :: SendCustomVerificationEmail
s@SendCustomVerificationEmail' {} Text
a -> SendCustomVerificationEmail
s {$sel:templateName:SendCustomVerificationEmail' :: Text
templateName = Text
a} :: SendCustomVerificationEmail)

instance Core.AWSRequest SendCustomVerificationEmail where
  type
    AWSResponse SendCustomVerificationEmail =
      SendCustomVerificationEmailResponse
  request :: SendCustomVerificationEmail -> Request SendCustomVerificationEmail
request = Service
-> SendCustomVerificationEmail
-> Request SendCustomVerificationEmail
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
  response :: Logger
-> Service
-> Proxy SendCustomVerificationEmail
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse SendCustomVerificationEmail)))
response =
    Text
-> (Int
    -> ResponseHeaders
    -> [Node]
    -> Either String (AWSResponse SendCustomVerificationEmail))
-> Logger
-> Service
-> Proxy SendCustomVerificationEmail
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse SendCustomVerificationEmail)))
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
"SendCustomVerificationEmailResult"
      ( \Int
s ResponseHeaders
h [Node]
x ->
          Maybe Text -> Int -> SendCustomVerificationEmailResponse
SendCustomVerificationEmailResponse'
            (Maybe Text -> Int -> SendCustomVerificationEmailResponse)
-> Either String (Maybe Text)
-> Either String (Int -> SendCustomVerificationEmailResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"MessageId")
            Either String (Int -> SendCustomVerificationEmailResponse)
-> Either String Int
-> Either String SendCustomVerificationEmailResponse
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 SendCustomVerificationEmail

instance Prelude.NFData SendCustomVerificationEmail

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

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

instance Core.ToQuery SendCustomVerificationEmail where
  toQuery :: SendCustomVerificationEmail -> QueryString
toQuery SendCustomVerificationEmail' {Maybe Text
Text
templateName :: Text
emailAddress :: Text
configurationSetName :: Maybe Text
$sel:templateName:SendCustomVerificationEmail' :: SendCustomVerificationEmail -> Text
$sel:emailAddress:SendCustomVerificationEmail' :: SendCustomVerificationEmail -> Text
$sel:configurationSetName:SendCustomVerificationEmail' :: SendCustomVerificationEmail -> 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
"SendCustomVerificationEmail" ::
                      Prelude.ByteString
                  ),
        ByteString
"Version"
          ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2010-12-01" :: Prelude.ByteString),
        ByteString
"ConfigurationSetName" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
configurationSetName,
        ByteString
"EmailAddress" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
emailAddress,
        ByteString
"TemplateName" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
templateName
      ]

-- | The response received when attempting to send the custom verification
-- email.
--
-- /See:/ 'newSendCustomVerificationEmailResponse' smart constructor.
data SendCustomVerificationEmailResponse = SendCustomVerificationEmailResponse'
  { -- | The unique message identifier returned from the
    -- @SendCustomVerificationEmail@ operation.
    SendCustomVerificationEmailResponse -> Maybe Text
messageId :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    SendCustomVerificationEmailResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (SendCustomVerificationEmailResponse
-> SendCustomVerificationEmailResponse -> Bool
(SendCustomVerificationEmailResponse
 -> SendCustomVerificationEmailResponse -> Bool)
-> (SendCustomVerificationEmailResponse
    -> SendCustomVerificationEmailResponse -> Bool)
-> Eq SendCustomVerificationEmailResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SendCustomVerificationEmailResponse
-> SendCustomVerificationEmailResponse -> Bool
$c/= :: SendCustomVerificationEmailResponse
-> SendCustomVerificationEmailResponse -> Bool
== :: SendCustomVerificationEmailResponse
-> SendCustomVerificationEmailResponse -> Bool
$c== :: SendCustomVerificationEmailResponse
-> SendCustomVerificationEmailResponse -> Bool
Prelude.Eq, ReadPrec [SendCustomVerificationEmailResponse]
ReadPrec SendCustomVerificationEmailResponse
Int -> ReadS SendCustomVerificationEmailResponse
ReadS [SendCustomVerificationEmailResponse]
(Int -> ReadS SendCustomVerificationEmailResponse)
-> ReadS [SendCustomVerificationEmailResponse]
-> ReadPrec SendCustomVerificationEmailResponse
-> ReadPrec [SendCustomVerificationEmailResponse]
-> Read SendCustomVerificationEmailResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SendCustomVerificationEmailResponse]
$creadListPrec :: ReadPrec [SendCustomVerificationEmailResponse]
readPrec :: ReadPrec SendCustomVerificationEmailResponse
$creadPrec :: ReadPrec SendCustomVerificationEmailResponse
readList :: ReadS [SendCustomVerificationEmailResponse]
$creadList :: ReadS [SendCustomVerificationEmailResponse]
readsPrec :: Int -> ReadS SendCustomVerificationEmailResponse
$creadsPrec :: Int -> ReadS SendCustomVerificationEmailResponse
Prelude.Read, Int -> SendCustomVerificationEmailResponse -> ShowS
[SendCustomVerificationEmailResponse] -> ShowS
SendCustomVerificationEmailResponse -> String
(Int -> SendCustomVerificationEmailResponse -> ShowS)
-> (SendCustomVerificationEmailResponse -> String)
-> ([SendCustomVerificationEmailResponse] -> ShowS)
-> Show SendCustomVerificationEmailResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SendCustomVerificationEmailResponse] -> ShowS
$cshowList :: [SendCustomVerificationEmailResponse] -> ShowS
show :: SendCustomVerificationEmailResponse -> String
$cshow :: SendCustomVerificationEmailResponse -> String
showsPrec :: Int -> SendCustomVerificationEmailResponse -> ShowS
$cshowsPrec :: Int -> SendCustomVerificationEmailResponse -> ShowS
Prelude.Show, (forall x.
 SendCustomVerificationEmailResponse
 -> Rep SendCustomVerificationEmailResponse x)
-> (forall x.
    Rep SendCustomVerificationEmailResponse x
    -> SendCustomVerificationEmailResponse)
-> Generic SendCustomVerificationEmailResponse
forall x.
Rep SendCustomVerificationEmailResponse x
-> SendCustomVerificationEmailResponse
forall x.
SendCustomVerificationEmailResponse
-> Rep SendCustomVerificationEmailResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep SendCustomVerificationEmailResponse x
-> SendCustomVerificationEmailResponse
$cfrom :: forall x.
SendCustomVerificationEmailResponse
-> Rep SendCustomVerificationEmailResponse x
Prelude.Generic)

-- |
-- Create a value of 'SendCustomVerificationEmailResponse' 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:
--
-- 'messageId', 'sendCustomVerificationEmailResponse_messageId' - The unique message identifier returned from the
-- @SendCustomVerificationEmail@ operation.
--
-- 'httpStatus', 'sendCustomVerificationEmailResponse_httpStatus' - The response's http status code.
newSendCustomVerificationEmailResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  SendCustomVerificationEmailResponse
newSendCustomVerificationEmailResponse :: Int -> SendCustomVerificationEmailResponse
newSendCustomVerificationEmailResponse Int
pHttpStatus_ =
  SendCustomVerificationEmailResponse' :: Maybe Text -> Int -> SendCustomVerificationEmailResponse
SendCustomVerificationEmailResponse'
    { $sel:messageId:SendCustomVerificationEmailResponse' :: Maybe Text
messageId =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:SendCustomVerificationEmailResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The unique message identifier returned from the
-- @SendCustomVerificationEmail@ operation.
sendCustomVerificationEmailResponse_messageId :: Lens.Lens' SendCustomVerificationEmailResponse (Prelude.Maybe Prelude.Text)
sendCustomVerificationEmailResponse_messageId :: (Maybe Text -> f (Maybe Text))
-> SendCustomVerificationEmailResponse
-> f SendCustomVerificationEmailResponse
sendCustomVerificationEmailResponse_messageId = (SendCustomVerificationEmailResponse -> Maybe Text)
-> (SendCustomVerificationEmailResponse
    -> Maybe Text -> SendCustomVerificationEmailResponse)
-> Lens
     SendCustomVerificationEmailResponse
     SendCustomVerificationEmailResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SendCustomVerificationEmailResponse' {Maybe Text
messageId :: Maybe Text
$sel:messageId:SendCustomVerificationEmailResponse' :: SendCustomVerificationEmailResponse -> Maybe Text
messageId} -> Maybe Text
messageId) (\s :: SendCustomVerificationEmailResponse
s@SendCustomVerificationEmailResponse' {} Maybe Text
a -> SendCustomVerificationEmailResponse
s {$sel:messageId:SendCustomVerificationEmailResponse' :: Maybe Text
messageId = Maybe Text
a} :: SendCustomVerificationEmailResponse)

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

instance
  Prelude.NFData
    SendCustomVerificationEmailResponse