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

Contents

Description

Lists all patch groups that have been registered with patch baselines.

Synopsis

Creating a Request

describePatchGroups :: DescribePatchGroups Source #

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

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

  • dpgFilters - One or more filters. Use a filter to return a more specific list of results.
  • dpgNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • dpgMaxResults - The maximum number of patch groups to return (per page).

data DescribePatchGroups Source #

See: describePatchGroups smart constructor.

Instances

Eq DescribePatchGroups Source # 
Data DescribePatchGroups Source # 

Methods

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

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

toConstr :: DescribePatchGroups -> Constr #

dataTypeOf :: DescribePatchGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DescribePatchGroups -> () #

AWSRequest DescribePatchGroups Source # 
ToHeaders DescribePatchGroups Source # 
ToPath DescribePatchGroups Source # 
ToQuery DescribePatchGroups Source # 
type Rep DescribePatchGroups Source # 
type Rep DescribePatchGroups = D1 * (MetaData "DescribePatchGroups" "Network.AWS.SSM.DescribePatchGroups" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "DescribePatchGroups'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dpgFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [PatchOrchestratorFilter]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dpgNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dpgMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs DescribePatchGroups Source # 

Request Lenses

dpgFilters :: Lens' DescribePatchGroups [PatchOrchestratorFilter] Source #

One or more filters. Use a filter to return a more specific list of results.

dpgNextToken :: Lens' DescribePatchGroups (Maybe Text) Source #

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

dpgMaxResults :: Lens' DescribePatchGroups (Maybe Natural) Source #

The maximum number of patch groups to return (per page).

Destructuring the Response

describePatchGroupsResponse Source #

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

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

  • dpgrsMappings - Each entry in the array contains: PatchGroup: string (between 1 and 256 characters, Regex: ^([p{L}p{Z}p{N}_.:/=+-@]*)$) PatchBaselineIdentity: A PatchBaselineIdentity element.
  • dpgrsNextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
  • dpgrsResponseStatus - -- | The response status code.

data DescribePatchGroupsResponse Source #

See: describePatchGroupsResponse smart constructor.

Instances

Eq DescribePatchGroupsResponse Source # 
Data DescribePatchGroupsResponse Source # 

Methods

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

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

toConstr :: DescribePatchGroupsResponse -> Constr #

dataTypeOf :: DescribePatchGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribePatchGroupsResponse Source # 
Show DescribePatchGroupsResponse Source # 
Generic DescribePatchGroupsResponse Source # 
NFData DescribePatchGroupsResponse Source # 
type Rep DescribePatchGroupsResponse Source # 
type Rep DescribePatchGroupsResponse = D1 * (MetaData "DescribePatchGroupsResponse" "Network.AWS.SSM.DescribePatchGroups" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "DescribePatchGroupsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dpgrsMappings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [PatchGroupPatchBaselineMapping]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dpgrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dpgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

dpgrsMappings :: Lens' DescribePatchGroupsResponse [PatchGroupPatchBaselineMapping] Source #

Each entry in the array contains: PatchGroup: string (between 1 and 256 characters, Regex: ^([p{L}p{Z}p{N}_.:/=+-@]*)$) PatchBaselineIdentity: A PatchBaselineIdentity element.

dpgrsNextToken :: Lens' DescribePatchGroupsResponse (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.