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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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:

  • apmaResourceIdentifier - 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 - The pending maintenance action to apply to this resource. Valid values: system-update , db-upgrade
  • apmaOptInType - A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type immediate can't 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.

data ApplyPendingMaintenanceAction Source #

See: applyPendingMaintenanceAction smart constructor.

Instances
Eq ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

Data ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

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 # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

Show ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

Generic ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

Associated Types

type Rep ApplyPendingMaintenanceAction :: Type -> Type #

Hashable ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

AWSRequest ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

Associated Types

type Rs ApplyPendingMaintenanceAction :: Type #

ToHeaders ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

ToPath ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

ToQuery ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

NFData ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

type Rep ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

type Rep ApplyPendingMaintenanceAction = D1 (MetaData "ApplyPendingMaintenanceAction" "Network.AWS.RDS.ApplyPendingMaintenanceAction" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "ApplyPendingMaintenanceAction'" PrefixI True) (S1 (MetaSel (Just "_apmaResourceIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_apmaApplyAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_apmaOptInType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

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 can't 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 # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

Data ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

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 # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

Show ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

Generic ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

NFData ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

type Rep ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Network.AWS.RDS.ApplyPendingMaintenanceAction

type Rep ApplyPendingMaintenanceActionResponse = D1 (MetaData "ApplyPendingMaintenanceActionResponse" "Network.AWS.RDS.ApplyPendingMaintenanceAction" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "ApplyPendingMaintenanceActionResponse'" PrefixI True) (S1 (MetaSel (Just "_apmarsResourcePendingMaintenanceActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourcePendingMaintenanceActions)) :*: S1 (MetaSel (Just "_apmarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses