{-# 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 #-}
module Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount
(
TransferDomainToAnotherAwsAccount (..),
newTransferDomainToAnotherAwsAccount,
transferDomainToAnotherAwsAccount_domainName,
transferDomainToAnotherAwsAccount_accountId,
TransferDomainToAnotherAwsAccountResponse (..),
newTransferDomainToAnotherAwsAccountResponse,
transferDomainToAnotherAwsAccountResponse_password,
transferDomainToAnotherAwsAccountResponse_operationId,
transferDomainToAnotherAwsAccountResponse_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.Route53Domains.Types
data TransferDomainToAnotherAwsAccount = TransferDomainToAnotherAwsAccount'
{
TransferDomainToAnotherAwsAccount -> Text
domainName :: Prelude.Text,
TransferDomainToAnotherAwsAccount -> Text
accountId :: Prelude.Text
}
deriving (TransferDomainToAnotherAwsAccount
-> TransferDomainToAnotherAwsAccount -> Bool
(TransferDomainToAnotherAwsAccount
-> TransferDomainToAnotherAwsAccount -> Bool)
-> (TransferDomainToAnotherAwsAccount
-> TransferDomainToAnotherAwsAccount -> Bool)
-> Eq TransferDomainToAnotherAwsAccount
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TransferDomainToAnotherAwsAccount
-> TransferDomainToAnotherAwsAccount -> Bool
$c/= :: TransferDomainToAnotherAwsAccount
-> TransferDomainToAnotherAwsAccount -> Bool
== :: TransferDomainToAnotherAwsAccount
-> TransferDomainToAnotherAwsAccount -> Bool
$c== :: TransferDomainToAnotherAwsAccount
-> TransferDomainToAnotherAwsAccount -> Bool
Prelude.Eq, ReadPrec [TransferDomainToAnotherAwsAccount]
ReadPrec TransferDomainToAnotherAwsAccount
Int -> ReadS TransferDomainToAnotherAwsAccount
ReadS [TransferDomainToAnotherAwsAccount]
(Int -> ReadS TransferDomainToAnotherAwsAccount)
-> ReadS [TransferDomainToAnotherAwsAccount]
-> ReadPrec TransferDomainToAnotherAwsAccount
-> ReadPrec [TransferDomainToAnotherAwsAccount]
-> Read TransferDomainToAnotherAwsAccount
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [TransferDomainToAnotherAwsAccount]
$creadListPrec :: ReadPrec [TransferDomainToAnotherAwsAccount]
readPrec :: ReadPrec TransferDomainToAnotherAwsAccount
$creadPrec :: ReadPrec TransferDomainToAnotherAwsAccount
readList :: ReadS [TransferDomainToAnotherAwsAccount]
$creadList :: ReadS [TransferDomainToAnotherAwsAccount]
readsPrec :: Int -> ReadS TransferDomainToAnotherAwsAccount
$creadsPrec :: Int -> ReadS TransferDomainToAnotherAwsAccount
Prelude.Read, Int -> TransferDomainToAnotherAwsAccount -> ShowS
[TransferDomainToAnotherAwsAccount] -> ShowS
TransferDomainToAnotherAwsAccount -> String
(Int -> TransferDomainToAnotherAwsAccount -> ShowS)
-> (TransferDomainToAnotherAwsAccount -> String)
-> ([TransferDomainToAnotherAwsAccount] -> ShowS)
-> Show TransferDomainToAnotherAwsAccount
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TransferDomainToAnotherAwsAccount] -> ShowS
$cshowList :: [TransferDomainToAnotherAwsAccount] -> ShowS
show :: TransferDomainToAnotherAwsAccount -> String
$cshow :: TransferDomainToAnotherAwsAccount -> String
showsPrec :: Int -> TransferDomainToAnotherAwsAccount -> ShowS
$cshowsPrec :: Int -> TransferDomainToAnotherAwsAccount -> ShowS
Prelude.Show, (forall x.
TransferDomainToAnotherAwsAccount
-> Rep TransferDomainToAnotherAwsAccount x)
-> (forall x.
Rep TransferDomainToAnotherAwsAccount x
-> TransferDomainToAnotherAwsAccount)
-> Generic TransferDomainToAnotherAwsAccount
forall x.
Rep TransferDomainToAnotherAwsAccount x
-> TransferDomainToAnotherAwsAccount
forall x.
TransferDomainToAnotherAwsAccount
-> Rep TransferDomainToAnotherAwsAccount x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep TransferDomainToAnotherAwsAccount x
-> TransferDomainToAnotherAwsAccount
$cfrom :: forall x.
TransferDomainToAnotherAwsAccount
-> Rep TransferDomainToAnotherAwsAccount x
Prelude.Generic)
newTransferDomainToAnotherAwsAccount ::
Prelude.Text ->
Prelude.Text ->
TransferDomainToAnotherAwsAccount
newTransferDomainToAnotherAwsAccount :: Text -> Text -> TransferDomainToAnotherAwsAccount
newTransferDomainToAnotherAwsAccount
Text
pDomainName_
Text
pAccountId_ =
TransferDomainToAnotherAwsAccount' :: Text -> Text -> TransferDomainToAnotherAwsAccount
TransferDomainToAnotherAwsAccount'
{ $sel:domainName:TransferDomainToAnotherAwsAccount' :: Text
domainName =
Text
pDomainName_,
$sel:accountId:TransferDomainToAnotherAwsAccount' :: Text
accountId = Text
pAccountId_
}
transferDomainToAnotherAwsAccount_domainName :: Lens.Lens' TransferDomainToAnotherAwsAccount Prelude.Text
transferDomainToAnotherAwsAccount_domainName :: (Text -> f Text)
-> TransferDomainToAnotherAwsAccount
-> f TransferDomainToAnotherAwsAccount
transferDomainToAnotherAwsAccount_domainName = (TransferDomainToAnotherAwsAccount -> Text)
-> (TransferDomainToAnotherAwsAccount
-> Text -> TransferDomainToAnotherAwsAccount)
-> Lens
TransferDomainToAnotherAwsAccount
TransferDomainToAnotherAwsAccount
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TransferDomainToAnotherAwsAccount' {Text
domainName :: Text
$sel:domainName:TransferDomainToAnotherAwsAccount' :: TransferDomainToAnotherAwsAccount -> Text
domainName} -> Text
domainName) (\s :: TransferDomainToAnotherAwsAccount
s@TransferDomainToAnotherAwsAccount' {} Text
a -> TransferDomainToAnotherAwsAccount
s {$sel:domainName:TransferDomainToAnotherAwsAccount' :: Text
domainName = Text
a} :: TransferDomainToAnotherAwsAccount)
transferDomainToAnotherAwsAccount_accountId :: Lens.Lens' TransferDomainToAnotherAwsAccount Prelude.Text
transferDomainToAnotherAwsAccount_accountId :: (Text -> f Text)
-> TransferDomainToAnotherAwsAccount
-> f TransferDomainToAnotherAwsAccount
transferDomainToAnotherAwsAccount_accountId = (TransferDomainToAnotherAwsAccount -> Text)
-> (TransferDomainToAnotherAwsAccount
-> Text -> TransferDomainToAnotherAwsAccount)
-> Lens
TransferDomainToAnotherAwsAccount
TransferDomainToAnotherAwsAccount
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TransferDomainToAnotherAwsAccount' {Text
accountId :: Text
$sel:accountId:TransferDomainToAnotherAwsAccount' :: TransferDomainToAnotherAwsAccount -> Text
accountId} -> Text
accountId) (\s :: TransferDomainToAnotherAwsAccount
s@TransferDomainToAnotherAwsAccount' {} Text
a -> TransferDomainToAnotherAwsAccount
s {$sel:accountId:TransferDomainToAnotherAwsAccount' :: Text
accountId = Text
a} :: TransferDomainToAnotherAwsAccount)
instance
Core.AWSRequest
TransferDomainToAnotherAwsAccount
where
type
AWSResponse TransferDomainToAnotherAwsAccount =
TransferDomainToAnotherAwsAccountResponse
request :: TransferDomainToAnotherAwsAccount
-> Request TransferDomainToAnotherAwsAccount
request = Service
-> TransferDomainToAnotherAwsAccount
-> Request TransferDomainToAnotherAwsAccount
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy TransferDomainToAnotherAwsAccount
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse TransferDomainToAnotherAwsAccount)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse TransferDomainToAnotherAwsAccount))
-> Logger
-> Service
-> Proxy TransferDomainToAnotherAwsAccount
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse TransferDomainToAnotherAwsAccount)))
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 Text
-> Maybe Text -> Int -> TransferDomainToAnotherAwsAccountResponse
TransferDomainToAnotherAwsAccountResponse'
(Maybe Text
-> Maybe Text -> Int -> TransferDomainToAnotherAwsAccountResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text -> Int -> TransferDomainToAnotherAwsAccountResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Password")
Either
String
(Maybe Text -> Int -> TransferDomainToAnotherAwsAccountResponse)
-> Either String (Maybe Text)
-> Either String (Int -> TransferDomainToAnotherAwsAccountResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"OperationId")
Either String (Int -> TransferDomainToAnotherAwsAccountResponse)
-> Either String Int
-> Either String TransferDomainToAnotherAwsAccountResponse
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
TransferDomainToAnotherAwsAccount
instance
Prelude.NFData
TransferDomainToAnotherAwsAccount
instance
Core.ToHeaders
TransferDomainToAnotherAwsAccount
where
toHeaders :: TransferDomainToAnotherAwsAccount -> ResponseHeaders
toHeaders =
ResponseHeaders
-> TransferDomainToAnotherAwsAccount -> 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
"Route53Domains_v20140515.TransferDomainToAnotherAwsAccount" ::
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
TransferDomainToAnotherAwsAccount
where
toJSON :: TransferDomainToAnotherAwsAccount -> Value
toJSON TransferDomainToAnotherAwsAccount' {Text
accountId :: Text
domainName :: Text
$sel:accountId:TransferDomainToAnotherAwsAccount' :: TransferDomainToAnotherAwsAccount -> Text
$sel:domainName:TransferDomainToAnotherAwsAccount' :: TransferDomainToAnotherAwsAccount -> 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
"DomainName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
domainName),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"AccountId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
accountId)
]
)
instance
Core.ToPath
TransferDomainToAnotherAwsAccount
where
toPath :: TransferDomainToAnotherAwsAccount -> ByteString
toPath = ByteString -> TransferDomainToAnotherAwsAccount -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
TransferDomainToAnotherAwsAccount
where
toQuery :: TransferDomainToAnotherAwsAccount -> QueryString
toQuery = QueryString -> TransferDomainToAnotherAwsAccount -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data TransferDomainToAnotherAwsAccountResponse = TransferDomainToAnotherAwsAccountResponse'
{
TransferDomainToAnotherAwsAccountResponse -> Maybe Text
password :: Prelude.Maybe Prelude.Text,
TransferDomainToAnotherAwsAccountResponse -> Maybe Text
operationId :: Prelude.Maybe Prelude.Text,
TransferDomainToAnotherAwsAccountResponse -> Int
httpStatus :: Prelude.Int
}
deriving (TransferDomainToAnotherAwsAccountResponse
-> TransferDomainToAnotherAwsAccountResponse -> Bool
(TransferDomainToAnotherAwsAccountResponse
-> TransferDomainToAnotherAwsAccountResponse -> Bool)
-> (TransferDomainToAnotherAwsAccountResponse
-> TransferDomainToAnotherAwsAccountResponse -> Bool)
-> Eq TransferDomainToAnotherAwsAccountResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TransferDomainToAnotherAwsAccountResponse
-> TransferDomainToAnotherAwsAccountResponse -> Bool
$c/= :: TransferDomainToAnotherAwsAccountResponse
-> TransferDomainToAnotherAwsAccountResponse -> Bool
== :: TransferDomainToAnotherAwsAccountResponse
-> TransferDomainToAnotherAwsAccountResponse -> Bool
$c== :: TransferDomainToAnotherAwsAccountResponse
-> TransferDomainToAnotherAwsAccountResponse -> Bool
Prelude.Eq, ReadPrec [TransferDomainToAnotherAwsAccountResponse]
ReadPrec TransferDomainToAnotherAwsAccountResponse
Int -> ReadS TransferDomainToAnotherAwsAccountResponse
ReadS [TransferDomainToAnotherAwsAccountResponse]
(Int -> ReadS TransferDomainToAnotherAwsAccountResponse)
-> ReadS [TransferDomainToAnotherAwsAccountResponse]
-> ReadPrec TransferDomainToAnotherAwsAccountResponse
-> ReadPrec [TransferDomainToAnotherAwsAccountResponse]
-> Read TransferDomainToAnotherAwsAccountResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [TransferDomainToAnotherAwsAccountResponse]
$creadListPrec :: ReadPrec [TransferDomainToAnotherAwsAccountResponse]
readPrec :: ReadPrec TransferDomainToAnotherAwsAccountResponse
$creadPrec :: ReadPrec TransferDomainToAnotherAwsAccountResponse
readList :: ReadS [TransferDomainToAnotherAwsAccountResponse]
$creadList :: ReadS [TransferDomainToAnotherAwsAccountResponse]
readsPrec :: Int -> ReadS TransferDomainToAnotherAwsAccountResponse
$creadsPrec :: Int -> ReadS TransferDomainToAnotherAwsAccountResponse
Prelude.Read, Int -> TransferDomainToAnotherAwsAccountResponse -> ShowS
[TransferDomainToAnotherAwsAccountResponse] -> ShowS
TransferDomainToAnotherAwsAccountResponse -> String
(Int -> TransferDomainToAnotherAwsAccountResponse -> ShowS)
-> (TransferDomainToAnotherAwsAccountResponse -> String)
-> ([TransferDomainToAnotherAwsAccountResponse] -> ShowS)
-> Show TransferDomainToAnotherAwsAccountResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TransferDomainToAnotherAwsAccountResponse] -> ShowS
$cshowList :: [TransferDomainToAnotherAwsAccountResponse] -> ShowS
show :: TransferDomainToAnotherAwsAccountResponse -> String
$cshow :: TransferDomainToAnotherAwsAccountResponse -> String
showsPrec :: Int -> TransferDomainToAnotherAwsAccountResponse -> ShowS
$cshowsPrec :: Int -> TransferDomainToAnotherAwsAccountResponse -> ShowS
Prelude.Show, (forall x.
TransferDomainToAnotherAwsAccountResponse
-> Rep TransferDomainToAnotherAwsAccountResponse x)
-> (forall x.
Rep TransferDomainToAnotherAwsAccountResponse x
-> TransferDomainToAnotherAwsAccountResponse)
-> Generic TransferDomainToAnotherAwsAccountResponse
forall x.
Rep TransferDomainToAnotherAwsAccountResponse x
-> TransferDomainToAnotherAwsAccountResponse
forall x.
TransferDomainToAnotherAwsAccountResponse
-> Rep TransferDomainToAnotherAwsAccountResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep TransferDomainToAnotherAwsAccountResponse x
-> TransferDomainToAnotherAwsAccountResponse
$cfrom :: forall x.
TransferDomainToAnotherAwsAccountResponse
-> Rep TransferDomainToAnotherAwsAccountResponse x
Prelude.Generic)
newTransferDomainToAnotherAwsAccountResponse ::
Prelude.Int ->
TransferDomainToAnotherAwsAccountResponse
newTransferDomainToAnotherAwsAccountResponse :: Int -> TransferDomainToAnotherAwsAccountResponse
newTransferDomainToAnotherAwsAccountResponse
Int
pHttpStatus_ =
TransferDomainToAnotherAwsAccountResponse' :: Maybe Text
-> Maybe Text -> Int -> TransferDomainToAnotherAwsAccountResponse
TransferDomainToAnotherAwsAccountResponse'
{ $sel:password:TransferDomainToAnotherAwsAccountResponse' :: Maybe Text
password =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:operationId:TransferDomainToAnotherAwsAccountResponse' :: Maybe Text
operationId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:TransferDomainToAnotherAwsAccountResponse' :: Int
httpStatus = Int
pHttpStatus_
}
transferDomainToAnotherAwsAccountResponse_password :: Lens.Lens' TransferDomainToAnotherAwsAccountResponse (Prelude.Maybe Prelude.Text)
transferDomainToAnotherAwsAccountResponse_password :: (Maybe Text -> f (Maybe Text))
-> TransferDomainToAnotherAwsAccountResponse
-> f TransferDomainToAnotherAwsAccountResponse
transferDomainToAnotherAwsAccountResponse_password = (TransferDomainToAnotherAwsAccountResponse -> Maybe Text)
-> (TransferDomainToAnotherAwsAccountResponse
-> Maybe Text -> TransferDomainToAnotherAwsAccountResponse)
-> Lens
TransferDomainToAnotherAwsAccountResponse
TransferDomainToAnotherAwsAccountResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TransferDomainToAnotherAwsAccountResponse' {Maybe Text
password :: Maybe Text
$sel:password:TransferDomainToAnotherAwsAccountResponse' :: TransferDomainToAnotherAwsAccountResponse -> Maybe Text
password} -> Maybe Text
password) (\s :: TransferDomainToAnotherAwsAccountResponse
s@TransferDomainToAnotherAwsAccountResponse' {} Maybe Text
a -> TransferDomainToAnotherAwsAccountResponse
s {$sel:password:TransferDomainToAnotherAwsAccountResponse' :: Maybe Text
password = Maybe Text
a} :: TransferDomainToAnotherAwsAccountResponse)
transferDomainToAnotherAwsAccountResponse_operationId :: Lens.Lens' TransferDomainToAnotherAwsAccountResponse (Prelude.Maybe Prelude.Text)
transferDomainToAnotherAwsAccountResponse_operationId :: (Maybe Text -> f (Maybe Text))
-> TransferDomainToAnotherAwsAccountResponse
-> f TransferDomainToAnotherAwsAccountResponse
transferDomainToAnotherAwsAccountResponse_operationId = (TransferDomainToAnotherAwsAccountResponse -> Maybe Text)
-> (TransferDomainToAnotherAwsAccountResponse
-> Maybe Text -> TransferDomainToAnotherAwsAccountResponse)
-> Lens
TransferDomainToAnotherAwsAccountResponse
TransferDomainToAnotherAwsAccountResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TransferDomainToAnotherAwsAccountResponse' {Maybe Text
operationId :: Maybe Text
$sel:operationId:TransferDomainToAnotherAwsAccountResponse' :: TransferDomainToAnotherAwsAccountResponse -> Maybe Text
operationId} -> Maybe Text
operationId) (\s :: TransferDomainToAnotherAwsAccountResponse
s@TransferDomainToAnotherAwsAccountResponse' {} Maybe Text
a -> TransferDomainToAnotherAwsAccountResponse
s {$sel:operationId:TransferDomainToAnotherAwsAccountResponse' :: Maybe Text
operationId = Maybe Text
a} :: TransferDomainToAnotherAwsAccountResponse)
transferDomainToAnotherAwsAccountResponse_httpStatus :: Lens.Lens' TransferDomainToAnotherAwsAccountResponse Prelude.Int
transferDomainToAnotherAwsAccountResponse_httpStatus :: (Int -> f Int)
-> TransferDomainToAnotherAwsAccountResponse
-> f TransferDomainToAnotherAwsAccountResponse
transferDomainToAnotherAwsAccountResponse_httpStatus = (TransferDomainToAnotherAwsAccountResponse -> Int)
-> (TransferDomainToAnotherAwsAccountResponse
-> Int -> TransferDomainToAnotherAwsAccountResponse)
-> Lens
TransferDomainToAnotherAwsAccountResponse
TransferDomainToAnotherAwsAccountResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TransferDomainToAnotherAwsAccountResponse' {Int
httpStatus :: Int
$sel:httpStatus:TransferDomainToAnotherAwsAccountResponse' :: TransferDomainToAnotherAwsAccountResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: TransferDomainToAnotherAwsAccountResponse
s@TransferDomainToAnotherAwsAccountResponse' {} Int
a -> TransferDomainToAnotherAwsAccountResponse
s {$sel:httpStatus:TransferDomainToAnotherAwsAccountResponse' :: Int
httpStatus = Int
a} :: TransferDomainToAnotherAwsAccountResponse)
instance
Prelude.NFData
TransferDomainToAnotherAwsAccountResponse