amazonka-ec2-0.1.0: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeReservedInstancesOfferings

Contents

Description

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.

For more information, see Reserved Instance Marketplace in the AmazonElastic Compute Cloud User Guide.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeReservedInstancesOfferings.html

Synopsis

Request

Request constructor

Request lenses

drioAvailabilityZone :: Lens' DescribeReservedInstancesOfferings (Maybe Text) Source

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

drioFilters :: Lens' DescribeReservedInstancesOfferings [Filter] Source

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 on which the Reserved Instance can be used.

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 AWS and Reserved Instance Marketplace are listed.

'product-description' - The description of the Reserved Instance ('Linux/UNIX' | 'Linux/UNIX (Amazon VPC)' | Windows | 'Windows (Amazon VPC)').

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

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

drioIncludeMarketplace :: Lens' DescribeReservedInstancesOfferings (Maybe Bool) Source

Include Marketplace offerings in the response.

drioInstanceTenancy :: Lens' DescribeReservedInstancesOfferings (Maybe Tenancy) Source

The tenancy of the Reserved Instance offering. A Reserved Instance with dedicated tenancy runs on single-tenant hardware and can only be launched within a VPC.

Default: 'default'

drioInstanceType :: Lens' DescribeReservedInstancesOfferings (Maybe InstanceType) Source

The instance type on which the Reserved Instance can be used. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide .

drioMaxDuration :: Lens' DescribeReservedInstancesOfferings (Maybe Integer) Source

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

Default: 94608000 (3 years)

drioMaxInstanceCount :: Lens' DescribeReservedInstancesOfferings (Maybe Int) Source

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

Default: 20

drioMaxResults :: Lens' DescribeReservedInstancesOfferings (Maybe Int) Source

The maximum number of offerings to return. The maximum is 100.

Default: 100

drioMinDuration :: Lens' DescribeReservedInstancesOfferings (Maybe Integer) Source

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

Default: 2592000 (1 month)

drioNextToken :: Lens' DescribeReservedInstancesOfferings (Maybe Text) Source

The token to use when requesting the next paginated set of offerings.

drioOfferingType :: Lens' DescribeReservedInstancesOfferings (Maybe OfferingTypeValues) Source

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.

drioProductDescription :: Lens' DescribeReservedInstancesOfferings (Maybe RIProductDescription) Source

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

Response

Response constructor

Response lenses

driorNextToken :: Lens' DescribeReservedInstancesOfferingsResponse (Maybe Text) Source

The next paginated set of results to return.