amazonka-ssm-1.4.5: Amazon Simple Systems Manager (SSM) SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SSM.UpdateMaintenanceWindow

Contents

Description

Updates an existing Maintenance Window. Only specified parameters are modified.

Synopsis

Creating a Request

updateMaintenanceWindow #

Creates a value of UpdateMaintenanceWindow with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • umwEnabled - Whether the Maintenance Window is enabled.
  • umwSchedule - The schedule of the Maintenance Window in the form of a cron or rate expression.
  • umwName - The name of the Maintenance Window.
  • umwCutoff - The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
  • umwAllowUnassociatedTargets - Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
  • umwDuration - The duration of the Maintenance Window in hours.
  • umwWindowId - The ID of the Maintenance Window to update.

data UpdateMaintenanceWindow #

See: updateMaintenanceWindow smart constructor.

Instances

Eq UpdateMaintenanceWindow # 
Data UpdateMaintenanceWindow # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateMaintenanceWindow -> c UpdateMaintenanceWindow #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateMaintenanceWindow #

toConstr :: UpdateMaintenanceWindow -> Constr #

dataTypeOf :: UpdateMaintenanceWindow -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateMaintenanceWindow) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateMaintenanceWindow) #

gmapT :: (forall b. Data b => b -> b) -> UpdateMaintenanceWindow -> UpdateMaintenanceWindow #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateMaintenanceWindow -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateMaintenanceWindow -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateMaintenanceWindow -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateMaintenanceWindow -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateMaintenanceWindow -> m UpdateMaintenanceWindow #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateMaintenanceWindow -> m UpdateMaintenanceWindow #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateMaintenanceWindow -> m UpdateMaintenanceWindow #

Read UpdateMaintenanceWindow # 
Show UpdateMaintenanceWindow # 
Generic UpdateMaintenanceWindow # 
Hashable UpdateMaintenanceWindow # 
ToJSON UpdateMaintenanceWindow # 
NFData UpdateMaintenanceWindow # 

Methods

rnf :: UpdateMaintenanceWindow -> () #

AWSRequest UpdateMaintenanceWindow # 
ToQuery UpdateMaintenanceWindow # 
ToPath UpdateMaintenanceWindow # 
ToHeaders UpdateMaintenanceWindow # 
type Rep UpdateMaintenanceWindow # 
type Rep UpdateMaintenanceWindow = D1 (MetaData "UpdateMaintenanceWindow" "Network.AWS.SSM.UpdateMaintenanceWindow" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "UpdateMaintenanceWindow'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_umwEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_umwSchedule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_umwName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_umwCutoff") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_umwAllowUnassociatedTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_umwDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_umwWindowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs UpdateMaintenanceWindow # 

Request Lenses

umwEnabled :: Lens' UpdateMaintenanceWindow (Maybe Bool) #

Whether the Maintenance Window is enabled.

umwSchedule :: Lens' UpdateMaintenanceWindow (Maybe Text) #

The schedule of the Maintenance Window in the form of a cron or rate expression.

umwName :: Lens' UpdateMaintenanceWindow (Maybe Text) #

The name of the Maintenance Window.

umwCutoff :: Lens' UpdateMaintenanceWindow (Maybe Natural) #

The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.

umwAllowUnassociatedTargets :: Lens' UpdateMaintenanceWindow (Maybe Bool) #

Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.

umwDuration :: Lens' UpdateMaintenanceWindow (Maybe Natural) #

The duration of the Maintenance Window in hours.

umwWindowId :: Lens' UpdateMaintenanceWindow Text #

The ID of the Maintenance Window to update.

Destructuring the Response

updateMaintenanceWindowResponse #

Creates a value of UpdateMaintenanceWindowResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • umwrsEnabled - Whether the Maintenance Window is enabled.
  • umwrsSchedule - The schedule of the Maintenance Window in the form of a cron or rate expression.
  • umwrsName - The name of the Maintenance Window.
  • umwrsCutoff - The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
  • umwrsAllowUnassociatedTargets - Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
  • umwrsDuration - The duration of the Maintenance Window in hours.
  • umwrsWindowId - The ID of the created Maintenance Window.
  • umwrsResponseStatus - -- | The response status code.

data UpdateMaintenanceWindowResponse #

See: updateMaintenanceWindowResponse smart constructor.

Instances

Eq UpdateMaintenanceWindowResponse # 
Data UpdateMaintenanceWindowResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateMaintenanceWindowResponse -> c UpdateMaintenanceWindowResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateMaintenanceWindowResponse #

toConstr :: UpdateMaintenanceWindowResponse -> Constr #

dataTypeOf :: UpdateMaintenanceWindowResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateMaintenanceWindowResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateMaintenanceWindowResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateMaintenanceWindowResponse -> UpdateMaintenanceWindowResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateMaintenanceWindowResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateMaintenanceWindowResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateMaintenanceWindowResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateMaintenanceWindowResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateMaintenanceWindowResponse -> m UpdateMaintenanceWindowResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateMaintenanceWindowResponse -> m UpdateMaintenanceWindowResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateMaintenanceWindowResponse -> m UpdateMaintenanceWindowResponse #

Read UpdateMaintenanceWindowResponse # 
Show UpdateMaintenanceWindowResponse # 
Generic UpdateMaintenanceWindowResponse # 
NFData UpdateMaintenanceWindowResponse # 
type Rep UpdateMaintenanceWindowResponse # 
type Rep UpdateMaintenanceWindowResponse = D1 (MetaData "UpdateMaintenanceWindowResponse" "Network.AWS.SSM.UpdateMaintenanceWindow" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "UpdateMaintenanceWindowResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_umwrsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_umwrsSchedule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_umwrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_umwrsCutoff") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_umwrsAllowUnassociatedTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_umwrsDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) ((:*:) (S1 (MetaSel (Just Symbol "_umwrsWindowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_umwrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))

Response Lenses

umwrsEnabled :: Lens' UpdateMaintenanceWindowResponse (Maybe Bool) #

Whether the Maintenance Window is enabled.

umwrsSchedule :: Lens' UpdateMaintenanceWindowResponse (Maybe Text) #

The schedule of the Maintenance Window in the form of a cron or rate expression.

umwrsName :: Lens' UpdateMaintenanceWindowResponse (Maybe Text) #

The name of the Maintenance Window.

umwrsCutoff :: Lens' UpdateMaintenanceWindowResponse (Maybe Natural) #

The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.

umwrsAllowUnassociatedTargets :: Lens' UpdateMaintenanceWindowResponse (Maybe Bool) #

Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.

umwrsDuration :: Lens' UpdateMaintenanceWindowResponse (Maybe Natural) #

The duration of the Maintenance Window in hours.

umwrsWindowId :: Lens' UpdateMaintenanceWindowResponse (Maybe Text) #

The ID of the created Maintenance Window.