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

Contents

Description

Registers a target with a Maintenance Window.

Synopsis

Creating a Request

registerTargetWithMaintenanceWindow Source #

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

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

  • rClientToken - User-provided idempotency token.
  • rOwnerInformation - User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
  • rName - An optional name for the target.
  • rDescription - An optional description for the target.
  • rWindowId - The ID of the Maintenance Window the target should be registered with.
  • rResourceType - The type of target being registered with the Maintenance Window.
  • rTargets - The targets (either instances or tags). Specify instances using the following format: Key=InstanceIds,Values=instance-id-1,instance-id-2 Specify tags using either of the following formats: Key=tag:tag-key,Values=tag-value-1,tag-value-2 Key=tag-key,Values=tag-key-1,tag-key-2

data RegisterTargetWithMaintenanceWindow Source #

See: registerTargetWithMaintenanceWindow smart constructor.

Instances
Eq RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

Data RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

Methods

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

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

toConstr :: RegisterTargetWithMaintenanceWindow -> Constr #

dataTypeOf :: RegisterTargetWithMaintenanceWindow -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

Generic RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

Hashable RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

ToJSON RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

AWSRequest RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

ToHeaders RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

ToPath RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

ToQuery RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

NFData RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

type Rep RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

type Rep RegisterTargetWithMaintenanceWindow = D1 (MetaData "RegisterTargetWithMaintenanceWindow" "Network.AWS.SSM.RegisterTargetWithMaintenanceWindow" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "RegisterTargetWithMaintenanceWindow'" PrefixI True) ((S1 (MetaSel (Just "_rClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rOwnerInformation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 (MetaSel (Just "_rName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_rDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 (MetaSel (Just "_rWindowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_rResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 MaintenanceWindowResourceType) :*: S1 (MetaSel (Just "_rTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Target])))))
type Rs RegisterTargetWithMaintenanceWindow Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

Request Lenses

rOwnerInformation :: Lens' RegisterTargetWithMaintenanceWindow (Maybe Text) Source #

User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.

rName :: Lens' RegisterTargetWithMaintenanceWindow (Maybe Text) Source #

An optional name for the target.

rDescription :: Lens' RegisterTargetWithMaintenanceWindow (Maybe Text) Source #

An optional description for the target.

rWindowId :: Lens' RegisterTargetWithMaintenanceWindow Text Source #

The ID of the Maintenance Window the target should be registered with.

rResourceType :: Lens' RegisterTargetWithMaintenanceWindow MaintenanceWindowResourceType Source #

The type of target being registered with the Maintenance Window.

rTargets :: Lens' RegisterTargetWithMaintenanceWindow [Target] Source #

The targets (either instances or tags). Specify instances using the following format: Key=InstanceIds,Values=instance-id-1,instance-id-2 Specify tags using either of the following formats: Key=tag:tag-key,Values=tag-value-1,tag-value-2 Key=tag-key,Values=tag-key-1,tag-key-2

Destructuring the Response

registerTargetWithMaintenanceWindowResponse Source #

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

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

data RegisterTargetWithMaintenanceWindowResponse Source #

Instances
Eq RegisterTargetWithMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

Data RegisterTargetWithMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

Methods

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

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

toConstr :: RegisterTargetWithMaintenanceWindowResponse -> Constr #

dataTypeOf :: RegisterTargetWithMaintenanceWindowResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RegisterTargetWithMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

Show RegisterTargetWithMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

Generic RegisterTargetWithMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

NFData RegisterTargetWithMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

type Rep RegisterTargetWithMaintenanceWindowResponse Source # 
Instance details

Defined in Network.AWS.SSM.RegisterTargetWithMaintenanceWindow

type Rep RegisterTargetWithMaintenanceWindowResponse = D1 (MetaData "RegisterTargetWithMaintenanceWindowResponse" "Network.AWS.SSM.RegisterTargetWithMaintenanceWindow" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "RegisterTargetWithMaintenanceWindowResponse'" PrefixI True) (S1 (MetaSel (Just "_rrsWindowTargetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

rrsWindowTargetId :: Lens' RegisterTargetWithMaintenanceWindowResponse (Maybe Text) Source #

The ID of the target definition in this Maintenance Window.