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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 Source #

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:

  • umwReplace - If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
  • 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.
  • umwDescription - An optional description for the update request.
  • umwDuration - The duration of the Maintenance Window in hours.
  • umwWindowId - The ID of the Maintenance Window to update.

data UpdateMaintenanceWindow Source #

See: updateMaintenanceWindow smart constructor.

Instances
Eq UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

Data UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.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 #

Show UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

Generic UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

Associated Types

type Rep UpdateMaintenanceWindow :: Type -> Type #

Hashable UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

ToJSON UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

AWSRequest UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

Associated Types

type Rs UpdateMaintenanceWindow :: Type #

ToHeaders UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

ToPath UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

ToQuery UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

NFData UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

Methods

rnf :: UpdateMaintenanceWindow -> () #

type Rep UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

type Rs UpdateMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

Request Lenses

umwReplace :: Lens' UpdateMaintenanceWindow (Maybe Bool) Source #

If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.

umwEnabled :: Lens' UpdateMaintenanceWindow (Maybe Bool) Source #

Whether the Maintenance Window is enabled.

umwSchedule :: Lens' UpdateMaintenanceWindow (Maybe Text) Source #

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

umwName :: Lens' UpdateMaintenanceWindow (Maybe Text) Source #

The name of the Maintenance Window.

umwCutoff :: Lens' UpdateMaintenanceWindow (Maybe Natural) Source #

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) Source #

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

umwDescription :: Lens' UpdateMaintenanceWindow (Maybe Text) Source #

An optional description for the update request.

umwDuration :: Lens' UpdateMaintenanceWindow (Maybe Natural) Source #

The duration of the Maintenance Window in hours.

umwWindowId :: Lens' UpdateMaintenanceWindow Text Source #

The ID of the Maintenance Window to update.

Destructuring the Response

updateMaintenanceWindowResponse Source #

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.
  • umwrsDescription - An optional description of the update.
  • umwrsDuration - The duration of the Maintenance Window in hours.
  • umwrsWindowId - The ID of the created Maintenance Window.
  • umwrsResponseStatus - -- | The response status code.

data UpdateMaintenanceWindowResponse Source #

See: updateMaintenanceWindowResponse smart constructor.

Instances
Eq UpdateMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

Data UpdateMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

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 #

Show UpdateMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

Generic UpdateMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

Associated Types

type Rep UpdateMaintenanceWindowResponse :: Type -> Type #

NFData UpdateMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

type Rep UpdateMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdateMaintenanceWindow

type Rep UpdateMaintenanceWindowResponse = D1 (MetaData "UpdateMaintenanceWindowResponse" "Network.AWS.SSM.UpdateMaintenanceWindow" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "UpdateMaintenanceWindowResponse'" PrefixI True) (((S1 (MetaSel (Just "_umwrsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_umwrsSchedule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_umwrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_umwrsCutoff") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) :*: ((S1 (MetaSel (Just "_umwrsAllowUnassociatedTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_umwrsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 (MetaSel (Just "_umwrsDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_umwrsWindowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_umwrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

umwrsEnabled :: Lens' UpdateMaintenanceWindowResponse (Maybe Bool) Source #

Whether the Maintenance Window is enabled.

umwrsSchedule :: Lens' UpdateMaintenanceWindowResponse (Maybe Text) Source #

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

umwrsName :: Lens' UpdateMaintenanceWindowResponse (Maybe Text) Source #

The name of the Maintenance Window.

umwrsCutoff :: Lens' UpdateMaintenanceWindowResponse (Maybe Natural) Source #

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) Source #

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

umwrsDescription :: Lens' UpdateMaintenanceWindowResponse (Maybe Text) Source #

An optional description of the update.

umwrsDuration :: Lens' UpdateMaintenanceWindowResponse (Maybe Natural) Source #

The duration of the Maintenance Window in hours.

umwrsWindowId :: Lens' UpdateMaintenanceWindowResponse (Maybe Text) Source #

The ID of the created Maintenance Window.