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

Contents

Description

Lists the targets registered with the Maintenance Window.

Synopsis

Creating a Request

describeMaintenanceWindowTargets Source #

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

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

  • dmwtFilters - Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are Type, WindowTargetId and OwnerInformation.
  • dmwtNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • dmwtMaxResults - 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.
  • dmwtWindowId - The ID of the Maintenance Window whose targets should be retrieved.

data DescribeMaintenanceWindowTargets Source #

See: describeMaintenanceWindowTargets smart constructor.

Instances

Eq DescribeMaintenanceWindowTargets Source # 
Data DescribeMaintenanceWindowTargets Source # 

Methods

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

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

toConstr :: DescribeMaintenanceWindowTargets -> Constr #

dataTypeOf :: DescribeMaintenanceWindowTargets -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

dmwtFilters :: Lens' DescribeMaintenanceWindowTargets [MaintenanceWindowFilter] Source #

Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are Type, WindowTargetId and OwnerInformation.

dmwtNextToken :: Lens' DescribeMaintenanceWindowTargets (Maybe Text) Source #

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

dmwtMaxResults :: Lens' DescribeMaintenanceWindowTargets (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.

dmwtWindowId :: Lens' DescribeMaintenanceWindowTargets Text Source #

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

Destructuring the Response

describeMaintenanceWindowTargetsResponse Source #

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

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

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

data DescribeMaintenanceWindowTargetsResponse Source #

Instances

Eq DescribeMaintenanceWindowTargetsResponse Source # 
Data DescribeMaintenanceWindowTargetsResponse Source # 

Methods

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

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

toConstr :: DescribeMaintenanceWindowTargetsResponse -> Constr #

dataTypeOf :: DescribeMaintenanceWindowTargetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DescribeMaintenanceWindowTargetsResponse Source # 
Generic DescribeMaintenanceWindowTargetsResponse Source # 
NFData DescribeMaintenanceWindowTargetsResponse Source # 
type Rep DescribeMaintenanceWindowTargetsResponse Source # 
type Rep DescribeMaintenanceWindowTargetsResponse = D1 * (MetaData "DescribeMaintenanceWindowTargetsResponse" "Network.AWS.SSM.DescribeMaintenanceWindowTargets" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "DescribeMaintenanceWindowTargetsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmwtrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmwtrsTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [MaintenanceWindowTarget]))) (S1 * (MetaSel (Just Symbol "_dmwtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

dmwtrsNextToken :: Lens' DescribeMaintenanceWindowTargetsResponse (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.

dmwtrsTargets :: Lens' DescribeMaintenanceWindowTargetsResponse [MaintenanceWindowTarget] Source #

Information about the targets in the Maintenance Window.