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 |
Amazonka.AutoScaling.BatchDeleteScheduledAction
Description
Deletes one or more scheduled actions for the specified Auto Scaling group.
Synopsis
- data BatchDeleteScheduledAction = BatchDeleteScheduledAction' {}
- newBatchDeleteScheduledAction :: Text -> BatchDeleteScheduledAction
- batchDeleteScheduledAction_autoScalingGroupName :: Lens' BatchDeleteScheduledAction Text
- batchDeleteScheduledAction_scheduledActionNames :: Lens' BatchDeleteScheduledAction [Text]
- data BatchDeleteScheduledActionResponse = BatchDeleteScheduledActionResponse' {}
- newBatchDeleteScheduledActionResponse :: Int -> BatchDeleteScheduledActionResponse
- batchDeleteScheduledActionResponse_failedScheduledActions :: Lens' BatchDeleteScheduledActionResponse (Maybe [FailedScheduledUpdateGroupActionRequest])
- batchDeleteScheduledActionResponse_httpStatus :: Lens' BatchDeleteScheduledActionResponse Int
Creating a Request
data BatchDeleteScheduledAction Source #
See: newBatchDeleteScheduledAction
smart constructor.
Constructors
BatchDeleteScheduledAction' | |
Fields
|
Instances
newBatchDeleteScheduledAction Source #
Create a value of BatchDeleteScheduledAction
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:BatchDeleteScheduledAction'
, batchDeleteScheduledAction_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:scheduledActionNames:BatchDeleteScheduledAction'
, batchDeleteScheduledAction_scheduledActionNames
- The names of the scheduled actions to delete. The maximum number allowed
is 50.
Request Lenses
batchDeleteScheduledAction_autoScalingGroupName :: Lens' BatchDeleteScheduledAction Text Source #
The name of the Auto Scaling group.
batchDeleteScheduledAction_scheduledActionNames :: Lens' BatchDeleteScheduledAction [Text] Source #
The names of the scheduled actions to delete. The maximum number allowed is 50.
Destructuring the Response
data BatchDeleteScheduledActionResponse Source #
See: newBatchDeleteScheduledActionResponse
smart constructor.
Constructors
BatchDeleteScheduledActionResponse' | |
Fields
|
Instances
newBatchDeleteScheduledActionResponse Source #
Arguments
:: Int | |
-> BatchDeleteScheduledActionResponse |
Create a value of BatchDeleteScheduledActionResponse
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:failedScheduledActions:BatchDeleteScheduledActionResponse'
, batchDeleteScheduledActionResponse_failedScheduledActions
- The names of the scheduled actions that could not be deleted, including
an error message.
$sel:httpStatus:BatchDeleteScheduledActionResponse'
, batchDeleteScheduledActionResponse_httpStatus
- The response's http status code.
Response Lenses
batchDeleteScheduledActionResponse_failedScheduledActions :: Lens' BatchDeleteScheduledActionResponse (Maybe [FailedScheduledUpdateGroupActionRequest]) Source #
The names of the scheduled actions that could not be deleted, including an error message.
batchDeleteScheduledActionResponse_httpStatus :: Lens' BatchDeleteScheduledActionResponse Int Source #
The response's http status code.