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 |
Creates or updates one or more scheduled scaling actions for an Auto Scaling group.
Synopsis
- data BatchPutScheduledUpdateGroupAction = BatchPutScheduledUpdateGroupAction' {}
- newBatchPutScheduledUpdateGroupAction :: Text -> BatchPutScheduledUpdateGroupAction
- batchPutScheduledUpdateGroupAction_autoScalingGroupName :: Lens' BatchPutScheduledUpdateGroupAction Text
- batchPutScheduledUpdateGroupAction_scheduledUpdateGroupActions :: Lens' BatchPutScheduledUpdateGroupAction [ScheduledUpdateGroupActionRequest]
- data BatchPutScheduledUpdateGroupActionResponse = BatchPutScheduledUpdateGroupActionResponse' {}
- newBatchPutScheduledUpdateGroupActionResponse :: Int -> BatchPutScheduledUpdateGroupActionResponse
- batchPutScheduledUpdateGroupActionResponse_failedScheduledUpdateGroupActions :: Lens' BatchPutScheduledUpdateGroupActionResponse (Maybe [FailedScheduledUpdateGroupActionRequest])
- batchPutScheduledUpdateGroupActionResponse_httpStatus :: Lens' BatchPutScheduledUpdateGroupActionResponse Int
Creating a Request
data BatchPutScheduledUpdateGroupAction Source #
See: newBatchPutScheduledUpdateGroupAction
smart constructor.
BatchPutScheduledUpdateGroupAction' | |
|
Instances
newBatchPutScheduledUpdateGroupAction Source #
:: Text |
|
-> BatchPutScheduledUpdateGroupAction |
Create a value of BatchPutScheduledUpdateGroupAction
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:autoScalingGroupName:BatchPutScheduledUpdateGroupAction'
, batchPutScheduledUpdateGroupAction_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:scheduledUpdateGroupActions:BatchPutScheduledUpdateGroupAction'
, batchPutScheduledUpdateGroupAction_scheduledUpdateGroupActions
- One or more scheduled actions. The maximum number allowed is 50.
Request Lenses
batchPutScheduledUpdateGroupAction_autoScalingGroupName :: Lens' BatchPutScheduledUpdateGroupAction Text Source #
The name of the Auto Scaling group.
batchPutScheduledUpdateGroupAction_scheduledUpdateGroupActions :: Lens' BatchPutScheduledUpdateGroupAction [ScheduledUpdateGroupActionRequest] Source #
One or more scheduled actions. The maximum number allowed is 50.
Destructuring the Response
data BatchPutScheduledUpdateGroupActionResponse Source #
See: newBatchPutScheduledUpdateGroupActionResponse
smart constructor.
BatchPutScheduledUpdateGroupActionResponse' | |
|
Instances
newBatchPutScheduledUpdateGroupActionResponse Source #
Create a value of BatchPutScheduledUpdateGroupActionResponse
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:failedScheduledUpdateGroupActions:BatchPutScheduledUpdateGroupActionResponse'
, batchPutScheduledUpdateGroupActionResponse_failedScheduledUpdateGroupActions
- The names of the scheduled actions that could not be created or updated,
including an error message.
$sel:httpStatus:BatchPutScheduledUpdateGroupActionResponse'
, batchPutScheduledUpdateGroupActionResponse_httpStatus
- The response's http status code.
Response Lenses
batchPutScheduledUpdateGroupActionResponse_failedScheduledUpdateGroupActions :: Lens' BatchPutScheduledUpdateGroupActionResponse (Maybe [FailedScheduledUpdateGroupActionRequest]) Source #
The names of the scheduled actions that could not be created or updated, including an error message.
batchPutScheduledUpdateGroupActionResponse_httpStatus :: Lens' BatchPutScheduledUpdateGroupActionResponse Int Source #
The response's http status code.