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

Contents

Description

Retrieves the current snapshot for the patch baseline the instance uses. This API is primarily used by the AWS-RunPatchBaseline Systems Manager document.

Synopsis

Creating a Request

getDeployablePatchSnapshotForInstance Source #

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

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

data GetDeployablePatchSnapshotForInstance Source #

Instances

Eq GetDeployablePatchSnapshotForInstance Source # 
Data GetDeployablePatchSnapshotForInstance Source # 

Methods

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

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

toConstr :: GetDeployablePatchSnapshotForInstance -> Constr #

dataTypeOf :: GetDeployablePatchSnapshotForInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDeployablePatchSnapshotForInstance Source # 
Show GetDeployablePatchSnapshotForInstance Source # 
Generic GetDeployablePatchSnapshotForInstance Source # 
Hashable GetDeployablePatchSnapshotForInstance Source # 
ToJSON GetDeployablePatchSnapshotForInstance Source # 
NFData GetDeployablePatchSnapshotForInstance Source # 
AWSRequest GetDeployablePatchSnapshotForInstance Source # 
ToQuery GetDeployablePatchSnapshotForInstance Source # 
ToPath GetDeployablePatchSnapshotForInstance Source # 
ToHeaders GetDeployablePatchSnapshotForInstance Source # 
type Rep GetDeployablePatchSnapshotForInstance Source # 
type Rep GetDeployablePatchSnapshotForInstance = D1 (MetaData "GetDeployablePatchSnapshotForInstance" "Network.AWS.SSM.GetDeployablePatchSnapshotForInstance" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "GetDeployablePatchSnapshotForInstance'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gdpsfiInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_gdpsfiSnapshotId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetDeployablePatchSnapshotForInstance Source # 

Request Lenses

gdpsfiInstanceId :: Lens' GetDeployablePatchSnapshotForInstance Text Source #

The ID of the instance for which the appropriate patch snapshot should be retrieved.

Destructuring the Response

getDeployablePatchSnapshotForInstanceResponse Source #

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

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

data GetDeployablePatchSnapshotForInstanceResponse Source #

Instances

Eq GetDeployablePatchSnapshotForInstanceResponse Source # 
Data GetDeployablePatchSnapshotForInstanceResponse Source # 

Methods

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

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

toConstr :: GetDeployablePatchSnapshotForInstanceResponse -> Constr #

dataTypeOf :: GetDeployablePatchSnapshotForInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDeployablePatchSnapshotForInstanceResponse Source # 
Show GetDeployablePatchSnapshotForInstanceResponse Source # 
Generic GetDeployablePatchSnapshotForInstanceResponse Source # 
NFData GetDeployablePatchSnapshotForInstanceResponse Source # 
type Rep GetDeployablePatchSnapshotForInstanceResponse Source # 
type Rep GetDeployablePatchSnapshotForInstanceResponse = D1 (MetaData "GetDeployablePatchSnapshotForInstanceResponse" "Network.AWS.SSM.GetDeployablePatchSnapshotForInstance" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "GetDeployablePatchSnapshotForInstanceResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gdpsfirsInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gdpsfirsProduct") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gdpsfirsSnapshotDownloadURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gdpsfirsSnapshotId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gdpsfirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

gdpsfirsProduct :: Lens' GetDeployablePatchSnapshotForInstanceResponse (Maybe Text) Source #

Returns the specific operating system (for example Windows Server 2012 or Amazon Linux 2015.09) on the instance for the specified patch snapshot.

gdpsfirsSnapshotDownloadURL :: Lens' GetDeployablePatchSnapshotForInstanceResponse (Maybe Text) Source #

A pre-signed Amazon S3 URL that can be used to download the patch snapshot.