NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $rds = Paws->service('RDS');
my $DBClusterCapacityInfo = $rds->ModifyCurrentDBClusterCapacity(
  DBClusterIdentifier  => 'MyString',
  Capacity             => 1,             # OPTIONAL
  SecondsBeforeTimeout => 1,             # OPTIONAL
  TimeoutAction        => 'MyString',    # OPTIONAL
);

# Results:
my $CurrentCapacity      = $DBClusterCapacityInfo->CurrentCapacity;
my $DBClusterIdentifier  = $DBClusterCapacityInfo->DBClusterIdentifier;
my $PendingCapacity      = $DBClusterCapacityInfo->PendingCapacity;
my $SecondsBeforeTimeout = $DBClusterCapacityInfo->SecondsBeforeTimeout;
my $TimeoutAction        = $DBClusterCapacityInfo->TimeoutAction;

# Returns a L<Paws::RDS::DBClusterCapacityInfo> 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/ModifyCurrentDBClusterCapacity

ATTRIBUTES

Capacity => Int

The DB cluster capacity.

When you change the capacity of a paused Aurora Serverless DB cluster, it automatically resumes.

Constraints:

  • For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256.

  • For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384.

REQUIRED DBClusterIdentifier => Str

The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.

Constraints:

  • Must match the identifier of an existing DB cluster.

SecondsBeforeTimeout => Int

The amount of time, in seconds, that Aurora Serverless tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.

  • Value must be from 10 through 600.

TimeoutAction => Str

The action to take when the timeout is reached, either ForceApplyCapacityChange or RollbackCapacityChange.

ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as possible.

RollbackCapacityChange ignores the capacity change if a scaling point isn't found in the timeout period.

SEE ALSO

This class forms part of Paws, documenting arguments for method ModifyCurrentDBClusterCapacity 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