{-# 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.ECS.Types.ContainerInstance where
import qualified Amazonka.Core as Core
import Amazonka.ECS.Types.AgentUpdateStatus
import Amazonka.ECS.Types.Attachment
import Amazonka.ECS.Types.Attribute
import Amazonka.ECS.Types.Resource
import Amazonka.ECS.Types.Tag
import Amazonka.ECS.Types.VersionInfo
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data ContainerInstance = ContainerInstance'
{
ContainerInstance -> Maybe Text
status :: Prelude.Maybe Prelude.Text,
ContainerInstance -> Maybe [Attachment]
attachments :: Prelude.Maybe [Attachment],
ContainerInstance -> Maybe Int
runningTasksCount :: Prelude.Maybe Prelude.Int,
ContainerInstance -> Maybe [Resource]
remainingResources :: Prelude.Maybe [Resource],
ContainerInstance -> Maybe Text
ec2InstanceId :: Prelude.Maybe Prelude.Text,
ContainerInstance -> Maybe Text
containerInstanceArn :: Prelude.Maybe Prelude.Text,
ContainerInstance -> Maybe Bool
agentConnected :: Prelude.Maybe Prelude.Bool,
ContainerInstance -> Maybe VersionInfo
versionInfo :: Prelude.Maybe VersionInfo,
ContainerInstance -> Maybe AgentUpdateStatus
agentUpdateStatus :: Prelude.Maybe AgentUpdateStatus,
ContainerInstance -> Maybe [Attribute]
attributes :: Prelude.Maybe [Attribute],
ContainerInstance -> Maybe Integer
version :: Prelude.Maybe Prelude.Integer,
ContainerInstance -> Maybe Int
pendingTasksCount :: Prelude.Maybe Prelude.Int,
ContainerInstance -> Maybe Text
capacityProviderName :: Prelude.Maybe Prelude.Text,
ContainerInstance -> Maybe POSIX
registeredAt :: Prelude.Maybe Core.POSIX,
ContainerInstance -> Maybe Text
statusReason :: Prelude.Maybe Prelude.Text,
ContainerInstance -> Maybe [Tag]
tags :: Prelude.Maybe [Tag],
ContainerInstance -> Maybe [Resource]
registeredResources :: Prelude.Maybe [Resource]
}
deriving (ContainerInstance -> ContainerInstance -> Bool
(ContainerInstance -> ContainerInstance -> Bool)
-> (ContainerInstance -> ContainerInstance -> Bool)
-> Eq ContainerInstance
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ContainerInstance -> ContainerInstance -> Bool
$c/= :: ContainerInstance -> ContainerInstance -> Bool
== :: ContainerInstance -> ContainerInstance -> Bool
$c== :: ContainerInstance -> ContainerInstance -> Bool
Prelude.Eq, ReadPrec [ContainerInstance]
ReadPrec ContainerInstance
Int -> ReadS ContainerInstance
ReadS [ContainerInstance]
(Int -> ReadS ContainerInstance)
-> ReadS [ContainerInstance]
-> ReadPrec ContainerInstance
-> ReadPrec [ContainerInstance]
-> Read ContainerInstance
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ContainerInstance]
$creadListPrec :: ReadPrec [ContainerInstance]
readPrec :: ReadPrec ContainerInstance
$creadPrec :: ReadPrec ContainerInstance
readList :: ReadS [ContainerInstance]
$creadList :: ReadS [ContainerInstance]
readsPrec :: Int -> ReadS ContainerInstance
$creadsPrec :: Int -> ReadS ContainerInstance
Prelude.Read, Int -> ContainerInstance -> ShowS
[ContainerInstance] -> ShowS
ContainerInstance -> String
(Int -> ContainerInstance -> ShowS)
-> (ContainerInstance -> String)
-> ([ContainerInstance] -> ShowS)
-> Show ContainerInstance
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ContainerInstance] -> ShowS
$cshowList :: [ContainerInstance] -> ShowS
show :: ContainerInstance -> String
$cshow :: ContainerInstance -> String
showsPrec :: Int -> ContainerInstance -> ShowS
$cshowsPrec :: Int -> ContainerInstance -> ShowS
Prelude.Show, (forall x. ContainerInstance -> Rep ContainerInstance x)
-> (forall x. Rep ContainerInstance x -> ContainerInstance)
-> Generic ContainerInstance
forall x. Rep ContainerInstance x -> ContainerInstance
forall x. ContainerInstance -> Rep ContainerInstance x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ContainerInstance x -> ContainerInstance
$cfrom :: forall x. ContainerInstance -> Rep ContainerInstance x
Prelude.Generic)
newContainerInstance ::
ContainerInstance
newContainerInstance :: ContainerInstance
newContainerInstance =
ContainerInstance' :: Maybe Text
-> Maybe [Attachment]
-> Maybe Int
-> Maybe [Resource]
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance
ContainerInstance'
{ $sel:status:ContainerInstance' :: Maybe Text
status = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:attachments:ContainerInstance' :: Maybe [Attachment]
attachments = Maybe [Attachment]
forall a. Maybe a
Prelude.Nothing,
$sel:runningTasksCount:ContainerInstance' :: Maybe Int
runningTasksCount = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:remainingResources:ContainerInstance' :: Maybe [Resource]
remainingResources = Maybe [Resource]
forall a. Maybe a
Prelude.Nothing,
$sel:ec2InstanceId:ContainerInstance' :: Maybe Text
ec2InstanceId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:containerInstanceArn:ContainerInstance' :: Maybe Text
containerInstanceArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:agentConnected:ContainerInstance' :: Maybe Bool
agentConnected = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:versionInfo:ContainerInstance' :: Maybe VersionInfo
versionInfo = Maybe VersionInfo
forall a. Maybe a
Prelude.Nothing,
$sel:agentUpdateStatus:ContainerInstance' :: Maybe AgentUpdateStatus
agentUpdateStatus = Maybe AgentUpdateStatus
forall a. Maybe a
Prelude.Nothing,
$sel:attributes:ContainerInstance' :: Maybe [Attribute]
attributes = Maybe [Attribute]
forall a. Maybe a
Prelude.Nothing,
$sel:version:ContainerInstance' :: Maybe Integer
version = Maybe Integer
forall a. Maybe a
Prelude.Nothing,
$sel:pendingTasksCount:ContainerInstance' :: Maybe Int
pendingTasksCount = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:capacityProviderName:ContainerInstance' :: Maybe Text
capacityProviderName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:registeredAt:ContainerInstance' :: Maybe POSIX
registeredAt = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:statusReason:ContainerInstance' :: Maybe Text
statusReason = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:tags:ContainerInstance' :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
$sel:registeredResources:ContainerInstance' :: Maybe [Resource]
registeredResources = Maybe [Resource]
forall a. Maybe a
Prelude.Nothing
}
containerInstance_status :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Text)
containerInstance_status :: (Maybe Text -> f (Maybe Text))
-> ContainerInstance -> f ContainerInstance
containerInstance_status = (ContainerInstance -> Maybe Text)
-> (ContainerInstance -> Maybe Text -> ContainerInstance)
-> Lens
ContainerInstance ContainerInstance (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe Text
status :: Maybe Text
$sel:status:ContainerInstance' :: ContainerInstance -> Maybe Text
status} -> Maybe Text
status) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe Text
a -> ContainerInstance
s {$sel:status:ContainerInstance' :: Maybe Text
status = Maybe Text
a} :: ContainerInstance)
containerInstance_attachments :: Lens.Lens' ContainerInstance (Prelude.Maybe [Attachment])
containerInstance_attachments :: (Maybe [Attachment] -> f (Maybe [Attachment]))
-> ContainerInstance -> f ContainerInstance
containerInstance_attachments = (ContainerInstance -> Maybe [Attachment])
-> (ContainerInstance -> Maybe [Attachment] -> ContainerInstance)
-> Lens
ContainerInstance
ContainerInstance
(Maybe [Attachment])
(Maybe [Attachment])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe [Attachment]
attachments :: Maybe [Attachment]
$sel:attachments:ContainerInstance' :: ContainerInstance -> Maybe [Attachment]
attachments} -> Maybe [Attachment]
attachments) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe [Attachment]
a -> ContainerInstance
s {$sel:attachments:ContainerInstance' :: Maybe [Attachment]
attachments = Maybe [Attachment]
a} :: ContainerInstance) ((Maybe [Attachment] -> f (Maybe [Attachment]))
-> ContainerInstance -> f ContainerInstance)
-> ((Maybe [Attachment] -> f (Maybe [Attachment]))
-> Maybe [Attachment] -> f (Maybe [Attachment]))
-> (Maybe [Attachment] -> f (Maybe [Attachment]))
-> ContainerInstance
-> f ContainerInstance
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Attachment] [Attachment] [Attachment] [Attachment]
-> Iso
(Maybe [Attachment])
(Maybe [Attachment])
(Maybe [Attachment])
(Maybe [Attachment])
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 [Attachment] [Attachment] [Attachment] [Attachment]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
containerInstance_runningTasksCount :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Int)
containerInstance_runningTasksCount :: (Maybe Int -> f (Maybe Int))
-> ContainerInstance -> f ContainerInstance
containerInstance_runningTasksCount = (ContainerInstance -> Maybe Int)
-> (ContainerInstance -> Maybe Int -> ContainerInstance)
-> Lens ContainerInstance ContainerInstance (Maybe Int) (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe Int
runningTasksCount :: Maybe Int
$sel:runningTasksCount:ContainerInstance' :: ContainerInstance -> Maybe Int
runningTasksCount} -> Maybe Int
runningTasksCount) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe Int
a -> ContainerInstance
s {$sel:runningTasksCount:ContainerInstance' :: Maybe Int
runningTasksCount = Maybe Int
a} :: ContainerInstance)
containerInstance_remainingResources :: Lens.Lens' ContainerInstance (Prelude.Maybe [Resource])
containerInstance_remainingResources :: (Maybe [Resource] -> f (Maybe [Resource]))
-> ContainerInstance -> f ContainerInstance
containerInstance_remainingResources = (ContainerInstance -> Maybe [Resource])
-> (ContainerInstance -> Maybe [Resource] -> ContainerInstance)
-> Lens
ContainerInstance
ContainerInstance
(Maybe [Resource])
(Maybe [Resource])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe [Resource]
remainingResources :: Maybe [Resource]
$sel:remainingResources:ContainerInstance' :: ContainerInstance -> Maybe [Resource]
remainingResources} -> Maybe [Resource]
remainingResources) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe [Resource]
a -> ContainerInstance
s {$sel:remainingResources:ContainerInstance' :: Maybe [Resource]
remainingResources = Maybe [Resource]
a} :: ContainerInstance) ((Maybe [Resource] -> f (Maybe [Resource]))
-> ContainerInstance -> f ContainerInstance)
-> ((Maybe [Resource] -> f (Maybe [Resource]))
-> Maybe [Resource] -> f (Maybe [Resource]))
-> (Maybe [Resource] -> f (Maybe [Resource]))
-> ContainerInstance
-> f ContainerInstance
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Resource] [Resource] [Resource] [Resource]
-> Iso
(Maybe [Resource])
(Maybe [Resource])
(Maybe [Resource])
(Maybe [Resource])
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 [Resource] [Resource] [Resource] [Resource]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
containerInstance_ec2InstanceId :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Text)
containerInstance_ec2InstanceId :: (Maybe Text -> f (Maybe Text))
-> ContainerInstance -> f ContainerInstance
containerInstance_ec2InstanceId = (ContainerInstance -> Maybe Text)
-> (ContainerInstance -> Maybe Text -> ContainerInstance)
-> Lens
ContainerInstance ContainerInstance (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe Text
ec2InstanceId :: Maybe Text
$sel:ec2InstanceId:ContainerInstance' :: ContainerInstance -> Maybe Text
ec2InstanceId} -> Maybe Text
ec2InstanceId) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe Text
a -> ContainerInstance
s {$sel:ec2InstanceId:ContainerInstance' :: Maybe Text
ec2InstanceId = Maybe Text
a} :: ContainerInstance)
containerInstance_containerInstanceArn :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Text)
containerInstance_containerInstanceArn :: (Maybe Text -> f (Maybe Text))
-> ContainerInstance -> f ContainerInstance
containerInstance_containerInstanceArn = (ContainerInstance -> Maybe Text)
-> (ContainerInstance -> Maybe Text -> ContainerInstance)
-> Lens
ContainerInstance ContainerInstance (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe Text
containerInstanceArn :: Maybe Text
$sel:containerInstanceArn:ContainerInstance' :: ContainerInstance -> Maybe Text
containerInstanceArn} -> Maybe Text
containerInstanceArn) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe Text
a -> ContainerInstance
s {$sel:containerInstanceArn:ContainerInstance' :: Maybe Text
containerInstanceArn = Maybe Text
a} :: ContainerInstance)
containerInstance_agentConnected :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Bool)
containerInstance_agentConnected :: (Maybe Bool -> f (Maybe Bool))
-> ContainerInstance -> f ContainerInstance
containerInstance_agentConnected = (ContainerInstance -> Maybe Bool)
-> (ContainerInstance -> Maybe Bool -> ContainerInstance)
-> Lens
ContainerInstance ContainerInstance (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe Bool
agentConnected :: Maybe Bool
$sel:agentConnected:ContainerInstance' :: ContainerInstance -> Maybe Bool
agentConnected} -> Maybe Bool
agentConnected) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe Bool
a -> ContainerInstance
s {$sel:agentConnected:ContainerInstance' :: Maybe Bool
agentConnected = Maybe Bool
a} :: ContainerInstance)
containerInstance_versionInfo :: Lens.Lens' ContainerInstance (Prelude.Maybe VersionInfo)
containerInstance_versionInfo :: (Maybe VersionInfo -> f (Maybe VersionInfo))
-> ContainerInstance -> f ContainerInstance
containerInstance_versionInfo = (ContainerInstance -> Maybe VersionInfo)
-> (ContainerInstance -> Maybe VersionInfo -> ContainerInstance)
-> Lens
ContainerInstance
ContainerInstance
(Maybe VersionInfo)
(Maybe VersionInfo)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe VersionInfo
versionInfo :: Maybe VersionInfo
$sel:versionInfo:ContainerInstance' :: ContainerInstance -> Maybe VersionInfo
versionInfo} -> Maybe VersionInfo
versionInfo) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe VersionInfo
a -> ContainerInstance
s {$sel:versionInfo:ContainerInstance' :: Maybe VersionInfo
versionInfo = Maybe VersionInfo
a} :: ContainerInstance)
containerInstance_agentUpdateStatus :: Lens.Lens' ContainerInstance (Prelude.Maybe AgentUpdateStatus)
containerInstance_agentUpdateStatus :: (Maybe AgentUpdateStatus -> f (Maybe AgentUpdateStatus))
-> ContainerInstance -> f ContainerInstance
containerInstance_agentUpdateStatus = (ContainerInstance -> Maybe AgentUpdateStatus)
-> (ContainerInstance
-> Maybe AgentUpdateStatus -> ContainerInstance)
-> Lens
ContainerInstance
ContainerInstance
(Maybe AgentUpdateStatus)
(Maybe AgentUpdateStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe AgentUpdateStatus
agentUpdateStatus :: Maybe AgentUpdateStatus
$sel:agentUpdateStatus:ContainerInstance' :: ContainerInstance -> Maybe AgentUpdateStatus
agentUpdateStatus} -> Maybe AgentUpdateStatus
agentUpdateStatus) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe AgentUpdateStatus
a -> ContainerInstance
s {$sel:agentUpdateStatus:ContainerInstance' :: Maybe AgentUpdateStatus
agentUpdateStatus = Maybe AgentUpdateStatus
a} :: ContainerInstance)
containerInstance_attributes :: Lens.Lens' ContainerInstance (Prelude.Maybe [Attribute])
containerInstance_attributes :: (Maybe [Attribute] -> f (Maybe [Attribute]))
-> ContainerInstance -> f ContainerInstance
containerInstance_attributes = (ContainerInstance -> Maybe [Attribute])
-> (ContainerInstance -> Maybe [Attribute] -> ContainerInstance)
-> Lens
ContainerInstance
ContainerInstance
(Maybe [Attribute])
(Maybe [Attribute])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe [Attribute]
attributes :: Maybe [Attribute]
$sel:attributes:ContainerInstance' :: ContainerInstance -> Maybe [Attribute]
attributes} -> Maybe [Attribute]
attributes) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe [Attribute]
a -> ContainerInstance
s {$sel:attributes:ContainerInstance' :: Maybe [Attribute]
attributes = Maybe [Attribute]
a} :: ContainerInstance) ((Maybe [Attribute] -> f (Maybe [Attribute]))
-> ContainerInstance -> f ContainerInstance)
-> ((Maybe [Attribute] -> f (Maybe [Attribute]))
-> Maybe [Attribute] -> f (Maybe [Attribute]))
-> (Maybe [Attribute] -> f (Maybe [Attribute]))
-> ContainerInstance
-> f ContainerInstance
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Attribute] [Attribute] [Attribute] [Attribute]
-> Iso
(Maybe [Attribute])
(Maybe [Attribute])
(Maybe [Attribute])
(Maybe [Attribute])
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 [Attribute] [Attribute] [Attribute] [Attribute]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
containerInstance_version :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Integer)
containerInstance_version :: (Maybe Integer -> f (Maybe Integer))
-> ContainerInstance -> f ContainerInstance
containerInstance_version = (ContainerInstance -> Maybe Integer)
-> (ContainerInstance -> Maybe Integer -> ContainerInstance)
-> Lens
ContainerInstance ContainerInstance (Maybe Integer) (Maybe Integer)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe Integer
version :: Maybe Integer
$sel:version:ContainerInstance' :: ContainerInstance -> Maybe Integer
version} -> Maybe Integer
version) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe Integer
a -> ContainerInstance
s {$sel:version:ContainerInstance' :: Maybe Integer
version = Maybe Integer
a} :: ContainerInstance)
containerInstance_pendingTasksCount :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Int)
containerInstance_pendingTasksCount :: (Maybe Int -> f (Maybe Int))
-> ContainerInstance -> f ContainerInstance
containerInstance_pendingTasksCount = (ContainerInstance -> Maybe Int)
-> (ContainerInstance -> Maybe Int -> ContainerInstance)
-> Lens ContainerInstance ContainerInstance (Maybe Int) (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe Int
pendingTasksCount :: Maybe Int
$sel:pendingTasksCount:ContainerInstance' :: ContainerInstance -> Maybe Int
pendingTasksCount} -> Maybe Int
pendingTasksCount) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe Int
a -> ContainerInstance
s {$sel:pendingTasksCount:ContainerInstance' :: Maybe Int
pendingTasksCount = Maybe Int
a} :: ContainerInstance)
containerInstance_capacityProviderName :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Text)
containerInstance_capacityProviderName :: (Maybe Text -> f (Maybe Text))
-> ContainerInstance -> f ContainerInstance
containerInstance_capacityProviderName = (ContainerInstance -> Maybe Text)
-> (ContainerInstance -> Maybe Text -> ContainerInstance)
-> Lens
ContainerInstance ContainerInstance (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe Text
capacityProviderName :: Maybe Text
$sel:capacityProviderName:ContainerInstance' :: ContainerInstance -> Maybe Text
capacityProviderName} -> Maybe Text
capacityProviderName) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe Text
a -> ContainerInstance
s {$sel:capacityProviderName:ContainerInstance' :: Maybe Text
capacityProviderName = Maybe Text
a} :: ContainerInstance)
containerInstance_registeredAt :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.UTCTime)
containerInstance_registeredAt :: (Maybe UTCTime -> f (Maybe UTCTime))
-> ContainerInstance -> f ContainerInstance
containerInstance_registeredAt = (ContainerInstance -> Maybe POSIX)
-> (ContainerInstance -> Maybe POSIX -> ContainerInstance)
-> Lens
ContainerInstance ContainerInstance (Maybe POSIX) (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe POSIX
registeredAt :: Maybe POSIX
$sel:registeredAt:ContainerInstance' :: ContainerInstance -> Maybe POSIX
registeredAt} -> Maybe POSIX
registeredAt) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe POSIX
a -> ContainerInstance
s {$sel:registeredAt:ContainerInstance' :: Maybe POSIX
registeredAt = Maybe POSIX
a} :: ContainerInstance) ((Maybe POSIX -> f (Maybe POSIX))
-> ContainerInstance -> f ContainerInstance)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> ContainerInstance
-> f ContainerInstance
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
containerInstance_statusReason :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Text)
containerInstance_statusReason :: (Maybe Text -> f (Maybe Text))
-> ContainerInstance -> f ContainerInstance
containerInstance_statusReason = (ContainerInstance -> Maybe Text)
-> (ContainerInstance -> Maybe Text -> ContainerInstance)
-> Lens
ContainerInstance ContainerInstance (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe Text
statusReason :: Maybe Text
$sel:statusReason:ContainerInstance' :: ContainerInstance -> Maybe Text
statusReason} -> Maybe Text
statusReason) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe Text
a -> ContainerInstance
s {$sel:statusReason:ContainerInstance' :: Maybe Text
statusReason = Maybe Text
a} :: ContainerInstance)
containerInstance_tags :: Lens.Lens' ContainerInstance (Prelude.Maybe [Tag])
containerInstance_tags :: (Maybe [Tag] -> f (Maybe [Tag]))
-> ContainerInstance -> f ContainerInstance
containerInstance_tags = (ContainerInstance -> Maybe [Tag])
-> (ContainerInstance -> Maybe [Tag] -> ContainerInstance)
-> Lens
ContainerInstance ContainerInstance (Maybe [Tag]) (Maybe [Tag])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:ContainerInstance' :: ContainerInstance -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe [Tag]
a -> ContainerInstance
s {$sel:tags:ContainerInstance' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: ContainerInstance) ((Maybe [Tag] -> f (Maybe [Tag]))
-> ContainerInstance -> f ContainerInstance)
-> ((Maybe [Tag] -> f (Maybe [Tag]))
-> Maybe [Tag] -> f (Maybe [Tag]))
-> (Maybe [Tag] -> f (Maybe [Tag]))
-> ContainerInstance
-> f ContainerInstance
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Tag] [Tag] [Tag] [Tag]
-> Iso (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag])
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 [Tag] [Tag] [Tag] [Tag]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
containerInstance_registeredResources :: Lens.Lens' ContainerInstance (Prelude.Maybe [Resource])
containerInstance_registeredResources :: (Maybe [Resource] -> f (Maybe [Resource]))
-> ContainerInstance -> f ContainerInstance
containerInstance_registeredResources = (ContainerInstance -> Maybe [Resource])
-> (ContainerInstance -> Maybe [Resource] -> ContainerInstance)
-> Lens
ContainerInstance
ContainerInstance
(Maybe [Resource])
(Maybe [Resource])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContainerInstance' {Maybe [Resource]
registeredResources :: Maybe [Resource]
$sel:registeredResources:ContainerInstance' :: ContainerInstance -> Maybe [Resource]
registeredResources} -> Maybe [Resource]
registeredResources) (\s :: ContainerInstance
s@ContainerInstance' {} Maybe [Resource]
a -> ContainerInstance
s {$sel:registeredResources:ContainerInstance' :: Maybe [Resource]
registeredResources = Maybe [Resource]
a} :: ContainerInstance) ((Maybe [Resource] -> f (Maybe [Resource]))
-> ContainerInstance -> f ContainerInstance)
-> ((Maybe [Resource] -> f (Maybe [Resource]))
-> Maybe [Resource] -> f (Maybe [Resource]))
-> (Maybe [Resource] -> f (Maybe [Resource]))
-> ContainerInstance
-> f ContainerInstance
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Resource] [Resource] [Resource] [Resource]
-> Iso
(Maybe [Resource])
(Maybe [Resource])
(Maybe [Resource])
(Maybe [Resource])
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 [Resource] [Resource] [Resource] [Resource]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.FromJSON ContainerInstance where
parseJSON :: Value -> Parser ContainerInstance
parseJSON =
String
-> (Object -> Parser ContainerInstance)
-> Value
-> Parser ContainerInstance
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"ContainerInstance"
( \Object
x ->
Maybe Text
-> Maybe [Attachment]
-> Maybe Int
-> Maybe [Resource]
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance
ContainerInstance'
(Maybe Text
-> Maybe [Attachment]
-> Maybe Int
-> Maybe [Resource]
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe Text)
-> Parser
(Maybe [Attachment]
-> Maybe Int
-> Maybe [Resource]
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
forall (f :: * -> *) a b. Functor 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
"status")
Parser
(Maybe [Attachment]
-> Maybe Int
-> Maybe [Resource]
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe [Attachment])
-> Parser
(Maybe Int
-> Maybe [Resource]
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Attachment]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"attachments" Parser (Maybe (Maybe [Attachment]))
-> Maybe [Attachment] -> Parser (Maybe [Attachment])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Attachment]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe Int
-> Maybe [Resource]
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe Int)
-> Parser
(Maybe [Resource]
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"runningTasksCount")
Parser
(Maybe [Resource]
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe [Resource])
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [Resource]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"remainingResources"
Parser (Maybe (Maybe [Resource]))
-> Maybe [Resource] -> Parser (Maybe [Resource])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Resource]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
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
"ec2InstanceId")
Parser
(Maybe Text
-> Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe Text)
-> Parser
(Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
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
"containerInstanceArn")
Parser
(Maybe Bool
-> Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe Bool)
-> Parser
(Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
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
"agentConnected")
Parser
(Maybe VersionInfo
-> Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe VersionInfo)
-> Parser
(Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe VersionInfo)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"versionInfo")
Parser
(Maybe AgentUpdateStatus
-> Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe AgentUpdateStatus)
-> Parser
(Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe AgentUpdateStatus)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"agentUpdateStatus")
Parser
(Maybe [Attribute]
-> Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe [Attribute])
-> Parser
(Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Attribute]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"attributes" Parser (Maybe (Maybe [Attribute]))
-> Maybe [Attribute] -> Parser (Maybe [Attribute])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Attribute]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe Integer
-> Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe Integer)
-> Parser
(Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Integer)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"version")
Parser
(Maybe Int
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe Int)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"pendingTasksCount")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
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
"capacityProviderName")
Parser
(Maybe POSIX
-> Maybe Text
-> Maybe [Tag]
-> Maybe [Resource]
-> ContainerInstance)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Text
-> Maybe [Tag] -> Maybe [Resource] -> ContainerInstance)
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
"registeredAt")
Parser
(Maybe Text
-> Maybe [Tag] -> Maybe [Resource] -> ContainerInstance)
-> Parser (Maybe Text)
-> Parser (Maybe [Tag] -> Maybe [Resource] -> ContainerInstance)
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
"statusReason")
Parser (Maybe [Tag] -> Maybe [Resource] -> ContainerInstance)
-> Parser (Maybe [Tag])
-> Parser (Maybe [Resource] -> ContainerInstance)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Tag]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"tags" Parser (Maybe (Maybe [Tag])) -> Maybe [Tag] -> Parser (Maybe [Tag])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Tag]
forall a. Monoid a => a
Prelude.mempty)
Parser (Maybe [Resource] -> ContainerInstance)
-> Parser (Maybe [Resource]) -> Parser ContainerInstance
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [Resource]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"registeredResources"
Parser (Maybe (Maybe [Resource]))
-> Maybe [Resource] -> Parser (Maybe [Resource])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Resource]
forall a. Monoid a => a
Prelude.mempty
)
)
instance Prelude.Hashable ContainerInstance
instance Prelude.NFData ContainerInstance