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

Contents

Description

Creates a patch baseline.

Synopsis

Creating a Request

createPatchBaseline Source #

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

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

  • cpbApprovalRules - A set of rules used to include patches in the baseline.
  • cpbClientToken - User-provided idempotency token.
  • cpbOperatingSystem - Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS.
  • cpbGlobalFilters - A set of global filters used to exclude patches from the baseline.
  • cpbApprovedPatchesComplianceLevel - Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance severity levels include the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.
  • cpbApprovedPatches - A list of explicitly approved patches for the baseline.
  • cpbRejectedPatches - A list of explicitly rejected patches for the baseline.
  • cpbDescription - A description of the patch baseline.
  • cpbName - The name of the patch baseline.

data CreatePatchBaseline Source #

See: createPatchBaseline smart constructor.

Instances

Eq CreatePatchBaseline Source # 
Data CreatePatchBaseline Source # 

Methods

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

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

toConstr :: CreatePatchBaseline -> Constr #

dataTypeOf :: CreatePatchBaseline -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CreatePatchBaseline -> () #

AWSRequest CreatePatchBaseline Source # 
ToQuery CreatePatchBaseline Source # 
ToPath CreatePatchBaseline Source # 
ToHeaders CreatePatchBaseline Source # 
type Rep CreatePatchBaseline Source # 
type Rs CreatePatchBaseline Source # 

Request Lenses

cpbApprovalRules :: Lens' CreatePatchBaseline (Maybe PatchRuleGroup) Source #

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

cpbClientToken :: Lens' CreatePatchBaseline (Maybe Text) Source #

User-provided idempotency token.

cpbOperatingSystem :: Lens' CreatePatchBaseline (Maybe OperatingSystem) Source #

Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS.

cpbGlobalFilters :: Lens' CreatePatchBaseline (Maybe PatchFilterGroup) Source #

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

cpbApprovedPatchesComplianceLevel :: Lens' CreatePatchBaseline (Maybe PatchComplianceLevel) Source #

Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance severity levels include the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.

cpbApprovedPatches :: Lens' CreatePatchBaseline [Text] Source #

A list of explicitly approved patches for the baseline.

cpbRejectedPatches :: Lens' CreatePatchBaseline [Text] Source #

A list of explicitly rejected patches for the baseline.

cpbDescription :: Lens' CreatePatchBaseline (Maybe Text) Source #

A description of the patch baseline.

cpbName :: Lens' CreatePatchBaseline Text Source #

The name of the patch baseline.

Destructuring the Response

createPatchBaselineResponse Source #

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

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

data CreatePatchBaselineResponse Source #

See: createPatchBaselineResponse smart constructor.

Instances

Eq CreatePatchBaselineResponse Source # 
Data CreatePatchBaselineResponse Source # 

Methods

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

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

toConstr :: CreatePatchBaselineResponse -> Constr #

dataTypeOf :: CreatePatchBaselineResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

cpbrsBaselineId :: Lens' CreatePatchBaselineResponse (Maybe Text) Source #

The ID of the created patch baseline.