NAME

Paws::RDS::ApplyPendingMaintenanceAction - Arguments for method ApplyPendingMaintenanceAction on Paws::RDS

DESCRIPTION

This class represents the parameters used for calling the method ApplyPendingMaintenanceAction on the Amazon Relational Database Service service. Use the attributes of this class as arguments to method ApplyPendingMaintenanceAction.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ApplyPendingMaintenanceAction.

SYNOPSIS

my $rds = Paws->service('RDS');
# To apply a pending maintenance action
# This example immediately applies a pending system update to a DB instance.
my $ApplyPendingMaintenanceActionResult =
  $rds->ApplyPendingMaintenanceAction(
  'ApplyAction'        => 'system-update',
  'OptInType'          => 'immediate',
  'ResourceIdentifier' =>
    'arn:aws:rds:us-east-1:992648334831:db:mymysqlinstance'
  );

# Results:
my $ResourcePendingMaintenanceActions =
  $ApplyPendingMaintenanceActionResult->ResourcePendingMaintenanceActions;

# Returns a L<Paws::RDS::ApplyPendingMaintenanceActionResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/rds/ApplyPendingMaintenanceAction

ATTRIBUTES

REQUIRED ApplyAction => Str

The pending maintenance action to apply to this resource.

Valid values: system-update, db-upgrade, hardware-maintenance, ca-certificate-rotation

REQUIRED OptInType => Str

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.

REQUIRED ResourceIdentifier => Str

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) (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing).

SEE ALSO

This class forms part of Paws, documenting arguments for method ApplyPendingMaintenanceAction in Paws::RDS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues