{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.AppStream.Types.ImageBuilder where
import Amazonka.AppStream.Types.AccessEndpoint
import Amazonka.AppStream.Types.DomainJoinInfo
import Amazonka.AppStream.Types.ImageBuilderState
import Amazonka.AppStream.Types.ImageBuilderStateChangeReason
import Amazonka.AppStream.Types.NetworkAccessConfiguration
import Amazonka.AppStream.Types.PlatformType
import Amazonka.AppStream.Types.ResourceError
import Amazonka.AppStream.Types.VpcConfig
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data ImageBuilder = ImageBuilder'
{
ImageBuilder -> Maybe DomainJoinInfo
domainJoinInfo :: Prelude.Maybe DomainJoinInfo,
ImageBuilder -> Maybe Text
iamRoleArn :: Prelude.Maybe Prelude.Text,
ImageBuilder -> Maybe ImageBuilderState
state :: Prelude.Maybe ImageBuilderState,
ImageBuilder -> Maybe PlatformType
platform :: Prelude.Maybe PlatformType,
ImageBuilder -> Maybe NetworkAccessConfiguration
networkAccessConfiguration :: Prelude.Maybe NetworkAccessConfiguration,
ImageBuilder -> Maybe ImageBuilderStateChangeReason
stateChangeReason :: Prelude.Maybe ImageBuilderStateChangeReason,
ImageBuilder -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
ImageBuilder -> Maybe POSIX
createdTime :: Prelude.Maybe Core.POSIX,
ImageBuilder -> Maybe [ResourceError]
imageBuilderErrors :: Prelude.Maybe [ResourceError],
ImageBuilder -> Maybe Text
instanceType :: Prelude.Maybe Prelude.Text,
ImageBuilder -> Maybe (NonEmpty AccessEndpoint)
accessEndpoints :: Prelude.Maybe (Prelude.NonEmpty AccessEndpoint),
ImageBuilder -> Maybe VpcConfig
vpcConfig :: Prelude.Maybe VpcConfig,
ImageBuilder -> Maybe Text
imageArn :: Prelude.Maybe Prelude.Text,
ImageBuilder -> Maybe Text
displayName :: Prelude.Maybe Prelude.Text,
ImageBuilder -> Maybe Bool
enableDefaultInternetAccess :: Prelude.Maybe Prelude.Bool,
ImageBuilder -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
ImageBuilder -> Maybe Text
appstreamAgentVersion :: Prelude.Maybe Prelude.Text,
ImageBuilder -> Text
name :: Prelude.Text
}
deriving (ImageBuilder -> ImageBuilder -> Bool
(ImageBuilder -> ImageBuilder -> Bool)
-> (ImageBuilder -> ImageBuilder -> Bool) -> Eq ImageBuilder
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ImageBuilder -> ImageBuilder -> Bool
$c/= :: ImageBuilder -> ImageBuilder -> Bool
== :: ImageBuilder -> ImageBuilder -> Bool
$c== :: ImageBuilder -> ImageBuilder -> Bool
Prelude.Eq, ReadPrec [ImageBuilder]
ReadPrec ImageBuilder
Int -> ReadS ImageBuilder
ReadS [ImageBuilder]
(Int -> ReadS ImageBuilder)
-> ReadS [ImageBuilder]
-> ReadPrec ImageBuilder
-> ReadPrec [ImageBuilder]
-> Read ImageBuilder
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ImageBuilder]
$creadListPrec :: ReadPrec [ImageBuilder]
readPrec :: ReadPrec ImageBuilder
$creadPrec :: ReadPrec ImageBuilder
readList :: ReadS [ImageBuilder]
$creadList :: ReadS [ImageBuilder]
readsPrec :: Int -> ReadS ImageBuilder
$creadsPrec :: Int -> ReadS ImageBuilder
Prelude.Read, Int -> ImageBuilder -> ShowS
[ImageBuilder] -> ShowS
ImageBuilder -> String
(Int -> ImageBuilder -> ShowS)
-> (ImageBuilder -> String)
-> ([ImageBuilder] -> ShowS)
-> Show ImageBuilder
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ImageBuilder] -> ShowS
$cshowList :: [ImageBuilder] -> ShowS
show :: ImageBuilder -> String
$cshow :: ImageBuilder -> String
showsPrec :: Int -> ImageBuilder -> ShowS
$cshowsPrec :: Int -> ImageBuilder -> ShowS
Prelude.Show, (forall x. ImageBuilder -> Rep ImageBuilder x)
-> (forall x. Rep ImageBuilder x -> ImageBuilder)
-> Generic ImageBuilder
forall x. Rep ImageBuilder x -> ImageBuilder
forall x. ImageBuilder -> Rep ImageBuilder x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ImageBuilder x -> ImageBuilder
$cfrom :: forall x. ImageBuilder -> Rep ImageBuilder x
Prelude.Generic)
newImageBuilder ::
Prelude.Text ->
ImageBuilder
newImageBuilder :: Text -> ImageBuilder
newImageBuilder Text
pName_ =
ImageBuilder' :: Maybe DomainJoinInfo
-> Maybe Text
-> Maybe ImageBuilderState
-> Maybe PlatformType
-> Maybe NetworkAccessConfiguration
-> Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder
ImageBuilder'
{ $sel:domainJoinInfo:ImageBuilder' :: Maybe DomainJoinInfo
domainJoinInfo = Maybe DomainJoinInfo
forall a. Maybe a
Prelude.Nothing,
$sel:iamRoleArn:ImageBuilder' :: Maybe Text
iamRoleArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:state:ImageBuilder' :: Maybe ImageBuilderState
state = Maybe ImageBuilderState
forall a. Maybe a
Prelude.Nothing,
$sel:platform:ImageBuilder' :: Maybe PlatformType
platform = Maybe PlatformType
forall a. Maybe a
Prelude.Nothing,
$sel:networkAccessConfiguration:ImageBuilder' :: Maybe NetworkAccessConfiguration
networkAccessConfiguration = Maybe NetworkAccessConfiguration
forall a. Maybe a
Prelude.Nothing,
$sel:stateChangeReason:ImageBuilder' :: Maybe ImageBuilderStateChangeReason
stateChangeReason = Maybe ImageBuilderStateChangeReason
forall a. Maybe a
Prelude.Nothing,
$sel:arn:ImageBuilder' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:createdTime:ImageBuilder' :: Maybe POSIX
createdTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:imageBuilderErrors:ImageBuilder' :: Maybe [ResourceError]
imageBuilderErrors = Maybe [ResourceError]
forall a. Maybe a
Prelude.Nothing,
$sel:instanceType:ImageBuilder' :: Maybe Text
instanceType = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:accessEndpoints:ImageBuilder' :: Maybe (NonEmpty AccessEndpoint)
accessEndpoints = Maybe (NonEmpty AccessEndpoint)
forall a. Maybe a
Prelude.Nothing,
$sel:vpcConfig:ImageBuilder' :: Maybe VpcConfig
vpcConfig = Maybe VpcConfig
forall a. Maybe a
Prelude.Nothing,
$sel:imageArn:ImageBuilder' :: Maybe Text
imageArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:displayName:ImageBuilder' :: Maybe Text
displayName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:enableDefaultInternetAccess:ImageBuilder' :: Maybe Bool
enableDefaultInternetAccess = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:description:ImageBuilder' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:appstreamAgentVersion:ImageBuilder' :: Maybe Text
appstreamAgentVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:name:ImageBuilder' :: Text
name = Text
pName_
}
imageBuilder_domainJoinInfo :: Lens.Lens' ImageBuilder (Prelude.Maybe DomainJoinInfo)
imageBuilder_domainJoinInfo :: (Maybe DomainJoinInfo -> f (Maybe DomainJoinInfo))
-> ImageBuilder -> f ImageBuilder
imageBuilder_domainJoinInfo = (ImageBuilder -> Maybe DomainJoinInfo)
-> (ImageBuilder -> Maybe DomainJoinInfo -> ImageBuilder)
-> Lens
ImageBuilder
ImageBuilder
(Maybe DomainJoinInfo)
(Maybe DomainJoinInfo)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe DomainJoinInfo
domainJoinInfo :: Maybe DomainJoinInfo
$sel:domainJoinInfo:ImageBuilder' :: ImageBuilder -> Maybe DomainJoinInfo
domainJoinInfo} -> Maybe DomainJoinInfo
domainJoinInfo) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe DomainJoinInfo
a -> ImageBuilder
s {$sel:domainJoinInfo:ImageBuilder' :: Maybe DomainJoinInfo
domainJoinInfo = Maybe DomainJoinInfo
a} :: ImageBuilder)
imageBuilder_iamRoleArn :: Lens.Lens' ImageBuilder (Prelude.Maybe Prelude.Text)
imageBuilder_iamRoleArn :: (Maybe Text -> f (Maybe Text)) -> ImageBuilder -> f ImageBuilder
imageBuilder_iamRoleArn = (ImageBuilder -> Maybe Text)
-> (ImageBuilder -> Maybe Text -> ImageBuilder)
-> Lens ImageBuilder ImageBuilder (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe Text
iamRoleArn :: Maybe Text
$sel:iamRoleArn:ImageBuilder' :: ImageBuilder -> Maybe Text
iamRoleArn} -> Maybe Text
iamRoleArn) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe Text
a -> ImageBuilder
s {$sel:iamRoleArn:ImageBuilder' :: Maybe Text
iamRoleArn = Maybe Text
a} :: ImageBuilder)
imageBuilder_state :: Lens.Lens' ImageBuilder (Prelude.Maybe ImageBuilderState)
imageBuilder_state :: (Maybe ImageBuilderState -> f (Maybe ImageBuilderState))
-> ImageBuilder -> f ImageBuilder
imageBuilder_state = (ImageBuilder -> Maybe ImageBuilderState)
-> (ImageBuilder -> Maybe ImageBuilderState -> ImageBuilder)
-> Lens
ImageBuilder
ImageBuilder
(Maybe ImageBuilderState)
(Maybe ImageBuilderState)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe ImageBuilderState
state :: Maybe ImageBuilderState
$sel:state:ImageBuilder' :: ImageBuilder -> Maybe ImageBuilderState
state} -> Maybe ImageBuilderState
state) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe ImageBuilderState
a -> ImageBuilder
s {$sel:state:ImageBuilder' :: Maybe ImageBuilderState
state = Maybe ImageBuilderState
a} :: ImageBuilder)
imageBuilder_platform :: Lens.Lens' ImageBuilder (Prelude.Maybe PlatformType)
imageBuilder_platform :: (Maybe PlatformType -> f (Maybe PlatformType))
-> ImageBuilder -> f ImageBuilder
imageBuilder_platform = (ImageBuilder -> Maybe PlatformType)
-> (ImageBuilder -> Maybe PlatformType -> ImageBuilder)
-> Lens
ImageBuilder ImageBuilder (Maybe PlatformType) (Maybe PlatformType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe PlatformType
platform :: Maybe PlatformType
$sel:platform:ImageBuilder' :: ImageBuilder -> Maybe PlatformType
platform} -> Maybe PlatformType
platform) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe PlatformType
a -> ImageBuilder
s {$sel:platform:ImageBuilder' :: Maybe PlatformType
platform = Maybe PlatformType
a} :: ImageBuilder)
imageBuilder_networkAccessConfiguration :: Lens.Lens' ImageBuilder (Prelude.Maybe NetworkAccessConfiguration)
imageBuilder_networkAccessConfiguration :: (Maybe NetworkAccessConfiguration
-> f (Maybe NetworkAccessConfiguration))
-> ImageBuilder -> f ImageBuilder
imageBuilder_networkAccessConfiguration = (ImageBuilder -> Maybe NetworkAccessConfiguration)
-> (ImageBuilder
-> Maybe NetworkAccessConfiguration -> ImageBuilder)
-> Lens
ImageBuilder
ImageBuilder
(Maybe NetworkAccessConfiguration)
(Maybe NetworkAccessConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe NetworkAccessConfiguration
networkAccessConfiguration :: Maybe NetworkAccessConfiguration
$sel:networkAccessConfiguration:ImageBuilder' :: ImageBuilder -> Maybe NetworkAccessConfiguration
networkAccessConfiguration} -> Maybe NetworkAccessConfiguration
networkAccessConfiguration) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe NetworkAccessConfiguration
a -> ImageBuilder
s {$sel:networkAccessConfiguration:ImageBuilder' :: Maybe NetworkAccessConfiguration
networkAccessConfiguration = Maybe NetworkAccessConfiguration
a} :: ImageBuilder)
imageBuilder_stateChangeReason :: Lens.Lens' ImageBuilder (Prelude.Maybe ImageBuilderStateChangeReason)
imageBuilder_stateChangeReason :: (Maybe ImageBuilderStateChangeReason
-> f (Maybe ImageBuilderStateChangeReason))
-> ImageBuilder -> f ImageBuilder
imageBuilder_stateChangeReason = (ImageBuilder -> Maybe ImageBuilderStateChangeReason)
-> (ImageBuilder
-> Maybe ImageBuilderStateChangeReason -> ImageBuilder)
-> Lens
ImageBuilder
ImageBuilder
(Maybe ImageBuilderStateChangeReason)
(Maybe ImageBuilderStateChangeReason)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe ImageBuilderStateChangeReason
stateChangeReason :: Maybe ImageBuilderStateChangeReason
$sel:stateChangeReason:ImageBuilder' :: ImageBuilder -> Maybe ImageBuilderStateChangeReason
stateChangeReason} -> Maybe ImageBuilderStateChangeReason
stateChangeReason) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe ImageBuilderStateChangeReason
a -> ImageBuilder
s {$sel:stateChangeReason:ImageBuilder' :: Maybe ImageBuilderStateChangeReason
stateChangeReason = Maybe ImageBuilderStateChangeReason
a} :: ImageBuilder)
imageBuilder_arn :: Lens.Lens' ImageBuilder (Prelude.Maybe Prelude.Text)
imageBuilder_arn :: (Maybe Text -> f (Maybe Text)) -> ImageBuilder -> f ImageBuilder
imageBuilder_arn = (ImageBuilder -> Maybe Text)
-> (ImageBuilder -> Maybe Text -> ImageBuilder)
-> Lens ImageBuilder ImageBuilder (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe Text
arn :: Maybe Text
$sel:arn:ImageBuilder' :: ImageBuilder -> Maybe Text
arn} -> Maybe Text
arn) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe Text
a -> ImageBuilder
s {$sel:arn:ImageBuilder' :: Maybe Text
arn = Maybe Text
a} :: ImageBuilder)
imageBuilder_createdTime :: Lens.Lens' ImageBuilder (Prelude.Maybe Prelude.UTCTime)
imageBuilder_createdTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> ImageBuilder -> f ImageBuilder
imageBuilder_createdTime = (ImageBuilder -> Maybe POSIX)
-> (ImageBuilder -> Maybe POSIX -> ImageBuilder)
-> Lens ImageBuilder ImageBuilder (Maybe POSIX) (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe POSIX
createdTime :: Maybe POSIX
$sel:createdTime:ImageBuilder' :: ImageBuilder -> Maybe POSIX
createdTime} -> Maybe POSIX
createdTime) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe POSIX
a -> ImageBuilder
s {$sel:createdTime:ImageBuilder' :: Maybe POSIX
createdTime = Maybe POSIX
a} :: ImageBuilder) ((Maybe POSIX -> f (Maybe POSIX))
-> ImageBuilder -> f ImageBuilder)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> ImageBuilder
-> f ImageBuilder
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
imageBuilder_imageBuilderErrors :: Lens.Lens' ImageBuilder (Prelude.Maybe [ResourceError])
imageBuilder_imageBuilderErrors :: (Maybe [ResourceError] -> f (Maybe [ResourceError]))
-> ImageBuilder -> f ImageBuilder
imageBuilder_imageBuilderErrors = (ImageBuilder -> Maybe [ResourceError])
-> (ImageBuilder -> Maybe [ResourceError] -> ImageBuilder)
-> Lens
ImageBuilder
ImageBuilder
(Maybe [ResourceError])
(Maybe [ResourceError])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe [ResourceError]
imageBuilderErrors :: Maybe [ResourceError]
$sel:imageBuilderErrors:ImageBuilder' :: ImageBuilder -> Maybe [ResourceError]
imageBuilderErrors} -> Maybe [ResourceError]
imageBuilderErrors) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe [ResourceError]
a -> ImageBuilder
s {$sel:imageBuilderErrors:ImageBuilder' :: Maybe [ResourceError]
imageBuilderErrors = Maybe [ResourceError]
a} :: ImageBuilder) ((Maybe [ResourceError] -> f (Maybe [ResourceError]))
-> ImageBuilder -> f ImageBuilder)
-> ((Maybe [ResourceError] -> f (Maybe [ResourceError]))
-> Maybe [ResourceError] -> f (Maybe [ResourceError]))
-> (Maybe [ResourceError] -> f (Maybe [ResourceError]))
-> ImageBuilder
-> f ImageBuilder
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ResourceError] [ResourceError] [ResourceError] [ResourceError]
-> Iso
(Maybe [ResourceError])
(Maybe [ResourceError])
(Maybe [ResourceError])
(Maybe [ResourceError])
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
[ResourceError] [ResourceError] [ResourceError] [ResourceError]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
imageBuilder_instanceType :: Lens.Lens' ImageBuilder (Prelude.Maybe Prelude.Text)
imageBuilder_instanceType :: (Maybe Text -> f (Maybe Text)) -> ImageBuilder -> f ImageBuilder
imageBuilder_instanceType = (ImageBuilder -> Maybe Text)
-> (ImageBuilder -> Maybe Text -> ImageBuilder)
-> Lens ImageBuilder ImageBuilder (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe Text
instanceType :: Maybe Text
$sel:instanceType:ImageBuilder' :: ImageBuilder -> Maybe Text
instanceType} -> Maybe Text
instanceType) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe Text
a -> ImageBuilder
s {$sel:instanceType:ImageBuilder' :: Maybe Text
instanceType = Maybe Text
a} :: ImageBuilder)
imageBuilder_accessEndpoints :: Lens.Lens' ImageBuilder (Prelude.Maybe (Prelude.NonEmpty AccessEndpoint))
imageBuilder_accessEndpoints :: (Maybe (NonEmpty AccessEndpoint)
-> f (Maybe (NonEmpty AccessEndpoint)))
-> ImageBuilder -> f ImageBuilder
imageBuilder_accessEndpoints = (ImageBuilder -> Maybe (NonEmpty AccessEndpoint))
-> (ImageBuilder
-> Maybe (NonEmpty AccessEndpoint) -> ImageBuilder)
-> Lens
ImageBuilder
ImageBuilder
(Maybe (NonEmpty AccessEndpoint))
(Maybe (NonEmpty AccessEndpoint))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe (NonEmpty AccessEndpoint)
accessEndpoints :: Maybe (NonEmpty AccessEndpoint)
$sel:accessEndpoints:ImageBuilder' :: ImageBuilder -> Maybe (NonEmpty AccessEndpoint)
accessEndpoints} -> Maybe (NonEmpty AccessEndpoint)
accessEndpoints) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe (NonEmpty AccessEndpoint)
a -> ImageBuilder
s {$sel:accessEndpoints:ImageBuilder' :: Maybe (NonEmpty AccessEndpoint)
accessEndpoints = Maybe (NonEmpty AccessEndpoint)
a} :: ImageBuilder) ((Maybe (NonEmpty AccessEndpoint)
-> f (Maybe (NonEmpty AccessEndpoint)))
-> ImageBuilder -> f ImageBuilder)
-> ((Maybe (NonEmpty AccessEndpoint)
-> f (Maybe (NonEmpty AccessEndpoint)))
-> Maybe (NonEmpty AccessEndpoint)
-> f (Maybe (NonEmpty AccessEndpoint)))
-> (Maybe (NonEmpty AccessEndpoint)
-> f (Maybe (NonEmpty AccessEndpoint)))
-> ImageBuilder
-> f ImageBuilder
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(NonEmpty AccessEndpoint)
(NonEmpty AccessEndpoint)
(NonEmpty AccessEndpoint)
(NonEmpty AccessEndpoint)
-> Iso
(Maybe (NonEmpty AccessEndpoint))
(Maybe (NonEmpty AccessEndpoint))
(Maybe (NonEmpty AccessEndpoint))
(Maybe (NonEmpty AccessEndpoint))
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 AccessEndpoint)
(NonEmpty AccessEndpoint)
(NonEmpty AccessEndpoint)
(NonEmpty AccessEndpoint)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
imageBuilder_vpcConfig :: Lens.Lens' ImageBuilder (Prelude.Maybe VpcConfig)
imageBuilder_vpcConfig :: (Maybe VpcConfig -> f (Maybe VpcConfig))
-> ImageBuilder -> f ImageBuilder
imageBuilder_vpcConfig = (ImageBuilder -> Maybe VpcConfig)
-> (ImageBuilder -> Maybe VpcConfig -> ImageBuilder)
-> Lens
ImageBuilder ImageBuilder (Maybe VpcConfig) (Maybe VpcConfig)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe VpcConfig
vpcConfig :: Maybe VpcConfig
$sel:vpcConfig:ImageBuilder' :: ImageBuilder -> Maybe VpcConfig
vpcConfig} -> Maybe VpcConfig
vpcConfig) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe VpcConfig
a -> ImageBuilder
s {$sel:vpcConfig:ImageBuilder' :: Maybe VpcConfig
vpcConfig = Maybe VpcConfig
a} :: ImageBuilder)
imageBuilder_imageArn :: Lens.Lens' ImageBuilder (Prelude.Maybe Prelude.Text)
imageBuilder_imageArn :: (Maybe Text -> f (Maybe Text)) -> ImageBuilder -> f ImageBuilder
imageBuilder_imageArn = (ImageBuilder -> Maybe Text)
-> (ImageBuilder -> Maybe Text -> ImageBuilder)
-> Lens ImageBuilder ImageBuilder (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe Text
imageArn :: Maybe Text
$sel:imageArn:ImageBuilder' :: ImageBuilder -> Maybe Text
imageArn} -> Maybe Text
imageArn) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe Text
a -> ImageBuilder
s {$sel:imageArn:ImageBuilder' :: Maybe Text
imageArn = Maybe Text
a} :: ImageBuilder)
imageBuilder_displayName :: Lens.Lens' ImageBuilder (Prelude.Maybe Prelude.Text)
imageBuilder_displayName :: (Maybe Text -> f (Maybe Text)) -> ImageBuilder -> f ImageBuilder
imageBuilder_displayName = (ImageBuilder -> Maybe Text)
-> (ImageBuilder -> Maybe Text -> ImageBuilder)
-> Lens ImageBuilder ImageBuilder (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe Text
displayName :: Maybe Text
$sel:displayName:ImageBuilder' :: ImageBuilder -> Maybe Text
displayName} -> Maybe Text
displayName) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe Text
a -> ImageBuilder
s {$sel:displayName:ImageBuilder' :: Maybe Text
displayName = Maybe Text
a} :: ImageBuilder)
imageBuilder_enableDefaultInternetAccess :: Lens.Lens' ImageBuilder (Prelude.Maybe Prelude.Bool)
imageBuilder_enableDefaultInternetAccess :: (Maybe Bool -> f (Maybe Bool)) -> ImageBuilder -> f ImageBuilder
imageBuilder_enableDefaultInternetAccess = (ImageBuilder -> Maybe Bool)
-> (ImageBuilder -> Maybe Bool -> ImageBuilder)
-> Lens ImageBuilder ImageBuilder (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe Bool
enableDefaultInternetAccess :: Maybe Bool
$sel:enableDefaultInternetAccess:ImageBuilder' :: ImageBuilder -> Maybe Bool
enableDefaultInternetAccess} -> Maybe Bool
enableDefaultInternetAccess) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe Bool
a -> ImageBuilder
s {$sel:enableDefaultInternetAccess:ImageBuilder' :: Maybe Bool
enableDefaultInternetAccess = Maybe Bool
a} :: ImageBuilder)
imageBuilder_description :: Lens.Lens' ImageBuilder (Prelude.Maybe Prelude.Text)
imageBuilder_description :: (Maybe Text -> f (Maybe Text)) -> ImageBuilder -> f ImageBuilder
imageBuilder_description = (ImageBuilder -> Maybe Text)
-> (ImageBuilder -> Maybe Text -> ImageBuilder)
-> Lens ImageBuilder ImageBuilder (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe Text
description :: Maybe Text
$sel:description:ImageBuilder' :: ImageBuilder -> Maybe Text
description} -> Maybe Text
description) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe Text
a -> ImageBuilder
s {$sel:description:ImageBuilder' :: Maybe Text
description = Maybe Text
a} :: ImageBuilder)
imageBuilder_appstreamAgentVersion :: Lens.Lens' ImageBuilder (Prelude.Maybe Prelude.Text)
imageBuilder_appstreamAgentVersion :: (Maybe Text -> f (Maybe Text)) -> ImageBuilder -> f ImageBuilder
imageBuilder_appstreamAgentVersion = (ImageBuilder -> Maybe Text)
-> (ImageBuilder -> Maybe Text -> ImageBuilder)
-> Lens ImageBuilder ImageBuilder (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Maybe Text
appstreamAgentVersion :: Maybe Text
$sel:appstreamAgentVersion:ImageBuilder' :: ImageBuilder -> Maybe Text
appstreamAgentVersion} -> Maybe Text
appstreamAgentVersion) (\s :: ImageBuilder
s@ImageBuilder' {} Maybe Text
a -> ImageBuilder
s {$sel:appstreamAgentVersion:ImageBuilder' :: Maybe Text
appstreamAgentVersion = Maybe Text
a} :: ImageBuilder)
imageBuilder_name :: Lens.Lens' ImageBuilder Prelude.Text
imageBuilder_name :: (Text -> f Text) -> ImageBuilder -> f ImageBuilder
imageBuilder_name = (ImageBuilder -> Text)
-> (ImageBuilder -> Text -> ImageBuilder)
-> Lens ImageBuilder ImageBuilder Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImageBuilder' {Text
name :: Text
$sel:name:ImageBuilder' :: ImageBuilder -> Text
name} -> Text
name) (\s :: ImageBuilder
s@ImageBuilder' {} Text
a -> ImageBuilder
s {$sel:name:ImageBuilder' :: Text
name = Text
a} :: ImageBuilder)
instance Core.FromJSON ImageBuilder where
parseJSON :: Value -> Parser ImageBuilder
parseJSON =
String
-> (Object -> Parser ImageBuilder) -> Value -> Parser ImageBuilder
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"ImageBuilder"
( \Object
x ->
Maybe DomainJoinInfo
-> Maybe Text
-> Maybe ImageBuilderState
-> Maybe PlatformType
-> Maybe NetworkAccessConfiguration
-> Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder
ImageBuilder'
(Maybe DomainJoinInfo
-> Maybe Text
-> Maybe ImageBuilderState
-> Maybe PlatformType
-> Maybe NetworkAccessConfiguration
-> Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe DomainJoinInfo)
-> Parser
(Maybe Text
-> Maybe ImageBuilderState
-> Maybe PlatformType
-> Maybe NetworkAccessConfiguration
-> Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe DomainJoinInfo)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DomainJoinInfo")
Parser
(Maybe Text
-> Maybe ImageBuilderState
-> Maybe PlatformType
-> Maybe NetworkAccessConfiguration
-> Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe Text)
-> Parser
(Maybe ImageBuilderState
-> Maybe PlatformType
-> Maybe NetworkAccessConfiguration
-> Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"IamRoleArn")
Parser
(Maybe ImageBuilderState
-> Maybe PlatformType
-> Maybe NetworkAccessConfiguration
-> Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe ImageBuilderState)
-> Parser
(Maybe PlatformType
-> Maybe NetworkAccessConfiguration
-> Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe ImageBuilderState)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"State")
Parser
(Maybe PlatformType
-> Maybe NetworkAccessConfiguration
-> Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe PlatformType)
-> Parser
(Maybe NetworkAccessConfiguration
-> Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe PlatformType)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Platform")
Parser
(Maybe NetworkAccessConfiguration
-> Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe NetworkAccessConfiguration)
-> Parser
(Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe NetworkAccessConfiguration)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"NetworkAccessConfiguration")
Parser
(Maybe ImageBuilderStateChangeReason
-> Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe ImageBuilderStateChangeReason)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe ImageBuilderStateChangeReason)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"StateChangeReason")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Arn")
Parser
(Maybe POSIX
-> Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe POSIX)
-> Parser
(Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CreatedTime")
Parser
(Maybe [ResourceError]
-> Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe [ResourceError])
-> Parser
(Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [ResourceError]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ImageBuilderErrors"
Parser (Maybe (Maybe [ResourceError]))
-> Maybe [ResourceError] -> Parser (Maybe [ResourceError])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [ResourceError]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Text
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe Text)
-> Parser
(Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"InstanceType")
Parser
(Maybe (NonEmpty AccessEndpoint)
-> Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe (NonEmpty AccessEndpoint))
-> Parser
(Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (NonEmpty AccessEndpoint))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"AccessEndpoints")
Parser
(Maybe VpcConfig
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe VpcConfig)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe VpcConfig)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"VpcConfig")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Text
-> ImageBuilder)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Bool -> Maybe Text -> Maybe Text -> Text -> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ImageArn")
Parser
(Maybe Text
-> Maybe Bool -> Maybe Text -> Maybe Text -> Text -> ImageBuilder)
-> Parser (Maybe Text)
-> Parser
(Maybe Bool -> Maybe Text -> Maybe Text -> Text -> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DisplayName")
Parser
(Maybe Bool -> Maybe Text -> Maybe Text -> Text -> ImageBuilder)
-> Parser (Maybe Bool)
-> Parser (Maybe Text -> Maybe Text -> Text -> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EnableDefaultInternetAccess")
Parser (Maybe Text -> Maybe Text -> Text -> ImageBuilder)
-> Parser (Maybe Text)
-> Parser (Maybe Text -> Text -> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Description")
Parser (Maybe Text -> Text -> ImageBuilder)
-> Parser (Maybe Text) -> Parser (Text -> ImageBuilder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"AppstreamAgentVersion")
Parser (Text -> ImageBuilder) -> Parser Text -> Parser ImageBuilder
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"Name")
)
instance Prelude.Hashable ImageBuilder
instance Prelude.NFData ImageBuilder