Safe Haskell | None |
---|---|
Language | Haskell2010 |
Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-basedInstances.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing UserPermissions.
http://docs.aws.amazon.com/opsworks/latest/APIReference/API_SetTimeBasedAutoScaling.html
- data SetTimeBasedAutoScaling
- setTimeBasedAutoScaling :: Text -> SetTimeBasedAutoScaling
- stbasAutoScalingSchedule :: Lens' SetTimeBasedAutoScaling (Maybe WeeklyAutoScalingSchedule)
- stbasInstanceId :: Lens' SetTimeBasedAutoScaling Text
- data SetTimeBasedAutoScalingResponse
- setTimeBasedAutoScalingResponse :: SetTimeBasedAutoScalingResponse
Request
data SetTimeBasedAutoScaling Source
Request constructor
setTimeBasedAutoScaling Source
SetTimeBasedAutoScaling
constructor.
The fields accessible through corresponding lenses are:
Request lenses
stbasAutoScalingSchedule :: Lens' SetTimeBasedAutoScaling (Maybe WeeklyAutoScalingSchedule) Source
An AutoScalingSchedule
with the instance schedule.
stbasInstanceId :: Lens' SetTimeBasedAutoScaling Text Source
The instance ID.