{-# 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.GetIdentityVerificationAttributes
-- 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)
--
-- Given a list of identities (email addresses and\/or domains), returns
-- the verification status and (for domain identities) the verification
-- token for each identity.
--
-- The verification status of an email address is \"Pending\" until the
-- email address owner clicks the link within the verification email that
-- Amazon SES sent to that address. If the email address owner clicks the
-- link within 24 hours, the verification status of the email address
-- changes to \"Success\". If the link is not clicked within 24 hours, the
-- verification status changes to \"Failed.\" In that case, if you still
-- want to verify the email address, you must restart the verification
-- process from the beginning.
--
-- For domain identities, the domain\'s verification status is \"Pending\"
-- as Amazon SES searches for the required TXT record in the DNS settings
-- of the domain. When Amazon SES detects the record, the domain\'s
-- verification status changes to \"Success\". If Amazon SES is unable to
-- detect the record within 72 hours, the domain\'s verification status
-- changes to \"Failed.\" In that case, if you still want to verify the
-- domain, you must restart the verification process from the beginning.
--
-- This operation is throttled at one request per second and can only get
-- verification attributes for up to 100 identities at a time.
module Amazonka.SES.GetIdentityVerificationAttributes
  ( -- * Creating a Request
    GetIdentityVerificationAttributes (..),
    newGetIdentityVerificationAttributes,

    -- * Request Lenses
    getIdentityVerificationAttributes_identities,

    -- * Destructuring the Response
    GetIdentityVerificationAttributesResponse (..),
    newGetIdentityVerificationAttributesResponse,

    -- * Response Lenses
    getIdentityVerificationAttributesResponse_httpStatus,
    getIdentityVerificationAttributesResponse_verificationAttributes,
  )
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 return the Amazon SES verification status of a
-- list of identities. For domain identities, this request also returns the
-- verification token. For information about verifying identities with
-- Amazon SES, see the
-- <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Amazon SES Developer Guide>.
--
-- /See:/ 'newGetIdentityVerificationAttributes' smart constructor.
data GetIdentityVerificationAttributes = GetIdentityVerificationAttributes'
  { -- | A list of identities.
    GetIdentityVerificationAttributes -> [Text]
identities :: [Prelude.Text]
  }
  deriving (GetIdentityVerificationAttributes
-> GetIdentityVerificationAttributes -> Bool
(GetIdentityVerificationAttributes
 -> GetIdentityVerificationAttributes -> Bool)
-> (GetIdentityVerificationAttributes
    -> GetIdentityVerificationAttributes -> Bool)
-> Eq GetIdentityVerificationAttributes
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetIdentityVerificationAttributes
-> GetIdentityVerificationAttributes -> Bool
$c/= :: GetIdentityVerificationAttributes
-> GetIdentityVerificationAttributes -> Bool
== :: GetIdentityVerificationAttributes
-> GetIdentityVerificationAttributes -> Bool
$c== :: GetIdentityVerificationAttributes
-> GetIdentityVerificationAttributes -> Bool
Prelude.Eq, ReadPrec [GetIdentityVerificationAttributes]
ReadPrec GetIdentityVerificationAttributes
Int -> ReadS GetIdentityVerificationAttributes
ReadS [GetIdentityVerificationAttributes]
(Int -> ReadS GetIdentityVerificationAttributes)
-> ReadS [GetIdentityVerificationAttributes]
-> ReadPrec GetIdentityVerificationAttributes
-> ReadPrec [GetIdentityVerificationAttributes]
-> Read GetIdentityVerificationAttributes
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetIdentityVerificationAttributes]
$creadListPrec :: ReadPrec [GetIdentityVerificationAttributes]
readPrec :: ReadPrec GetIdentityVerificationAttributes
$creadPrec :: ReadPrec GetIdentityVerificationAttributes
readList :: ReadS [GetIdentityVerificationAttributes]
$creadList :: ReadS [GetIdentityVerificationAttributes]
readsPrec :: Int -> ReadS GetIdentityVerificationAttributes
$creadsPrec :: Int -> ReadS GetIdentityVerificationAttributes
Prelude.Read, Int -> GetIdentityVerificationAttributes -> ShowS
[GetIdentityVerificationAttributes] -> ShowS
GetIdentityVerificationAttributes -> String
(Int -> GetIdentityVerificationAttributes -> ShowS)
-> (GetIdentityVerificationAttributes -> String)
-> ([GetIdentityVerificationAttributes] -> ShowS)
-> Show GetIdentityVerificationAttributes
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetIdentityVerificationAttributes] -> ShowS
$cshowList :: [GetIdentityVerificationAttributes] -> ShowS
show :: GetIdentityVerificationAttributes -> String
$cshow :: GetIdentityVerificationAttributes -> String
showsPrec :: Int -> GetIdentityVerificationAttributes -> ShowS
$cshowsPrec :: Int -> GetIdentityVerificationAttributes -> ShowS
Prelude.Show, (forall x.
 GetIdentityVerificationAttributes
 -> Rep GetIdentityVerificationAttributes x)
-> (forall x.
    Rep GetIdentityVerificationAttributes x
    -> GetIdentityVerificationAttributes)
-> Generic GetIdentityVerificationAttributes
forall x.
Rep GetIdentityVerificationAttributes x
-> GetIdentityVerificationAttributes
forall x.
GetIdentityVerificationAttributes
-> Rep GetIdentityVerificationAttributes x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetIdentityVerificationAttributes x
-> GetIdentityVerificationAttributes
$cfrom :: forall x.
GetIdentityVerificationAttributes
-> Rep GetIdentityVerificationAttributes x
Prelude.Generic)

-- |
-- Create a value of 'GetIdentityVerificationAttributes' 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:
--
-- 'identities', 'getIdentityVerificationAttributes_identities' - A list of identities.
newGetIdentityVerificationAttributes ::
  GetIdentityVerificationAttributes
newGetIdentityVerificationAttributes :: GetIdentityVerificationAttributes
newGetIdentityVerificationAttributes =
  GetIdentityVerificationAttributes' :: [Text] -> GetIdentityVerificationAttributes
GetIdentityVerificationAttributes'
    { $sel:identities:GetIdentityVerificationAttributes' :: [Text]
identities =
        [Text]
forall a. Monoid a => a
Prelude.mempty
    }

-- | A list of identities.
getIdentityVerificationAttributes_identities :: Lens.Lens' GetIdentityVerificationAttributes [Prelude.Text]
getIdentityVerificationAttributes_identities :: ([Text] -> f [Text])
-> GetIdentityVerificationAttributes
-> f GetIdentityVerificationAttributes
getIdentityVerificationAttributes_identities = (GetIdentityVerificationAttributes -> [Text])
-> (GetIdentityVerificationAttributes
    -> [Text] -> GetIdentityVerificationAttributes)
-> Lens
     GetIdentityVerificationAttributes
     GetIdentityVerificationAttributes
     [Text]
     [Text]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIdentityVerificationAttributes' {[Text]
identities :: [Text]
$sel:identities:GetIdentityVerificationAttributes' :: GetIdentityVerificationAttributes -> [Text]
identities} -> [Text]
identities) (\s :: GetIdentityVerificationAttributes
s@GetIdentityVerificationAttributes' {} [Text]
a -> GetIdentityVerificationAttributes
s {$sel:identities:GetIdentityVerificationAttributes' :: [Text]
identities = [Text]
a} :: GetIdentityVerificationAttributes) (([Text] -> f [Text])
 -> GetIdentityVerificationAttributes
 -> f GetIdentityVerificationAttributes)
-> (([Text] -> f [Text]) -> [Text] -> f [Text])
-> ([Text] -> f [Text])
-> GetIdentityVerificationAttributes
-> f GetIdentityVerificationAttributes
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
Lens.coerced

instance
  Core.AWSRequest
    GetIdentityVerificationAttributes
  where
  type
    AWSResponse GetIdentityVerificationAttributes =
      GetIdentityVerificationAttributesResponse
  request :: GetIdentityVerificationAttributes
-> Request GetIdentityVerificationAttributes
request = Service
-> GetIdentityVerificationAttributes
-> Request GetIdentityVerificationAttributes
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
  response :: Logger
-> Service
-> Proxy GetIdentityVerificationAttributes
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse GetIdentityVerificationAttributes)))
response =
    Text
-> (Int
    -> ResponseHeaders
    -> [Node]
    -> Either String (AWSResponse GetIdentityVerificationAttributes))
-> Logger
-> Service
-> Proxy GetIdentityVerificationAttributes
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse GetIdentityVerificationAttributes)))
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
"GetIdentityVerificationAttributesResult"
      ( \Int
s ResponseHeaders
h [Node]
x ->
          Int
-> HashMap Text IdentityVerificationAttributes
-> GetIdentityVerificationAttributesResponse
GetIdentityVerificationAttributesResponse'
            (Int
 -> HashMap Text IdentityVerificationAttributes
 -> GetIdentityVerificationAttributesResponse)
-> Either String Int
-> Either
     String
     (HashMap Text IdentityVerificationAttributes
      -> GetIdentityVerificationAttributesResponse)
forall (f :: * -> *) a b. Functor 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))
              Either
  String
  (HashMap Text IdentityVerificationAttributes
   -> GetIdentityVerificationAttributesResponse)
-> Either String (HashMap Text IdentityVerificationAttributes)
-> Either String GetIdentityVerificationAttributesResponse
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)
Core..@? Text
"VerificationAttributes"
                              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 (HashMap Text IdentityVerificationAttributes))
-> Either String (HashMap Text IdentityVerificationAttributes)
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= Text
-> Text
-> Text
-> [Node]
-> Either String (HashMap Text IdentityVerificationAttributes)
forall k v.
(Eq k, Hashable k, FromText k, FromXML v) =>
Text -> Text -> Text -> [Node] -> Either String (HashMap k v)
Core.parseXMLMap Text
"entry" Text
"key" Text
"value"
                          )
      )

instance
  Prelude.Hashable
    GetIdentityVerificationAttributes

instance
  Prelude.NFData
    GetIdentityVerificationAttributes

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

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

instance
  Core.ToQuery
    GetIdentityVerificationAttributes
  where
  toQuery :: GetIdentityVerificationAttributes -> QueryString
toQuery GetIdentityVerificationAttributes' {[Text]
identities :: [Text]
$sel:identities:GetIdentityVerificationAttributes' :: GetIdentityVerificationAttributes -> [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
"GetIdentityVerificationAttributes" ::
                      Prelude.ByteString
                  ),
        ByteString
"Version"
          ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2010-12-01" :: Prelude.ByteString),
        ByteString
"Identities"
          ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member" [Text]
identities
      ]

-- | The Amazon SES verification status of a list of identities. For domain
-- identities, this response also contains the verification token.
--
-- /See:/ 'newGetIdentityVerificationAttributesResponse' smart constructor.
data GetIdentityVerificationAttributesResponse = GetIdentityVerificationAttributesResponse'
  { -- | The response's http status code.
    GetIdentityVerificationAttributesResponse -> Int
httpStatus :: Prelude.Int,
    -- | A map of Identities to IdentityVerificationAttributes objects.
    GetIdentityVerificationAttributesResponse
-> HashMap Text IdentityVerificationAttributes
verificationAttributes :: Prelude.HashMap Prelude.Text IdentityVerificationAttributes
  }
  deriving (GetIdentityVerificationAttributesResponse
-> GetIdentityVerificationAttributesResponse -> Bool
(GetIdentityVerificationAttributesResponse
 -> GetIdentityVerificationAttributesResponse -> Bool)
-> (GetIdentityVerificationAttributesResponse
    -> GetIdentityVerificationAttributesResponse -> Bool)
-> Eq GetIdentityVerificationAttributesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetIdentityVerificationAttributesResponse
-> GetIdentityVerificationAttributesResponse -> Bool
$c/= :: GetIdentityVerificationAttributesResponse
-> GetIdentityVerificationAttributesResponse -> Bool
== :: GetIdentityVerificationAttributesResponse
-> GetIdentityVerificationAttributesResponse -> Bool
$c== :: GetIdentityVerificationAttributesResponse
-> GetIdentityVerificationAttributesResponse -> Bool
Prelude.Eq, ReadPrec [GetIdentityVerificationAttributesResponse]
ReadPrec GetIdentityVerificationAttributesResponse
Int -> ReadS GetIdentityVerificationAttributesResponse
ReadS [GetIdentityVerificationAttributesResponse]
(Int -> ReadS GetIdentityVerificationAttributesResponse)
-> ReadS [GetIdentityVerificationAttributesResponse]
-> ReadPrec GetIdentityVerificationAttributesResponse
-> ReadPrec [GetIdentityVerificationAttributesResponse]
-> Read GetIdentityVerificationAttributesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetIdentityVerificationAttributesResponse]
$creadListPrec :: ReadPrec [GetIdentityVerificationAttributesResponse]
readPrec :: ReadPrec GetIdentityVerificationAttributesResponse
$creadPrec :: ReadPrec GetIdentityVerificationAttributesResponse
readList :: ReadS [GetIdentityVerificationAttributesResponse]
$creadList :: ReadS [GetIdentityVerificationAttributesResponse]
readsPrec :: Int -> ReadS GetIdentityVerificationAttributesResponse
$creadsPrec :: Int -> ReadS GetIdentityVerificationAttributesResponse
Prelude.Read, Int -> GetIdentityVerificationAttributesResponse -> ShowS
[GetIdentityVerificationAttributesResponse] -> ShowS
GetIdentityVerificationAttributesResponse -> String
(Int -> GetIdentityVerificationAttributesResponse -> ShowS)
-> (GetIdentityVerificationAttributesResponse -> String)
-> ([GetIdentityVerificationAttributesResponse] -> ShowS)
-> Show GetIdentityVerificationAttributesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetIdentityVerificationAttributesResponse] -> ShowS
$cshowList :: [GetIdentityVerificationAttributesResponse] -> ShowS
show :: GetIdentityVerificationAttributesResponse -> String
$cshow :: GetIdentityVerificationAttributesResponse -> String
showsPrec :: Int -> GetIdentityVerificationAttributesResponse -> ShowS
$cshowsPrec :: Int -> GetIdentityVerificationAttributesResponse -> ShowS
Prelude.Show, (forall x.
 GetIdentityVerificationAttributesResponse
 -> Rep GetIdentityVerificationAttributesResponse x)
-> (forall x.
    Rep GetIdentityVerificationAttributesResponse x
    -> GetIdentityVerificationAttributesResponse)
-> Generic GetIdentityVerificationAttributesResponse
forall x.
Rep GetIdentityVerificationAttributesResponse x
-> GetIdentityVerificationAttributesResponse
forall x.
GetIdentityVerificationAttributesResponse
-> Rep GetIdentityVerificationAttributesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetIdentityVerificationAttributesResponse x
-> GetIdentityVerificationAttributesResponse
$cfrom :: forall x.
GetIdentityVerificationAttributesResponse
-> Rep GetIdentityVerificationAttributesResponse x
Prelude.Generic)

-- |
-- Create a value of 'GetIdentityVerificationAttributesResponse' 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', 'getIdentityVerificationAttributesResponse_httpStatus' - The response's http status code.
--
-- 'verificationAttributes', 'getIdentityVerificationAttributesResponse_verificationAttributes' - A map of Identities to IdentityVerificationAttributes objects.
newGetIdentityVerificationAttributesResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  GetIdentityVerificationAttributesResponse
newGetIdentityVerificationAttributesResponse :: Int -> GetIdentityVerificationAttributesResponse
newGetIdentityVerificationAttributesResponse
  Int
pHttpStatus_ =
    GetIdentityVerificationAttributesResponse' :: Int
-> HashMap Text IdentityVerificationAttributes
-> GetIdentityVerificationAttributesResponse
GetIdentityVerificationAttributesResponse'
      { $sel:httpStatus:GetIdentityVerificationAttributesResponse' :: Int
httpStatus =
          Int
pHttpStatus_,
        $sel:verificationAttributes:GetIdentityVerificationAttributesResponse' :: HashMap Text IdentityVerificationAttributes
verificationAttributes =
          HashMap Text IdentityVerificationAttributes
forall a. Monoid a => a
Prelude.mempty
      }

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

-- | A map of Identities to IdentityVerificationAttributes objects.
getIdentityVerificationAttributesResponse_verificationAttributes :: Lens.Lens' GetIdentityVerificationAttributesResponse (Prelude.HashMap Prelude.Text IdentityVerificationAttributes)
getIdentityVerificationAttributesResponse_verificationAttributes :: (HashMap Text IdentityVerificationAttributes
 -> f (HashMap Text IdentityVerificationAttributes))
-> GetIdentityVerificationAttributesResponse
-> f GetIdentityVerificationAttributesResponse
getIdentityVerificationAttributesResponse_verificationAttributes = (GetIdentityVerificationAttributesResponse
 -> HashMap Text IdentityVerificationAttributes)
-> (GetIdentityVerificationAttributesResponse
    -> HashMap Text IdentityVerificationAttributes
    -> GetIdentityVerificationAttributesResponse)
-> Lens
     GetIdentityVerificationAttributesResponse
     GetIdentityVerificationAttributesResponse
     (HashMap Text IdentityVerificationAttributes)
     (HashMap Text IdentityVerificationAttributes)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIdentityVerificationAttributesResponse' {HashMap Text IdentityVerificationAttributes
verificationAttributes :: HashMap Text IdentityVerificationAttributes
$sel:verificationAttributes:GetIdentityVerificationAttributesResponse' :: GetIdentityVerificationAttributesResponse
-> HashMap Text IdentityVerificationAttributes
verificationAttributes} -> HashMap Text IdentityVerificationAttributes
verificationAttributes) (\s :: GetIdentityVerificationAttributesResponse
s@GetIdentityVerificationAttributesResponse' {} HashMap Text IdentityVerificationAttributes
a -> GetIdentityVerificationAttributesResponse
s {$sel:verificationAttributes:GetIdentityVerificationAttributesResponse' :: HashMap Text IdentityVerificationAttributes
verificationAttributes = HashMap Text IdentityVerificationAttributes
a} :: GetIdentityVerificationAttributesResponse) ((HashMap Text IdentityVerificationAttributes
  -> f (HashMap Text IdentityVerificationAttributes))
 -> GetIdentityVerificationAttributesResponse
 -> f GetIdentityVerificationAttributesResponse)
-> ((HashMap Text IdentityVerificationAttributes
     -> f (HashMap Text IdentityVerificationAttributes))
    -> HashMap Text IdentityVerificationAttributes
    -> f (HashMap Text IdentityVerificationAttributes))
-> (HashMap Text IdentityVerificationAttributes
    -> f (HashMap Text IdentityVerificationAttributes))
-> GetIdentityVerificationAttributesResponse
-> f GetIdentityVerificationAttributesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (HashMap Text IdentityVerificationAttributes
 -> f (HashMap Text IdentityVerificationAttributes))
-> HashMap Text IdentityVerificationAttributes
-> f (HashMap Text IdentityVerificationAttributes)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

instance
  Prelude.NFData
    GetIdentityVerificationAttributesResponse