{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.SSM.UpdateMaintenanceWindowTask
(
UpdateMaintenanceWindowTask (..),
newUpdateMaintenanceWindowTask,
updateMaintenanceWindowTask_serviceRoleArn,
updateMaintenanceWindowTask_replace,
updateMaintenanceWindowTask_taskParameters,
updateMaintenanceWindowTask_priority,
updateMaintenanceWindowTask_taskArn,
updateMaintenanceWindowTask_cutoffBehavior,
updateMaintenanceWindowTask_maxErrors,
updateMaintenanceWindowTask_taskInvocationParameters,
updateMaintenanceWindowTask_name,
updateMaintenanceWindowTask_targets,
updateMaintenanceWindowTask_loggingInfo,
updateMaintenanceWindowTask_description,
updateMaintenanceWindowTask_maxConcurrency,
updateMaintenanceWindowTask_windowId,
updateMaintenanceWindowTask_windowTaskId,
UpdateMaintenanceWindowTaskResponse (..),
newUpdateMaintenanceWindowTaskResponse,
updateMaintenanceWindowTaskResponse_serviceRoleArn,
updateMaintenanceWindowTaskResponse_windowTaskId,
updateMaintenanceWindowTaskResponse_taskParameters,
updateMaintenanceWindowTaskResponse_priority,
updateMaintenanceWindowTaskResponse_taskArn,
updateMaintenanceWindowTaskResponse_cutoffBehavior,
updateMaintenanceWindowTaskResponse_maxErrors,
updateMaintenanceWindowTaskResponse_taskInvocationParameters,
updateMaintenanceWindowTaskResponse_name,
updateMaintenanceWindowTaskResponse_targets,
updateMaintenanceWindowTaskResponse_loggingInfo,
updateMaintenanceWindowTaskResponse_description,
updateMaintenanceWindowTaskResponse_maxConcurrency,
updateMaintenanceWindowTaskResponse_windowId,
updateMaintenanceWindowTaskResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.SSM.Types
data UpdateMaintenanceWindowTask = UpdateMaintenanceWindowTask'
{
UpdateMaintenanceWindowTask -> Maybe Text
serviceRoleArn :: Prelude.Maybe Prelude.Text,
UpdateMaintenanceWindowTask -> Maybe Bool
replace :: Prelude.Maybe Prelude.Bool,
UpdateMaintenanceWindowTask
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters :: Prelude.Maybe (Core.Sensitive (Prelude.HashMap Prelude.Text (Core.Sensitive MaintenanceWindowTaskParameterValueExpression))),
UpdateMaintenanceWindowTask -> Maybe Natural
priority :: Prelude.Maybe Prelude.Natural,
UpdateMaintenanceWindowTask -> Maybe Text
taskArn :: Prelude.Maybe Prelude.Text,
UpdateMaintenanceWindowTask
-> Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior :: Prelude.Maybe MaintenanceWindowTaskCutoffBehavior,
UpdateMaintenanceWindowTask -> Maybe Text
maxErrors :: Prelude.Maybe Prelude.Text,
UpdateMaintenanceWindowTask
-> Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters :: Prelude.Maybe MaintenanceWindowTaskInvocationParameters,
UpdateMaintenanceWindowTask -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
UpdateMaintenanceWindowTask -> Maybe [Target]
targets :: Prelude.Maybe [Target],
UpdateMaintenanceWindowTask -> Maybe LoggingInfo
loggingInfo :: Prelude.Maybe LoggingInfo,
UpdateMaintenanceWindowTask -> Maybe (Sensitive Text)
description :: Prelude.Maybe (Core.Sensitive Prelude.Text),
UpdateMaintenanceWindowTask -> Maybe Text
maxConcurrency :: Prelude.Maybe Prelude.Text,
UpdateMaintenanceWindowTask -> Text
windowId :: Prelude.Text,
UpdateMaintenanceWindowTask -> Text
windowTaskId :: Prelude.Text
}
deriving (UpdateMaintenanceWindowTask -> UpdateMaintenanceWindowTask -> Bool
(UpdateMaintenanceWindowTask
-> UpdateMaintenanceWindowTask -> Bool)
-> (UpdateMaintenanceWindowTask
-> UpdateMaintenanceWindowTask -> Bool)
-> Eq UpdateMaintenanceWindowTask
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateMaintenanceWindowTask -> UpdateMaintenanceWindowTask -> Bool
$c/= :: UpdateMaintenanceWindowTask -> UpdateMaintenanceWindowTask -> Bool
== :: UpdateMaintenanceWindowTask -> UpdateMaintenanceWindowTask -> Bool
$c== :: UpdateMaintenanceWindowTask -> UpdateMaintenanceWindowTask -> Bool
Prelude.Eq, Int -> UpdateMaintenanceWindowTask -> ShowS
[UpdateMaintenanceWindowTask] -> ShowS
UpdateMaintenanceWindowTask -> String
(Int -> UpdateMaintenanceWindowTask -> ShowS)
-> (UpdateMaintenanceWindowTask -> String)
-> ([UpdateMaintenanceWindowTask] -> ShowS)
-> Show UpdateMaintenanceWindowTask
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateMaintenanceWindowTask] -> ShowS
$cshowList :: [UpdateMaintenanceWindowTask] -> ShowS
show :: UpdateMaintenanceWindowTask -> String
$cshow :: UpdateMaintenanceWindowTask -> String
showsPrec :: Int -> UpdateMaintenanceWindowTask -> ShowS
$cshowsPrec :: Int -> UpdateMaintenanceWindowTask -> ShowS
Prelude.Show, (forall x.
UpdateMaintenanceWindowTask -> Rep UpdateMaintenanceWindowTask x)
-> (forall x.
Rep UpdateMaintenanceWindowTask x -> UpdateMaintenanceWindowTask)
-> Generic UpdateMaintenanceWindowTask
forall x.
Rep UpdateMaintenanceWindowTask x -> UpdateMaintenanceWindowTask
forall x.
UpdateMaintenanceWindowTask -> Rep UpdateMaintenanceWindowTask x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateMaintenanceWindowTask x -> UpdateMaintenanceWindowTask
$cfrom :: forall x.
UpdateMaintenanceWindowTask -> Rep UpdateMaintenanceWindowTask x
Prelude.Generic)
newUpdateMaintenanceWindowTask ::
Prelude.Text ->
Prelude.Text ->
UpdateMaintenanceWindowTask
newUpdateMaintenanceWindowTask :: Text -> Text -> UpdateMaintenanceWindowTask
newUpdateMaintenanceWindowTask
Text
pWindowId_
Text
pWindowTaskId_ =
UpdateMaintenanceWindowTask' :: Maybe Text
-> Maybe Bool
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Maybe Natural
-> Maybe Text
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Text
-> Text
-> UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask'
{ $sel:serviceRoleArn:UpdateMaintenanceWindowTask' :: Maybe Text
serviceRoleArn =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:replace:UpdateMaintenanceWindowTask' :: Maybe Bool
replace = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:taskParameters:UpdateMaintenanceWindowTask' :: Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters = Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
forall a. Maybe a
Prelude.Nothing,
$sel:priority:UpdateMaintenanceWindowTask' :: Maybe Natural
priority = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:taskArn:UpdateMaintenanceWindowTask' :: Maybe Text
taskArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:cutoffBehavior:UpdateMaintenanceWindowTask' :: Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior = Maybe MaintenanceWindowTaskCutoffBehavior
forall a. Maybe a
Prelude.Nothing,
$sel:maxErrors:UpdateMaintenanceWindowTask' :: Maybe Text
maxErrors = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:taskInvocationParameters:UpdateMaintenanceWindowTask' :: Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters = Maybe MaintenanceWindowTaskInvocationParameters
forall a. Maybe a
Prelude.Nothing,
$sel:name:UpdateMaintenanceWindowTask' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:targets:UpdateMaintenanceWindowTask' :: Maybe [Target]
targets = Maybe [Target]
forall a. Maybe a
Prelude.Nothing,
$sel:loggingInfo:UpdateMaintenanceWindowTask' :: Maybe LoggingInfo
loggingInfo = Maybe LoggingInfo
forall a. Maybe a
Prelude.Nothing,
$sel:description:UpdateMaintenanceWindowTask' :: Maybe (Sensitive Text)
description = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:maxConcurrency:UpdateMaintenanceWindowTask' :: Maybe Text
maxConcurrency = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:windowId:UpdateMaintenanceWindowTask' :: Text
windowId = Text
pWindowId_,
$sel:windowTaskId:UpdateMaintenanceWindowTask' :: Text
windowTaskId = Text
pWindowTaskId_
}
updateMaintenanceWindowTask_serviceRoleArn :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTask_serviceRoleArn :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_serviceRoleArn = (UpdateMaintenanceWindowTask -> Maybe Text)
-> (UpdateMaintenanceWindowTask
-> Maybe Text -> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe Text
serviceRoleArn :: Maybe Text
$sel:serviceRoleArn:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Text
serviceRoleArn} -> Maybe Text
serviceRoleArn) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe Text
a -> UpdateMaintenanceWindowTask
s {$sel:serviceRoleArn:UpdateMaintenanceWindowTask' :: Maybe Text
serviceRoleArn = Maybe Text
a} :: UpdateMaintenanceWindowTask)
updateMaintenanceWindowTask_replace :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe Prelude.Bool)
updateMaintenanceWindowTask_replace :: (Maybe Bool -> f (Maybe Bool))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_replace = (UpdateMaintenanceWindowTask -> Maybe Bool)
-> (UpdateMaintenanceWindowTask
-> Maybe Bool -> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe Bool
replace :: Maybe Bool
$sel:replace:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Bool
replace} -> Maybe Bool
replace) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe Bool
a -> UpdateMaintenanceWindowTask
s {$sel:replace:UpdateMaintenanceWindowTask' :: Maybe Bool
replace = Maybe Bool
a} :: UpdateMaintenanceWindowTask)
updateMaintenanceWindowTask_taskParameters :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe (Prelude.HashMap Prelude.Text MaintenanceWindowTaskParameterValueExpression))
updateMaintenanceWindowTask_taskParameters :: (Maybe (HashMap Text MaintenanceWindowTaskParameterValueExpression)
-> f (Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression)))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_taskParameters = (UpdateMaintenanceWindowTask
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
-> (UpdateMaintenanceWindowTask
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters :: Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
$sel:taskParameters:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters} -> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
a -> UpdateMaintenanceWindowTask
s {$sel:taskParameters:UpdateMaintenanceWindowTask' :: Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters = Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
a} :: UpdateMaintenanceWindowTask) ((Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> f (Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask)
-> ((Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
-> f (Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression)))
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> f (Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))))
-> (Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
-> f (Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression)))
-> UpdateMaintenanceWindowTask
-> f UpdateMaintenanceWindowTask
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
-> Iso
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
(Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression))
(Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression))
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 (Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))
(Identity
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
(Identity
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
forall a. Iso' (Sensitive a) a
Core._Sensitive (Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))
(Identity
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
(Identity
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))))
-> (Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(Identity
(HashMap Text MaintenanceWindowTaskParameterValueExpression))
-> Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))
(Identity
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
-> AnIso
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(Identity
(HashMap Text MaintenanceWindowTaskParameterValueExpression))
-> Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))
(Identity
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced)
updateMaintenanceWindowTask_priority :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe Prelude.Natural)
updateMaintenanceWindowTask_priority :: (Maybe Natural -> f (Maybe Natural))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_priority = (UpdateMaintenanceWindowTask -> Maybe Natural)
-> (UpdateMaintenanceWindowTask
-> Maybe Natural -> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe Natural
priority :: Maybe Natural
$sel:priority:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Natural
priority} -> Maybe Natural
priority) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe Natural
a -> UpdateMaintenanceWindowTask
s {$sel:priority:UpdateMaintenanceWindowTask' :: Maybe Natural
priority = Maybe Natural
a} :: UpdateMaintenanceWindowTask)
updateMaintenanceWindowTask_taskArn :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTask_taskArn :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_taskArn = (UpdateMaintenanceWindowTask -> Maybe Text)
-> (UpdateMaintenanceWindowTask
-> Maybe Text -> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe Text
taskArn :: Maybe Text
$sel:taskArn:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Text
taskArn} -> Maybe Text
taskArn) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe Text
a -> UpdateMaintenanceWindowTask
s {$sel:taskArn:UpdateMaintenanceWindowTask' :: Maybe Text
taskArn = Maybe Text
a} :: UpdateMaintenanceWindowTask)
updateMaintenanceWindowTask_cutoffBehavior :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe MaintenanceWindowTaskCutoffBehavior)
updateMaintenanceWindowTask_cutoffBehavior :: (Maybe MaintenanceWindowTaskCutoffBehavior
-> f (Maybe MaintenanceWindowTaskCutoffBehavior))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_cutoffBehavior = (UpdateMaintenanceWindowTask
-> Maybe MaintenanceWindowTaskCutoffBehavior)
-> (UpdateMaintenanceWindowTask
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe MaintenanceWindowTaskCutoffBehavior)
(Maybe MaintenanceWindowTaskCutoffBehavior)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior :: Maybe MaintenanceWindowTaskCutoffBehavior
$sel:cutoffBehavior:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask
-> Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior} -> Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe MaintenanceWindowTaskCutoffBehavior
a -> UpdateMaintenanceWindowTask
s {$sel:cutoffBehavior:UpdateMaintenanceWindowTask' :: Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior = Maybe MaintenanceWindowTaskCutoffBehavior
a} :: UpdateMaintenanceWindowTask)
updateMaintenanceWindowTask_maxErrors :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTask_maxErrors :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_maxErrors = (UpdateMaintenanceWindowTask -> Maybe Text)
-> (UpdateMaintenanceWindowTask
-> Maybe Text -> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe Text
maxErrors :: Maybe Text
$sel:maxErrors:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Text
maxErrors} -> Maybe Text
maxErrors) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe Text
a -> UpdateMaintenanceWindowTask
s {$sel:maxErrors:UpdateMaintenanceWindowTask' :: Maybe Text
maxErrors = Maybe Text
a} :: UpdateMaintenanceWindowTask)
updateMaintenanceWindowTask_taskInvocationParameters :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe MaintenanceWindowTaskInvocationParameters)
updateMaintenanceWindowTask_taskInvocationParameters :: (Maybe MaintenanceWindowTaskInvocationParameters
-> f (Maybe MaintenanceWindowTaskInvocationParameters))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_taskInvocationParameters = (UpdateMaintenanceWindowTask
-> Maybe MaintenanceWindowTaskInvocationParameters)
-> (UpdateMaintenanceWindowTask
-> Maybe MaintenanceWindowTaskInvocationParameters
-> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe MaintenanceWindowTaskInvocationParameters)
(Maybe MaintenanceWindowTaskInvocationParameters)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters :: Maybe MaintenanceWindowTaskInvocationParameters
$sel:taskInvocationParameters:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask
-> Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters} -> Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe MaintenanceWindowTaskInvocationParameters
a -> UpdateMaintenanceWindowTask
s {$sel:taskInvocationParameters:UpdateMaintenanceWindowTask' :: Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters = Maybe MaintenanceWindowTaskInvocationParameters
a} :: UpdateMaintenanceWindowTask)
updateMaintenanceWindowTask_name :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTask_name :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_name = (UpdateMaintenanceWindowTask -> Maybe Text)
-> (UpdateMaintenanceWindowTask
-> Maybe Text -> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe Text
name :: Maybe Text
$sel:name:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Text
name} -> Maybe Text
name) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe Text
a -> UpdateMaintenanceWindowTask
s {$sel:name:UpdateMaintenanceWindowTask' :: Maybe Text
name = Maybe Text
a} :: UpdateMaintenanceWindowTask)
updateMaintenanceWindowTask_targets :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe [Target])
updateMaintenanceWindowTask_targets :: (Maybe [Target] -> f (Maybe [Target]))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_targets = (UpdateMaintenanceWindowTask -> Maybe [Target])
-> (UpdateMaintenanceWindowTask
-> Maybe [Target] -> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe [Target])
(Maybe [Target])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe [Target]
targets :: Maybe [Target]
$sel:targets:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe [Target]
targets} -> Maybe [Target]
targets) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe [Target]
a -> UpdateMaintenanceWindowTask
s {$sel:targets:UpdateMaintenanceWindowTask' :: Maybe [Target]
targets = Maybe [Target]
a} :: UpdateMaintenanceWindowTask) ((Maybe [Target] -> f (Maybe [Target]))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask)
-> ((Maybe [Target] -> f (Maybe [Target]))
-> Maybe [Target] -> f (Maybe [Target]))
-> (Maybe [Target] -> f (Maybe [Target]))
-> UpdateMaintenanceWindowTask
-> f UpdateMaintenanceWindowTask
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Target] [Target] [Target] [Target]
-> Iso
(Maybe [Target]) (Maybe [Target]) (Maybe [Target]) (Maybe [Target])
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 [Target] [Target] [Target] [Target]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
updateMaintenanceWindowTask_loggingInfo :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe LoggingInfo)
updateMaintenanceWindowTask_loggingInfo :: (Maybe LoggingInfo -> f (Maybe LoggingInfo))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_loggingInfo = (UpdateMaintenanceWindowTask -> Maybe LoggingInfo)
-> (UpdateMaintenanceWindowTask
-> Maybe LoggingInfo -> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe LoggingInfo)
(Maybe LoggingInfo)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe LoggingInfo
loggingInfo :: Maybe LoggingInfo
$sel:loggingInfo:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe LoggingInfo
loggingInfo} -> Maybe LoggingInfo
loggingInfo) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe LoggingInfo
a -> UpdateMaintenanceWindowTask
s {$sel:loggingInfo:UpdateMaintenanceWindowTask' :: Maybe LoggingInfo
loggingInfo = Maybe LoggingInfo
a} :: UpdateMaintenanceWindowTask)
updateMaintenanceWindowTask_description :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTask_description :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_description = (UpdateMaintenanceWindowTask -> Maybe (Sensitive Text))
-> (UpdateMaintenanceWindowTask
-> Maybe (Sensitive Text) -> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe (Sensitive Text)
description :: Maybe (Sensitive Text)
$sel:description:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe (Sensitive Text)
description} -> Maybe (Sensitive Text)
description) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe (Sensitive Text)
a -> UpdateMaintenanceWindowTask
s {$sel:description:UpdateMaintenanceWindowTask' :: Maybe (Sensitive Text)
description = Maybe (Sensitive Text)
a} :: UpdateMaintenanceWindowTask) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTask
-> f UpdateMaintenanceWindowTask
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
updateMaintenanceWindowTask_maxConcurrency :: Lens.Lens' UpdateMaintenanceWindowTask (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTask_maxConcurrency :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_maxConcurrency = (UpdateMaintenanceWindowTask -> Maybe Text)
-> (UpdateMaintenanceWindowTask
-> Maybe Text -> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask
UpdateMaintenanceWindowTask
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Maybe Text
maxConcurrency :: Maybe Text
$sel:maxConcurrency:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Text
maxConcurrency} -> Maybe Text
maxConcurrency) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Maybe Text
a -> UpdateMaintenanceWindowTask
s {$sel:maxConcurrency:UpdateMaintenanceWindowTask' :: Maybe Text
maxConcurrency = Maybe Text
a} :: UpdateMaintenanceWindowTask)
updateMaintenanceWindowTask_windowId :: Lens.Lens' UpdateMaintenanceWindowTask Prelude.Text
updateMaintenanceWindowTask_windowId :: (Text -> f Text)
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_windowId = (UpdateMaintenanceWindowTask -> Text)
-> (UpdateMaintenanceWindowTask
-> Text -> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask UpdateMaintenanceWindowTask Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Text
windowId :: Text
$sel:windowId:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Text
windowId} -> Text
windowId) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Text
a -> UpdateMaintenanceWindowTask
s {$sel:windowId:UpdateMaintenanceWindowTask' :: Text
windowId = Text
a} :: UpdateMaintenanceWindowTask)
updateMaintenanceWindowTask_windowTaskId :: Lens.Lens' UpdateMaintenanceWindowTask Prelude.Text
updateMaintenanceWindowTask_windowTaskId :: (Text -> f Text)
-> UpdateMaintenanceWindowTask -> f UpdateMaintenanceWindowTask
updateMaintenanceWindowTask_windowTaskId = (UpdateMaintenanceWindowTask -> Text)
-> (UpdateMaintenanceWindowTask
-> Text -> UpdateMaintenanceWindowTask)
-> Lens
UpdateMaintenanceWindowTask UpdateMaintenanceWindowTask Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTask' {Text
windowTaskId :: Text
$sel:windowTaskId:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Text
windowTaskId} -> Text
windowTaskId) (\s :: UpdateMaintenanceWindowTask
s@UpdateMaintenanceWindowTask' {} Text
a -> UpdateMaintenanceWindowTask
s {$sel:windowTaskId:UpdateMaintenanceWindowTask' :: Text
windowTaskId = Text
a} :: UpdateMaintenanceWindowTask)
instance Core.AWSRequest UpdateMaintenanceWindowTask where
type
AWSResponse UpdateMaintenanceWindowTask =
UpdateMaintenanceWindowTaskResponse
request :: UpdateMaintenanceWindowTask -> Request UpdateMaintenanceWindowTask
request = Service
-> UpdateMaintenanceWindowTask
-> Request UpdateMaintenanceWindowTask
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy UpdateMaintenanceWindowTask
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateMaintenanceWindowTask)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse UpdateMaintenanceWindowTask))
-> Logger
-> Service
-> Proxy UpdateMaintenanceWindowTask
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateMaintenanceWindowTask)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Maybe Text
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Maybe Natural
-> Maybe Text
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse'
(Maybe Text
-> Maybe Text
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Maybe Natural
-> Maybe Text
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Maybe Natural
-> Maybe Text
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ServiceRoleArn")
Either
String
(Maybe Text
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Maybe Natural
-> Maybe Text
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Maybe Natural
-> Maybe Text
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"WindowTaskId")
Either
String
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Maybe Natural
-> Maybe Text
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
-> Either
String
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
-> Either
String
(Maybe Natural
-> Maybe Text
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text
-> Either
String
(Maybe
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"TaskParameters" Either
String
(Maybe
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))))
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Either
String
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe Natural
-> Maybe Text
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe Natural)
-> Either
String
(Maybe Text
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Priority")
Either
String
(Maybe Text
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"TaskArn")
Either
String
(Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe MaintenanceWindowTaskCutoffBehavior)
-> Either
String
(Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text
-> Either String (Maybe MaintenanceWindowTaskCutoffBehavior)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"CutoffBehavior")
Either
String
(Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"MaxErrors")
Either
String
(Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe MaintenanceWindowTaskInvocationParameters)
-> Either
String
(Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text
-> Either String (Maybe MaintenanceWindowTaskInvocationParameters)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"TaskInvocationParameters")
Either
String
(Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Name")
Either
String
(Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe [Target])
-> Either
String
(Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [Target]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Targets" Either String (Maybe (Maybe [Target]))
-> Maybe [Target] -> Either String (Maybe [Target])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Target]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe LoggingInfo)
-> Either
String
(Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe LoggingInfo)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"LoggingInfo")
Either
String
(Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe (Sensitive Text))
-> Either
String
(Maybe Text
-> Maybe Text -> Int -> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Sensitive Text))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Description")
Either
String
(Maybe Text
-> Maybe Text -> Int -> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe Text -> Int -> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"MaxConcurrency")
Either
String (Maybe Text -> Int -> UpdateMaintenanceWindowTaskResponse)
-> Either String (Maybe Text)
-> Either String (Int -> UpdateMaintenanceWindowTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"WindowId")
Either String (Int -> UpdateMaintenanceWindowTaskResponse)
-> Either String Int
-> Either String UpdateMaintenanceWindowTaskResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable UpdateMaintenanceWindowTask
instance Prelude.NFData UpdateMaintenanceWindowTask
instance Core.ToHeaders UpdateMaintenanceWindowTask where
toHeaders :: UpdateMaintenanceWindowTask -> ResponseHeaders
toHeaders =
ResponseHeaders -> UpdateMaintenanceWindowTask -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"AmazonSSM.UpdateMaintenanceWindowTask" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON UpdateMaintenanceWindowTask where
toJSON :: UpdateMaintenanceWindowTask -> Value
toJSON UpdateMaintenanceWindowTask' {Maybe Bool
Maybe Natural
Maybe [Target]
Maybe Text
Maybe (Sensitive Text)
Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
Maybe LoggingInfo
Maybe MaintenanceWindowTaskCutoffBehavior
Maybe MaintenanceWindowTaskInvocationParameters
Text
windowTaskId :: Text
windowId :: Text
maxConcurrency :: Maybe Text
description :: Maybe (Sensitive Text)
loggingInfo :: Maybe LoggingInfo
targets :: Maybe [Target]
name :: Maybe Text
taskInvocationParameters :: Maybe MaintenanceWindowTaskInvocationParameters
maxErrors :: Maybe Text
cutoffBehavior :: Maybe MaintenanceWindowTaskCutoffBehavior
taskArn :: Maybe Text
priority :: Maybe Natural
taskParameters :: Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
replace :: Maybe Bool
serviceRoleArn :: Maybe Text
$sel:windowTaskId:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Text
$sel:windowId:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Text
$sel:maxConcurrency:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Text
$sel:description:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe (Sensitive Text)
$sel:loggingInfo:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe LoggingInfo
$sel:targets:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe [Target]
$sel:name:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Text
$sel:taskInvocationParameters:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask
-> Maybe MaintenanceWindowTaskInvocationParameters
$sel:maxErrors:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Text
$sel:cutoffBehavior:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask
-> Maybe MaintenanceWindowTaskCutoffBehavior
$sel:taskArn:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Text
$sel:priority:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Natural
$sel:taskParameters:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
$sel:replace:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Bool
$sel:serviceRoleArn:UpdateMaintenanceWindowTask' :: UpdateMaintenanceWindowTask -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"ServiceRoleArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
serviceRoleArn,
(Text
"Replace" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Bool -> Pair) -> Maybe Bool -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
replace,
(Text
"TaskParameters" Text
-> Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))
-> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))
-> Pair)
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters,
(Text
"Priority" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
priority,
(Text
"TaskArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
taskArn,
(Text
"CutoffBehavior" Text -> MaintenanceWindowTaskCutoffBehavior -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(MaintenanceWindowTaskCutoffBehavior -> Pair)
-> Maybe MaintenanceWindowTaskCutoffBehavior -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior,
(Text
"MaxErrors" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
maxErrors,
(Text
"TaskInvocationParameters" Text -> MaintenanceWindowTaskInvocationParameters -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(MaintenanceWindowTaskInvocationParameters -> Pair)
-> Maybe MaintenanceWindowTaskInvocationParameters -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters,
(Text
"Name" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
name,
(Text
"Targets" Text -> [Target] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([Target] -> Pair) -> Maybe [Target] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Target]
targets,
(Text
"LoggingInfo" Text -> LoggingInfo -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (LoggingInfo -> Pair) -> Maybe LoggingInfo -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LoggingInfo
loggingInfo,
(Text
"Description" Text -> Sensitive Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Sensitive Text -> Pair) -> Maybe (Sensitive Text) -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Sensitive Text)
description,
(Text
"MaxConcurrency" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
maxConcurrency,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"WindowId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
windowId),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"WindowTaskId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
windowTaskId)
]
)
instance Core.ToPath UpdateMaintenanceWindowTask where
toPath :: UpdateMaintenanceWindowTask -> ByteString
toPath = ByteString -> UpdateMaintenanceWindowTask -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery UpdateMaintenanceWindowTask where
toQuery :: UpdateMaintenanceWindowTask -> QueryString
toQuery = QueryString -> UpdateMaintenanceWindowTask -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data UpdateMaintenanceWindowTaskResponse = UpdateMaintenanceWindowTaskResponse'
{
UpdateMaintenanceWindowTaskResponse -> Maybe Text
serviceRoleArn :: Prelude.Maybe Prelude.Text,
UpdateMaintenanceWindowTaskResponse -> Maybe Text
windowTaskId :: Prelude.Maybe Prelude.Text,
UpdateMaintenanceWindowTaskResponse
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters :: Prelude.Maybe (Core.Sensitive (Prelude.HashMap Prelude.Text (Core.Sensitive MaintenanceWindowTaskParameterValueExpression))),
UpdateMaintenanceWindowTaskResponse -> Maybe Natural
priority :: Prelude.Maybe Prelude.Natural,
UpdateMaintenanceWindowTaskResponse -> Maybe Text
taskArn :: Prelude.Maybe Prelude.Text,
UpdateMaintenanceWindowTaskResponse
-> Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior :: Prelude.Maybe MaintenanceWindowTaskCutoffBehavior,
UpdateMaintenanceWindowTaskResponse -> Maybe Text
maxErrors :: Prelude.Maybe Prelude.Text,
UpdateMaintenanceWindowTaskResponse
-> Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters :: Prelude.Maybe MaintenanceWindowTaskInvocationParameters,
UpdateMaintenanceWindowTaskResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
UpdateMaintenanceWindowTaskResponse -> Maybe [Target]
targets :: Prelude.Maybe [Target],
UpdateMaintenanceWindowTaskResponse -> Maybe LoggingInfo
loggingInfo :: Prelude.Maybe LoggingInfo,
UpdateMaintenanceWindowTaskResponse -> Maybe (Sensitive Text)
description :: Prelude.Maybe (Core.Sensitive Prelude.Text),
UpdateMaintenanceWindowTaskResponse -> Maybe Text
maxConcurrency :: Prelude.Maybe Prelude.Text,
UpdateMaintenanceWindowTaskResponse -> Maybe Text
windowId :: Prelude.Maybe Prelude.Text,
UpdateMaintenanceWindowTaskResponse -> Int
httpStatus :: Prelude.Int
}
deriving (UpdateMaintenanceWindowTaskResponse
-> UpdateMaintenanceWindowTaskResponse -> Bool
(UpdateMaintenanceWindowTaskResponse
-> UpdateMaintenanceWindowTaskResponse -> Bool)
-> (UpdateMaintenanceWindowTaskResponse
-> UpdateMaintenanceWindowTaskResponse -> Bool)
-> Eq UpdateMaintenanceWindowTaskResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateMaintenanceWindowTaskResponse
-> UpdateMaintenanceWindowTaskResponse -> Bool
$c/= :: UpdateMaintenanceWindowTaskResponse
-> UpdateMaintenanceWindowTaskResponse -> Bool
== :: UpdateMaintenanceWindowTaskResponse
-> UpdateMaintenanceWindowTaskResponse -> Bool
$c== :: UpdateMaintenanceWindowTaskResponse
-> UpdateMaintenanceWindowTaskResponse -> Bool
Prelude.Eq, Int -> UpdateMaintenanceWindowTaskResponse -> ShowS
[UpdateMaintenanceWindowTaskResponse] -> ShowS
UpdateMaintenanceWindowTaskResponse -> String
(Int -> UpdateMaintenanceWindowTaskResponse -> ShowS)
-> (UpdateMaintenanceWindowTaskResponse -> String)
-> ([UpdateMaintenanceWindowTaskResponse] -> ShowS)
-> Show UpdateMaintenanceWindowTaskResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateMaintenanceWindowTaskResponse] -> ShowS
$cshowList :: [UpdateMaintenanceWindowTaskResponse] -> ShowS
show :: UpdateMaintenanceWindowTaskResponse -> String
$cshow :: UpdateMaintenanceWindowTaskResponse -> String
showsPrec :: Int -> UpdateMaintenanceWindowTaskResponse -> ShowS
$cshowsPrec :: Int -> UpdateMaintenanceWindowTaskResponse -> ShowS
Prelude.Show, (forall x.
UpdateMaintenanceWindowTaskResponse
-> Rep UpdateMaintenanceWindowTaskResponse x)
-> (forall x.
Rep UpdateMaintenanceWindowTaskResponse x
-> UpdateMaintenanceWindowTaskResponse)
-> Generic UpdateMaintenanceWindowTaskResponse
forall x.
Rep UpdateMaintenanceWindowTaskResponse x
-> UpdateMaintenanceWindowTaskResponse
forall x.
UpdateMaintenanceWindowTaskResponse
-> Rep UpdateMaintenanceWindowTaskResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateMaintenanceWindowTaskResponse x
-> UpdateMaintenanceWindowTaskResponse
$cfrom :: forall x.
UpdateMaintenanceWindowTaskResponse
-> Rep UpdateMaintenanceWindowTaskResponse x
Prelude.Generic)
newUpdateMaintenanceWindowTaskResponse ::
Prelude.Int ->
UpdateMaintenanceWindowTaskResponse
newUpdateMaintenanceWindowTaskResponse :: Int -> UpdateMaintenanceWindowTaskResponse
newUpdateMaintenanceWindowTaskResponse Int
pHttpStatus_ =
UpdateMaintenanceWindowTaskResponse' :: Maybe Text
-> Maybe Text
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Maybe Natural
-> Maybe Text
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> Maybe Text
-> Maybe MaintenanceWindowTaskInvocationParameters
-> Maybe Text
-> Maybe [Target]
-> Maybe LoggingInfo
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse'
{ $sel:serviceRoleArn:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
serviceRoleArn =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:windowTaskId:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
windowTaskId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:taskParameters:UpdateMaintenanceWindowTaskResponse' :: Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters = Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
forall a. Maybe a
Prelude.Nothing,
$sel:priority:UpdateMaintenanceWindowTaskResponse' :: Maybe Natural
priority = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:taskArn:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
taskArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:cutoffBehavior:UpdateMaintenanceWindowTaskResponse' :: Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior = Maybe MaintenanceWindowTaskCutoffBehavior
forall a. Maybe a
Prelude.Nothing,
$sel:maxErrors:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
maxErrors = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:taskInvocationParameters:UpdateMaintenanceWindowTaskResponse' :: Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters =
Maybe MaintenanceWindowTaskInvocationParameters
forall a. Maybe a
Prelude.Nothing,
$sel:name:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:targets:UpdateMaintenanceWindowTaskResponse' :: Maybe [Target]
targets = Maybe [Target]
forall a. Maybe a
Prelude.Nothing,
$sel:loggingInfo:UpdateMaintenanceWindowTaskResponse' :: Maybe LoggingInfo
loggingInfo = Maybe LoggingInfo
forall a. Maybe a
Prelude.Nothing,
$sel:description:UpdateMaintenanceWindowTaskResponse' :: Maybe (Sensitive Text)
description = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:maxConcurrency:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
maxConcurrency = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:windowId:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
windowId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:UpdateMaintenanceWindowTaskResponse' :: Int
httpStatus = Int
pHttpStatus_
}
updateMaintenanceWindowTaskResponse_serviceRoleArn :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTaskResponse_serviceRoleArn :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_serviceRoleArn = (UpdateMaintenanceWindowTaskResponse -> Maybe Text)
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe Text -> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe Text
serviceRoleArn :: Maybe Text
$sel:serviceRoleArn:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse -> Maybe Text
serviceRoleArn} -> Maybe Text
serviceRoleArn) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe Text
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:serviceRoleArn:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
serviceRoleArn = Maybe Text
a} :: UpdateMaintenanceWindowTaskResponse)
updateMaintenanceWindowTaskResponse_windowTaskId :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTaskResponse_windowTaskId :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_windowTaskId = (UpdateMaintenanceWindowTaskResponse -> Maybe Text)
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe Text -> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe Text
windowTaskId :: Maybe Text
$sel:windowTaskId:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse -> Maybe Text
windowTaskId} -> Maybe Text
windowTaskId) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe Text
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:windowTaskId:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
windowTaskId = Maybe Text
a} :: UpdateMaintenanceWindowTaskResponse)
updateMaintenanceWindowTaskResponse_taskParameters :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text MaintenanceWindowTaskParameterValueExpression))
updateMaintenanceWindowTaskResponse_taskParameters :: (Maybe (HashMap Text MaintenanceWindowTaskParameterValueExpression)
-> f (Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression)))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_taskParameters = (UpdateMaintenanceWindowTaskResponse
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters :: Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
$sel:taskParameters:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters} -> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:taskParameters:UpdateMaintenanceWindowTaskResponse' :: Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
taskParameters = Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
a} :: UpdateMaintenanceWindowTaskResponse) ((Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> f (Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse)
-> ((Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
-> f (Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression)))
-> Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> f (Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))))
-> (Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
-> f (Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression)))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
-> Iso
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
(Maybe
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
(Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression))
(Maybe
(HashMap Text MaintenanceWindowTaskParameterValueExpression))
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 (Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))
(Identity
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
(Identity
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
forall a. Iso' (Sensitive a) a
Core._Sensitive (Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))
(Identity
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
-> Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
(Identity
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))))
-> (Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(Identity
(HashMap Text MaintenanceWindowTaskParameterValueExpression))
-> Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))
(Identity
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))
-> AnIso
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
(Sensitive
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(Identity
(HashMap Text MaintenanceWindowTaskParameterValueExpression))
-> Exchange
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap Text MaintenanceWindowTaskParameterValueExpression)
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression))
(Identity
(HashMap
Text (Sensitive MaintenanceWindowTaskParameterValueExpression)))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced)
updateMaintenanceWindowTaskResponse_priority :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe Prelude.Natural)
updateMaintenanceWindowTaskResponse_priority :: (Maybe Natural -> f (Maybe Natural))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_priority = (UpdateMaintenanceWindowTaskResponse -> Maybe Natural)
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe Natural -> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe Natural
priority :: Maybe Natural
$sel:priority:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse -> Maybe Natural
priority} -> Maybe Natural
priority) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe Natural
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:priority:UpdateMaintenanceWindowTaskResponse' :: Maybe Natural
priority = Maybe Natural
a} :: UpdateMaintenanceWindowTaskResponse)
updateMaintenanceWindowTaskResponse_taskArn :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTaskResponse_taskArn :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_taskArn = (UpdateMaintenanceWindowTaskResponse -> Maybe Text)
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe Text -> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe Text
taskArn :: Maybe Text
$sel:taskArn:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse -> Maybe Text
taskArn} -> Maybe Text
taskArn) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe Text
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:taskArn:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
taskArn = Maybe Text
a} :: UpdateMaintenanceWindowTaskResponse)
updateMaintenanceWindowTaskResponse_cutoffBehavior :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe MaintenanceWindowTaskCutoffBehavior)
updateMaintenanceWindowTaskResponse_cutoffBehavior :: (Maybe MaintenanceWindowTaskCutoffBehavior
-> f (Maybe MaintenanceWindowTaskCutoffBehavior))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_cutoffBehavior = (UpdateMaintenanceWindowTaskResponse
-> Maybe MaintenanceWindowTaskCutoffBehavior)
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe MaintenanceWindowTaskCutoffBehavior
-> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe MaintenanceWindowTaskCutoffBehavior)
(Maybe MaintenanceWindowTaskCutoffBehavior)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior :: Maybe MaintenanceWindowTaskCutoffBehavior
$sel:cutoffBehavior:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse
-> Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior} -> Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe MaintenanceWindowTaskCutoffBehavior
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:cutoffBehavior:UpdateMaintenanceWindowTaskResponse' :: Maybe MaintenanceWindowTaskCutoffBehavior
cutoffBehavior = Maybe MaintenanceWindowTaskCutoffBehavior
a} :: UpdateMaintenanceWindowTaskResponse)
updateMaintenanceWindowTaskResponse_maxErrors :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTaskResponse_maxErrors :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_maxErrors = (UpdateMaintenanceWindowTaskResponse -> Maybe Text)
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe Text -> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe Text
maxErrors :: Maybe Text
$sel:maxErrors:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse -> Maybe Text
maxErrors} -> Maybe Text
maxErrors) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe Text
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:maxErrors:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
maxErrors = Maybe Text
a} :: UpdateMaintenanceWindowTaskResponse)
updateMaintenanceWindowTaskResponse_taskInvocationParameters :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe MaintenanceWindowTaskInvocationParameters)
updateMaintenanceWindowTaskResponse_taskInvocationParameters :: (Maybe MaintenanceWindowTaskInvocationParameters
-> f (Maybe MaintenanceWindowTaskInvocationParameters))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_taskInvocationParameters = (UpdateMaintenanceWindowTaskResponse
-> Maybe MaintenanceWindowTaskInvocationParameters)
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe MaintenanceWindowTaskInvocationParameters
-> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe MaintenanceWindowTaskInvocationParameters)
(Maybe MaintenanceWindowTaskInvocationParameters)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters :: Maybe MaintenanceWindowTaskInvocationParameters
$sel:taskInvocationParameters:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse
-> Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters} -> Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe MaintenanceWindowTaskInvocationParameters
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:taskInvocationParameters:UpdateMaintenanceWindowTaskResponse' :: Maybe MaintenanceWindowTaskInvocationParameters
taskInvocationParameters = Maybe MaintenanceWindowTaskInvocationParameters
a} :: UpdateMaintenanceWindowTaskResponse)
updateMaintenanceWindowTaskResponse_name :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTaskResponse_name :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_name = (UpdateMaintenanceWindowTaskResponse -> Maybe Text)
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe Text -> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe Text
name :: Maybe Text
$sel:name:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse -> Maybe Text
name} -> Maybe Text
name) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe Text
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:name:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
name = Maybe Text
a} :: UpdateMaintenanceWindowTaskResponse)
updateMaintenanceWindowTaskResponse_targets :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe [Target])
updateMaintenanceWindowTaskResponse_targets :: (Maybe [Target] -> f (Maybe [Target]))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_targets = (UpdateMaintenanceWindowTaskResponse -> Maybe [Target])
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe [Target] -> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe [Target])
(Maybe [Target])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe [Target]
targets :: Maybe [Target]
$sel:targets:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse -> Maybe [Target]
targets} -> Maybe [Target]
targets) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe [Target]
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:targets:UpdateMaintenanceWindowTaskResponse' :: Maybe [Target]
targets = Maybe [Target]
a} :: UpdateMaintenanceWindowTaskResponse) ((Maybe [Target] -> f (Maybe [Target]))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse)
-> ((Maybe [Target] -> f (Maybe [Target]))
-> Maybe [Target] -> f (Maybe [Target]))
-> (Maybe [Target] -> f (Maybe [Target]))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Target] [Target] [Target] [Target]
-> Iso
(Maybe [Target]) (Maybe [Target]) (Maybe [Target]) (Maybe [Target])
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 [Target] [Target] [Target] [Target]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
updateMaintenanceWindowTaskResponse_loggingInfo :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe LoggingInfo)
updateMaintenanceWindowTaskResponse_loggingInfo :: (Maybe LoggingInfo -> f (Maybe LoggingInfo))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_loggingInfo = (UpdateMaintenanceWindowTaskResponse -> Maybe LoggingInfo)
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe LoggingInfo -> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe LoggingInfo)
(Maybe LoggingInfo)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe LoggingInfo
loggingInfo :: Maybe LoggingInfo
$sel:loggingInfo:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse -> Maybe LoggingInfo
loggingInfo} -> Maybe LoggingInfo
loggingInfo) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe LoggingInfo
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:loggingInfo:UpdateMaintenanceWindowTaskResponse' :: Maybe LoggingInfo
loggingInfo = Maybe LoggingInfo
a} :: UpdateMaintenanceWindowTaskResponse)
updateMaintenanceWindowTaskResponse_description :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTaskResponse_description :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_description = (UpdateMaintenanceWindowTaskResponse -> Maybe (Sensitive Text))
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe (Sensitive Text) -> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe (Sensitive Text)
description :: Maybe (Sensitive Text)
$sel:description:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse -> Maybe (Sensitive Text)
description} -> Maybe (Sensitive Text)
description) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe (Sensitive Text)
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:description:UpdateMaintenanceWindowTaskResponse' :: Maybe (Sensitive Text)
description = Maybe (Sensitive Text)
a} :: UpdateMaintenanceWindowTaskResponse) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
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
updateMaintenanceWindowTaskResponse_maxConcurrency :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTaskResponse_maxConcurrency :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_maxConcurrency = (UpdateMaintenanceWindowTaskResponse -> Maybe Text)
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe Text -> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe Text
maxConcurrency :: Maybe Text
$sel:maxConcurrency:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse -> Maybe Text
maxConcurrency} -> Maybe Text
maxConcurrency) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe Text
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:maxConcurrency:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
maxConcurrency = Maybe Text
a} :: UpdateMaintenanceWindowTaskResponse)
updateMaintenanceWindowTaskResponse_windowId :: Lens.Lens' UpdateMaintenanceWindowTaskResponse (Prelude.Maybe Prelude.Text)
updateMaintenanceWindowTaskResponse_windowId :: (Maybe Text -> f (Maybe Text))
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_windowId = (UpdateMaintenanceWindowTaskResponse -> Maybe Text)
-> (UpdateMaintenanceWindowTaskResponse
-> Maybe Text -> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Maybe Text
windowId :: Maybe Text
$sel:windowId:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse -> Maybe Text
windowId} -> Maybe Text
windowId) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Maybe Text
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:windowId:UpdateMaintenanceWindowTaskResponse' :: Maybe Text
windowId = Maybe Text
a} :: UpdateMaintenanceWindowTaskResponse)
updateMaintenanceWindowTaskResponse_httpStatus :: Lens.Lens' UpdateMaintenanceWindowTaskResponse Prelude.Int
updateMaintenanceWindowTaskResponse_httpStatus :: (Int -> f Int)
-> UpdateMaintenanceWindowTaskResponse
-> f UpdateMaintenanceWindowTaskResponse
updateMaintenanceWindowTaskResponse_httpStatus = (UpdateMaintenanceWindowTaskResponse -> Int)
-> (UpdateMaintenanceWindowTaskResponse
-> Int -> UpdateMaintenanceWindowTaskResponse)
-> Lens
UpdateMaintenanceWindowTaskResponse
UpdateMaintenanceWindowTaskResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMaintenanceWindowTaskResponse' {Int
httpStatus :: Int
$sel:httpStatus:UpdateMaintenanceWindowTaskResponse' :: UpdateMaintenanceWindowTaskResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: UpdateMaintenanceWindowTaskResponse
s@UpdateMaintenanceWindowTaskResponse' {} Int
a -> UpdateMaintenanceWindowTaskResponse
s {$sel:httpStatus:UpdateMaintenanceWindowTaskResponse' :: Int
httpStatus = Int
a} :: UpdateMaintenanceWindowTaskResponse)
instance
Prelude.NFData
UpdateMaintenanceWindowTaskResponse