You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rds/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)


208
209
210
211
212
213
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 208

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 cannot 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)


208
209
210
211
212
213
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 208

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

Returns:

  • (String)


208
209
210
211
212
213
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 208

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