Class: Aws::RDS::Types::ApplyPendingMaintenanceActionMessage

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-rds/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
}

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)


239
240
241
242
243
244
# File 'lib/aws-sdk-rds/types.rb', line 239

class ApplyPendingMaintenanceActionMessage < Struct.new(
  :resource_identifier,
  :apply_action,
  :opt_in_type)
  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)


239
240
241
242
243
244
# File 'lib/aws-sdk-rds/types.rb', line 239

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

#resource_identifierString

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

[1]: docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing

Returns:

  • (String)


239
240
241
242
243
244
# File 'lib/aws-sdk-rds/types.rb', line 239

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