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

Defined in Network.AWS.SSM.UpdatePatchBaseline

Data UpdatePatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

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 #

Show UpdatePatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

Generic UpdatePatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

Associated Types

type Rep UpdatePatchBaseline :: Type -> Type #

Hashable UpdatePatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

ToJSON UpdatePatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

AWSRequest UpdatePatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

Associated Types

type Rs UpdatePatchBaseline :: Type #

ToHeaders UpdatePatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

ToPath UpdatePatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

ToQuery UpdatePatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

NFData UpdatePatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

Methods

rnf :: UpdatePatchBaseline -> () #

type Rep UpdatePatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

type Rep UpdatePatchBaseline = D1 (MetaData "UpdatePatchBaseline" "Network.AWS.SSM.UpdatePatchBaseline" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "UpdatePatchBaseline'" PrefixI True) (((S1 (MetaSel (Just "_upbReplace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_upbApprovalRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PatchRuleGroup))) :*: (S1 (MetaSel (Just "_upbGlobalFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PatchFilterGroup)) :*: (S1 (MetaSel (Just "_upbApprovedPatchesComplianceLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PatchComplianceLevel)) :*: S1 (MetaSel (Just "_upbApprovedPatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) :*: ((S1 (MetaSel (Just "_upbApprovedPatchesEnableNonSecurity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_upbRejectedPatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_upbSources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PatchSource])))) :*: (S1 (MetaSel (Just "_upbName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_upbDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_upbBaselineId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs UpdatePatchBaseline Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

Request Lenses

upbReplace :: Lens' UpdatePatchBaseline (Maybe Bool) Source #

If True, then all fields that are required by the CreatePatchBaseline action are also required for this API request. Optional fields that are not specified are set to null.

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. For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide .

upbApprovedPatchesEnableNonSecurity :: Lens' UpdatePatchBaseline (Maybe Bool) Source #

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.

upbRejectedPatches :: Lens' UpdatePatchBaseline [Text] Source #

A list of explicitly rejected patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide .

upbSources :: Lens' UpdatePatchBaseline [PatchSource] Source #

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

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

Defined in Network.AWS.SSM.UpdatePatchBaseline

Data UpdatePatchBaselineResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

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 #

Show UpdatePatchBaselineResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

Generic UpdatePatchBaselineResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

Associated Types

type Rep UpdatePatchBaselineResponse :: Type -> Type #

NFData UpdatePatchBaselineResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

type Rep UpdatePatchBaselineResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdatePatchBaseline

type Rep UpdatePatchBaselineResponse = D1 (MetaData "UpdatePatchBaselineResponse" "Network.AWS.SSM.UpdatePatchBaseline" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "UpdatePatchBaselineResponse'" PrefixI True) (((S1 (MetaSel (Just "_upbrsApprovalRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PatchRuleGroup)) :*: (S1 (MetaSel (Just "_upbrsOperatingSystem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OperatingSystem)) :*: S1 (MetaSel (Just "_upbrsGlobalFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PatchFilterGroup)))) :*: ((S1 (MetaSel (Just "_upbrsApprovedPatchesComplianceLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PatchComplianceLevel)) :*: S1 (MetaSel (Just "_upbrsApprovedPatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_upbrsApprovedPatchesEnableNonSecurity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_upbrsRejectedPatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) :*: ((S1 (MetaSel (Just "_upbrsSources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PatchSource])) :*: (S1 (MetaSel (Just "_upbrsCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_upbrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_upbrsModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_upbrsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_upbrsBaselineId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.

upbrsApprovedPatchesEnableNonSecurity :: Lens' UpdatePatchBaselineResponse (Maybe Bool) Source #

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.

upbrsRejectedPatches :: Lens' UpdatePatchBaselineResponse [Text] Source #

A list of explicitly rejected patches for the baseline.

upbrsSources :: Lens' UpdatePatchBaselineResponse [PatchSource] Source #

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

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.