| 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 |
Network.AWS.RDS.ApplyPendingMaintenanceAction
Description
Applies a pending maintenance action to a resource (for example, to a DB instance).
See: AWS API Reference for ApplyPendingMaintenanceAction.
- applyPendingMaintenanceAction :: Text -> Text -> Text -> ApplyPendingMaintenanceAction
- data ApplyPendingMaintenanceAction
- apmaResourceIdentifier :: Lens' ApplyPendingMaintenanceAction Text
- apmaApplyAction :: Lens' ApplyPendingMaintenanceAction Text
- apmaOptInType :: Lens' ApplyPendingMaintenanceAction Text
- applyPendingMaintenanceActionResponse :: Int -> ApplyPendingMaintenanceActionResponse
- data ApplyPendingMaintenanceActionResponse
- apmarsResourcePendingMaintenanceActions :: Lens' ApplyPendingMaintenanceActionResponse (Maybe ResourcePendingMaintenanceActions)
- apmarsResponseStatus :: Lens' ApplyPendingMaintenanceActionResponse Int
Creating a Request
applyPendingMaintenanceAction Source
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> ApplyPendingMaintenanceAction |
Creates a value of ApplyPendingMaintenanceAction with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ApplyPendingMaintenanceAction Source
See: applyPendingMaintenanceAction smart constructor.
Instances
Request Lenses
apmaResourceIdentifier :: Lens' ApplyPendingMaintenanceAction Text Source
The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
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.
Destructuring the Response
applyPendingMaintenanceActionResponse Source
Arguments
| :: Int | |
| -> ApplyPendingMaintenanceActionResponse |
Creates a value of ApplyPendingMaintenanceActionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ApplyPendingMaintenanceActionResponse Source
See: applyPendingMaintenanceActionResponse smart constructor.
Instances
Response Lenses
apmarsResourcePendingMaintenanceActions :: Lens' ApplyPendingMaintenanceActionResponse (Maybe ResourcePendingMaintenanceActions) Source
Undocumented member.
apmarsResponseStatus :: Lens' ApplyPendingMaintenanceActionResponse Int Source
The response status code.