Class: Aws::RDS::Types::DBCapacityReservationCommitmentInfo

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb

Overview

Contains the capacity commitment details of a DB capacity reservation, including the number of committed DB instances in each Availability Zone and the end date of the commitment period. Amazon RDS holds the committed capacity until the commitment ends. Amazon RDS rejects a request to cancel a reservation in the active state, and a request to reduce the reserved capacity below the commitment.

This data type is used as a response element in the following operations:

  • CancelDBCapacityReservation

  • CreateDBCapacityReservation

  • DescribeDBCapacityReservations

  • ModifyDBCapacityReservation

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commitment_end_date ⇒ Time

The date and time when the commitment ends, in Universal Coordinated Time (UTC). This date reports the capacity commitment that Amazon RDS granted.

Amazon RDS can grant a shorter capacity commitment than you request in CommitmentDuration. Therefore, this date can fall earlier than StartDate plus CommitmentDuration.

Returns:

  • (Time)


8066
8067
8068
8069
8070
8071
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 8066

class DBCapacityReservationCommitmentInfo < Struct.new(
  :committed_capacity_per_availability_zone,
  :commitment_end_date)
  SENSITIVE = []
  include Aws::Structure
end

#committed_capacity_per_availability_zone ⇒ Integer

The number of DB instances that Amazon RDS holds in each Availability Zone of the reservation for the length of the commitment.

Returns:

  • (Integer)


8066
8067
8068
8069
8070
8071
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 8066

class DBCapacityReservationCommitmentInfo < Struct.new(
  :committed_capacity_per_availability_zone,
  :commitment_end_date)
  SENSITIVE = []
  include Aws::Structure
end