purchase_reserved_db_instances_offering ( $reserved_db_instances_offering_id, $opt )

Purchases a reserved DB Instance offering.

Access

public

Parameters

Parameter

Type

Required

Description

$reserved_db_instances_offering_id

string

Required

The ID of the Reserved DB Instance offering to purchase. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

$opt

array

Optional

An associative array of parameters that can have the following keys:

  • ReservedDBInstanceId - string - Optional - Customer-specified identifier to track this reservation. Example: myreservationID
  • DBInstanceCount - integer - Optional - The number of instances to reserve. Default: 1
  • curlopts - array - Optional - A set of values to pass directly into curl_setopt(), where the key is a pre-defined CURLOPT_* constant.
  • returnCurlHandle - boolean - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.

Returns

Type

Description

CFResponse

A CFResponse object containing a parsed HTTP response.

Related Methods

Source

Method defined in services/rds.class.php | Toggle source view (7 lines) | View on GitHub

public function purchase_reserved_db_instances_offering($reserved_db_instances_offering_id, $opt = null)
{
    if (!$opt) $opt = array();
    $opt['ReservedDBInstancesOfferingId'] = $reserved_db_instances_offering_id;
    
    return $this->authenticate('PurchaseReservedDBInstancesOffering', $opt);
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback