amazonka-rds-1.2.0.1: Amazon Relational Database Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.RDS.ApplyPendingMaintenanceAction

Contents

Description

Applies a pending maintenance action to a resource (for example, to a DB instance).

See: AWS API Reference for ApplyPendingMaintenanceAction.

Synopsis

Creating a Request

applyPendingMaintenanceAction Source

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:

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

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:

Response Lenses