{-# 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.SageMaker.DescribeDomain
(
DescribeDomain (..),
newDescribeDomain,
describeDomain_domainId,
DescribeDomainResponse (..),
newDescribeDomainResponse,
describeDomainResponse_creationTime,
describeDomainResponse_status,
describeDomainResponse_failureReason,
describeDomainResponse_defaultUserSettings,
describeDomainResponse_subnetIds,
describeDomainResponse_domainArn,
describeDomainResponse_vpcId,
describeDomainResponse_url,
describeDomainResponse_authMode,
describeDomainResponse_homeEfsFileSystemKmsKeyId,
describeDomainResponse_singleSignOnManagedApplicationInstanceId,
describeDomainResponse_lastModifiedTime,
describeDomainResponse_homeEfsFileSystemId,
describeDomainResponse_kmsKeyId,
describeDomainResponse_domainName,
describeDomainResponse_domainId,
describeDomainResponse_appNetworkAccessType,
describeDomainResponse_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.SageMaker.Types
data DescribeDomain = DescribeDomain'
{
DescribeDomain -> Text
domainId :: Prelude.Text
}
deriving (DescribeDomain -> DescribeDomain -> Bool
(DescribeDomain -> DescribeDomain -> Bool)
-> (DescribeDomain -> DescribeDomain -> Bool) -> Eq DescribeDomain
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeDomain -> DescribeDomain -> Bool
$c/= :: DescribeDomain -> DescribeDomain -> Bool
== :: DescribeDomain -> DescribeDomain -> Bool
$c== :: DescribeDomain -> DescribeDomain -> Bool
Prelude.Eq, ReadPrec [DescribeDomain]
ReadPrec DescribeDomain
Int -> ReadS DescribeDomain
ReadS [DescribeDomain]
(Int -> ReadS DescribeDomain)
-> ReadS [DescribeDomain]
-> ReadPrec DescribeDomain
-> ReadPrec [DescribeDomain]
-> Read DescribeDomain
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeDomain]
$creadListPrec :: ReadPrec [DescribeDomain]
readPrec :: ReadPrec DescribeDomain
$creadPrec :: ReadPrec DescribeDomain
readList :: ReadS [DescribeDomain]
$creadList :: ReadS [DescribeDomain]
readsPrec :: Int -> ReadS DescribeDomain
$creadsPrec :: Int -> ReadS DescribeDomain
Prelude.Read, Int -> DescribeDomain -> ShowS
[DescribeDomain] -> ShowS
DescribeDomain -> String
(Int -> DescribeDomain -> ShowS)
-> (DescribeDomain -> String)
-> ([DescribeDomain] -> ShowS)
-> Show DescribeDomain
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeDomain] -> ShowS
$cshowList :: [DescribeDomain] -> ShowS
show :: DescribeDomain -> String
$cshow :: DescribeDomain -> String
showsPrec :: Int -> DescribeDomain -> ShowS
$cshowsPrec :: Int -> DescribeDomain -> ShowS
Prelude.Show, (forall x. DescribeDomain -> Rep DescribeDomain x)
-> (forall x. Rep DescribeDomain x -> DescribeDomain)
-> Generic DescribeDomain
forall x. Rep DescribeDomain x -> DescribeDomain
forall x. DescribeDomain -> Rep DescribeDomain x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeDomain x -> DescribeDomain
$cfrom :: forall x. DescribeDomain -> Rep DescribeDomain x
Prelude.Generic)
newDescribeDomain ::
Prelude.Text ->
DescribeDomain
newDescribeDomain :: Text -> DescribeDomain
newDescribeDomain Text
pDomainId_ =
DescribeDomain' :: Text -> DescribeDomain
DescribeDomain' {$sel:domainId:DescribeDomain' :: Text
domainId = Text
pDomainId_}
describeDomain_domainId :: Lens.Lens' DescribeDomain Prelude.Text
describeDomain_domainId :: (Text -> f Text) -> DescribeDomain -> f DescribeDomain
describeDomain_domainId = (DescribeDomain -> Text)
-> (DescribeDomain -> Text -> DescribeDomain)
-> Lens DescribeDomain DescribeDomain Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomain' {Text
domainId :: Text
$sel:domainId:DescribeDomain' :: DescribeDomain -> Text
domainId} -> Text
domainId) (\s :: DescribeDomain
s@DescribeDomain' {} Text
a -> DescribeDomain
s {$sel:domainId:DescribeDomain' :: Text
domainId = Text
a} :: DescribeDomain)
instance Core.AWSRequest DescribeDomain where
type
AWSResponse DescribeDomain =
DescribeDomainResponse
request :: DescribeDomain -> Request DescribeDomain
request = Service -> DescribeDomain -> Request DescribeDomain
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeDomain
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeDomain)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeDomain))
-> Logger
-> Service
-> Proxy DescribeDomain
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeDomain)))
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 POSIX
-> Maybe DomainStatus
-> Maybe Text
-> Maybe UserSettings
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse
DescribeDomainResponse'
(Maybe POSIX
-> Maybe DomainStatus
-> Maybe Text
-> Maybe UserSettings
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe DomainStatus
-> Maybe Text
-> Maybe UserSettings
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"CreationTime")
Either
String
(Maybe DomainStatus
-> Maybe Text
-> Maybe UserSettings
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe DomainStatus)
-> Either
String
(Maybe Text
-> Maybe UserSettings
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe DomainStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Status")
Either
String
(Maybe Text
-> Maybe UserSettings
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe UserSettings
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
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
"FailureReason")
Either
String
(Maybe UserSettings
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe UserSettings)
-> Either
String
(Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe UserSettings)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"DefaultUserSettings")
Either
String
(Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe (NonEmpty Text))
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (NonEmpty Text))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"SubnetIds")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
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
"DomainArn")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
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
"VpcId")
Either
String
(Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
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
"Url")
Either
String
(Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe AuthMode)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe AuthMode)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"AuthMode")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
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
"HomeEfsFileSystemKmsKeyId")
Either
String
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
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
"SingleSignOnManagedApplicationInstanceId"
)
Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"LastModifiedTime")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
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
"HomeEfsFileSystemId")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
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
"KmsKeyId")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe AppNetworkAccessType -> Int -> DescribeDomainResponse)
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
"DomainName")
Either
String
(Maybe Text
-> Maybe AppNetworkAccessType -> Int -> DescribeDomainResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe AppNetworkAccessType -> Int -> DescribeDomainResponse)
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
"DomainId")
Either
String
(Maybe AppNetworkAccessType -> Int -> DescribeDomainResponse)
-> Either String (Maybe AppNetworkAccessType)
-> Either String (Int -> DescribeDomainResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe AppNetworkAccessType)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"AppNetworkAccessType")
Either String (Int -> DescribeDomainResponse)
-> Either String Int -> Either String DescribeDomainResponse
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 DescribeDomain
instance Prelude.NFData DescribeDomain
instance Core.ToHeaders DescribeDomain where
toHeaders :: DescribeDomain -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeDomain -> 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
"SageMaker.DescribeDomain" :: 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 DescribeDomain where
toJSON :: DescribeDomain -> Value
toJSON DescribeDomain' {Text
domainId :: Text
$sel:domainId:DescribeDomain' :: DescribeDomain -> 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
"DomainId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
domainId)]
)
instance Core.ToPath DescribeDomain where
toPath :: DescribeDomain -> ByteString
toPath = ByteString -> DescribeDomain -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeDomain where
toQuery :: DescribeDomain -> QueryString
toQuery = QueryString -> DescribeDomain -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeDomainResponse = DescribeDomainResponse'
{
DescribeDomainResponse -> Maybe POSIX
creationTime :: Prelude.Maybe Core.POSIX,
DescribeDomainResponse -> Maybe DomainStatus
status :: Prelude.Maybe DomainStatus,
DescribeDomainResponse -> Maybe Text
failureReason :: Prelude.Maybe Prelude.Text,
DescribeDomainResponse -> Maybe UserSettings
defaultUserSettings :: Prelude.Maybe UserSettings,
DescribeDomainResponse -> Maybe (NonEmpty Text)
subnetIds :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),
DescribeDomainResponse -> Maybe Text
domainArn :: Prelude.Maybe Prelude.Text,
DescribeDomainResponse -> Maybe Text
vpcId :: Prelude.Maybe Prelude.Text,
DescribeDomainResponse -> Maybe Text
url :: Prelude.Maybe Prelude.Text,
DescribeDomainResponse -> Maybe AuthMode
authMode :: Prelude.Maybe AuthMode,
DescribeDomainResponse -> Maybe Text
homeEfsFileSystemKmsKeyId :: Prelude.Maybe Prelude.Text,
DescribeDomainResponse -> Maybe Text
singleSignOnManagedApplicationInstanceId :: Prelude.Maybe Prelude.Text,
DescribeDomainResponse -> Maybe POSIX
lastModifiedTime :: Prelude.Maybe Core.POSIX,
DescribeDomainResponse -> Maybe Text
homeEfsFileSystemId :: Prelude.Maybe Prelude.Text,
DescribeDomainResponse -> Maybe Text
kmsKeyId :: Prelude.Maybe Prelude.Text,
DescribeDomainResponse -> Maybe Text
domainName :: Prelude.Maybe Prelude.Text,
DescribeDomainResponse -> Maybe Text
domainId :: Prelude.Maybe Prelude.Text,
DescribeDomainResponse -> Maybe AppNetworkAccessType
appNetworkAccessType :: Prelude.Maybe AppNetworkAccessType,
DescribeDomainResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeDomainResponse -> DescribeDomainResponse -> Bool
(DescribeDomainResponse -> DescribeDomainResponse -> Bool)
-> (DescribeDomainResponse -> DescribeDomainResponse -> Bool)
-> Eq DescribeDomainResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeDomainResponse -> DescribeDomainResponse -> Bool
$c/= :: DescribeDomainResponse -> DescribeDomainResponse -> Bool
== :: DescribeDomainResponse -> DescribeDomainResponse -> Bool
$c== :: DescribeDomainResponse -> DescribeDomainResponse -> Bool
Prelude.Eq, ReadPrec [DescribeDomainResponse]
ReadPrec DescribeDomainResponse
Int -> ReadS DescribeDomainResponse
ReadS [DescribeDomainResponse]
(Int -> ReadS DescribeDomainResponse)
-> ReadS [DescribeDomainResponse]
-> ReadPrec DescribeDomainResponse
-> ReadPrec [DescribeDomainResponse]
-> Read DescribeDomainResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeDomainResponse]
$creadListPrec :: ReadPrec [DescribeDomainResponse]
readPrec :: ReadPrec DescribeDomainResponse
$creadPrec :: ReadPrec DescribeDomainResponse
readList :: ReadS [DescribeDomainResponse]
$creadList :: ReadS [DescribeDomainResponse]
readsPrec :: Int -> ReadS DescribeDomainResponse
$creadsPrec :: Int -> ReadS DescribeDomainResponse
Prelude.Read, Int -> DescribeDomainResponse -> ShowS
[DescribeDomainResponse] -> ShowS
DescribeDomainResponse -> String
(Int -> DescribeDomainResponse -> ShowS)
-> (DescribeDomainResponse -> String)
-> ([DescribeDomainResponse] -> ShowS)
-> Show DescribeDomainResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeDomainResponse] -> ShowS
$cshowList :: [DescribeDomainResponse] -> ShowS
show :: DescribeDomainResponse -> String
$cshow :: DescribeDomainResponse -> String
showsPrec :: Int -> DescribeDomainResponse -> ShowS
$cshowsPrec :: Int -> DescribeDomainResponse -> ShowS
Prelude.Show, (forall x. DescribeDomainResponse -> Rep DescribeDomainResponse x)
-> (forall x.
Rep DescribeDomainResponse x -> DescribeDomainResponse)
-> Generic DescribeDomainResponse
forall x. Rep DescribeDomainResponse x -> DescribeDomainResponse
forall x. DescribeDomainResponse -> Rep DescribeDomainResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeDomainResponse x -> DescribeDomainResponse
$cfrom :: forall x. DescribeDomainResponse -> Rep DescribeDomainResponse x
Prelude.Generic)
newDescribeDomainResponse ::
Prelude.Int ->
DescribeDomainResponse
newDescribeDomainResponse :: Int -> DescribeDomainResponse
newDescribeDomainResponse Int
pHttpStatus_ =
DescribeDomainResponse' :: Maybe POSIX
-> Maybe DomainStatus
-> Maybe Text
-> Maybe UserSettings
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AuthMode
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AppNetworkAccessType
-> Int
-> DescribeDomainResponse
DescribeDomainResponse'
{ $sel:creationTime:DescribeDomainResponse' :: Maybe POSIX
creationTime =
Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:status:DescribeDomainResponse' :: Maybe DomainStatus
status = Maybe DomainStatus
forall a. Maybe a
Prelude.Nothing,
$sel:failureReason:DescribeDomainResponse' :: Maybe Text
failureReason = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:defaultUserSettings:DescribeDomainResponse' :: Maybe UserSettings
defaultUserSettings = Maybe UserSettings
forall a. Maybe a
Prelude.Nothing,
$sel:subnetIds:DescribeDomainResponse' :: Maybe (NonEmpty Text)
subnetIds = Maybe (NonEmpty Text)
forall a. Maybe a
Prelude.Nothing,
$sel:domainArn:DescribeDomainResponse' :: Maybe Text
domainArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:vpcId:DescribeDomainResponse' :: Maybe Text
vpcId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:url:DescribeDomainResponse' :: Maybe Text
url = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:authMode:DescribeDomainResponse' :: Maybe AuthMode
authMode = Maybe AuthMode
forall a. Maybe a
Prelude.Nothing,
$sel:homeEfsFileSystemKmsKeyId:DescribeDomainResponse' :: Maybe Text
homeEfsFileSystemKmsKeyId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:singleSignOnManagedApplicationInstanceId:DescribeDomainResponse' :: Maybe Text
singleSignOnManagedApplicationInstanceId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lastModifiedTime:DescribeDomainResponse' :: Maybe POSIX
lastModifiedTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:homeEfsFileSystemId:DescribeDomainResponse' :: Maybe Text
homeEfsFileSystemId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:kmsKeyId:DescribeDomainResponse' :: Maybe Text
kmsKeyId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:domainName:DescribeDomainResponse' :: Maybe Text
domainName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:domainId:DescribeDomainResponse' :: Maybe Text
domainId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:appNetworkAccessType:DescribeDomainResponse' :: Maybe AppNetworkAccessType
appNetworkAccessType = Maybe AppNetworkAccessType
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeDomainResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeDomainResponse_creationTime :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe Prelude.UTCTime)
describeDomainResponse_creationTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_creationTime = (DescribeDomainResponse -> Maybe POSIX)
-> (DescribeDomainResponse
-> Maybe POSIX -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe POSIX
creationTime :: Maybe POSIX
$sel:creationTime:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe POSIX
creationTime} -> Maybe POSIX
creationTime) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe POSIX
a -> DescribeDomainResponse
s {$sel:creationTime:DescribeDomainResponse' :: Maybe POSIX
creationTime = Maybe POSIX
a} :: DescribeDomainResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeDomainResponse -> f DescribeDomainResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeDomainResponse
-> f DescribeDomainResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeDomainResponse_status :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe DomainStatus)
describeDomainResponse_status :: (Maybe DomainStatus -> f (Maybe DomainStatus))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_status = (DescribeDomainResponse -> Maybe DomainStatus)
-> (DescribeDomainResponse
-> Maybe DomainStatus -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe DomainStatus)
(Maybe DomainStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe DomainStatus
status :: Maybe DomainStatus
$sel:status:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe DomainStatus
status} -> Maybe DomainStatus
status) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe DomainStatus
a -> DescribeDomainResponse
s {$sel:status:DescribeDomainResponse' :: Maybe DomainStatus
status = Maybe DomainStatus
a} :: DescribeDomainResponse)
describeDomainResponse_failureReason :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe Prelude.Text)
describeDomainResponse_failureReason :: (Maybe Text -> f (Maybe Text))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_failureReason = (DescribeDomainResponse -> Maybe Text)
-> (DescribeDomainResponse -> Maybe Text -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe Text
failureReason :: Maybe Text
$sel:failureReason:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe Text
failureReason} -> Maybe Text
failureReason) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe Text
a -> DescribeDomainResponse
s {$sel:failureReason:DescribeDomainResponse' :: Maybe Text
failureReason = Maybe Text
a} :: DescribeDomainResponse)
describeDomainResponse_defaultUserSettings :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe UserSettings)
describeDomainResponse_defaultUserSettings :: (Maybe UserSettings -> f (Maybe UserSettings))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_defaultUserSettings = (DescribeDomainResponse -> Maybe UserSettings)
-> (DescribeDomainResponse
-> Maybe UserSettings -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe UserSettings)
(Maybe UserSettings)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe UserSettings
defaultUserSettings :: Maybe UserSettings
$sel:defaultUserSettings:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe UserSettings
defaultUserSettings} -> Maybe UserSettings
defaultUserSettings) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe UserSettings
a -> DescribeDomainResponse
s {$sel:defaultUserSettings:DescribeDomainResponse' :: Maybe UserSettings
defaultUserSettings = Maybe UserSettings
a} :: DescribeDomainResponse)
describeDomainResponse_subnetIds :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))
describeDomainResponse_subnetIds :: (Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_subnetIds = (DescribeDomainResponse -> Maybe (NonEmpty Text))
-> (DescribeDomainResponse
-> Maybe (NonEmpty Text) -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe (NonEmpty Text))
(Maybe (NonEmpty Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe (NonEmpty Text)
subnetIds :: Maybe (NonEmpty Text)
$sel:subnetIds:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe (NonEmpty Text)
subnetIds} -> Maybe (NonEmpty Text)
subnetIds) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe (NonEmpty Text)
a -> DescribeDomainResponse
s {$sel:subnetIds:DescribeDomainResponse' :: Maybe (NonEmpty Text)
subnetIds = Maybe (NonEmpty Text)
a} :: DescribeDomainResponse) ((Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> DescribeDomainResponse -> f DescribeDomainResponse)
-> ((Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> (Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> DescribeDomainResponse
-> f DescribeDomainResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(NonEmpty Text) (NonEmpty Text) (NonEmpty Text) (NonEmpty Text)
-> Iso
(Maybe (NonEmpty Text))
(Maybe (NonEmpty Text))
(Maybe (NonEmpty Text))
(Maybe (NonEmpty Text))
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
(NonEmpty Text) (NonEmpty Text) (NonEmpty Text) (NonEmpty Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeDomainResponse_domainArn :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe Prelude.Text)
describeDomainResponse_domainArn :: (Maybe Text -> f (Maybe Text))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_domainArn = (DescribeDomainResponse -> Maybe Text)
-> (DescribeDomainResponse -> Maybe Text -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe Text
domainArn :: Maybe Text
$sel:domainArn:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe Text
domainArn} -> Maybe Text
domainArn) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe Text
a -> DescribeDomainResponse
s {$sel:domainArn:DescribeDomainResponse' :: Maybe Text
domainArn = Maybe Text
a} :: DescribeDomainResponse)
describeDomainResponse_vpcId :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe Prelude.Text)
describeDomainResponse_vpcId :: (Maybe Text -> f (Maybe Text))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_vpcId = (DescribeDomainResponse -> Maybe Text)
-> (DescribeDomainResponse -> Maybe Text -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe Text
vpcId :: Maybe Text
$sel:vpcId:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe Text
vpcId} -> Maybe Text
vpcId) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe Text
a -> DescribeDomainResponse
s {$sel:vpcId:DescribeDomainResponse' :: Maybe Text
vpcId = Maybe Text
a} :: DescribeDomainResponse)
describeDomainResponse_url :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe Prelude.Text)
describeDomainResponse_url :: (Maybe Text -> f (Maybe Text))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_url = (DescribeDomainResponse -> Maybe Text)
-> (DescribeDomainResponse -> Maybe Text -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe Text
url :: Maybe Text
$sel:url:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe Text
url} -> Maybe Text
url) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe Text
a -> DescribeDomainResponse
s {$sel:url:DescribeDomainResponse' :: Maybe Text
url = Maybe Text
a} :: DescribeDomainResponse)
describeDomainResponse_authMode :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe AuthMode)
describeDomainResponse_authMode :: (Maybe AuthMode -> f (Maybe AuthMode))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_authMode = (DescribeDomainResponse -> Maybe AuthMode)
-> (DescribeDomainResponse
-> Maybe AuthMode -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe AuthMode)
(Maybe AuthMode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe AuthMode
authMode :: Maybe AuthMode
$sel:authMode:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe AuthMode
authMode} -> Maybe AuthMode
authMode) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe AuthMode
a -> DescribeDomainResponse
s {$sel:authMode:DescribeDomainResponse' :: Maybe AuthMode
authMode = Maybe AuthMode
a} :: DescribeDomainResponse)
describeDomainResponse_homeEfsFileSystemKmsKeyId :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe Prelude.Text)
describeDomainResponse_homeEfsFileSystemKmsKeyId :: (Maybe Text -> f (Maybe Text))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_homeEfsFileSystemKmsKeyId = (DescribeDomainResponse -> Maybe Text)
-> (DescribeDomainResponse -> Maybe Text -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe Text
homeEfsFileSystemKmsKeyId :: Maybe Text
$sel:homeEfsFileSystemKmsKeyId:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe Text
homeEfsFileSystemKmsKeyId} -> Maybe Text
homeEfsFileSystemKmsKeyId) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe Text
a -> DescribeDomainResponse
s {$sel:homeEfsFileSystemKmsKeyId:DescribeDomainResponse' :: Maybe Text
homeEfsFileSystemKmsKeyId = Maybe Text
a} :: DescribeDomainResponse)
describeDomainResponse_singleSignOnManagedApplicationInstanceId :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe Prelude.Text)
describeDomainResponse_singleSignOnManagedApplicationInstanceId :: (Maybe Text -> f (Maybe Text))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_singleSignOnManagedApplicationInstanceId = (DescribeDomainResponse -> Maybe Text)
-> (DescribeDomainResponse -> Maybe Text -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe Text
singleSignOnManagedApplicationInstanceId :: Maybe Text
$sel:singleSignOnManagedApplicationInstanceId:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe Text
singleSignOnManagedApplicationInstanceId} -> Maybe Text
singleSignOnManagedApplicationInstanceId) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe Text
a -> DescribeDomainResponse
s {$sel:singleSignOnManagedApplicationInstanceId:DescribeDomainResponse' :: Maybe Text
singleSignOnManagedApplicationInstanceId = Maybe Text
a} :: DescribeDomainResponse)
describeDomainResponse_lastModifiedTime :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe Prelude.UTCTime)
describeDomainResponse_lastModifiedTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_lastModifiedTime = (DescribeDomainResponse -> Maybe POSIX)
-> (DescribeDomainResponse
-> Maybe POSIX -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe POSIX
lastModifiedTime :: Maybe POSIX
$sel:lastModifiedTime:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe POSIX
lastModifiedTime} -> Maybe POSIX
lastModifiedTime) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe POSIX
a -> DescribeDomainResponse
s {$sel:lastModifiedTime:DescribeDomainResponse' :: Maybe POSIX
lastModifiedTime = Maybe POSIX
a} :: DescribeDomainResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeDomainResponse -> f DescribeDomainResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeDomainResponse
-> f DescribeDomainResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeDomainResponse_homeEfsFileSystemId :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe Prelude.Text)
describeDomainResponse_homeEfsFileSystemId :: (Maybe Text -> f (Maybe Text))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_homeEfsFileSystemId = (DescribeDomainResponse -> Maybe Text)
-> (DescribeDomainResponse -> Maybe Text -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe Text
homeEfsFileSystemId :: Maybe Text
$sel:homeEfsFileSystemId:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe Text
homeEfsFileSystemId} -> Maybe Text
homeEfsFileSystemId) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe Text
a -> DescribeDomainResponse
s {$sel:homeEfsFileSystemId:DescribeDomainResponse' :: Maybe Text
homeEfsFileSystemId = Maybe Text
a} :: DescribeDomainResponse)
describeDomainResponse_kmsKeyId :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe Prelude.Text)
describeDomainResponse_kmsKeyId :: (Maybe Text -> f (Maybe Text))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_kmsKeyId = (DescribeDomainResponse -> Maybe Text)
-> (DescribeDomainResponse -> Maybe Text -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe Text
kmsKeyId :: Maybe Text
$sel:kmsKeyId:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe Text
kmsKeyId} -> Maybe Text
kmsKeyId) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe Text
a -> DescribeDomainResponse
s {$sel:kmsKeyId:DescribeDomainResponse' :: Maybe Text
kmsKeyId = Maybe Text
a} :: DescribeDomainResponse)
describeDomainResponse_domainName :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe Prelude.Text)
describeDomainResponse_domainName :: (Maybe Text -> f (Maybe Text))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_domainName = (DescribeDomainResponse -> Maybe Text)
-> (DescribeDomainResponse -> Maybe Text -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe Text
domainName :: Maybe Text
$sel:domainName:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe Text
domainName} -> Maybe Text
domainName) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe Text
a -> DescribeDomainResponse
s {$sel:domainName:DescribeDomainResponse' :: Maybe Text
domainName = Maybe Text
a} :: DescribeDomainResponse)
describeDomainResponse_domainId :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe Prelude.Text)
describeDomainResponse_domainId :: (Maybe Text -> f (Maybe Text))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_domainId = (DescribeDomainResponse -> Maybe Text)
-> (DescribeDomainResponse -> Maybe Text -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe Text
domainId :: Maybe Text
$sel:domainId:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe Text
domainId} -> Maybe Text
domainId) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe Text
a -> DescribeDomainResponse
s {$sel:domainId:DescribeDomainResponse' :: Maybe Text
domainId = Maybe Text
a} :: DescribeDomainResponse)
describeDomainResponse_appNetworkAccessType :: Lens.Lens' DescribeDomainResponse (Prelude.Maybe AppNetworkAccessType)
describeDomainResponse_appNetworkAccessType :: (Maybe AppNetworkAccessType -> f (Maybe AppNetworkAccessType))
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_appNetworkAccessType = (DescribeDomainResponse -> Maybe AppNetworkAccessType)
-> (DescribeDomainResponse
-> Maybe AppNetworkAccessType -> DescribeDomainResponse)
-> Lens
DescribeDomainResponse
DescribeDomainResponse
(Maybe AppNetworkAccessType)
(Maybe AppNetworkAccessType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Maybe AppNetworkAccessType
appNetworkAccessType :: Maybe AppNetworkAccessType
$sel:appNetworkAccessType:DescribeDomainResponse' :: DescribeDomainResponse -> Maybe AppNetworkAccessType
appNetworkAccessType} -> Maybe AppNetworkAccessType
appNetworkAccessType) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Maybe AppNetworkAccessType
a -> DescribeDomainResponse
s {$sel:appNetworkAccessType:DescribeDomainResponse' :: Maybe AppNetworkAccessType
appNetworkAccessType = Maybe AppNetworkAccessType
a} :: DescribeDomainResponse)
describeDomainResponse_httpStatus :: Lens.Lens' DescribeDomainResponse Prelude.Int
describeDomainResponse_httpStatus :: (Int -> f Int)
-> DescribeDomainResponse -> f DescribeDomainResponse
describeDomainResponse_httpStatus = (DescribeDomainResponse -> Int)
-> (DescribeDomainResponse -> Int -> DescribeDomainResponse)
-> Lens DescribeDomainResponse DescribeDomainResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDomainResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeDomainResponse' :: DescribeDomainResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeDomainResponse
s@DescribeDomainResponse' {} Int
a -> DescribeDomainResponse
s {$sel:httpStatus:DescribeDomainResponse' :: Int
httpStatus = Int
a} :: DescribeDomainResponse)
instance Prelude.NFData DescribeDomainResponse