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.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 # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

Data GetMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

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 # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

Show GetMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

Generic GetMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

Associated Types

type Rep GetMaintenanceWindow :: Type -> Type #

Hashable GetMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

ToJSON GetMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

AWSRequest GetMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

Associated Types

type Rs GetMaintenanceWindow :: Type #

ToHeaders GetMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

ToPath GetMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

ToQuery GetMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

NFData GetMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

Methods

rnf :: GetMaintenanceWindow -> () #

type Rep GetMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

type Rep GetMaintenanceWindow = D1 (MetaData "GetMaintenanceWindow" "Network.AWS.SSM.GetMaintenanceWindow" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" True) (C1 (MetaCons "GetMaintenanceWindow'" PrefixI True) (S1 (MetaSel (Just "_gmwWindowId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

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.
  • gmwrsDescription - The description of the Maintenance Window.
  • 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 # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

Data GetMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

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 #

Show GetMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

Generic GetMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

Associated Types

type Rep GetMaintenanceWindowResponse :: Type -> Type #

NFData GetMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

type Rep GetMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindow

type Rep GetMaintenanceWindowResponse = D1 (MetaData "GetMaintenanceWindowResponse" "Network.AWS.SSM.GetMaintenanceWindow" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "GetMaintenanceWindowResponse'" PrefixI True) (((S1 (MetaSel (Just "_gmwrsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_gmwrsSchedule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gmwrsCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_gmwrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gmwrsModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 (MetaSel (Just "_gmwrsCutoff") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_gmwrsAllowUnassociatedTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_gmwrsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: (S1 (MetaSel (Just "_gmwrsDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_gmwrsWindowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gmwrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

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.

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

The description of the Maintenance Window.

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.