Class: Aws::DocDB::Types::ApplyPendingMaintenanceActionMessage

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-docdb/types.rb

Overview

Note:

When making an API call, you may pass ApplyPendingMaintenanceActionMessage data as a hash:

{
  resource_identifier: "String", # required
  apply_action: "String", # required
  opt_in_type: "String", # required
}

Represents the input to ApplyPendingMaintenanceAction.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#apply_actionString

The pending maintenance action to apply to this resource.

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

Returns:

  • (String)


138
139
140
141
142
143
144
# File 'lib/aws-sdk-docdb/types.rb', line 138

class ApplyPendingMaintenanceActionMessage < Struct.new(
  :resource_identifier,
  :apply_action,
  :opt_in_type)
  SENSITIVE = []
  include Aws::Structure
end

#opt_in_typeString

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.

Returns:

  • (String)


138
139
140
141
142
143
144
# File 'lib/aws-sdk-docdb/types.rb', line 138

class ApplyPendingMaintenanceActionMessage < Struct.new(
  :resource_identifier,
  :apply_action,
  :opt_in_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_identifierString

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

Returns:

  • (String)


138
139
140
141
142
143
144
# File 'lib/aws-sdk-docdb/types.rb', line 138

class ApplyPendingMaintenanceActionMessage < Struct.new(
  :resource_identifier,
  :apply_action,
  :opt_in_type)
  SENSITIVE = []
  include Aws::Structure
end