DescribeReservedDBInstancesOfferings - Amazon Relational Database Service

DescribeReservedDBInstancesOfferings

Lists available reserved DB instance offerings.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

DBInstanceClass

The DB instance class filter value. Specify this parameter to show only the available offerings matching the specified DB instance class.

Type: String

Required: No

Duration

Duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.

Valid Values: 1 | 3 | 31536000 | 94608000

Type: String

Required: No

Filters.Filter.N

This parameter isn't currently supported.

Type: Array of Filter objects

Required: No

Marker

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Type: String

Required: No

MaxRecords

The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

Type: Integer

Required: No

MultiAZ

Specifies whether to show only those reservations that support Multi-AZ.

Type: Boolean

Required: No

OfferingType

The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.

Valid Values: "Partial Upfront" | "All Upfront" | "No Upfront"

Type: String

Required: No

ProductDescription

Product description filter value. Specify this parameter to show only the available offerings that contain the specified product description.

Note

The results show offerings that partially match the filter value.

Type: String

Required: No

ReservedDBInstancesOfferingId

The offering identifier filter value. Specify this parameter to show only the available offering that matches the specified reservation identifier.

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

Type: String

Required: No

Response Elements

The following elements are returned by the service.

Marker

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Type: String

ReservedDBInstancesOfferings.ReservedDBInstancesOffering.N

A list of reserved DB instance offerings.

Type: Array of ReservedDBInstancesOffering objects

Errors

For information about the errors that are common to all actions, see Common Errors.

ReservedDBInstancesOfferingNotFound

Specified offering does not exist.

HTTP Status Code: 404

Examples

Example

This example illustrates one usage of DescribeReservedDBInstancesOfferings.

Sample Request

https://rds.us-east-1.amazonaws.com/ ?Action=DescribeReservedDBInstancesOfferings &ReservedDBInstancesOfferingId=438012d3-4052-4cc7-b2e3-8d3372e0e706 &SignatureMethod=HmacSHA256 &SignatureVersion=4 &Version=2014-10-31 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIADQKE4SARGYLE/20140411/us-east-1/rds/aws4_request &X-Amz-Date=20140411T203327Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=545f04acffeb4b80d2e778526b1c9da79d0b3097151c24f28e83e851d65422e2

Sample Response

<DescribeReservedDBInstancesOfferingsResponse xmlns="http://rds.amazonaws.com/doc/2014-10-31/"> <DescribeReservedDBInstancesOfferingsResult> <ReservedDBInstancesOfferings> <ReservedDBInstancesOffering> <Duration>31536000</Duration> <OfferingType>Partial Upfront</OfferingType> <CurrencyCode>USD</CurrencyCode> <RecurringCharges> <RecurringCharge> <RecurringChargeFrequency>Hourly</RecurringChargeFrequency> <RecurringChargeAmount>0.123</RecurringChargeAmount> </RecurringCharge> </RecurringCharges> <FixedPrice>162.0</FixedPrice> <ProductDescription>mysql</ProductDescription> <UsagePrice>0.0</UsagePrice> <MultiAZ>false</MultiAZ> <ReservedDBInstancesOfferingId>SampleOfferingId</ReservedDBInstancesOfferingId> <DBInstanceClass>db.m1.small</DBInstanceClass> </ReservedDBInstancesOffering> </ReservedDBInstancesOfferings> </DescribeReservedDBInstancesOfferingsResult> <ResponseMetadata> <RequestId>521b420a-2961-11e1-bd06-6fe008f046c3</RequestId> </ResponseMetadata> </DescribeReservedDBInstancesOfferingsResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: