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

Contents

Description

Retrieves information about the patches on the specified instance and their state relative to the patch baseline being used for the instance.

Synopsis

Creating a Request

describeInstancePatches Source #

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

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

  • dipFilters - Each entry in the array is a structure containing: Key (string, between 1 and 128 characters) Values (array of strings, each string between 1 and 256 characters)
  • dipNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • dipMaxResults - The maximum number of patches to return (per page).
  • dipInstanceId - The ID of the instance whose patch state information should be retrieved.

data DescribeInstancePatches Source #

See: describeInstancePatches smart constructor.

Instances
Eq DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Data DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Methods

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

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

toConstr :: DescribeInstancePatches -> Constr #

dataTypeOf :: DescribeInstancePatches -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Show DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Generic DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Associated Types

type Rep DescribeInstancePatches :: Type -> Type #

Hashable DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

ToJSON DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

AWSRequest DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Associated Types

type Rs DescribeInstancePatches :: Type #

ToHeaders DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

ToPath DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

ToQuery DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

NFData DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Methods

rnf :: DescribeInstancePatches -> () #

type Rep DescribeInstancePatches Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

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

Defined in Network.AWS.SSM.DescribeInstancePatches

Request Lenses

dipFilters :: Lens' DescribeInstancePatches [PatchOrchestratorFilter] Source #

Each entry in the array is a structure containing: Key (string, between 1 and 128 characters) Values (array of strings, each string between 1 and 256 characters)

dipNextToken :: Lens' DescribeInstancePatches (Maybe Text) Source #

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

dipMaxResults :: Lens' DescribeInstancePatches (Maybe Natural) Source #

The maximum number of patches to return (per page).

dipInstanceId :: Lens' DescribeInstancePatches Text Source #

The ID of the instance whose patch state information should be retrieved.

Destructuring the Response

describeInstancePatchesResponse Source #

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

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

  • diprsPatches - Each entry in the array is a structure containing: Title (string) KBId (string) Classification (string) Severity (string) State (string: INSTALLED, "INSTALLED OTHER", MISSING, "NOT APPLICABLE", FAILED) InstalledTime (DateTime) InstalledBy (string)
  • diprsNextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
  • diprsResponseStatus - -- | The response status code.

data DescribeInstancePatchesResponse Source #

See: describeInstancePatchesResponse smart constructor.

Instances
Eq DescribeInstancePatchesResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Data DescribeInstancePatchesResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Methods

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

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

toConstr :: DescribeInstancePatchesResponse -> Constr #

dataTypeOf :: DescribeInstancePatchesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeInstancePatchesResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Show DescribeInstancePatchesResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Generic DescribeInstancePatchesResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Associated Types

type Rep DescribeInstancePatchesResponse :: Type -> Type #

NFData DescribeInstancePatchesResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

type Rep DescribeInstancePatchesResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

type Rep DescribeInstancePatchesResponse = D1 (MetaData "DescribeInstancePatchesResponse" "Network.AWS.SSM.DescribeInstancePatches" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "DescribeInstancePatchesResponse'" PrefixI True) (S1 (MetaSel (Just "_diprsPatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PatchComplianceData])) :*: (S1 (MetaSel (Just "_diprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_diprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

diprsPatches :: Lens' DescribeInstancePatchesResponse [PatchComplianceData] Source #

Each entry in the array is a structure containing: Title (string) KBId (string) Classification (string) Severity (string) State (string: INSTALLED, "INSTALLED OTHER", MISSING, "NOT APPLICABLE", FAILED) InstalledTime (DateTime) InstalledBy (string)

diprsNextToken :: Lens' DescribeInstancePatchesResponse (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.