Copyright | (c) 2013-2015 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 |
Creates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.
For more information, see Scheduled Scaling in the Auto Scaling Developer Guide.
See: AWS API Reference for PutScheduledUpdateGroupAction.
- putScheduledUpdateGroupAction :: Text -> Text -> PutScheduledUpdateGroupAction
- data PutScheduledUpdateGroupAction
- psugaTime :: Lens' PutScheduledUpdateGroupAction (Maybe UTCTime)
- psugaStartTime :: Lens' PutScheduledUpdateGroupAction (Maybe UTCTime)
- psugaMaxSize :: Lens' PutScheduledUpdateGroupAction (Maybe Int)
- psugaDesiredCapacity :: Lens' PutScheduledUpdateGroupAction (Maybe Int)
- psugaRecurrence :: Lens' PutScheduledUpdateGroupAction (Maybe Text)
- psugaMinSize :: Lens' PutScheduledUpdateGroupAction (Maybe Int)
- psugaEndTime :: Lens' PutScheduledUpdateGroupAction (Maybe UTCTime)
- psugaAutoScalingGroupName :: Lens' PutScheduledUpdateGroupAction Text
- psugaScheduledActionName :: Lens' PutScheduledUpdateGroupAction Text
- putScheduledUpdateGroupActionResponse :: PutScheduledUpdateGroupActionResponse
- data PutScheduledUpdateGroupActionResponse
Creating a Request
putScheduledUpdateGroupAction Source
Creates a value of PutScheduledUpdateGroupAction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PutScheduledUpdateGroupAction Source
See: putScheduledUpdateGroupAction
smart constructor.
Request Lenses
psugaTime :: Lens' PutScheduledUpdateGroupAction (Maybe UTCTime) Source
This parameter is deprecated; use StartTime
instead.
The time for this action to start. If both Time
and StartTime
are
specified, their values must be identical.
psugaStartTime :: Lens' PutScheduledUpdateGroupAction (Maybe UTCTime) Source
The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, '2014-06-01T00:00:00Z').
If you try to schedule your action in the past, Auto Scaling returns an error message.
When StartTime
and EndTime
are specified with Recurrence
, they
form the boundaries of when the recurring action starts and stops.
psugaMaxSize :: Lens' PutScheduledUpdateGroupAction (Maybe Int) Source
The maximum size for the Auto Scaling group.
psugaDesiredCapacity :: Lens' PutScheduledUpdateGroupAction (Maybe Int) Source
The number of EC2 instances that should be running in the group.
psugaRecurrence :: Lens' PutScheduledUpdateGroupAction (Maybe Text) Source
The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For more information, see Cron in Wikipedia.
When StartTime
and EndTime
are specified with Recurrence
, they
form the boundaries of when the recurring action will start and stop.
psugaMinSize :: Lens' PutScheduledUpdateGroupAction (Maybe Int) Source
The minimum size for the Auto Scaling group.
psugaEndTime :: Lens' PutScheduledUpdateGroupAction (Maybe UTCTime) Source
The time for this action to end.
psugaAutoScalingGroupName :: Lens' PutScheduledUpdateGroupAction Text Source
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
psugaScheduledActionName :: Lens' PutScheduledUpdateGroupAction Text Source
The name of this scaling action.
Destructuring the Response
putScheduledUpdateGroupActionResponse :: PutScheduledUpdateGroupActionResponse Source
Creates a value of PutScheduledUpdateGroupActionResponse
with the minimum fields required to make a request.
data PutScheduledUpdateGroupActionResponse Source
See: putScheduledUpdateGroupActionResponse
smart constructor.