Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances.
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 User Permissions.
Synopsis
- data SetTimeBasedAutoScaling = SetTimeBasedAutoScaling' {}
- newSetTimeBasedAutoScaling :: Text -> SetTimeBasedAutoScaling
- setTimeBasedAutoScaling_autoScalingSchedule :: Lens' SetTimeBasedAutoScaling (Maybe WeeklyAutoScalingSchedule)
- setTimeBasedAutoScaling_instanceId :: Lens' SetTimeBasedAutoScaling Text
- data SetTimeBasedAutoScalingResponse = SetTimeBasedAutoScalingResponse' {
- newSetTimeBasedAutoScalingResponse :: SetTimeBasedAutoScalingResponse
Creating a Request
data SetTimeBasedAutoScaling Source #
See: newSetTimeBasedAutoScaling
smart constructor.
SetTimeBasedAutoScaling' | |
|
Instances
newSetTimeBasedAutoScaling Source #
Create a value of SetTimeBasedAutoScaling
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingSchedule:SetTimeBasedAutoScaling'
, setTimeBasedAutoScaling_autoScalingSchedule
- An AutoScalingSchedule
with the instance schedule.
$sel:instanceId:SetTimeBasedAutoScaling'
, setTimeBasedAutoScaling_instanceId
- The instance ID.
Request Lenses
setTimeBasedAutoScaling_autoScalingSchedule :: Lens' SetTimeBasedAutoScaling (Maybe WeeklyAutoScalingSchedule) Source #
An AutoScalingSchedule
with the instance schedule.
setTimeBasedAutoScaling_instanceId :: Lens' SetTimeBasedAutoScaling Text Source #
The instance ID.
Destructuring the Response
data SetTimeBasedAutoScalingResponse Source #
See: newSetTimeBasedAutoScalingResponse
smart constructor.
Instances
newSetTimeBasedAutoScalingResponse :: SetTimeBasedAutoScalingResponse Source #
Create a value of SetTimeBasedAutoScalingResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.