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

Class: Aws::RDS::Types::PurchaseReservedDBInstancesOfferingMessage

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 PurchaseReservedDBInstancesOfferingMessage data as a hash:

{
  reserved_db_instances_offering_id: "String", # required
  reserved_db_instance_id: "String",
  db_instance_count: 1,
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#db_instance_countInteger

The number of instances to reserve.

Default: 1

Returns:

  • (Integer)


10358
10359
10360
10361
10362
10363
10364
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10358

class PurchaseReservedDBInstancesOfferingMessage < Struct.new(
  :reserved_db_instances_offering_id,
  :reserved_db_instance_id,
  :db_instance_count,
  :tags)
  include Aws::Structure
end

#reserved_db_instance_idString

Customer-specified identifier to track this reservation.

Example: myreservationID

Returns:

  • (String)


10358
10359
10360
10361
10362
10363
10364
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10358

class PurchaseReservedDBInstancesOfferingMessage < Struct.new(
  :reserved_db_instances_offering_id,
  :reserved_db_instance_id,
  :db_instance_count,
  :tags)
  include Aws::Structure
end

#reserved_db_instances_offering_idString

The ID of the Reserved DB instance offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Returns:

  • (String)


10358
10359
10360
10361
10362
10363
10364
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10358

class PurchaseReservedDBInstancesOfferingMessage < Struct.new(
  :reserved_db_instances_offering_id,
  :reserved_db_instance_id,
  :db_instance_count,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags.

Returns:



10358
10359
10360
10361
10362
10363
10364
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10358

class PurchaseReservedDBInstancesOfferingMessage < Struct.new(
  :reserved_db_instances_offering_id,
  :reserved_db_instance_id,
  :db_instance_count,
  :tags)
  include Aws::Structure
end