{-# 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.APIGateway.GetDomainNames
(
GetDomainNames (..),
newGetDomainNames,
getDomainNames_limit,
getDomainNames_position,
GetDomainNamesResponse (..),
newGetDomainNamesResponse,
getDomainNamesResponse_items,
getDomainNamesResponse_position,
getDomainNamesResponse_httpStatus,
)
where
import Amazonka.APIGateway.Types
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
data GetDomainNames = GetDomainNames'
{
GetDomainNames -> Maybe Int
limit :: Prelude.Maybe Prelude.Int,
GetDomainNames -> Maybe Text
position :: Prelude.Maybe Prelude.Text
}
deriving (GetDomainNames -> GetDomainNames -> Bool
(GetDomainNames -> GetDomainNames -> Bool)
-> (GetDomainNames -> GetDomainNames -> Bool) -> Eq GetDomainNames
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetDomainNames -> GetDomainNames -> Bool
$c/= :: GetDomainNames -> GetDomainNames -> Bool
== :: GetDomainNames -> GetDomainNames -> Bool
$c== :: GetDomainNames -> GetDomainNames -> Bool
Prelude.Eq, ReadPrec [GetDomainNames]
ReadPrec GetDomainNames
Int -> ReadS GetDomainNames
ReadS [GetDomainNames]
(Int -> ReadS GetDomainNames)
-> ReadS [GetDomainNames]
-> ReadPrec GetDomainNames
-> ReadPrec [GetDomainNames]
-> Read GetDomainNames
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetDomainNames]
$creadListPrec :: ReadPrec [GetDomainNames]
readPrec :: ReadPrec GetDomainNames
$creadPrec :: ReadPrec GetDomainNames
readList :: ReadS [GetDomainNames]
$creadList :: ReadS [GetDomainNames]
readsPrec :: Int -> ReadS GetDomainNames
$creadsPrec :: Int -> ReadS GetDomainNames
Prelude.Read, Int -> GetDomainNames -> ShowS
[GetDomainNames] -> ShowS
GetDomainNames -> String
(Int -> GetDomainNames -> ShowS)
-> (GetDomainNames -> String)
-> ([GetDomainNames] -> ShowS)
-> Show GetDomainNames
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetDomainNames] -> ShowS
$cshowList :: [GetDomainNames] -> ShowS
show :: GetDomainNames -> String
$cshow :: GetDomainNames -> String
showsPrec :: Int -> GetDomainNames -> ShowS
$cshowsPrec :: Int -> GetDomainNames -> ShowS
Prelude.Show, (forall x. GetDomainNames -> Rep GetDomainNames x)
-> (forall x. Rep GetDomainNames x -> GetDomainNames)
-> Generic GetDomainNames
forall x. Rep GetDomainNames x -> GetDomainNames
forall x. GetDomainNames -> Rep GetDomainNames x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetDomainNames x -> GetDomainNames
$cfrom :: forall x. GetDomainNames -> Rep GetDomainNames x
Prelude.Generic)
newGetDomainNames ::
GetDomainNames
newGetDomainNames :: GetDomainNames
newGetDomainNames =
GetDomainNames' :: Maybe Int -> Maybe Text -> GetDomainNames
GetDomainNames'
{ $sel:limit:GetDomainNames' :: Maybe Int
limit = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:position:GetDomainNames' :: Maybe Text
position = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
getDomainNames_limit :: Lens.Lens' GetDomainNames (Prelude.Maybe Prelude.Int)
getDomainNames_limit :: (Maybe Int -> f (Maybe Int)) -> GetDomainNames -> f GetDomainNames
getDomainNames_limit = (GetDomainNames -> Maybe Int)
-> (GetDomainNames -> Maybe Int -> GetDomainNames)
-> Lens GetDomainNames GetDomainNames (Maybe Int) (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDomainNames' {Maybe Int
limit :: Maybe Int
$sel:limit:GetDomainNames' :: GetDomainNames -> Maybe Int
limit} -> Maybe Int
limit) (\s :: GetDomainNames
s@GetDomainNames' {} Maybe Int
a -> GetDomainNames
s {$sel:limit:GetDomainNames' :: Maybe Int
limit = Maybe Int
a} :: GetDomainNames)
getDomainNames_position :: Lens.Lens' GetDomainNames (Prelude.Maybe Prelude.Text)
getDomainNames_position :: (Maybe Text -> f (Maybe Text))
-> GetDomainNames -> f GetDomainNames
getDomainNames_position = (GetDomainNames -> Maybe Text)
-> (GetDomainNames -> Maybe Text -> GetDomainNames)
-> Lens GetDomainNames GetDomainNames (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDomainNames' {Maybe Text
position :: Maybe Text
$sel:position:GetDomainNames' :: GetDomainNames -> Maybe Text
position} -> Maybe Text
position) (\s :: GetDomainNames
s@GetDomainNames' {} Maybe Text
a -> GetDomainNames
s {$sel:position:GetDomainNames' :: Maybe Text
position = Maybe Text
a} :: GetDomainNames)
instance Core.AWSPager GetDomainNames where
page :: GetDomainNames
-> AWSResponse GetDomainNames -> Maybe GetDomainNames
page GetDomainNames
rq AWSResponse GetDomainNames
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse GetDomainNames
GetDomainNamesResponse
rs
GetDomainNamesResponse
-> Getting (First Text) GetDomainNamesResponse Text -> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> GetDomainNamesResponse
-> Const (First Text) GetDomainNamesResponse
Lens' GetDomainNamesResponse (Maybe Text)
getDomainNamesResponse_position ((Maybe Text -> Const (First Text) (Maybe Text))
-> GetDomainNamesResponse
-> Const (First Text) GetDomainNamesResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) GetDomainNamesResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe GetDomainNames
forall a. Maybe a
Prelude.Nothing
| Maybe [DomainName] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse GetDomainNames
GetDomainNamesResponse
rs
GetDomainNamesResponse
-> Getting (First [DomainName]) GetDomainNamesResponse [DomainName]
-> Maybe [DomainName]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [DomainName]
-> Const (First [DomainName]) (Maybe [DomainName]))
-> GetDomainNamesResponse
-> Const (First [DomainName]) GetDomainNamesResponse
Lens' GetDomainNamesResponse (Maybe [DomainName])
getDomainNamesResponse_items ((Maybe [DomainName]
-> Const (First [DomainName]) (Maybe [DomainName]))
-> GetDomainNamesResponse
-> Const (First [DomainName]) GetDomainNamesResponse)
-> (([DomainName] -> Const (First [DomainName]) [DomainName])
-> Maybe [DomainName]
-> Const (First [DomainName]) (Maybe [DomainName]))
-> Getting (First [DomainName]) GetDomainNamesResponse [DomainName]
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([DomainName] -> Const (First [DomainName]) [DomainName])
-> Maybe [DomainName]
-> Const (First [DomainName]) (Maybe [DomainName])
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe GetDomainNames
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
GetDomainNames -> Maybe GetDomainNames
forall a. a -> Maybe a
Prelude.Just (GetDomainNames -> Maybe GetDomainNames)
-> GetDomainNames -> Maybe GetDomainNames
forall a b. (a -> b) -> a -> b
Prelude.$
GetDomainNames
rq
GetDomainNames
-> (GetDomainNames -> GetDomainNames) -> GetDomainNames
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> GetDomainNames -> Identity GetDomainNames
Lens GetDomainNames GetDomainNames (Maybe Text) (Maybe Text)
getDomainNames_position
((Maybe Text -> Identity (Maybe Text))
-> GetDomainNames -> Identity GetDomainNames)
-> Maybe Text -> GetDomainNames -> GetDomainNames
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse GetDomainNames
GetDomainNamesResponse
rs
GetDomainNamesResponse
-> Getting (First Text) GetDomainNamesResponse Text -> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> GetDomainNamesResponse
-> Const (First Text) GetDomainNamesResponse
Lens' GetDomainNamesResponse (Maybe Text)
getDomainNamesResponse_position ((Maybe Text -> Const (First Text) (Maybe Text))
-> GetDomainNamesResponse
-> Const (First Text) GetDomainNamesResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) GetDomainNamesResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest GetDomainNames where
type
AWSResponse GetDomainNames =
GetDomainNamesResponse
request :: GetDomainNames -> Request GetDomainNames
request = Service -> GetDomainNames -> Request GetDomainNames
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy GetDomainNames
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse GetDomainNames)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse GetDomainNames))
-> Logger
-> Service
-> Proxy GetDomainNames
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse GetDomainNames)))
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 [DomainName] -> Maybe Text -> Int -> GetDomainNamesResponse
GetDomainNamesResponse'
(Maybe [DomainName] -> Maybe Text -> Int -> GetDomainNamesResponse)
-> Either String (Maybe [DomainName])
-> Either String (Maybe Text -> Int -> GetDomainNamesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [DomainName]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"item" Either String (Maybe (Maybe [DomainName]))
-> Maybe [DomainName] -> Either String (Maybe [DomainName])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [DomainName]
forall a. Monoid a => a
Prelude.mempty)
Either String (Maybe Text -> Int -> GetDomainNamesResponse)
-> Either String (Maybe Text)
-> Either String (Int -> GetDomainNamesResponse)
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
"position")
Either String (Int -> GetDomainNamesResponse)
-> Either String Int -> Either String GetDomainNamesResponse
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 GetDomainNames
instance Prelude.NFData GetDomainNames
instance Core.ToHeaders GetDomainNames where
toHeaders :: GetDomainNames -> ResponseHeaders
toHeaders =
ResponseHeaders -> GetDomainNames -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Accept"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# (ByteString
"application/json" :: Prelude.ByteString)
]
)
instance Core.ToPath GetDomainNames where
toPath :: GetDomainNames -> ByteString
toPath = ByteString -> GetDomainNames -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/domainnames"
instance Core.ToQuery GetDomainNames where
toQuery :: GetDomainNames -> QueryString
toQuery GetDomainNames' {Maybe Int
Maybe Text
position :: Maybe Text
limit :: Maybe Int
$sel:position:GetDomainNames' :: GetDomainNames -> Maybe Text
$sel:limit:GetDomainNames' :: GetDomainNames -> Maybe Int
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"limit" ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
limit, ByteString
"position" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
position]
data GetDomainNamesResponse = GetDomainNamesResponse'
{
GetDomainNamesResponse -> Maybe [DomainName]
items :: Prelude.Maybe [DomainName],
GetDomainNamesResponse -> Maybe Text
position :: Prelude.Maybe Prelude.Text,
GetDomainNamesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetDomainNamesResponse -> GetDomainNamesResponse -> Bool
(GetDomainNamesResponse -> GetDomainNamesResponse -> Bool)
-> (GetDomainNamesResponse -> GetDomainNamesResponse -> Bool)
-> Eq GetDomainNamesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetDomainNamesResponse -> GetDomainNamesResponse -> Bool
$c/= :: GetDomainNamesResponse -> GetDomainNamesResponse -> Bool
== :: GetDomainNamesResponse -> GetDomainNamesResponse -> Bool
$c== :: GetDomainNamesResponse -> GetDomainNamesResponse -> Bool
Prelude.Eq, ReadPrec [GetDomainNamesResponse]
ReadPrec GetDomainNamesResponse
Int -> ReadS GetDomainNamesResponse
ReadS [GetDomainNamesResponse]
(Int -> ReadS GetDomainNamesResponse)
-> ReadS [GetDomainNamesResponse]
-> ReadPrec GetDomainNamesResponse
-> ReadPrec [GetDomainNamesResponse]
-> Read GetDomainNamesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetDomainNamesResponse]
$creadListPrec :: ReadPrec [GetDomainNamesResponse]
readPrec :: ReadPrec GetDomainNamesResponse
$creadPrec :: ReadPrec GetDomainNamesResponse
readList :: ReadS [GetDomainNamesResponse]
$creadList :: ReadS [GetDomainNamesResponse]
readsPrec :: Int -> ReadS GetDomainNamesResponse
$creadsPrec :: Int -> ReadS GetDomainNamesResponse
Prelude.Read, Int -> GetDomainNamesResponse -> ShowS
[GetDomainNamesResponse] -> ShowS
GetDomainNamesResponse -> String
(Int -> GetDomainNamesResponse -> ShowS)
-> (GetDomainNamesResponse -> String)
-> ([GetDomainNamesResponse] -> ShowS)
-> Show GetDomainNamesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetDomainNamesResponse] -> ShowS
$cshowList :: [GetDomainNamesResponse] -> ShowS
show :: GetDomainNamesResponse -> String
$cshow :: GetDomainNamesResponse -> String
showsPrec :: Int -> GetDomainNamesResponse -> ShowS
$cshowsPrec :: Int -> GetDomainNamesResponse -> ShowS
Prelude.Show, (forall x. GetDomainNamesResponse -> Rep GetDomainNamesResponse x)
-> (forall x.
Rep GetDomainNamesResponse x -> GetDomainNamesResponse)
-> Generic GetDomainNamesResponse
forall x. Rep GetDomainNamesResponse x -> GetDomainNamesResponse
forall x. GetDomainNamesResponse -> Rep GetDomainNamesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetDomainNamesResponse x -> GetDomainNamesResponse
$cfrom :: forall x. GetDomainNamesResponse -> Rep GetDomainNamesResponse x
Prelude.Generic)
newGetDomainNamesResponse ::
Prelude.Int ->
GetDomainNamesResponse
newGetDomainNamesResponse :: Int -> GetDomainNamesResponse
newGetDomainNamesResponse Int
pHttpStatus_ =
GetDomainNamesResponse' :: Maybe [DomainName] -> Maybe Text -> Int -> GetDomainNamesResponse
GetDomainNamesResponse'
{ $sel:items:GetDomainNamesResponse' :: Maybe [DomainName]
items = Maybe [DomainName]
forall a. Maybe a
Prelude.Nothing,
$sel:position:GetDomainNamesResponse' :: Maybe Text
position = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetDomainNamesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getDomainNamesResponse_items :: Lens.Lens' GetDomainNamesResponse (Prelude.Maybe [DomainName])
getDomainNamesResponse_items :: (Maybe [DomainName] -> f (Maybe [DomainName]))
-> GetDomainNamesResponse -> f GetDomainNamesResponse
getDomainNamesResponse_items = (GetDomainNamesResponse -> Maybe [DomainName])
-> (GetDomainNamesResponse
-> Maybe [DomainName] -> GetDomainNamesResponse)
-> Lens' GetDomainNamesResponse (Maybe [DomainName])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDomainNamesResponse' {Maybe [DomainName]
items :: Maybe [DomainName]
$sel:items:GetDomainNamesResponse' :: GetDomainNamesResponse -> Maybe [DomainName]
items} -> Maybe [DomainName]
items) (\s :: GetDomainNamesResponse
s@GetDomainNamesResponse' {} Maybe [DomainName]
a -> GetDomainNamesResponse
s {$sel:items:GetDomainNamesResponse' :: Maybe [DomainName]
items = Maybe [DomainName]
a} :: GetDomainNamesResponse) ((Maybe [DomainName] -> f (Maybe [DomainName]))
-> GetDomainNamesResponse -> f GetDomainNamesResponse)
-> ((Maybe [DomainName] -> f (Maybe [DomainName]))
-> Maybe [DomainName] -> f (Maybe [DomainName]))
-> (Maybe [DomainName] -> f (Maybe [DomainName]))
-> GetDomainNamesResponse
-> f GetDomainNamesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [DomainName] [DomainName] [DomainName] [DomainName]
-> Iso
(Maybe [DomainName])
(Maybe [DomainName])
(Maybe [DomainName])
(Maybe [DomainName])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [DomainName] [DomainName] [DomainName] [DomainName]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
getDomainNamesResponse_position :: Lens.Lens' GetDomainNamesResponse (Prelude.Maybe Prelude.Text)
getDomainNamesResponse_position :: (Maybe Text -> f (Maybe Text))
-> GetDomainNamesResponse -> f GetDomainNamesResponse
getDomainNamesResponse_position = (GetDomainNamesResponse -> Maybe Text)
-> (GetDomainNamesResponse -> Maybe Text -> GetDomainNamesResponse)
-> Lens' GetDomainNamesResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDomainNamesResponse' {Maybe Text
position :: Maybe Text
$sel:position:GetDomainNamesResponse' :: GetDomainNamesResponse -> Maybe Text
position} -> Maybe Text
position) (\s :: GetDomainNamesResponse
s@GetDomainNamesResponse' {} Maybe Text
a -> GetDomainNamesResponse
s {$sel:position:GetDomainNamesResponse' :: Maybe Text
position = Maybe Text
a} :: GetDomainNamesResponse)
getDomainNamesResponse_httpStatus :: Lens.Lens' GetDomainNamesResponse Prelude.Int
getDomainNamesResponse_httpStatus :: (Int -> f Int)
-> GetDomainNamesResponse -> f GetDomainNamesResponse
getDomainNamesResponse_httpStatus = (GetDomainNamesResponse -> Int)
-> (GetDomainNamesResponse -> Int -> GetDomainNamesResponse)
-> Lens GetDomainNamesResponse GetDomainNamesResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetDomainNamesResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetDomainNamesResponse' :: GetDomainNamesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetDomainNamesResponse
s@GetDomainNamesResponse' {} Int
a -> GetDomainNamesResponse
s {$sel:httpStatus:GetDomainNamesResponse' :: Int
httpStatus = Int
a} :: GetDomainNamesResponse)
instance Prelude.NFData GetDomainNamesResponse