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

Contents

Description

Retrieves information about a patch baseline.

Synopsis

Creating a Request

getPatchBaseline #

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

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

data GetPatchBaseline #

See: getPatchBaseline smart constructor.

Instances

Eq GetPatchBaseline # 
Data GetPatchBaseline # 

Methods

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

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

toConstr :: GetPatchBaseline -> Constr #

dataTypeOf :: GetPatchBaseline -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPatchBaseline # 
Show GetPatchBaseline # 
Generic GetPatchBaseline # 
Hashable GetPatchBaseline # 
ToJSON GetPatchBaseline # 
NFData GetPatchBaseline # 

Methods

rnf :: GetPatchBaseline -> () #

AWSRequest GetPatchBaseline # 
ToHeaders GetPatchBaseline # 
ToPath GetPatchBaseline # 
ToQuery GetPatchBaseline # 
type Rep GetPatchBaseline # 
type Rep GetPatchBaseline = D1 * (MetaData "GetPatchBaseline" "Network.AWS.SSM.GetPatchBaseline" "amazonka-ssm-1.6.0-3Tt35jiaR0xLZVuK0jt4Pc" True) (C1 * (MetaCons "GetPatchBaseline'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gpbBaselineId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetPatchBaseline # 

Request Lenses

gpbBaselineId :: Lens' GetPatchBaseline Text #

The ID of the patch baseline to retrieve.

Destructuring the Response

getPatchBaselineResponse #

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

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

data GetPatchBaselineResponse #

See: getPatchBaselineResponse smart constructor.

Instances

Eq GetPatchBaselineResponse # 
Data GetPatchBaselineResponse # 

Methods

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

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

toConstr :: GetPatchBaselineResponse -> Constr #

dataTypeOf :: GetPatchBaselineResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetPatchBaselineResponse # 
Generic GetPatchBaselineResponse # 
NFData GetPatchBaselineResponse # 
type Rep GetPatchBaselineResponse # 
type Rep GetPatchBaselineResponse = D1 * (MetaData "GetPatchBaselineResponse" "Network.AWS.SSM.GetPatchBaseline" "amazonka-ssm-1.6.0-3Tt35jiaR0xLZVuK0jt4Pc" False) (C1 * (MetaCons "GetPatchBaselineResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gpbrsApprovalRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PatchRuleGroup))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gpbrsOperatingSystem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe OperatingSystem))) (S1 * (MetaSel (Just Symbol "_gpbrsGlobalFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PatchFilterGroup))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gpbrsApprovedPatchesComplianceLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PatchComplianceLevel))) (S1 * (MetaSel (Just Symbol "_gpbrsApprovedPatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gpbrsApprovedPatchesEnableNonSecurity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_gpbrsRejectedPatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text])))))) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gpbrsSources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [PatchSource]))) (S1 * (MetaSel (Just Symbol "_gpbrsCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gpbrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gpbrsPatchGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gpbrsModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_gpbrsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gpbrsBaselineId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gpbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))))

Response Lenses

gpbrsApprovalRules :: Lens' GetPatchBaselineResponse (Maybe PatchRuleGroup) #

A set of rules used to include patches in the baseline.

gpbrsOperatingSystem :: Lens' GetPatchBaselineResponse (Maybe OperatingSystem) #

Returns the operating system specified for the patch baseline.

gpbrsGlobalFilters :: Lens' GetPatchBaselineResponse (Maybe PatchFilterGroup) #

A set of global filters used to exclude patches from the baseline.

gpbrsApprovedPatchesComplianceLevel :: Lens' GetPatchBaselineResponse (Maybe PatchComplianceLevel) #

Returns the specified compliance severity level for approved patches in the patch baseline.

gpbrsApprovedPatches :: Lens' GetPatchBaselineResponse [Text] #

A list of explicitly approved patches for the baseline.

gpbrsApprovedPatchesEnableNonSecurity :: Lens' GetPatchBaselineResponse (Maybe Bool) #

Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. The default value is false. Applies to Linux instances only.

gpbrsRejectedPatches :: Lens' GetPatchBaselineResponse [Text] #

A list of explicitly rejected patches for the baseline.

gpbrsSources :: Lens' GetPatchBaselineResponse [PatchSource] #

Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.

gpbrsCreatedDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime) #

The date the patch baseline was created.

gpbrsName :: Lens' GetPatchBaselineResponse (Maybe Text) #

The name of the patch baseline.

gpbrsPatchGroups :: Lens' GetPatchBaselineResponse [Text] #

Patch groups included in the patch baseline.

gpbrsModifiedDate :: Lens' GetPatchBaselineResponse (Maybe UTCTime) #

The date the patch baseline was last modified.

gpbrsDescription :: Lens' GetPatchBaselineResponse (Maybe Text) #

A description of the patch baseline.

gpbrsBaselineId :: Lens' GetPatchBaselineResponse (Maybe Text) #

The ID of the retrieved patch baseline.

gpbrsResponseStatus :: Lens' GetPatchBaselineResponse Int #

  • - | The response status code.