amazonka-ssm-1.5.0: Amazon Simple Systems Manager (SSM) SDK.

Copyright(c) 2013-2017 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 # 
Data DescribeInstancePatches Source # 

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 # 
Show DescribeInstancePatches Source # 
Generic DescribeInstancePatches Source # 
Hashable DescribeInstancePatches Source # 
ToJSON DescribeInstancePatches Source # 
NFData DescribeInstancePatches Source # 

Methods

rnf :: DescribeInstancePatches -> () #

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

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 # 
Data DescribeInstancePatchesResponse Source # 

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 # 
Show DescribeInstancePatchesResponse Source # 
Generic DescribeInstancePatchesResponse Source # 
NFData DescribeInstancePatchesResponse Source # 
type Rep DescribeInstancePatchesResponse Source # 
type Rep DescribeInstancePatchesResponse = D1 (MetaData "DescribeInstancePatchesResponse" "Network.AWS.SSM.DescribeInstancePatches" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "DescribeInstancePatchesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_diprsPatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PatchComplianceData]))) ((:*:) (S1 (MetaSel (Just Symbol "_diprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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.