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

If you do not specify an operating system value, the default patch baseline for Windows is returned.

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

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

Data GetDefaultPatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

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

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

Show GetDefaultPatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

Generic GetDefaultPatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

Associated Types

type Rep GetDefaultPatchBaseline :: Type -> Type #

Hashable GetDefaultPatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

ToJSON GetDefaultPatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

AWSRequest GetDefaultPatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

Associated Types

type Rs GetDefaultPatchBaseline :: Type #

ToHeaders GetDefaultPatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

ToPath GetDefaultPatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

ToQuery GetDefaultPatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

NFData GetDefaultPatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

Methods

rnf :: GetDefaultPatchBaseline -> () #

type Rep GetDefaultPatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

type Rep GetDefaultPatchBaseline = D1 (MetaData "GetDefaultPatchBaseline" "Network.AWS.SSM.GetDefaultPatchBaseline" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" True) (C1 (MetaCons "GetDefaultPatchBaseline'" PrefixI True) (S1 (MetaSel (Just "_gdpbOperatingSystem") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe OperatingSystem))))
type Rs GetDefaultPatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

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

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

Data GetDefaultPatchBaselineResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

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

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

Show GetDefaultPatchBaselineResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

Generic GetDefaultPatchBaselineResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

Associated Types

type Rep GetDefaultPatchBaselineResponse :: Type -> Type #

NFData GetDefaultPatchBaselineResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

type Rep GetDefaultPatchBaselineResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetDefaultPatchBaseline

type Rep GetDefaultPatchBaselineResponse = D1 (MetaData "GetDefaultPatchBaselineResponse" "Network.AWS.SSM.GetDefaultPatchBaseline" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "GetDefaultPatchBaselineResponse'" PrefixI True) (S1 (MetaSel (Just "_gdpbrsOperatingSystem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OperatingSystem)) :*: (S1 (MetaSel (Just "_gdpbrsBaselineId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.