amazonka-ssm-1.6.0: 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.DescribeMaintenanceWindows

Contents

Description

Retrieves the Maintenance Windows in an AWS account.

Synopsis

Creating a Request

describeMaintenanceWindows :: DescribeMaintenanceWindows Source #

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

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

  • dmwFilters - Optional filters used to narrow down the scope of the returned Maintenance Windows. Supported filter keys are Name and Enabled.
  • dmwNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • dmwMaxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

data DescribeMaintenanceWindows Source #

See: describeMaintenanceWindows smart constructor.

Instances

Eq DescribeMaintenanceWindows Source # 
Data DescribeMaintenanceWindows Source # 

Methods

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

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

toConstr :: DescribeMaintenanceWindows -> Constr #

dataTypeOf :: DescribeMaintenanceWindows -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeMaintenanceWindows Source # 
Show DescribeMaintenanceWindows Source # 
Generic DescribeMaintenanceWindows Source # 
Hashable DescribeMaintenanceWindows Source # 
ToJSON DescribeMaintenanceWindows Source # 
NFData DescribeMaintenanceWindows Source # 
AWSRequest DescribeMaintenanceWindows Source # 
ToHeaders DescribeMaintenanceWindows Source # 
ToPath DescribeMaintenanceWindows Source # 
ToQuery DescribeMaintenanceWindows Source # 
type Rep DescribeMaintenanceWindows Source # 
type Rep DescribeMaintenanceWindows = D1 * (MetaData "DescribeMaintenanceWindows" "Network.AWS.SSM.DescribeMaintenanceWindows" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "DescribeMaintenanceWindows'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmwFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [MaintenanceWindowFilter]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmwNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dmwMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs DescribeMaintenanceWindows Source # 

Request Lenses

dmwFilters :: Lens' DescribeMaintenanceWindows [MaintenanceWindowFilter] Source #

Optional filters used to narrow down the scope of the returned Maintenance Windows. Supported filter keys are Name and Enabled.

dmwNextToken :: Lens' DescribeMaintenanceWindows (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

dmwMaxResults :: Lens' DescribeMaintenanceWindows (Maybe Natural) Source #

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Destructuring the Response

describeMaintenanceWindowsResponse Source #

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

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

data DescribeMaintenanceWindowsResponse Source #

See: describeMaintenanceWindowsResponse smart constructor.

Instances

Eq DescribeMaintenanceWindowsResponse Source # 
Data DescribeMaintenanceWindowsResponse Source # 

Methods

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

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

toConstr :: DescribeMaintenanceWindowsResponse -> Constr #

dataTypeOf :: DescribeMaintenanceWindowsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DescribeMaintenanceWindowsResponse Source # 
Generic DescribeMaintenanceWindowsResponse Source # 
NFData DescribeMaintenanceWindowsResponse Source # 
type Rep DescribeMaintenanceWindowsResponse Source # 
type Rep DescribeMaintenanceWindowsResponse = D1 * (MetaData "DescribeMaintenanceWindowsResponse" "Network.AWS.SSM.DescribeMaintenanceWindows" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "DescribeMaintenanceWindowsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmwsrsWindowIdentities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [MaintenanceWindowIdentity]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmwsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dmwsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

dmwsrsNextToken :: Lens' DescribeMaintenanceWindowsResponse (Maybe Text) Source #

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.