{-# 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.VerifyDomainDkim
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Returns a set of DKIM tokens for a domain identity.
--
-- When you execute the @VerifyDomainDkim@ operation, the domain that you
-- specify is added to the list of identities that are associated with your
-- account. This is true even if you haven\'t already associated the domain
-- with your account by using the @VerifyDomainIdentity@ operation.
-- However, you can\'t send email from the domain until you either
-- successfully
-- <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-domains.html verify it>
-- or you successfully
-- <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html set up DKIM for it>.
--
-- You use the tokens that are generated by this operation to create CNAME
-- records. When Amazon SES detects that you\'ve added these records to the
-- DNS configuration for a domain, you can start sending email from that
-- domain. You can start sending email even if you haven\'t added the TXT
-- record provided by the VerifyDomainIdentity operation to the DNS
-- configuration for your domain. All email that you send from the domain
-- is authenticated using DKIM.
--
-- To create the CNAME records for DKIM authentication, use the following
-- values:
--
-- -   __Name__: /token/._domainkey./example.com/
--
-- -   __Type__: CNAME
--
-- -   __Value__: /token/.dkim.amazonses.com
--
-- In the preceding example, replace /token/ with one of the tokens that
-- are generated when you execute this operation. Replace /example.com/
-- with your domain. Repeat this process for each token that\'s generated
-- by this operation.
--
-- You can execute this operation no more than once per second.
module Amazonka.SES.VerifyDomainDkim
  ( -- * Creating a Request
    VerifyDomainDkim (..),
    newVerifyDomainDkim,

    -- * Request Lenses
    verifyDomainDkim_domain,

    -- * Destructuring the Response
    VerifyDomainDkimResponse (..),
    newVerifyDomainDkimResponse,

    -- * Response Lenses
    verifyDomainDkimResponse_httpStatus,
    verifyDomainDkimResponse_dkimTokens,
  )
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 qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.SES.Types

-- | Represents a request to generate the CNAME records needed to set up Easy
-- DKIM with Amazon SES. For more information about setting up Easy DKIM,
-- see the
-- <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html Amazon SES Developer Guide>.
--
-- /See:/ 'newVerifyDomainDkim' smart constructor.
data VerifyDomainDkim = VerifyDomainDkim'
  { -- | The name of the domain to be verified for Easy DKIM signing.
    VerifyDomainDkim -> Text
domain :: Prelude.Text
  }
  deriving (VerifyDomainDkim -> VerifyDomainDkim -> Bool
(VerifyDomainDkim -> VerifyDomainDkim -> Bool)
-> (VerifyDomainDkim -> VerifyDomainDkim -> Bool)
-> Eq VerifyDomainDkim
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VerifyDomainDkim -> VerifyDomainDkim -> Bool
== :: VerifyDomainDkim -> VerifyDomainDkim -> Bool
$c/= :: VerifyDomainDkim -> VerifyDomainDkim -> Bool
/= :: VerifyDomainDkim -> VerifyDomainDkim -> Bool
Prelude.Eq, ReadPrec [VerifyDomainDkim]
ReadPrec VerifyDomainDkim
Int -> ReadS VerifyDomainDkim
ReadS [VerifyDomainDkim]
(Int -> ReadS VerifyDomainDkim)
-> ReadS [VerifyDomainDkim]
-> ReadPrec VerifyDomainDkim
-> ReadPrec [VerifyDomainDkim]
-> Read VerifyDomainDkim
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS VerifyDomainDkim
readsPrec :: Int -> ReadS VerifyDomainDkim
$creadList :: ReadS [VerifyDomainDkim]
readList :: ReadS [VerifyDomainDkim]
$creadPrec :: ReadPrec VerifyDomainDkim
readPrec :: ReadPrec VerifyDomainDkim
$creadListPrec :: ReadPrec [VerifyDomainDkim]
readListPrec :: ReadPrec [VerifyDomainDkim]
Prelude.Read, Int -> VerifyDomainDkim -> ShowS
[VerifyDomainDkim] -> ShowS
VerifyDomainDkim -> String
(Int -> VerifyDomainDkim -> ShowS)
-> (VerifyDomainDkim -> String)
-> ([VerifyDomainDkim] -> ShowS)
-> Show VerifyDomainDkim
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VerifyDomainDkim -> ShowS
showsPrec :: Int -> VerifyDomainDkim -> ShowS
$cshow :: VerifyDomainDkim -> String
show :: VerifyDomainDkim -> String
$cshowList :: [VerifyDomainDkim] -> ShowS
showList :: [VerifyDomainDkim] -> ShowS
Prelude.Show, (forall x. VerifyDomainDkim -> Rep VerifyDomainDkim x)
-> (forall x. Rep VerifyDomainDkim x -> VerifyDomainDkim)
-> Generic VerifyDomainDkim
forall x. Rep VerifyDomainDkim x -> VerifyDomainDkim
forall x. VerifyDomainDkim -> Rep VerifyDomainDkim x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. VerifyDomainDkim -> Rep VerifyDomainDkim x
from :: forall x. VerifyDomainDkim -> Rep VerifyDomainDkim x
$cto :: forall x. Rep VerifyDomainDkim x -> VerifyDomainDkim
to :: forall x. Rep VerifyDomainDkim x -> VerifyDomainDkim
Prelude.Generic)

-- |
-- Create a value of 'VerifyDomainDkim' 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:
--
-- 'domain', 'verifyDomainDkim_domain' - The name of the domain to be verified for Easy DKIM signing.
newVerifyDomainDkim ::
  -- | 'domain'
  Prelude.Text ->
  VerifyDomainDkim
newVerifyDomainDkim :: Text -> VerifyDomainDkim
newVerifyDomainDkim Text
pDomain_ =
  VerifyDomainDkim' {$sel:domain:VerifyDomainDkim' :: Text
domain = Text
pDomain_}

-- | The name of the domain to be verified for Easy DKIM signing.
verifyDomainDkim_domain :: Lens.Lens' VerifyDomainDkim Prelude.Text
verifyDomainDkim_domain :: Lens' VerifyDomainDkim Text
verifyDomainDkim_domain = (VerifyDomainDkim -> Text)
-> (VerifyDomainDkim -> Text -> VerifyDomainDkim)
-> Lens' VerifyDomainDkim Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\VerifyDomainDkim' {Text
$sel:domain:VerifyDomainDkim' :: VerifyDomainDkim -> Text
domain :: Text
domain} -> Text
domain) (\s :: VerifyDomainDkim
s@VerifyDomainDkim' {} Text
a -> VerifyDomainDkim
s {domain = a} :: VerifyDomainDkim)

instance Core.AWSRequest VerifyDomainDkim where
  type
    AWSResponse VerifyDomainDkim =
      VerifyDomainDkimResponse
  request :: (Service -> Service)
-> VerifyDomainDkim -> Request VerifyDomainDkim
request Service -> Service
overrides =
    Service -> VerifyDomainDkim -> Request VerifyDomainDkim
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 VerifyDomainDkim
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse VerifyDomainDkim)))
response =
    Text
-> (Int
    -> ResponseHeaders
    -> [Node]
    -> Either String (AWSResponse VerifyDomainDkim))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy VerifyDomainDkim
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse VerifyDomainDkim)))
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
"VerifyDomainDkimResult"
      ( \Int
s ResponseHeaders
h [Node]
x ->
          Int -> [Text] -> VerifyDomainDkimResponse
VerifyDomainDkimResponse'
            (Int -> [Text] -> VerifyDomainDkimResponse)
-> Either String Int
-> Either String ([Text] -> VerifyDomainDkimResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Int -> Either String Int
forall a. a -> Either String a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
            Either String ([Text] -> VerifyDomainDkimResponse)
-> Either String [Text] -> Either String VerifyDomainDkimResponse
forall a b.
Either String (a -> b) -> Either String a -> Either String b
forall (f :: * -> *) a b. Applicative f => 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)
Data..@? Text
"DkimTokens"
                            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 [Text]) -> Either String [Text]
forall a b.
Either String a -> (a -> Either String b) -> Either String b
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= Text -> [Node] -> Either String [Text]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Data.parseXMLList Text
"member"
                        )
      )

instance Prelude.Hashable VerifyDomainDkim where
  hashWithSalt :: Int -> VerifyDomainDkim -> Int
hashWithSalt Int
_salt VerifyDomainDkim' {Text
$sel:domain:VerifyDomainDkim' :: VerifyDomainDkim -> Text
domain :: Text
..} =
    Int
_salt Int -> Text -> Int
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
domain

instance Prelude.NFData VerifyDomainDkim where
  rnf :: VerifyDomainDkim -> ()
rnf VerifyDomainDkim' {Text
$sel:domain:VerifyDomainDkim' :: VerifyDomainDkim -> Text
domain :: Text
..} = Text -> ()
forall a. NFData a => a -> ()
Prelude.rnf Text
domain

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

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

instance Data.ToQuery VerifyDomainDkim where
  toQuery :: VerifyDomainDkim -> QueryString
toQuery VerifyDomainDkim' {Text
$sel:domain:VerifyDomainDkim' :: VerifyDomainDkim -> Text
domain :: Text
..} =
    [QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"Action"
          ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"VerifyDomainDkim" :: Prelude.ByteString),
        ByteString
"Version"
          ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"2010-12-01" :: Prelude.ByteString),
        ByteString
"Domain" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
domain
      ]

-- | Returns CNAME records that you must publish to the DNS server of your
-- domain to set up Easy DKIM with Amazon SES.
--
-- /See:/ 'newVerifyDomainDkimResponse' smart constructor.
data VerifyDomainDkimResponse = VerifyDomainDkimResponse'
  { -- | The response's http status code.
    VerifyDomainDkimResponse -> Int
httpStatus :: Prelude.Int,
    -- | A set of character strings that represent the domain\'s identity. If the
    -- identity is an email address, the tokens represent the domain of that
    -- address.
    --
    -- Using these tokens, you need to create DNS CNAME records that point to
    -- DKIM public keys that are hosted by Amazon SES. Amazon Web Services
    -- eventually detects that you\'ve updated your DNS records. This detection
    -- process might take up to 72 hours. After successful detection, Amazon
    -- SES is able to DKIM-sign email originating from that domain. (This only
    -- applies to domain identities, not email address identities.)
    --
    -- For more information about creating DNS records using DKIM tokens, see
    -- the
    -- <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html Amazon SES Developer Guide>.
    VerifyDomainDkimResponse -> [Text]
dkimTokens :: [Prelude.Text]
  }
  deriving (VerifyDomainDkimResponse -> VerifyDomainDkimResponse -> Bool
(VerifyDomainDkimResponse -> VerifyDomainDkimResponse -> Bool)
-> (VerifyDomainDkimResponse -> VerifyDomainDkimResponse -> Bool)
-> Eq VerifyDomainDkimResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VerifyDomainDkimResponse -> VerifyDomainDkimResponse -> Bool
== :: VerifyDomainDkimResponse -> VerifyDomainDkimResponse -> Bool
$c/= :: VerifyDomainDkimResponse -> VerifyDomainDkimResponse -> Bool
/= :: VerifyDomainDkimResponse -> VerifyDomainDkimResponse -> Bool
Prelude.Eq, ReadPrec [VerifyDomainDkimResponse]
ReadPrec VerifyDomainDkimResponse
Int -> ReadS VerifyDomainDkimResponse
ReadS [VerifyDomainDkimResponse]
(Int -> ReadS VerifyDomainDkimResponse)
-> ReadS [VerifyDomainDkimResponse]
-> ReadPrec VerifyDomainDkimResponse
-> ReadPrec [VerifyDomainDkimResponse]
-> Read VerifyDomainDkimResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS VerifyDomainDkimResponse
readsPrec :: Int -> ReadS VerifyDomainDkimResponse
$creadList :: ReadS [VerifyDomainDkimResponse]
readList :: ReadS [VerifyDomainDkimResponse]
$creadPrec :: ReadPrec VerifyDomainDkimResponse
readPrec :: ReadPrec VerifyDomainDkimResponse
$creadListPrec :: ReadPrec [VerifyDomainDkimResponse]
readListPrec :: ReadPrec [VerifyDomainDkimResponse]
Prelude.Read, Int -> VerifyDomainDkimResponse -> ShowS
[VerifyDomainDkimResponse] -> ShowS
VerifyDomainDkimResponse -> String
(Int -> VerifyDomainDkimResponse -> ShowS)
-> (VerifyDomainDkimResponse -> String)
-> ([VerifyDomainDkimResponse] -> ShowS)
-> Show VerifyDomainDkimResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VerifyDomainDkimResponse -> ShowS
showsPrec :: Int -> VerifyDomainDkimResponse -> ShowS
$cshow :: VerifyDomainDkimResponse -> String
show :: VerifyDomainDkimResponse -> String
$cshowList :: [VerifyDomainDkimResponse] -> ShowS
showList :: [VerifyDomainDkimResponse] -> ShowS
Prelude.Show, (forall x.
 VerifyDomainDkimResponse -> Rep VerifyDomainDkimResponse x)
-> (forall x.
    Rep VerifyDomainDkimResponse x -> VerifyDomainDkimResponse)
-> Generic VerifyDomainDkimResponse
forall x.
Rep VerifyDomainDkimResponse x -> VerifyDomainDkimResponse
forall x.
VerifyDomainDkimResponse -> Rep VerifyDomainDkimResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x.
VerifyDomainDkimResponse -> Rep VerifyDomainDkimResponse x
from :: forall x.
VerifyDomainDkimResponse -> Rep VerifyDomainDkimResponse x
$cto :: forall x.
Rep VerifyDomainDkimResponse x -> VerifyDomainDkimResponse
to :: forall x.
Rep VerifyDomainDkimResponse x -> VerifyDomainDkimResponse
Prelude.Generic)

-- |
-- Create a value of 'VerifyDomainDkimResponse' 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:
--
-- 'httpStatus', 'verifyDomainDkimResponse_httpStatus' - The response's http status code.
--
-- 'dkimTokens', 'verifyDomainDkimResponse_dkimTokens' - A set of character strings that represent the domain\'s identity. If the
-- identity is an email address, the tokens represent the domain of that
-- address.
--
-- Using these tokens, you need to create DNS CNAME records that point to
-- DKIM public keys that are hosted by Amazon SES. Amazon Web Services
-- eventually detects that you\'ve updated your DNS records. This detection
-- process might take up to 72 hours. After successful detection, Amazon
-- SES is able to DKIM-sign email originating from that domain. (This only
-- applies to domain identities, not email address identities.)
--
-- For more information about creating DNS records using DKIM tokens, see
-- the
-- <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html Amazon SES Developer Guide>.
newVerifyDomainDkimResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  VerifyDomainDkimResponse
newVerifyDomainDkimResponse :: Int -> VerifyDomainDkimResponse
newVerifyDomainDkimResponse Int
pHttpStatus_ =
  VerifyDomainDkimResponse'
    { $sel:httpStatus:VerifyDomainDkimResponse' :: Int
httpStatus =
        Int
pHttpStatus_,
      $sel:dkimTokens:VerifyDomainDkimResponse' :: [Text]
dkimTokens = [Text]
forall a. Monoid a => a
Prelude.mempty
    }

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

-- | A set of character strings that represent the domain\'s identity. If the
-- identity is an email address, the tokens represent the domain of that
-- address.
--
-- Using these tokens, you need to create DNS CNAME records that point to
-- DKIM public keys that are hosted by Amazon SES. Amazon Web Services
-- eventually detects that you\'ve updated your DNS records. This detection
-- process might take up to 72 hours. After successful detection, Amazon
-- SES is able to DKIM-sign email originating from that domain. (This only
-- applies to domain identities, not email address identities.)
--
-- For more information about creating DNS records using DKIM tokens, see
-- the
-- <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html Amazon SES Developer Guide>.
verifyDomainDkimResponse_dkimTokens :: Lens.Lens' VerifyDomainDkimResponse [Prelude.Text]
verifyDomainDkimResponse_dkimTokens :: Lens' VerifyDomainDkimResponse [Text]
verifyDomainDkimResponse_dkimTokens = (VerifyDomainDkimResponse -> [Text])
-> (VerifyDomainDkimResponse -> [Text] -> VerifyDomainDkimResponse)
-> Lens' VerifyDomainDkimResponse [Text]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\VerifyDomainDkimResponse' {[Text]
$sel:dkimTokens:VerifyDomainDkimResponse' :: VerifyDomainDkimResponse -> [Text]
dkimTokens :: [Text]
dkimTokens} -> [Text]
dkimTokens) (\s :: VerifyDomainDkimResponse
s@VerifyDomainDkimResponse' {} [Text]
a -> VerifyDomainDkimResponse
s {dkimTokens = a} :: VerifyDomainDkimResponse) (([Text] -> f [Text])
 -> VerifyDomainDkimResponse -> f VerifyDomainDkimResponse)
-> (([Text] -> f [Text]) -> [Text] -> f [Text])
-> ([Text] -> f [Text])
-> VerifyDomainDkimResponse
-> f VerifyDomainDkimResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([Text] -> f [Text]) -> [Text] -> f [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Iso [Text] [Text] [Text] [Text]
Lens.coerced

instance Prelude.NFData VerifyDomainDkimResponse where
  rnf :: VerifyDomainDkimResponse -> ()
rnf VerifyDomainDkimResponse' {Int
[Text]
$sel:httpStatus:VerifyDomainDkimResponse' :: VerifyDomainDkimResponse -> Int
$sel:dkimTokens:VerifyDomainDkimResponse' :: VerifyDomainDkimResponse -> [Text]
httpStatus :: Int
dkimTokens :: [Text]
..} =
    Int -> ()
forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus
      () -> () -> ()
forall a b. a -> b -> b
`Prelude.seq` [Text] -> ()
forall a. NFData a => a -> ()
Prelude.rnf [Text]
dkimTokens