Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.SSM.RegisterTargetWithMaintenanceWindow
Description
Registers a target with a Maintenance Window.
- registerTargetWithMaintenanceWindow :: Text -> MaintenanceWindowResourceType -> RegisterTargetWithMaintenanceWindow
- data RegisterTargetWithMaintenanceWindow
- rClientToken :: Lens' RegisterTargetWithMaintenanceWindow (Maybe Text)
- rOwnerInformation :: Lens' RegisterTargetWithMaintenanceWindow (Maybe Text)
- rWindowId :: Lens' RegisterTargetWithMaintenanceWindow Text
- rResourceType :: Lens' RegisterTargetWithMaintenanceWindow MaintenanceWindowResourceType
- rTargets :: Lens' RegisterTargetWithMaintenanceWindow [Target]
- registerTargetWithMaintenanceWindowResponse :: Int -> RegisterTargetWithMaintenanceWindowResponse
- data RegisterTargetWithMaintenanceWindowResponse
- rrsWindowTargetId :: Lens' RegisterTargetWithMaintenanceWindowResponse (Maybe Text)
- rrsResponseStatus :: Lens' RegisterTargetWithMaintenanceWindowResponse Int
Creating a Request
registerTargetWithMaintenanceWindow #
Arguments
:: Text | |
-> MaintenanceWindowResourceType | |
-> 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
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:
rrsWindowTargetId
- The ID of the target definition in this Maintenance Window.rrsResponseStatus
- -- | The response status code.
data RegisterTargetWithMaintenanceWindowResponse #
See: registerTargetWithMaintenanceWindowResponse
smart constructor.
Instances
Response Lenses
rrsWindowTargetId :: Lens' RegisterTargetWithMaintenanceWindowResponse (Maybe Text) #
The ID of the target definition in this Maintenance Window.
rrsResponseStatus :: Lens' RegisterTargetWithMaintenanceWindowResponse Int #
- - | The response status code.