| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AutoScaling.BatchPutScheduledUpdateGroupAction
Description
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.
Constructors
| BatchPutScheduledUpdateGroupAction' | |
Fields
| |
Instances
newBatchPutScheduledUpdateGroupAction Source #
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:
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.
Constructors
| BatchPutScheduledUpdateGroupActionResponse' | |
Fields
| |
Instances
newBatchPutScheduledUpdateGroupActionResponse Source #
Arguments
| :: Int | |
| -> BatchPutScheduledUpdateGroupActionResponse |
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.