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

Copyright(c) 2013-2016 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).

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:

data ApplyPendingMaintenanceAction Source #

See: applyPendingMaintenanceAction smart constructor.

Instances

Eq ApplyPendingMaintenanceAction Source # 
Data ApplyPendingMaintenanceAction Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplyPendingMaintenanceAction -> c ApplyPendingMaintenanceAction #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplyPendingMaintenanceAction #

toConstr :: ApplyPendingMaintenanceAction -> Constr #

dataTypeOf :: ApplyPendingMaintenanceAction -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ApplyPendingMaintenanceAction) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplyPendingMaintenanceAction) #

gmapT :: (forall b. Data b => b -> b) -> ApplyPendingMaintenanceAction -> ApplyPendingMaintenanceAction #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplyPendingMaintenanceAction -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplyPendingMaintenanceAction -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplyPendingMaintenanceAction -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplyPendingMaintenanceAction -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplyPendingMaintenanceAction -> m ApplyPendingMaintenanceAction #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplyPendingMaintenanceAction -> m ApplyPendingMaintenanceAction #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplyPendingMaintenanceAction -> m ApplyPendingMaintenanceAction #

Read ApplyPendingMaintenanceAction Source # 
Show ApplyPendingMaintenanceAction Source # 
Generic ApplyPendingMaintenanceAction Source # 
Hashable ApplyPendingMaintenanceAction Source # 
NFData ApplyPendingMaintenanceAction Source # 
AWSRequest ApplyPendingMaintenanceAction Source # 
ToQuery ApplyPendingMaintenanceAction Source # 
ToPath ApplyPendingMaintenanceAction Source # 
ToHeaders ApplyPendingMaintenanceAction Source # 
type Rep ApplyPendingMaintenanceAction Source # 
type Rep ApplyPendingMaintenanceAction = D1 (MetaData "ApplyPendingMaintenanceAction" "Network.AWS.RDS.ApplyPendingMaintenanceAction" "amazonka-rds-1.4.3-4bcWghDPA7l4r93XQMzvZA" False) (C1 (MetaCons "ApplyPendingMaintenanceAction'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_apmaResourceIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_apmaApplyAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_apmaOptInType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ApplyPendingMaintenanceAction Source # 

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.

Valid values: 'system-update', 'db-upgrade'

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:

data ApplyPendingMaintenanceActionResponse Source #

Instances

Eq ApplyPendingMaintenanceActionResponse Source # 
Data ApplyPendingMaintenanceActionResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplyPendingMaintenanceActionResponse -> c ApplyPendingMaintenanceActionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplyPendingMaintenanceActionResponse #

toConstr :: ApplyPendingMaintenanceActionResponse -> Constr #

dataTypeOf :: ApplyPendingMaintenanceActionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ApplyPendingMaintenanceActionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplyPendingMaintenanceActionResponse) #

gmapT :: (forall b. Data b => b -> b) -> ApplyPendingMaintenanceActionResponse -> ApplyPendingMaintenanceActionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplyPendingMaintenanceActionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplyPendingMaintenanceActionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplyPendingMaintenanceActionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplyPendingMaintenanceActionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplyPendingMaintenanceActionResponse -> m ApplyPendingMaintenanceActionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplyPendingMaintenanceActionResponse -> m ApplyPendingMaintenanceActionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplyPendingMaintenanceActionResponse -> m ApplyPendingMaintenanceActionResponse #

Read ApplyPendingMaintenanceActionResponse Source # 
Show ApplyPendingMaintenanceActionResponse Source # 
Generic ApplyPendingMaintenanceActionResponse Source # 
NFData ApplyPendingMaintenanceActionResponse Source # 
type Rep ApplyPendingMaintenanceActionResponse Source # 
type Rep ApplyPendingMaintenanceActionResponse = D1 (MetaData "ApplyPendingMaintenanceActionResponse" "Network.AWS.RDS.ApplyPendingMaintenanceAction" "amazonka-rds-1.4.3-4bcWghDPA7l4r93XQMzvZA" False) (C1 (MetaCons "ApplyPendingMaintenanceActionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_apmarsResourcePendingMaintenanceActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourcePendingMaintenanceActions))) (S1 (MetaSel (Just Symbol "_apmarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses