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.GetMaintenanceWindow

Contents

Description

Retrieves a Maintenance Window.

Synopsis

Creating a Request

getMaintenanceWindow Source #

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

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

  • gmwWindowId - The ID of the desired Maintenance Window.

data GetMaintenanceWindow Source #

See: getMaintenanceWindow smart constructor.

Instances

Eq GetMaintenanceWindow Source # 
Data GetMaintenanceWindow Source # 

Methods

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

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

toConstr :: GetMaintenanceWindow -> Constr #

dataTypeOf :: GetMaintenanceWindow -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetMaintenanceWindow Source # 
Show GetMaintenanceWindow Source # 
Generic GetMaintenanceWindow Source # 
Hashable GetMaintenanceWindow Source # 
ToJSON GetMaintenanceWindow Source # 
NFData GetMaintenanceWindow Source # 

Methods

rnf :: GetMaintenanceWindow -> () #

AWSRequest GetMaintenanceWindow Source # 
ToPath GetMaintenanceWindow Source # 
ToHeaders GetMaintenanceWindow Source # 
ToQuery GetMaintenanceWindow Source # 
type Rep GetMaintenanceWindow Source # 
type Rep GetMaintenanceWindow = D1 (MetaData "GetMaintenanceWindow" "Network.AWS.SSM.GetMaintenanceWindow" "amazonka-ssm-1.4.5-B1a5iPTYqlbHaMCHVQ4GNL" True) (C1 (MetaCons "GetMaintenanceWindow'" PrefixI True) (S1 (MetaSel (Just Symbol "_gmwWindowId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetMaintenanceWindow Source # 

Request Lenses

gmwWindowId :: Lens' GetMaintenanceWindow Text Source #

The ID of the desired Maintenance Window.

Destructuring the Response

getMaintenanceWindowResponse Source #

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

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

  • gmwrsEnabled - Whether the Maintenance Windows is enabled.
  • gmwrsSchedule - The schedule of the Maintenance Window in the form of a cron or rate expression.
  • gmwrsCreatedDate - The date the Maintenance Window was created.
  • gmwrsName - The name of the Maintenance Window.
  • gmwrsModifiedDate - The date the Maintenance Window was last modified.
  • gmwrsCutoff - The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
  • gmwrsAllowUnassociatedTargets - Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
  • gmwrsDuration - The duration of the Maintenance Window in hours.
  • gmwrsWindowId - The ID of the created Maintenance Window.
  • gmwrsResponseStatus - -- | The response status code.

data GetMaintenanceWindowResponse Source #

See: getMaintenanceWindowResponse smart constructor.

Instances

Eq GetMaintenanceWindowResponse Source # 
Data GetMaintenanceWindowResponse Source # 

Methods

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

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

toConstr :: GetMaintenanceWindowResponse -> Constr #

dataTypeOf :: GetMaintenanceWindowResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetMaintenanceWindowResponse Source # 
Show GetMaintenanceWindowResponse Source # 
Generic GetMaintenanceWindowResponse Source # 
NFData GetMaintenanceWindowResponse Source # 
type Rep GetMaintenanceWindowResponse Source # 

Response Lenses

gmwrsEnabled :: Lens' GetMaintenanceWindowResponse (Maybe Bool) Source #

Whether the Maintenance Windows is enabled.

gmwrsSchedule :: Lens' GetMaintenanceWindowResponse (Maybe Text) Source #

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

gmwrsCreatedDate :: Lens' GetMaintenanceWindowResponse (Maybe UTCTime) Source #

The date the Maintenance Window was created.

gmwrsName :: Lens' GetMaintenanceWindowResponse (Maybe Text) Source #

The name of the Maintenance Window.

gmwrsModifiedDate :: Lens' GetMaintenanceWindowResponse (Maybe UTCTime) Source #

The date the Maintenance Window was last modified.

gmwrsCutoff :: Lens' GetMaintenanceWindowResponse (Maybe Natural) Source #

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

gmwrsAllowUnassociatedTargets :: Lens' GetMaintenanceWindowResponse (Maybe Bool) Source #

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

gmwrsDuration :: Lens' GetMaintenanceWindowResponse (Maybe Natural) Source #

The duration of the Maintenance Window in hours.

gmwrsWindowId :: Lens' GetMaintenanceWindowResponse (Maybe Text) Source #

The ID of the created Maintenance Window.