Skip to content

/AWS1/CL_EC2=>DESCRRESERVEDINSTSOFFERINGS()

About DescribeReservedInstancesOfferings

Describes Reserved Instance offerings that are available for purchase. With Reserved Instances, you purchase the right to launch instances for a period of time. During that time period, you do not receive insufficient capacity errors, and you pay a lower usage rate than the rate charged for On-Demand instances for the actual time used.

If you have listed your own Reserved Instances for sale in the Reserved Instance Marketplace, they will be excluded from these results. This is to ensure that you do not purchase your own Reserved Instances.

For more information, see Sell in the Reserved Instance Marketplace in the Amazon EC2 User Guide.

The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.

Method Signature

IMPORTING

Optional arguments:

IV_AVAILABILITYZONE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The Availability Zone in which the Reserved Instance can be used.

IV_INCLUDEMARKETPLACE TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Include Reserved Instance Marketplace offerings in the response.

IV_INSTANCETYPE TYPE /AWS1/EC2INSTANCETYPE /AWS1/EC2INSTANCETYPE

The instance type that the reservation will cover (for example, m1.small). For more information, see Amazon EC2 instance types in the Amazon EC2 User Guide.

IV_MAXDURATION TYPE /AWS1/EC2LONG /AWS1/EC2LONG

The maximum duration (in seconds) to filter when searching for offerings.

Default: 94608000 (3 years)

IV_MAXINSTANCECOUNT TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The maximum number of instances to filter when searching for offerings.

Default: 20

IV_MINDURATION TYPE /AWS1/EC2LONG /AWS1/EC2LONG

The minimum duration (in seconds) to filter when searching for offerings.

Default: 2592000 (1 month)

IV_OFFERINGCLASS TYPE /AWS1/EC2OFFERINGCLASSTYPE /AWS1/EC2OFFERINGCLASSTYPE

The offering class of the Reserved Instance. Can be standard or convertible.

IV_PRODUCTDESCRIPTION TYPE /AWS1/EC2RIPRODUCTDESCRIPTION /AWS1/EC2RIPRODUCTDESCRIPTION

The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

IT_RESERVEDINSTSOFFERINGIDS TYPE /AWS1/CL_EC2RSVDINSTSOFFERIN00=>TT_RSVDINSTSOFFERINGIDSTRLIST TT_RSVDINSTSOFFERINGIDSTRLIST

One or more Reserved Instances offering IDs.

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

IT_FILTERS TYPE /AWS1/CL_EC2FILTER=>TT_FILTERLIST TT_FILTERLIST

One or more filters.

  • availability-zone - The Availability Zone where the Reserved Instance can be used.

  • duration - The duration of the Reserved Instance (for example, one year or three years), in seconds (31536000 | 94608000).

  • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

  • instance-type - The instance type that is covered by the reservation.

  • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both Amazon Web Services and the Reserved Instance Marketplace are listed.

  • product-description - The Reserved Instance product platform description (Linux/UNIX | Linux with SQL Server Standard | Linux with SQL Server Web | Linux with SQL Server Enterprise | SUSE Linux | Red Hat Enterprise Linux | Red Hat Enterprise Linux with HA | Windows | Windows with SQL Server Standard | Windows with SQL Server Web | Windows with SQL Server Enterprise).

  • reserved-instances-offering-id - The Reserved Instances offering ID.

  • scope - The scope of the Reserved Instance (Availability Zone or Region).

  • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

IV_INSTANCETENANCY TYPE /AWS1/EC2TENANCY /AWS1/EC2TENANCY

The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

Default: default

IV_OFFERINGTYPE TYPE /AWS1/EC2OFFERINGTYPEVALUES /AWS1/EC2OFFERINGTYPEVALUES

The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.

IV_NEXTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The token to retrieve the next page of results.

IV_MAXRESULTS TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. The maximum is 100.

Default: 100

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DSCRSVDINSTSOFFE01 /AWS1/CL_EC2DSCRSVDINSTSOFFE01