libZSservicesZSamazonka-dmsZSamazonka-dms
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.DMS.ApplyPendingMaintenanceAction

Description

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

Synopsis

Creating a Request

data ApplyPendingMaintenanceAction Source #

See: newApplyPendingMaintenanceAction smart constructor.

Constructors

ApplyPendingMaintenanceAction' 

Fields

  • replicationInstanceArn :: Text

    The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to.

  • applyAction :: Text

    The pending maintenance action to apply to this resource.

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

  • optInType :: Text

    A value that specifies the type of opt-in request, or undoes an opt-in request. You can't undo an opt-in request of type immediate.

    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.DMS.ApplyPendingMaintenanceAction

Read ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

Show ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

Generic ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

Associated Types

type Rep ApplyPendingMaintenanceAction :: Type -> Type #

NFData ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

Hashable ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

ToJSON ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

AWSRequest ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

ToHeaders ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

ToPath ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

ToQuery ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

type Rep ApplyPendingMaintenanceAction Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

type Rep ApplyPendingMaintenanceAction = D1 ('MetaData "ApplyPendingMaintenanceAction" "Amazonka.DMS.ApplyPendingMaintenanceAction" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "ApplyPendingMaintenanceAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicationInstanceArn") '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.DMS.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:replicationInstanceArn:ApplyPendingMaintenanceAction', applyPendingMaintenanceAction_replicationInstanceArn - The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to.

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

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

$sel:optInType:ApplyPendingMaintenanceAction', applyPendingMaintenanceAction_optInType - A value that specifies the type of opt-in request, or undoes an opt-in request. You can't undo an opt-in request of type immediate.

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_replicationInstanceArn :: Lens' ApplyPendingMaintenanceAction Text Source #

The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to.

applyPendingMaintenanceAction_applyAction :: Lens' ApplyPendingMaintenanceAction Text Source #

The pending maintenance action to apply to this resource.

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

applyPendingMaintenanceAction_optInType :: Lens' ApplyPendingMaintenanceAction Text Source #

A value that specifies the type of opt-in request, or undoes an opt-in request. You can't undo an opt-in request of type immediate.

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 #

Constructors

ApplyPendingMaintenanceActionResponse' 

Fields

Instances

Instances details
Eq ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

Read ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

Show ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

Generic ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

NFData ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

type Rep ApplyPendingMaintenanceActionResponse Source # 
Instance details

Defined in Amazonka.DMS.ApplyPendingMaintenanceAction

type Rep ApplyPendingMaintenanceActionResponse = D1 ('MetaData "ApplyPendingMaintenanceActionResponse" "Amazonka.DMS.ApplyPendingMaintenanceAction" "libZSservicesZSamazonka-dmsZSamazonka-dms" '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)))

newApplyPendingMaintenanceActionResponse Source #

Create a value of ApplyPendingMaintenanceActionResponse 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:resourcePendingMaintenanceActions:ApplyPendingMaintenanceActionResponse', applyPendingMaintenanceActionResponse_resourcePendingMaintenanceActions - The DMS resource that the pending maintenance action will be applied to.

$sel:httpStatus:ApplyPendingMaintenanceActionResponse', applyPendingMaintenanceActionResponse_httpStatus - The response's http status code.

Response Lenses