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

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 #

See: describeInstancePatches smart constructor.

Instances
Eq DescribeInstancePatches # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

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

Defined in Network.AWS.SSM.DescribeInstancePatches

Show DescribeInstancePatches # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Generic DescribeInstancePatches # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Associated Types

type Rep DescribeInstancePatches :: * -> * #

Hashable DescribeInstancePatches # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

ToJSON DescribeInstancePatches # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

AWSRequest DescribeInstancePatches # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Associated Types

type Rs DescribeInstancePatches :: * #

ToHeaders DescribeInstancePatches # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

ToPath DescribeInstancePatches # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

ToQuery DescribeInstancePatches # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

NFData DescribeInstancePatches # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Methods

rnf :: DescribeInstancePatches -> () #

type Rep DescribeInstancePatches # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

type Rep DescribeInstancePatches = D1 (MetaData "DescribeInstancePatches" "Network.AWS.SSM.DescribeInstancePatches" "amazonka-ssm-1.6.0-6ymLhp3p3ub3EVj8bPf5ZJ" 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 # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Request Lenses

dipFilters :: Lens' DescribeInstancePatches [PatchOrchestratorFilter] #

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) #

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

dipMaxResults :: Lens' DescribeInstancePatches (Maybe Natural) #

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

dipInstanceId :: Lens' DescribeInstancePatches Text #

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

Destructuring the Response

describeInstancePatchesResponse #

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 #

See: describeInstancePatchesResponse smart constructor.

Instances
Eq DescribeInstancePatchesResponse # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

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

Defined in Network.AWS.SSM.DescribeInstancePatches

Show DescribeInstancePatchesResponse # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Generic DescribeInstancePatchesResponse # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

Associated Types

type Rep DescribeInstancePatchesResponse :: * -> * #

NFData DescribeInstancePatchesResponse # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

type Rep DescribeInstancePatchesResponse # 
Instance details

Defined in Network.AWS.SSM.DescribeInstancePatches

type Rep DescribeInstancePatchesResponse = D1 (MetaData "DescribeInstancePatchesResponse" "Network.AWS.SSM.DescribeInstancePatches" "amazonka-ssm-1.6.0-6ymLhp3p3ub3EVj8bPf5ZJ" 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] #

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) #

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.