{-# 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.SSM.Types.MaintenanceWindowExecutionTaskInvocationIdentity where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.SSM.Types.MaintenanceWindowExecutionStatus
import Amazonka.SSM.Types.MaintenanceWindowTaskType
data MaintenanceWindowExecutionTaskInvocationIdentity = MaintenanceWindowExecutionTaskInvocationIdentity'
{
MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe MaintenanceWindowExecutionStatus
status :: Prelude.Maybe MaintenanceWindowExecutionStatus,
MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text
executionId :: Prelude.Maybe Prelude.Text,
MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text
taskExecutionId :: Prelude.Maybe Prelude.Text,
MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe POSIX
startTime :: Prelude.Maybe Core.POSIX,
MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text
invocationId :: Prelude.Maybe Prelude.Text,
MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe (Sensitive Text)
ownerInformation :: Prelude.Maybe (Core.Sensitive Prelude.Text),
MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe MaintenanceWindowTaskType
taskType :: Prelude.Maybe MaintenanceWindowTaskType,
MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text
windowTargetId :: Prelude.Maybe Prelude.Text,
MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text
windowExecutionId :: Prelude.Maybe Prelude.Text,
MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text
statusDetails :: Prelude.Maybe Prelude.Text,
MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe POSIX
endTime :: Prelude.Maybe Core.POSIX,
MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe (Sensitive Text)
parameters :: Prelude.Maybe (Core.Sensitive Prelude.Text)
}
deriving (MaintenanceWindowExecutionTaskInvocationIdentity
-> MaintenanceWindowExecutionTaskInvocationIdentity -> Bool
(MaintenanceWindowExecutionTaskInvocationIdentity
-> MaintenanceWindowExecutionTaskInvocationIdentity -> Bool)
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> MaintenanceWindowExecutionTaskInvocationIdentity -> Bool)
-> Eq MaintenanceWindowExecutionTaskInvocationIdentity
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MaintenanceWindowExecutionTaskInvocationIdentity
-> MaintenanceWindowExecutionTaskInvocationIdentity -> Bool
$c/= :: MaintenanceWindowExecutionTaskInvocationIdentity
-> MaintenanceWindowExecutionTaskInvocationIdentity -> Bool
== :: MaintenanceWindowExecutionTaskInvocationIdentity
-> MaintenanceWindowExecutionTaskInvocationIdentity -> Bool
$c== :: MaintenanceWindowExecutionTaskInvocationIdentity
-> MaintenanceWindowExecutionTaskInvocationIdentity -> Bool
Prelude.Eq, Int -> MaintenanceWindowExecutionTaskInvocationIdentity -> ShowS
[MaintenanceWindowExecutionTaskInvocationIdentity] -> ShowS
MaintenanceWindowExecutionTaskInvocationIdentity -> String
(Int -> MaintenanceWindowExecutionTaskInvocationIdentity -> ShowS)
-> (MaintenanceWindowExecutionTaskInvocationIdentity -> String)
-> ([MaintenanceWindowExecutionTaskInvocationIdentity] -> ShowS)
-> Show MaintenanceWindowExecutionTaskInvocationIdentity
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MaintenanceWindowExecutionTaskInvocationIdentity] -> ShowS
$cshowList :: [MaintenanceWindowExecutionTaskInvocationIdentity] -> ShowS
show :: MaintenanceWindowExecutionTaskInvocationIdentity -> String
$cshow :: MaintenanceWindowExecutionTaskInvocationIdentity -> String
showsPrec :: Int -> MaintenanceWindowExecutionTaskInvocationIdentity -> ShowS
$cshowsPrec :: Int -> MaintenanceWindowExecutionTaskInvocationIdentity -> ShowS
Prelude.Show, (forall x.
MaintenanceWindowExecutionTaskInvocationIdentity
-> Rep MaintenanceWindowExecutionTaskInvocationIdentity x)
-> (forall x.
Rep MaintenanceWindowExecutionTaskInvocationIdentity x
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Generic MaintenanceWindowExecutionTaskInvocationIdentity
forall x.
Rep MaintenanceWindowExecutionTaskInvocationIdentity x
-> MaintenanceWindowExecutionTaskInvocationIdentity
forall x.
MaintenanceWindowExecutionTaskInvocationIdentity
-> Rep MaintenanceWindowExecutionTaskInvocationIdentity x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep MaintenanceWindowExecutionTaskInvocationIdentity x
-> MaintenanceWindowExecutionTaskInvocationIdentity
$cfrom :: forall x.
MaintenanceWindowExecutionTaskInvocationIdentity
-> Rep MaintenanceWindowExecutionTaskInvocationIdentity x
Prelude.Generic)
newMaintenanceWindowExecutionTaskInvocationIdentity ::
MaintenanceWindowExecutionTaskInvocationIdentity
newMaintenanceWindowExecutionTaskInvocationIdentity :: MaintenanceWindowExecutionTaskInvocationIdentity
newMaintenanceWindowExecutionTaskInvocationIdentity =
MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe MaintenanceWindowExecutionStatus
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity'
{ $sel:status:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe MaintenanceWindowExecutionStatus
status =
Maybe MaintenanceWindowExecutionStatus
forall a. Maybe a
Prelude.Nothing,
$sel:executionId:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe Text
executionId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:taskExecutionId:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe Text
taskExecutionId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:startTime:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe POSIX
startTime =
Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:invocationId:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe Text
invocationId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:ownerInformation:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe (Sensitive Text)
ownerInformation =
Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:taskType:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe MaintenanceWindowTaskType
taskType =
Maybe MaintenanceWindowTaskType
forall a. Maybe a
Prelude.Nothing,
$sel:windowTargetId:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe Text
windowTargetId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:windowExecutionId:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe Text
windowExecutionId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:statusDetails:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe Text
statusDetails =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:endTime:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe POSIX
endTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:parameters:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe (Sensitive Text)
parameters =
Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing
}
maintenanceWindowExecutionTaskInvocationIdentity_status :: Lens.Lens' MaintenanceWindowExecutionTaskInvocationIdentity (Prelude.Maybe MaintenanceWindowExecutionStatus)
maintenanceWindowExecutionTaskInvocationIdentity_status :: (Maybe MaintenanceWindowExecutionStatus
-> f (Maybe MaintenanceWindowExecutionStatus))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
maintenanceWindowExecutionTaskInvocationIdentity_status = (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe MaintenanceWindowExecutionStatus)
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Lens
MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity
(Maybe MaintenanceWindowExecutionStatus)
(Maybe MaintenanceWindowExecutionStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MaintenanceWindowExecutionTaskInvocationIdentity' {Maybe MaintenanceWindowExecutionStatus
status :: Maybe MaintenanceWindowExecutionStatus
$sel:status:MaintenanceWindowExecutionTaskInvocationIdentity' :: MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe MaintenanceWindowExecutionStatus
status} -> Maybe MaintenanceWindowExecutionStatus
status) (\s :: MaintenanceWindowExecutionTaskInvocationIdentity
s@MaintenanceWindowExecutionTaskInvocationIdentity' {} Maybe MaintenanceWindowExecutionStatus
a -> MaintenanceWindowExecutionTaskInvocationIdentity
s {$sel:status:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe MaintenanceWindowExecutionStatus
status = Maybe MaintenanceWindowExecutionStatus
a} :: MaintenanceWindowExecutionTaskInvocationIdentity)
maintenanceWindowExecutionTaskInvocationIdentity_executionId :: Lens.Lens' MaintenanceWindowExecutionTaskInvocationIdentity (Prelude.Maybe Prelude.Text)
maintenanceWindowExecutionTaskInvocationIdentity_executionId :: (Maybe Text -> f (Maybe Text))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
maintenanceWindowExecutionTaskInvocationIdentity_executionId = (MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text)
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe Text -> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Lens
MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MaintenanceWindowExecutionTaskInvocationIdentity' {Maybe Text
executionId :: Maybe Text
$sel:executionId:MaintenanceWindowExecutionTaskInvocationIdentity' :: MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text
executionId} -> Maybe Text
executionId) (\s :: MaintenanceWindowExecutionTaskInvocationIdentity
s@MaintenanceWindowExecutionTaskInvocationIdentity' {} Maybe Text
a -> MaintenanceWindowExecutionTaskInvocationIdentity
s {$sel:executionId:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe Text
executionId = Maybe Text
a} :: MaintenanceWindowExecutionTaskInvocationIdentity)
maintenanceWindowExecutionTaskInvocationIdentity_taskExecutionId :: Lens.Lens' MaintenanceWindowExecutionTaskInvocationIdentity (Prelude.Maybe Prelude.Text)
maintenanceWindowExecutionTaskInvocationIdentity_taskExecutionId :: (Maybe Text -> f (Maybe Text))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
maintenanceWindowExecutionTaskInvocationIdentity_taskExecutionId = (MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text)
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe Text -> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Lens
MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MaintenanceWindowExecutionTaskInvocationIdentity' {Maybe Text
taskExecutionId :: Maybe Text
$sel:taskExecutionId:MaintenanceWindowExecutionTaskInvocationIdentity' :: MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text
taskExecutionId} -> Maybe Text
taskExecutionId) (\s :: MaintenanceWindowExecutionTaskInvocationIdentity
s@MaintenanceWindowExecutionTaskInvocationIdentity' {} Maybe Text
a -> MaintenanceWindowExecutionTaskInvocationIdentity
s {$sel:taskExecutionId:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe Text
taskExecutionId = Maybe Text
a} :: MaintenanceWindowExecutionTaskInvocationIdentity)
maintenanceWindowExecutionTaskInvocationIdentity_startTime :: Lens.Lens' MaintenanceWindowExecutionTaskInvocationIdentity (Prelude.Maybe Prelude.UTCTime)
maintenanceWindowExecutionTaskInvocationIdentity_startTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
maintenanceWindowExecutionTaskInvocationIdentity_startTime = (MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe POSIX)
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe POSIX -> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Lens
MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MaintenanceWindowExecutionTaskInvocationIdentity' {Maybe POSIX
startTime :: Maybe POSIX
$sel:startTime:MaintenanceWindowExecutionTaskInvocationIdentity' :: MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe POSIX
startTime} -> Maybe POSIX
startTime) (\s :: MaintenanceWindowExecutionTaskInvocationIdentity
s@MaintenanceWindowExecutionTaskInvocationIdentity' {} Maybe POSIX
a -> MaintenanceWindowExecutionTaskInvocationIdentity
s {$sel:startTime:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe POSIX
startTime = Maybe POSIX
a} :: MaintenanceWindowExecutionTaskInvocationIdentity) ((Maybe POSIX -> f (Maybe POSIX))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
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
maintenanceWindowExecutionTaskInvocationIdentity_invocationId :: Lens.Lens' MaintenanceWindowExecutionTaskInvocationIdentity (Prelude.Maybe Prelude.Text)
maintenanceWindowExecutionTaskInvocationIdentity_invocationId :: (Maybe Text -> f (Maybe Text))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
maintenanceWindowExecutionTaskInvocationIdentity_invocationId = (MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text)
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe Text -> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Lens
MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MaintenanceWindowExecutionTaskInvocationIdentity' {Maybe Text
invocationId :: Maybe Text
$sel:invocationId:MaintenanceWindowExecutionTaskInvocationIdentity' :: MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text
invocationId} -> Maybe Text
invocationId) (\s :: MaintenanceWindowExecutionTaskInvocationIdentity
s@MaintenanceWindowExecutionTaskInvocationIdentity' {} Maybe Text
a -> MaintenanceWindowExecutionTaskInvocationIdentity
s {$sel:invocationId:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe Text
invocationId = Maybe Text
a} :: MaintenanceWindowExecutionTaskInvocationIdentity)
maintenanceWindowExecutionTaskInvocationIdentity_ownerInformation :: Lens.Lens' MaintenanceWindowExecutionTaskInvocationIdentity (Prelude.Maybe Prelude.Text)
maintenanceWindowExecutionTaskInvocationIdentity_ownerInformation :: (Maybe Text -> f (Maybe Text))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
maintenanceWindowExecutionTaskInvocationIdentity_ownerInformation = (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe (Sensitive Text))
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Lens
MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MaintenanceWindowExecutionTaskInvocationIdentity' {Maybe (Sensitive Text)
ownerInformation :: Maybe (Sensitive Text)
$sel:ownerInformation:MaintenanceWindowExecutionTaskInvocationIdentity' :: MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe (Sensitive Text)
ownerInformation} -> Maybe (Sensitive Text)
ownerInformation) (\s :: MaintenanceWindowExecutionTaskInvocationIdentity
s@MaintenanceWindowExecutionTaskInvocationIdentity' {} Maybe (Sensitive Text)
a -> MaintenanceWindowExecutionTaskInvocationIdentity
s {$sel:ownerInformation:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe (Sensitive Text)
ownerInformation = Maybe (Sensitive Text)
a} :: MaintenanceWindowExecutionTaskInvocationIdentity) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
(Maybe Text)
(Maybe 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 (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive
maintenanceWindowExecutionTaskInvocationIdentity_taskType :: Lens.Lens' MaintenanceWindowExecutionTaskInvocationIdentity (Prelude.Maybe MaintenanceWindowTaskType)
maintenanceWindowExecutionTaskInvocationIdentity_taskType :: (Maybe MaintenanceWindowTaskType
-> f (Maybe MaintenanceWindowTaskType))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
maintenanceWindowExecutionTaskInvocationIdentity_taskType = (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe MaintenanceWindowTaskType)
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe MaintenanceWindowTaskType
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Lens
MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity
(Maybe MaintenanceWindowTaskType)
(Maybe MaintenanceWindowTaskType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MaintenanceWindowExecutionTaskInvocationIdentity' {Maybe MaintenanceWindowTaskType
taskType :: Maybe MaintenanceWindowTaskType
$sel:taskType:MaintenanceWindowExecutionTaskInvocationIdentity' :: MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe MaintenanceWindowTaskType
taskType} -> Maybe MaintenanceWindowTaskType
taskType) (\s :: MaintenanceWindowExecutionTaskInvocationIdentity
s@MaintenanceWindowExecutionTaskInvocationIdentity' {} Maybe MaintenanceWindowTaskType
a -> MaintenanceWindowExecutionTaskInvocationIdentity
s {$sel:taskType:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe MaintenanceWindowTaskType
taskType = Maybe MaintenanceWindowTaskType
a} :: MaintenanceWindowExecutionTaskInvocationIdentity)
maintenanceWindowExecutionTaskInvocationIdentity_windowTargetId :: Lens.Lens' MaintenanceWindowExecutionTaskInvocationIdentity (Prelude.Maybe Prelude.Text)
maintenanceWindowExecutionTaskInvocationIdentity_windowTargetId :: (Maybe Text -> f (Maybe Text))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
maintenanceWindowExecutionTaskInvocationIdentity_windowTargetId = (MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text)
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe Text -> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Lens
MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MaintenanceWindowExecutionTaskInvocationIdentity' {Maybe Text
windowTargetId :: Maybe Text
$sel:windowTargetId:MaintenanceWindowExecutionTaskInvocationIdentity' :: MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text
windowTargetId} -> Maybe Text
windowTargetId) (\s :: MaintenanceWindowExecutionTaskInvocationIdentity
s@MaintenanceWindowExecutionTaskInvocationIdentity' {} Maybe Text
a -> MaintenanceWindowExecutionTaskInvocationIdentity
s {$sel:windowTargetId:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe Text
windowTargetId = Maybe Text
a} :: MaintenanceWindowExecutionTaskInvocationIdentity)
maintenanceWindowExecutionTaskInvocationIdentity_windowExecutionId :: Lens.Lens' MaintenanceWindowExecutionTaskInvocationIdentity (Prelude.Maybe Prelude.Text)
maintenanceWindowExecutionTaskInvocationIdentity_windowExecutionId :: (Maybe Text -> f (Maybe Text))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
maintenanceWindowExecutionTaskInvocationIdentity_windowExecutionId = (MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text)
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe Text -> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Lens
MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MaintenanceWindowExecutionTaskInvocationIdentity' {Maybe Text
windowExecutionId :: Maybe Text
$sel:windowExecutionId:MaintenanceWindowExecutionTaskInvocationIdentity' :: MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text
windowExecutionId} -> Maybe Text
windowExecutionId) (\s :: MaintenanceWindowExecutionTaskInvocationIdentity
s@MaintenanceWindowExecutionTaskInvocationIdentity' {} Maybe Text
a -> MaintenanceWindowExecutionTaskInvocationIdentity
s {$sel:windowExecutionId:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe Text
windowExecutionId = Maybe Text
a} :: MaintenanceWindowExecutionTaskInvocationIdentity)
maintenanceWindowExecutionTaskInvocationIdentity_statusDetails :: Lens.Lens' MaintenanceWindowExecutionTaskInvocationIdentity (Prelude.Maybe Prelude.Text)
maintenanceWindowExecutionTaskInvocationIdentity_statusDetails :: (Maybe Text -> f (Maybe Text))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
maintenanceWindowExecutionTaskInvocationIdentity_statusDetails = (MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text)
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe Text -> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Lens
MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MaintenanceWindowExecutionTaskInvocationIdentity' {Maybe Text
statusDetails :: Maybe Text
$sel:statusDetails:MaintenanceWindowExecutionTaskInvocationIdentity' :: MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe Text
statusDetails} -> Maybe Text
statusDetails) (\s :: MaintenanceWindowExecutionTaskInvocationIdentity
s@MaintenanceWindowExecutionTaskInvocationIdentity' {} Maybe Text
a -> MaintenanceWindowExecutionTaskInvocationIdentity
s {$sel:statusDetails:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe Text
statusDetails = Maybe Text
a} :: MaintenanceWindowExecutionTaskInvocationIdentity)
maintenanceWindowExecutionTaskInvocationIdentity_endTime :: Lens.Lens' MaintenanceWindowExecutionTaskInvocationIdentity (Prelude.Maybe Prelude.UTCTime)
maintenanceWindowExecutionTaskInvocationIdentity_endTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
maintenanceWindowExecutionTaskInvocationIdentity_endTime = (MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe POSIX)
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe POSIX -> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Lens
MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MaintenanceWindowExecutionTaskInvocationIdentity' {Maybe POSIX
endTime :: Maybe POSIX
$sel:endTime:MaintenanceWindowExecutionTaskInvocationIdentity' :: MaintenanceWindowExecutionTaskInvocationIdentity -> Maybe POSIX
endTime} -> Maybe POSIX
endTime) (\s :: MaintenanceWindowExecutionTaskInvocationIdentity
s@MaintenanceWindowExecutionTaskInvocationIdentity' {} Maybe POSIX
a -> MaintenanceWindowExecutionTaskInvocationIdentity
s {$sel:endTime:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe POSIX
endTime = Maybe POSIX
a} :: MaintenanceWindowExecutionTaskInvocationIdentity) ((Maybe POSIX -> f (Maybe POSIX))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
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
maintenanceWindowExecutionTaskInvocationIdentity_parameters :: Lens.Lens' MaintenanceWindowExecutionTaskInvocationIdentity (Prelude.Maybe Prelude.Text)
maintenanceWindowExecutionTaskInvocationIdentity_parameters :: (Maybe Text -> f (Maybe Text))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
maintenanceWindowExecutionTaskInvocationIdentity_parameters = (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe (Sensitive Text))
-> (MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Lens
MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MaintenanceWindowExecutionTaskInvocationIdentity' {Maybe (Sensitive Text)
parameters :: Maybe (Sensitive Text)
$sel:parameters:MaintenanceWindowExecutionTaskInvocationIdentity' :: MaintenanceWindowExecutionTaskInvocationIdentity
-> Maybe (Sensitive Text)
parameters} -> Maybe (Sensitive Text)
parameters) (\s :: MaintenanceWindowExecutionTaskInvocationIdentity
s@MaintenanceWindowExecutionTaskInvocationIdentity' {} Maybe (Sensitive Text)
a -> MaintenanceWindowExecutionTaskInvocationIdentity
s {$sel:parameters:MaintenanceWindowExecutionTaskInvocationIdentity' :: Maybe (Sensitive Text)
parameters = Maybe (Sensitive Text)
a} :: MaintenanceWindowExecutionTaskInvocationIdentity) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> MaintenanceWindowExecutionTaskInvocationIdentity
-> f MaintenanceWindowExecutionTaskInvocationIdentity
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
(Maybe Text)
(Maybe 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 (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive
instance
Core.FromJSON
MaintenanceWindowExecutionTaskInvocationIdentity
where
parseJSON :: Value -> Parser MaintenanceWindowExecutionTaskInvocationIdentity
parseJSON =
String
-> (Object
-> Parser MaintenanceWindowExecutionTaskInvocationIdentity)
-> Value
-> Parser MaintenanceWindowExecutionTaskInvocationIdentity
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"MaintenanceWindowExecutionTaskInvocationIdentity"
( \Object
x ->
Maybe MaintenanceWindowExecutionStatus
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity
MaintenanceWindowExecutionTaskInvocationIdentity'
(Maybe MaintenanceWindowExecutionStatus
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Parser (Maybe MaintenanceWindowExecutionStatus)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe MaintenanceWindowExecutionStatus)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Status")
Parser
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
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
"ExecutionId")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
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
"TaskExecutionId")
Parser
(Maybe POSIX
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Text
-> Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
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
"StartTime")
Parser
(Maybe Text
-> Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Parser (Maybe Text)
-> Parser
(Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
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
"InvocationId")
Parser
(Maybe (Sensitive Text)
-> Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Parser (Maybe (Sensitive Text))
-> Parser
(Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Sensitive Text))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"OwnerInformation")
Parser
(Maybe MaintenanceWindowTaskType
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Parser (Maybe MaintenanceWindowTaskType)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe MaintenanceWindowTaskType)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"TaskType")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
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
"WindowTargetId")
Parser
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
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
"WindowExecutionId")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
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
"StatusDetails")
Parser
(Maybe POSIX
-> Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Parser (Maybe POSIX)
-> Parser
(Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
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
"EndTime")
Parser
(Maybe (Sensitive Text)
-> MaintenanceWindowExecutionTaskInvocationIdentity)
-> Parser (Maybe (Sensitive Text))
-> Parser MaintenanceWindowExecutionTaskInvocationIdentity
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Sensitive Text))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Parameters")
)
instance
Prelude.Hashable
MaintenanceWindowExecutionTaskInvocationIdentity
instance
Prelude.NFData
MaintenanceWindowExecutionTaskInvocationIdentity