Safe Haskell | None |
---|---|
Language | Haskell2010 |
Applies a pending maintenance action to a resource (for example, a DB instance).
http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_ApplyPendingMaintenanceAction.html
- data ApplyPendingMaintenanceAction
- applyPendingMaintenanceAction :: Text -> Text -> Text -> ApplyPendingMaintenanceAction
- apmaApplyAction :: Lens' ApplyPendingMaintenanceAction Text
- apmaOptInType :: Lens' ApplyPendingMaintenanceAction Text
- apmaResourceIdentifier :: Lens' ApplyPendingMaintenanceAction Text
- data ApplyPendingMaintenanceActionResponse
- applyPendingMaintenanceActionResponse :: ApplyPendingMaintenanceActionResponse
- apmarResourcePendingMaintenanceActions :: Lens' ApplyPendingMaintenanceActionResponse (Maybe ResourcePendingMaintenanceActions)
Request
data ApplyPendingMaintenanceAction Source
Request constructor
applyPendingMaintenanceAction Source
:: Text | |
-> Text | |
-> Text | |
-> ApplyPendingMaintenanceAction |
ApplyPendingMaintenanceAction
constructor.
The fields accessible through corresponding lenses are:
Request lenses
apmaApplyAction :: Lens' ApplyPendingMaintenanceAction Text Source
The pending maintenance action to apply to this resource.
apmaOptInType :: Lens' ApplyPendingMaintenanceAction Text Source
A value that specifies the type of opt-in request, or undoes an opt-in
request. An opt-in request of type immediate
cannot be undone.
Valid values:
immediate
- Apply the maintenance action immediately. 'next-maintenance' -
Apply the maintenance action during the next maintenance window for the
resource. 'undo-opt-in' - Cancel any existing 'next-maintenance' opt-in requests.
apmaResourceIdentifier :: Lens' ApplyPendingMaintenanceAction Text Source
The ARN of the resource that the pending maintenance action applies to.
Response
Response constructor
applyPendingMaintenanceActionResponse :: ApplyPendingMaintenanceActionResponse Source
ApplyPendingMaintenanceActionResponse
constructor.
The fields accessible through corresponding lenses are: