libZSservicesZSamazonka-docdbZSamazonka-docdb
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.DocumentDB.Types.PendingMaintenanceAction

Description

 
Synopsis

Documentation

data PendingMaintenanceAction Source #

Provides information about a pending maintenance action for a resource.

See: newPendingMaintenanceAction smart constructor.

Constructors

PendingMaintenanceAction' 

Fields

  • autoAppliedAfterDate :: Maybe ISO8601

    The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.

  • action :: Maybe Text

    The type of pending maintenance action that is available for the resource.

  • optInStatus :: Maybe Text

    Indicates the type of opt-in request that has been received for the resource.

  • description :: Maybe Text

    A description providing more detail about the maintenance action.

  • forcedApplyDate :: Maybe ISO8601

    The date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.

  • currentApplyDate :: Maybe ISO8601

    The effective date when the pending maintenance action is applied to the resource.

Instances

Instances details
Eq PendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.PendingMaintenanceAction

Read PendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.PendingMaintenanceAction

Show PendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.PendingMaintenanceAction

Generic PendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.PendingMaintenanceAction

Associated Types

type Rep PendingMaintenanceAction :: Type -> Type #

NFData PendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.PendingMaintenanceAction

Hashable PendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.PendingMaintenanceAction

FromXML PendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.PendingMaintenanceAction

type Rep PendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.PendingMaintenanceAction

type Rep PendingMaintenanceAction = D1 ('MetaData "PendingMaintenanceAction" "Amazonka.DocumentDB.Types.PendingMaintenanceAction" "libZSservicesZSamazonka-docdbZSamazonka-docdb" 'False) (C1 ('MetaCons "PendingMaintenanceAction'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "autoAppliedAfterDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "optInStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "forcedApplyDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "currentApplyDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))))

newPendingMaintenanceAction :: PendingMaintenanceAction Source #

Create a value of PendingMaintenanceAction 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:autoAppliedAfterDate:PendingMaintenanceAction', pendingMaintenanceAction_autoAppliedAfterDate - The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.

$sel:action:PendingMaintenanceAction', pendingMaintenanceAction_action - The type of pending maintenance action that is available for the resource.

$sel:optInStatus:PendingMaintenanceAction', pendingMaintenanceAction_optInStatus - Indicates the type of opt-in request that has been received for the resource.

$sel:description:PendingMaintenanceAction', pendingMaintenanceAction_description - A description providing more detail about the maintenance action.

$sel:forcedApplyDate:PendingMaintenanceAction', pendingMaintenanceAction_forcedApplyDate - The date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.

$sel:currentApplyDate:PendingMaintenanceAction', pendingMaintenanceAction_currentApplyDate - The effective date when the pending maintenance action is applied to the resource.

pendingMaintenanceAction_autoAppliedAfterDate :: Lens' PendingMaintenanceAction (Maybe UTCTime) Source #

The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.

pendingMaintenanceAction_action :: Lens' PendingMaintenanceAction (Maybe Text) Source #

The type of pending maintenance action that is available for the resource.

pendingMaintenanceAction_optInStatus :: Lens' PendingMaintenanceAction (Maybe Text) Source #

Indicates the type of opt-in request that has been received for the resource.

pendingMaintenanceAction_description :: Lens' PendingMaintenanceAction (Maybe Text) Source #

A description providing more detail about the maintenance action.

pendingMaintenanceAction_forcedApplyDate :: Lens' PendingMaintenanceAction (Maybe UTCTime) Source #

The date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.

pendingMaintenanceAction_currentApplyDate :: Lens' PendingMaintenanceAction (Maybe UTCTime) Source #

The effective date when the pending maintenance action is applied to the resource.