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

Contents

Description

Modifies an existing patch baseline. Fields not specified in the request are left unchanged.

Synopsis

Creating a Request

updatePatchBaseline Source #

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

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

data UpdatePatchBaseline Source #

See: updatePatchBaseline smart constructor.

Instances

Eq UpdatePatchBaseline Source # 
Data UpdatePatchBaseline Source # 

Methods

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

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

toConstr :: UpdatePatchBaseline -> Constr #

dataTypeOf :: UpdatePatchBaseline -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdatePatchBaseline -> () #

AWSRequest UpdatePatchBaseline Source # 
ToQuery UpdatePatchBaseline Source # 
ToPath UpdatePatchBaseline Source # 
ToHeaders UpdatePatchBaseline Source # 
type Rep UpdatePatchBaseline Source # 
type Rep UpdatePatchBaseline = D1 (MetaData "UpdatePatchBaseline" "Network.AWS.SSM.UpdatePatchBaseline" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "UpdatePatchBaseline'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_upbApprovalRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PatchRuleGroup))) (S1 (MetaSel (Just Symbol "_upbGlobalFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PatchFilterGroup)))) ((:*:) (S1 (MetaSel (Just Symbol "_upbApprovedPatchesComplianceLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PatchComplianceLevel))) (S1 (MetaSel (Just Symbol "_upbApprovedPatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_upbRejectedPatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_upbName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_upbDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_upbBaselineId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs UpdatePatchBaseline Source # 

Request Lenses

upbApprovalRules :: Lens' UpdatePatchBaseline (Maybe PatchRuleGroup) Source #

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

upbGlobalFilters :: Lens' UpdatePatchBaseline (Maybe PatchFilterGroup) Source #

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

upbApprovedPatchesComplianceLevel :: Lens' UpdatePatchBaseline (Maybe PatchComplianceLevel) Source #

Assigns a new compliance severity level to an existing patch baseline.

upbApprovedPatches :: Lens' UpdatePatchBaseline [Text] Source #

A list of explicitly approved patches for the baseline.

upbRejectedPatches :: Lens' UpdatePatchBaseline [Text] Source #

A list of explicitly rejected patches for the baseline.

upbName :: Lens' UpdatePatchBaseline (Maybe Text) Source #

The name of the patch baseline.

upbDescription :: Lens' UpdatePatchBaseline (Maybe Text) Source #

A description of the patch baseline.

upbBaselineId :: Lens' UpdatePatchBaseline Text Source #

The ID of the patch baseline to update.

Destructuring the Response

updatePatchBaselineResponse Source #

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

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

data UpdatePatchBaselineResponse Source #

See: updatePatchBaselineResponse smart constructor.

Instances

Eq UpdatePatchBaselineResponse Source # 
Data UpdatePatchBaselineResponse Source # 

Methods

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

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

toConstr :: UpdatePatchBaselineResponse -> Constr #

dataTypeOf :: UpdatePatchBaselineResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdatePatchBaselineResponse Source # 
Show UpdatePatchBaselineResponse Source # 
Generic UpdatePatchBaselineResponse Source # 
NFData UpdatePatchBaselineResponse Source # 
type Rep UpdatePatchBaselineResponse Source # 
type Rep UpdatePatchBaselineResponse = D1 (MetaData "UpdatePatchBaselineResponse" "Network.AWS.SSM.UpdatePatchBaseline" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "UpdatePatchBaselineResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_upbrsApprovalRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PatchRuleGroup))) ((:*:) (S1 (MetaSel (Just Symbol "_upbrsOperatingSystem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OperatingSystem))) (S1 (MetaSel (Just Symbol "_upbrsGlobalFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PatchFilterGroup))))) ((:*:) (S1 (MetaSel (Just Symbol "_upbrsApprovedPatchesComplianceLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PatchComplianceLevel))) ((:*:) (S1 (MetaSel (Just Symbol "_upbrsApprovedPatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_upbrsRejectedPatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_upbrsCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) ((:*:) (S1 (MetaSel (Just Symbol "_upbrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_upbrsModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))))) ((:*:) (S1 (MetaSel (Just Symbol "_upbrsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_upbrsBaselineId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_upbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))))

Response Lenses

upbrsApprovalRules :: Lens' UpdatePatchBaselineResponse (Maybe PatchRuleGroup) Source #

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

upbrsOperatingSystem :: Lens' UpdatePatchBaselineResponse (Maybe OperatingSystem) Source #

The operating system rule used by the updated patch baseline.

upbrsGlobalFilters :: Lens' UpdatePatchBaselineResponse (Maybe PatchFilterGroup) Source #

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

upbrsApprovedPatchesComplianceLevel :: Lens' UpdatePatchBaselineResponse (Maybe PatchComplianceLevel) Source #

The compliance severity level assigned to the patch baseline after the update completed.

upbrsApprovedPatches :: Lens' UpdatePatchBaselineResponse [Text] Source #

A list of explicitly approved patches for the baseline.

upbrsRejectedPatches :: Lens' UpdatePatchBaselineResponse [Text] Source #

A list of explicitly rejected patches for the baseline.

upbrsCreatedDate :: Lens' UpdatePatchBaselineResponse (Maybe UTCTime) Source #

The date when the patch baseline was created.

upbrsName :: Lens' UpdatePatchBaselineResponse (Maybe Text) Source #

The name of the patch baseline.

upbrsModifiedDate :: Lens' UpdatePatchBaselineResponse (Maybe UTCTime) Source #

The date when the patch baseline was last modified.

upbrsDescription :: Lens' UpdatePatchBaselineResponse (Maybe Text) Source #

A description of the Patch Baseline.

upbrsBaselineId :: Lens' UpdatePatchBaselineResponse (Maybe Text) Source #

The ID of the deleted patch baseline.