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

Contents

Description

Lists the tasks in a Maintenance Window.

Synopsis

Creating a Request

describeMaintenanceWindowTasks #

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

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

  • dFilters - Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are WindowTaskId , TaskArn , Priority , and TaskType .
  • dNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • dMaxResults - 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.
  • dWindowId - The ID of the Maintenance Window whose tasks should be retrieved.

data DescribeMaintenanceWindowTasks #

See: describeMaintenanceWindowTasks smart constructor.

Instances

Eq DescribeMaintenanceWindowTasks # 
Data DescribeMaintenanceWindowTasks # 

Methods

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

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

toConstr :: DescribeMaintenanceWindowTasks -> Constr #

dataTypeOf :: DescribeMaintenanceWindowTasks -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeMaintenanceWindowTasks # 
Show DescribeMaintenanceWindowTasks # 
Generic DescribeMaintenanceWindowTasks # 
Hashable DescribeMaintenanceWindowTasks # 
ToJSON DescribeMaintenanceWindowTasks # 
NFData DescribeMaintenanceWindowTasks # 
AWSRequest DescribeMaintenanceWindowTasks # 
ToQuery DescribeMaintenanceWindowTasks # 
ToPath DescribeMaintenanceWindowTasks # 
ToHeaders DescribeMaintenanceWindowTasks # 
type Rep DescribeMaintenanceWindowTasks # 
type Rep DescribeMaintenanceWindowTasks = D1 (MetaData "DescribeMaintenanceWindowTasks" "Network.AWS.SSM.DescribeMaintenanceWindowTasks" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "DescribeMaintenanceWindowTasks'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MaintenanceWindowFilter]))) (S1 (MetaSel (Just Symbol "_dNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_dWindowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs DescribeMaintenanceWindowTasks # 

Request Lenses

dFilters :: Lens' DescribeMaintenanceWindowTasks [MaintenanceWindowFilter] #

Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are WindowTaskId , TaskArn , Priority , and TaskType .

dNextToken :: Lens' DescribeMaintenanceWindowTasks (Maybe Text) #

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

dMaxResults :: Lens' DescribeMaintenanceWindowTasks (Maybe Natural) #

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.

dWindowId :: Lens' DescribeMaintenanceWindowTasks Text #

The ID of the Maintenance Window whose tasks should be retrieved.

Destructuring the Response

describeMaintenanceWindowTasksResponse #

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

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

  • dmwtsrsTasks - Information about the tasks in the Maintenance Window.
  • dmwtsrsNextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
  • dmwtsrsResponseStatus - -- | The response status code.

data DescribeMaintenanceWindowTasksResponse #

Instances

Eq DescribeMaintenanceWindowTasksResponse # 
Data DescribeMaintenanceWindowTasksResponse # 

Methods

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

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

toConstr :: DescribeMaintenanceWindowTasksResponse -> Constr #

dataTypeOf :: DescribeMaintenanceWindowTasksResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeMaintenanceWindowTasksResponse # 
Show DescribeMaintenanceWindowTasksResponse # 
Generic DescribeMaintenanceWindowTasksResponse # 
NFData DescribeMaintenanceWindowTasksResponse # 
type Rep DescribeMaintenanceWindowTasksResponse # 
type Rep DescribeMaintenanceWindowTasksResponse = D1 (MetaData "DescribeMaintenanceWindowTasksResponse" "Network.AWS.SSM.DescribeMaintenanceWindowTasks" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "DescribeMaintenanceWindowTasksResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dmwtsrsTasks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MaintenanceWindowTask]))) ((:*:) (S1 (MetaSel (Just Symbol "_dmwtsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dmwtsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dmwtsrsTasks :: Lens' DescribeMaintenanceWindowTasksResponse [MaintenanceWindowTask] #

Information about the tasks in the Maintenance Window.

dmwtsrsNextToken :: Lens' DescribeMaintenanceWindowTasksResponse (Maybe Text) #

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