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

Defined in Network.AWS.SSM.DescribePatchGroups

Data DescribePatchGroups Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

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

Defined in Network.AWS.SSM.DescribePatchGroups

Show DescribePatchGroups Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

Generic DescribePatchGroups Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

Associated Types

type Rep DescribePatchGroups :: Type -> Type #

Hashable DescribePatchGroups Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

ToJSON DescribePatchGroups Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

AWSRequest DescribePatchGroups Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

Associated Types

type Rs DescribePatchGroups :: Type #

ToHeaders DescribePatchGroups Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

ToPath DescribePatchGroups Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

ToQuery DescribePatchGroups Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

NFData DescribePatchGroups Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

Methods

rnf :: DescribePatchGroups -> () #

type Rep DescribePatchGroups Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

type Rep DescribePatchGroups = D1 (MetaData "DescribePatchGroups" "Network.AWS.SSM.DescribePatchGroups" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "DescribePatchGroups'" PrefixI True) (S1 (MetaSel (Just "_dpgFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PatchOrchestratorFilter])) :*: (S1 (MetaSel (Just "_dpgNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dpgMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs DescribePatchGroups Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

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

Defined in Network.AWS.SSM.DescribePatchGroups

Data DescribePatchGroupsResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

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

Defined in Network.AWS.SSM.DescribePatchGroups

Show DescribePatchGroupsResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

Generic DescribePatchGroupsResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

Associated Types

type Rep DescribePatchGroupsResponse :: Type -> Type #

NFData DescribePatchGroupsResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

type Rep DescribePatchGroupsResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribePatchGroups

type Rep DescribePatchGroupsResponse = D1 (MetaData "DescribePatchGroupsResponse" "Network.AWS.SSM.DescribePatchGroups" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "DescribePatchGroupsResponse'" PrefixI True) (S1 (MetaSel (Just "_dpgrsMappings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PatchGroupPatchBaselineMapping])) :*: (S1 (MetaSel (Just "_dpgrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.