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

Amazonka.RDS.ApplyPendingMaintenanceAction

Description

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

Synopsis

Creating a Request

data ApplyPendingMaintenanceAction Source #

See: newApplyPendingMaintenanceAction smart constructor.

Constructors

ApplyPendingMaintenanceAction' 

Fields

  • resourceIdentifier :: Text

    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).

  • applyAction :: Text

    The pending maintenance action to apply to this resource.

    Valid values: system-update, db-upgrade, hardware-maintenance, ca-certificate-rotation

  • optInType :: Text

    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.

Instances

Instances details
Eq ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

Read ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

Show ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

Generic ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

Associated Types

type Rep ApplyPendingMaintenanceAction :: Type -> Type #

NFData ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

Hashable ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

AWSRequest ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

ToHeaders ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

ToPath ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

ToQuery ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

type Rep ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

type Rep ApplyPendingMaintenanceAction = D1 ('MetaData "ApplyPendingMaintenanceAction" "Amazonka.RDS.ApplyPendingMaintenanceAction" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "ApplyPendingMaintenanceAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "applyAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "optInType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

newApplyPendingMaintenanceAction Source #

Create a value of ApplyPendingMaintenanceAction with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resourceIdentifier:ApplyPendingMaintenanceAction', applyPendingMaintenanceAction_resourceIdentifier - 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).

$sel:applyAction:ApplyPendingMaintenanceAction', applyPendingMaintenanceAction_applyAction - The pending maintenance action to apply to this resource.

Valid values: system-update, db-upgrade, hardware-maintenance, ca-certificate-rotation

$sel:optInType:ApplyPendingMaintenanceAction', applyPendingMaintenanceAction_optInType - 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.

Request Lenses

applyPendingMaintenanceAction_resourceIdentifier :: 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).

applyPendingMaintenanceAction_applyAction :: Lens' ApplyPendingMaintenanceAction Text Source #

The pending maintenance action to apply to this resource.

Valid values: system-update, db-upgrade, hardware-maintenance, ca-certificate-rotation

applyPendingMaintenanceAction_optInType :: 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

data ApplyPendingMaintenanceActionResponse Source #

Instances

Instances details
Eq ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

Read ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

Show ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

Generic ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

NFData ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

type Rep ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Amazonka.RDS.ApplyPendingMaintenanceAction

type Rep ApplyPendingMaintenanceActionResponse = D1 ('MetaData "ApplyPendingMaintenanceActionResponse" "Amazonka.RDS.ApplyPendingMaintenanceAction" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "ApplyPendingMaintenanceActionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourcePendingMaintenanceActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourcePendingMaintenanceActions)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses