amazonka-ssm-1.4.5: Amazon Simple Systems Manager (SSM) SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 #

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.
  • 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). Instances are specified using Key=instanceids,Values=instanceid1,instanceid2. Tags are specified using Key=name,Values=value.

data RegisterTargetWithMaintenanceWindow #

See: registerTargetWithMaintenanceWindow smart constructor.

Instances

Eq RegisterTargetWithMaintenanceWindow # 
Data 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 #

Read RegisterTargetWithMaintenanceWindow # 
Show RegisterTargetWithMaintenanceWindow # 
Generic RegisterTargetWithMaintenanceWindow # 
Hashable RegisterTargetWithMaintenanceWindow # 
ToJSON RegisterTargetWithMaintenanceWindow # 
NFData RegisterTargetWithMaintenanceWindow # 
AWSRequest RegisterTargetWithMaintenanceWindow # 
ToQuery RegisterTargetWithMaintenanceWindow # 
ToPath RegisterTargetWithMaintenanceWindow # 
ToHeaders RegisterTargetWithMaintenanceWindow # 
type Rep RegisterTargetWithMaintenanceWindow # 
type Rep RegisterTargetWithMaintenanceWindow = D1 (MetaData "RegisterTargetWithMaintenanceWindow" "Network.AWS.SSM.RegisterTargetWithMaintenanceWindow" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "RegisterTargetWithMaintenanceWindow'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rOwnerInformation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_rWindowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_rResourceType") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 MaintenanceWindowResourceType)) (S1 (MetaSel (Just Symbol "_rTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Target]))))))
type Rs RegisterTargetWithMaintenanceWindow # 

Request Lenses

rClientToken :: Lens' RegisterTargetWithMaintenanceWindow (Maybe Text) #

User-provided idempotency token.

rOwnerInformation :: Lens' RegisterTargetWithMaintenanceWindow (Maybe Text) #

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

rWindowId :: Lens' RegisterTargetWithMaintenanceWindow Text #

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

rResourceType :: Lens' RegisterTargetWithMaintenanceWindow MaintenanceWindowResourceType #

The type of target being registered with the Maintenance Window.

rTargets :: Lens' RegisterTargetWithMaintenanceWindow [Target] #

The targets (either instances or tags). Instances are specified using Key=instanceids,Values=instanceid1,instanceid2. Tags are specified using Key=name,Values=value.

Destructuring the Response

registerTargetWithMaintenanceWindowResponse #

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 #

Instances

Eq RegisterTargetWithMaintenanceWindowResponse # 
Data RegisterTargetWithMaintenanceWindowResponse # 

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 # 
Show RegisterTargetWithMaintenanceWindowResponse # 
Generic RegisterTargetWithMaintenanceWindowResponse # 
NFData RegisterTargetWithMaintenanceWindowResponse # 
type Rep RegisterTargetWithMaintenanceWindowResponse # 
type Rep RegisterTargetWithMaintenanceWindowResponse = D1 (MetaData "RegisterTargetWithMaintenanceWindowResponse" "Network.AWS.SSM.RegisterTargetWithMaintenanceWindow" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "RegisterTargetWithMaintenanceWindowResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rrsWindowTargetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

rrsWindowTargetId :: Lens' RegisterTargetWithMaintenanceWindowResponse (Maybe Text) #

The ID of the target definition in this Maintenance Window.