Pilih preferensi cookie Anda

Kami menggunakan cookie penting serta alat serupa yang diperlukan untuk menyediakan situs dan layanan. Kami menggunakan cookie performa untuk mengumpulkan statistik anonim sehingga kami dapat memahami cara pelanggan menggunakan situs dan melakukan perbaikan. Cookie penting tidak dapat dinonaktifkan, tetapi Anda dapat mengklik “Kustom” atau “Tolak” untuk menolak cookie performa.

Jika Anda setuju, AWS dan pihak ketiga yang disetujui juga akan menggunakan cookie untuk menyediakan fitur situs yang berguna, mengingat preferensi Anda, dan menampilkan konten yang relevan, termasuk iklan yang relevan. Untuk menerima atau menolak semua cookie yang tidak penting, klik “Terima” atau “Tolak”. Untuk membuat pilihan yang lebih detail, klik “Kustomisasi”.

ApplyPendingMaintenanceAction - AWS Database Migration Service
Halaman ini belum diterjemahkan ke dalam bahasa Anda. Minta terjemahan

ApplyPendingMaintenanceAction

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

Request Syntax

{ "ApplyAction": "string", "OptInType": "string", "ReplicationInstanceArn": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

ApplyAction

The pending maintenance action to apply to this resource.

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

Type: String

Required: Yes

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.

Type: String

Required: Yes

ReplicationInstanceArn

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

Type: String

Required: Yes

Response Syntax

{ "ResourcePendingMaintenanceActions": { "PendingMaintenanceActionDetails": [ { "Action": "string", "AutoAppliedAfterDate": number, "CurrentApplyDate": number, "Description": "string", "ForcedApplyDate": number, "OptInStatus": "string" } ], "ResourceIdentifier": "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

ResourcePendingMaintenanceActions

The AWS DMS resource that the pending maintenance action will be applied to.

Type: ResourcePendingMaintenanceActions object

Errors

For information about the errors that are common to all actions, see Common Errors.

ResourceNotFoundFault

The resource could not be found.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivasiSyarat situsPreferensi cookie
© 2025, Amazon Web Services, Inc. atau afiliasinya. Semua hak dilindungi undang-undang.