{-# 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.AcceptDomainTransferFromAnotherAwsAccount
(
AcceptDomainTransferFromAnotherAwsAccount (..),
newAcceptDomainTransferFromAnotherAwsAccount,
acceptDomainTransferFromAnotherAwsAccount_domainName,
acceptDomainTransferFromAnotherAwsAccount_password,
AcceptDomainTransferFromAnotherAwsAccountResponse (..),
newAcceptDomainTransferFromAnotherAwsAccountResponse,
acceptDomainTransferFromAnotherAwsAccountResponse_operationId,
acceptDomainTransferFromAnotherAwsAccountResponse_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 AcceptDomainTransferFromAnotherAwsAccount = AcceptDomainTransferFromAnotherAwsAccount'
{
AcceptDomainTransferFromAnotherAwsAccount -> Text
domainName :: Prelude.Text,
AcceptDomainTransferFromAnotherAwsAccount -> Text
password :: Prelude.Text
}
deriving (AcceptDomainTransferFromAnotherAwsAccount
-> AcceptDomainTransferFromAnotherAwsAccount -> Bool
(AcceptDomainTransferFromAnotherAwsAccount
-> AcceptDomainTransferFromAnotherAwsAccount -> Bool)
-> (AcceptDomainTransferFromAnotherAwsAccount
-> AcceptDomainTransferFromAnotherAwsAccount -> Bool)
-> Eq AcceptDomainTransferFromAnotherAwsAccount
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AcceptDomainTransferFromAnotherAwsAccount
-> AcceptDomainTransferFromAnotherAwsAccount -> Bool
$c/= :: AcceptDomainTransferFromAnotherAwsAccount
-> AcceptDomainTransferFromAnotherAwsAccount -> Bool
== :: AcceptDomainTransferFromAnotherAwsAccount
-> AcceptDomainTransferFromAnotherAwsAccount -> Bool
$c== :: AcceptDomainTransferFromAnotherAwsAccount
-> AcceptDomainTransferFromAnotherAwsAccount -> Bool
Prelude.Eq, ReadPrec [AcceptDomainTransferFromAnotherAwsAccount]
ReadPrec AcceptDomainTransferFromAnotherAwsAccount
Int -> ReadS AcceptDomainTransferFromAnotherAwsAccount
ReadS [AcceptDomainTransferFromAnotherAwsAccount]
(Int -> ReadS AcceptDomainTransferFromAnotherAwsAccount)
-> ReadS [AcceptDomainTransferFromAnotherAwsAccount]
-> ReadPrec AcceptDomainTransferFromAnotherAwsAccount
-> ReadPrec [AcceptDomainTransferFromAnotherAwsAccount]
-> Read AcceptDomainTransferFromAnotherAwsAccount
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AcceptDomainTransferFromAnotherAwsAccount]
$creadListPrec :: ReadPrec [AcceptDomainTransferFromAnotherAwsAccount]
readPrec :: ReadPrec AcceptDomainTransferFromAnotherAwsAccount
$creadPrec :: ReadPrec AcceptDomainTransferFromAnotherAwsAccount
readList :: ReadS [AcceptDomainTransferFromAnotherAwsAccount]
$creadList :: ReadS [AcceptDomainTransferFromAnotherAwsAccount]
readsPrec :: Int -> ReadS AcceptDomainTransferFromAnotherAwsAccount
$creadsPrec :: Int -> ReadS AcceptDomainTransferFromAnotherAwsAccount
Prelude.Read, Int -> AcceptDomainTransferFromAnotherAwsAccount -> ShowS
[AcceptDomainTransferFromAnotherAwsAccount] -> ShowS
AcceptDomainTransferFromAnotherAwsAccount -> String
(Int -> AcceptDomainTransferFromAnotherAwsAccount -> ShowS)
-> (AcceptDomainTransferFromAnotherAwsAccount -> String)
-> ([AcceptDomainTransferFromAnotherAwsAccount] -> ShowS)
-> Show AcceptDomainTransferFromAnotherAwsAccount
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AcceptDomainTransferFromAnotherAwsAccount] -> ShowS
$cshowList :: [AcceptDomainTransferFromAnotherAwsAccount] -> ShowS
show :: AcceptDomainTransferFromAnotherAwsAccount -> String
$cshow :: AcceptDomainTransferFromAnotherAwsAccount -> String
showsPrec :: Int -> AcceptDomainTransferFromAnotherAwsAccount -> ShowS
$cshowsPrec :: Int -> AcceptDomainTransferFromAnotherAwsAccount -> ShowS
Prelude.Show, (forall x.
AcceptDomainTransferFromAnotherAwsAccount
-> Rep AcceptDomainTransferFromAnotherAwsAccount x)
-> (forall x.
Rep AcceptDomainTransferFromAnotherAwsAccount x
-> AcceptDomainTransferFromAnotherAwsAccount)
-> Generic AcceptDomainTransferFromAnotherAwsAccount
forall x.
Rep AcceptDomainTransferFromAnotherAwsAccount x
-> AcceptDomainTransferFromAnotherAwsAccount
forall x.
AcceptDomainTransferFromAnotherAwsAccount
-> Rep AcceptDomainTransferFromAnotherAwsAccount x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AcceptDomainTransferFromAnotherAwsAccount x
-> AcceptDomainTransferFromAnotherAwsAccount
$cfrom :: forall x.
AcceptDomainTransferFromAnotherAwsAccount
-> Rep AcceptDomainTransferFromAnotherAwsAccount x
Prelude.Generic)
newAcceptDomainTransferFromAnotherAwsAccount ::
Prelude.Text ->
Prelude.Text ->
AcceptDomainTransferFromAnotherAwsAccount
newAcceptDomainTransferFromAnotherAwsAccount :: Text -> Text -> AcceptDomainTransferFromAnotherAwsAccount
newAcceptDomainTransferFromAnotherAwsAccount
Text
pDomainName_
Text
pPassword_ =
AcceptDomainTransferFromAnotherAwsAccount' :: Text -> Text -> AcceptDomainTransferFromAnotherAwsAccount
AcceptDomainTransferFromAnotherAwsAccount'
{ $sel:domainName:AcceptDomainTransferFromAnotherAwsAccount' :: Text
domainName =
Text
pDomainName_,
$sel:password:AcceptDomainTransferFromAnotherAwsAccount' :: Text
password = Text
pPassword_
}
acceptDomainTransferFromAnotherAwsAccount_domainName :: Lens.Lens' AcceptDomainTransferFromAnotherAwsAccount Prelude.Text
acceptDomainTransferFromAnotherAwsAccount_domainName :: (Text -> f Text)
-> AcceptDomainTransferFromAnotherAwsAccount
-> f AcceptDomainTransferFromAnotherAwsAccount
acceptDomainTransferFromAnotherAwsAccount_domainName = (AcceptDomainTransferFromAnotherAwsAccount -> Text)
-> (AcceptDomainTransferFromAnotherAwsAccount
-> Text -> AcceptDomainTransferFromAnotherAwsAccount)
-> Lens
AcceptDomainTransferFromAnotherAwsAccount
AcceptDomainTransferFromAnotherAwsAccount
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AcceptDomainTransferFromAnotherAwsAccount' {Text
domainName :: Text
$sel:domainName:AcceptDomainTransferFromAnotherAwsAccount' :: AcceptDomainTransferFromAnotherAwsAccount -> Text
domainName} -> Text
domainName) (\s :: AcceptDomainTransferFromAnotherAwsAccount
s@AcceptDomainTransferFromAnotherAwsAccount' {} Text
a -> AcceptDomainTransferFromAnotherAwsAccount
s {$sel:domainName:AcceptDomainTransferFromAnotherAwsAccount' :: Text
domainName = Text
a} :: AcceptDomainTransferFromAnotherAwsAccount)
acceptDomainTransferFromAnotherAwsAccount_password :: Lens.Lens' AcceptDomainTransferFromAnotherAwsAccount Prelude.Text
acceptDomainTransferFromAnotherAwsAccount_password :: (Text -> f Text)
-> AcceptDomainTransferFromAnotherAwsAccount
-> f AcceptDomainTransferFromAnotherAwsAccount
acceptDomainTransferFromAnotherAwsAccount_password = (AcceptDomainTransferFromAnotherAwsAccount -> Text)
-> (AcceptDomainTransferFromAnotherAwsAccount
-> Text -> AcceptDomainTransferFromAnotherAwsAccount)
-> Lens
AcceptDomainTransferFromAnotherAwsAccount
AcceptDomainTransferFromAnotherAwsAccount
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AcceptDomainTransferFromAnotherAwsAccount' {Text
password :: Text
$sel:password:AcceptDomainTransferFromAnotherAwsAccount' :: AcceptDomainTransferFromAnotherAwsAccount -> Text
password} -> Text
password) (\s :: AcceptDomainTransferFromAnotherAwsAccount
s@AcceptDomainTransferFromAnotherAwsAccount' {} Text
a -> AcceptDomainTransferFromAnotherAwsAccount
s {$sel:password:AcceptDomainTransferFromAnotherAwsAccount' :: Text
password = Text
a} :: AcceptDomainTransferFromAnotherAwsAccount)
instance
Core.AWSRequest
AcceptDomainTransferFromAnotherAwsAccount
where
type
AWSResponse
AcceptDomainTransferFromAnotherAwsAccount =
AcceptDomainTransferFromAnotherAwsAccountResponse
request :: AcceptDomainTransferFromAnotherAwsAccount
-> Request AcceptDomainTransferFromAnotherAwsAccount
request = Service
-> AcceptDomainTransferFromAnotherAwsAccount
-> Request AcceptDomainTransferFromAnotherAwsAccount
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy AcceptDomainTransferFromAnotherAwsAccount
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse AcceptDomainTransferFromAnotherAwsAccount)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String (AWSResponse AcceptDomainTransferFromAnotherAwsAccount))
-> Logger
-> Service
-> Proxy AcceptDomainTransferFromAnotherAwsAccount
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse AcceptDomainTransferFromAnotherAwsAccount)))
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
-> Int -> AcceptDomainTransferFromAnotherAwsAccountResponse
AcceptDomainTransferFromAnotherAwsAccountResponse'
(Maybe Text
-> Int -> AcceptDomainTransferFromAnotherAwsAccountResponse)
-> Either String (Maybe Text)
-> Either
String (Int -> AcceptDomainTransferFromAnotherAwsAccountResponse)
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
"OperationId")
Either
String (Int -> AcceptDomainTransferFromAnotherAwsAccountResponse)
-> Either String Int
-> Either String AcceptDomainTransferFromAnotherAwsAccountResponse
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
AcceptDomainTransferFromAnotherAwsAccount
instance
Prelude.NFData
AcceptDomainTransferFromAnotherAwsAccount
instance
Core.ToHeaders
AcceptDomainTransferFromAnotherAwsAccount
where
toHeaders :: AcceptDomainTransferFromAnotherAwsAccount -> ResponseHeaders
toHeaders =
ResponseHeaders
-> AcceptDomainTransferFromAnotherAwsAccount -> 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.AcceptDomainTransferFromAnotherAwsAccount" ::
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
AcceptDomainTransferFromAnotherAwsAccount
where
toJSON :: AcceptDomainTransferFromAnotherAwsAccount -> Value
toJSON AcceptDomainTransferFromAnotherAwsAccount' {Text
password :: Text
domainName :: Text
$sel:password:AcceptDomainTransferFromAnotherAwsAccount' :: AcceptDomainTransferFromAnotherAwsAccount -> Text
$sel:domainName:AcceptDomainTransferFromAnotherAwsAccount' :: AcceptDomainTransferFromAnotherAwsAccount -> 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
"Password" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
password)
]
)
instance
Core.ToPath
AcceptDomainTransferFromAnotherAwsAccount
where
toPath :: AcceptDomainTransferFromAnotherAwsAccount -> ByteString
toPath = ByteString
-> AcceptDomainTransferFromAnotherAwsAccount -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
AcceptDomainTransferFromAnotherAwsAccount
where
toQuery :: AcceptDomainTransferFromAnotherAwsAccount -> QueryString
toQuery = QueryString
-> AcceptDomainTransferFromAnotherAwsAccount -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data AcceptDomainTransferFromAnotherAwsAccountResponse = AcceptDomainTransferFromAnotherAwsAccountResponse'
{
AcceptDomainTransferFromAnotherAwsAccountResponse -> Maybe Text
operationId :: Prelude.Maybe Prelude.Text,
AcceptDomainTransferFromAnotherAwsAccountResponse -> Int
httpStatus :: Prelude.Int
}
deriving (AcceptDomainTransferFromAnotherAwsAccountResponse
-> AcceptDomainTransferFromAnotherAwsAccountResponse -> Bool
(AcceptDomainTransferFromAnotherAwsAccountResponse
-> AcceptDomainTransferFromAnotherAwsAccountResponse -> Bool)
-> (AcceptDomainTransferFromAnotherAwsAccountResponse
-> AcceptDomainTransferFromAnotherAwsAccountResponse -> Bool)
-> Eq AcceptDomainTransferFromAnotherAwsAccountResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AcceptDomainTransferFromAnotherAwsAccountResponse
-> AcceptDomainTransferFromAnotherAwsAccountResponse -> Bool
$c/= :: AcceptDomainTransferFromAnotherAwsAccountResponse
-> AcceptDomainTransferFromAnotherAwsAccountResponse -> Bool
== :: AcceptDomainTransferFromAnotherAwsAccountResponse
-> AcceptDomainTransferFromAnotherAwsAccountResponse -> Bool
$c== :: AcceptDomainTransferFromAnotherAwsAccountResponse
-> AcceptDomainTransferFromAnotherAwsAccountResponse -> Bool
Prelude.Eq, ReadPrec [AcceptDomainTransferFromAnotherAwsAccountResponse]
ReadPrec AcceptDomainTransferFromAnotherAwsAccountResponse
Int -> ReadS AcceptDomainTransferFromAnotherAwsAccountResponse
ReadS [AcceptDomainTransferFromAnotherAwsAccountResponse]
(Int -> ReadS AcceptDomainTransferFromAnotherAwsAccountResponse)
-> ReadS [AcceptDomainTransferFromAnotherAwsAccountResponse]
-> ReadPrec AcceptDomainTransferFromAnotherAwsAccountResponse
-> ReadPrec [AcceptDomainTransferFromAnotherAwsAccountResponse]
-> Read AcceptDomainTransferFromAnotherAwsAccountResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AcceptDomainTransferFromAnotherAwsAccountResponse]
$creadListPrec :: ReadPrec [AcceptDomainTransferFromAnotherAwsAccountResponse]
readPrec :: ReadPrec AcceptDomainTransferFromAnotherAwsAccountResponse
$creadPrec :: ReadPrec AcceptDomainTransferFromAnotherAwsAccountResponse
readList :: ReadS [AcceptDomainTransferFromAnotherAwsAccountResponse]
$creadList :: ReadS [AcceptDomainTransferFromAnotherAwsAccountResponse]
readsPrec :: Int -> ReadS AcceptDomainTransferFromAnotherAwsAccountResponse
$creadsPrec :: Int -> ReadS AcceptDomainTransferFromAnotherAwsAccountResponse
Prelude.Read, Int -> AcceptDomainTransferFromAnotherAwsAccountResponse -> ShowS
[AcceptDomainTransferFromAnotherAwsAccountResponse] -> ShowS
AcceptDomainTransferFromAnotherAwsAccountResponse -> String
(Int -> AcceptDomainTransferFromAnotherAwsAccountResponse -> ShowS)
-> (AcceptDomainTransferFromAnotherAwsAccountResponse -> String)
-> ([AcceptDomainTransferFromAnotherAwsAccountResponse] -> ShowS)
-> Show AcceptDomainTransferFromAnotherAwsAccountResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AcceptDomainTransferFromAnotherAwsAccountResponse] -> ShowS
$cshowList :: [AcceptDomainTransferFromAnotherAwsAccountResponse] -> ShowS
show :: AcceptDomainTransferFromAnotherAwsAccountResponse -> String
$cshow :: AcceptDomainTransferFromAnotherAwsAccountResponse -> String
showsPrec :: Int -> AcceptDomainTransferFromAnotherAwsAccountResponse -> ShowS
$cshowsPrec :: Int -> AcceptDomainTransferFromAnotherAwsAccountResponse -> ShowS
Prelude.Show, (forall x.
AcceptDomainTransferFromAnotherAwsAccountResponse
-> Rep AcceptDomainTransferFromAnotherAwsAccountResponse x)
-> (forall x.
Rep AcceptDomainTransferFromAnotherAwsAccountResponse x
-> AcceptDomainTransferFromAnotherAwsAccountResponse)
-> Generic AcceptDomainTransferFromAnotherAwsAccountResponse
forall x.
Rep AcceptDomainTransferFromAnotherAwsAccountResponse x
-> AcceptDomainTransferFromAnotherAwsAccountResponse
forall x.
AcceptDomainTransferFromAnotherAwsAccountResponse
-> Rep AcceptDomainTransferFromAnotherAwsAccountResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AcceptDomainTransferFromAnotherAwsAccountResponse x
-> AcceptDomainTransferFromAnotherAwsAccountResponse
$cfrom :: forall x.
AcceptDomainTransferFromAnotherAwsAccountResponse
-> Rep AcceptDomainTransferFromAnotherAwsAccountResponse x
Prelude.Generic)
newAcceptDomainTransferFromAnotherAwsAccountResponse ::
Prelude.Int ->
AcceptDomainTransferFromAnotherAwsAccountResponse
newAcceptDomainTransferFromAnotherAwsAccountResponse :: Int -> AcceptDomainTransferFromAnotherAwsAccountResponse
newAcceptDomainTransferFromAnotherAwsAccountResponse
Int
pHttpStatus_ =
AcceptDomainTransferFromAnotherAwsAccountResponse' :: Maybe Text
-> Int -> AcceptDomainTransferFromAnotherAwsAccountResponse
AcceptDomainTransferFromAnotherAwsAccountResponse'
{ $sel:operationId:AcceptDomainTransferFromAnotherAwsAccountResponse' :: Maybe Text
operationId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:AcceptDomainTransferFromAnotherAwsAccountResponse' :: Int
httpStatus =
Int
pHttpStatus_
}
acceptDomainTransferFromAnotherAwsAccountResponse_operationId :: Lens.Lens' AcceptDomainTransferFromAnotherAwsAccountResponse (Prelude.Maybe Prelude.Text)
acceptDomainTransferFromAnotherAwsAccountResponse_operationId :: (Maybe Text -> f (Maybe Text))
-> AcceptDomainTransferFromAnotherAwsAccountResponse
-> f AcceptDomainTransferFromAnotherAwsAccountResponse
acceptDomainTransferFromAnotherAwsAccountResponse_operationId = (AcceptDomainTransferFromAnotherAwsAccountResponse -> Maybe Text)
-> (AcceptDomainTransferFromAnotherAwsAccountResponse
-> Maybe Text -> AcceptDomainTransferFromAnotherAwsAccountResponse)
-> Lens
AcceptDomainTransferFromAnotherAwsAccountResponse
AcceptDomainTransferFromAnotherAwsAccountResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AcceptDomainTransferFromAnotherAwsAccountResponse' {Maybe Text
operationId :: Maybe Text
$sel:operationId:AcceptDomainTransferFromAnotherAwsAccountResponse' :: AcceptDomainTransferFromAnotherAwsAccountResponse -> Maybe Text
operationId} -> Maybe Text
operationId) (\s :: AcceptDomainTransferFromAnotherAwsAccountResponse
s@AcceptDomainTransferFromAnotherAwsAccountResponse' {} Maybe Text
a -> AcceptDomainTransferFromAnotherAwsAccountResponse
s {$sel:operationId:AcceptDomainTransferFromAnotherAwsAccountResponse' :: Maybe Text
operationId = Maybe Text
a} :: AcceptDomainTransferFromAnotherAwsAccountResponse)
acceptDomainTransferFromAnotherAwsAccountResponse_httpStatus :: Lens.Lens' AcceptDomainTransferFromAnotherAwsAccountResponse Prelude.Int
acceptDomainTransferFromAnotherAwsAccountResponse_httpStatus :: (Int -> f Int)
-> AcceptDomainTransferFromAnotherAwsAccountResponse
-> f AcceptDomainTransferFromAnotherAwsAccountResponse
acceptDomainTransferFromAnotherAwsAccountResponse_httpStatus = (AcceptDomainTransferFromAnotherAwsAccountResponse -> Int)
-> (AcceptDomainTransferFromAnotherAwsAccountResponse
-> Int -> AcceptDomainTransferFromAnotherAwsAccountResponse)
-> Lens
AcceptDomainTransferFromAnotherAwsAccountResponse
AcceptDomainTransferFromAnotherAwsAccountResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AcceptDomainTransferFromAnotherAwsAccountResponse' {Int
httpStatus :: Int
$sel:httpStatus:AcceptDomainTransferFromAnotherAwsAccountResponse' :: AcceptDomainTransferFromAnotherAwsAccountResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: AcceptDomainTransferFromAnotherAwsAccountResponse
s@AcceptDomainTransferFromAnotherAwsAccountResponse' {} Int
a -> AcceptDomainTransferFromAnotherAwsAccountResponse
s {$sel:httpStatus:AcceptDomainTransferFromAnotherAwsAccountResponse' :: Int
httpStatus = Int
a} :: AcceptDomainTransferFromAnotherAwsAccountResponse)
instance
Prelude.NFData
AcceptDomainTransferFromAnotherAwsAccountResponse