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

Class: Aws::Neptune::Types::ApplyPendingMaintenanceActionMessage

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


166
167
168
169
170
171
# File 'gems/aws-sdk-neptune/lib/aws-sdk-neptune/types.rb', line 166

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)


166
167
168
169
170
171
# File 'gems/aws-sdk-neptune/lib/aws-sdk-neptune/types.rb', line 166

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

#resource_identifierString

The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

Returns:

  • (String)


166
167
168
169
170
171
# File 'gems/aws-sdk-neptune/lib/aws-sdk-neptune/types.rb', line 166

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