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

Contents

Description

Retrieves the default patch baseline. Note that Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system.

Synopsis

Creating a Request

getDefaultPatchBaseline :: GetDefaultPatchBaseline Source #

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

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

data GetDefaultPatchBaseline Source #

See: getDefaultPatchBaseline smart constructor.

Instances

Eq GetDefaultPatchBaseline Source # 
Data GetDefaultPatchBaseline Source # 

Methods

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

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

toConstr :: GetDefaultPatchBaseline -> Constr #

dataTypeOf :: GetDefaultPatchBaseline -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDefaultPatchBaseline Source # 
Show GetDefaultPatchBaseline Source # 
Generic GetDefaultPatchBaseline Source # 
Hashable GetDefaultPatchBaseline Source # 
ToJSON GetDefaultPatchBaseline Source # 
NFData GetDefaultPatchBaseline Source # 

Methods

rnf :: GetDefaultPatchBaseline -> () #

AWSRequest GetDefaultPatchBaseline Source # 
ToQuery GetDefaultPatchBaseline Source # 
ToPath GetDefaultPatchBaseline Source # 
ToHeaders GetDefaultPatchBaseline Source # 
type Rep GetDefaultPatchBaseline Source # 
type Rep GetDefaultPatchBaseline = D1 (MetaData "GetDefaultPatchBaseline" "Network.AWS.SSM.GetDefaultPatchBaseline" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" True) (C1 (MetaCons "GetDefaultPatchBaseline'" PrefixI True) (S1 (MetaSel (Just Symbol "_gdpbOperatingSystem") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe OperatingSystem))))
type Rs GetDefaultPatchBaseline Source # 

Request Lenses

gdpbOperatingSystem :: Lens' GetDefaultPatchBaseline (Maybe OperatingSystem) Source #

Returns the default patch baseline for the specified operating system.

Destructuring the Response

getDefaultPatchBaselineResponse Source #

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

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

data GetDefaultPatchBaselineResponse Source #

See: getDefaultPatchBaselineResponse smart constructor.

Instances

Eq GetDefaultPatchBaselineResponse Source # 
Data GetDefaultPatchBaselineResponse Source # 

Methods

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

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

toConstr :: GetDefaultPatchBaselineResponse -> Constr #

dataTypeOf :: GetDefaultPatchBaselineResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDefaultPatchBaselineResponse Source # 
Show GetDefaultPatchBaselineResponse Source # 
Generic GetDefaultPatchBaselineResponse Source # 
NFData GetDefaultPatchBaselineResponse Source # 
type Rep GetDefaultPatchBaselineResponse Source # 
type Rep GetDefaultPatchBaselineResponse = D1 (MetaData "GetDefaultPatchBaselineResponse" "Network.AWS.SSM.GetDefaultPatchBaseline" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "GetDefaultPatchBaselineResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gdpbrsOperatingSystem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OperatingSystem))) ((:*:) (S1 (MetaSel (Just Symbol "_gdpbrsBaselineId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gdpbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gdpbrsOperatingSystem :: Lens' GetDefaultPatchBaselineResponse (Maybe OperatingSystem) Source #

The operating system for the returned patch baseline.

gdpbrsBaselineId :: Lens' GetDefaultPatchBaselineResponse (Maybe Text) Source #

The ID of the default patch baseline.